@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #F4F1EA;
  --paper-2: #EAE5DB;
  --ink: #151513;
  --ink-2: #4A4740;
  --line: #D6D0C4;
  --dark-2: #B9B3A6;
  --amber: #F2A900;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(56px, 8vw, 112px);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
html.lang-en .es, html.lang-es .en { display: none !important; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.actions { display: flex; align-items: center; gap: 8px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 2px; border: 1px solid transparent; font: inherit; font-weight: 700; font-stretch: 85%; font-size: 17px; letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2B2A27; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #FFB81C; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: 14px; letter-spacing: 0.06em; }
.btn-sm svg { width: 16px; height: 16px; }

/* Textos */
h1, h2, h3 { margin: 0; text-transform: uppercase; }
.kicker { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 600; font-stretch: 85%; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.tri { width: 14px; height: 10px; flex: none; fill: var(--amber); }
.h1 { font-weight: 800; font-stretch: 66%; font-size: clamp(52px, 9vw, 132px); line-height: 0.88; letter-spacing: -0.005em; }
.h2 { font-weight: 800; font-stretch: 70%; font-size: clamp(36px, 5.4vw, 76px); line-height: 0.95; text-wrap: balance; }
.h3 { font-weight: 700; font-stretch: 75%; font-size: 26px; line-height: 1.05; }
.lead { margin: 0; max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); text-wrap: pretty; }

/* Portada */
.hero { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(48px, 6vw, 88px); display: flex; flex-direction: column; gap: 28px; }
.hero-row { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: flex-start; }
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.wa { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-weight: 600; text-underline-offset: 4px; }
.wa svg { width: 18px; height: 18px; flex: none; }
.hero-media { flex: 1 1 420px; min-width: 0; position: relative; margin: 0; padding: 18px 0 0 18px; }
.hero-media .tri-big { position: absolute; top: 0; left: 0; width: 88px; height: 62px; z-index: 1; fill: var(--amber); }
.hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--line); }

/* Banda de datos */
.facts { background: var(--ink); color: var(--paper); }
.facts ul { margin: 0 auto; list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 22px; padding-bottom: 22px; }
.facts li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-stretch: 80%; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; }

/* Secciones */
.section { padding-top: var(--sec); padding-bottom: var(--sec); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 900px; margin-bottom: clamp(32px, 4vw, 56px); }
.alt { background: var(--paper-2); }
.rule-top { border-top: 1px solid var(--line); }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); column-gap: 48px; margin: 0; padding: 0; list-style: none; }
.services li { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.badge { flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--amber); color: var(--ink); font-weight: 800; font-stretch: 75%; font-size: 18px; }
.services p { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; }

/* Cómo trabajamos */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; gap: 12px; }
.step-n { font-weight: 800; font-stretch: 62%; font-size: 88px; line-height: 0.8; }
.step-bar { width: 56px; height: 6px; background: var(--amber); }
.steps .h3 { margin-top: 4px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* Trabajos (oculta hasta tener fotos reales) */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.work-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Zona y quiénes somos */
.two-col { display: flex; flex-wrap: wrap; gap: 48px; }
.two-col > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.area-names { margin: 0; font-weight: 800; font-stretch: 66%; font-size: clamp(56px, 8vw, 112px); line-height: 0.9; text-transform: uppercase; }
.two-col p { margin: 0; }
.about-text { font-size: 18px; max-width: 560px; text-wrap: pretty; }

/* Contacto */
.contact { background: var(--ink); color: var(--paper); }
.contact .kicker { color: var(--dark-2); }
.contact .wrap { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); }
.contact-info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-info .label { margin: 24px 0 0; color: var(--dark-2); }
.big-phone { color: var(--paper); text-decoration: none; font-weight: 800; font-stretch: 70%; font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.contact .wa { color: var(--paper); }
.contact form { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.contact label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; font-stretch: 85%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dark-2); }
.contact input, .contact select, .contact textarea { width: 100%; min-height: 48px; padding: 0 14px; background: var(--paper); color: var(--ink); border: 1px solid var(--paper); border-radius: 2px; font: inherit; font-size: 16px; font-weight: 400; font-stretch: 100%; letter-spacing: normal; text-transform: none; }
.contact select { padding: 0 12px; }
.contact textarea { padding: 12px 14px; min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { margin: 0; font-size: 14px; color: var(--dark-2); }
.consent a { color: var(--paper); }
.form-status { margin: 0; padding: 12px 14px; font-size: 16px; }
.form-status.ok { background: var(--amber); color: var(--ink); }
.form-status.err { background: #F4D5CF; color: #5A1A10; }
.contact form .btn { align-self: flex-start; }
.contact button[disabled] { opacity: 0.6; cursor: progress; }

/* Pie */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { height: 32px; width: auto; }
.foot-brand p { margin: 0; display: flex; flex-direction: column; font-size: 14px; line-height: 1.4; }
.foot-brand strong { font-weight: 600; }
.foot-brand span { color: var(--ink-2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.foot-links span { color: var(--ink-2); }

/* Barra fija de llamar (solo móvil) */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 12px calc(14px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .callbar .btn { min-height: 52px; padding: 0 12px; font-size: 16px; }
  body { padding-bottom: 84px; }
  .call-short .num { display: none; }
}

/* Páginas legales */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(64px, 8vw, 112px); }
.doc .back { display: inline-block; margin-bottom: 24px; font-weight: 600; }
.doc h1 { font-weight: 800; font-stretch: 70%; font-size: clamp(40px, 6vw, 64px); line-height: 0.95; }
.doc .date { margin: 12px 0 32px; color: var(--ink-2); }
.doc h2 { margin-top: 40px; font-weight: 700; font-stretch: 75%; font-size: 26px; line-height: 1.1; }
.doc p, .doc li { font-size: 17px; text-wrap: pretty; }
.doc ul { padding-left: 20px; }
