/* ABC Translation Colombia
   Palette: cool paper, emerald "seal" ink, wax-red seal as the one bold accent. */
:root {
  --paper: #f3f5f3;
  --paper-2: #fbfcfa;
  --white: #ffffff;
  --ink: #1b2428;
  --muted: #56646a;
  --rule: #d5ddd9;
  --seal: #0f4c45;
  --seal-dark: #0a3530;
  --seal-tint: #e3eeeb;
  --wax: #a1283f;
  --wax-dark: #7c1c2f;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--paper);
}
img, svg { max-width: 100%; }
a { color: var(--seal); text-underline-offset: 3px; }
a:hover { color: var(--wax); }
:focus-visible { outline: 3px solid var(--wax); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 700; letter-spacing: -.01em; max-width: 22ch; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0 0 1em; max-width: 70ch; }
.lead { font-size: 1.2rem; color: var(--ink); max-width: 62ch; }
.muted { color: var(--muted); font-size: .9rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 820px; }

.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; }

/* Buttons */
.btn {
  display: inline-block; font: 600 1rem/1 var(--sans); padding: .95em 1.4em; border-radius: var(--r);
  background: var(--seal); color: #fff; text-decoration: none; border: 2px solid var(--seal); cursor: pointer;
}
.btn:hover { background: var(--seal-dark); border-color: var(--seal-dark); color: #fff; }
.btn-small { padding: .6em 1em; font-size: .92rem; }
.btn-light { background: #fff; color: var(--seal); border-color: #fff; }
.btn-light:hover { background: var(--paper); color: var(--seal-dark); border-color: var(--paper); }
.btn-ghost { background: transparent; color: var(--seal); }
.btn-ghost:hover { background: var(--seal-tint); color: var(--seal-dark); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-text { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; line-height: 1; }
.logo-text small { display: block; font-family: var(--sans); font-weight: 500; font-size: .75rem; color: var(--muted); margin-top: .25rem; letter-spacing: .02em; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav a { display: block; padding: .55rem .7rem; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; border-radius: var(--r); }
.site-nav a:hover { background: var(--paper); color: var(--seal); }
.site-nav .btn { color: #fff; margin-left: .4rem; }
.site-nav .btn:hover { background: var(--seal-dark); color: #fff; }
.lang-switch { border: 1px solid var(--rule); }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; left: 0; min-width: 290px;
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: 0 12px 30px -12px rgba(15,76,69,.25);
  display: none; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.nav-toggle { display: none; font: 600 .95rem var(--sans); background: none; border: 1px solid var(--rule); border-radius: var(--r); padding: .55rem .9rem; color: var(--ink); cursor: pointer; }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--rule); padding: .5rem 1.25rem 1.25rem; }
  .site-nav > ul { flex-direction: column; align-items: stretch; }
  .sub { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 1rem; min-width: 0; }
  .site-nav .btn { margin: .5rem 0 0; text-align: center; }
  .header-inner { position: relative; }
  .site-header { position: relative; }
}

/* Hero */
.hero { background: var(--paper); padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 17ch; }
.hero-visual { display: flex; justify-content: center; }
.hero-art { width: 100%; max-width: 420px; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .seal { animation: stamp .7s cubic-bezier(.2,.9,.3,1.2) .35s both; }
  @keyframes stamp { from { opacity: 0; transform: scale(1.6) rotate(-20deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
}
.quick { margin: 1.8rem 0 1.2rem; max-width: 560px; }
.quick label { display: block; font-weight: 600; margin-bottom: .4rem; }
.quick-row { display: flex; gap: .5rem; }
.quick-row select { flex: 1; }
.hero-contact { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; font-size: .98rem; }
.hero-contact .ico { width: 18px; height: 18px; color: var(--seal); margin-right: -.6rem; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-visual { order: -1; }
  .hero-art { max-width: 210px; }
  .quick-row { flex-direction: column; }
}

/* Sections */
.section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.page-head { padding: 2rem 0 2.5rem; background: var(--white); border-bottom: 1px solid var(--rule); }
.page-head .btn { margin-top: .5rem; }
.page-head-row { display: flex; align-items: center; gap: 1rem; }
.page-head-row h1 { margin-bottom: .4em; }
.thanks { padding: 5rem 0; }
.split { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; align-items: start; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 820px) { .split, .two-col { grid-template-columns: 1fr; gap: 1.5rem; } }

.ico { width: 26px; height: 26px; flex: none; color: var(--seal); }
.ico-lg { width: 52px; height: 52px; padding: 10px; border: 1.5px solid var(--seal); border-radius: 50%; margin-bottom: .4em; }

/* Breadcrumbs */
.crumbs ol { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 .5rem; color: var(--rule); }
.crumbs a { color: var(--muted); }

/* Ledger: rows separated by rules, like entries in a register */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ledger li { border-bottom: 1px solid var(--rule); }
.ledger a { display: grid; grid-template-columns: 36px minmax(180px, 1fr) 2fr; gap: 1rem; align-items: baseline; padding: 1.1rem .5rem; text-decoration: none; color: var(--ink); }
.ledger a .ico { align-self: center; }
.ledger a:hover { background: var(--white); }
.section.alt .ledger a:hover { background: var(--paper); }
.ledger-title { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.ledger a:hover .ledger-title { color: var(--seal); text-decoration: underline; text-decoration-thickness: 1px; }
.ledger-text { color: var(--muted); }
.ledger-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); column-gap: 2.5rem; border-top: 0; }
.ledger-cols li:nth-child(-n+3) { border-top: 2px solid var(--ink); }
.ledger-cols a { grid-template-columns: 1fr auto; }
.ledger-cols .ledger-title { font-size: 1.15rem; }
.ledger-cols .ledger-text { font-size: .9rem; text-align: right; }
.two-col .ledger a { grid-template-columns: 36px 1fr; }
.two-col .ledger-text { grid-column: 2; }
@media (max-width: 700px) {
  .ledger a { grid-template-columns: 30px 1fr; gap: .2rem .8rem; }
  .ledger-text { grid-column: 2; }
  .ledger-cols li:nth-child(-n+3) { border-top: 0; }
  .ledger-cols li:first-child { border-top: 2px solid var(--ink); }
}

/* Chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a { display: inline-block; padding: .45rem .85rem; border: 1px solid var(--rule); border-radius: var(--r); background: var(--white); text-decoration: none; color: var(--ink); font-size: .95rem; }
.section.alt .chips a { background: var(--paper); }
.chips a:hover { border-color: var(--seal); color: var(--seal); }

/* Lists */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--rule); }
.checks .ico { width: 20px; height: 20px; margin-top: .2rem; color: var(--wax); }
.plain { margin: 0; padding-left: 1.1rem; }
.plain li { padding: .2rem 0; }
.panel { background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--seal); padding: 1.6rem; border-radius: var(--r); }
.section.alt .panel { background: var(--paper-2); }
.note { background: var(--seal-tint); border-left: 3px solid var(--seal); padding: .9rem 1.1rem; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }

/* Process: a real sequence, so numbered */
.process { background: var(--seal); color: #fff; }
.process h2, .process h3 { color: #fff; }
.steps { list-style: none; margin: 1.5rem 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid rgba(255,255,255,.35); padding-top: 1rem; }
.steps li::before { content: counter(step); display: block; font: 700 2.6rem/1 var(--serif); color: #f0c9cf; margin-bottom: .6rem; }
.steps p { color: rgba(255,255,255,.85); font-size: .98rem; }
.price-note { color: rgba(255,255,255,.85); font-style: italic; font-family: var(--serif); font-size: 1.1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .9rem; font: 400 1.5rem/1 var(--serif); color: var(--seal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1rem; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--wax); color: #fff; padding: 3rem 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); }
.cta-band a:not(.btn) { color: #fff; }
.cta-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-actions p { font-size: .95rem; }

/* Forms */
.quote-form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 1rem; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  display: block; width: 100%; margin-top: .35rem; font: 400 1rem var(--sans); color: var(--ink);
  background: var(--white); border: 1px solid #b9c5c0; border-radius: var(--r); padding: .75rem .8rem;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--seal) 50%), linear-gradient(135deg, var(--seal) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--seal); outline-offset: 0; border-color: var(--seal); }
.quote-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.2rem; }
@media (max-width: 640px) { .quote-form .grid-2 { grid-template-columns: 1fr; } }
.opt { font-weight: 400; color: var(--muted); }
.file-label input { display: block; margin-top: .5rem; font: inherit; font-weight: 400; }
.help { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: .3rem; }
.consent { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 400 !important; }
.consent input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--seal); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: .9rem 1.1rem; border-radius: var(--r); margin-bottom: 1rem; background: #fbe9ec; border-left: 4px solid var(--wax); color: var(--wax-dark); }
.form-alert.ok { background: var(--seal-tint); border-color: var(--seal); color: var(--seal-dark); }
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.big-link { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; font-weight: 600; word-break: break-word; }

/* Footer */
.site-footer { background: var(--seal-dark); color: rgba(255,255,255,.82); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer h2 { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .2rem 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.logo-footer { color: #fff; margin-bottom: 1rem; }
.logo-footer small { color: rgba(255,255,255,.7); }
.footer-contact .ico { width: 16px; height: 16px; color: #fff; vertical-align: -3px; margin-right: .4rem; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,.18); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .88rem; }
.footer-base p { margin: 0; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media print { .site-header, .site-footer, .cta-band, .quote-form { display: none; } }
