/* ============================================================
   ReInspirar — Main Design System
   Clinical Ethereal direction
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Brand Colors */
  --white:         #FFFFFD;
  --azul-cielo:    #AEDCE4;
  --menta:         #009DA2;
  --azul-petroleo: #015C67;
  --deep-teal:     #042326;

  /* Surface Hierarchy */
  --surface-lowest:   #F4FAFB;
  --surface-low:      #EAF6F7;
  --surface:          #FFFFFD;
  --surface-high:     rgba(0, 157, 162, 0.07);
  --surface-highest:  rgba(0, 157, 162, 0.13);

  /* Text */
  --text-primary:   #011f22;
  --text-secondary: #3d6b71;
  --text-muted:     #6b9ea5;
  --text-on-dark:   #FFFFFD;
  --text-on-primary: #FFFFFD;

  /* Gradients — estética clara, inspirada en Instagram */
  --gradient-primary: linear-gradient(135deg, #009DA2 0%, #015c67 100%);
  --gradient-subtle:  linear-gradient(135deg, rgba(174,220,228,0.18) 0%, rgba(0,157,162,0.10) 100%);
  --gradient-hero:    linear-gradient(135deg, #015C67 0%, #009DA2 55%, #AEDCE4 100%);

  /* Shadows (ambient, teal-tinted) */
  --shadow-xs:  0px 2px 8px rgba(1, 31, 34, 0.06);
  --shadow-sm:  0px 4px 16px rgba(1, 31, 34, 0.08);
  --shadow-md:  0px 8px 32px rgba(1, 31, 34, 0.10);
  --shadow-lg:  0px 24px 48px rgba(1, 31, 34, 0.06);
  --shadow-xl:  0px 32px 64px rgba(1, 31, 34, 0.12);

  /* Glass */
  --glass-bg:     rgba(255, 255, 253, 0.72);
  --glass-border: rgba(174, 220, 228, 0.30);
  --glass-blur:   blur(20px);

  /* Border Radius */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 50px;

  /* Spacing Scale */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Typography */
  --font-family: 'Raleway', system-ui, sans-serif;
  --font-light:   300;
  --font-regular: 400;
  --font-medium:  500;
  --font-semibold: 600;
  --font-bold:    700;
  --font-extrabold: 800;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Z-Index */
  --z-base:    1;
  --z-dropdown: 100;
  --z-sticky:  200;
  --z-fixed:   300;
  --z-modal:   400;
  --z-toast:   500;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-regular);
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

/* ============================================================
   3. TYPOGRAPHY SCALE
   ============================================================ */
.display-lg {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: var(--font-extrabold);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.display-md {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: var(--font-extrabold);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.headline-lg {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: var(--font-bold);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.headline-md {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: var(--font-bold);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.headline-sm {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: var(--font-semibold);
  line-height: 1.3;
}

.body-lg  { font-size: 18px; font-weight: var(--font-regular); line-height: 1.7; }
.body-md  { font-size: 16px; font-weight: var(--font-regular); line-height: 1.6; }
.body-sm  { font-size: 14px; font-weight: var(--font-regular); line-height: 1.5; }
.label-md { font-size: 13px; font-weight: var(--font-bold); letter-spacing: 0.08em; text-transform: uppercase; }
.label-sm { font-size: 11px; font-weight: var(--font-bold); letter-spacing: 0.1em; text-transform: uppercase; }
.caption  { font-size: 12px; font-weight: var(--font-light); color: var(--text-muted); }

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

.container--narrow { max-width: 880px; }
.container--wide   { max-width: 1440px; }

.section {
  padding: var(--sp-20) 0;
}

.section--lg { padding: var(--sp-24) 0; }
.section--sm { padding: var(--sp-12) 0; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }

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

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* ============================================================
   5. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: 0;
  overflow: visible;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar--transparent {
  background: transparent;
}

.navbar--solid {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  height: 96px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  /* Logo sobresale del header sin inflarlo */
  margin: -40px 0;
  position: relative;
  z-index: 1;
}

/* Navbar logo */
.navbar__logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition-base), height var(--transition-base);
}

/* Solid navbar: color completo, ligeramente más pequeño */
.navbar--solid .navbar__logo img {
  height: 32px;
  filter: none;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.navbar__link {
  font-size: 15px;
  font-weight: var(--font-medium);
  color: var(--text-on-dark);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar--solid .navbar__link {
  color: var(--text-primary);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--menta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.navbar__link:hover { color: var(--menta); }
.navbar__link:hover::after { transform: scaleX(1); }

.navbar__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-left: var(--sp-4);
}

/* Navbar CTA buttons — solid state overrides */
.navbar--solid .navbar__cta .btn--ghost {
  background: transparent;
  border-color: var(--azul-petroleo);
  color: var(--azul-petroleo);
}
.navbar--solid .navbar__cta .btn--ghost:hover {
  background: var(--azul-petroleo);
  color: var(--white);
}

/* Portal button */
.navbar__portal-btn {
  background: rgba(255,255,253,0.15);
  border: 1px solid rgba(255,255,253,0.35);
  color: var(--text-on-dark) !important;
}
.navbar--solid .navbar__portal-btn {
  background: rgba(1,92,103,0.08);
  border: 1px solid rgba(1,92,103,0.2);
  color: var(--azul-petroleo) !important;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--sp-2);
  background: none;
  border: none;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.navbar--solid .navbar__hamburger span { background: var(--text-primary); }

/* Mobile nav */
.navbar__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #AEDCE4;
  z-index: var(--z-modal);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  padding: var(--sp-12);
}

.navbar__mobile.is-open { display: flex; }

.navbar__mobile-link {
  font-size: 28px;
  font-weight: var(--font-bold);
  color: var(--azul-petroleo);
  transition: color var(--transition-fast);
}

.navbar__mobile-link:hover { color: var(--menta); }

.navbar__mobile-close {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  font-size: 32px;
  background: none;
  border: none;
  color: var(--azul-petroleo);
  cursor: pointer;
  line-height: 1;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: var(--z-fixed);
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: var(--font-semibold);
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--text-on-dark);
  border: none;
  outline: none;
  box-shadow: 0 4px 16px rgba(1, 92, 103, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 92, 103, 0.4);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(1, 92, 103, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--azul-petroleo);
  border-color: var(--azul-petroleo);
}

.btn--secondary:hover {
  background: var(--azul-petroleo);
  color: var(--text-on-dark);
}

.btn--ghost {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.28);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

.btn--menta {
  background: var(--menta);
  color: var(--text-on-dark);
  box-shadow: 0 4px 16px rgba(0, 157, 162, 0.3);
}

.btn--menta:hover {
  background: #00b5bb;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 157, 162, 0.4);
}

.btn--sm { padding: 10px 22px; font-size: 13px; }
.btn--lg { padding: 18px 40px; font-size: 17px; }

.btn--full { width: 100%; }

/* ============================================================
   7. CARDS
   ============================================================ */
.card {
  background: var(--surface-lowest);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.card--glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

.card--dark {
  background: rgba(4, 35, 38, 0.85);
  color: var(--text-on-dark);
  border: 1px solid rgba(174, 220, 228, 0.15);
}

.card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(0, 157, 162, 0.12), rgba(1, 92, 103, 0.18));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}

.card__icon svg, .card__icon img { width: 28px; height: 28px; }

.card__title {
  font-size: 19px;
  font-weight: var(--font-semibold);
  margin-bottom: var(--sp-2);
  color: var(--text-primary);
}

.card__body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   8. SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-16);
}

.section-header__label {
  display: inline-block;
  color: var(--menta);
  font-size: 12px;
  font-weight: var(--font-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.section-header__title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: var(--font-extrabold);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}

.section-header__title strong { color: var(--azul-petroleo); }

.section-header__desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   9. BADGES & TAGS
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: var(--font-bold);
  letter-spacing: 0.04em;
}

.badge--primary { background: rgba(1, 92, 103, 0.1); color: var(--azul-petroleo); }
.badge--menta   { background: rgba(0, 157, 162, 0.1); color: var(--menta); }
.badge--success { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.badge--warning { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.badge--error   { background: rgba(239, 68, 68, 0.1); color: #dc2626; }
.badge--neutral { background: rgba(1, 31, 34, 0.07); color: var(--text-secondary); }

/* ============================================================
   10. FORM ELEMENTS
   ============================================================ */
.form-group {
  margin-bottom: var(--sp-5);
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.02em;
}

.form-label .required { color: var(--menta); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--surface);
  border: 1.5px solid rgba(174, 220, 228, 0.5);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--menta);
  box-shadow: 0 0 0 3px rgba(0, 157, 162, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }

.form-textarea { min-height: 120px; resize: vertical; }

.form-helper {
  margin-top: var(--sp-2);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form-error {
  margin-top: var(--sp-2);
  font-size: 12px;
  color: #dc2626;
}

.form-input.error { border-color: #dc2626; }

/* Password strength */
.password-strength {
  display: flex;
  gap: 4px;
  margin-top: var(--sp-2);
}

.password-strength__bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(174, 220, 228, 0.3);
  transition: background var(--transition-base);
}

.password-strength__bar.active.weak   { background: #ef4444; }
.password-strength__bar.active.fair   { background: #f59e0b; }
.password-strength__bar.active.strong { background: #22c55e; }

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--azul-petroleo);
  cursor: pointer;
}

.form-check__label { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* ============================================================
   11. HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: 96px; /* compensa navbar fijo */
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url('../img/patterns/patron.svg');
  background-size: 448px;
  background-repeat: repeat;
  opacity: 0.08;
  z-index: 1;
}

.hero__orbs {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: var(--menta);
  top: -200px;
  right: -100px;
  opacity: 0.12;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: var(--azul-petroleo);
  bottom: -100px;
  left: -100px;
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero__content {
  max-width: 580px;
  padding-bottom: 64px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: var(--font-semibold);
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-6);
}

.hero__label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--menta);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

.hero__title {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: var(--font-extrabold);
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: #ffffff;
  margin-bottom: var(--sp-6);
}

.hero__title .accent { color: var(--azul-cielo); }

.hero__desc {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
  max-width: 560px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.hero__trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(2, 35, 38, 0.4);
  border: 1px solid rgba(174, 220, 228, 0.2);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: var(--font-medium);
  color: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.hero__trust-badge svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--azul-cielo);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  opacity: 0.9;
}

/* Hero two-column layout */
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 48px;
  min-height: calc(100vh - 96px);
  overflow: visible;
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero-illustration { display: none; }
}

/* Breathing animation for hero background elements */
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.03; }
  50% { transform: scale(1.08); opacity: 0.05; }
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

@keyframes waveform-draw {
  from { stroke-dasharray: 0 500; }
  to { stroke-dasharray: 500 0; }
}

.hero__pattern {
  animation: breathe 5s ease-in-out infinite;
}

/* Animated waveform lines in variables section */
.var-waveform path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 2s ease;
}
.var-waveform.visible path {
  stroke-dashoffset: 0;
}

/* Subtle pulsing CTA button */
.btn--primary {
  position: relative;
  animation: btn-breathe 3.5s ease-in-out infinite;
}
@keyframes btn-breathe {
  0%, 100% { box-shadow: 0 4px 16px rgba(1, 92, 103, 0.30); }
  50%       { box-shadow: 0 4px 24px rgba(1, 92, 103, 0.55); }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}

.hero__scroll-icon {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.hero__scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--menta);
  border-radius: 2px;
  animation: scroll-dot 2s ease infinite;
}

@keyframes scroll-dot {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ============================================================
   12. FEATURE STRIPS
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}

/* ============================================================
   13. STEP / TIMELINE
   ============================================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 48px;
  bottom: 48px;
  width: 2px;
  background: linear-gradient(to bottom, var(--menta), var(--azul-cielo));
  opacity: 0.3;
}

.step {
  display: flex;
  gap: var(--sp-6);
  align-items: flex-start;
}

.step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: var(--font-bold);
  box-shadow: 0 4px 16px rgba(1, 92, 103, 0.3);
  position: relative;
  z-index: 1;
}

.step__content { flex: 1; padding-top: 8px; }
.step__title { font-size: 18px; font-weight: var(--font-semibold); margin-bottom: var(--sp-2); }
.step__desc { font-size: 15px; color: var(--text-secondary); }

/* ============================================================
   14. CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #009DA2 0%, #015c67 100%);
  position: relative;
  overflow: hidden;
  padding: var(--sp-20) 0;
  text-align: center;
}

.cta-section__pattern {
  position: absolute;
  inset: 0;
  background-image: url('../img/patterns/patron.svg');
  background-size: 400px;
  background-repeat: repeat;
  opacity: 0.09;
}

.cta-section__inner { position: relative; z-index: 1; }
.cta-section__title { color: var(--text-on-dark); margin-bottom: var(--sp-4); text-transform: none; }
.cta-section__desc { color: rgba(255,255,253,0.75); font-size: 18px; margin-bottom: var(--sp-8); }

/* ============================================================
   15. FOOTER
   ============================================================ */
.footer {
  background: var(--deep-teal);
  color: rgba(255, 255, 253, 0.7);
  padding: var(--sp-16) 0 var(--sp-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}

.footer__brand { }

.footer__logo { height: 41px; width: auto; margin-bottom: var(--sp-2); filter: brightness(0) invert(1) opacity(0.9); }

.footer__desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
  opacity: 0.75;
}

.footer__heading {
  font-size: 13px;
  font-weight: var(--font-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--azul-cielo);
  margin-bottom: var(--sp-4);
}

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

.footer__link {
  font-size: 14px;
  opacity: 0.7;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.footer__link:hover { opacity: 1; color: var(--azul-cielo); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 14px;
  opacity: 0.75;
  margin-bottom: var(--sp-3);
}

.footer__contact-item svg { width: 16px; height: 16px; fill: var(--menta); flex-shrink: 0; margin-top: 2px; }

.footer__bottom {
  border-top: 1px solid rgba(174, 220, 228, 0.12);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: 13px;
  opacity: 0.55;
}

/* ============================================================
   16. PROFESSIONALS CARDS
   ============================================================ */
.professional-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(174, 220, 228, 0.2);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.professional-card__header {
  background: linear-gradient(135deg, var(--deep-teal) 0%, var(--azul-petroleo) 60%, #007a80 100%);
  padding: var(--sp-6) var(--sp-6) var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  position: relative;
  overflow: hidden;
}

.professional-card__header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/patterns/patron.svg');
  background-size: 160px;
  opacity: 0.06;
  pointer-events: none;
}

.professional-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--menta), var(--azul-cielo));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--deep-teal);
  flex-shrink: 0;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.professional-card__header-meta {
  flex: 1;
  position: relative;
  z-index: 1;
}

.professional-card__header-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.professional-card__header-icon svg {
  width: 20px;
  height: 20px;
  stroke: rgba(174, 220, 228, 0.8);
}

.professional-card__body {
  padding: var(--sp-6);
}

.professional-card__name {
  font-size: 20px;
  font-weight: var(--font-bold);
  color: white;
  margin: 0;
  line-height: 1.2;
}

.professional-card__specialty {
  font-size: 11px;
  font-weight: var(--font-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azul-cielo);
  margin-bottom: var(--sp-1);
  display: block;
  opacity: 0.85;
}

.professional-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}

.professional-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.professional-card__tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--azul-petroleo);
  background: rgba(1, 92, 103, 0.07);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* ============================================================
   17. SYMPTOMS / CHECKLIST
   ============================================================ */
.symptom-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}


.symptom-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  width: 100%;
  background: var(--surface-lowest);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.symptom-item:hover { background: var(--surface-low); }

.symptom-item__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(0, 157, 162, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.symptom-item__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--menta);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.symptom-item__text { font-size: 15px; color: var(--text-secondary); font-weight: var(--font-medium); padding-top: 6px; }

/* ============================================================
   18. SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > * { opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 80ms; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 160ms; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 240ms; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 320ms; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 400ms; }

/* ============================================================
   19. SURFACE BACKGROUNDS
   ============================================================ */
.bg-white        { background-color: var(--white); }
.bg-surface      { background-color: var(--surface-lowest); }
.bg-surface-low  { background-color: var(--surface-low); }
.bg-dark         { background-color: var(--deep-teal); }
.bg-primary      { background: var(--gradient-primary); }
.bg-teal-soft    { background-color: #E3F6F7; }

/* ============================================================
   20. STAT COUNTERS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.stat-item {
  text-align: center;
  padding: var(--sp-6);
}

.stat-item__number {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: var(--font-extrabold);
  letter-spacing: -0.03em;
  color: var(--azul-petroleo);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat-item__label {
  font-size: 14px;
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ============================================================
   21. ACCORDION / FAQ
   ============================================================ */
.accordion { border-radius: var(--radius-lg); overflow: hidden; }

.accordion-item {
  border-bottom: 1px solid rgba(174, 220, 228, 0.25);
}

.accordion-item:last-child { border-bottom: none; }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.accordion-trigger:hover { color: var(--azul-petroleo); }

.accordion-trigger__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-high);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base), background var(--transition-fast);
}

.accordion-trigger__icon svg { width: 14px; height: 14px; fill: var(--azul-petroleo); }

.accordion-trigger[aria-expanded="true"] .accordion-trigger__icon { transform: rotate(180deg); background: var(--azul-petroleo); }
.accordion-trigger[aria-expanded="true"] .accordion-trigger__icon svg { fill: white; }

.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding var(--transition-base);
  padding: 0 var(--sp-6);
}

.accordion-content.open {
  max-height: 400px;
  padding: 0 var(--sp-6) var(--sp-5);
}

.accordion-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* ============================================================
   22. ALERTS & NOTICES
   ============================================================ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.5;
}

.alert--info    { background: rgba(0, 157, 162, 0.08); color: #015C67; border-left: 3px solid var(--menta); }
.alert--success { background: rgba(34, 197, 94, 0.08); color: #166534; border-left: 3px solid #22c55e; }
.alert--warning { background: rgba(245, 158, 11, 0.08); color: #92400e; border-left: 3px solid #f59e0b; }
.alert--error   { background: rgba(239, 68, 68, 0.08); color: #991b1b; border-left: 3px solid #ef4444; }

.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   23. BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--sp-8);
}

.breadcrumb a { color: rgba(255,255,255,0.9); transition: opacity var(--transition-fast); }
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb__sep { opacity: 0.4; }

/* ============================================================
   24. PAGE HEADER
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, #015C67 0%, #009DA2 55%, #AEDCE4 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header__pattern {
  position: absolute;
  inset: 0;
  background-image: url('../img/patterns/patron.svg');
  background-size: 400px;
  background-repeat: repeat;
  opacity: 0.08;
}

.page-header__inner { position: relative; z-index: 1; }

.page-header__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: var(--font-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--sp-4);
}

.page-header__title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: var(--font-extrabold);
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: var(--sp-4);
}

.page-header__desc {
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  max-width: 580px;
}

/* ============================================================
   25. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar__links { display: none; }
  .navbar__cta   { display: none; }
  .navbar__hamburger { display: flex; }

  .hero { min-height: 100svh; }
  .hero__title { font-size: 38px; }

  .section { padding: var(--sp-16) 0; }
  .section--lg { padding: var(--sp-16) 0; }

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

  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer__bottom { flex-direction: column; text-align: center; }

  .btn--lg { padding: 14px 28px; font-size: 15px; }

  .steps::before { display: none; }
}

@media (max-width: 768px) {
  .hero__content {
    max-width: 100%;
  }
  .hero__video {
    object-position: 70% center;
  }
  .hero__bg::after {
    background: linear-gradient(
      to right,
      rgba(4, 35, 38, 0.95) 0%,
      rgba(4, 35, 38, 0.85) 60%,
      rgba(4, 35, 38, 0.6) 100%
    );
  }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--sp-4); }
  .hero__trust { gap: var(--sp-2); }
  .hero__trust-badge { font-size: 12px; padding: 6px 12px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .card { padding: var(--sp-5); }
  .professional-card__header { padding: var(--sp-5); gap: var(--sp-3); }
}

/* ============================================================
   26. UTILITY
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(174, 220, 228, 0.3), transparent);
  margin: var(--sp-16) 0;
}

.mt-auto { margin-top: auto; }
.mb-0    { margin-bottom: 0; }
.mt-4    { margin-top: var(--sp-4); }
.mt-6    { margin-top: var(--sp-6); }
.mt-8    { margin-top: var(--sp-8); }
.mb-4    { margin-bottom: var(--sp-4); }
.mb-6    { margin-bottom: var(--sp-6); }
.mb-8    { margin-bottom: var(--sp-8); }

.text-muted   { color: var(--text-muted); }
.text-primary { color: var(--azul-petroleo); }
.text-menta   { color: var(--menta); }
.text-white   { color: var(--text-on-dark); }

/* ============================================================
   27. IAH SCALE & VARIABLE WAVEFORMS
   ============================================================ */

/* IAH Scale */
.iah-scale-bar {
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  height: 32px;
  margin: 12px 0;
}
.iah-scale-bar span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.2;
}

/* Variable measurement waveforms */
.var-waveform {
  width: 100%;
  max-width: 120px;
  height: 40px;
  margin: 8px 0;
  display: block;
}
