/* =========================================================
   Green Group Colombia · Documento de ingreso
   Identidad tomada del sitio oficial del cliente:
   verde lima #75C414 · verde #007A41 · verde profundo #004937
   Tipografías: Roboto (titulares) + Century Gothic (texto)
   ========================================================= */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/roboto-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Century Gothic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/centurygothic.ttf') format('truetype');
}

:root {
  --lima: #75c414;
  --lima-suave: #8abf43;
  --verde: #007a41;
  --verde-medio: #217849;
  --profundo: #0b4937;
  --profundo-2: #0d5641;
  --noche: #06281e;
  --hueso: #f3f3f3;
  --blanco: #ffffff;
  --texto: #2b2b2b;
  --linea: rgba(255, 255, 255, 0.14);
  --linea-fuerte: rgba(255, 255, 255, 0.26);
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  --sans: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --texto-fuente: 'Century Gothic', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --shell: 1180px;
  --r: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--profundo);
  color: var(--blanco);
  font-family: var(--texto-fuente);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

.sr, .skip {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  top: 10px; left: 10px;
  width: auto; height: auto;
  clip: auto;
  z-index: 99;
  background: var(--lima);
  color: var(--noche);
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 13px;
}

/* ---------- TOPBAR ---------- */
.topline {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 73, 55, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linea);
}
.topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  color: var(--lima);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 15px;
}
.doc-label {
  flex: 1;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.doc-label i { width: 22px; height: 1px; background: var(--lima); display: block; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lima);
  border-bottom: 1px solid rgba(117, 196, 20, 0.4);
  padding-bottom: 3px;
}
.nav-link:hover { border-color: var(--lima); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 84px;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(117, 196, 20, 0.16), transparent 62%),
    linear-gradient(180deg, var(--profundo) 0%, var(--noche) 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(900px 460px at 24% 12%, #000 10%, transparent 78%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.32fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.eyebrow i { width: 26px; height: 1px; background: var(--lima); }

h1 {
  margin: 0 0 22px;
  font-family: var(--sans);
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.021em;
}
h1 em {
  font-style: normal;
  color: var(--lima);
}
.lead {
  margin: 0;
  max-width: 56ch;
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-facts {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--linea);
  border: 1px solid var(--linea);
}
.hero-facts li {
  display: flex;
  gap: 16px;
  align-items: center;
  background: rgba(6, 40, 30, 0.62);
  padding: 18px 20px;
}
.hero-facts .ico { color: var(--lima); flex: 0 0 auto; }
.hero-facts .ico svg { width: 23px; height: 23px; }
.hero-facts b {
  display: block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.01em;
}
.hero-facts div > span {
  display: block;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

/* Price card */
.price-card {
  background: linear-gradient(170deg, var(--profundo-2), var(--noche));
  border: 1px solid var(--linea-fuerte);
  padding: 26px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--linea);
}
.card-head b { color: var(--lima); letter-spacing: 0.1em; }
.price-card h2 {
  margin: 20px 0 24px;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1;
  letter-spacing: -0.026em;
}
.price-card h2 small {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}
.split {
  display: grid;
  gap: 1px;
  background: var(--linea);
  border: 1px solid var(--linea);
}
.split > div {
  background: rgba(6, 40, 30, 0.5);
  padding: 16px 18px;
}
.step {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lima);
}
.split b {
  display: block;
  margin: 6px 0 3px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
}
.split small {
  display: block;
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
}
.card-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--linea);
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- SECTIONS ---------- */
.section { padding: 84px 0; border-top: 1px solid var(--linea); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.wide {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 56px;
  align-items: end;
}
h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(27px, 3.2vw, 41px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.022em;
}
h2 em { font-style: normal; color: var(--lima); }
h3 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.012em;
}
.section-lead {
  margin: 0;
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.72);
}
p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }

/* Conditions */
.conditions { background: var(--profundo); }
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--linea);
  border: 1px solid var(--linea);
}
.cond {
  background: var(--profundo);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}
.cond-num {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--lima);
  margin-bottom: 16px;
}
.cond p { font-size: 15.5px; color: rgba(255, 255, 255, 0.72); }
.cond-amount {
  margin-top: auto;
  padding-top: 20px;
  font-family: var(--sans);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--blanco);
}
.cond-amount.accent { color: var(--lima); }

/* Requirements */
.require { background: linear-gradient(180deg, var(--noche), var(--profundo)); }
.require-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.require-copy h2 { margin-bottom: 20px; }
.require-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--linea);
  border: 1px solid var(--linea);
}
.require-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(6, 40, 30, 0.55);
  padding: 26px 24px;
}
.req-ico { flex: 0 0 auto; color: var(--lima); }
.req-ico svg { width: 27px; height: 27px; }
.require-list h3 { font-size: 18px; }
.require-list p { font-size: 15.5px; color: rgba(255, 255, 255, 0.72); }

/* Fees */
.fees { background: var(--profundo); }
.fees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}
.fee-card {
  background: rgba(6, 40, 30, 0.55);
  border: 1px solid var(--linea);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.fee-card.highlight {
  border-color: rgba(117, 196, 20, 0.5);
  background: linear-gradient(170deg, rgba(117, 196, 20, 0.09), rgba(6, 40, 30, 0.6));
}
.fee-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lima);
  margin-bottom: 12px;
}
.fee-card h3 { font-size: 17px; margin-bottom: 18px; }
.fee-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--linea);
}
.fee-price .money {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 31px;
  letter-spacing: -0.026em;
}
.fee-price small {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
}
.fee-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.fee-notes li {
  position: relative;
  padding-left: 17px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}
.fee-notes li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--lima);
}
.fee-notes b { color: var(--blanco); font-weight: 700; }

/* Calculator */
.calc {
  border: 1px solid var(--linea);
  background: rgba(6, 40, 30, 0.45);
}
.calc-head {
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--linea);
}
.calc-head h3 { margin: 0; font-size: 20px; }
.calc-body { padding: 6px 0 22px; }
.calc-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 13px;
}
.calc-table th {
  text-align: right;
  padding: 14px 16px 12px;
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid var(--linea);
  white-space: nowrap;
}
.calc-table th:first-child { text-align: left; }
.calc-table td {
  padding: 13px 16px;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.82);
}
.calc-table td:first-child { text-align: left; color: var(--blanco); }
.calc-table tr:last-child td { border-bottom: none; }
.calc-table td.total { font-weight: 700; color: var(--blanco); }
.calc-table td.eff { color: var(--lima); font-weight: 700; }
.calc-note {
  margin: 0;
  padding: 18px 26px 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

/* Scope */
.scope { background: linear-gradient(180deg, var(--profundo), var(--noche)); }
.scope-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--linea);
  border: 1px solid var(--linea);
}
.scope-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  background: rgba(6, 40, 30, 0.5);
  padding: 20px 22px;
  font-size: 16px;
}
.scope-list span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--lima);
  flex: 0 0 auto;
}
.scope-note {
  margin-top: 20px;
  padding: 18px 22px;
  border: 1px dashed var(--linea-fuerte);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}
.scope-note b { color: var(--lima); }

/* Closing */
.closing {
  background:
    radial-gradient(760px 380px at 78% 104%, rgba(117, 196, 20, 0.14), transparent 66%),
    var(--profundo);
}
.closing-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.closing h2 { margin-bottom: 20px; }
.closing-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 24px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: transform .16s ease, background .16s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn.primary {
  background: var(--lima);
  color: var(--noche);
  font-weight: 700;
}
.btn.primary:hover { transform: translateY(-1px); background: #83d81a; }
.btn.ghost {
  background: transparent;
  border-color: var(--linea-fuerte);
  color: var(--blanco);
}
.btn.ghost:hover { border-color: var(--lima); color: var(--lima); }

/* Footer */
.footer {
  border-top: 1px solid var(--linea);
  padding: 30px 0;
  background: var(--noche);
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  background: var(--hueso);
  padding: 14px 18px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
}
.footer-brand img { width: 168px; height: auto; }
.footer-grid p {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-grid, .require-grid, .closing-grid, .section-head.wide {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .conditions-grid, .fees-grid { grid-template-columns: 1fr; }
  .scope-list { grid-template-columns: 1fr; }
  .doc-label { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .shell { padding: 0 18px; }
  .hero { padding: 62px 0 58px; }
  .section { padding: 60px 0; }
  .nav-link { display: none; }
  .price-card { padding: 22px 18px; }
  .calc-table th:nth-child(2), .calc-table td:nth-child(2),
  .calc-table th:nth-child(3), .calc-table td:nth-child(3) { display: none; }
  .calc-table th, .calc-table td { padding: 12px 10px; }
  .calc-note { padding: 16px 18px 0; }
  .footer-brand img { width: 140px; }
}

/* ---------- PRINT ---------- */
@media print {
  body { background: #fff; color: #111; }
  .topline, .closing-actions, .skip { display: none; }
  .hero, .section, .closing, .footer { background: #fff !important; padding: 22px 0; }
  .hero-grain, .fee-card.highlight { background: none !important; }
  h1, h2, h3, .cond-amount, .fee-price .money { color: #0b4937 !important; }
  h1 em, h2 em { color: #007a41 !important; }
  .lead, .cond p, .fee-notes li, .section-lead { color: #333 !important; }
  .eyebrow, .fee-tag, .step, .cond-num, .scope-list span { color: #007a41 !important; }
  .cond, .fee-card, .calc, .scope-list li, .require-list li, .hero-facts li, .split > div {
    background: #fff !important;
    border-color: #ccc !important;
  }
  .conditions-grid, .fees-grid, .require-list, .scope-list, .hero-facts, .split {
    background: #ccc !important;
    border-color: #ccc !important;
  }
  .btn.primary { background: #0b4937; color: #fff; }
  .footer { border-top: 1px solid #ccc; }
  section, .fee-card, .cond { break-inside: avoid; }

  /* Tarjeta de precio y bloques internos: fondo claro y texto oscuro */
  .price-card, .split, .split > div, .hero-facts li, .card-note {
    background: #fff !important;
    border-color: #ccc !important;
  }
  .price-card {
    background: #fff !important;
    border: 1px solid #ccc !important;
  }
  .price-card h2,
  .price-card h2 .money,
  .split b,
  .hero-facts b,
  .cond-amount:not(.accent),
  .calc-table td,
  .calc-table td.total,
  .calc-table td:first-child { color: #0b4937 !important; }
  .cond-amount.accent, .calc-table td.eff { color: #007a41 !important; }
  .card-head, .card-head b, .price-card h2 small, .step, .split small, .card-note,
  .hero-facts div > span, .calc-table th, .calc-note { color: #444 !important; }
  .fee-price { border-bottom-color: #ccc !important; }
  .fee-price small { color: #444 !important; }
  .calc-table td { border-bottom-color: #ddd !important; }
  .footer-brand { background: #fff !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
