/* ---- client-site-kit: review marks and utilities (keep at the top of every site's style.css) ---- */
.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: absolute; left: -9999px; top: 0; z-index: 100; padding: .75rem 1rem; background: #000; color: #fff; }
.skip-link:focus { left: 1rem; top: 1rem; }
.hp { position: absolute; left: -9999px; }
.concept-strip { background: #fff8d6; color: #3b3200; font: 500 .82rem/1.4 system-ui, sans-serif; padding: .45rem 1rem; text-align: center; border-bottom: 1px solid #e6d78a; }
.concept-strip a { color: inherit; font-weight: 700; }
.mark-toggle { font: inherit; font-weight: 700; background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }
.prov { text-decoration: underline dotted 2px; text-decoration-color: #c08a00; text-underline-offset: .18em; cursor: help; }
.todo { background: #ffe14d; color: #222; padding: 0 .25em; border-radius: 2px; }
body.clean .prov { text-decoration: none; cursor: auto; }
body.clean .todo { background: none; color: inherit; padding: 0; }
body.clean .review-only { display: none; }
.form-status:empty { display: none; }
.form-status { margin-top: 1rem; padding: .75rem 1rem; border-radius: 4px; }
.form-status.ok { background: #e3f4e6; color: #14532d; }
.form-status.err { background: #fde8e8; color: #7f1d1d; }
.cookie-banner { position: fixed; inset: auto 1rem 1rem 1rem; z-index: 50; max-width: 40rem; margin: 0 auto; background: #fff; color: #111; padding: 1rem 1.25rem; box-shadow: 0 8px 30px rgba(0,0,0,.2); }
/* ---- end review marks ---- */

/* ---- Edificio: editorial magazine (split nav around a centred logo, arch cover, mosaic, scroll strip, two-column articles) ---- */
@font-face { font-family: "Syne"; src: url("../fonts/syne-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
:root { --sand: #f1e7d8; --sand-2: #e4d5bf; --clay: #b5553a; --olive: #3d4a32; --ink: #23251f; --display: "Syne", "Arial Black", sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 400 1.05rem/1.72 "Manrope", system-ui, sans-serif; color: var(--ink); background: var(--sand); }
a { color: var(--clay); text-underline-offset: .2em; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
p { margin: 0 0 1rem; }
.wrap, .container { width: min(1240px, 100% - 3rem); margin: 0 auto; }
.narrow { width: min(760px, 100% - 3rem); margin: 0 auto; }
.kick { font: 600 .78rem/1 "Manrope", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--clay); margin-bottom: 1rem; }
.btn { display: inline-block; font: 600 .95rem/1 "Manrope", sans-serif; padding: 1rem 1.6rem; background: var(--olive); color: #fff; text-decoration: none; border-radius: 999px 999px 4px 4px; }
.btn:hover { background: var(--clay); }

/* masthead: split nav */
.mast { position: relative; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--sand-2); }
.mast .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; }
.mast .logo img { width: 220px; }
.split-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; min-height: 56px; }
.split-nav li:nth-child(5) { margin-left: 300px; }
.split-nav li:nth-child(1) { margin-left: 64px; }
.split-nav a { display: block; padding: .5rem .9rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.split-nav a:hover { color: var(--clay); }
.split-nav a[aria-current] { color: var(--clay); background: radial-gradient(circle at 50% 100%, rgba(181,85,58,.16) 0 70%, transparent 71%); border-radius: 999px 999px 0 0; }
.nav-toggle { display: none; }

/* cover */
.cover { position: relative; width: min(1320px, 100% - 2rem); margin: 1.6rem auto 0; }
.cover-arch { height: min(78vh, 760px); min-height: 420px; border-radius: 50vw 50vw 0 0; background: var(--olive) var(--img) center/cover; }
.cover-type { position: absolute; left: clamp(1rem, 4vw, 3rem); bottom: -2.2rem; background: var(--sand); padding: 1.6rem 2.4rem 0 0; border-top-right-radius: 40px; }
.cover-type h1 { font-size: clamp(2.6rem, 7.4vw, 6.4rem); margin: 0; }
.ticker { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .4rem 2rem; width: min(1320px, 100% - 2rem); margin: 3.4rem auto 0; font: 600 .8rem "Manrope", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); }
.ticker span::before { content: "\25CF"; color: var(--clay); margin-right: .6rem; font-size: .6rem; vertical-align: middle; }
.intro { width: min(900px, 100% - 3rem); margin: clamp(4.5rem, 9vw, 7rem) auto 3rem; }
.lead-in { font: 600 clamp(1.3rem, 2.3vw, 1.75rem)/1.45 "Manrope", sans-serif; }
.lead-in::first-line { color: var(--clay); }

/* mosaic */
.mosaic { width: min(1240px, 100% - 3rem); margin: 0 auto 5rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 1.4rem; }
.feature { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.feature:hover h2 { color: var(--clay); }
.f-ph { aspect-ratio: 4/3; background: var(--olive) var(--img) center/cover; border-radius: 200px 200px 0 0; margin-bottom: 1rem; }
.f1 { grid-row: span 2; }
.f1 .f-ph { aspect-ratio: 3/3.4; }
.f3 { background: var(--olive); color: #f1e7d8; padding: 2rem; border-radius: 0 0 160px 0; justify-content: flex-end; }
.f3 h2 { color: #fff; }
.f4 { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.4rem; align-items: end; }
.f4 .f-ph { grid-row: span 3; margin: 0; aspect-ratio: 16/10; }
.fno { font: 700 1rem var(--display); color: var(--clay); }

/* scroll strip */
.strip-sec { background: var(--olive); color: #e8dfcf; padding: 4.5rem 0 4rem; }
.strip-head { width: min(1240px, 100% - 3rem); margin: 0 auto 2rem; }
.strip-head h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.strip-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 24%); gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(1.5rem, calc((100% - 1240px) / 2)) 1.4rem; scrollbar-color: var(--clay) transparent; }
.stage { scroll-snap-align: start; background: var(--sand); color: var(--ink); border-radius: 160px 160px 8px 8px; padding: .8rem .8rem 1.4rem; }
.stage-ph { aspect-ratio: 1; border-radius: 150px 150px 0 0; background: var(--olive) var(--img) center/cover; margin-bottom: 1rem; }
.stage .sn { font: 700 2rem var(--display); color: var(--clay); margin: 0 .6rem .2rem; }
.stage h3 { font-size: 1.4rem; margin: 0 .6rem .4rem; }
.stage p { margin: 0 .6rem; font-size: .96rem; }
.approach-strip { margin-bottom: 3rem; }
.page-approach .strip-scroll { background: var(--olive); padding-top: 2rem; padding-bottom: 2rem; }

/* pull + numbers */
.pull { width: min(1000px, 100% - 3rem); margin: 4.5rem auto; font: 700 clamp(1.7rem, 3.6vw, 3rem)/1.12 var(--display); color: var(--olive); text-align: center; letter-spacing: -.02em; }
.pull::before { content: "\201C"; display: block; color: var(--clay); font-size: 2.4em; line-height: .6; }
.numbers { width: min(1240px, 100% - 3rem); margin: 0 auto 5rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.numbers div { padding: 1.6rem 1rem 0 0; }
.numbers b { display: block; font: 700 clamp(3rem, 7vw, 5.6rem)/1 var(--display); color: var(--clay); }
.numbers span { font-weight: 600; }

/* articles */
.article { width: min(1240px, 100% - 3rem); margin: 0 auto 4rem; display: grid; grid-template-columns: 1fr 300px; gap: 0 3rem; }
.a-head { grid-column: 1 / -1; padding: clamp(3rem, 6vw, 5rem) 0 2rem; max-width: 980px; }
.a-head.wide { width: min(1240px, 100% - 3rem); margin: 0 auto; }
.a-head h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
.stand { font: 600 1.3rem/1.5 "Manrope", sans-serif; color: #4a4c40; max-width: 46rem; }
.a-lead { grid-column: 1 / -1; height: min(62vh, 560px); border-radius: 600px 600px 0 0; background: var(--olive) var(--img) center/cover; margin-bottom: 3rem; }
.a-body { columns: 2; column-gap: 3rem; column-rule: 1px solid var(--sand-2); }
.a-body h2 { font-size: 1.45rem; break-after: avoid; margin-top: .4rem; }
.a-body p, .a-body ul, .a-body li { break-inside: avoid-column; }
.a-body .pull { column-span: all; margin: 2.4rem 0; text-align: left; width: auto; }
.a-body table, .a-body .cta-line { column-span: all; }
.factbox { align-self: start; position: sticky; top: 1.5rem; background: var(--clay); color: #fff; padding: 1.6rem; border-radius: 120px 120px 6px 6px; padding-top: 3rem; }
.fb-h { font: 700 1.2rem/1.2 var(--display); }
.factbox ul { list-style: none; padding: 0; margin: 0; }
.factbox li { padding: .55rem 0; border-top: 1px solid rgba(255,255,255,.3); }
.factbox a { color: #fff; }
.dash { list-style: none; padding: 0; }
.dash li { padding-left: 1.4rem; position: relative; margin-bottom: .4rem; }
.dash li::before { content: ""; position: absolute; left: 0; top: .8rem; width: .8rem; height: 2px; background: var(--clay); }
.buy-steps { counter-reset: b; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.buy-steps li { counter-increment: b; break-inside: avoid-column; margin-bottom: 1.2rem; }
.buy-steps h2::before { content: counter(b, decimal-leading-zero) " "; color: var(--clay); }
.facts { width: 100%; border-collapse: collapse; }
.facts th, .facts td { text-align: left; padding: .6rem .3rem; border-bottom: 1px solid var(--sand-2); vertical-align: top; }
.facts th { width: 38%; }
.gallery { width: min(1240px, 100% - 3rem); margin: 0 auto 5rem; display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 1.2rem; align-items: end; }
.gallery > div { background: var(--olive) var(--img) center/cover; border-radius: 300px 300px 0 0; }
.g1 { aspect-ratio: 3/4; } .g2 { aspect-ratio: 4/3.2; } .g3 { aspect-ratio: 3/4.4; }
.qa-cols { width: min(1240px, 100% - 3rem); margin: 0 auto 5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
details { border-bottom: 1px solid var(--sand-2); padding: .9rem 0; }
summary { font-weight: 600; cursor: pointer; }
details div { padding-top: .5rem; }
.contact-grid { width: min(1240px, 100% - 3rem); margin: 0 auto 5rem; display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }

/* legal (generated) */
.page-hero { padding: 4rem 0 1.5rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0; }
.breadcrumb { font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.prose { padding: 1rem 0 5rem; }
.prose .narrow { width: min(1240px, 100% - 3rem); columns: 2; column-gap: 3.5rem; column-rule: 1px solid var(--sand-2); }
.prose h2 { font-size: 1.3rem; margin-top: 1.4rem; break-after: avoid; }
.prose table, .prose .toc { column-span: all; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--sand-2); padding: .6rem .5rem; vertical-align: top; }
.prose th { width: 30%; }
.notice { border-left: 4px solid var(--clay); background: #fbf5ec; padding: 1rem 1.2rem; margin: 1rem 0 1.5rem; break-inside: avoid; }
.updated, .hint { font-size: .9rem; color: #5d5f52; }
.toc ol { columns: 3; }
.sitemap-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; columns: auto !important; }

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: block; font-weight: 600; margin-bottom: .3rem; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; font: inherit; padding: .8rem 1rem; border: 0; border-radius: 14px; background: #fbf5ec; box-shadow: inset 0 0 0 1px var(--sand-2); }
.form-grid textarea { min-height: 160px; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: 3px solid var(--clay); }

/* footer */
.foot { background: var(--ink); color: #cfc6b4; padding: 0 0 2rem; overflow: hidden; }
.foot-big { font: 700 clamp(5rem, 21vw, 19rem)/.8 var(--display); color: var(--olive); letter-spacing: -.04em; text-align: center; padding-top: 2.5rem; margin-bottom: 2rem; white-space: nowrap; }
.foot-grid { width: min(1240px, 100% - 3rem); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; }
.foot a { color: #fff; }
.foot .kick { color: #e6a68f; }
.foot-links { list-style: none; padding: 0; margin: 0; columns: 3; }
.foot-links li { margin-bottom: .45rem; }
.foot-links a { text-decoration: none; }
.foot-legal { width: min(1240px, 100% - 3rem); margin: 2rem auto 0; font-size: .8rem; color: #8f8878; }

@media (max-width: 1100px) {
  .mast { display: flex; justify-content: space-between; align-items: center; }
  .mast .logo { position: static; transform: none; }
  .mast .logo img { width: 190px; }
  .nav-toggle { display: block; font: 600 .95rem "Manrope", sans-serif; background: var(--olive); color: #fff; border: 0; border-radius: 999px 999px 4px 4px; padding: .6rem 1.2rem; }
  .split-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--sand); border-bottom: 1px solid var(--sand-2); }
  .split-nav.open { display: block; }
  .split-nav ul { flex-direction: column; align-items: stretch; padding: .5rem 1.5rem 1rem; }
  .split-nav li:nth-child(5), .split-nav li:nth-child(1) { margin-left: 0; }
  .article { grid-template-columns: 1fr; }
  .factbox { position: static; margin-top: 2rem; }
}
@media (max-width: 760px) {
  .cover-arch { border-radius: 300px 300px 0 0; min-height: 360px; height: 60vh; }
  .cover-type { position: relative; left: auto; bottom: auto; margin-top: -3rem; padding: 1.2rem 1.2rem 0; }
  .ticker { justify-content: flex-start; }
  .mosaic, .f4, .numbers, .gallery, .qa-cols, .contact-grid, .foot-grid, .form-grid, .sitemap-cols { grid-template-columns: 1fr; }
  .f1, .f4 { grid-row: auto; grid-column: auto; }
  .a-body, .prose .narrow { columns: 1; }
  .a-lead { height: 46vh; }
  .strip-scroll { grid-auto-columns: 78%; }
  .foot-links, .toc ol { columns: 1; }
}
