/* Sínia · lienzo blanco editorial, bandas oliva profundo, superficies de marès y acento de madera */
:root {
  --canvas: #FFFFFF;
  --mares: #E9DCC3;
  --mares-soft: #F4EEE2;
  --mares-deep: #C9B48C;
  --olive: #556B2F;
  --olive-deep: #2C3820;
  --wood: #6E4A2C;
  --ink: #1E2118;
  --body: #55584F;
  --muted: #8A8C83;
  --hairline: #DAD5CA;
  --console: #1E2118;
  --on-dark: #F4EEE2;
  --on-dark-muted: #B9BCA8;
  --dark-line: rgba(244, 238, 226, .14);
  --btn-bg: #1E2118;
  --btn-fg: #FFFFFF;
  --hero-ink: #F7F2E6;
  --hero-body: #E4DCC8;
  --display: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --text: 'Inter', Arial, ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --r-sm: 8px;
  --r-lg: 22px;
  --wrap: 1240px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #12140F; --mares: #272318; --mares-soft: #1A1C15; --mares-deep: #5A4E37;
    --olive: #9DB066; --olive-deep: #1D2614; --wood: #C99466; --ink: #EEE9DD; --body: #BDBAAE;
    --muted: #8E8C82; --hairline: #2E3026; --console: #0B0C09; --on-dark: #F4EEE2; --on-dark-muted: #B9BCA8;
    --dark-line: rgba(244, 238, 226, .14); --btn-bg: #EEE9DD; --btn-fg: #12140F; color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; padding: 0; background: var(--canvas); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
p { margin: 0; }
h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
:lang(de) h1, :lang(de) h2, :lang(de) h3, :lang(de) blockquote { hyphens: auto; overflow-wrap: break-word; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 768px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.mono { font-family: var(--mono); font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: var(--wood); }
.band .mono { color: var(--mares-deep); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1.71 var(--text); text-decoration: none; padding: 12px 24px; border-radius: 32px; border: 0; cursor: pointer; background: var(--btn-bg); color: var(--btn-fg); transition: opacity .15s ease; }
.btn:hover { opacity: .86; }
.btn.mares { background: #F4EEE2; color: #1E2118; }
.btn.ink { background: #1E2118; color: #FFFFFF; }

/* ---------- Cabecera ---------- */
header.top { position: absolute; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 9; background: transparent; color: var(--hero-ink); }
.top .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; --mark-a: #F7F2E6; --mark-b: #C99466; }
.brand svg { width: 28px; height: 28px; }
.brand b { font-family: var(--text); font-weight: 500; font-size: 16px; letter-spacing: .2em; }
nav.links { display: flex; gap: 32px; font-size: 14px; }
nav.links a { text-decoration: none; color: var(--hero-body); white-space: nowrap; }
nav.links a:hover { color: var(--hero-ink); }
.tools { justify-self: end; display: flex; align-items: center; gap: 18px; }
.top .btn { padding: 8px 18px; background: #F4EEE2; color: #1E2118; white-space: nowrap; }
.lang { display: flex; gap: 2px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.lang a { text-decoration: none; color: var(--hero-body); padding: 5px 9px; border-radius: 20px; }
.lang a:hover { color: var(--hero-ink); }
.lang a[aria-current] { color: var(--hero-ink); box-shadow: inset 0 0 0 1px rgba(247, 242, 230, .65); }
@media (max-width: 1000px) { nav.links { display: none; } .top .wrap { grid-template-columns: 1fr auto; } }
@media (max-width: 560px) { .top .btn { display: none; } .lang a { padding: 7px 11px; font-size: 13px; } }

/* ---------- Portada a sangre ---------- */
.hero2 { position: relative; overflow: hidden; min-height: clamp(600px, 90vh, 880px); display: grid; place-items: center; background: #2C3820; color: var(--hero-ink); }
.hero2 .scene { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; display: block; object-fit: cover; object-position: 55% 40%; }
.hero2 .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 14, .62) 0%, rgba(20, 24, 14, .38) 45%, rgba(20, 24, 14, .7) 100%); }
.hero2 .credit { position: absolute; right: max(12px, env(safe-area-inset-right, 0px)); bottom: 10px; font-size: 11px; color: rgba(247, 242, 230, .7); }
.hero-in { position: relative; width: 100%; text-align: center; padding-block: 128px 104px; display: grid; justify-items: center; }
.emblem { width: 78px; height: 78px; --mark-a: #F7F2E6; --mark-b: #C99466; }
.hero2 h1 { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(42px, 8.6vw, 120px); line-height: .93; letter-spacing: -.03em; max-width: 10.5em; margin-top: 28px; color: var(--hero-ink); }
:lang(de) .hero2 h1 { font-size: clamp(38px, 7.6vw, 108px); max-width: 11.5em; hyphens: manual; }
.hero2 h1 span { color: #DCC9A0; }
.hero2 h1, .hero2 .sub { text-shadow: 0 2px 24px rgba(20, 24, 14, .35); }
.hero2 .sub { margin-top: 22px; font-size: 17px; color: var(--hero-body); }
.hero2 .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero2 .hook { margin-top: 18px; max-width: 30em; font-size: 14px; line-height: 1.45; color: var(--hero-body); text-shadow: 0 1px 14px rgba(20, 24, 14, .55); text-wrap: balance; }

/* ---------- Qué hacemos ---------- */
.hero .wrap { padding-block: 88px 0; text-align: center; }
.intro-h { font-family: var(--display); font-size: clamp(36px, 5.5vw, 68px); line-height: 1.02; letter-spacing: -.02em; max-width: 14em; margin: 18px auto 0; }
.intro-h span { color: var(--olive); }
.hero .lede { margin: 28px auto 0; max-width: 36em; color: var(--body); font-size: 18px; line-height: 1.4; }

.hero .wrap { padding-bottom: 40px; }
.media { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; margin-top: 72px; text-align: left; }
@media (max-width: 900px) { .media { grid-template-columns: 1fr; } }

.console { background: var(--console); color: var(--on-dark); border-radius: var(--r-lg); padding: 24px; min-width: 0; display: grid; gap: 14px; }
.console header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.console header b { font-family: var(--display); font-weight: 400; font-size: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .02em; text-transform: uppercase; border-radius: 9999px; padding: 4px 10px; white-space: nowrap; }
.chip.live { background: rgba(157, 176, 102, .18); color: #C7D69A; }
.chip.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #9DB066; }
.rows { display: grid; }
.rows > div { display: grid; grid-template-columns: 132px 1fr auto; gap: 16px; align-items: center; padding: 13px 0; border-top: 1px solid var(--dark-line); min-width: 0; }
.rows .src { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .02em; color: var(--on-dark-muted); }
.rows .txt { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.chip.ok { border: 1px solid rgba(244, 238, 226, .22); color: var(--on-dark); }
.console .foot { font-size: 12px; color: var(--on-dark-muted); }
@media (max-width: 600px) { .rows > div { grid-template-columns: 1fr auto; } .rows .txt { grid-column: 1 / -1; grid-row: 2; white-space: normal; } }

.turn { transform-origin: 150px 150px; animation: turn 90s linear infinite; }
.emblem .turn { animation-duration: 40s; }
@keyframes turn { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) { .turn { animation: none; } html { scroll-behavior: auto; } }
.photocard { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; min-height: 380px; background: #2C3820; min-width: 0; }
.photocard img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: 50% 45%; }
.photocard figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 72px 24px 24px; background: linear-gradient(180deg, rgba(20, 24, 14, 0), rgba(20, 24, 14, .82)); color: #F7F2E6; display: grid; gap: 8px; }
.photocard .mono { color: #DCC9A0; }
.photocard p { font-family: var(--display); font-size: 22px; line-height: 1.25; letter-spacing: -.01em; }

/* ---------- Integraciones ---------- */
.trustline .wrap { padding-block: 72px 24px; text-align: center; }
.trustline p { color: var(--body); font-size: 14px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 48px; margin-top: 24px; font-family: var(--display); font-size: 20px; color: var(--muted); }

/* ---------- Banda oscura redondeada ---------- */
.inset .wrap { padding-block: 56px; }
.band { background: var(--olive-deep); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(32px, 7vw, 80px); }
.story { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.story > div { min-width: 0; }
.story figure { margin: 0; display: grid; gap: 10px; min-width: 0; }
.story figure img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); filter: sepia(.25) contrast(1.05); }
.story figcaption { font-size: 12px; color: var(--on-dark-muted); }
.story blockquote { margin: 20px 0 0; font-family: var(--display); font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
.story blockquote span { color: var(--mares-deep); }
.story .body { margin-top: 28px; max-width: 40em; color: var(--on-dark-muted); font-size: 18px; line-height: 1.4; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Secciones ---------- */
section.pad .wrap { padding-block: 96px; }
section.pad.flush, section.pad.flush .wrap { padding-top: 0; }
@media (max-width: 760px) { section.pad .wrap { padding-block: 64px; } section.pad.flush .wrap { padding-top: 0; } }
.head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: end; margin-bottom: 48px; }
.head > div { min-width: 0; }
.head h2 { font-family: var(--text); font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -.02em; margin-top: 16px; }
.head h2 span { color: var(--olive); }
.head p { color: var(--body); font-size: 18px; line-height: 1.4; }
@media (max-width: 760px) { .head { grid-template-columns: 1fr; } }

.sectors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .sectors { grid-template-columns: 1fr; } }
.sector { background: var(--mares-soft); border-radius: var(--r-sm); padding: 32px; min-width: 0; display: grid; gap: 20px; align-content: start; }
@media (max-width: 520px) { .sector { padding: 24px 20px; } }
.sector h3 { font-size: 32px; line-height: 1.2; letter-spacing: -.01em; }
.sector ul { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--hairline); display: grid; gap: 16px; }
.sector li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.sector li svg { margin-top: 3px; }
.sector li b { font-weight: 500; display: block; }
.sector li span { color: var(--body); font-size: 14px; line-height: 1.45; }
.pill-out { justify-self: start; display: inline-flex; font: 500 14px/1.71 var(--text); text-decoration: none; padding: 6px 14px; border: 1px solid var(--ink); border-radius: 30px; }
.pill-out:hover { background: var(--ink); color: var(--canvas); }

/* ---------- Método ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { border-top: 1px solid var(--ink); padding-top: 20px; min-width: 0; }
.step h3 { font-size: 24px; line-height: 1.3; margin: 14px 0 10px; }
.step p { color: var(--body); font-size: 15px; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Un día ---------- */
.dayband { background: var(--mares-soft); }
.daytable { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--hairline); }
.daytable li { display: grid; grid-template-columns: 110px 190px 1fr; gap: 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--hairline); }
.daytable time { font-family: var(--display); font-size: 28px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.daytable .tag { justify-self: start; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .02em; color: var(--wood); border: 1px solid var(--wood); border-radius: 30px; padding: 3px 10px; }
.daytable p { font-size: 18px; line-height: 1.4; }
.daytable p small { display: block; color: var(--body); font-size: 15px; margin-top: 2px; }
@media (max-width: 760px) { .daytable li { grid-template-columns: 80px 1fr; gap: 8px 16px; } .daytable p { grid-column: 1 / -1; } }

/* ---------- Garantías ---------- */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cap { display: grid; gap: 14px; align-content: start; }
.cap h3 { font-size: 24px; line-height: 1.3; }
.cap p { color: var(--body); }
@media (max-width: 760px) { .caps { grid-template-columns: 1fr; } }

/* ---------- Preguntas ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq > div { min-width: 0; }
.faq h2 { font-family: var(--text); font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.02em; margin-top: 16px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 24px; } }
.faq .list { border-bottom: 1px solid var(--hairline); }
.faq details { border-top: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-size: 20px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 18px; color: var(--wood); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--body); max-width: 40em; }

/* ---------- Contacto ---------- */
.contact .wrap { padding-block: 0 96px; }
.contact .band { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact .band > div { min-width: 0; }
@media (max-width: 900px) { .contact .band { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .contact .band { padding: 28px 16px 16px; } }
.contact h2 { font-family: var(--text); font-size: clamp(34px, 4.6vw, 48px); line-height: 1.1; letter-spacing: -.01em; margin-top: 16px; }
.contact ul { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--on-dark-muted); }
.contact ul li { display: flex; gap: 12px; align-items: baseline; }
.contact ul li::before { content: "—"; color: var(--mares-deep); }
.contact .mail { margin-top: 28px; font-size: 14px; color: var(--on-dark-muted); }
.contact .mail a { color: var(--on-dark); font-weight: 500; text-underline-offset: 4px; }
form { background: #FFFFFF; color: #1E2118; border-radius: var(--r-lg); padding: 32px; display: grid; gap: 16px; min-width: 0; }
@media (max-width: 520px) { form { padding: 22px; } }
.seg { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.seg legend { font-size: 14px; color: #55584F; margin-bottom: 10px; padding: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: 6px 14px; border-radius: 30px; border: 1px solid #1E2118; font-size: 14px; cursor: pointer; }
.seg input:checked + label { background: #1E2118; color: #FFFFFF; }
.seg input:focus-visible + label { outline: 2px solid #556B2F; outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; color: #55584F; }
.field input, .field textarea { width: 100%; font: 400 16px/1.5 var(--text); color: #1E2118; background: #FFFFFF; border: 1px solid #DAD5CA; border-radius: 4px; padding: 12px 14px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #8A8C83; }
.field input:focus, .field textarea:focus { outline: none; border-color: #556B2F; box-shadow: 0 0 0 1px #556B2F; }
form .btn { justify-self: start; background: #1E2118; color: #FFFFFF; }
.note { font-size: 13px; color: #55584F; }
.sent { font-size: 14px; color: #1E2118; background: #F4EEE2; border-left: 3px solid #6E4A2C; padding: 10px 14px; border-radius: 4px; }

/* ---------- Pie ---------- */
footer { background: #1E2118; color: #F4EEE2; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 48px; font-size: 12px; }
footer .muted { color: #B9BCA8; }
footer b { font-weight: 500; letter-spacing: .2em; }
footer .langs a { color: #F4EEE2; text-underline-offset: 3px; }
footer .langs a[aria-current] { text-decoration: none; color: #B9BCA8; }
footer .credits { flex-basis: 100%; font-size: 11px; line-height: 1.6; }
footer .credits a { color: #F4EEE2; }
