/**
* Template Name: Dewi
* Template URL: https://bootstrapmade.com/dewi-free-multi-purpose-html-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Inter",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #273d4e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0d6efd;  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #e5eaee;  /* The default color of the main navmenu links */
  --nav-hover-color: #0d6efd;  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #0d6efd; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f1f4fa;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #000910;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #28323a;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0);
  --default-color: #E8EEF6;
  --heading-color: #E8EEF6;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 300px;
  margin-right: 20px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  font-size: 13px;
  padding: 7px 25px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
  text-transform: uppercase;
  border: 2px solid var(--contrast-color);
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(18, 32, 48, 0.94);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 13px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    text-transform: uppercase;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: color-mix(in srgb, var(--nav-color) 90%, white 15%);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 3px;
  font-size: 13px;
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: var(--background-color);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--background-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 76px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

@media (max-width: 768px) {
  .section-title p {
    font-size: 24px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 24px;
}

.hero .btn-get-started {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 4px;
  transition: 0.3s;
  text-transform: uppercase;
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  font-weight: 400;
  color: var(--default-color);
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about h3 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 20px;
}

.about .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 0 0 10px 30px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: var(--accent-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.stats .stats-item i {
  color: var(--accent-color);
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 36px;
  display: block;
  font-weight: 600;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .img {
  border-radius: 8px;
  overflow: hidden;
}

.services .img img {
  transition: 0.6s;
}

.services .details {
  background: color-mix(in srgb, var(--surface-color), transparent 5%);
  padding: 50px 30px;
  margin: -100px 30px 0 30px;
  transition: all ease-in-out 0.3s;
  position: relative;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
}

.services .details .icon {
  margin: 0;
  width: 72px;
  height: 72px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 6px solid var(--contrast-color);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: ease-in-out 0.3s;
  position: absolute;
  top: -36px;
  left: calc(50% - 36px);
}

.services .details h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
}

.services .details p {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover .details h3 {
  color: var(--accent-color);
}

.services .service-item:hover .details .icon {
  background: var(--surface-color);
  border: 2px solid var(--accent-color);
}

.services .service-item:hover .details .icon i {
  color: var(--accent-color);
}

.services .service-item:hover .img img {
  transform: scale(1.2);
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 20px 0;
}

.clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.clients .client-logo img {
  padding: 20px 40px;
  max-width: 90%;
  transition: 0.3s;
  opacity: 0.5;
  filter: grayscale(100);
}

.clients .client-logo img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 640px) {
  .clients .client-logo img {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
}

.features .nav-link {
  background-color: var(--surface-color);
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 15px 20px;
  transition: 0.3s;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
}

.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.features .nav-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.features .nav-link.active {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.features .nav-link.active h4 {
  color: var(--contrast-color);
}

@media (max-width: 768px) {
  .features .nav-link i {
    padding: 0;
    line-height: 1;
    font-size: 36px;
  }
}

@media (max-width: 575px) {
  .features .nav-link {
    padding: 15px;
  }

  .features .nav-link i {
    font-size: 24px;
  }
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 26px;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-bottom: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services 2 Section
--------------------------------------------------------------*/
.services-2 .service-item {
  background-color: var(--surface-color);
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  transition: 0.3s;
}

.services-2 .service-item .icon {
  font-size: 36px;
  line-height: 0;
  margin-right: 30px;
  color: var(--accent-color);
}

.services-2 .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services-2 .service-item .title a {
  color: var(--heading-color);
}

.services-2 .service-item .description {
  line-height: 24px;
  font-size: 14px;
  margin: 0;
}

.services-2 .service-item:hover {
  border-color: var(--accent-color);
}

.services-2 .service-item:hover .title a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  position: relative;
}

.testimonials:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.testimonials .testimonials-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 3;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin: 0 0 15px 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  opacity: 1;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
  position: relative;
}

.team .member .pic {
  overflow: hidden;
  margin-bottom: 50px;
}

.team .member .member-info {
  background-color: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: -50px;
  left: 20px;
  right: 20px;
  padding: 20px 15px;
  overflow: hidden;
  transition: 0.5s;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  bottom: 0;
  left: 0;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.team .member .social a:hover {
  color: var(--accent-color);
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 24px 0 30px 0;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
  font-size: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}
/* Copete pequeño arriba del H1 */
.hero .kicker{
  display:inline-block;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color: color-mix(in srgb, var(--contrast-color), transparent 30%);
  margin-bottom:8px;
}

/* Subtítulo del hero */
.hero .lead{
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin: 8px 0 0 0;
  font-size: 18px;
}

/* Botón secundario transparente */
.btn-ghost{
  border:2px solid var(--contrast-color);
  color: var(--contrast-color);
  padding: 10px 26px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing:.02em;
}
.btn-ghost:hover{
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

/* Deja ver que hay más contenido abajo */
.hero::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:120px; z-index:2;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,
              rgba(21,34,43,.45) 60%, rgba(21,34,43,.75) 100%);
}

/* Flecha animada “scroll down” */
/* Flecha animada sin círculo, pegada abajo (encima del overlay) */
.hero .scroll-cue{
  position: absolute;
  left: 50%;
  bottom: 6px;                 /* más pegada al borde */
  transform: translateX(-50%);
  display: inline-block;
  background: none;
  border: none;
  color: var(--contrast-color); /* normalmente blanco */
  opacity: .98;
  z-index: 5;                   /* << clave: por encima del overlay (que anda en 2/3) */
  text-decoration: none;
  animation: scroll-float 1.9s ease-in-out infinite;
}

.hero .scroll-cue i{
  font-size: 30px;
  line-height: 1;
}

@keyframes scroll-float{
  0%,100%{ transform: translate(-50%, 0); }
  50%    { transform: translate(-50%, 6px); }
}
/* Beneficios — tarjetas */
#beneficios .benefit{
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 14px;
  padding: 18px 18px;
  gap: 14px;                 /* separación icono-texto */
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#beneficios .benefit:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,.09);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

/* Icono en “pastilla” azul */
#beneficios .benefit i{
  font-size: 22px; width: 44px; height: 44px; display:grid; place-items:center;
  color: var(--accent-color); background: transparent; border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 20%);
  box-shadow: none;
}


/* Tipos */
#beneficios .benefit-title{
  display:block;
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  margin-top: 2px;
  margin-bottom: 2px;
}
#beneficios p{
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  line-height: 1.4;
}

/* Resp. — que no se aplasten en móvil */
@media (max-width: 991px){
  #beneficios .col-md-3{ flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 575px){
  #beneficios .col-md-3{ flex: 0 0 100%; max-width: 100%; }
}

/* Servicios: tarjetas tipo “card” como en la captura */
#services .service-tiles .service-tile{
  background: var(--surface-color);
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0 16px 40px rgba(23, 43, 77, 0.10);
  padding: 26px 24px;
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#services .service-tiles .service-tile:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(23, 43, 77, 0.14);
  border-color: color-mix(in srgb, var(--accent-color), transparent 75%);
}

#services .service-tiles .service-tile i{
  font-size: 34px;
  line-height: 1;
  margin-bottom: 14px;
  color: #111; /* ícono oscuro como en tu mock */
}

#services .service-tiles .service-tile h3{
  font-size: 22px;
  font-weight: 800;
  color: var(--heading-color);
  margin: 2px 0 10px;
}

#services .service-tiles .service-tile p{
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  margin: 0;
}

/* Grid: 4 por fila en desktop, 2 en tablet, 1 en mobile */
@media (max-width: 1199px){ #services .col-xl-3{ flex:0 0 33.333%; max-width:33.333%; } }
@media (max-width: 991px){  #services .col-xl-3{ flex:0 0 50%;      max-width:50%; } }
@media (max-width: 575px){  #services .col-xl-3{ flex:0 0 100%;     max-width:100%; } }

#services .service-tile:hover i{ color: var(--accent-color); }
#beneficios .section-title{ padding-bottom: 30px; }
#beneficios p{ color: color-mix(in srgb, var(--default-color), transparent 5%); }
/* Ajustes de la sección centrada */
#beneficios .section-title { padding-bottom: 24px; }
#beneficios .benef-intro{
  max-width: 920px;
  margin: 8px auto 0;
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 5%);
}
#beneficios .benef-outro{
  max-width: 920px;
  margin: 26px auto 0;
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 5%);
}

/* (Tus estilos de .benefit se mantienen tal cual) */
.team{
  background:var(--bg);
  color:var(--text);
  padding:60px 0;
}
.team .team-member{
  text-align:center;
  margin-bottom:40px;
  transition:transform .3s ease;
}
.team .team-member .member-img{
  position:relative; overflow:hidden;
  border-radius:8px; margin-bottom:24px;
}
.team .team-member .member-img img{
  display:block; width:100%; height:auto;
  filter:grayscale(100%);
  transition:transform .3s ease, filter .3s ease;
}
.team .team-member:hover .member-img img{
  transform:scale(1.05);
  filter:grayscale(0%);
}

/* Info */
.team .team-member .member-info h4{
  margin:0 0 6px;
  color:var(--heading);
  font:300 1.5rem/1.3 "Montserrat",sans-serif;
}
.team .team-member .member-info span{
  display:block; margin-bottom:16px;
  font:400 .9rem/1.2 "Montserrat",sans-serif;
  letter-spacing:.5px; color:var(--accent);
}
.team .team-member .member-info p{
  margin:0 0 20px; padding:0 10px;
  font-size:.95rem; line-height:1.7;
  color:color-mix(in srgb, var(--text), transparent 20%);
}

/* Redes */
.team .team-member .member-info .social{
  display:flex; justify-content:center; gap:12px;
}
.team .team-member .member-info .social a{
  width:40px; height:40px; display:inline-flex;
  align-items:center; justify-content:center;
  border-radius:50%;
  border:1px solid color-mix(in srgb, var(--text), transparent 85%);
  color:color-mix(in srgb, var(--text), transparent 40%);
  font-size:16px; transition:.25s ease;
}
.team .team-member .member-info .social a:hover{
  background:var(--accent); border-color:var(--accent);
  color:var(--contrast); transform:translateY(-2px);
}

/* ====== Responsivo ====== */
@media (max-width: 992px){
  .team .team-member .member-info h4{font-size:1.3rem;}
  .team .team-member .member-info p{font-size:.9rem;}
}
@media (max-width: 768px){
  .section-title h2{font-size:2rem;}
  .team .team-member .member-info h4{font-size:1.15rem;}
  .team .team-member .member-info p{padding:0; font-size:.85rem;}
  .team .team-member .member-info .social{gap:10px;}
  .team .team-member .member-info .social a{width:36px;height:36px;font-size:14px;}
}

.contact-card{
  background: var(--surface-color, #fff);
  border: 1px solid color-mix(in srgb, var(--text, #666), transparent 85%);
  border-radius: 12px;
  padding: 20px;
}
.branch-tabs .nav-link{
  border-radius: 999px;
  padding: .5rem 1rem;
  color: color-mix(in srgb, var(--text, #666), transparent 20%);
}
.branch-tabs .nav-link.active{
  background: var(--accent-color, #313131);
  color: var(--contrast-color, #fff);
}
.branch-details .detail{
  display:flex; gap:14px; align-items:flex-start;
  padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, #000, transparent 92%);
}
.branch-details .detail:last-child{ border-bottom: 0; }
.detail-icon{
  width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background: color-mix(in srgb, var(--accent-color, #313131), transparent 90%);
  color: var(--accent-color, #313131); flex-shrink:0; font-size:1.05rem;
}
.branch-details .label{
  display:block; font-size:.85rem;
  color: color-mix(in srgb, var(--text, #666), transparent 40%);
  text-transform: uppercase; letter-spacing:.5px;
  margin-bottom:2px;
}
.map-wrapper{
  margin-top: 16px; border-radius:10px; overflow:hidden;
  background: color-mix(in srgb, #000, transparent 98%);
  min-height: 260px; /* se ajusta cuando pegues el iframe */
}
.map-wrapper iframe{ width:100%; height:320px; display:block; }
/* ===== Team – mejoras visuales ===== */
.team .team-card{
  background: var(--surface-color);
  border-radius: 16px;
  padding: 24px;
  transition: transform .35s ease, box-shadow .35s ease;
}

.team .team-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 50px color-mix(in srgb, var(--default-color), transparent 85%);
}

.team .team-photo{
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 5;          /* recorte agradable vertical */
  background: color-mix(in srgb, var(--default-color), transparent 94%);
}

.team .team-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transform: scale(1.02);
  transition: transform .6s ease, filter .4s ease;
}

.team .team-card:hover .team-photo img{
  filter: grayscale(0%);
  transform: scale(1.06);
}

.team .team-meta{
  text-align: center;
  padding-top: 18px;
}

.team .team-name{
  font-weight: 400;
  font-size: 1.35rem;
  margin: 0 0 6px 0;
  color: var(--heading-color);
  line-height: 1.25;
}

.team .team-role{
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

/* Mejoras responsivas sutiles */
@media (max-width: 576px){
  .team .team-card{ padding: 18px; }
  .team .team-name{ font-size: 1.2rem; }
  .team .team-role{ font-size: .85rem; }
}
/* Centrado y sin líneas para el título de Contacto */
/* Título de Contacto: centrado, sin línea, tamaño moderado y con aire */
#contact .section-title {
  text-align: center;
  padding: 28px 0 18px;       /* aire arriba/abajo */
}

#contact .section-title .subtitle,
#contact .section-title p,
#contact .section-title .subtitle::after {
  display: none !important;   /* sin subtítulo ni línea decorativa */
}

/* Por si el template agrega pseudo-elementos */
#contact .section-title::before,
#contact .section-title::after,
#contact .section-title h2::before,
#contact .section-title h2::after {
  content: none !important;
}

/* Estilo del H2 */
#contact .contact-title {
  display: inline-block;
  margin: 0;
  padding: .35rem .9rem;                /* “relleno” alrededor del texto */
  font-size: clamp(2rem, 4.2vw, 2.8rem);/* grande pero no exagerado */
  font-weight: 300;                      /* elegante como el template */
  line-height: 1.2;
  letter-spacing: .06em;                 /* leve tracking para el look */
  text-transform: uppercase;             /* igual al resto de títulos */
  color: var(--heading-color);           /* usa el color real de títulos */
}

/* Si el color te seguía saliendo muy claro en tu tema,
   puedes forzarlo un poco más oscuro así: */
/* #contact .contact-title { color: color-mix(in srgb, var(--heading-color), black 12%); } */

/* Separación visual con el bloque de contenido siguiente */
#contact .section-title + * {
  margin-top: 8px; /* pegadito pero con respiro */
}
/* ====== Beneficios: Título limpio centrado ====== */
#beneficios .section-title {
  text-align: center;
  padding: 28px 0 18px;                  /* aire arriba/abajo */
}

/* Por si el template agrega líneas o pseudo-elementos */
#beneficios .section-title::before,
#beneficios .section-title::after,
#beneficios .section-title h2::before,
#beneficios .section-title h2::after {
  content: none !important;
}

/* H2 del título */
#beneficios .section-title h2 {
  margin: 0 0 10px;
  padding: .35rem .9rem;                 /* “relleno” alrededor del texto */
  font-size: clamp(2rem, 4.2vw, 2.6rem); /* grande pero no exagerado */
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--heading-color);
}

/* Intro centrada (arriba) */
#beneficios .benef-intro {
  max-width: 900px;
  margin: 10px auto 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  text-align: center;
  text-wrap: balance;
}

/* Outro centrada (abajo) */
#beneficios .benef-outro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  margin-top: 8px;
  text-wrap: balance;
}

/* Ajuste responsive suave en móviles */
@media (max-width: 576px) {
  #beneficios .section-title h2 {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }
  #beneficios .benef-intro,
  #beneficios .benef-outro {
    font-size: 1rem;
    line-height: 1.7;
  }
}
/* ====== Servicios: Título limpio centrado ====== */
#services .section-title {
  text-align: center;
  padding: 28px 0 18px;
}
#services .section-title::before,
#services .section-title::after,
#services .section-title h2::before,
#services .section-title h2::after {
  content: none !important;
}
#services .section-title h2 {
  margin: 0 0 10px;
  padding: .35rem .9rem;
  font-size: clamp(2rem, 4.2vw, 2.6rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--heading-color);
}
#services .section-title p {
  max-width: 900px;
  margin: 10px auto 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  text-align: center;
  text-wrap: balance;
}

/* ====== Equipo TT: Título limpio centrado ====== */
#team .section-title {
  text-align: center;
  padding: 28px 0 18px;
}
#team .section-title::before,
#team .section-title::after,
#team .section-title h2::before,
#team .section-title h2::after {
  content: none !important;
}
#team .section-title .subtitle {
  display: block;
  margin-bottom: .6rem;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}
#team .section-title h2 {
  margin: 0 0 10px;
  padding: .35rem .9rem;
  font-size: clamp(2rem, 4.2vw, 2.6rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--heading-color);
}

/* ====== Responsive ajuste suave ====== */
@media (max-width: 576px) {
  #services .section-title h2,
  #team .section-title h2 {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }
  #services .section-title p {
    font-size: 1rem;
    line-height: 1.7;
  }
}
/* ===== Beneficios: ajustes de ancho y espaciados ===== */
#beneficios .section-title h2 {
  margin-bottom: 10px;                /* un poquito menos de separación del título */
}

/* Texto superior: más ancho (se “abre” hacia los lados) */
#beneficios .benef-intro {
  max-width: min(1200px, 92vw);       /* antes 900px aprox. → ahora más ancho */
  margin: 0 auto;
  padding-inline: clamp(8px, 2.5vw, 20px);
  line-height: 1.75;
  text-wrap: balance;
}

/* Texto inferior: más separado de las tarjetas */
#beneficios .benef-outro {
  margin-top: clamp(36px, 6vw, 72px); /* MÁS espacio respecto a las tarjetas */
  max-width: min(980px, 90vw);        /* manténlo un poco más contenido que el de arriba */
  margin-left: auto;
  margin-right: auto;
  padding-inline: clamp(8px, 2.5vw, 20px);
  line-height: 1.75;
  text-wrap: balance;
}

/* Suaviza el gap vertical de la grilla si lo necesitas */
#beneficios .row.gy-4 {
  --bs-gutter-y: 1.75rem;             /* opcional: uniforme entre tarjetas */
}
/* Scope total a la nueva sección */
.tt-testimonials { position: relative; overflow: hidden; }

/* Título local (si necesitas ajustes sin afectar otros titles) */
.tt-testimonials .tt-title .subtitle { letter-spacing: 2px; }
.tt-testimonials .tt-title h2 { letter-spacing: -1px; }
.tt-testimonials .tt-title p { text-wrap: balance; }

/* Slider */
.tt-testimonials .testimonial-slider { position: relative; padding-bottom: 50px; }
.tt-testimonials .testimonial-slider .swiper-wrapper { height: auto !important; }

/* Card */
.tt-testimonials .testimonial-item{
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--surface-color), var(--accent-color) 2%) 100%);
  border-radius: 20px;
  padding: 0;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all .4s ease;
  overflow: hidden;
  position: relative;
}
.tt-testimonials .testimonial-item::before{
  content:"";
  position:absolute; top:0; left:0; right:0; height:4px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 30%));
  transform: scaleX(0); transform-origin:left; transition: transform .4s ease;
}
.tt-testimonials .testimonial-item:hover{ border-color: var(--accent-color); }
.tt-testimonials .testimonial-item:hover::before{ transform: scaleX(1); }

/* Header */
.tt-testimonials .testimonial-header{
  position: relative; text-align:center; padding: 30px 30px 20px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface-color), var(--accent-color) 3%) 0%, var(--surface-color) 100%);
}
.tt-testimonials .testimonial-header img{
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  border: 4px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  margin-bottom: 15px; transition: all .3s ease; box-shadow: 0 5px 15px rgba(0,0,0,.1);
}
.tt-testimonials .testimonial-item:hover .testimonial-header img{ transform: scale(1.05); }

.tt-testimonials .rating{ display:flex; justify-content:center; gap:3px; }
.tt-testimonials .rating i{ color:#ffc107; font-size:.9rem; }

/* Body */
.tt-testimonials .testimonial-body{ padding: 0 30px 20px; }
.tt-testimonials .testimonial-body p{
  font-size:1rem; line-height:1.6; color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin:0; font-style: italic; text-align:center; position:relative;
}
.tt-testimonials .testimonial-body p::before,
.tt-testimonials .testimonial-body p::after{
  content:'"'; font-size:1.5rem; color: var(--accent-color); opacity:.6; font-family: serif; position:absolute;
}
.tt-testimonials .testimonial-body p::before{ top:-5px; left:-10px; }
.tt-testimonials .testimonial-body p::after{ bottom:-20px; right:-5px; }

/* Footer */
.tt-testimonials .testimonial-footer{ padding: 20px 30px 30px; text-align:center; position:relative; }
.tt-testimonials .testimonial-footer h5{ font-size:1.1rem; font-weight:600; color: var(--heading-color); margin:0 0 5px; }
.tt-testimonials .testimonial-footer span{ font-size:.85rem; color: color-mix(in srgb, var(--default-color), transparent 40%); display:block; margin-bottom:15px; }
.tt-testimonials .testimonial-footer .quote-icon{
  position:absolute; bottom:15px; right:25px; color: color-mix(in srgb, var(--accent-color), transparent 60%);
  font-size:1.5rem; transition: all .3s ease;
}
.tt-testimonials .testimonial-item:hover .quote-icon{ color: var(--accent-color); transform: scale(1.1); }

/* Swiper navigation/pagination SOLO dentro del scope */
.tt-testimonials .tt-nav{ position:relative; margin-top:25px; display:flex; justify-content:flex-end; }
.tt-testimonials .tt-nav .swiper-button-prev,
.tt-testimonials .tt-nav .swiper-button-next{
  position: static; width:45px; height:45px; margin:0 10px; background: var(--accent-color);
  border-radius:50%; color: var(--contrast-color); display:inline-flex; align-items:center; justify-content:center;
  transition: all .3s ease; box-shadow:0 4px 15px rgba(0,0,0,.1);
}
.tt-testimonials .tt-nav .swiper-button-prev:hover,
.tt-testimonials .tt-nav .swiper-button-next:hover{
  background: color-mix(in srgb, var(--accent-color), var(--heading-color) 20%); transform: scale(1.05);
}
.tt-testimonials .tt-nav .swiper-button-prev::after,
.tt-testimonials .tt-nav .swiper-button-next::after{ font-size:16px; font-weight:600; }

.tt-testimonials .swiper-pagination{
  position: static; margin-top:30px; text-align:center;
}
.tt-testimonials .swiper-pagination .swiper-pagination-bullet{
  width:12px; height:12px; background: color-mix(in srgb, var(--default-color), transparent 70%);
  opacity:1; margin:0 6px; transition: all .3s ease;
}
.tt-testimonials .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{
  background: var(--accent-color); transform: scale(1.2);
}

/* Breakpoints locales */
@media (max-width:1199px){
  .tt-testimonials .testimonial-header{ padding:25px 25px 15px; }
  .tt-testimonials .testimonial-header img{ width:70px; height:70px; }
  .tt-testimonials .testimonial-body,
  .tt-testimonials .testimonial-footer{ padding-left:25px; padding-right:25px; }
}
@media (max-width:991px){ .tt-testimonials .testimonial-item{ margin-bottom:30px; } }
@media (max-width:767px){
  .tt-testimonials .testimonial-header{ padding:20px 20px 10px; }
  .tt-testimonials .testimonial-header img{ width:60px; height:60px; }
  .tt-testimonials .rating i{ font-size:.8rem; }
  .tt-testimonials .testimonial-body{ padding:0 20px 15px; }
  .tt-testimonials .testimonial-body p{ font-size:.95rem; }
  .tt-testimonials .testimonial-footer{ padding:15px 20px 20px; }
  .tt-testimonials .testimonial-footer h5{ font-size:1rem; }
  .tt-testimonials .testimonial-footer span{ font-size:.8rem; }
  .tt-testimonials .testimonial-footer .quote-icon{ font-size:1.3rem; bottom:10px; right:15px; }
  .tt-testimonials .tt-nav .swiper-button-prev,
  .tt-testimonials .tt-nav .swiper-button-next{ width:40px; height:40px; }
  .tt-testimonials .tt-nav .swiper-button-prev::after,
  .tt-testimonials .tt-nav .swiper-button-next::after{ font-size:14px; }
}
@media (max-width:575px){
  .tt-testimonials .testimonial-slider{ padding-bottom:30px; }
  .tt-testimonials .testimonial-header{ padding:15px 15px 10px; }
  .tt-testimonials .testimonial-header img{ width:55px; height:55px; }
  .tt-testimonials .testimonial-body{ padding:0 15px 10px; }
  .tt-testimonials .testimonial-body p{ font-size:.9rem; }
  .tt-testimonials .testimonial-footer{ padding:10px 15px 15px; }
  .tt-testimonials .testimonial-footer h5{ font-size:.95rem; }
  .tt-testimonials .testimonial-footer .quote-icon{ font-size:1.2rem; }
  .tt-testimonials .tt-nav{ margin-top:10px; }
}
/* ====== Testimonials: Título con el mismo estilo que #team ====== */
#testimonials .section-title {
  text-align: center;
  padding: 28px 0 18px;
}

/* Desactivar decoraciones/pseudo-elementos del template */
#testimonials .section-title::before,
#testimonials .section-title::after,
#testimonials .section-title h2::before,
#testimonials .section-title h2::after {
  content: none !important;
}

/* Subtítulo arriba (opcional) */
#testimonials .section-title .subtitle {
  display: block;
  margin-bottom: .6rem;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/* H2 principal */
#testimonials .section-title h2 {
  margin: 0 0 10px;
  padding: .35rem .9rem;
  font-size: clamp(2rem, 4.2vw, 2.6rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--heading-color);
}

/* (Opcional) Párrafo debajo del título */
#testimonials .section-title p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  max-width: 900px;
  margin: 0 auto;
}

/* ====== Responsive ajuste suave ====== */
@media (max-width: 576px) {
  #services .section-title h2,
  #team .section-title h2,
  #testimonials .section-title h2 {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  #services .section-title p,
  #testimonials .section-title p {
    font-size: 1rem;
    line-height: 1.7;
  }
}
/* === Navegación Swiper abajo en #testimonials === */

/* Contenedor de navegación alineado abajo y centrado */
#testimonials .swiper-navigation{
  position: relative;
  margin-top: 25px;
  display: flex;
  justify-content: center;   /* o 'flex-end' si las quieres a la derecha */
  gap: 12px;
}

/* Quitar posición absoluta por defecto de Swiper */
#testimonials .swiper-button-prev,
#testimonials .swiper-button-next{
  position: static !important;   /* clave para que bajen */
  inset: auto !important;        /* anula top/right/left del default */
  transform: none !important;    /* anula translateY(-50%) del default */
  width: 45px;
  height: 45px;
  border-radius: 999px;
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,.1);
}

/* Estética al pasar el mouse (opcional) */
#testimonials .swiper-button-prev:hover,
#testimonials .swiper-button-next:hover{
  background: color-mix(in srgb, var(--accent-color), var(--heading-color) 20%);
}

/* Asegura que los bullets (si los usas) también queden abajo */
#testimonials .swiper-pagination{
  position: static !important;
  margin-top: 18px;
  text-align: center;
}

/* Responsive */
@media (max-width: 767px){
  #testimonials .swiper-button-prev,
  #testimonials .swiper-button-next{
    width: 40px; height: 40px;
  }
}
.hero .carousel {
  inset: 0;
  position: absolute;
  overflow: hidden;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  transition-duration: 0.4s;
}

.hero .carousel-item img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .carousel-item::before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .carousel-control-prev {
  justify-content: start;
}

@media (min-width: 640px) {
  .hero .carousel-control-prev {
    padding-left: 15px;
  }
}

.hero .carousel-control-next {
  justify-content: end;
}

@media (min-width: 640px) {
  .hero .carousel-control-next {
    padding-right: 15px;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 26px;
  line-height: 0;
  background: color-mix(in srgb, var(--default-color), transparent 80%);
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  border-radius: 50px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  z-index: 3;
  transition: 0.3s;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

/* === Botones del hero como en la captura === */
.hero .btn-get-started,
.hero .btn-ghost{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 20px;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
  font-size:15px;
  line-height:1;
  letter-spacing:.04em;
  white-space:nowrap;
  transition:
    transform .15s ease,
    box-shadow .25s ease,
    background-color .25s ease,
    border-color .25s ease,
    filter .25s ease;
}

/* WhatsApp (relleno verde) */
.hero .btn-get-started.whatsapp{
  background:#25D366;            /* verde WhatsApp */
  color:#fff;
  border:1px solid rgba(255,255,255,.07);
  box-shadow:
    0 10px 26px rgba(0,0,0,.25),
    0 0 0 1px rgba(255,255,255,.06) inset;
}
.hero .btn-get-started.whatsapp:hover{
  filter:brightness(1.05);
  transform:translateY(-2px);
  box-shadow:
    0 14px 30px rgba(0,0,0,.30),
    0 0 0 1px rgba(255,255,255,.08) inset;
}

/* Ícono de WhatsApp */
.hero .btn-get-started .wa-icon{
  width:18px;
  height:18px;
  flex-shrink:0;
  display:block;
}

/* Ghost (borde blanco, fondo transparente) */
.hero .btn-ghost{
  color:#fff;
  background:transparent;
  border:1.6px solid rgba(255,255,255,.6);
  box-shadow:0 10px 26px rgba(0,0,0,.18);
}
.hero .btn-ghost:hover{
  background:rgba(255,255,255,.10);
  border-color:#fff;
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(0,0,0,.25);
}

/* En pantallas pequeñas, compacta un poco */
@media (max-width: 480px){
  .hero .btn-get-started,
  .hero .btn-ghost{
    font-size:14px;
    padding:10px 16px;
    border-radius:8px;
    gap:8px;
  }
  .hero .btn-get-started .wa-icon{ width:16px; height:16px; }
}
/* 1) Quita aire del header */
.header {
  padding-block: 4px; /* súbelo/bájalo a tu gusto (0–12px) */
}

/* 2) Alinea logo y texto sin espacios raros */
.header .logo {
  display: flex;
  align-items: center; /* centra verticalmente */
  gap: 8px;
  line-height: 1;      /* ya lo tenías, perfecto */
  margin-block: 0;     /* sin márgenes arriba/abajo */
}

/* 3) Elimina el “hueco” del img inline */
.header .logo img {
  max-height: 150px;   /* ajusta si quieres */
  display: block;      /* quita el espacio bajo la imagen */
  margin: 0;           /* por si acaso */
}

/* 4) Compacta el título */
.header .logo h1 {
  font-size: 30px;
  line-height: 1;  /* importante para adelgazar verticalmente */
  margin: 0;       /* ya lo tenías */
  font-weight: 700;
  color: var(--heading-color);
}

/* (Opcional) más delgado en móvil */
@media (max-width: 768px) {
  .header { padding-block: 2px; }
  .header .logo img { max-height: 120px; }
  .header .logo h1 { font-size: 24px; }
}
/* SOLO afecta la imagen mostrada (assets/img/new.png) dentro del .container.text-center */
.container.text-center > img[src$="new.png"] {
  display: block;
  margin: 0 auto 16px;   /* separación debajo de la imagen */
  width: clamp(120px, 20vw, 220px); /* tamaño responsivo controlado */
  height: auto;
  object-fit: contain;
  /* opcional: evita arrastre/selección */
  -webkit-user-drag: none;
  user-select: none;
}

@media (max-width: 480px) {
  .container.text-center > img[src$="new.png"] {
    margin-bottom: 12px;
    width: clamp(110px, 40vw, 180px);
  }
}
.container.text-center > img[src$="new.png"] {

  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  display: block !important;
  float: none !important;
  margin: 0 auto 14px !important; 
  width: clamp(200px, 28vw, 360px) !important; 
  height: auto;
  margin-bottom: 0px !important;
  object-fit: contain;
  order: -1;
  align-self: center;
  pointer-events: none;
}
@media (max-width: 576px) {
  .container.text-center > img[src$="new.png"] {
    margin-bottom: 12px !important;
    width: clamp(110px, 38vw, 180px);
  }
}
/* quita cualquier espacio propio del <img> */
.container.text-center > img[src$="new.png"] {
  display: block !important;
  margin-bottom: 0 !important;
}

/* reduce el margen superior del H1 que sigue al <img> */
.container.text-center > img[src$="new.png"] + h1 {
  margin-top: 2px !important; /* ajusta: 0–8px según te guste */
}

/* opcional: en pantallas grandes, aún más pegado */
@media (min-width: 992px) {
  .container.text-center > img[src$="new.png"] + h1 {
    margin-top: 0 !important;
  }
}
/* Mover hacia ARRIBA el texto (H1, subtítulo y botones) sin tocar la imagen */

/* H1 inmediatamente después del logo */
.container.text-center > img[src$="new.png"] + h1 {
  margin-top: -28px !important;            /* súbele o bájale el número */
  margin-block-start: -28px !important;     /* refuerzo para navegadores */
}

/* Acompañar el resto del bloque (subtítulo y botones) */
.container.text-center > img[src$="new.png"] ~ p.lead {
  margin-top: 6px !important;               /* queda pegado al H1 */
}

.container.text-center > img[src$="new.png"] ~ .d-flex {
  margin-top: 12px !important;              /* botones un poco más cerca */
}

/* Ajuste fino por tamaño de pantalla */
@media (min-width: 1200px) {
  .container.text-center > img[src$="new.png"] + h1 {
    margin-top: -36px !important;
    margin-block-start: -36px !important;
  }
}

@media (max-width: 576px) {
  .container.text-center > img[src$="new.png"] + h1 {
    margin-top: -18px !important;
    margin-block-start: -18px !important;
  }
}

:root{
  --header-offset: 80px;
}

html{
  scroll-padding-top: var(--header-offset);
  scroll-behavior: smooth; /* opcional */
}


section[id]{
  scroll-margin-top: var(--header-offset);
}


@media (max-width: 992px){
  :root{ --header-offset: 110px; }
}
