/* ZECCO temporary landing page — site styles (also used in production).
   Layout: two-column hero (pitch left, contact card right) that stacks on phones,
   then a Costa del Sol band, disclaimer and footer. Light is the brand default. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/inter-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 {
  --bg: #FAFBF7;
  --surface: #FFFFFF;
  --soft: #EEF4EA;
  --line: #DCE6D8;
  --field-line: #7C9281;
  --head: #1A4A31;
  --text: #3E5145;
  --muted: #5A6B60;
  --hl: #5E9E1F;
  --lime: #9BDC3F;
  --on-lime: #0D1F15;
  --chip: #E4EEDD;
  --icon: #2E5D3B;
  --arc: rgba(155, 220, 63, .22);
  --field: #FFFFFF;
  --err: #B42318;
  --err-bg: #FDECEA;
  --foot-bg: #10291B;
  --foot-text: #C9D8CD;
  --foot-muted: #9DB1A3;
  --foot-line: #24412F;
  --shadow: 0 24px 60px rgba(26, 74, 49, .14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1F15; --surface: #14291D; --soft: #183324; --line: #2E4F3A; --field-line: #5E7F69;
    --head: #EEF4EA; --text: #C6D4C9; --muted: #9DB1A3; --hl: #9BDC3F; --chip: #1E3A29;
    --icon: #9BDC3F; --arc: rgba(155, 220, 63, .10); --field: #0F2318; --err: #FF9B8C; --err-bg: #3A1C18;
    --shadow: 0 24px 60px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D1F15; --surface: #14291D; --soft: #183324; --line: #2E4F3A; --field-line: #5E7F69;
  --head: #EEF4EA; --text: #C6D4C9; --muted: #9DB1A3; --hl: #9BDC3F; --chip: #1E3A29;
  --icon: #9BDC3F; --arc: rgba(155, 220, 63, .10); --field: #0F2318; --err: #FF9B8C; --err-bg: #3A1C18;
  --shadow: 0 24px 60px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; }
.zx { background: var(--bg); color: var(--text); min-height: 100vh; transition: background .3s ease, color .3s ease; }
.zx *, .zx *::before, .zx *::after { box-sizing: border-box; }
.zx a { color: var(--head); text-decoration: none; }
.zx a:hover { color: var(--hl); }
.zx button, .zx input, .zx select, .zx textarea { font-family: inherit; }
.zx input::placeholder, .zx textarea::placeholder { color: var(--muted); opacity: 1; }
.zx :focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.zx h1, .zx h2, .zx h3 { text-wrap: balance; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -10000px; top: 8px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--surface); }
.skip:focus { left: 16px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Header + nav */
.stage { position: relative; overflow: hidden; }
.stage > header, .stage > main { position: relative; }
.hdr-art { position: absolute; top: 0; left: 0; width: 100%; height: min(900px, 100%); pointer-events: none; }
.nav { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.logo { display: flex; align-items: center; }
.logo img { height: 44px; width: auto; display: block; }
.logo .on-dark { display: none; }
:root[data-theme="dark"] .logo .on-light { display: none; }
:root[data-theme="dark"] .logo .on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo .on-light { display: none; }
  :root:not([data-theme="light"]) .logo .on-dark { display: block; }
}
.nav-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav-mail { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: 600; }
.seg { display: flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.seg button, .seg a { min-width: 40px; height: 36px; padding: 0 8px; border: 0; border-radius: 999px; cursor: pointer; display: grid; place-items: center; font-size: 13px; font-weight: 700; letter-spacing: .04em; background: transparent; color: var(--muted); }
.seg [aria-pressed="true"], .seg [aria-current="true"] { background: var(--surface); color: var(--head); }
.seg .ico { width: 36px; min-width: 36px; padding: 0; }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: start; padding-block: 48px 88px; }
.pitch { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; min-width: 0; }
.eyebrow { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--chip); color: var(--head); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--lime); box-shadow: 0 0 0 4px rgba(155, 220, 63, .3); flex: none; }
.h1 { margin: 0; font-size: clamp(44px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; color: var(--head); }
.h1 .hl { color: var(--hl); }
.intro { margin: 0; max-width: 540px; font-size: 19px; }
.pitch .cta-mobile { display: none; }
.usps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.usps li { display: flex; align-items: flex-start; gap: 14px; }
.tick { flex: none; width: 40px; height: 40px; border-radius: 999px; background: var(--chip); border: 2px solid rgba(155, 220, 63, .6); display: grid; place-items: center; }
.usps .t { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.usps strong { font-size: 16px; color: var(--head); }
.usps .d { font-size: 15px; color: var(--muted); }
.pills { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; font-weight: 600; }

/* Contact card */
.card { position: relative; padding: 36px 32px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; scroll-margin-top: 16px; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form h2 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700; color: var(--head); }
.form .sub { margin: 0; font-size: 15px; color: var(--muted); }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld label { font-size: 14px; font-weight: 600; color: var(--head); }
.fld .opt { font-weight: 400; color: var(--muted); }
.req { color: var(--err); }
.inp { min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--field-line); background: var(--field); color: var(--head); font-size: 16px; width: 100%; }
textarea.inp { padding: 12px 14px; line-height: 1.5; resize: vertical; min-height: 112px; }
select.inp { padding: 0 12px; }
.inp[aria-invalid="true"] { border-color: var(--err); border-width: 2px; }
.err { font-size: 13px; font-weight: 600; color: var(--err); }
.err-sum { padding: 12px 16px; border-radius: 14px; background: var(--err-bg); color: var(--err); font-size: 14px; font-weight: 600; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: #1A4A31; }
.consent a { font-weight: 600; text-decoration: underline; }
.consent + .err { padding-left: 34px; }
.btn-lime { min-height: 54px; border: 0; border-radius: 999px; background: var(--lime); color: var(--on-lime); font-size: 16px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 26px; box-shadow: 0 8px 24px rgba(155, 220, 63, .4); }
.zx a.btn-lime { color: var(--on-lime); }
.btn-lime[disabled] { opacity: .7; cursor: progress; }
.btn-ghost { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--head); background: transparent; color: var(--head); font-size: 15px; font-weight: 700; cursor: pointer; }
.fine { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.ts { min-height: 0; }
.ok { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 16px 0; }
.ok-badge { width: 64px; height: 64px; border-radius: 999px; background: var(--lime); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(155, 220, 63, .2); }
.ok h2 { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 700; color: var(--head); }
.ok p { margin: 0; }
.ok strong { color: var(--head); overflow-wrap: anywhere; }
.note { width: 100%; padding: 16px 18px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.note.warn { border-style: dashed; }

/* Band */
.band-sec { padding-block: 0 80px; }
.band { position: relative; overflow: hidden; border-radius: clamp(32px, 16vw, 240px) 32px 32px 32px; min-height: 320px; display: flex; align-items: flex-end; background: linear-gradient(135deg, #0B2216 0%, #1A4A31 58%, #2E5D3B 100%); }
.band > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.band-in { position: relative; padding: 40px 48px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; width: 100%; color: #FFFFFF; }
.band-txt { display: flex; flex-direction: column; gap: 6px; max-width: 620px; min-width: 0; }
.band-lbl { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.band strong { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; text-wrap: balance; }

/* Disclaimer */
.disc-sec { padding-block: 0 80px; }
.disc { padding: 32px 36px; border-radius: 24px; background: var(--soft); border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px 32px; }
.disc-h { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; align-self: flex-start; }
.disc-h h2 { margin: 0; font-size: 20px; font-weight: 700; color: var(--head); }
.circ { width: 44px; height: 44px; border-radius: 999px; background: var(--chip); display: grid; place-items: center; flex: none; }
.disc-b { flex: 1 1 560px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.65; min-width: 0; }
.disc-b p { margin: 0; }

/* Footer (always dark, both themes) */
.ftr { background: var(--foot-bg); color: var(--foot-text); padding-block: 64px 28px; }
.ftr-in { display: flex; flex-direction: column; gap: 40px; }
.ftr-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px; }
.ftr-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; min-width: 0; }
.ftr-col p { margin: 0; font-size: 14px; }
.ftr-col img { height: 48px; width: auto; align-self: flex-start; margin-bottom: 6px; }
.ftr-col > strong { color: #FFFFFF; }
.ftr .ci { display: inline-flex; align-items: center; gap: 10px; min-height: 28px; color: var(--foot-text); overflow-wrap: anywhere; }
.ftr a.ci:hover { color: var(--lime); }
.ftr-bot { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--foot-line); font-size: 13px; color: var(--foot-muted); }
.ftr-bot p { margin: 0; }
.ftr-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.ftr-links span { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.ftr-links a { color: var(--foot-muted); }
.ftr-links a:hover { color: var(--lime); }

/* Legal pages (shown via #privacy, #cookies, #aviso-legal) */
.legal { padding-block: 32px 80px; }
.legal-card { max-width: 760px; margin: 0 auto; padding: 40px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.legal-card h1 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 40px); line-height: 1.15; color: var(--head); }
.legal-card h2 { margin: 28px 0 6px; font-size: 18px; color: var(--head); }
.legal-card p { margin: 0 0 10px; max-width: 68ch; }
.legal-meta { font-size: 13px; color: var(--muted); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 16px; font-weight: 600; }

@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .hero { gap: 40px; padding-block: 24px 64px; }
  .pitch { padding-top: 8px; }
  .pitch .cta-mobile { display: inline-flex; align-self: stretch; }
  .card { padding: 28px 20px; border-radius: 24px; }
  .band-in { padding: 32px 24px; }
  .disc { padding: 24px 20px; }
  .legal-card { padding: 28px 20px; }
  .logo img { height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .zx, .zx * { transition: none !important; scroll-behavior: auto !important; }
}

/* Unfilled contact data (shown in preview and editor only; empty values are hidden on the live site) */
mark.todo { background: #FFE58A; color: #3B2F00; padding: 0 5px; border-radius: 4px; font-weight: 600; font-size: .92em; }
