/* ==========================================================================
   CLÍNICA 180 - CLEAN REALISTIC DESIGN & BRAND STYLESHEET
   Brand Colors: Bronze/Café (#BE8B5E) & Slate Gray (#9A9B9D)
   ========================================================================== */

:root {
  /* Official Brand Colors */
  --brand-bronze: #BE8B5E;
  --brand-bronze-dark: #9F6D43;
  --brand-bronze-light: #D5A67C;
  --brand-bronze-subtle: rgba(190, 139, 94, 0.1);

  --brand-gray: #9A9B9D;
  --brand-gray-dark: #3A3B3D;
  --brand-gray-light: #E8E9EA;

  /* Clean Professional Theme */
  --bg-body: #FAFAFA;
  --bg-surface: #FFFFFF;
  --bg-alt: #F4F5F7;
  --text-dark: #1E2022;
  --text-medium: #4A4D52;
  --text-muted: #70747C;

  /* WhatsApp Action Green */
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;

  /* Shadows & Borders */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
  --border-light: 1px solid #E5E7EB;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-medium);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: #000000;
  line-height: 1.25;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-bronze { color: var(--brand-bronze); }
.mt-10 { margin-top: 10px; }

.gradient-text {
  color: var(--brand-bronze-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-primary {
  background: var(--brand-bronze);
  color: white;
}

.btn-primary:hover {
  background: var(--brand-bronze-dark);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: white;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--brand-bronze);
  color: var(--brand-bronze-dark);
}

.btn-outline-dark:hover {
  background: var(--brand-bronze);
  color: white;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* Top Bar */
.top-bar {
  background-color: var(--brand-gray-dark);
  color: #E2E3E5;
  font-size: 0.85rem;
  padding: 0.45rem 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-content.top-bar-centered {
  justify-content: center;
  text-align: center;
}

.top-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.top-contact {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.top-contact a {
  color: white;
}

.whatsapp-badge {
  background: rgba(37, 211, 102, 0.2);
  color: #34D399 !important;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* Header & Nav */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.4rem;
  color: var(--brand-bronze-dark);
  font-weight: 800;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--brand-gray);
  font-weight: 600;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  gap: 2.2rem;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-medium);
  padding: 0.4rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--brand-bronze);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-bronze);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  padding: 8px 6px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.mobile-toggle:focus-visible {
  outline: 2px solid var(--brand-bronze);
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 1. Hero Section (Limpio con Foto RealPortada.jpeg) */
.hero {
  background: #F8F9FA;
  padding: 4.5rem 0 5rem 0;
  border-bottom: var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-bronze-subtle);
  color: var(--brand-bronze-dark);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(190, 139, 94, 0.3);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.18;
  margin-bottom: 1.2rem;
  color: #000000;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 1.8rem;
}

.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.highlight-item i {
  color: var(--brand-bronze);
  font-size: 0.9rem;
}

.hero-cta-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: var(--border-light);
  background: white;
}

.hero-real-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.hero-badge-overlay {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-badge-overlay i {
  font-size: 1.5rem;
  color: var(--brand-bronze);
}

.hero-badge-overlay strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.hero-badge-overlay span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 2. Sección Servicios Alternados con Carrusel */
.section {
  padding: 5rem 0;
}

.bg-alt {
  background-color: var(--bg-alt);
}

.section-header {
  margin-bottom: 3.5rem;
}

.subtitle-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-bronze-subtle);
  color: var(--brand-bronze-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 0.8rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.services-alternate-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: var(--border-light);
  box-shadow: var(--shadow-sm);
}

/* Intercalado de orden cuando tiene clase .reverse */
.service-row.reverse .service-carousel-col {
  order: 2;
}

.service-row.reverse .service-info-col {
  order: 1;
}

/* Carrusel */
.carousel-container {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #F3F4F6;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: var(--transition-fast);
}

.carousel-btn:hover {
  background: white;
  color: var(--brand-bronze-dark);
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-indicators {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 6px;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: var(--transition-fast);
}

.indicator-dot.active {
  background: var(--brand-bronze);
  width: 20px;
  border-radius: 4px;
}

/* Columna de Texto de Servicio */
.service-info-col {
  position: relative;
}

.service-num-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-bronze);
  background: var(--brand-bronze-subtle);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.8rem;
}

.service-row-title {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.service-row-lead {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.service-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}

.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: var(--text-medium);
}

.service-feature-list li i {
  color: var(--brand-bronze);
  margin-top: 4px;
}

/* 3. Requisitos SEMAR */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.info-card {
  background: white;
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--brand-bronze-subtle);
  color: var(--brand-bronze-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.check-list li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}
.check-list li i {
  color: var(--brand-bronze);
  margin-top: 3px;
}

/* Guía de Ayuno Tabs */
.prep-tabs-wrapper {
  margin-top: 3rem;
}

.tab-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab-btn {
  background: white;
  border: var(--border-light);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-medium);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-normal);
}

.tab-btn.active {
  background: var(--brand-bronze);
  color: white;
  border-color: var(--brand-bronze);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.instruction-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.instruction-card {
  background: white;
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}

.inst-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-bronze);
  display: block;
  margin-bottom: 0.3rem;
}

.instruction-card h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.instruction-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* 4. Ubicación */
.location-details-card {
  background: white;
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--brand-bronze-subtle);
  color: var(--brand-bronze-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.contact-item p {
  font-size: 0.93rem;
  color: var(--text-muted);
}

.accreditation-box {
  margin-top: 1rem;
  padding-top: 1.2rem;
  border-top: var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.map-card-panel {
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
}

/* 5. Contacto */
.contact-box {
  background: white;
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
}

.contact-box-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-bronze-subtle);
  color: var(--brand-bronze-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem auto;
}

.contact-box-icon.wa {
  background: rgba(37, 211, 102, 0.15);
  color: var(--whatsapp-green);
}

.contact-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.contact-highlight {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-bronze-dark);
  margin-bottom: 0.4rem;
}

.contact-highlight.email {
  font-size: 0.9rem;
}

.contact-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--brand-gray-dark);
  color: #E2E3E5;
  padding: 3.5rem 0 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-img {
  height: 52px;
  width: auto;
}

.brand-title.light { color: white; }
.brand-sub.light { color: var(--brand-bronze-light); }

.footer-desc {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 380px;
}

.footer-links h4, .footer-contact h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--brand-bronze-light);
}

.footer-contact p {
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
}

.footer-bottom {
  background: #252627;
  padding: 1.2rem 0;
  font-size: 0.8rem;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-mini {
  color: rgba(255, 255, 255, 0.5);
}

/* Floating WhatsApp Button */
.floating-wa {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  background: var(--whatsapp-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-normal);
}

.floating-wa:hover {
  transform: scale(1.08);
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: var(--brand-gray-dark);
  color: white;
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.floating-wa:hover .wa-tooltip {
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service-row, .service-row.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-row.reverse .service-carousel-col {
    order: 1;
  }
  .service-row.reverse .service-info-col {
    order: 2;
  }
  .instruction-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Prevent horizontal overflow */
  body.menu-open {
    overflow: hidden;
  }

  .section {
    padding: 3.5rem 0;
  }

  .container {
    padding: 0 1.2rem;
  }

  /* Top Bar */
  .desktop-only { display: none; }
  .top-bar {
    font-size: 0.78rem;
    padding: 0.4rem 0;
  }
  .top-bar-content.top-bar-centered {
    justify-content: center;
    text-align: center;
    line-height: 1.35;
  }

  /* Header */
  .header-container {
    height: 70px;
  }

  .brand-logo img {
    height: 46px;
  }

  .brand-title {
    font-size: 1.2rem;
  }

  .brand-sub {
    font-size: 0.68rem;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Full Screen Mobile Nav Drawer */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100dvh - 70px);
    background: #FFFFFF;
    padding: 2rem 1.5rem;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.open {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.4rem;
    width: 100%;
  }

  .nav-link {
    font-size: 1.15rem;
    padding: 0.5rem 0;
    display: block;
    border-bottom: 1px solid var(--bg-alt);
  }

  /* Hero Section */
  .hero {
    padding: 2.5rem 0 3rem 0;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.4rem;
  }

  .hero-highlights {
    gap: 0.5rem;
    margin-bottom: 1.6rem;
  }

  .highlight-item {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .hero-cta-group {
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .visual-frame {
    border-radius: var(--radius-md);
  }

  .hero-real-img {
    height: 260px;
  }

  /* Section Headers */
  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .section-lead {
    font-size: 0.95rem;
  }

  /* Services Rows */
  .services-alternate-container {
    gap: 2rem;
  }

  .service-row {
    padding: 1.3rem;
    border-radius: var(--radius-md);
    gap: 1.5rem;
  }

  .carousel-container {
    height: 240px;
    border-radius: var(--radius-sm);
  }

  .service-row-title {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
  }

  .service-row-lead {
    font-size: 0.92rem;
    margin-bottom: 1rem;
  }

  .service-feature-list {
    gap: 0.5rem;
    margin-bottom: 0;
  }

  .service-feature-list li {
    font-size: 0.88rem;
  }

  /* SEMAR & Info Cards */
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .info-card {
    padding: 1.4rem;
  }

  .info-card h3 {
    font-size: 1.15rem;
  }

  .check-list li {
    font-size: 0.88rem;
  }

  /* Prep Tabs */
  .prep-tabs-wrapper {
    margin-top: 2rem;
  }

  .tab-navigation {
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
  }

  .tab-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    text-align: center;
  }

  .instruction-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .instruction-card {
    padding: 1.2rem;
  }

  /* Location */
  .location-details-card {
    padding: 1.4rem;
    gap: 1.2rem;
  }

  .contact-item {
    gap: 0.8rem;
  }

  .contact-item strong {
    font-size: 0.92rem;
  }

  .contact-item p {
    font-size: 0.88rem;
  }

  .accreditation-box {
    font-size: 0.82rem;
    gap: 0.5rem;
  }

  .map-card-panel {
    height: 280px;
    border-radius: var(--radius-md);
  }

  /* Contact Boxes */
  .contact-box {
    padding: 1.5rem 1.2rem;
  }

  .contact-box h3 {
    font-size: 1.1rem;
  }

  .contact-highlight {
    font-size: 1rem;
  }

  .contact-box .btn {
    width: 100%;
  }

  /* Footer */
  .site-footer {
    padding: 2.5rem 0 0 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding-bottom: 2rem;
  }

  .footer-logo-img {
    height: 44px;
  }

  .footer-desc {
    font-size: 0.84rem;
  }

  .footer-links h4, .footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .footer-bottom {
    padding: 1rem 0;
  }

  .footer-bottom-flex {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
    font-size: 0.76rem;
  }

  /* Floating WhatsApp Button on Mobile */
  .floating-wa {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }

  .wa-tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .carousel-container {
    height: 210px;
  }
}
