/* Zorribike · reestilado 2026 */
:root {
  --orange: #F25C05; --orange-dark: #C94A02; --green: #7CB518; --green-dark: #5F8E0F;
  --ink: #16191D; --ink-2: #3A4149; --muted: #6B737B; --line: #E4E7EA;
  --bg: #FFFFFF; --bg-alt: #F5F6F7; --dark: #14181D; --dark-2: #1D2329;
  --radius: 14px; --shadow: 0 10px 30px -18px rgba(20, 24, 29, .35);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5rem .8rem; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* ── botones ── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2; transition: transform .15s, background .15s, color .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: #F5F6F7; color: var(--green-dark); }
.btn-small { padding: .55rem 1.1rem; font-size: .92rem; background: var(--orange); color: #fff; }

/* ── cabecera ── */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand img { width: auto; height: 52px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav a:not(.btn) { display: block; padding: .55rem .8rem; border-radius: 8px; color: var(--ink-2); font-weight: 600; text-decoration: none; font-size: .95rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--bg-alt); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 8px 8px 0 0; }
.nav { display: flex; align-items: center; gap: .75rem; }
.nav-cta { padding: .6rem 1.15rem; font-size: .92rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav a:not(.btn) { padding: .8rem .6rem; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); border-radius: 8px; }
  .nav-cta { justify-content: center; margin-top: .5rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── portada ── */
.hero { position: relative; color: #fff; background: var(--dark); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(14px) saturate(120%); opacity: .35; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(20, 24, 29, .95) 0%, rgba(20, 24, 29, .75) 55%, rgba(242, 92, 5, .35) 100%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: 5rem 0 3rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: #FFB27A; margin-bottom: 1rem; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, .85); max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); transform: rotate(-1.5deg); border: 6px solid rgba(255, 255, 255, .08); }
.hero-photo img { width: 100%; aspect-ratio: 550 / 367; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.5rem 0 3rem; }
.stats div { border-left: 3px solid var(--orange); padding-left: 1rem; }
.stats strong { display: block; font-size: 1.8rem; font-weight: 800; line-height: 1.1; }
.stats span { color: rgba(255, 255, 255, .7); font-size: .9rem; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; padding-top: 3rem; } .hero-photo { transform: none; max-width: 560px; } .stats { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }

/* ── secciones ── */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 2.25rem; position: relative; }
.section-title::after { content: ""; display: block; width: 48px; height: 4px; background: var(--orange); border-radius: 2px; margin: .8rem auto 0; }
.section-title.small { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.section-title.small::after { display: none; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.75rem; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: #F9C7A6; }
.card-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: #FFF0E6; color: var(--orange); margin-bottom: 1.1rem; }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item { display: block; border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 370 / 250; background: #ddd; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.quote { background: var(--dark); color: #fff; padding: 4rem 0; text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 30ch; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.quote blockquote::before { content: ""; display: block; width: 48px; height: 4px; background: var(--orange); margin: 0 auto 1.25rem; border-radius: 2px; }

.subscribe { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .subscribe { grid-template-columns: 1fr; gap: 1.5rem; } }
.subscribe p { color: var(--ink-2); font-size: 1.05rem; }

.cta { background: linear-gradient(120deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; padding: 3.5rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .25rem; }
.cta p { margin: 0; color: rgba(255, 255, 255, .9); }

.sponsors { padding: 3rem 0 4rem; }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: center; }
.logos img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; padding: .75rem; background: #fff; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logos img:hover { filter: none; opacity: 1; }
@media (max-width: 760px) { .logos { grid-template-columns: repeat(2, 1fr); } }

/* ── formularios ── */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.form-card form p { margin: 0 0 1rem; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.form-card form p:has(input[type="submit"]) { margin: 1.25rem 0 0; }
.form-card label { display: block; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"], .form-card textarea { width: 100%; display: block; margin-top: .35rem; padding: .8rem .95rem; font: inherit; font-weight: 400; border: 1.5px solid #CFD5DB; border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242, 92, 5, .15); }
.form-card textarea { min-height: 150px; resize: vertical; }
.form-card .wpcf7-list-item { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--muted); }
.form-card input[type="checkbox"] { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--orange); flex: none; }
.form-card input[type="submit"] { display: inline-flex; padding: .85rem 1.6rem; border-radius: 999px; border: 0; background: var(--orange); color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: background .15s, transform .15s; }
.form-card input[type="submit"]:hover { background: var(--orange-dark); transform: translateY(-1px); }
.form-card .wpcf7-response-output, .form-card .wwwm-response { margin-top: 1rem; padding: .75rem 1rem; border-radius: 10px; background: #FFF4E8; border: 1px solid #F9C7A6; font-weight: 500; }
.form-card .wpcf7-response-output:empty, .form-card .wwwm-response:empty { display: none; }
.form-card span[style*="-9999px"], .form-card .nospambots-wrap { position: absolute !important; left: -9999px !important; }

/* ── páginas interiores ── */
.page-hero { background: var(--dark); color: #fff; padding: 3.5rem 0 3rem; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -40%; width: 45%; height: 200%; background: radial-gradient(closest-side, rgba(242, 92, 5, .35), transparent); pointer-events: none; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero .lead { color: rgba(255, 255, 255, .8); margin: .5rem 0 0; font-size: 1.1rem; max-width: 60ch; }
.crumb { font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: .75rem; }
.crumb a { color: rgba(255, 255, 255, .8); }
.prose { max-width: 78ch; }
.prose h2 { margin-top: 2.25rem; padding-top: .25rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .35rem; }
.prose img { border-radius: 12px; margin: 1rem 0; }
.prose .video { position: relative; aspect-ratio: 16 / 9; margin: 1.5rem 0; border-radius: 12px; overflow: hidden; background: #000; }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose .photo { display: inline-block; width: calc(50% - .5rem); margin: .25rem 0; vertical-align: top; }
.prose .photo img { margin: 0; border-radius: 10px; }
.prose .photo + .photo { margin-left: 1rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.prose td, .prose th { border: 1px solid var(--line); padding: .5rem .7rem; text-align: left; }
.prose .form-card { margin: 1.5rem 0; }
details.faq { border: 1px solid var(--line); border-radius: 12px; padding: 0; margin: 0 0 .75rem; background: #fff; }
details.faq summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--orange); line-height: 1; flex: none; }
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body { padding: 0 1.25rem 1rem; color: var(--ink-2); }
details.faq .faq-body p:last-child { margin-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: start; }
.contact-info { background: var(--bg-alt); border-radius: var(--radius); padding: 1.75rem; }
.contact-info h2, .contact-form h2 { font-size: 1.35rem; margin-top: 0; }
.contact-info .btn { margin-top: .25rem; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.social-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.75rem 0; }
.social-card { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 700; background: #fff; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.social-card:hover { transform: translateY(-2px); border-color: var(--orange); color: var(--ink); }
.social-card svg { width: 26px; height: 26px; color: var(--orange); }
@media (max-width: 640px) { .social-cards { grid-template-columns: 1fr; } }

/* ── pie ── */
.foot { background: var(--dark); color: rgba(255, 255, 255, .78); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot h3 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .75rem; }
.foot a { color: #fff; }
.foot-name { color: #fff; font-weight: 700; margin-bottom: .35rem; }
.foot-logo { margin-bottom: .75rem; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin-bottom: .35rem; }
.foot-links a { text-decoration: none; color: rgba(255, 255, 255, .78); }
.foot-links a:hover { color: #fff; }
.social { display: flex; gap: .6rem; margin-top: .75rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .15s; }
.social a:hover { background: var(--orange); }
.foot-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: rgba(255, 255, 255, .55); }
.foot-bottom a { color: rgba(255, 255, 255, .7); text-decoration: none; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ── cookies ── */
.cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; margin: 0 auto; max-width: 720px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .4); padding: .9rem 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }

/* ── visor de fotos ── */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(10, 12, 14, .92); display: grid; place-items: center; padding: 2rem; }
.lightbox img { max-width: min(100%, 1100px); max-height: 100%; border-radius: 10px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.lightbox button { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 1.5rem; cursor: pointer; }
