:root {
  --ink: #162631;
  --ink-soft: #42525b;
  --paper: #fffdf8;
  --paper-deep: #f5efe4;
  --orange: #df5f1a;
  --orange-dark: #b9420c;
  --sage: #748665;
  --blue-wash: #dfeaf0;
  --line: rgba(22, 38, 49, .14);
  --shadow: 0 22px 65px rgba(36, 42, 45, .12);
  --radius: 26px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(223, 95, 26, .08), transparent 24rem),
    radial-gradient(circle at 91% 22%, rgba(116, 134, 101, .10), transparent 28rem),
    linear-gradient(180deg, #fffefb 0%, #faf6ee 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 10px 16px;
  border-radius: 0 0 12px 12px;
}
.skip-link:focus { top: 0; }

.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 36px), 820px); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255, 253, 248, .82);
  border-bottom: 1px solid rgba(22, 38, 49, .08);
}
.navbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.035em; font-size: 1.22rem; }
.brand img { width: 47px; height: 47px; object-fit: cover; border-radius: 12px; }
.brand em { color: var(--orange); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; font-weight: 650; font-size: .94rem; }
.nav-links a:not(.button):hover { color: var(--orange-dark); }
.lang-switch { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 650; font-size: .94rem; }
.lang-switch:hover { color: var(--orange-dark); }
.lang-switch svg { flex: none; opacity: .75; }
.menu-button { display: none; border: 0; background: transparent; padding: 9px; font: inherit; cursor: pointer; }
.menu-button span { display: block; width: 25px; height: 2px; background: var(--ink); margin: 5px; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 780;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--orange); box-shadow: 0 13px 28px rgba(223, 95, 26, .25); }
.button-primary:hover { background: var(--orange-dark); }
.button-secondary { background: rgba(255,255,255,.68); border-color: var(--line); }
.button-small { min-height: 42px; padding-inline: 18px; }

.hero { position: relative; padding: clamp(70px, 10vw, 125px) 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(42px, 8vw, 95px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 850; color: var(--orange-dark); }
.eyebrow::before { content: ""; width: 35px; height: 3px; border-radius: 50%; background: var(--orange); transform: rotate(-3deg); }
h1, h2, h3 { line-height: 1.08; margin-top: 0; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.4rem, 7.2vw, 6.8rem); letter-spacing: -.065em; margin: 18px 0 25px; max-width: 780px; font-weight: 500; }
h1 span { color: var(--orange); position: relative; white-space: nowrap; }
h1 span::after { content: ""; position: absolute; left: 1%; right: -3%; bottom: -.08em; height: .16em; background: var(--orange); opacity: .22; border-radius: 55% 40% 55% 30%; transform: rotate(-1.5deg); }
.hero-copy { font-size: clamp(1.05rem, 1.7vw, 1.24rem); color: var(--ink-soft); max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 31px 0 23px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 18px; font-size: .9rem; font-weight: 700; color: var(--ink-soft); }
.hero-note span::before { content: "✓"; color: var(--sage); margin-right: 6px; }

.hero-art { position: relative; min-height: 575px; }
.hero-art::before { content: ""; position: absolute; width: 84%; height: 76%; top: 6%; right: -6%; border: 3px solid rgba(223, 95, 26, .35); border-radius: 49% 51% 44% 56% / 52% 45% 55% 48%; transform: rotate(6deg); }
.paper-card { position: absolute; background: white; border: 1px solid rgba(22,38,49,.12); box-shadow: var(--shadow); }
.challenge-card { width: min(92%, 480px); right: 1%; top: 7%; border-radius: 22px; padding: 16px; transform: rotate(2.4deg); }
.challenge-image { aspect-ratio: 4/3; border-radius: 15px; overflow: hidden; background: linear-gradient(145deg, #e9eee8, #f8e8dc); position: relative; }
.challenge-image svg { width: 100%; height: 100%; }
.challenge-image img { width: 100%; height: 100%; object-fit: cover; }
.challenge-meta { display: flex; justify-content: space-between; gap: 20px; align-items: end; padding: 17px 8px 5px; }
.challenge-meta small { display:block; color: var(--orange-dark); font-weight:800; text-transform:uppercase; letter-spacing:.11em; }
.challenge-meta strong { font-family: Georgia,serif; font-size:1.5rem; }
.countdown { text-align:right; font-weight:800; font-size:.86rem; }
.sketch-note { width: 210px; left: 0; bottom: 8%; border-radius: 8px 14px 10px 7px; padding: 18px 17px; transform: rotate(-7deg); font-family: "Comic Sans MS", "Bradley Hand", cursive; font-size: 1.08rem; }
.sketch-note::before { content:""; position:absolute; width:55px; height:18px; background:rgba(205,181,137,.48); top:-9px; left:62px; transform:rotate(4deg); }
.logo-stamp { position: absolute; width: 145px; right: -3%; bottom: -1%; border-radius: 50%; transform: rotate(8deg); filter: drop-shadow(0 12px 18px rgba(22,38,49,.12)); }

.section { padding: clamp(72px, 9vw, 118px) 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-family: Georgia,serif; font-weight:500; font-size:clamp(2.5rem,5vw,4.5rem); letter-spacing:-.045em; margin:12px 0 16px; }
.section-head p { font-size:1.08rem; color:var(--ink-soft); }
.centered { text-align:center; margin-inline:auto; }
.centered .eyebrow { justify-content:center; }

.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; counter-reset: step; }
.step { counter-increment:step; padding:32px; min-height:315px; border:1px solid var(--line); border-radius:var(--radius); background:rgba(255,255,255,.65); position:relative; overflow:hidden; }
.step::after { content:counter(step); position:absolute; right:18px; bottom:-36px; font-family:Georgia,serif; font-size:10rem; color:rgba(223,95,26,.07); line-height:1; }
.step-icon { width:66px; height:66px; border-radius:22px; display:grid; place-items:center; background:var(--paper-deep); font-size:1.9rem; margin-bottom:42px; transform:rotate(-3deg); }
.step h3 { font-family:Georgia,serif; font-size:1.65rem; margin-bottom:12px; }
.step p { color:var(--ink-soft); margin:0; }

.gallery-section { background:var(--ink); color:white; position:relative; overflow:hidden; }
.gallery-section::before { content:""; position:absolute; inset:0; opacity:.08; background:repeating-linear-gradient(103deg,transparent 0 44px,white 45px 46px); }
.gallery-section .section-head p { color:rgba(255,255,255,.68); }
.gallery-grid { display:grid; grid-template-columns:1.1fr .9fr .9fr; grid-template-rows:repeat(2,230px); gap:18px; position:relative; }
.art-placeholder { min-height:220px; border-radius:20px; overflow:hidden; background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.14); position:relative; }
.art-placeholder:first-child { grid-row:span 2; }
.art-placeholder svg { width:100%; height:100%; }
.art-placeholder img { width:100%; height:100%; object-fit:cover; display:block; }
.placeholder-label { position:absolute; left:14px; bottom:14px; background:rgba(13,24,31,.78); color:white; border:1px solid rgba(255,255,255,.15); padding:7px 12px; border-radius:99px; font-size:.78rem; font-weight:780; backdrop-filter:blur(8px); }
.gallery-credit { margin:14px 0 0; font-size:.8rem; color:rgba(255,255,255,.55); }
.gallery-credit a { color:rgba(255,255,255,.75); text-decoration:underline; }
.gallery-credit a:hover { color:white; }

.values-grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(40px,8vw,95px); align-items:center; }
.free-card { padding:50px; border-radius:34px; background:var(--orange); color:white; position:relative; overflow:hidden; box-shadow:var(--shadow); }
.free-card::after { content:"0 €"; position:absolute; right:-20px; bottom:-46px; font:500 10rem/1 Georgia,serif; color:rgba(255,255,255,.12); }
.free-card h2 { font:500 clamp(2.6rem,5vw,4.3rem)/1.02 Georgia,serif; letter-spacing:-.05em; max-width:530px; }
.free-card p { font-size:1.12rem; max-width:540px; color:rgba(255,255,255,.82); }
.value-list { display:grid; gap:24px; }
.value { display:grid; grid-template-columns:58px 1fr; gap:16px; align-items:start; }
.value-mark { width:52px; height:52px; border-radius:50%; border:2px solid var(--orange); display:grid; place-items:center; color:var(--orange-dark); font-weight:900; }
.value h3 { margin:3px 0 7px; font-size:1.12rem; }
.value p { margin:0; color:var(--ink-soft); }

.preview-shell { display:grid; grid-template-columns:.78fr 1.22fr; gap:35px; padding:24px; border-radius:35px; border:1px solid var(--line); background:rgba(255,255,255,.72); box-shadow:var(--shadow); }
.phone { width:min(100%,310px); aspect-ratio:9/18.5; border-radius:42px; border:9px solid #17242c; background:white; padding:13px; margin:auto; box-shadow:0 20px 45px rgba(22,38,49,.2); transform:rotate(-2deg); }
.phone-screen { height:100%; border-radius:25px; overflow:hidden; background:linear-gradient(#fffdf8,#f0e8da); position:relative; }
.phone-top { height:24px; width:90px; background:#17242c; border-radius:0 0 13px 13px; position:absolute; top:0; left:50%; transform:translateX(-50%); z-index:2; }
.phone-shot { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:top; display:block; }
.interface-copy { align-self:center; padding:22px 20px 22px 0; }
.interface-copy h2 { font:500 clamp(2.4rem,4.5vw,4rem)/1.06 Georgia,serif; letter-spacing:-.045em; margin-bottom:18px; }
.interface-copy p { color:var(--ink-soft); font-size:1.08rem; }
.interface-chips { display:flex; flex-wrap:wrap; gap:9px; margin-top:23px; }
.chip { padding:8px 13px; border-radius:99px; background:var(--paper-deep); font-size:.84rem; font-weight:760; }

.faq { display:grid; gap:13px; max-width:850px; margin-inline:auto; }
details { border:1px solid var(--line); border-radius:17px; background:rgba(255,255,255,.62); padding:0 21px; }
summary { list-style:none; cursor:pointer; font-weight:800; padding:20px 38px 20px 0; position:relative; }
summary::-webkit-details-marker { display:none; }
summary::after { content:"+"; position:absolute; right:0; top:13px; font:500 1.8rem Georgia,serif; color:var(--orange); }
details[open] summary::after { content:"−"; }
details p { margin:0; padding:0 0 21px; color:var(--ink-soft); }

.about-section { padding:clamp(52px,6vw,80px) 0; }
.about-grid { display:grid; grid-template-columns:auto 1fr; gap:clamp(38px,6vw,75px); align-items:center; }
.about-photo { position:relative; width:160px; margin-inline:auto; background:white; border:1px solid rgba(22,38,49,.12); border-radius:16px; padding:8px 8px 12px; box-shadow:var(--shadow); transform:rotate(-2.4deg); }
.about-photo::before { content:""; position:absolute; inset:-9% -11%; border:3px solid rgba(223,95,26,.32); border-radius:52% 48% 45% 55% / 48% 54% 46% 52%; transform:rotate(5deg); pointer-events:none; }
.about-photo img { width:100%; height:auto; aspect-ratio:2/3; object-fit:cover; border-radius:10px; }
.about-caption { display:block; text-align:center; margin-top:10px; font-family:"Comic Sans MS","Bradley Hand",cursive; font-size:.86rem; color:var(--ink-soft); }
.about-copy h2 { font-family:Georgia,serif; font-weight:500; font-size:clamp(2.1rem,4vw,3.2rem); letter-spacing:-.045em; margin:12px 0 14px; }
.about-copy p { color:var(--ink-soft); font-size:1.02rem; max-width:640px; }

.cta { padding:0 0 110px; }
.cta-box { text-align:center; border-radius:36px; padding:clamp(52px,8vw,90px) 24px; background:linear-gradient(135deg,#e5ece8,#f8e3d7); position:relative; overflow:hidden; border:1px solid rgba(22,38,49,.09); }
.cta-box::before,.cta-box::after { content:""; position:absolute; width:320px; height:80px; border:9px solid rgba(223,95,26,.25); border-color:rgba(223,95,26,.25) transparent transparent transparent; border-radius:50%; }
.cta-box::before { left:-90px; top:10px; transform:rotate(12deg); }
.cta-box::after { right:-80px; bottom:-35px; transform:rotate(192deg); }
.cta-box h2 { font:500 clamp(2.7rem,5.5vw,5rem)/1.02 Georgia,serif; letter-spacing:-.055em; max-width:820px; margin:0 auto 18px; }
.cta-box p { max-width:620px; margin:0 auto 28px; color:var(--ink-soft); font-size:1.1rem; }
#access-pending-note { margin-top:14px; font-size:.84rem; color:var(--ink-soft); }

.site-footer { background:#111e26; color:white; padding:58px 0 26px; }
.footer-grid { display:grid; grid-template-columns:1.2fr .8fr .8fr; gap:45px; }
.footer-brand p { max-width:430px; color:rgba(255,255,255,.62); }
.social-link { display:inline-flex; align-items:center; gap:9px; margin-top:6px; color:rgba(255,255,255,.76); text-decoration:none; font-weight:700; font-size:.92rem; }
.social-link:hover { color:white; }
.footer-title { font-size:.77rem; text-transform:uppercase; letter-spacing:.15em; color:rgba(255,255,255,.45); margin-bottom:15px; font-weight:850; }
.footer-links { display:grid; gap:9px; }
.footer-links a { color:rgba(255,255,255,.76); text-decoration:none; }
.footer-links a:hover { color:white; }
.footer-lang-note { margin-top:14px; font-size:.8rem; color:rgba(255,255,255,.45); }
.footer-bottom { margin-top:48px; padding-top:22px; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; color:rgba(255,255,255,.5); font-size:.85rem; }

/* Legal pages */
.legal-hero { padding:76px 0 46px; }
.legal-hero h1 { font-size:clamp(2.9rem,6vw,5.1rem); margin-bottom:20px; }
.legal-hero p { max-width:760px; color:var(--ink-soft); font-size:1.08rem; }
.legal-layout { display:grid; grid-template-columns:250px minmax(0,1fr); gap:55px; padding-bottom:100px; }
.legal-nav { position:sticky; top:102px; align-self:start; border:1px solid var(--line); background:rgba(255,255,255,.7); border-radius:18px; padding:18px; display:grid; gap:8px; }
.legal-nav a { text-decoration:none; padding:8px 10px; border-radius:10px; font-size:.9rem; font-weight:720; }
.legal-nav a:hover { background:var(--paper-deep); }
.legal-content { min-width:0; }
.legal-content section { scroll-margin-top:110px; padding:0 0 35px; margin-bottom:35px; border-bottom:1px solid var(--line); }
.legal-content h2 { font-family:Georgia,serif; font-size:2rem; font-weight:500; letter-spacing:-.03em; }
.legal-content h3 { font-size:1.05rem; margin-top:28px; }
.legal-content p,.legal-content li { color:var(--ink-soft); }
.legal-content li + li { margin-top:8px; }
.placeholder { display:inline-block; color:#8b3209; background:#fff0e7; border:1px dashed #dc7b45; border-radius:6px; padding:0 5px; font-weight:800; }
.legal-warning { border-left:5px solid var(--orange); background:#fff5ee; padding:18px 20px; border-radius:4px 14px 14px 4px; color:var(--ink-soft); margin:25px 0 40px; }
.table-wrap { overflow:auto; }
.legal-table { width:100%; border-collapse:collapse; min-width:620px; }
.legal-table th,.legal-table td { text-align:left; padding:14px; border-bottom:1px solid var(--line); vertical-align:top; }
.legal-table th { background:var(--paper-deep); }

@media (max-width: 900px) {
  .menu-button { display:block; }
  .nav-links { position:absolute; left:18px; right:18px; top:76px; display:none; flex-direction:column; align-items:stretch; gap:6px; background:var(--paper); border:1px solid var(--line); padding:16px; border-radius:18px; box-shadow:var(--shadow); }
  .nav-links.open { display:flex; }
  .nav-links a { padding:10px; }
  .lang-switch { margin-top:4px; padding-top:14px; border-top:1px solid var(--line); }
  .hero-grid,.values-grid,.preview-shell,.about-grid { grid-template-columns:1fr; }
  .hero { padding-top:65px; }
  .hero-art { min-height:520px; width:min(100%,620px); margin-inline:auto; }
  .steps { grid-template-columns:1fr; }
  .step { min-height:260px; }
  .gallery-grid { grid-template-columns:1fr 1fr; grid-template-rows:320px 220px; }
  .art-placeholder:first-child { grid-column:span 2; grid-row:auto; }
  .interface-copy { padding:20px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-brand { grid-column:span 2; }
  .legal-layout { grid-template-columns:1fr; }
  .legal-nav { position:static; grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 580px) {
  .container,.narrow { width:min(calc(100% - 24px),var(--max)); }
  .brand span { font-size:1.02rem; }
  h1 { font-size:clamp(3rem,15vw,4.7rem); }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .hero-art { min-height:430px; }
  .challenge-card { width:94%; }
  .sketch-note { width:170px; font-size:.94rem; bottom:2%; }
  .logo-stamp { width:100px; }
  .gallery-grid { grid-template-columns:1fr; grid-template-rows:auto; }
  .art-placeholder,.art-placeholder:first-child { grid-column:auto; min-height:260px; }
  .free-card { padding:36px 27px; }
  .about-photo { width:150px; }
  .preview-shell { padding:16px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-brand { grid-column:auto; }
  .legal-nav { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.001ms!important; animation-iteration-count:1!important; transition-duration:.001ms!important; }
}

/* Banner de consentimiento de cookies */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 680px; margin-inline: auto;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 22px;
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
}
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: .95rem; }
.cookie-banner-actions { display: flex; gap: 10px; }
