/* =============================================================
   FARMACIA ECUVIDA SACHA — Design System
   Mobile-first, pharmacy-themed, WhatsApp-conversion optimized
   ============================================================= */

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
  /* Brand greens — forest-inspired, Amazónica */
  --green-950: #052612;
  --green-900: #0A4A24;
  --green-800: #0D5C2E;
  --green-700: #117038;
  --green-600: #1B8A4A;
  --green-500: #22A85A;
  --green-400: #3DC474;
  --green-200: #A7E8C0;
  --green-100: #D4F5E2;
  --green-50:  #EDFBF3;

  /* Trust blue — calm, reliable */
  --blue-700:  #1044A0;
  --blue-500:  #1A6BC8;
  --blue-100:  #DEEEFF;
  --blue-50:   #F0F7FF;

  /* Amber accent — warm CTA */
  --amber-600: #D18700;
  --amber-500: #E89A00;
  --amber-100: #FFF0C2;

  /* WhatsApp authentic */
  --wa:        #25D366;
  --wa-dark:   #128C7E;
  --wa-light:  #DCF8C6;

  /* Neutrals — warm-tinted, not cold */
  --ink:       #111A0E;
  --ink-80:    #2A3827;
  --ink-60:    #4A5E46;
  --ink-40:    #7A8E76;
  --ink-20:    #B5C4B1;
  --ink-10:    #DAE5D6;
  --ink-05:    #EFF4ED;

  /* Surfaces */
  --surface:   #FAFAF6;
  --surface-2: #F3F6F0;
  --white:     #FFFFFF;

  /* Semantic */
  --primary:   var(--green-800);
  --primary-h: var(--green-900);
  --accent:    var(--amber-500);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(10,60,30,0.06);
  --shadow-sm: 0 2px 6px rgba(10,60,30,0.08), 0 1px 3px rgba(10,60,30,0.06);
  --shadow-md: 0 6px 16px rgba(10,60,30,0.10), 0 2px 6px rgba(10,60,30,0.06);
  --shadow-lg: 0 16px 32px rgba(10,60,30,0.12), 0 4px 12px rgba(10,60,30,0.06);
  --shadow-xl: 0 28px 48px rgba(10,60,30,0.14);

  /* Radii */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-pill: 100px;

  /* Spacing scale */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Transitions */
  --ease:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast: 0.18s var(--ease);
  --t-base: 0.28s var(--ease);
  --t-slow: 0.45s var(--ease);
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  background-color: var(--surface);
  color: var(--ink-80);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol { list-style: none; }

/* =========================================================
   3. ACCESSIBILITY
   ========================================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  padding: var(--sp-3) var(--sp-6);
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  border-radius: 0 0 var(--r-md) var(--r-md);
  z-index: 10000;
  transition: top var(--t-fast);
}

.skip-link:focus {
  top: 0;
}

/* =========================================================
   4. LAYOUT
   ========================================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.text-center { text-align: center; }
.mt-lg       { margin-top: var(--sp-10); }

/* =========================================================
   5. TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
}

/* =========================================================
   6. BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 0.875rem 1.625rem;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
  outline: 3px solid var(--green-400);
  outline-offset: 3px;
}

.btn-lg  { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm  { padding: 0.625rem 1.125rem; font-size: 0.875rem; }

/* WhatsApp */
.btn-wa {
  background: var(--wa);
  color: var(--white);
  border-color: var(--wa);
}
.btn-wa:hover {
  background: var(--wa-dark);
  border-color: var(--wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* Primary */
.btn-primary {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}
.btn-primary:hover {
  background: var(--green-900);
  border-color: var(--green-900);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 92, 46, 0.30);
}

/* Outline (white border, for dark backgrounds) */
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

/* Ghost (text on dark bg, no border) */
.btn-ghost {
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.5);
}

/* White (for CTA banners) */
.btn-white {
  background: var(--white);
  color: var(--green-900);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--green-50);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   7. HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  background: var(--white);
  border-bottom: 1px solid var(--ink-10);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: var(--sp-4);
}

.header-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
}

/* Main Nav */
.main-nav {
  display: none;
  position: absolute;
  top: 68px;
  inset-inline: 0;
  background: var(--white);
  border-bottom: 1px solid var(--ink-10);
  padding: var(--sp-4) var(--sp-5) var(--sp-6);
  flex-direction: column;
  gap: var(--sp-1);
  box-shadow: var(--shadow-md);
}

.main-nav.is-open {
  display: flex;
}

.nav-link {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink-60);
  border-radius: var(--r-sm);
  transition: background var(--t-fast), color var(--t-fast);
}

.nav-link:hover,
.nav-link.is-active {
  background: var(--green-50);
  color: var(--green-800);
}

.nav-cta {
  margin-top: var(--sp-3);
  background: var(--wa);
  color: var(--white) !important;
  text-align: center;
  border-radius: var(--r-sm);
  padding: var(--sp-3) var(--sp-6);
}

.nav-cta:hover {
  background: var(--wa-dark) !important;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
  flex-shrink: 0;
}

.hamburger:hover {
  background: var(--ink-05);
}

.bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-80);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast);
  margin: 0 auto;
}

.hamburger.is-active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   8. HERO
   ========================================================= */
.hero {
  position: relative;
  background: linear-gradient(145deg, var(--green-950) 0%, var(--green-800) 55%, var(--green-700) 100%);
  color: var(--white);
  overflow: hidden;
  padding: var(--sp-20) 0 calc(var(--sp-24) + 60px);
  min-height: 88vh;
  display: flex;
  align-items: center;
}

/* Decorative shapes */
.hero-deco { position: absolute; inset: 0; pointer-events: none; }

.deco-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.035);
}

.deco-1 {
  width: 500px; height: 500px;
  top: -180px; right: -140px;
}

.deco-2 {
  width: 320px; height: 320px;
  bottom: -80px; left: -80px;
}

.deco-cross {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(140px, 20vw, 260px);
  height: auto;
  color: rgba(255,255,255,0.055);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: center;
}

/* Hero text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-5);
}

.hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: var(--sp-5);
}

.hero-title em {
  font-style: italic;
  color: var(--green-200);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.175rem);
  color: rgba(255,255,255,0.80);
  max-width: 500px;
  line-height: 1.65;
  margin-bottom: var(--sp-8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.70);
}

.hero-trust i {
  color: var(--green-200);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

/* Hero visual (floating cards, hidden on smallest mobile) */
.hero-visual {
  display: none;
  position: relative;
  height: 280px;
}

.float-card {
  position: absolute;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  animation: floatY 4s ease-in-out infinite;
}

.float-card i { font-size: 1.5rem; color: var(--green-200); }
.float-card-1 { top: 20%; left: 5%; animation-delay: 0s; }
.float-card-2 { bottom: 20%; right: 5%; animation-delay: 1.8s; }

.open-pill {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--wa);
  color: var(--white);
  border-radius: var(--r-pill);
  padding: var(--sp-2) var(--sp-5);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
}

.open-dot {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* Hero wave divider */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 72px;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* =========================================================
   9. TRUST BAR
   ========================================================= */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--ink-10);
  padding: var(--sp-5) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.trust-icon {
  width: 40px;
  height: 40px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.trust-icon-wa {
  background: var(--wa-light);
  color: var(--wa-dark);
}

.trust-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.trust-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-40);
  margin-top: var(--sp-1);
}

/* =========================================================
   10. SECTIONS (common)
   ========================================================= */
.section {
  padding: var(--sp-20) 0;
}

.section-alt {
  background: var(--surface-2);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section-tag {
  display: inline-block;
  background: var(--green-50);
  color: var(--green-800);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-3);
}

.section-title {
  font-size: clamp(1.65rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: var(--sp-3);
  line-height: 1.2;
}

.section-desc {
  font-size: 1rem;
  color: var(--ink-60);
  max-width: 520px;
  margin: 0 auto;
}

/* =========================================================
   11. SERVICES
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

/* Animate-in state */
.service-card[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease),
              box-shadow var(--t-base), border-color var(--t-base);
}

.service-card[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-400);
  transform: translateY(-3px);
}

.service-card-featured {
  background: var(--green-50);
  border-color: var(--green-200);
}

.service-card-featured:hover {
  border-color: var(--green-600);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: var(--sp-4);
  transition: background var(--t-base), color var(--t-base);
}

.service-card-featured .service-icon {
  background: var(--green-700);
  color: var(--white);
}

.service-card:hover .service-icon {
  background: var(--green-700);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-2);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--ink-60);
  line-height: 1.55;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green-700);
  transition: color var(--t-fast), gap var(--t-fast);
}

.service-link:hover {
  color: var(--green-900);
  gap: var(--sp-3);
}

/* =========================================================
   12. CATEGORIES
   ========================================================= */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-4);
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  cursor: pointer;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--wa);
}

.cat-icon {
  width: 60px;
  height: 60px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background var(--t-base), color var(--t-base);
}

.cat-card:hover .cat-icon {
  background: var(--wa);
  color: var(--white);
}

.cat-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-80);
}

.cat-wa {
  font-size: 0.75rem;
  color: var(--wa);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}

.cat-card:hover .cat-wa {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   13. BENEFITS
   ========================================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-lg);
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.benefit-item[data-animate] {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease),
              box-shadow var(--t-base);
}

.benefit-item[data-animate].is-visible {
  opacity: 1;
  transform: translateX(0);
}

.benefit-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.benefit-icon-green { background: var(--green-50);  color: var(--green-700); }
.benefit-icon-blue  { background: var(--blue-50);   color: var(--blue-700); }

.benefit-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-1);
}

.benefit-item p {
  font-size: 0.875rem;
  color: var(--ink-60);
  line-height: 1.55;
}

/* =========================================================
   14. CTA BANNER
   ========================================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 100%);
  padding: var(--sp-16) 0;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  text-align: center;
}

.cta-text h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--white);
  margin-bottom: var(--sp-3);
  font-weight: 800;
}

.cta-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  max-width: 460px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
}

/* =========================================================
   15. HORARIOS
   ========================================================= */
.horarios-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.horarios-status {
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  border-bottom: 1px solid var(--ink-10);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink-60);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink-20);
  flex-shrink: 0;
  transition: background var(--t-base);
}

.status-dot.is-open   { background: var(--wa); animation: pulse 1.8s ease-in-out infinite; }
.status-dot.is-closed { background: #EF4444; }

.horarios-status.is-open   { color: var(--wa-dark); }
.horarios-status.is-closed { color: #B91C1C; }

.horarios-row {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.horarios-day {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--ink);
}

.horarios-day i {
  color: var(--green-700);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.horarios-day strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.horarios-day em {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-40);
  font-style: normal;
  margin-top: 2px;
}

.time-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--green-50);
  color: var(--green-800);
  font-weight: 800;
  font-size: 1.1rem;
  font-family: 'Fraunces', Georgia, serif;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-pill);
  border: 1px solid var(--green-100);
}

.time-badge i { font-size: 0.9rem; }

.horarios-note {
  border-top: 1px solid var(--ink-10);
  padding: var(--sp-4) var(--sp-6);
  font-size: 0.875rem;
  color: var(--ink-60);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}

.horarios-note i {
  color: var(--blue-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.horarios-action {
  padding: var(--sp-4) var(--sp-6);
  border-top: 1px solid var(--ink-10);
  background: var(--surface-2);
}

/* =========================================================
   16. LOCATION
   ========================================================= */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.location-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.location-detail strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-40);
  margin-bottom: var(--sp-1);
}

.location-detail p {
  font-size: 0.9375rem;
  color: var(--ink-80);
  line-height: 1.55;
}

.location-detail a {
  color: var(--green-700);
  font-weight: 700;
  font-size: 1.05rem;
  transition: color var(--t-fast);
}

.location-detail a:hover {
  color: var(--green-900);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  padding-top: var(--sp-2);
}

.map-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 300px;
}

.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* =========================================================
   17. ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: center;
}

.about-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: var(--sp-3) 0 var(--sp-5);
}

.about-text p {
  font-size: 1rem;
  color: var(--ink-60);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.about-text .btn {
  margin-top: var(--sp-2);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-80);
  padding: var(--sp-3) var(--sp-4);
  background: var(--white);
  border: 1px solid var(--ink-10);
  border-radius: var(--r-sm);
}

.about-feature i {
  color: var(--green-600);
  flex-shrink: 0;
}

/* =========================================================
   18. FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding-top: var(--sp-12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
}

.footer-logo {
  margin-bottom: var(--sp-4);
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: var(--sp-5);
  max-width: 320px;
}

.footer-nav h3,
.footer-contact h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--white);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-nav ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.60);
  transition: color var(--t-fast);
}

.footer-nav a:hover {
  color: var(--green-200);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.875rem;
}

.footer-contact i {
  color: var(--green-400);
  width: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255,255,255,0.60);
  transition: color var(--t-fast);
}

.footer-contact a:hover {
  color: var(--green-200);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--sp-6) 0;
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.38);
}

/* =========================================================
   19. FLOATING WHATSAPP
   ========================================================= */
.float-wa {
  position: fixed;
  bottom: var(--sp-5);
  right: var(--sp-5);
  z-index: 700;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--wa);
  color: var(--white);
  border-radius: var(--r-pill);
  padding: var(--sp-3) var(--sp-5) var(--sp-3) var(--sp-4);
  box-shadow: 0 4px 24px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.1);
  transition: background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
  text-decoration: none;
}

.float-wa:hover {
  background: var(--wa-dark);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
  transform: translateY(-2px);
}

.float-wa-icon {
  font-size: 1.625rem;
  line-height: 1;
  flex-shrink: 0;
}

.float-wa-label {
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Pulse ring behind the icon */
.float-wa::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--r-pill);
  border: 2px solid var(--wa);
  opacity: 0;
  animation: ringPulse 2.4s ease-out 2s infinite;
}

/* =========================================================
   20. ANIMATIONS
   ========================================================= */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.65; transform: scale(1.25); }
}

@keyframes ringPulse {
  0%   { opacity: 0.7; transform: scale(1); }
  80%  { opacity: 0;   transform: scale(1.5); }
  100% { opacity: 0;   transform: scale(1.5); }
}

/* =========================================================
   21. RESPONSIVE — TABLET (≥ 560px)
   ========================================================= */
@media (min-width: 560px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-trust {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--sp-5);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .horarios-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* =========================================================
   22. RESPONSIVE — DESKTOP NAV (≥ 768px)
   ========================================================= */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .main-nav {
    display: flex !important;
    position: static;
    background: none;
    border: none;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: var(--sp-1);
    box-shadow: none;
  }

  .nav-link {
    font-size: 0.875rem;
    padding: var(--sp-2) var(--sp-3);
  }

  .nav-cta {
    margin-top: 0;
    padding: var(--sp-2) var(--sp-4);
    font-size: 0.875rem;
  }

  .hero-visual {
    display: block;
  }

  .hero-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .location-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .cta-text p {
    margin: 0;
  }
}

/* =========================================================
   23. RESPONSIVE — LARGE (≥ 1024px)
   ========================================================= */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .categories-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* =========================================================
   24. PRINT
   ========================================================= */
@media print {
  .site-header,
  .float-wa,
  .hero-actions,
  .cta-banner,
  .hamburger {
    display: none !important;
  }

  .hero {
    background: var(--green-50) !important;
    color: var(--ink) !important;
    min-height: auto;
    padding: var(--sp-8) 0;
  }
}
