/* ==========================================================================
   FUNDACIÓN AHAVA - STYLESHEET
   Ultra-Responsive, Modern & Clean Implementation
   ========================================================================== */

/* --------------------------------------------------------------------------
   Google Fonts Import
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;600&family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* --------------------------------------------------------------------------
   Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-forest: #1a241f;
  --color-moss: #2d4a3e;
  --color-moss-light: #3f6656;
  --color-cream: #fbf9f5;
  --color-sand: #e9e7e3;
  --color-terracotta: #9e2a2b;
  --color-terracotta-light: #c44243;
  --color-rose: #d19b9a;
  --color-rose-soft: #e8a9aa;
  --color-rose-dark: #b87d7c;
  --color-charcoal: #1d1e20;
  --color-white: #ffffff;
  --color-muted: #576e64;
  --color-muted-light: #727586;
  --color-border: rgba(26, 36, 31, 0.1);
  --color-border-light: rgba(255, 255, 255, 0.15);
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #20ba59;

  /* Typography */
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-alt: 'Fira Sans', sans-serif;

  /* Layout */
  --container-max-width: 1240px;
  --header-height: 84px;
  --header-height-mobile: 68px;
  --section-padding-y: clamp(3.5rem, 6vw, 6rem);
  --section-padding-x: clamp(1rem, 4vw, 2.5rem);

  /* Elevation */
  --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);
  --shadow-xl: 0 24px 50px rgba(0, 0, 0, 0.16);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-cream);
  color: var(--color-forest);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Typography Hierarchy
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.25;
  color: inherit;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.25;
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.35;
}

h4 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.4;
}

p {
  font-size: clamp(0.95rem, 1.2vw, 1.075rem);
  color: inherit;
  line-height: 1.7;
}

p.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
}

.body-small {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.tagline-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

/* --------------------------------------------------------------------------
   Layout Containers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--section-padding-x);
  padding-right: var(--section-padding-x);
}

.section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  position: relative;
}

.section-cream {
  background-color: var(--color-cream);
  color: var(--color-forest);
}

.section-sand {
  background-color: var(--color-sand);
  color: var(--color-forest);
}

.section-forest {
  background-color: var(--color-forest);
  color: var(--color-cream);
}

.section-moss {
  background-color: var(--color-moss);
  color: var(--color-cream);
}

.section-white {
  background-color: var(--color-white);
  color: var(--color-forest);
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(251, 249, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 36, 31, 0.06);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(251, 249, 245, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo-link:hover .brand-logo {
  transform: scale(1.02);
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--color-forest);
  position: relative;
  padding: 6px 2px;
  transition: color var(--transition-fast);
}

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

.nav-link.active {
  color: var(--color-moss);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-moss);
  border-radius: 2px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background-color: rgba(45, 74, 62, 0.08);
  color: var(--color-moss);
  transition: all var(--transition-fast);
}

.cart-button:hover {
  background-color: var(--color-moss);
  color: var(--color-white);
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: var(--color-terracotta);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 26px;
  background: transparent;
  cursor: pointer;
  z-index: 120;
}

.mobile-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--color-forest);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

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

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

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

/* --------------------------------------------------------------------------
   Mobile Navigation Drawer
   -------------------------------------------------------------------------- */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 36, 31, 0.6);
  backdrop-filter: blur(4px);
  z-index: 105;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(88%, 380px);
  height: 100%;
  background-color: var(--color-cream);
  z-index: 110;
  display: flex;
  flex-direction: column;
  padding: 5rem 1.75rem 2rem;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  transition: right var(--transition-normal);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-forest);
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid rgba(26, 36, 31, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-terracotta);
  padding-left: 0.75rem;
  font-weight: 600;
}

.mobile-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 36, 31, 0.1);
}

/* --------------------------------------------------------------------------
   Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--color-forest);
  color: var(--color-white);
  border: 1px solid var(--color-forest);
}

.btn-primary:hover {
  background-color: var(--color-moss);
  border-color: var(--color-moss);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(45, 74, 62, 0.25);
}

.btn-rose {
  background-color: var(--color-rose);
  color: #1a241f;
  border: 1px solid var(--color-rose);
}

.btn-rose:hover {
  background-color: var(--color-rose-dark);
  color: var(--color-white);
  border-color: var(--color-rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(209, 155, 154, 0.35);
}

.btn-terracotta {
  background-color: var(--color-terracotta);
  color: var(--color-white);
  border: 1px solid var(--color-terracotta);
}

.btn-terracotta:hover {
  background-color: var(--color-terracotta-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(158, 42, 43, 0.3);
}

.btn-outline-forest {
  background-color: transparent;
  color: var(--color-forest);
  border: 1.5px solid var(--color-forest);
}

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

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-forest);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

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

/* --------------------------------------------------------------------------
   Hero Blocks (Responsive 2-Col)
   -------------------------------------------------------------------------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
}

.hero-grid.reverse {
  grid-template-columns: 1fr 1fr;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-media:hover img {
  transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   Cards & Grids
   -------------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}

.card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-fast);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 74, 62, 0.2);
}

.card-sand {
  background-color: var(--color-sand);
  border-color: rgba(0, 0, 0, 0.05);
}

.card-forest {
  background-color: var(--color-forest);
  color: var(--color-cream);
  border-color: rgba(255, 255, 255, 0.1);
}

.card-forest:hover {
  border-color: rgba(209, 155, 154, 0.4);
}

.card-number {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-terracotta);
  line-height: 1;
}

.card-img-top {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.5rem;
  max-height: 220px;
}

.card-img-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.card:hover .card-img-top img {
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   Gallery / Products Grid (Tienda Solidaria)
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-sand);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  group: true;
  transition: all var(--transition-fast);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.gallery-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-item-image img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 36, 31, 0.85) 0%, rgba(26, 36, 31, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--color-white);
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.gallery-item-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.gallery-item-desc {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Specialized Components
   -------------------------------------------------------------------------- */
/* Big Statement / Quote */
.quote-banner {
  border-left: 4px solid var(--color-rose);
  padding: 1rem 0 1rem 1.75rem;
  margin: 1.5rem 0;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.55;
  color: inherit;
}

/* Protocol Timeline */
.protocol-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.protocol-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  align-items: start;
}

.protocol-badge {
  background-color: var(--color-sand);
  color: var(--color-terracotta);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  text-align: center;
  text-transform: uppercase;
}

/* Stat Box */
.stat-box {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--color-moss);
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-forest);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 36, 31, 0.92);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-height: 80vh;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  object-fit: contain;
}

.lightbox-caption {
  color: var(--color-cream);
  font-size: 1rem;
  margin-top: 1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--color-white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Mini Cart Drawer
   -------------------------------------------------------------------------- */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 36, 31, 0.6);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.cart-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(92%, 420px);
  height: 100%;
  background: var(--color-cream);
  z-index: 160;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transition: right var(--transition-normal);
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Floating WhatsApp Button
   -------------------------------------------------------------------------- */
.whatsapp-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  padding: 10px 18px 10px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.whatsapp-floating:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   Footer (Balanced, Modern & Aesthetic)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-forest);
  color: var(--color-cream);
  padding-top: clamp(3.5rem, 5vw, 5.5rem);
  padding-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-accent {
  width: 56px;
  height: 3px;
  background-color: var(--color-terracotta);
  border-radius: 2px;
  margin-bottom: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1.1fr;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  margin-bottom: 3.5rem;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo-wrap {
  display: inline-block;
  width: fit-content;
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform var(--transition-fast);
}

.footer-logo:hover {
  transform: scale(1.03);
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--color-cream);
  letter-spacing: -0.01em;
}

.footer-brand-desc {
  color: rgba(251, 249, 245, 0.85);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 380px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-rose);
  letter-spacing: 0.04em;
  width: fit-content;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-rose);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  max-width: 40px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.25rem;
  list-style: none;
}

.footer-link {
  font-size: 0.9rem;
  color: rgba(251, 249, 245, 0.8);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.footer-link::before {
  content: '›';
  color: var(--color-rose);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-white);
  transform: translateX(3px);
}

.footer-link:hover::before {
  color: var(--color-terracotta-light);
}

.footer-contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(251, 249, 245, 0.85);
  font-size: 0.875rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a.footer-contact-item:hover {
  color: var(--color-rose);
}

.footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(209, 155, 154, 0.12);
  color: var(--color-rose);
  flex-shrink: 0;
}

.footer-whatsapp-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.footer-whatsapp-pill:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.footer-tagline-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 2.5rem 0 1.5rem;
}

.footer-tagline-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(209, 155, 154, 0.25), transparent);
}

.footer-tagline-text {
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-rose);
  opacity: 0.9;
  white-space: nowrap;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(251, 249, 245, 0.1);
  margin-bottom: 1.75rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: rgba(251, 249, 245, 0.7);
}

.footer-credits {
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

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

  .hero-media {
    order: -1;
  }

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

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

  .protocol-step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Centered, balanced footer on tablets and mobile */
  .footer-top-accent {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }

  .footer-col-title {
    justify-content: center;
  }

  .footer-col-title::after {
    display: none;
  }

  .footer-brand-desc {
    margin: 0 auto;
    text-align: center;
  }

  .footer-badge {
    margin: 0 auto;
  }

  .footer-links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 0.8rem;
    max-width: 540px;
    margin: 0 auto;
  }

  .footer-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
  }

  .footer-link::before {
    display: none;
  }

  .footer-link:hover {
    background: rgba(209, 155, 154, 0.15);
    border-color: var(--color-rose);
    transform: translateY(-2px);
  }

  .footer-contact-card {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
  }

  .footer-tagline-text {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 0.6rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: var(--header-height-mobile);
  }

  .grid-3,
  .grid-2,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .whatsapp-floating span {
    display: none;
  }

  .whatsapp-floating {
    padding: 12px;
    border-radius: 50%;
  }

  .footer-contact-card {
    width: 100%;
    max-width: 100%;
  }

  .footer-tagline-bar {
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    height: 40px;
  }

  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .btn {
    width: 100%;
  }

  .footer-links-grid {
    gap: 0.4rem 0.6rem;
  }

  .footer-link {
    font-size: 0.8rem;
    padding: 5px 12px;
  }
}
