/*
Theme Name: Dokumentos — One Page
Theme URI: https://dokumentos.com
Author: Dokumentos
Description: Sitio informativo de una sola página para Dokumentos.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dokumentos
*/

:root {
  --navy: #0f2741;
  --navy-deep: #071829;
  --ink: #1c2b3b;
  --muted: #657484;
  --gold: #b8924c;
  --gold-light: #dfc78f;
  --paper: #fffdfa;
  --sand: #f6f1e7;
  --mist: #edf2f4;
  --line: rgba(15, 39, 65, .14);
  --shadow: 0 24px 65px rgba(7, 24, 41, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body, button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: clamp(80px, 9vw, 132px) 0; }
.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; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-180%); padding: 10px 14px; border-radius: 8px; background: var(--gold); color: var(--navy-deep); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-weight: 700; line-height: 1.06; letter-spacing: -.025em; }
h1 { margin-bottom: 26px; font-size: clamp(3.25rem, 7.4vw, 6.7rem); }
h2 { margin-bottom: 20px; font-size: clamp(2.4rem, 4.6vw, 4.45rem); }
h3 { margin-bottom: 10px; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
em { color: var(--gold); font-style: normal; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; color: var(--navy); font-size: .72rem; font-weight: 800; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 36px; height: 1px; background: var(--gold); }
.eyebrow-light { color: var(--gold-light); }
.section-heading { max-width: 690px; }
.section-heading > p:last-child { max-width: 640px; margin-bottom: 0; color: var(--muted); font-size: 1.12rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: .92rem; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: #fff; box-shadow: 0 14px 28px rgba(15,39,65,.18); }
.button-primary:hover { background: var(--navy-deep); box-shadow: 0 18px 36px rgba(15,39,65,.26); }
.button-quiet { border-color: var(--line); color: var(--navy); }
.button-quiet:hover { border-color: var(--gold); background: #fff; }
.button-gold { background: var(--gold-light); color: var(--navy-deep); box-shadow: 0 15px 32px rgba(0,0,0,.18); }
.button-gold:hover { background: #ead6a3; }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 28px; color: var(--navy); font-weight: 800; text-decoration: none; }
.text-link:hover { color: var(--gold); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(15,39,65,.08); background: rgba(255,253,250,.9); backdrop-filter: blur(18px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; }
.brand { display: flex; align-items: center; width: 155px; height: 60px; overflow: hidden; text-decoration: none; }
.brand-logo { display: block; width: 155px; height: 82px; max-width: none; object-fit: cover; object-position: center; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.8vw, 34px); color: var(--navy); font-size: .86rem; font-weight: 700; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.nav-cta):hover { color: var(--gold); }
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; white-space: nowrap; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary:hover, .nav-dropdown[open] summary { color: var(--gold); }
.nav-dropdown summary span { font-size: .88em; }
.nav-location-options { position: absolute; z-index: 12; top: calc(100% + 14px); left: 50%; display: grid; min-width: 196px; padding: 8px; border: 1px solid rgba(184,146,76,.4); border-radius: 16px; background: var(--paper); box-shadow: 0 16px 36px rgba(7,24,41,.2); transform: translateX(-50%); }
.nav-location-options a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 12px; border-radius: 10px; color: var(--navy); font-size: .84rem; font-weight: 800; text-decoration: none; }
.nav-location-options a:hover { background: var(--sand); color: var(--navy); }
.nav-location-options a span { color: var(--gold); }
.language-picker { display: flex; align-items: center; }
.language-select { min-height: 40px; padding: 0 28px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--navy); font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
.nav-cta { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 17px; border-radius: 999px; background: var(--navy); color: #fff; }
.nav-cta:hover { background: var(--navy-deep); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--navy); }

.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(76px, 9vw, 128px); padding-bottom: clamp(86px, 9vw, 132px); background: linear-gradient(118deg, #fffdfa 0%, #f8f3e9 58%, #ece2ce 100%); }
.hero::before { position: absolute; z-index: -2; top: -18rem; right: -12rem; width: 56rem; height: 56rem; border: 1px solid rgba(184,146,76,.2); border-radius: 50%; box-shadow: 0 0 0 72px rgba(184,146,76,.035), 0 0 0 144px rgba(15,39,65,.025); content: ""; }
.hero-orbit { position: absolute; z-index: -1; border: 1px solid rgba(15,39,65,.08); border-radius: 50%; transform: rotate(-18deg); }
.hero-orbit-one { top: 12%; left: -18rem; width: 38rem; height: 12rem; }
.hero-orbit-two { bottom: 4%; left: -22rem; width: 50rem; height: 15rem; border-color: rgba(184,146,76,.15); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr); align-items: center; gap: clamp(50px, 7vw, 100px); }
.hero-copy { padding-bottom: 12px; }
.hero-copy h1 { max-width: 680px; font-size: clamp(2.84rem, 6.85vw, 6.29rem); }
.hero-lead { max-width: 570px; margin-bottom: 30px; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.28rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; gap: 9px; align-items: center; margin: 25px 0 0; color: var(--navy); font-size: .84rem; font-weight: 700; }
.note-mark { display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: .7rem; }
.hero-visual { position: relative; max-width: 520px; justify-self: end; padding-bottom: 84px; }
.hero-image-wrap { position: relative; aspect-ratio: 4 / 4.45; overflow: hidden; border: 1px solid rgba(184,146,76,.38); border-radius: 28px; background: #e7e1d7; box-shadow: var(--shadow); }
.hero-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }
.image-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,24,41,.02), rgba(7,24,41,.16)); pointer-events: none; }
.hero-card { position: absolute; right: 28px; bottom: 0; left: -42px; padding: 24px 28px 25px; border: 1px solid rgba(184,146,76,.38); border-radius: 22px; background: rgba(255,253,250,.95); box-shadow: 0 20px 44px rgba(7,24,41,.17); }
.hero-card h2 { max-width: 330px; margin-bottom: 13px; font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
.card-kicker, .coverage-label, .footer-label { margin-bottom: 10px; color: var(--gold); font-size: .68rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero-card a { color: var(--navy); font-size: .84rem; font-weight: 800; text-decoration: none; }
.hero-card a:hover { color: var(--gold); }
.since-badge { position: absolute; top: 30px; right: -25px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 112px; height: 112px; border: 1px solid var(--gold); border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 14px 28px rgba(7,24,41,.22); text-align: center; transform: rotate(8deg); }
.since-badge strong { color: var(--gold-light); font-family: Georgia, serif; font-size: 1.7rem; line-height: 1; }
.since-badge span { margin-top: 7px; color: rgba(255,255,255,.78); font-size: .62rem; line-height: 1.25; text-transform: uppercase; }

.trust-bar { border-block: 1px solid var(--line); background: rgba(246,241,231,.55); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 13px; min-height: 105px; padding: 16px 23px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; padding-right: 0; }
.trust-icon { flex: 0 0 auto; color: var(--gold); font-family: Georgia, serif; font-size: .85rem; }
.trust-item strong, .trust-item small { display: block; }
.trust-item strong { color: var(--navy); font-size: .82rem; }
.trust-item small { margin-top: 2px; color: var(--muted); font-size: .72rem; line-height: 1.35; }

.services-section { background: var(--paper); }
.services-section .section-heading { margin-bottom: 52px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { display: flex; min-height: 290px; flex-direction: column; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 32px rgba(7,24,41,.045); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card:hover { border-color: rgba(184,146,76,.55); box-shadow: 0 18px 42px rgba(7,24,41,.1); transform: translateY(-4px); }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
.service-number { color: var(--gold); font-family: Georgia, serif; font-size: .94rem; font-weight: 700; letter-spacing: .1em; }
.service-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(184,146,76,.4); border-radius: 50%; background: var(--sand); }
.service-icon svg { width: 21px; height: 21px; stroke: var(--navy); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.service-card h3 { max-width: 280px; font-size: 1.48rem; }
.service-card p { margin-bottom: 19px; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.service-card a { display: inline-flex; gap: 8px; align-items: center; margin-top: auto; color: var(--navy); font-size: .82rem; font-weight: 800; text-decoration: none; }
.service-card a:hover { color: var(--gold); }
.service-card-wide { grid-column: span 3; min-height: 156px; flex-direction: row; align-items: center; gap: 26px; background: var(--sand); }
.service-card-wide .service-top { align-self: stretch; flex: 0 0 70px; margin-bottom: 0; flex-direction: column; justify-content: space-between; }
.service-card-wide > div:nth-child(2) { flex: 1; }
.service-card-wide h3 { margin-bottom: 5px; }
.service-card-wide p { max-width: 640px; margin-bottom: 0; }
.service-card-wide a { margin-top: 0; white-space: nowrap; }

.process-section { background: var(--sand); }
.process-layout { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(60px, 10vw, 150px); align-items: start; }
.process-layout .section-heading { max-width: 470px; }
.process-layout .section-heading h2 { margin-bottom: 25px; }
.process-list { position: relative; }
.process-list::before { position: absolute; top: 27px; bottom: 28px; left: 28px; width: 1px; background: rgba(184,146,76,.55); content: ""; }
.process-step { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 25px; min-height: 155px; }
.step-number { position: relative; z-index: 1; display: grid; place-items: center; width: 57px; height: 57px; border: 1px solid var(--gold); border-radius: 50%; background: var(--sand); color: var(--gold); font-family: Georgia, serif; font-size: 1rem; }
.process-step h3 { margin: 5px 0 10px; font-size: 1.62rem; }
.process-step p { max-width: 450px; margin-bottom: 0; color: var(--muted); }

.confidence-section { position: relative; overflow: hidden; padding: clamp(82px, 9vw, 125px) 0; background: var(--navy); color: #fff; }
.confidence-section::after { position: absolute; right: -14rem; bottom: -20rem; width: 48rem; height: 48rem; border: 1px solid rgba(223,199,143,.2); border-radius: 50%; box-shadow: 0 0 0 60px rgba(223,199,143,.035), 0 0 0 120px rgba(223,199,143,.025); content: ""; pointer-events: none; }
.confidence-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(60px, 10vw, 140px); }
.confidence-intro h2 { color: #fff; }
.confidence-intro > p:last-child { max-width: 500px; color: rgba(255,255,255,.72); font-size: 1.06rem; }
.confidence-points { display: grid; gap: 0; }
.confidence-point { display: grid; grid-template-columns: 55px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.confidence-point:first-child { padding-top: 8px; }
.confidence-point:last-child { border-bottom: 0; }
.point-mark { color: var(--gold-light); font-family: Georgia, serif; font-size: .92rem; letter-spacing: .08em; }
.confidence-point h3 { margin-bottom: 7px; color: #fff; font-size: 1.5rem; }
.confidence-point p { max-width: 500px; margin-bottom: 0; color: rgba(255,255,255,.68); }

.coverage-section { background: var(--paper); }
.coverage-heading { max-width: 790px; margin-bottom: 50px; }
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.coverage-card { min-height: 260px; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.coverage-card-dark { border-color: var(--navy); background: var(--navy); }
.coverage-card h3 { margin-top: 22px; font-size: 1.65rem; }
.coverage-card-dark h3 { color: #fff; }
.coverage-card p { max-width: 280px; margin-bottom: 0; color: var(--muted); }
.coverage-card-dark p { color: rgba(255,255,255,.7); }
.coverage-line { display: block; width: 54px; height: 2px; margin-top: 33px; background: var(--gold); }

.faq-section { background: var(--mist); }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(60px, 10vw, 145px); align-items: start; }
.faq-layout .section-heading { max-width: 430px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-list details:first-child { padding-top: 4px; }
.faq-list summary { position: relative; padding-right: 35px; cursor: pointer; color: var(--navy); font-family: Georgia, serif; font-size: clamp(1.18rem, 2vw, 1.45rem); font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 0; right: 0; color: var(--gold); content: "+"; font-family: Inter, sans-serif; font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { max-width: 680px; margin: 15px 0 0; color: var(--muted); }

.contact-section { padding-top: 0; background: var(--paper); }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(42px, 6vw, 72px) clamp(28px, 7vw, 86px); border-radius: 28px; background: linear-gradient(115deg, var(--navy) 0%, var(--navy-deep) 100%); box-shadow: var(--shadow); }
.contact-card h2 { max-width: 680px; margin-bottom: 15px; color: #fff; }
.contact-card > div > p:last-child { max-width: 620px; margin-bottom: 0; color: rgba(255,255,255,.7); font-size: 1.08rem; }
.contact-details { display: flex; flex: 0 0 auto; flex-direction: column; gap: 8px; min-width: 240px; }
.contact-details a { color: #fff; font-size: 1.12rem; font-weight: 800; text-decoration: none; }
.contact-details a:hover { color: var(--gold-light); }
.contact-details address { color: rgba(255,255,255,.72); font-size: .92rem; font-style: normal; line-height: 1.55; }
.contact-card .button { flex: 0 0 auto; }

.site-footer { padding: 70px 0 25px; background: var(--navy-deep); color: rgba(255,255,255,.7); }
.footer-main { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 60px; padding-bottom: 55px; }
.footer-logo-frame { display: flex; align-items: center; width: 170px; height: 65px; overflow: hidden; border-radius: 9px; background: #fff; }
.footer-logo { display: block; width: 170px; height: 82px; max-width: none; object-fit: cover; object-position: center; }
.footer-brand p { max-width: 260px; margin: 16px 0 0; font-size: .88rem; }
.footer-column { display: flex; flex-direction: column; gap: 9px; }
.footer-column a, .footer-column span:not(.footer-label), .footer-column address { font-size: .86rem; text-decoration: none; }
.footer-column address { margin: 0; font-style: normal; line-height: 1.55; }
.footer-column a:hover { color: var(--gold-light); }
.footer-label { display: block; margin-bottom: 8px; color: var(--gold-light); }
.footer-bottom { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); }
.footer-bottom > p:first-child { margin-bottom: 15px; font-size: .78rem; }
.footer-disclaimer { max-width: 1000px; margin-bottom: 0; color: rgba(255,255,255,.52); font-size: .72rem; line-height: 1.6; }
.footer-disclaimer strong { color: rgba(255,255,255,.72); }

.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
  html.js .reveal.is-visible { opacity: 1; transform: none; }
  html.js .reveal-delay { transition-delay: .09s; }
  html.js .reveal-delay-2 { transition-delay: .18s; }
}

@media (max-width: 980px) {
  .site-nav { gap: 18px; font-size: .78rem; }
  .hero-grid { grid-template-columns: 1fr .82fr; gap: 40px; }
  .hero-visual { max-width: 410px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-wide { grid-column: span 2; }
  .process-layout, .confidence-grid, .faq-layout { gap: 60px; }
  .trust-item { padding-inline: 13px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 34px, 600px); }
  .header-inner { min-height: 72px; }
  .brand { width: 142px; height: 54px; }
  .brand-logo { width: 142px; height: 76px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 17px; left: 17px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 9px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,253,250,.98); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a, .site-nav .nav-dropdown summary { padding: 13px 14px; }
  .site-nav .nav-dropdown { width: 100%; }
  .site-nav .nav-dropdown summary { justify-content: space-between; }
  .nav-location-options { position: static; width: 100%; min-width: 0; margin-bottom: 5px; border: 0; border-radius: 10px; background: var(--sand); box-shadow: none; transform: none; }
  .nav-location-options a { padding: 10px 14px; }
  .language-picker { padding: 7px 14px; }
  .language-select { width: 100%; }
  .site-nav .nav-cta { justify-content: center; margin-top: 7px; }
  .hero { padding-top: 67px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(2.69rem, 12.3vw, 4.99rem); }
  .hero-visual { width: min(100%, 470px); margin: 18px auto 0; justify-self: center; }
  .hero-card { left: 12px; }
  .since-badge { right: -6px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item, .trust-item:first-child, .trust-item:last-child { min-height: 88px; padding: 14px 10px; border-right: 1px solid var(--line); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-grid, .coverage-grid { grid-template-columns: 1fr; }
  .service-card-wide { grid-column: auto; min-height: 290px; flex-direction: column; align-items: stretch; gap: 0; }
  .service-card-wide .service-top { flex: initial; align-self: auto; margin-bottom: 28px; flex-direction: row; }
  .service-card-wide a { margin-top: auto; }
  .process-layout, .confidence-grid, .faq-layout { grid-template-columns: 1fr; gap: 48px; }
  .process-list::before { bottom: 28px; }
  .confidence-section { padding-bottom: 88px; }
  .contact-card { align-items: flex-start; flex-direction: column; }
  .contact-details { min-width: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px 25px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 28px, 600px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-card { right: 12px; left: 12px; padding: 20px; }
  .since-badge { top: 18px; width: 92px; height: 92px; }
  .since-badge strong { font-size: 1.4rem; }
  .since-badge span { font-size: .56rem; }
  .service-card, .coverage-card { padding: 23px; }
}
