/* ═══════════════════════════════════════════════════════════════
   site.css — Estilos compartidos del sitio público de CMS
   (Inicio, Nosotros, Servicios, Cultura y Patrimonio, Contacto).
   Un solo archivo: un cambio aquí se refleja en todas las páginas.
   ═══════════════════════════════════════════════════════════════ */
:root { --green: #001f19; --green-2: #003329; --green-3: #0a4a3c; --gold: #e6a24d; --gold-2: #d99540; --gold-soft: rgba(230, 162, 77, 0.14); --slate: #f6f8f7; --text: #1f2937; --muted: #5f6978; --line: #e5e7eb; --radius: 10px; --serif: "Playfair Display", Georgia, "Times New Roman", serif; --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; --shadow: 0 14px 34px rgba(0, 31, 25, 0.14); --shadow-gold: 0 16px 40px rgba(214, 149, 64, 0.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); background: var(--slate); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(100% - 32px, 1200px); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0, 31, 25, 0.97); backdrop-filter: blur(8px); color: #fff; box-shadow: 0 2px 18px rgba(0, 0, 0, 0.16); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 56px; height: 44px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-name { color: #fff; font-size: 23px; font-weight: 800; letter-spacing: 0.01em; }
.brand-kicker { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { position: relative; color: rgba(255, 255, 255, 0.88); font-weight: 600; font-size: 15px; transition: color 180ms ease; }
.nav-link:hover, .nav-link:focus-visible, .nav-link.active { color: var(--gold); outline: none; }
.nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--gold); }
.nav-cta { padding: 9px 18px; border-radius: var(--radius); background: var(--gold); color: var(--green) !important; font-weight: 800; }
.nav-cta:hover { background: var(--gold-2); }
.menu-button { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius); background: transparent; color: #fff; cursor: pointer; }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; width: 20px; height: 2px; background: currentColor; display: block; }
.menu-button span { margin: 5px 0; }
h1, h2, h3, h4 { color: inherit; margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.005em; }
h1 { font-size: clamp(36px, 5.4vw, 56px); }
h2 { font-size: clamp(29px, 4vw, 43px); }
h3 { font-size: 20px; letter-spacing: -0.01em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 13px 28px; border-radius: var(--radius); font-weight: 800; font-family: var(--sans); font-size: 15.5px; cursor: pointer; transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease; }
.button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.button-primary { background: var(--gold); color: var(--green); box-shadow: var(--shadow-gold); }
.button-primary:hover { background: var(--gold-2); transform: translateY(-2px); }
.button-secondary { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.28); }
.button-secondary:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.button-ghost { background: #fff; color: var(--green); box-shadow: var(--shadow); }
.button-ghost:hover { transform: translateY(-2px); }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.section { padding: 84px 0; background: #fff; }
.section.alt { background: var(--slate); }
.section.dark { background: linear-gradient(135deg, var(--green), var(--green-2)); color: #fff; }
.section-head { max-width: 820px; margin: 0 auto 46px; display: grid; justify-items: center; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; justify-items: start; max-width: 760px; }
.section-head p, .muted { color: var(--muted); margin: 18px 0 0; font-size: 18px; }
.dark .section-head p, .dark .muted { color: rgba(255, 255, 255, 0.78); }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.rule { width: 74px; height: 4px; border-radius: 999px; background: var(--gold); margin: 20px auto 0; }
.section-head.left .rule { margin-left: 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); }
.card.soft { background: var(--slate); }
.card.accent-top { border-top: 4px solid var(--green); }
.card.accent-left { border-left: 4px solid var(--gold); }
.card h3 { color: var(--green); margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(140deg, var(--green-2), var(--green)); color: var(--gold); margin-bottom: 18px; font-size: 25px; }
.icon.round { border-radius: 50%; width: 62px; height: 62px; margin: 0 auto 18px; }
.center { text-align: center; }
.card, .section-head, .page-hero .container, .reveal { opacity: 0; transform: translateY(22px); transition: opacity 520ms ease, transform 520ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.card.is-visible, .section-head.is-visible, .page-hero .container.is-visible, .reveal.is-visible { opacity: 1; transform: translateY(0); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 44px; align-items: center; }
.split.wide-left { grid-template-columns: 1.1fr 0.9fr; }
.media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,31,25,0.55), transparent 58%); mix-blend-mode: multiply; }
.media .media-tag { position: absolute; left: 18px; bottom: 15px; color: #fff; font-family: var(--serif); font-size: 18px; z-index: 2; }
.lead-text p { color: var(--muted); font-size: 18px; margin: 0 0 16px; }
.lead-text p:last-child { margin-bottom: 0; }
.callout { background: linear-gradient(150deg, var(--green-2), var(--green)); color: #fff; border-radius: var(--radius); border-left: 4px solid var(--gold); padding: 40px; box-shadow: var(--shadow); }
.callout h3 { color: #fff; font-size: 25px; margin: 0 0 14px; }
.callout p { color: rgba(255,255,255,0.82); margin: 0 0 14px; font-size: 16px; }
.callout .slogan { font-family: var(--serif); color: var(--gold); font-size: 21px; font-weight: 500; margin: 4px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: 12.5px; font-weight: 600; color: var(--green); background: var(--gold-soft); border: 1px solid rgba(214,149,64,.35); padding: 5px 11px; border-radius: 999px; }
.profile { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 4px 16px rgba(15,23,42,.05); }
.avatar { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg,var(--green-2),var(--green)); color: var(--gold); font-family: var(--serif); font-weight: 700; font-size: 27px; border: 2px solid var(--gold); }
.profile h3 { color: var(--green); margin: 0; font-size: 22px; }
.profile .role { color: var(--gold-2); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin: 4px 0 12px; }
.profile p { color: var(--muted); margin: 0 0 10px; font-size: 15px; }
.cred { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green); background: var(--gold-soft); border: 1px solid rgba(214,149,64,.35); border-radius: 999px; padding: 6px 13px; font-size: 13px; margin-bottom: 12px; }
.site-footer { background: var(--green); color: #fff; padding: 54px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-logo { width: 138px; margin-bottom: 16px; }
.footer-tag { font-family: var(--serif); color: var(--gold); font-size: 15px; margin: 12px 0 0; max-width: 30ch; }
.site-footer h3 { color: var(--gold); font-size: 17px; margin-bottom: 14px; }
.site-footer p, .site-footer a { color: rgba(255, 255, 255, 0.75); }
.footer-links { display: grid; gap: 10px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { padding-top: 24px; text-align: center; color: rgba(255, 255, 255, 0.62); font-size: 14px; }
.page-hero { position: relative; background: radial-gradient(120% 130% at 85% 0%, var(--green-3) 0%, var(--green-2) 45%, var(--green) 100%); color: #fff; text-align: center; padding: 84px 0; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 45% at 12% 115%, rgba(230,162,77,0.14), transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; display: grid; justify-items: center; }
.page-hero p { max-width: 820px; margin: 22px auto 0; color: rgba(255, 255, 255, 0.85); font-size: 19px; }
.breadcrumb { list-style: none !important; padding-inline-start: 0 !important; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.breadcrumb li { list-style: none !important; display: inline-flex; align-items: center; }
.breadcrumb li::marker { content: "" !important; font-size: 0 !important; }
.breadcrumb li + li::before { content: "›"; margin: 0 10px 0 2px; color: var(--gold); font-weight: 600; }
.breadcrumb a { color: rgba(255, 255, 255, 0.78); transition: color 0.18s ease; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current="page"] { color: #fff; font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon svg { width: 27px; height: 27px; }
.svc-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.svc-list li { position: relative; padding-left: 22px; color: var(--muted); font-size: 14.5px; }
.svc-list li::before { content: "›"; position: absolute; left: 4px; top: -1px; color: var(--gold); font-weight: 800; }
.stepper { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: 10px; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .n { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--gold); font-family: var(--serif); font-weight: 700; z-index: 2; position: relative; }
.step .lbl { font-size: 14px; font-weight: 600; color: var(--green); }
.step::before { content: ""; position: absolute; top: 23px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 1; }
.step:first-child::before { display: none; }
.proc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.proc-kicker { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); font-weight: 500; letter-spacing: -0.01em; }
.proc-sub { color: var(--muted); margin: 14px 0 0; }
.dark .proc-sub { color: rgba(255,255,255,0.78); }
.proc-flow { display: flex; flex-wrap: wrap; gap: 10px; }
.flow-item { display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 9px 16px; color: #fff; font-size: 14px; font-weight: 600; }
.flow-item .fn { color: var(--gold); font-family: var(--serif); }
.proc.light .flow-item { background: #fff; border-color: var(--line); color: var(--green); box-shadow: 0 2px 8px rgba(0,31,25,.05); }
.gov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.gov-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 22px; }
.gov-card .who { font-family: var(--serif); color: var(--gold); font-size: 20px; }
.gov-card p { color: rgba(255,255,255,.82); margin: 8px 0 0; font-size: 14.5px; }
.legal-note { max-width: 940px; margin: 0 auto; background: var(--slate); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 24px 26px; color: var(--muted); font-size: 15px; }
.legal-note strong { color: var(--green); }
.legal-note h3 { color: var(--green); margin: 0 0 8px; }
.button.is-disabled { background: #e7ebe9; color: var(--muted); box-shadow: none; pointer-events: none; cursor: default; }
.download-card { max-width: 680px; margin: 0 auto; text-align: center; }
.download-card .meta { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.download-card .pill { background: var(--slate); color: var(--green); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; padding: 5px 13px; }
.hero { position: relative; background: radial-gradient(120% 120% at 80% 0%, var(--green-3) 0%, var(--green-2) 42%, var(--green) 100%); color: #fff; padding: 92px 0 104px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 15% 110%, rgba(230,162,77,0.16), transparent 70%); pointer-events: none; }
.hero .container { position: relative; display: grid; justify-items: center; text-align: center; }
.hero-logo { width: min(320px, 72vw); margin-bottom: 28px; filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.32)); }
.eyebrow { color: var(--gold); font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 18px; }
.hero h1 { max-width: 15ch; }
.hero .promise { font-family: var(--serif); font-size: clamp(18px, 2.4vw, 25px); font-weight: 500; color: var(--gold); margin: 20px auto 0; letter-spacing: -0.01em; }
.lead { max-width: 760px; margin: 22px auto 0; color: rgba(255, 255, 255, 0.86); font-size: clamp(17px, 2.1vw, 20px); }
.card, .section-head, .page-hero .container, .hero .container, .reveal { opacity: 0; transform: translateY(22px); transition: opacity 520ms ease, transform 520ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.card.is-visible, .section-head.is-visible, .page-hero .container.is-visible, .hero .container.is-visible, .reveal.is-visible { opacity: 1; transform: translateY(0); }
.authority { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 940px; margin: 0 auto; }
.badge-card { display: flex; gap: 18px; align-items: flex-start; background: var(--slate); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 26px; }
.badge-seal { flex: 0 0 auto; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--gold); border: 2px solid var(--gold); }
.badge-seal svg { width: 32px; height: 32px; }
.badge-card h3 { color: var(--green); margin: 0 0 6px; }
.badge-card p { color: var(--muted); margin: 0; font-size: 15px; }
.badge-card a { color: var(--green); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.model-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: 0 4px 16px rgba(15,23,42,0.05); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.model-col:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.model-step { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.model-col h3 { color: var(--green); font-size: 26px; margin: 6px 0 16px; }
.model-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.model-list li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15px; }
.model-list li::before { content: "›"; position: absolute; left: 6px; top: -1px; color: var(--gold); font-weight: 800; }
.model-num { font-family: var(--serif); font-size: 15px; color: var(--gold); font-weight: 700; }
.statement { text-align: center; }
.statement p { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 44px); font-weight: 500; line-height: 1.16; max-width: 1000px; margin: 0 auto; letter-spacing: -0.005em; }
.statement .sub { font-family: var(--sans); font-size: 17.5px; font-weight: 500; color: rgba(255,255,255,0.8); max-width: 820px; margin: 22px auto 0; letter-spacing: 0; }
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; box-shadow: 0 2px 8px rgba(0, 31, 25, 0.04); transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.faq-list details[open] { border-color: var(--gold); box-shadow: var(--shadow); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--green); font-weight: 700; font-size: 16px; }
.faq-list summary::-webkit-details-marker { display: none !important; }
.faq-list summary::marker { content: "" !important; font-size: 0 !important; }
.faq-list summary::after { content: "+"; color: var(--gold); font-size: 24px; font-weight: 300; line-height: 1; transition: transform 0.2s ease; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 14px 0 0; color: var(--muted); line-height: 1.65; }
.faq-list details a { color: var(--green); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.button-wa { background: #25d366; color: #06331b; box-shadow: 0 16px 40px rgba(37, 211, 102, 0.24); }
.button-wa:hover { background: #20bd5a; transform: translateY(-2px); }
.contact-link { color: var(--muted); overflow-wrap: anywhere; }
.contact-link:hover { color: var(--gold); }
.form { max-width: 780px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14px; color: var(--green); }
.field .req { color: var(--gold-2); }
.field input, .field select, .field textarea { font-family: var(--sans); font-size: 15px; color: var(--text); padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; width: 100%; transition: border-color .16s ease, box-shadow .16s ease; }
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.form .actions { justify-content: flex-start; margin-top: 8px; }
.field.full.submit { margin-top: 8px; }
.form-note { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.form-note a { color: var(--green); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.form-error { color: #b4472f; font-size: 13.5px; font-weight: 600; margin: 12px 0 0; display: none; }
@media (max-width: 900px) {
  .menu-button { display: grid; }
  .nav-links { position: absolute; left: 0; right: 0; top: 78px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--green); border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .nav-links.open { display: flex; }
  .nav-link { padding: 16px; }
  .nav-link.active::after { display: none; }
  .nav-cta { margin: 8px 16px 16px; text-align: center; }
  .grid-2, .grid-3, .grid-4, .footer-grid, .split, .split.wide-left { grid-template-columns: 1fr; }
  .page-hero, .section { padding: 64px 0; }
  .profile { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .footer-grid, .proc, .gov-grid { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .step::before { display: none; }
  .grid-3, .grid-4, .footer-grid, .split { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4, .authority, .model-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero, .page-hero, .section { padding: 64px 0; }
  .grid-4, .footer-grid, .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .brand-name { font-size: 20px; } .brand-kicker { font-size: 9px; } .stepper { grid-template-columns: repeat(2, 1fr); }
  .badge-card { flex-direction: column; } .form { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .card, .section-head, .page-hero .container, .reveal { opacity: 1 !important; transform: none !important; animation: none !important; } * { scroll-behavior: auto !important; }
  .card, .section-head, .page-hero .container, .hero .container, .reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
}
@keyframes auto-reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }/* ── Ajustes por página ─────────────────────────────────── */
.hero h1 { font-size: clamp(38px, 6vw, 62px); }
.hero .actions { margin-top: 34px; }
.statement .actions { margin-top: 34px; }

/* ═══════════════════════════════════════════════════════════════
   Accesibilidad y consistencia (auditoría de diseño)
   ═══════════════════════════════════════════════════════════════ */
:root { --gold-ink: #94600f; }   /* dorado legible sobre fondos claros (≥ 5:1, WCAG AA) */

/* Dorado usado como TEXTO o ícono sobre fondo claro → dorado oscuro */
.model-step, .model-num, .profile .role, .field .req { color: var(--gold-ink); }
.model-list li::before, .svc-list li::before, .faq-list summary::after { color: var(--gold-ink); }
.proc.light .flow-item .fn { color: var(--gold-ink); }
.contact-link:hover { color: var(--gold-ink); }

/* Foco visible con teclado en todo lo interactivo */
:where(a, button, summary, [tabindex]):focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 3px; border-radius: 6px; }
.button:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 3px; }
:where(.site-header, .hero, .page-hero, .section.dark, .site-footer) :where(a, button, summary):focus-visible,
:where(.hero, .page-hero, .section.dark) .button:focus-visible { outline-color: var(--gold); }
.nav-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.faq-list details:focus-within { border-color: var(--gold-ink); }
.card:focus-within { border-color: var(--gold-ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-ink); box-shadow: 0 0 0 3px rgba(148, 96, 15, 0.18); }

/* La tarjeta se eleva al pasar el mouse (antes la animación de entrada lo anulaba) */
.card.is-visible:hover, .model-col.is-visible:hover { transform: translateY(-3px); }

/* Iconos SVG de línea (reemplazan emojis y glifos) */
.icon svg { width: 27px; height: 27px; }
.icon.round svg { width: 28px; height: 28px; }
.cred svg { width: 15px; height: 15px; flex: 0 0 auto; }
.button svg { width: 19px; height: 19px; flex: 0 0 auto; }

/* Formulario: mensajes por campo y confirmación */
.field-hint { font-size: 12px; color: var(--muted); }
.field-msg { font-size: 12.5px; font-weight: 600; color: #b4472f; }
.field-msg:empty { display: none; }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: #b4472f; box-shadow: 0 0 0 3px rgba(180, 71, 47, 0.14); }
.form-ok { display: none; margin-top: 14px; padding: 14px 16px; border-radius: var(--radius); background: #eaf6ee; border: 1px solid #b8e0c4; color: #14532d; font-size: 14px; line-height: 1.55; }
.form-ok.show { display: block; }
.form-ok a { color: #14532d; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Áreas táctiles de al menos 44 px en móvil (enlaces del pie) */
@media (max-width: 900px) {
  .footer-links { gap: 0; }
  .footer-links a, .site-footer address a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ═══════════════════════════════════════════════════════════════
   PULIDO 2026-10-30 · tipografía, composición y transiciones
   (misma estética; solo afina medidas, ritmo y movimiento)
   ═══════════════════════════════════════════════════════════════ */
:root {
  --muted: #4b5661;                       /* texto secundario más legible (7:1) */
  --ease-out: cubic-bezier(.22, 1, .36, 1); /* salida suave, sin rebote */
  --t-reveal: 760ms;
}

/* ── Tipografía ── */
body { font-size: 16.5px; line-height: 1.7; text-rendering: optimizeLegibility; font-feature-settings: "kern", "liga"; }
h1, h2, h3, h4 { text-wrap: balance; }
h1 { letter-spacing: -0.022em; line-height: 1.06; }
h2 { letter-spacing: -0.018em; line-height: 1.12; }
h3 { letter-spacing: -0.008em; line-height: 1.25; }
p, li { text-wrap: pretty; }
.hero h1 { max-width: 20ch; }
.hero .promise { letter-spacing: -0.012em; line-height: 1.35; max-width: 44ch; }
.lead, .page-hero p, .section-head p { max-width: 62ch; margin-left: auto; margin-right: auto; line-height: 1.7; }
.section-head.left p { margin-left: 0; }
.section-head p, .muted { font-size: 17.5px; }
.card p, .badge-card p, .model-list li, .svc-list li, .profile p { line-height: 1.65; }
.svc-list li, .model-list li { font-size: 15.5px; }
.brand-kicker { font-size: 11px; letter-spacing: .12em; }
.chip { font-size: 13px; }
.step .n, .flow-item .fn, .model-num { font-variant-numeric: tabular-nums lining-nums; }
.eyebrow, .model-step { letter-spacing: .14em; }
address { font-style: normal; }
.site-footer address a, .site-footer address p { line-height: 1.6; }
.footer-bottom { font-size: 13.5px; }

/* ── Composición y ritmo ── */
.section { padding: clamp(72px, 8.5vw, 112px) 0; }
.section-head { margin-bottom: clamp(40px, 5vw, 56px); }
.section-head .rule { margin-top: 22px; }
.grid { gap: clamp(18px, 2vw, 26px); }
.hero { padding: clamp(64px, 7vw, 88px) 0 clamp(80px, 8vw, 104px); }
.hero-logo { margin-bottom: 32px; }
.actions { gap: 14px; }
.page-hero { padding: clamp(64px, 7vw, 92px) 0; }
/* La última fila de 7 valores queda centrada en lugar de cargada a la izquierda */
.grid.grid-4:has(> .card:nth-child(7):last-child) { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.grid.grid-4:has(> .card:nth-child(7):last-child) > .card { grid-column: span 2; }
.grid.grid-4:has(> .card:nth-child(7):last-child) > .card:nth-child(5) { grid-column: 2 / span 2; }
.faq-list details { padding: 20px 24px; }
.faq-list summary { line-height: 1.45; }

/* ── Movimiento (solo transform y opacity) ── */
.card, .section-head, .page-hero .container, .hero .container, .reveal, .model-col {
  transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out), border-color 220ms ease;
  transition-delay: var(--d, 0ms);
}
.card, .section-head, .page-hero .container, .hero .container, .reveal { transform: translateY(18px); }
.card.is-visible, .section-head.is-visible, .page-hero .container.is-visible, .hero .container.is-visible, .reveal.is-visible { transform: none; }
/* Al pasar el cursor: la tarjeta sube y su sombra aparece (sombra en capa aparte, solo opacidad) */
.card, .model-col, .badge-card { position: relative; }
.card::after, .model-col::after, .badge-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 2px 6px rgba(0, 31, 25, .05), 0 18px 40px -16px rgba(0, 31, 25, .28); opacity: 0; transition: opacity 320ms var(--ease-out); pointer-events: none; }
.card:hover, .model-col:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05); }
.card:hover::after, .model-col:hover::after, .badge-card:hover::after { opacity: 1; }
.button { transition: transform 220ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); transition-duration: 90ms; }
.nav-link:not(.nav-cta)::before { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-out); }
.nav-link:not(.nav-cta):hover::before { transform: scaleX(1); }
.nav-cta { transition: background-color 200ms ease, transform 220ms var(--ease-out); }
.nav-cta:active { transform: scale(.97); }
.site-header { transition: box-shadow 260ms ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .22); }
.faq-list summary::after { transition: transform 260ms var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list details[open] > :not(summary) { animation: faq-in 380ms var(--ease-out) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.hero-logo { animation: logo-in 1100ms var(--ease-out) both; }
@keyframes logo-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .nav-link:not(.nav-cta)::before { display: none; }
  .nav-links.open { animation: menu-in 260ms var(--ease-out) both; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .grid.grid-4:has(> .card:nth-child(7):last-child) { grid-template-columns: 1fr; }
  .grid.grid-4:has(> .card:nth-child(7):last-child) > .card, .grid.grid-4:has(> .card:nth-child(7):last-child) > .card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 64px; }
  .hero-logo { width: min(210px, 56vw); margin-bottom: 22px; }
  .hero h1 { font-size: clamp(31px, 8.6vw, 38px); }
  .hero .promise { font-size: 18px; }
  .page-hero h1 { font-size: clamp(29px, 8vw, 36px); }
  .section-head p, .muted, .lead, .page-hero p { font-size: 16.5px; }
  .actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .model-col, .button, .hero-logo, .faq-list details[open] > :not(summary), .nav-links.open { transition: none !important; animation: none !important; transform: none !important; }
}
/* Medida de lectura: 60–72 caracteres por línea */
.faq-list details p { max-width: 72ch; }
.legal-note p, .legal-note { max-width: 860px; }
.legal-note p { max-width: 74ch; }
p.muted, .section .muted { max-width: 70ch; margin-left: auto; margin-right: auto; }
.model-step { font-size: 13px; }
.field-hint { font-size: 13px; }
.statement p { max-width: 46ch; }
@media (max-width: 560px) {
  .statement p { font-size: 23px; max-width: none; }
  .page-hero h1 { font-size: clamp(28px, 7.6vw, 34px); }
  .cta-band h2, .section.dark h2 { font-size: clamp(26px, 7.2vw, 32px); }
}
/* Formación de los socios (Nosotros) */
.creds { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
.creds li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.creds li svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); }
.creds li b { display: block; color: var(--green); font-weight: 700; font-size: 15.5px; line-height: 1.35; padding-top: 6px; }
.creds li span { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.creds li span b + * , .creds li b { margin-bottom: 2px; }
.grid-2:has(> .profile) { align-items: stretch; }
