/* ============================================================
   MADIVON — SEO-optimized stylesheet
   Tipografía: Montserrat — escala modular 1.25 (Major Third)
   ============================================================ */

:root {
  /* ── Colores ── */
  --bg:          #0f1115;
  --bg-soft:     #171a21;
  --panel:       #1d212b;
  --panel-2:     #232935;
  --line:        rgba(255,255,255,.10);
  --text:        #f5f7fb;
  --muted:       #c8cfdd;
  --muted-2:     #9fa9bc;
  --brand:       #e41e24;
  --brand-dark:  #a21015;
  --white:       #ffffff;
  --ok:          #25D366;
  --shadow:      0 20px 60px rgba(0,0,0,.28);

  /* ── Radio ── */
  --radius-xl:   30px;
  --radius-lg:   22px;
  --radius-md:   16px;

  /* ── Layout ── */
  --wrap:        min(1180px, 92vw);

  /* ── Escala tipográfica Montserrat (base 16px) ── */
  --font-xs:     11px;
  --font-sm:     13px;
  --font-base:   16px;
  --font-md:     18px;
  --font-lg:     20px;
  --font-xl:     24px;
  --font-2xl:    30px;
  --font-3xl:    clamp(28px, 3.5vw, 38px);
  --font-4xl:    clamp(30px, 4vw,   48px);
  --font-5xl:    clamp(36px, 5vw,   60px);
  --font-6xl:    clamp(38px, 6vw,   76px);

  /* ── Line-heights ── */
  --lh-heading:  1.05;
  --lh-subhead:  1.2;
  --lh-body:     1.75;

  /* ── Letter-spacing ── */
  --ls-hero:     -.055em;
  --ls-h2:       -.04em;
  --ls-h3:       -.03em;
  --ls-label:    .12em;
  --ls-body:     -.01em;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html  { scroll-behavior: smooth }
body  {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size:   var(--font-base);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  background:  var(--bg);
  color:       var(--text);
  -webkit-font-smoothing:  antialiased;
  text-rendering: optimizeLegibility;
}
a   { text-decoration: none; color: inherit }
img, video { max-width: 100%; display: block }
.wrap { width: var(--wrap); margin: 0 auto }
.section { padding: 82px 0 }

/* ── Jerarquía tipográfica global ── */
h1 { font-size: var(--font-6xl); font-weight: 800; line-height: var(--lh-heading); letter-spacing: var(--ls-hero) }
h2 { font-size: var(--font-4xl); font-weight: 800; line-height: var(--lh-heading); letter-spacing: var(--ls-h2) }
h3 { font-size: var(--font-2xl); font-weight: 700; line-height: var(--lh-subhead); letter-spacing: var(--ls-h3) }
h4 { font-size: var(--font-lg);  font-weight: 700; line-height: var(--lh-subhead); letter-spacing: -.02em }
p  { font-size: var(--font-base); font-weight: 400; line-height: var(--lh-body); color: var(--muted) }
strong { font-weight: 700; color: var(--text) }

/* ── Section head ── */
.section-head { margin-bottom: 36px }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 15px; border-radius: 999px;
  background: rgba(228,30,36,.12); border: 1px solid rgba(228,30,36,.26);
  color: #ffd2d4; font-size: var(--font-xs); font-weight: 700;
  letter-spacing: var(--ls-label); text-transform: uppercase; margin-bottom: 18px;
}
.section-head h2 { margin-bottom: 14px; color: var(--white) }
.section-head p  { max-width: 67ch; font-size: var(--font-base); line-height: var(--lh-body); color: var(--muted) }

/* ── Accesibilidad ── */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden }
.skip-link:focus { left: 16px; top: 16px; width: auto; height: auto; padding: 12px 16px; background: #fff; color: #000; z-index: 100 }

/* ============================================================ HEADER */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,255,255,.72) 62%,rgba(255,255,255,0) 100%); border-bottom: none; box-shadow: none; backdrop-filter: blur(6px) }
.header-inner { width: var(--wrap); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 0 }
.brand-lockup { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0; border-radius: 0; background: transparent; border: none; box-shadow: none }
.brand-symbol-wrap { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 0; background: transparent; border: none; flex: 0 0 auto }
.brand-symbol { width: 52px; height: auto; display:block }
.brand-text { display: flex; flex-direction: column; gap: 4px; min-width: 0 }
.brand-name { font-size: clamp(29px,3vw,42px); font-weight: 800; line-height: .92; letter-spacing: -.05em; color: #0f1d34 }
.brand-pill { display: block; width: max-content; max-width: 100%; padding: 0; border-radius: 0; background: transparent; color: #e41e24; font-size: 12px; font-weight: 800; line-height: 1.1; letter-spacing: .03em; box-shadow: none; text-transform: uppercase }
.brand-sub { font-size: 12px; font-weight: 600; color: #374d68; letter-spacing: -.01em }
.nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end }
.nav a { padding: 0; border-radius: 0; border: none; color: #18314f; font-size: 15px; font-weight: 700; letter-spacing: -.01em; transition: .25s ease; background: transparent }
.nav a:hover { background: transparent; transform: translateY(-1px); color: #0c2442 }
.nav a.cta { padding: 11px 18px; border-radius: 999px; background: var(--brand); border: 1px solid var(--brand); color: #fff; box-shadow: 0 12px 24px rgba(228,30,36,.18) }

/* ============================================================ HERO */
.hero { position: relative; min-height: 62svh; display: grid; align-items: end; overflow: hidden; background: #dfeaf5 }
.hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.56) saturate(.82); transform: scale(1.01) }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(248,251,255,.68),rgba(242,248,253,.55) 26%,rgba(11,22,36,.42) 72%,rgba(12,20,33,.72) 100%) }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 180px; background: linear-gradient(180deg,rgba(15,17,21,0),rgba(15,17,21,1)); z-index: 1 }
.hero-content { position: relative; z-index: 2; padding: 94px 0 44px }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.75fr); gap: 28px; align-items: end }
.hero-copy { max-width: 760px }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; padding: 0; border-radius: 0; background: transparent; border: none; color: #ffced0; font-size: var(--font-xs); font-weight: 800; letter-spacing: var(--ls-label); text-transform: uppercase; margin-bottom: 14px }
.hero h1 { max-width: 11ch; margin-bottom: 18px; color: var(--white) }
.hero-copy > p { max-width: 58ch; color: #eef4fb; font-size: var(--font-md); line-height: 1.75 }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 22px; border-radius: 999px; font-size: var(--font-base); font-weight: 700; letter-spacing: -.01em; transition: .25s ease }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 14px 30px rgba(228,30,36,.24) }
.btn-primary:hover { transform: translateY(-1px); background: #f2252b }
.btn-secondary { background: rgba(255,255,255,.04); color: #fff; border: 1px solid rgba(255,255,255,.15) }
.btn-whatsapp { background: var(--ok); color: #071910 }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px }
.hero-highlights span { display: inline-flex; align-items: center; padding: 0; border-radius: 0; background: transparent; border: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f3f6fb; opacity: .92 }
.hero-card { justify-self: end; background: linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,.08)); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); padding: 22px; border-radius: 22px; box-shadow: var(--shadow); max-width: 332px }
.hero-card h2 { font-size: var(--font-sm); font-weight: 800; letter-spacing: var(--ls-label); text-transform: uppercase; color: #ffdbdc; margin-bottom: 14px }
.hero-card ul { list-style: none; display: grid; gap: 12px }
.hero-card li { display: flex; gap: 10px; color: #eef2fa; font-size: var(--font-base); line-height: 1.55 }
.hero-card li::before { content: '•'; color: #ff565b; font-weight: 900 }

/* ============================================================ INTRO */
.intro-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 28px; align-items: stretch }
.panel { background: linear-gradient(180deg,#ffffff,#f7fbff); border: 1px solid rgba(18,49,86,.08); border-radius: var(--radius-xl); padding: 34px; box-shadow: var(--shadow) }
.points { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px }
.point { padding: 18px; border-radius: 18px; background: #f7fbff; border: 1px solid rgba(18,49,86,.08) }
.point strong { display: block; font-size: var(--font-base); font-weight: 700; margin-bottom: 6px; color: var(--text) }
.point span { display: block; color: var(--muted); font-size: 14px; line-height: 1.65 }
.media-card { position: relative; overflow: hidden; min-height: 360px; background: #dbe7f2 }
.media-card video, .media-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.media-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(10,13,18,.05),rgba(10,13,18,.2) 35%,rgba(10,13,18,.7) 100%) }
.media-caption { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2 }
.media-caption h3 { font-size: var(--font-5xl); line-height: var(--lh-heading); letter-spacing: var(--ls-h2); margin-bottom: 10px; color: var(--white) }
.media-caption p { font-size: var(--font-base); line-height: 1.7; color: #edf2fb }

/* ============================================================ SERVICIOS */
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px }
.service-card { position: relative; min-height: 300px; border-radius: 24px; overflow: hidden; border: 1px solid rgba(18,49,86,.08); background: #ffffff; box-shadow: var(--shadow); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(0,0,0,.28); border-color: rgba(255,255,255,.16) }
.service-card video, .service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.72) }
.service-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(255,255,255,.06),rgba(12,22,36,.18) 35%,rgba(10,18,29,.78) 100%); z-index: 1 }
.service-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px }
.service-kicker { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.1); font-size: var(--font-xs); font-weight: 800; letter-spacing: var(--ls-label); text-transform: uppercase; color: #fce6e7; margin-bottom: 12px; width: max-content }
.service-card h3 { font-size: var(--font-xl); line-height: 1.1; letter-spacing: var(--ls-h3); margin-bottom: 10px; max-width: 14ch; color: var(--white) }
.service-card p { font-size: 14px; line-height: 1.72; color: #f3f5fb }

/* ============================================================ BANDA */
.band { padding: 86px 0; background: linear-gradient(180deg,#f4f9fd,#edf5fb) }
.band-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 26px; align-items: center }
.band-copy h2 { margin-bottom: 14px; color: var(--white) }
.band-copy p { font-size: var(--font-base); line-height: 1.78; color: var(--muted); margin-bottom: 18px }
.band-list { display: grid; gap: 12px; list-style: none }
.band-list li { display: flex; gap: 10px; color: #eef3fb; font-size: var(--font-base); line-height: 1.65 }
.band-list li::before { content: '✔'; color: #ff5f64; font-weight: 900 }
.video-frame { position: relative; overflow: hidden; border-radius: 32px; border: 1px solid rgba(255,255,255,.08); background: #0f1115; box-shadow: var(--shadow); aspect-ratio: 16/10 }
.video-frame video, .video-frame img { width: 100%; height: 100%; object-fit: cover }
.stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 24px }
.stat { padding: 20px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08) }
.stat strong { display: block; font-size: var(--font-2xl); font-weight: 800; line-height: 1; margin-bottom: 8px; color: #fff }
.stat span { display: block; font-size: 14px; line-height: 1.55; color: var(--muted) }

/* ============================================================ FAQ */
.faq-section { padding-top: 78px }
.faq-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px }
.faq-card { padding: 24px; border-radius: 24px; background: linear-gradient(180deg,#ffffff,#f7fbff); border: 1px solid rgba(18,49,86,.08); box-shadow: var(--shadow) }
.faq-card h3 { font-size: var(--font-lg); line-height: 1.25; letter-spacing: -.025em; margin-bottom: 10px; color: var(--white) }
.faq-card p { font-size: var(--font-base); line-height: var(--lh-body); color: var(--muted) }

/* ============================================================ CONTACTO */
.contact-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 26px }
.contact-card { background: linear-gradient(180deg,#ffffff,#f7fbff); border: 1px solid rgba(18,49,86,.08); border-radius: 30px; padding: 34px; box-shadow: var(--shadow) }
.contact-card h2 { font-size: var(--font-4xl); line-height: var(--lh-heading); letter-spacing: var(--ls-h2); margin-bottom: 14px; color: var(--white) }
.contact-card p { font-size: var(--font-base); line-height: 1.78; color: var(--muted) }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px }
.contact-boxes { display: grid; gap: 16px }
.contact-box { padding: 24px; border-radius: 22px; background: #ffffff; border: 1px solid rgba(18,49,86,.08); transition: border-color .25s ease, transform .25s ease }
.contact-box:hover { border-color: rgba(255,255,255,.16); transform: translateY(-2px) }
.contact-box h3 { font-size: var(--font-md); font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; color: var(--white) }
.contact-box p { font-size: var(--font-base); line-height: 1.72; color: var(--muted) }
.contact-box a { color: #fff; font-weight: 700 }

/* ============================================================ FOOTER */
.site-footer { padding: 40px 0 58px; border-top: 1px solid rgba(18,49,86,.08); background: linear-gradient(180deg,#ffffff,#f2f8fd) }
.footer-grid { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: end }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px }
.footer-mark { display: flex; align-items: center; gap: 16px }
.footer-logo { width: 54px; height: auto; flex: 0 0 auto; filter: none }
.footer-lockup-text { display: flex; flex-direction: column; gap: 2px }
.footer-lockup-text strong { display: block; font-size: clamp(30px,3vw,42px); font-weight: 800; line-height: .95; letter-spacing: -.055em; color: #0f1d34 }
.footer-lockup-text span { display: block; font-size: var(--font-sm); line-height: 1.35; color: #51657d }
.footer-copy p { max-width: 60ch; font-size: 14px; line-height: 1.7; color: var(--muted) }
.footer-copy .mini { margin-top: 10px; color: #fff; font-weight: 700; font-size: 14px }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end }
.footer-links a { padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(18,49,86,.10); color: #18314f; font-size: 14px; font-weight: 600 }


body { background: linear-gradient(180deg,#f7fbff 0%, #ffffff 34%, #f5f9fd 100%); }
.section-head h2, .band-copy h2, .contact-card h2, .faq-card h3, .point strong, .contact-box h3 { color: #102038; }
.nav { display:flex; flex-wrap:wrap; gap:26px; align-items:center; }
.nav a:not(.cta) { position:relative; }
.nav a:not(.cta)::after { content:''; position:absolute; left:0; bottom:-6px; width:0; height:2px; background: var(--brand); transition: width .25s ease; }
.nav a:not(.cta):hover::after { width:100%; }
.hero-highlights span + span::before { content:'•'; color: rgba(255,255,255,.45); margin-right: 14px; }
.proposal-grid { display:grid; grid-template-columns: minmax(280px,.9fr) minmax(320px,1.1fr); gap:34px; align-items:start; }
.proposal-copy { padding-top: 8px; }
.contact-info-list { display:grid; gap:16px; margin-top: 14px; }
.contact-info-card { display:flex; align-items:flex-start; gap:14px; background:#fff; border:1px solid rgba(18,49,86,.08); border-radius:18px; padding:18px 18px; box-shadow: var(--shadow); }
.contact-info-icon { width:42px; height:42px; display:flex; align-items:center; justify-content:center; border-radius:14px; background: linear-gradient(180deg,#eaf3fb,#f7fbff); color:#e41e24; font-size:20px; font-weight:800; flex:0 0 auto; }
.contact-info-card strong { display:block; margin-bottom:4px; color:#102038; }
.contact-info-card p, .contact-info-card a { color:#51657d; font-size:15px; line-height:1.6; }
.proposal-form { background:#fff; border:1px solid rgba(18,49,86,.08); border-radius:24px; padding:28px; box-shadow: var(--shadow); }
.form-grid { display:grid; gap:18px; }
.form-grid.two-col { grid-template-columns: repeat(2,minmax(0,1fr)); }
.field { display:flex; flex-direction:column; gap:8px; }
.field-full { grid-column:1/-1; }
.field label { font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:#18314f; }
.field input, .field select, .field textarea { width:100%; background:#f8fbff; border:1px solid rgba(18,49,86,.12); border-radius:16px; padding:16px 16px; font:inherit; color:#102038; outline:none; transition:border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field input::placeholder, .field textarea::placeholder { color:#7f92a9; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(228,30,36,.45); box-shadow: 0 0 0 4px rgba(228,30,36,.08); background:#fff; }
.submit-btn { margin-top: 10px; width:100%; border:none; border-radius:16px; background: linear-gradient(180deg,#ff2f35,#e41e24); color:#fff; font:inherit; font-size:22px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; padding:18px 20px; cursor:pointer; box-shadow:0 16px 30px rgba(228,30,36,.18); }
.submit-btn:hover { filter:brightness(1.03); transform: translateY(-1px); }
.form-note { margin-top:12px; font-size:13px; color:#69809b; }
.hp-field { position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; overflow:hidden !important; opacity:0 !important; }
@media (max-width: 980px) { .proposal-grid, .form-grid.two-col { grid-template-columns:1fr; } .field-full { grid-column:auto; } }

.anchor-fix { position: relative; top: -90px; visibility: hidden }

/* ============================================================ RESPONSIVE */
@media (max-width: 1120px) {
  .hero-grid, .intro-grid, .band-grid, .contact-grid { grid-template-columns: 1fr }
  .hero-card { justify-self: start; max-width: 100% }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)) }
}
@media (max-width: 760px) {
  :root { --font-base: 15px; --lh-body: 1.7 }
  .header-inner { flex-direction: column; align-items: flex-start }
  .brand-lockup { width: 100%; padding: 0 }
  .brand-symbol-wrap { width: 42px; height: 42px }
  .brand-symbol { width: 42px }
  .brand-name { font-size: clamp(22px,8vw,32px) }
  .brand-pill { font-size: 10px; padding: 0 }
  .brand-sub { font-size: 10px }
  .nav { justify-content: flex-start; gap: 14px }
  .hero-content { padding: 88px 0 48px }
  .hero h1 { max-width: 12ch }
  .hero-highlights { gap: 8px }
  .hero-highlights span { font-size: 10px; padding: 0 }
  .points, .service-grid, .stats, .footer-grid { grid-template-columns: 1fr }
  .service-card { min-height: 260px }
  .service-card h3 { font-size: var(--font-lg) }
  .faq-grid { grid-template-columns: 1fr }
  .section { padding: 74px 0 }
  .band { padding: 78px 0 }
}

/* ============================================================
   AJUSTE DE LEGIBILIDAD — MADIVON v9
   Normaliza contraste en tarjetas claras y refuerza texto sobre imagen.
   ============================================================ */
:root {
  --text:        #102038;
  --muted:       #51657d;
  --muted-2:     #6b7f96;
  --shadow:      0 18px 44px rgba(16,32,56,.12);
}

body {
  color: #102038;
}

p,
.section-head p,
.panel p,
.point span,
.band-copy p,
.faq-card p,
.contact-card p,
.contact-box p,
.footer-copy p,
.form-note {
  color: #51657d;
}

strong,
.panel strong,
.point strong,
.faq-card h3,
.contact-card h2,
.contact-box h3,
.contact-info-card strong,
.section-head h2,
.band-copy h2 {
  color: #102038;
}

.section-head .eyebrow {
  color: #b31318;
  background: rgba(228,30,36,.09);
  border-color: rgba(228,30,36,.22);
}

.panel,
.point,
.faq-card,
.contact-card,
.contact-box,
.contact-info-card,
.proposal-form {
  background: linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border-color: rgba(16,48,86,.12);
  box-shadow: 0 18px 44px rgba(16,32,56,.10);
}

.point,
.contact-info-card,
.contact-box,
.faq-card {
  border-left: 4px solid rgba(228,30,36,.72);
}

.band-list li {
  color: #263a54;
}

.stat {
  background: #ffffff;
  border: 1px solid rgba(16,48,86,.12);
  box-shadow: 0 14px 30px rgba(16,32,56,.08);
}

.stat strong {
  color: #e41e24;
}

.stat span {
  color: #51657d;
}

.footer-copy .mini {
  color: #102038;
}

.contact-box a,
.contact-info-card a {
  color: #b31318;
  font-weight: 800;
}

/* Tarjetas con imagen/video: más contraste real, sin ensuciar el diseño */
.service-card video,
.service-card img {
  filter: brightness(.66) saturate(.95);
}

.service-card::before {
  background:
    linear-gradient(180deg,rgba(7,17,31,.10) 0%,rgba(7,17,31,.34) 38%,rgba(5,12,22,.88) 100%);
}

.service-card h3,
.service-card p,
.service-kicker,
.media-caption h3,
.media-caption p,
.hero h1,
.hero-copy > p,
.hero-highlights span,
.hero-card h2,
.hero-card li {
  text-shadow: 0 2px 10px rgba(0,0,0,.42);
}

.service-kicker {
  background: rgba(228,30,36,.90);
  border-color: rgba(255,255,255,.18);
  color: #ffffff;
}

.service-card p {
  color: #ffffff;
  font-weight: 500;
}

.service-card h3 {
  color: #ffffff;
}

.hero-card {
  background: linear-gradient(180deg,rgba(8,18,32,.70),rgba(8,18,32,.48));
  border-color: rgba(255,255,255,.22);
}

.hero-card h2,
.hero-card li {
  color: #ffffff;
}

.media-card::after {
  background: linear-gradient(180deg,rgba(10,13,18,.04),rgba(10,13,18,.24) 35%,rgba(10,13,18,.78) 100%);
}

@media (max-width: 760px) {
  .panel,
  .contact-card,
  .proposal-form {
    padding: 24px;
  }

  .service-card p,
  .faq-card p,
  .point span,
  .contact-info-card p {
    font-size: 15px;
  }
}


/* ============================================================
   AJUSTE SEO / MARCA — MADIVON v10
   H1 más proporcionado, Montserrat estandarizada y logo horizontal.
   ============================================================ */

:root {
  --font-6xl: clamp(34px, 4.7vw, 58px);
}

.site-header {
  background: linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.86) 70%,rgba(255,255,255,.22) 100%);
}

.header-inner {
  padding: 8px 0;
}

.brand-lockup {
  flex: 0 1 360px;
  max-width: 360px;
}

.brand-logo-full {
  width: clamp(230px, 27vw, 360px);
  height: auto;
  display: block;
}

.hero-content {
  padding-top: 116px;
}

.hero h1 {
  max-width: 16ch;
  font-size: clamp(34px, 4.7vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.hero-copy {
  max-width: 820px;
}

.hero-copy > p {
  max-width: 62ch;
}

.footer-logo-full {
  width: min(360px, 86vw);
  height: auto;
  display: block;
}

@media (max-width: 1120px) {
  .brand-lockup {
    flex-basis: 320px;
    max-width: 320px;
  }

  .brand-logo-full {
    width: clamp(230px, 34vw, 320px);
  }
}

@media (max-width: 760px) {
  :root {
    --font-6xl: clamp(31px, 10vw, 44px);
  }

  .header-inner {
    gap: 12px;
    padding: 10px 0;
  }

  .brand-lockup {
    width: 100%;
    max-width: 290px;
    flex-basis: auto;
  }

  .brand-logo-full {
    width: min(290px, 86vw);
  }

  .hero-content {
    padding-top: 154px;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(31px, 10vw, 44px);
    line-height: 1.05;
  }
}

/* ============================================================
   AJUSTE MARCA — MADIVON v11
   Logo nuevo limpio, legible y sin recorte.
   ============================================================ */

.brand-logo-full,
.footer-logo-full {
  object-fit: contain;
}

.brand-lockup {
  flex: 0 1 390px;
  max-width: 390px;
}

.brand-logo-full {
  width: clamp(245px, 28vw, 390px);
  max-height: 126px;
}

.footer-logo-full {
  width: min(390px, 88vw);
}

@media (max-width: 1120px) {
  .brand-lockup {
    flex-basis: 335px;
    max-width: 335px;
  }

  .brand-logo-full {
    width: clamp(235px, 34vw, 335px);
    max-height: 108px;
  }
}

@media (max-width: 760px) {
  .brand-lockup {
    max-width: 300px;
  }

  .brand-logo-full {
    width: min(300px, 86vw);
    max-height: 98px;
  }
}

/* ============================================================
   AJUSTE MARCA / FOOTER / WHATSAPP — MADIVON v12
   Logo de header más chico, footer bordo en negativo y CTA de WhatsApp.
   ============================================================ */

.brand-lockup {
  flex: 0 1 320px;
  max-width: 320px;
}

.brand-logo-full {
  width: clamp(210px, 24vw, 320px);
  max-height: 104px;
}

.site-footer {
  padding: 42px 0 48px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg,#5e1820 0%, #451218 100%);
}

.footer-grid {
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 28px;
}

.footer-brand {
  gap: 18px;
}

.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-symbol-negative {
  width: 54px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .98;
  flex: 0 0 auto;
}

.footer-wordmark {
  display: inline-block;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.055em;
  color: #fff;
}

.footer-copy p {
  max-width: 58ch;
  color: rgba(255,255,255,.84);
}

.footer-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer-links {
  gap: 10px;
}

.footer-links a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;
}

.footer-links a:hover {
  background: rgba(255,255,255,.12);
}

.footer-wa-icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
  transition: transform .2s ease, filter .2s ease;
}

.footer-wa-icon svg,
.whatsapp-float svg {
  width: 26px;
  height: 26px;
}

.footer-wa-icon:hover,
.whatsapp-float:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 18px 34px rgba(0,0,0,.25);
}

@media (max-width: 1120px) {
  .brand-lockup {
    flex-basis: 290px;
    max-width: 290px;
  }

  .brand-logo-full {
    width: clamp(205px, 29vw, 290px);
    max-height: 96px;
  }
}

@media (max-width: 760px) {
  .brand-lockup {
    max-width: 250px;
  }

  .brand-logo-full {
    width: min(250px, 72vw);
    max-height: 86px;
  }

  .hero-content {
    padding-top: 142px;
  }

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

  .footer-side {
    align-items: flex-start;
  }

  .footer-brand-mark {
    gap: 12px;
  }

  .footer-symbol-negative {
    width: 46px;
  }

  .footer-wordmark {
    font-size: clamp(26px, 9vw, 34px);
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }
}

/* ============================================================
   CORRECCIÓN FOOTER LOGO — MADIVON v13
   Logo negativo limpio como imagen, mejor proporción y un solo WhatsApp.
   ============================================================ */

.footer-brand-mark-img {
  display: inline-flex;
  width: min(430px, 78vw);
  max-width: 430px;
  line-height: 0;
}

.footer-logo-negative {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.footer-copy p {
  margin-top: 4px;
  max-width: 62ch;
}

.footer-side {
  gap: 18px;
}

.footer-wa-icon {
  margin-right: 0;
}

.whatsapp-float {
  display: none !important;
}

@media (max-width: 760px) {
  .footer-brand-mark-img {
    width: min(330px, 82vw);
  }
}


/* ============================================================
   AJUSTE HERO / PRIMERA IMPRESIÓN — MADIVON v14
   Header más compacto y hero contenido dentro de la pantalla.
   ============================================================ */

.header-inner {
  padding: 6px 0;
}

.brand-lockup {
  flex: 0 1 270px;
  max-width: 270px;
}

.brand-logo-full {
  width: clamp(190px, 20vw, 270px);
  max-height: 86px;
}

.nav {
  gap: 22px;
}

.nav a {
  font-size: 14px;
}

.nav a.cta {
  padding: 13px 20px;
}

.hero {
  min-height: clamp(560px, 78svh, 660px);
  align-items: center;
}

.hero-content {
  padding: 108px 0 34px;
}

.hero-grid {
  align-items: center;
  gap: 24px;
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(32px, 3.45vw, 46px);
  line-height: 1.04;
  letter-spacing: -.043em;
  margin-bottom: 16px;
}

.hero-copy > p {
  max-width: 58ch;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.58;
}

.hero-actions {
  margin-top: 22px;
  gap: 12px;
}

.btn {
  padding: 13px 20px;
  font-size: 15px;
}

.hero-highlights {
  margin-top: 12px;
}

.hero-card {
  max-width: 330px;
  padding: 18px;
  border-radius: 20px;
}

.hero-card h2 {
  margin-bottom: 10px;
}

.hero-card ul {
  gap: 8px;
}

.hero-card li {
  font-size: 14px;
  line-height: 1.42;
}

.section {
  padding: 74px 0;
}

.band {
  padding: 76px 0;
}

@media (max-width: 1120px) {
  .brand-lockup {
    flex-basis: 245px;
    max-width: 245px;
  }

  .brand-logo-full {
    width: clamp(185px, 28vw, 245px);
    max-height: 78px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 112px 0 50px;
  }

  .hero-grid {
    align-items: start;
  }

  .hero h1 {
    max-width: 780px;
  }

  .hero-card {
    max-width: 640px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    gap: 10px;
    padding: 8px 0;
  }

  .brand-lockup {
    max-width: 220px;
  }

  .brand-logo-full {
    width: min(220px, 70vw);
    max-height: 72px;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 13px;
  }

  .nav a.cta {
    padding: 10px 15px;
  }

  .hero-content {
    padding: 136px 0 44px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(29px, 8.4vw, 38px);
    line-height: 1.06;
  }

  .hero-copy > p {
    font-size: 15px;
    line-height: 1.62;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .hero-card {
    padding: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .band {
    padding: 66px 0;
  }
}

@media (max-height: 760px) and (min-width: 1121px) {
  .site-header {
    backdrop-filter: blur(8px);
  }

  .brand-lockup {
    flex-basis: 250px;
    max-width: 250px;
  }

  .brand-logo-full {
    width: clamp(185px, 18vw, 250px);
    max-height: 78px;
  }

  .hero {
    min-height: 590px;
  }

  .hero-content {
    padding-top: 96px;
    padding-bottom: 28px;
  }

  .hero h1 {
    font-size: clamp(31px, 3.25vw, 42px);
    max-width: 720px;
    margin-bottom: 14px;
  }

  .hero-copy > p {
    font-size: 15px;
    line-height: 1.54;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-card {
    padding: 16px;
  }

  .hero-card li {
    font-size: 13.5px;
    line-height: 1.38;
  }
}

/* ============================================================
   MADIVON v17 — Integración comercial desde presentación
   Se toma el concepto público: sabores, presentaciones,
   atención al cliente, experiencia, packaging, valores y categorías.
   ============================================================ */

html,
body {
  min-height: 100%;
}

body {
  background:
    radial-gradient(1200px 520px at 12% 0%, rgba(142, 15, 28, 0.18), transparent 58%),
    radial-gradient(900px 420px at 88% 18%, rgba(196, 38, 54, 0.10), transparent 55%),
    linear-gradient(180deg,#f1dadd 0%,#f7e7e9 12%,#fbf0f1 28%,#fff6f5 46%,#fffaf8 68%,#fffdfc 84%,#ffffff 100%);
  background-attachment: fixed;
}

.site-header {
  background: linear-gradient(180deg, rgba(255,250,250,.96), rgba(255,248,248,.88) 70%, rgba(255,248,248,.28) 100%);
}

.centered-head {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(32px, 3.35vw, 44px);
}

.hero-copy > p {
  max-width: 62ch;
}

.values-section {
  background: linear-gradient(180deg,rgba(92,18,28,.98),rgba(55,14,20,.98));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.values-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 380px at 12% 12%, rgba(255,255,255,.08), transparent 60%), radial-gradient(620px 320px at 88% 28%, rgba(228,30,36,.24), transparent 60%);
  pointer-events: none;
}

.values-section .wrap {
  position: relative;
  z-index: 1;
}

.values-section .section-head h2,
.values-section .section-head p {
  color: #fff;
}

.values-section .section-head p {
  color: rgba(255,255,255,.76);
}

.values-section .eyebrow {
  color: #ffdadd;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}

.value-card {
  padding: 26px;
  border-radius: 26px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.11);
}

.value-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}

.value-card h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: var(--font-xl);
}

.value-card p {
  color: rgba(255,255,255,.75);
  font-size: 15px;
  line-height: 1.68;
}

.categories-section {
  background: rgba(255,255,255,.52);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 14px;
}

.category-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 14px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg,#fff,#fff8f8);
  border: 1px solid rgba(128,24,34,.12);
  box-shadow: 0 14px 34px rgba(16,32,56,.09);
  color: #102038;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.category-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(228,30,36,.36);
  box-shadow: 0 18px 40px rgba(128,24,34,.14);
}

.special-section {
  background: linear-gradient(180deg,rgba(255,250,248,.78),rgba(255,255,255,.88));
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

.special-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(18,49,86,.08);
  box-shadow: 0 16px 38px rgba(16,32,56,.10);
}

.special-card span {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e41e24;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.special-card p {
  color: #102038;
  font-size: 15px;
  line-height: 1.62;
  font-weight: 600;
}

.band {
  background: linear-gradient(180deg,#2d1217,#11131a);
}

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

@media (max-width: 1120px) {
  .category-grid,
  .special-grid,
  .faq-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  .values-grid,
  .category-grid,
  .special-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(30px, 8vw, 38px);
    max-width: 100%;
  }

  .centered-head {
    text-align: left;
  }

  .category-chip {
    justify-content: flex-start;
  }
}
