/* ════════════════════════════════════════════════════════════════
   DECKER — Hoja de estilos global
   3A Decker, S.A. de C.V., SOFOM ENR
   ════════════════════════════════════════════════════════════════ */

/* ── RESET & VARIABLES ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --teal-deep:   #004854;
  --teal-mid:    #006272;
  --teal-bright: #83C8B3;
  --teal-light:  #EBFFF8;
  --black:       #00191C;
  --white:       #ffffff;
  --gray:        #a0b4b8;
  --text:        #2a4a4e;
  --border:      rgba(131,200,179,0.2);
  --font:        'Montserrat', sans-serif;
  --radius-sm:   4px;
  --radius-md:   8px;
  --shadow:      0 8px 32px rgba(0,72,84,0.1);
}
body { font-family: var(--font); background: var(--white); color: var(--text); }
a { text-decoration: none; }
img { max-width: 100%; }

/* ── NAV ───────────────────────────────────────────────────────── */
.nav {
  background: var(--black);
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 3rem;
  position: sticky; top: 0; z-index: 100;
}
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo-icon { height: 30px; width: auto; display: block; }
.nav-logo-text { font-size: 16px; font-weight: 700; letter-spacing: 0.22em; color: var(--white); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal-bright); }
.nav-cta { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 9px 20px; background: var(--teal-bright); color: var(--black); border: none; cursor: pointer; border-radius: var(--radius-sm); transition: opacity 0.2s; }
.nav-cta:hover { opacity: 0.88; }

/* ── HERO (homepage) ───────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--teal-deep) 60%, var(--teal-mid) 100%);
  padding: 7rem 3rem 5rem; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(131,200,179,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-super { font-size: 10px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 1.5rem; }
.hero-title { font-size: 46px; font-weight: 700; line-height: 1.15; color: var(--white); margin-bottom: 0.3rem; letter-spacing: -0.01em; }
.hero-title span { color: var(--teal-bright); }
.hero-tagline { font-size: 12px; font-weight: 300; letter-spacing: 0.2em; color: rgba(255,255,255,0.35); text-transform: uppercase; margin-bottom: 1.5rem; }
.hero-divider { width: 36px; height: 2px; background: var(--teal-bright); margin: 0 auto 1.75rem; }
.hero-sub { font-size: 15px; font-weight: 300; line-height: 1.85; color: rgba(255,255,255,0.7); max-width: 540px; margin: 0 auto 3rem; }
.hero-badges { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.badge { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px; border: 1px solid var(--border); color: var(--teal-bright); border-radius: 99px; }

/* ── HERO (páginas internas) ───────────────────────────────────── */
.page-hero { background: linear-gradient(135deg, var(--black) 0%, var(--teal-deep) 100%); padding: 6rem 3rem 5rem; text-align: center; }
.page-super { font-size: 10px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 1.25rem; }
.page-title { font-size: 44px; font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 0.5rem; }
.page-title span { color: var(--teal-bright); }
.page-divider { width: 36px; height: 2px; background: var(--teal-bright); margin: 1.5rem auto; }
.page-sub { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.65); line-height: 1.9; max-width: 560px; margin: 0 auto; }

/* ── SECCIÓN BASE ──────────────────────────────────────────────── */
.section { padding: 5rem 3rem; }
.section-lg { padding: 6rem 3rem; }
.section-white  { background: var(--white); }
.section-light  { background: var(--teal-light); }
.section-dark   { background: var(--teal-deep); }
.section-black  { background: var(--black); }
.wrap { max-width: 900px; margin: 0 auto; }
.section-tag { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 0.6rem; }
.section-title { font-size: 30px; font-weight: 700; color: var(--black); line-height: 1.25; margin-bottom: 0.6rem; }
.section-title-light { color: var(--white); }
.section-divider { width: 32px; height: 2px; background: var(--teal-bright); margin-bottom: 2rem; }
.section-sub { font-size: 14px; font-weight: 300; color: #4a6a6e; line-height: 1.8; max-width: 520px; margin-bottom: 3rem; }
.section-sub-center { text-align: center; max-width: 520px; margin: 0 auto 3.5rem; }
.section-tag-center { text-align: center; }
.section-title-center { text-align: center; }

/* ── PRODUCTOS (homepage) ──────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.product-card { border: 1.5px solid #e0f0ec; border-radius: var(--radius-md); padding: 2.5rem 2rem; background: var(--white); display: flex; flex-direction: column; transition: box-shadow 0.2s; }
.product-card:hover { box-shadow: var(--shadow); }
.product-card-dark { background: var(--teal-deep); border-color: var(--teal-deep); }
.prod-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; }
.prod-tag-light { color: var(--teal-bright); }
.prod-tag-dark  { color: var(--teal-mid); }
.prod-icon { width: 44px; height: 44px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.prod-icon-light { background: rgba(131,200,179,0.15); }
.prod-icon-dark  { background: rgba(0,98,114,0.1); }
.prod-name { font-size: 22px; font-weight: 700; margin-bottom: 0.3rem; line-height: 1.2; }
.prod-name-light { color: var(--white); }
.prod-name-dark  { color: var(--black); }
.prod-desc { font-size: 13px; font-weight: 300; line-height: 1.85; flex: 1; margin-bottom: 1.5rem; }
.prod-desc-light { color: rgba(255,255,255,0.75); }
.prod-desc-dark  { color: #3a5a5e; }
.prod-features { margin-bottom: 2rem; }
.feature { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.5rem 0; font-size: 12px; font-weight: 400; line-height: 1.5; }
.feature-light { border-bottom: 1px solid rgba(131,200,179,0.15); color: rgba(255,255,255,0.8); }
.feature-dark  { border-bottom: 1px solid #e0f0ec; color: #2a4a4e; }
.feature-first-light { border-top: 1px solid rgba(131,200,179,0.15); }
.feature-first-dark  { border-top: 1px solid #e0f0ec; }
.feature-dot { width: 5px; height: 5px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.feature-dot-light { background: var(--teal-bright); }
.feature-dot-dark  { background: var(--teal-mid); }
.prod-btn { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 13px 0; border-radius: var(--radius-sm); text-align: center; cursor: pointer; border: none; transition: opacity 0.2s; }
.prod-btn:hover { opacity: 0.88; }
.prod-btn-light { background: var(--teal-bright); color: var(--black); }
.prod-btn-dark  { background: var(--teal-deep); color: var(--white); }

/* ── CÓMO FUNCIONA ─────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--border); }
.step { background: var(--teal-deep); padding: 2rem 1.5rem; }
.step-num { font-size: 32px; font-weight: 700; color: rgba(131,200,179,0.2); margin-bottom: 0.75rem; }
.step-title { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; line-height: 1.3; }
.step-body { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* ── POR QUÉ DECKER ────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.why-card { background: var(--white); border-radius: var(--radius-md); padding: 2rem 1.5rem; border-top: 3px solid var(--teal-bright); }
.why-num { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; color: var(--teal-bright); margin-bottom: 0.75rem; }
.why-title { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 0.6rem; line-height: 1.3; }
.why-body { font-size: 12px; font-weight: 300; color: #4a6a6e; line-height: 1.8; }

/* ── ELEGIBILIDAD ──────────────────────────────────────────────── */
.elig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 700px; margin: 2.5rem auto 0; }
.elig-card { border: 1.5px solid #e0f0ec; border-radius: var(--radius-md); padding: 1.75rem; }
.elig-label { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal-mid); margin-bottom: 1rem; }
.elig-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 12px; color: #2a4a4e; line-height: 1.6; padding: 0.35rem 0; }
.elig-check { color: var(--teal-bright); font-weight: 700; flex-shrink: 0; }

/* ── FORMULARIO ────────────────────────────────────────────────── */
.form-hero { background: linear-gradient(135deg, var(--black) 0%, var(--teal-deep) 100%); padding: 5rem 3rem; }
.form-wrap { max-width: 580px; margin: 0 auto; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-row-single { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.form-input { background: rgba(255,255,255,0.07); border: 1px solid rgba(131,200,179,0.25); border-radius: var(--radius-sm); padding: 11px 14px; font-size: 13px; font-family: var(--font); color: var(--white); outline: none; transition: border-color 0.2s; width: 100%; }
.form-input:focus { border-color: var(--teal-bright); }
.form-input::placeholder { color: rgba(255,255,255,0.3); }
.form-textarea { min-height: 110px; resize: vertical; }
.form-select { background: rgba(255,255,255,0.07); border: 1px solid rgba(131,200,179,0.25); border-radius: var(--radius-sm); padding: 11px 14px; font-size: 13px; font-family: var(--font); color: rgba(255,255,255,0.8); width: 100%; outline: none; }
.form-select option { background: var(--teal-deep); color: var(--white); }
.form-btn { width: 100%; padding: 15px; background: var(--teal-bright); color: var(--black); font-size: 12px; font-weight: 700; font-family: var(--font); letter-spacing: 0.15em; text-transform: uppercase; border: none; border-radius: var(--radius-sm); cursor: pointer; margin-top: 1rem; transition: opacity 0.2s; }
.form-btn:hover { opacity: 0.88; }
.form-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.form-note { font-size: 11px; font-weight: 300; color: rgba(255,255,255,0.4); text-align: center; margin-top: 1rem; line-height: 1.6; }
.form-note a { color: var(--teal-bright); }
/* Mensajes de estado del formulario */
.form-msg { font-size: 13px; font-weight: 400; text-align: center; padding: 0.85rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; line-height: 1.6; }
.form-msg-ok { background: rgba(131,200,179,0.15); border: 1px solid var(--teal-bright); color: var(--teal-bright); }
.form-msg-err { background: rgba(220,80,80,0.12); border: 1px solid rgba(220,120,120,0.5); color: #ffb3b3; }
.is-hidden { display: none; }

/* ── QUIÉNES SOMOS (nosotros) ──────────────────────────────────── */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.who-text p { font-size: 14px; font-weight: 300; color: var(--text); line-height: 1.9; margin-bottom: 1.25rem; }
.who-text p:last-child { margin-bottom: 0; }
.who-text strong { font-weight: 600; color: var(--teal-deep); }
.who-stats { display: flex; flex-direction: column; gap: 1px; background: #e0f0ec; border-radius: var(--radius-md); overflow: hidden; }
.stat-row { background: var(--white); padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 0.3rem; }
.stat-row-dark { background: var(--teal-deep); }
.stat-num { font-size: 32px; font-weight: 700; color: var(--teal-deep); line-height: 1; }
.stat-num-light { color: var(--teal-bright); }
.stat-label { font-size: 11px; font-weight: 500; color: var(--text); letter-spacing: 0.05em; }
.stat-label-light { color: rgba(255,255,255,0.7); }

/* ── APORTE / PILARES ──────────────────────────────────────────── */
.market-intro { font-size: 15px; font-weight: 300; color: var(--text); line-height: 1.9; max-width: 680px; margin-bottom: 3rem; }
.market-intro strong { font-weight: 600; color: var(--teal-deep); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.pillar { background: var(--white); border-radius: var(--radius-md); padding: 2rem 1.5rem; border-top: 3px solid var(--teal-bright); }
.pillar-icon { width: 40px; height: 40px; background: var(--teal-light); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.pillar-title { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 0.6rem; line-height: 1.3; }
.pillar-body { font-size: 12px; font-weight: 300; color: var(--text); line-height: 1.85; }

/* ── CONTEXTO (problema/solución) ──────────────────────────────── */
.ps-grid { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 3rem; max-width: 820px; margin: 2.5rem auto 0; }
.ps-divider-v { background: var(--border); }
.ps-label { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; }
.ps-label-dim { color: rgba(255,255,255,0.4); }
.ps-label-bright { color: var(--teal-bright); }
.ps-title { font-size: 18px; font-weight: 600; line-height: 1.3; margin-bottom: 1rem; }
.ps-title-dim { color: rgba(255,255,255,0.7); }
.ps-title-bright { color: var(--white); }
.ps-body { font-size: 13px; font-weight: 300; line-height: 1.85; }
.ps-body-dim { color: rgba(255,255,255,0.5); }
.ps-body-bright { color: rgba(255,255,255,0.75); }

/* ── MISIÓN Y VISIÓN ───────────────────────────────────────────── */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.mv-card { border-radius: var(--radius-md); padding: 2.5rem; }
.mv-mision { background: var(--teal-deep); }
.mv-vision { background: var(--teal-light); border: 1.5px solid #c0e8de; }
.mv-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; }
.mv-tag-light { color: var(--teal-bright); }
.mv-tag-dark  { color: var(--teal-mid); }
.mv-title { font-size: 20px; font-weight: 700; line-height: 1.25; margin-bottom: 1rem; }
.mv-title-light { color: var(--white); }
.mv-title-dark  { color: var(--black); }
.mv-body { font-size: 13px; font-weight: 300; line-height: 1.9; }
.mv-body-light { color: rgba(255,255,255,0.7); }
.mv-body-dark  { color: var(--text); }

/* ── VALORES ───────────────────────────────────────────────────── */
.values-list { margin-top: 2.5rem; }
.value-row { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; align-items: flex-start; padding: 1.75rem 0; border-bottom: 1px solid #c0e8de; }
.value-row:first-child { border-top: 1px solid #c0e8de; }
.value-num { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; color: var(--teal-bright); margin-bottom: 0.4rem; }
.value-name { font-size: 16px; font-weight: 700; color: var(--black); line-height: 1.25; }
.value-body { font-size: 13px; font-weight: 300; color: var(--text); line-height: 1.9; padding-top: 0.25rem; }

/* ── PROMESA ───────────────────────────────────────────────────── */
.promise-box { max-width: 640px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 3.5rem 3rem; text-align: center; }
.promise-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 1.5rem; }
.promise-text { font-size: 22px; font-weight: 300; color: var(--white); line-height: 1.6; }
.promise-text strong { font-weight: 700; color: var(--teal-bright); }

/* ── CTA ───────────────────────────────────────────────────────── */
.cta-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-title { font-size: 22px; font-weight: 700; color: var(--black); margin-bottom: 0.4rem; }
.cta-sub { font-size: 13px; font-weight: 300; color: var(--text); line-height: 1.7; }
.btn-primary { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 14px 32px; background: var(--teal-deep); color: var(--white); border: none; border-radius: var(--radius-sm); cursor: pointer; white-space: nowrap; transition: opacity 0.2s; display: inline-block; }
.btn-primary:hover { opacity: 0.88; }

/* ── SERVICIOS (índice de productos) ───────────────────────────── */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 820px; margin: 0 auto; }
.svc-card { border: 1.5px solid #e0f0ec; border-radius: var(--radius-md); padding: 2.5rem 2rem; background: var(--white); display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.2s; }
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-card-dark { background: var(--teal-deep); border-color: var(--teal-deep); }
.svc-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; }
.svc-name { font-size: 22px; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.2; }
.svc-desc { font-size: 13px; font-weight: 300; line-height: 1.85; flex: 1; margin-bottom: 1.5rem; }
.svc-link { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

/* ── CONTENIDO LEGAL (stubs) ───────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 18px; font-weight: 700; color: var(--black); margin: 2rem 0 0.75rem; line-height: 1.3; }
.legal h2:first-child { margin-top: 0; }
.legal p { font-size: 14px; font-weight: 300; color: var(--text); line-height: 1.9; margin-bottom: 1rem; }
.legal ul { margin: 0 0 1rem 1.25rem; }
.legal li { font-size: 14px; font-weight: 300; color: var(--text); line-height: 1.9; margin-bottom: 0.4rem; }
.legal strong { font-weight: 600; color: var(--teal-deep); }
.legal a { color: var(--teal-mid); }
.legal-note { font-size: 12px; font-weight: 300; color: #6a8a8e; font-style: italic; border-left: 3px solid var(--teal-bright); padding: 0.5rem 0 0.5rem 1rem; margin: 1.5rem 0; line-height: 1.7; }

/* ── FOOTER ────────────────────────────────────────────────────── */
.footer { background: var(--black); padding: 2.5rem 3rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-logo { font-size: 14px; font-weight: 700; letter-spacing: 0.2em; color: var(--white); margin-bottom: 0.75rem; }
.footer-legal { font-size: 10px; font-weight: 300; color: rgba(255,255,255,0.3); line-height: 1.9; max-width: 380px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-content: flex-start; padding-top: 0.25rem; max-width: 420px; }
.footer-links a { font-size: 10px; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-links a:hover { color: var(--teal-bright); }

/* ── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .hero-title { font-size: 30px; }
  .page-hero { padding: 4rem 1.5rem 3rem; }
  .page-title { font-size: 30px; }
  .section, .section-lg { padding: 3.5rem 1.5rem; }
  .products-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .elig-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .ps-grid { grid-template-columns: 1fr; }
  .ps-divider-v { display: none; }
  .mv-grid { grid-template-columns: 1fr; }
  .value-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .svc-grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; padding: 2rem 1.5rem; }
}
