/* ============================================================
   JMDimax Landing Page — Styles
   Brand: Navy #0B2545 · Green #139A43 · Orange #F39200
   Seal: #081426 · White: #FFFFFF
   ============================================================ */

/* --- Tokens ------------------------------------------------ */
:root {
  --navy:   #0B2545;
  --green:  #139A43;
  --orange: #F39200;
  --white:  #FFFFFF;
  --seal:   #081426;
  --gray-50:  #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-400: #ADB5BD;
  --gray-600: #6C757D;
  --gray-800: #343A40;

  --font: 'Montserrat', Arial, sans-serif;
  --max-w: 1200px;
  --max-w-wide: 1400px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --dur-fast: 0.22s;
  --dur-med: 0.44s;
  --dur-slow: 0.7s;

  --section-py: clamp(80px, 10vw, 140px);
  --section-px: clamp(20px, 5vw, 60px);
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
}

/* --- Typography -------------------------------------------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-block;
  margin-bottom: 1.25rem;
}
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }
p  { font-size: clamp(0.95rem, 1.3vw, 1.05rem); color: var(--gray-600); line-height: 1.75; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--gray-800); line-height: 1.7; }

/* --- Layout helpers ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--section-px);
}
.container--wide {
  max-width: var(--max-w-wide);
}
.section {
  padding-block: var(--section-py);
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover {
  background: #0e8538;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(19,154,67,0.28);
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline:hover .btn-arrow { transform: translateX(4px); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #20b858;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.28);
}
.btn-arrow {
  transition: transform var(--dur-fast) var(--ease-out);
  flex-shrink: 0;
}

/* --- Header ----------------------------------------------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem var(--section-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              padding var(--dur-med) var(--ease-out),
              backdrop-filter var(--dur-med) var(--ease-out);
}
#header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(11,37,69,0.08);
  padding-block: 1rem;
}
.header-logo img {
  height: 36px;
  width: auto;
  display: block;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.header-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding-bottom: 3px;
  letter-spacing: 0.02em;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width var(--dur-fast) var(--ease-out);
}
.header-nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 4px;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 105;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out);
}
.mobile-menu.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.mobile-menu a:hover { color: var(--green); }
.mobile-menu .btn { margin-top: 1rem; }

/* --- Hero ------------------------------------------------- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  position: relative;
  /* Imagen de fondo con overlay: izquierda blanca opaca, derecha semitransparente */
  background:
    linear-gradient(90deg, rgba(255,255,255,0.97) 40%, rgba(237,241,247,0.88) 100%),
    url('../assets/images/hero-bg.jpg') center center / cover no-repeat;
}

/* Línea diagonal de separación entre los dos paneles */
#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(54% - 80px);
  width: 160px;
  height: 100%;
  background: linear-gradient(90deg, #FFFFFF 0%, #EDF1F7 100%);
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 40% 100%);
  pointer-events: none;
  z-index: 0;
}

/* Franja naranja inferior izquierda */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(80px, 10vw, 160px);
  height: 3px;
  background: var(--orange);
  pointer-events: none;
  z-index: 2;
}

/* Líneas arquitectónicas de fondo — panel derecho */
.hero-bg-accent {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 46%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-accent::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 8%;
  width: 1px;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(11,37,69,0.10) 30%, rgba(11,37,69,0.10) 70%, transparent);
}
.hero-bg-accent::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 18%;
  width: 1px;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(19,154,67,0.15) 30%, rgba(19,154,67,0.15) 70%, transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - 100px);
  padding-block: 80px;
  position: relative;
  z-index: 1;
}
.hero-left { position: relative; z-index: 2; }
.hero-eyebrow {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp var(--dur-slow) var(--ease-out) 0.1s forwards;
}
.hero-headline {
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp var(--dur-slow) var(--ease-out) 0.25s forwards;
}
.hero-headline em { font-style: normal; color: var(--green); }
.hero-text {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--gray-600);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp var(--dur-slow) var(--ease-out) 0.4s forwards;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp var(--dur-slow) var(--ease-out) 0.55s forwards;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp var(--dur-slow) var(--ease-out) 0.7s forwards;
}
.trust-item {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  position: relative;
  padding-inline: 1rem;
}
.trust-item:first-child { padding-left: 0; }
.trust-item + .trust-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: var(--gray-200);
}

/* Hero right — isotipo architectural */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 560px;
  opacity: 0;
  animation: fadeIn var(--dur-slow) var(--ease-out) 0.6s forwards;
}
.hero-isotipo-wrap {
  position: absolute;
  inset: -60px -80px -60px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-isotipo-wrap svg {
  width: 100%;
  max-width: 480px;
  height: auto;
  opacity: 0.72;
}
.hero-accent-line {
  position: absolute;
  top: 40px;
  right: -40px;
  width: 2px;
  height: 0;
  background: var(--orange);
  animation: lineGrow 1s var(--ease-out) 0.9s forwards;
}

/* --- Value Strip ------------------------------------------ */
#value-strip {
  padding-block: clamp(60px, 8vw, 100px);
  background: var(--gray-50);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.value-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.value-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.value-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.value-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- Brand Statement -------------------------------------- */
#brand-statement {
  padding-block: var(--section-py);
  overflow: hidden;
}
.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.brand-content { max-width: 540px; }
.brand-statement-text {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-block: 1.5rem 2rem;
  letter-spacing: -0.03em;
}
.brand-statement-text em { font-style: normal; color: var(--green); }
.brand-visual {
  position: relative;
  height: 480px;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-visual-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--gray-100) 0%, var(--gray-200) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--gray-400);
}
.brand-visual-inner svg {
  width: 120px;
  height: auto;
  opacity: 0.3;
}
.brand-visual-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.brand-visual-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
}

/* --- Products catalog ------------------------------------ */
.products-catalog {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
}
.products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.product-tag {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.product-tag:hover {
  border-color: var(--green);
  background: rgba(19,154,67,0.04);
}

/* --- Trust stats ------------------------------------------ */
.trust-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.trust-stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: 12px;
}
.trust-stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.trust-stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- How It Works ----------------------------------------- */
#how-it-works {
  padding-block: var(--section-py);
  background: var(--white);
}
.process-container {
  position: relative;
  overflow: hidden;
}
.process-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: clamp(50px, 7vw, 80px);
}
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.process-line {
  position: absolute;
  top: 24px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: var(--gray-200);
  z-index: 0;
}
.process-line-fill {
  height: 100%;
  background: var(--green);
  width: 0;
  transition: width 1.5s var(--ease-out);
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-inline: 1rem;
  position: relative;
  z-index: 1;
}
.step-num-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: border-color var(--dur-med) var(--ease-out),
              background var(--dur-med) var(--ease-out);
  flex-shrink: 0;
}
.step-num-wrap.active {
  border-color: var(--green);
  background: var(--green);
}
.step-num-wrap.active .step-num { color: var(--white); }
.step-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gray-400);
  letter-spacing: 0.04em;
  transition: color var(--dur-med) var(--ease-out);
}
.step-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.step-desc {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* --- Customer Segments ------------------------------------ */
#segments {
  padding-block: var(--section-py);
  background: var(--gray-50);
}
.segments-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(50px, 7vw, 80px);
}
.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.segment-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out);
}
.segment-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform var(--dur-med) var(--ease-out);
  transform-origin: left;
}
.segment-card:hover { transform: translateY(-4px); }
.segment-card:hover::before { transform: scaleX(1); }
.segment-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--orange);
}
.segment-title { margin-bottom: 0.75rem; }
.segment-text { font-size: 0.9rem; }

/* --- Coverage --------------------------------------------- */
#coverage {
  padding-block: var(--section-py);
  background: var(--white);
  overflow: hidden;
}
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.coverage-content { max-width: 500px; }
.coverage-content p { margin-block: 1.25rem 2.5rem; }
.coverage-map {
  position: relative;
}
.route-display {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.route-display::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--gray-200);
  z-index: 0;
}
.route-line-fill {
  position: absolute;
  left: 11px;
  top: 16px;
  width: 2px;
  height: 0;
  background: var(--green);
  z-index: 1;
  transition: height 1.5s var(--ease-out);
}
.route-stop {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 0;
  position: relative;
  z-index: 2;
}
.route-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  transition: border-color var(--dur-med) var(--ease-out),
              background var(--dur-med) var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
}
.route-dot.active {
  border-color: var(--green);
  background: var(--green);
}
.route-dot.start {
  width: 28px;
  height: 28px;
  border-color: var(--navy);
  background: var(--navy);
}
.route-dot.end {
  width: 28px;
  height: 28px;
  border-color: var(--orange);
  background: var(--orange);
}
.route-dot svg {
  width: 12px;
  height: 12px;
  color: var(--white);
}
.route-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.route-sublabel {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 500;
}
.route-stop:first-child .route-label { font-weight: 800; }

/* --- Trust Section ---------------------------------------- */
#trust {
  padding-block: var(--section-py);
  background: var(--gray-50);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.trust-content { max-width: 500px; }
.trust-content h2 { margin-block: 0 1.5rem; }
.trust-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.trust-point {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.trust-point::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.trust-visual {
  height: 440px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--gray-400);
}
.trust-visual svg { width: 100px; height: auto; opacity: 0.25; }
.trust-visual-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* --- Main CTA --------------------------------------------- */
#main-cta {
  background: var(--navy);
  padding-block: clamp(80px, 12vw, 140px);
  position: relative;
  overflow: hidden;
}
.cta-accent-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
}
.cta-accent-isotipo {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: auto;
  opacity: 0.06;
}
.cta-inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.cta-inner .eyebrow { color: var(--orange); }
.cta-inner h2 {
  color: var(--white);
  margin-block: 0 1.25rem;
}
.cta-inner p {
  color: rgba(255,255,255,0.68);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Contact ---------------------------------------------- */
#contact {
  padding-block: var(--section-py);
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}
.contact-intro h2 { margin-block: 0 1.25rem; }
.contact-intro p { margin-bottom: 2rem; }
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.contact-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.contact-info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}
.contact-info-value.placeholder {
  color: var(--gray-400);
  font-style: italic;
  font-weight: 400;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.form-control {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  width: 100%;
}
.form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(19,154,67,0.12);
  outline: none;
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-note {
  font-size: 0.75rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* --- Footer ----------------------------------------------- */
#footer {
  background: var(--seal);
  padding-block: clamp(60px, 8vw, 100px) 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: clamp(50px, 7vw, 80px);
  padding-bottom: clamp(50px, 7vw, 80px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-logo img {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-brand-descriptor {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.75rem;
}
.footer-brand-slogan {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}
.footer-brand-slogan span { color: var(--green); }
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* --- WhatsApp floating button ------------------------------ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

/* --- Contact info links ------------------------------------ */
.contact-info-link {
  color: var(--navy);
  font-weight: 600;
  transition: color var(--dur-fast) var(--ease-out);
}
.contact-info-link:hover { color: var(--green); }

.footer-berantix {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.footer-berantix-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-berantix-link:hover { color: rgba(255,255,255,0.5); }
.footer-berantix-link img { opacity: 0.5; transition: opacity var(--dur-fast) var(--ease-out); }
.footer-berantix-link:hover img { opacity: 0.8; }
.footer-berantix-link span { color: #139A43; font-weight: 600; }

/* --- Animations ------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes lineGrow {
  from { height: 0; }
  to   { height: 120px; }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Reduced motion ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-eyebrow, .hero-headline, .hero-text, .hero-ctas,
  .hero-trust, .hero-right { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* --- Responsive -------------------------------------------- */
@media (max-width: 1024px) {
  #hero { background: linear-gradient(180deg, rgba(255,255,255,0.97) 60%, rgba(237,241,247,0.92) 100%), url('../assets/images/hero-bg.jpg') center center / cover no-repeat; }
  #hero::before { display: none; }
  .hero-bg-accent { width: 100%; top: auto; height: 40%; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; min-height: auto; padding-block: 60px; }
  .hero-right { height: 320px; }
  .hero-isotipo-wrap { right: -40px; }
  .hero-isotipo-wrap svg { max-width: 360px; }
  .brand-grid, .coverage-grid, .trust-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .brand-visual { height: 320px; }
  .trust-visual { height: 300px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --section-py: clamp(60px, 10vw, 100px); }
  .header-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .value-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .segments-grid { grid-template-columns: 1fr; gap: 2px; }
  .process-steps { flex-direction: column; align-items: flex-start; gap: 0; }
  .process-line {
    top: 5%;
    bottom: 5%;
    left: 23px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .process-line-fill {
    width: 100%;
    height: 0;
    left: 0;
  }
  .process-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding: 1rem 1.5rem 1rem 0;
  }
  .step-num-wrap { margin-bottom: 0; margin-right: 1.25rem; flex-shrink: 0; }
  .step-content { flex: 1; }
  .coverage-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { justify-content: center; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.2rem; }
  .hero-right { height: 240px; }
  .hero-isotipo-wrap svg { max-width: 260px; }
  .segment-card { padding: 2rem 1.5rem; }
}
