/* =========================================================
   BOCAS Y RISAS - MODERN DESIGN SYSTEM
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  /* Core Colors */
  --teal: #00E5FF;
  --teal-dark: #00B8D4;
  --teal-light: #E0F7FA;
  --teal-muted: rgba(0, 229, 255, 0.15);
  --navy: #0A192F;
  --navy-light: #112240;
  --navy-grad: linear-gradient(135deg, #0A192F 0%, #112240 100%);
  --white: #FFFFFF;
  --white-soft: #F0FDFF;
  --gray-light: #F8F9FA;
  --gray: #6C757D;
  --black: #0A0A0A;
  
  /* Layout & Spacing */
  --max-width: 1280px;
  --nav-height: 88px;
  --section-padding: 100px 20px;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
  --glass-bg: rgba(10, 25, 47, 0.85);
  --glass-border: rgba(255, 255, 255, 0.1);
  --blur: blur(12px);
  
  /* Typography */
  --font-sans: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  
  /* Transitions — spring physics */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================== GLOBAL RESET ================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--black);
  background-color: var(--gray-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ================== TYPOGRAPHY ================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  line-height: 1.2;
}

.heading-serif {
  font-family: var(--font-serif);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--navy);
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.accent-line {
  width: 60px;
  height: 4px;
  background: var(--teal);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

/* ================== COMPONENTS ================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.5);
}

.btn-primary:active {
  transform: scale(0.97) translateY(0);
  box-shadow: 0 3px 10px rgba(0, 229, 255, 0.3);
  transition-duration: 0.08s;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: scale(0.97) translateY(0);
  transition-duration: 0.08s;
}

/* ================== TOP BAR ================== */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.topbar a,
.topbar span {
  color: rgba(255, 255, 255, 0.9);
}

.topbar a:hover {
  color: var(--teal);
  opacity: 1;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

/* ================== MARQUEE ================== */
.marquee-bar {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-light) 30%, var(--navy-light) 70%, var(--navy) 100%);
  color: rgba(255, 255, 255, 0.93);
  overflow: hidden;
  padding: 11px 0;
  font-size: 13.5px;
  font-weight: 500;
  border-top: 1px solid rgba(0, 229, 255, 0.3);
  border-bottom: 2px solid rgba(0, 229, 255, 0.55);
  letter-spacing: 0.25px;
  position: relative;
}
.marquee-bar::before,
.marquee-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.marquee-bar::before {
  left: 0;
  background: linear-gradient(to right, var(--navy) 15%, transparent);
}
.marquee-bar::after {
  right: 0;
  background: linear-gradient(to left, var(--navy) 15%, transparent);
}
.marquee-inner {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: marqueeScroll 60s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }
.marquee-segment {
  white-space: nowrap;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================== SKIP LINK ================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--navy);
  padding: 12px 28px;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

/* ================== NAV OVERLAY ================== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ================== NAVIGATION (GLASSMORPHISM) ================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-normal);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-brand img {
  height: 65px;
  width: auto;
  transition: transform var(--transition-fast);
}

.nav-brand:hover img {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--teal);
}

.nav-link:hover::after {
  width: 100%;
}

.has-dropdown > .nav-link::before {
  content: '▼';
  font-size: 0.6rem;
  margin-left: 4px;
  order: 2;
  transition: transform var(--transition-fast);
}

.has-dropdown:hover > .nav-link::before {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--white);
  min-width: 260px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-normal);
  padding: 12px 0;
  border: 1px solid rgba(0,0,0,0.05);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 12px 24px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
}

.dropdown a:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
  padding-left: 30px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: all var(--transition-normal);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* ================== FOOTER ================== */
footer {
  background: var(--navy);
  color: var(--gray-light);
  padding: 80px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 400px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-fast);
  font-weight: 600;
}

.social-icon:hover {
  background: var(--teal);
  color: var(--navy);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--teal);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* ================== ANIMATIONS (AOS) ================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================== FOCUS VISIBLE ================== */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) {
  outline: none;
}

/* ================== REDUCED MOTION ================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up {
    opacity: 1;
    transform: none;
  }
  .wa-float-btn {
    animation: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
  .marquee-inner {
    animation: none;
  }
}

/* ================== RESPONSIVE ================== */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 40px;
    transition: right var(--transition-normal);
  }
  
  .nav-menu.active {
    right: 0;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }
  
  .hamburger {
    display: block;
  }
  
  .dropdown {
    position: static;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding: 0;
    margin-left: 20px;
    border: none;
  }
  
  .has-dropdown.active .dropdown {
    display: block;
  }
  
  .dropdown a {
    color: rgba(255,255,255,0.8);
    padding: 10px 0;
  }
  .dropdown a:hover {
    background: transparent;
    color: var(--teal);
    padding-left: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ================== MOBILE RESPONSIVE (768px) ================== */
@media (max-width: 768px) {

  :root {
    --section-padding: 60px 16px;
    --nav-height: 72px;
  }

  /* Topbar */
  .topbar .container {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    padding: 6px 16px;
    font-size: 0.78rem;
  }

  /* Marquee */
  .marquee-bar {
    font-size: 12px;
    padding: 8px 0;
  }

  /* Navbar logo */
  .nav-brand img {
    height: 50px;
  }

  /* Hero */
  .hero .container {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 30px;
  }
  .hero-logo {
    margin: 0 auto 16px;
  }
  .hero-content p {
    margin: 0 auto 30px;
  }
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  .about-img img {
    width: 100%;
    height: auto;
  }

  /* Services grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Section titles */
  .section-title {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  /* Steps / process */
  .steps-grid {
    grid-template-columns: 1fr;
  }

  /* Team grid */
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* Blog cards */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Contact section */
  .contact-grid,
  .home-contact-sec .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  /* Form */
  .form-box {
    padding: 24px 20px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  footer {
    padding: 50px 16px 20px;
  }

  /* Buttons */
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  /* WhatsApp widget */
  .wa-popup {
    width: 280px;
  }
}

/* ================== MOBILE RESPONSIVE (480px) ================== */
@media (max-width: 480px) {

  :root {
    --section-padding: 48px 14px;
  }

  /* Topbar: only show phone & CTA */
  .topbar .container > span:last-child {
    display: none;
  }

  /* Navbar */
  .nav-menu {
    width: 100vw;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 32px 14px;
  }
  .hero-logo {
    width: clamp(180px, 70vw, 280px) !important;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Review cards */
  .review-card {
    flex: 0 0 240px;
  }

  /* Map */
  .map-container {
    height: 220px;
  }

  /* Section subtitle */
  .section-subtitle {
    font-size: 0.95rem;
  }
}

/* ================== HOMEPAGE SECTIONS ================== */
.hero {
  position: relative;
  min-height: clamp(580px, 75dvh, 960px);
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(10, 25, 47, 0.65), rgba(17, 34, 64, 0.75)), url('imagenes/gif.gif') center/cover no-repeat;
  padding: 40px 20px;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.5) 0%, rgba(0, 229, 255, 0.1) 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.hero-content {
  max-width: 620px;
}
.hero-logo {
  width: clamp(160px, 22vw, 280px);
  height: auto;
  margin-bottom: 16px;
  mix-blend-mode: screen;
  filter: brightness(1.15) contrast(1.05);
  display: block;
}
.hero-content h1 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
}
.hero-content h1 span {
  font-family: var(--font-serif);
  color: var(--teal);
  font-style: italic;
  font-weight: 600;
}
.hero-content p {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: nowrap;
}
.hero-yt-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-yt-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.about-sec {
  padding: var(--section-padding);
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 16px;
  align-items: center;
}
.about-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  aspect-ratio: 3/4;
  max-height: 430px;
}
.about-text .section-title {
  margin-bottom: 8px;
  line-height: 1.2;
  text-align: left;
}
.about-text p {
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 10px;
  color: var(--gray);
}
.about-text .benefit-list {
  margin-top: 8px;
  padding-left: 0;
  list-style: none;
}
.about-text .benefit-item {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 12px;
  color: var(--gray);
}
.about-text .benefit-item strong {
  color: var(--navy);
}
.about-text .btn {
  margin-top: 10px;
  padding: 10px 24px;
  font-size: 0.88rem;
}
.about-slider {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}
.about-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.about-slider img.active {
  opacity: 1;
}
.about-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.about-slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.about-slider-dots span.active {
  background: var(--teal);
  transform: scale(1.3);
}
.process-sec {
  padding: var(--section-padding);
  background: var(--white-soft);
}
.process-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 44px;
}
.process-doctor {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}
.process-doctor img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.process-doctor-label {
  margin-top: 14px;
  text-align: center;
}
.process-doctor-label strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  font-family: var(--font-serif);
}
.process-doctor-label span {
  font-size: 0.82rem;
  color: var(--teal-dark);
  font-weight: 600;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(0,168,168,0.12);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.process-step:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}
.process-step-num {
  min-width: 44px;
  height: 44px;
  background: var(--teal);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,168,168,0.3);
}
.process-step-body h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
  font-family: var(--font-serif);
  line-height: 1.3;
}
.process-step-body p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
  margin: 0;
}
.process-cta {
  margin-top: 8px;
  padding-left: 4px;
}
.results-sec {
  background: var(--navy);
  padding: 80px 0;
}
.results-sec .section-header {
  text-align: center;
  margin-bottom: 40px;
}
.results-sec .section-header h2 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 10px;
}
.results-sec .section-header p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ba-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
}
.ba-slider {
  position: relative;
  aspect-ratio: 16/9;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.ba-before {
  clip-path: inset(0 calc((100 - var(--pct, 50)) * 1%) 0 0);
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--pct, 50) * 1%);
  width: 2px;
  background: white;
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: calc(var(--pct, 50) * 1%);
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 50px;
  width: 44px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-size: 15px;
  color: #333;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
  pointer-events: none;
}
.ba-tag {
  position: absolute;
  bottom: 12px;
  background: rgba(0,0,0,0.62);
  color: white;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 6px;
}
.ba-tag-l { left: 10px; }
.ba-tag-r { right: 10px; }
.blog-preview-sec {
  padding: var(--section-padding);
  background: var(--navy);
}
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
.blog-preview-card {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.blog-preview-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.blog-preview-card a { display: block; color: inherit; }
.blog-preview-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-preview-card:hover .blog-preview-img img { transform: scale(1.05); }
.blog-preview-body {
  padding: 14px 14px 12px;
}
.blog-preview-body h3 {
  font-size: 0.88rem;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.35;
  font-family: var(--font-sans);
  font-weight: 700;
}
.blog-preview-body p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  margin-bottom: 10px;
}
.blog-preview-date {
  display: block;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.blog-preview-link {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
}
.blog-preview-cta { text-align: center; }
.blog-preview-cta .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.5); }
.section-header { margin-bottom: 2rem; }
.text-center { text-align: center; }
.btn-block { width: 100%; max-width: 100%; }
.reviews-sec .section-header { text-align: center; margin-bottom: 16px; }
.rev-carousel-wrap { position: relative; display: flex; align-items: center; gap: 8px; }
.rev-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 8px 4px;
  cursor: grab;
  user-select: none;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-track.grabbing { cursor: grabbing; }
.rev-card {
  flex: 0 0 190px;
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rev-card-top { display: flex; align-items: center; gap: 8px; }
.rev-card-top > div:nth-child(2) { flex: 1; min-width: 0; }
.rev-card-top strong {
  display: block;
  font-size: 0.74rem;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rev-card-top span { font-size: 0.66rem; color: #aaa; }
.rev-g-icon { width: 14px; height: 14px; flex-shrink: 0; }
.rev-stars { color: #f4b400; font-size: 0.78rem; letter-spacing: 1px; }
.rev-card p { font-size: 0.75rem; color: #555; line-height: 1.5; margin: 0; }
.rev-arrow {
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s;
}
.rev-arrow:hover { background: var(--teal-light); }
.home-contact-sec {
  padding: var(--section-padding);
  background: var(--white);
}
.contact-new-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}
.contact-facade {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 12px;
  display: block;
}
.contact-sub {
  color: var(--gray);
  margin-top: 0.6rem;
  margin-bottom: 1.6rem;
  font-size: 1rem;
}
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}
.ci-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-info-row p {
  margin: 0;
  color: rgba(0,0,0,0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-info-row a { color: var(--teal); text-decoration: none; }
.contact-logo-wrap {
  padding: 10px 18px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-logo-wrap .footer-logo {
  max-height: 70px;
  object-fit: contain;
  opacity: 0.9;
}
.footer-contact-note { color: rgba(255,255,255,0.7); }
.nav-link.active { color: var(--teal); }
.hidden { display: none !important; }
@media (max-width: 992px) { .contact-new-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .contact-new-grid { gap: 30px; } }

/* ================== TRANSLATE FLAGS ================== */
.lang-switcher { display: flex; gap: 8px; align-items: center; margin-right: 15px; }
.lang-flag img { width: 22px; height: 15px; box-shadow: 0 1px 3px rgba(0,0,0,0.3); border-radius: 2px; transition: transform var(--transition-fast); display: block; }
.lang-flag:hover img { transform: scale(1.15); }

/* ================== WHATSAPP WIDGET ================== */
.wa-widget { position: fixed; bottom: 25px; left: 25px; z-index: 9999; }
.wa-popup { position: absolute; bottom: 75px; left: 0; width: 320px; background: var(--white); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); transform-origin: bottom left; transform: scale(0.9); opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); overflow: hidden; border: 1px solid rgba(0,0,0,0.05); }
.wa-popup.active { transform: scale(1); opacity: 1; visibility: visible; }
.wa-header { background: #25D366; color: white; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.wa-header-info { display: flex; align-items: center; gap: 12px; }
.wa-header-info h4 { color: white; margin: 0; font-size: 1.05rem; }
.wa-close { background: transparent; border: none; color: white; font-size: 1.2rem; cursor: pointer; opacity: 0.8; }
.wa-close:hover { opacity: 1; }
.wa-body { padding: 20px; background: #E5DDD5; position: relative; }
.wa-chat-bubble { background: white; padding: 14px 16px; border-radius: 0 12px 12px 12px; font-size: 0.95rem; color: #333; margin-bottom: 20px; box-shadow: 0 1px 2px rgba(0,0,0,0.1); position: relative; }
.wa-chat-bubble::before { content: ''; position: absolute; top: 0; left: -8px; border: 8px solid transparent; border-top-color: white; border-right-color: white; }
.wa-send-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: white; padding: 12px 20px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: background 0.2s; }
.wa-send-btn:hover { background: #1EBE5D; }
.wa-float-btn { width: 65px; height: 65px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); cursor: pointer; border: none; transition: transform var(--transition-fast); animation: waPulse 2s infinite; }
.wa-float-btn:hover { transform: scale(1.05); }
.wa-float-btn:active { transform: scale(0.96); transition-duration: 0.08s; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }


/* ================== REVIEWS CAROUSEL ================== */
.reviews-sec { padding: var(--section-padding); background: var(--white); overflow: hidden; margin-top: 20px; }
.reviews-wrapper { display: flex; align-items: stretch; gap: 40px; max-width: var(--max-width); margin: 0 auto; position: relative; }
.reviews-summary { flex: 0 0 280px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.reviews-summary h3 { font-size: 1.1rem; color: var(--navy); margin: 0; line-height: 1.3; font-family: var(--font-sans); font-weight: 700; width: 80%; }
.reviews-stars { color: #FBBC04; font-size: 1.6rem; letter-spacing: 2px; line-height: 1; }
.reviews-count { font-size: 0.95rem; color: var(--gray); font-family: var(--font-sans); }
.btn-review { display: inline-block; padding: 10px 20px; border: 1px solid #ccc; border-radius: 6px; text-decoration: none; color: var(--black); font-size: 0.9rem; font-weight: 600; margin-top: 15px; text-align: center; transition: background 0.2s; align-self: flex-start; }
.btn-review:hover { background: var(--gray-light); }
.reviews-slider-container { flex: 1; position: relative; display: flex; align-items: center; }
.reviews-slider { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 10px; width: 100%; }
.reviews-slider::-webkit-scrollbar { display: none; }
.review-card { flex: 0 0 260px; background: var(--white); border: 1px solid #eaeaea; border-radius: 12px; padding: 25px; box-shadow: 0 4px 10px rgba(0,0,0,0.03); display: flex; flex-direction: column; transition: transform 0.2s; }
.review-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 5px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.review-name { font-weight: 600; color: var(--black); font-size: 1rem; margin: 0; line-height: 1.2; font-family: var(--font-sans); }
.review-date { font-size: 0.85rem; color: #999; margin-top: 2px; }
.review-g-icon { width: 20px; height: 20px; }
.review-rating { color: #FBBC04; font-size: 1.1rem; margin-bottom: 12px; display: flex; align-items: center; gap: 5px; margin-top: 8px;}
.review-text { font-size: 0.95rem; color: #444; line-height: 1.5; flex: 1; font-family: var(--font-sans); }
.review-more { color: #999; font-size: 0.9rem; text-decoration: none; margin-top: 12px; display: inline-block; font-weight: 400;}

.review-prev, .review-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: var(--white); border: 1px solid #ddd; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; box-shadow: 0 2px 8px rgba(0,0,0,0.1); color: #555; transition: background 0.2s; font-size: 14px; }
.review-prev:hover, .review-next:hover { background: var(--gray-light); }
.review-prev { left: -20px; }
.review-next { right: -20px; }

@media (max-width: 1024px) {
  .reviews-wrapper { flex-direction: column; align-items: stretch; gap: 20px; }
  .reviews-summary { flex: auto; align-items: center; text-align: center; }
  .reviews-summary h3 { width: 100%; }
  .btn-review { align-self: center; }
  .review-card { flex: 0 0 280px; }
  .review-prev, .review-next { display: none; }
}


/* ================== TRUSTINDEX WIDGET FIXES ================== */
.ti-widget img {
  display: inline-block !important;
  margin: 0 !important;
}
.ti-widget .ti-profile-img img {
  display: block !important;
  max-width: 100%;
}
.ti-widget-container {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 40px;
}
.ti-footer {
  flex: 0 0 280px; 
  margin-top: 0 !important;
}
.ti-reviews-container {
  flex: 1;
  min-width: 0;
}
.ti-name {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}
.ti-stars {
  display: block;
  margin-bottom: 10px;
}
@media (max-width: 900px) {
  .ti-widget-container {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }
  .ti-footer {
    flex: auto;
  }
}


/* TrustIndex Read More Options */
.ti-review-content {
  transition: height 0.3s ease !important;
  overflow: hidden !important;
}
.ti-read-more {
  cursor: pointer;
  display: inline-block;
  margin-top: 10px;
}
.ti-read-more-active {
  font-weight: 600;
  color: var(--gray);
}
.ti-read-more-active:hover {
  color: var(--navy);
}

/* ================== STATS SECTION ================== */
.stats-sec {
  background: var(--navy-grad);
  padding: 60px 20px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.stat-label {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================== YOUTUBE SECTION ================== */
.yt-section {
  padding: var(--section-padding);
  background: var(--navy);
  color: var(--white);
}
.yt-section .section-title { color: var(--white); }
.yt-section .section-subtitle { color: rgba(255,255,255,0.7); }
.yt-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 50px;
  margin-top: 40px;
  backdrop-filter: blur(10px);
}
.yt-icon-wrap {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  background: #FF0000;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(255,0,0,0.4);
}
.yt-info h3 {
  color: var(--white);
  font-size: 1.6rem;
  font-family: var(--font-serif);
  margin-bottom: 12px;
}
.yt-info p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
  font-size: 1.05rem;
  max-width: 500px;
}
@media (max-width: 768px) {
  .yt-card { flex-direction: column; text-align: center; padding: 30px; gap: 24px; }
  .yt-info p { margin: 0 auto 24px; }
}

/* ================== SERVICE / SUBPAGE STYLES ================== */
.service-hero {
  padding: 100px 20px 60px;
  background: var(--navy-grad);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,229,255,0.08) 0%, transparent 100%);
}
.service-hero .container { position: relative; z-index: 1; }
.service-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}
.service-hero h1 span { color: var(--teal); }
.post-hero { padding: 100px 20px 50px; background: var(--navy-grad); text-align: center; }
.post-hero h1 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); color: var(--white); max-width: 900px; margin: 0 auto 20px; }
.post-meta { font-size: 0.9rem; color: rgba(255,255,255,0.75); display: block; margin-bottom: 20px; }
.service-hero p {
  font-size: 1.2rem;
  opacity: 0.85;
  max-width: 650px;
  margin: 0 auto 35px;
}
.breadcrumb {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.breadcrumb a { color: var(--teal); }
.breadcrumb span { margin: 0 8px; }

.page-section {
  padding: 45px 20px;
  background: var(--white);
}
.page-section.alt { background: var(--gray-light); }
.page-section .section-subtitle { margin-bottom: 1.2rem; }
.page-section .accent-line { margin-bottom: 1.5rem; }

.content-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px;
  align-items: center;
}
.content-grid.reverse {
  grid-template-columns: 1.25fr 0.75fr;
}
.content-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.content-img img {
  width: 100%;
  height: auto;
  display: block;
}
.content-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}
.content-text p {
  color: var(--gray);
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 1rem;
}
.benefit-list {
  list-style: none;
  margin: 24px 0;
}
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
}
.benefit-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.step-card {
  background: var(--white);
  border-radius: 16px;
  padding: 35px 28px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border-top: 4px solid var(--teal);
  transition: transform var(--transition-normal);
}
.step-card:hover { transform: translateY(-8px); }
.step-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--teal-light);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
}
.step-card h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.2rem; }
.step-card p { color: var(--gray); font-size: 0.95rem; }

/* FAQ accordion — used on service pages and blog posts */
.faq-item-post {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  background: #fff;
}
.faq-item-post summary {
  padding: 18px 20px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}
.faq-item-post summary::-webkit-details-marker { display: none; }
.faq-item-post summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--teal);
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item-post[open] summary::after { content: '−'; }
.faq-item-post p {
  padding: 0 20px 18px;
  color: var(--gray);
  margin: 0;
  line-height: 1.7;
  font-size: 1rem;
}

.cta-banner {
  background: var(--navy-grad);
  color: var(--white);
  text-align: center;
  padding: 50px 20px;
}
.cta-banner h2 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 36px; font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* FAQ Specific */
.faq-list { max-width: 850px; margin: 50px auto 0; }
.faq-item { background: var(--white); border-radius: 12px; margin-bottom: 16px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.05); overflow: hidden; }
.faq-question { padding: 22px 28px; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background var(--transition-fast); }
.faq-question:hover { background: var(--teal-light); }
.faq-answer { padding: 0 28px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--gray); line-height: 1.7; font-size: 0.98rem; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 28px 22px; }
.faq-item.open .faq-q-arrow { transform: rotate(180deg); }
.faq-q-arrow { transition: transform 0.3s; font-size: 0.8rem; color: var(--teal-dark); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 50px; }
.gallery-item { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 35px; margin-top: 50px; }
.team-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); text-align: center; transition: transform var(--transition-normal); }
.team-card:hover { transform: translateY(-8px); }
.team-img { width: 100%; height: 280px; object-fit: cover; object-position: top; }
.team-info { padding: 24px; }
.team-name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy); margin-bottom: 6px; }
.team-role { color: var(--teal-dark); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }

@media (max-width: 992px) {
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
}
/* ================== SERVICE PAGE SHARED STYLES ================== */
.tipos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.tipo-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--teal);
  transition: transform var(--transition-normal);
}

.tipo-card:hover {
  transform: translateY(-6px);
}

.tipo-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tipo-card h3 .tipo-icon {
  font-size: 1.6rem;
}

.tipo-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.highlight-box {
  background: var(--teal-light);
  border-left: 4px solid var(--teal-dark);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 28px 0;
  color: var(--navy);
  font-size: 0.97rem;
  line-height: 1.7;
  font-style: italic;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--teal);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 20px;
}

.step-card h3 {
  margin-bottom: 15px;
  font-family: var(--font-serif);
}

.step-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ================== MOBILE OPTIMIZATIONS ================== */

/* Disable autoplay hero video on mobile — saves bandwidth & battery */
@media (max-width: 768px) {
  .hero-video-bg {
    display: none;
  }
}

/* Prevent iOS auto-zoom on form focus (requires font-size >= 16px) */
@media (max-width: 768px) {
  .form-group input,
  .form-group textarea {
    font-size: 16px;
    padding: 12px 14px;
    min-height: 44px;
  }
  .form-group textarea {
    min-height: 88px;
  }
}

/* Minimum touch target for buttons */
@media (max-width: 768px) {
  .btn {
    min-height: 48px;
  }
}


/* Better aspect ratio for before/after cards on mobile */
@media (max-width: 768px) {
  .ba-slider {
    aspect-ratio: 4/3;
  }
}

/* WhatsApp float button hidden on mobile — CTA bar handles it */
@media (max-width: 768px) {
  .wa-float-btn,
  .wa-popup {
    display: none !important;
  }
}

/* Services: 1 column on very small screens */
@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr !important;
  }
}

/* About image: landscape ratio on small phones */
@media (max-width: 480px) {
  .about-img {
    aspect-ratio: 3/2;
    max-height: 200px;
  }
}

/* Hide hero YouTube embed on very small phones — too cramped */
@media (max-width: 480px) {
  .hero-yt-embed {
    display: none;
  }
}

/* ================== MOBILE STICKY CTA BAR ================== */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--navy);
    padding: 10px 14px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    gap: 10px;
    border-top: 2px solid rgba(0, 229, 255, 0.45);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
  }
  .mobile-cta-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    min-height: 48px;
    text-decoration: none;
  }
  .mobile-cta-bar .mob-btn-appt {
    background: var(--teal);
    color: var(--navy);
    box-shadow: 0 3px 12px rgba(0, 229, 255, 0.35);
  }
  .mobile-cta-bar .mob-btn-wa {
    background: #25D366;
    color: white;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.35);
  }

  /* Pad page bottom so footer isn't hidden behind the sticky bar */
  body {
    padding-bottom: 74px;
  }
}
