[hidden] { display: none !important; }
/* The DAS Walking Club — site styles */
:root {
  --blush: #fbe9ef;
  --blush-2: #f6d6e1;
  --rose: #e7a9bd;
  --rose-deep: #c85a7c;
  --berry: #9e3a5c;
  --ink: #2a1a20;
  --ink-2: #5a4650;
  --muted: #8a6f79;
  --cream: #fffaf6;
  --gold: #b8975a;
  --line: rgba(42, 26, 32, .12);
  --radius: 22px;
  --shadow: 0 18px 50px -24px rgba(120, 40, 70, .35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --arabic: "Tajawal", "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 16px; }
[dir="rtl"] body, body[dir="rtl"], html[lang="ar"] body { font-family: var(--arabic); }
img { max-width: 100%; display: block; }
a { color: var(--berry); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: var(--arabic); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; font-weight: 700; color: var(--rose-deep); margin-bottom: .9rem; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: var(--ink); color: #fff; border: 0;
  border-radius: 999px; padding: 15px 28px; font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, background .2s; min-height: 48px; }
html[lang="ar"] .btn { font-family: var(--arabic); }
.btn:hover { background: var(--berry); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.pink { background: var(--rose-deep); }
.btn.pink:hover { background: var(--berry); }
.btn[disabled] { opacity: .55; cursor: wait; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 233, 239, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.nav .brand img { height: 52px; width: auto; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--rose-deep); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-toggle { background: none; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 999px; padding: 8px 14px; font: 600 .9rem var(--arabic); cursor: pointer; min-height: 40px; }
.nav .btn { padding: 11px 20px; min-height: 42px; font-size: .92rem; }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 420px) { .nav .btn { display: none; } .nav .brand img { height: 44px; } }

/* Hero */
.hero { background: linear-gradient(180deg, var(--blush) 0%, var(--cream) 100%); padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 7.6vw, 6.2rem); line-height: .95; margin-bottom: .3em; }
.hero h1 em { font-style: italic; color: var(--rose-deep); }
html[lang="ar"] .hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.2; }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 540px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero-media { position: relative; }
.hero-media img { border-radius: 200px 200px var(--radius) var(--radius); aspect-ratio: 4/4.6; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.hero-badge { position: absolute; inset-inline-start: -22px; bottom: 34px; background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); max-width: 260px; }
.hero-badge b { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.15; }
html[lang="ar"] .hero-badge b { font-family: var(--arabic); font-size: 1.1rem; }
.hero-badge span { font-size: .86rem; color: var(--muted); }
.ribbon { width: 26px; height: 26px; flex: none; }
.stat-row { display: flex; gap: 28px; flex-wrap: wrap; }
.stat-row div { border-inline-start: 2px solid var(--rose); padding-inline-start: 14px; }
.stat-row b { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; font-weight: 600; }
.stat-row span { font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .hero-media img { aspect-ratio: 4/3.4; max-height: 420px; object-position: 50% 20%; border-radius: 160px 160px var(--radius) var(--radius); }
  .hero-badge { inset-inline-start: 8px; bottom: 16px; }
}

/* Routes */
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.route { background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.route .km { font-family: var(--serif); font-size: 4.6rem; line-height: .9; font-weight: 600; color: var(--rose-deep); }
.route .km small { font-size: 1.4rem; color: var(--ink); margin-inline-start: 4px; }
.route h3 { font-size: 1.5rem; margin: 14px 0 6px; }
.route p { color: var(--ink-2); margin: 0; }
.route .meta { margin-top: 16px; font-size: .86rem; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.route:nth-child(2) { background: var(--blush); }
.route:nth-child(3) { background: var(--ink); color: #fff; }
.route:nth-child(3) p, .route:nth-child(3) .meta { color: rgba(255, 255, 255, .75); }
.route:nth-child(3) .km { color: var(--rose); }
.route:nth-child(3) .km small { color: #fff; }
@media (max-width: 820px) { .routes { grid-template-columns: 1fr; } }

/* Pillars */
.pillars-sec { background: var(--blush); }
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pillar { background: rgba(255, 255, 255, .7); border-radius: 18px; padding: 24px 20px; }
.pillar .n { font-family: var(--serif); font-size: 1rem; color: var(--rose-deep); font-weight: 600; }
.pillar h3 { font-size: 1.3rem; margin: 8px 0 6px; }
.pillar p { font-size: .92rem; color: var(--ink-2); margin: 0; }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/4.4; object-fit: cover; box-shadow: var(--shadow); }
.split.reverse > :first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--rose-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.step { padding: 22px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--blush-2); color: var(--berry); font-weight: 700; margin-bottom: 14px; }
.step h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; margin: 0 0 6px; }
html[lang="ar"] .step h3 { font-family: var(--arabic); }
.step p { font-size: .9rem; color: var(--ink-2); margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Registration */
.register-sec { background: linear-gradient(180deg, var(--cream), var(--blush)); }
.register-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.register-aside { position: sticky; top: 96px; }
.event-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px; margin-top: 24px; }
.event-card .eyebrow { color: var(--rose); }
.event-card h3 { font-size: 1.6rem; color: #fff; }
.event-card p { margin: 4px 0; color: rgba(255, 255, 255, .8); }
.event-card a { color: var(--rose); }
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.org-banner { background: var(--blush); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-weight: 500; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fgrid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .register-grid { grid-template-columns: 1fr; } .register-aside { position: static; } }
label.f { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
label.f .opt { font-weight: 400; color: var(--muted); }
.hint { font-size: .8rem; color: var(--muted); margin-top: 5px; }
input:not([type]), input[type=text], input[type=tel], input[type=email], input[type=password], input[type=number], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 13px 14px; min-height: 50px; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rose-deep); box-shadow: 0 0 0 4px rgba(200, 90, 124, .15); }
.invalid input, .invalid select, .invalid textarea { border-color: #c0392b; }
.err { color: #c0392b; font-size: .82rem; margin-top: 4px; display: none; }
.invalid .err { display: block; }
.phone-wrap { display: flex; direction: ltr; }
.phone-wrap span { display: grid; place-items: center; padding: 0 12px; background: var(--blush); border: 1.5px solid var(--line); border-inline-end: 0; border-radius: 12px 0 0 12px; font-weight: 600; }
.phone-wrap input { border-radius: 0 12px 12px 0; }
.route-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.route-pick label { cursor: pointer; }
.route-pick input { position: absolute; opacity: 0; pointer-events: none; }
.route-pick .opt-card { display: block; text-align: center; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 6px; background: var(--cream); transition: all .15s; }
.route-pick .opt-card b { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; }
.route-pick .opt-card span { display: block; font-size: .78rem; color: var(--muted); }
.route-pick input:checked + .opt-card { border-color: var(--rose-deep); background: var(--blush); box-shadow: 0 0 0 3px rgba(200, 90, 124, .15); }
.route-pick input:focus-visible + .opt-card { outline: 2px solid var(--rose-deep); outline-offset: 2px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes label { cursor: pointer; }
.sizes input { position: absolute; opacity: 0; pointer-events: none; }
.sizes span { display: inline-grid; place-items: center; min-width: 52px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; background: var(--cream); }
.sizes input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.sizes input:focus-visible + span { outline: 2px solid var(--rose-deep); outline-offset: 2px; }
.checks { display: grid; gap: 12px; margin: 8px 0 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--rose-deep); flex: none; margin-top: 1px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.form-error { background: #fdecea; color: #8e2a1f; border-radius: 12px; padding: 12px 16px; margin-top: 16px; display: none; }
.form-error.show { display: block; }
.success { text-align: center; padding: 20px 0; }
.success .big-icon { margin-inline: auto; }

/* Partners */
.partners { background: var(--ink); color: #fff; }
.partners h2 { color: #fff; }
.partners p { color: rgba(255, 255, 255, .78); }
.partner-types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 36px 0; }
.partner-types div { border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 18px; font-weight: 600; }
.partner-types small { display: block; font-weight: 400; color: rgba(255, 255, 255, .6); margin-top: 4px; }
.partners .btn { background: var(--rose); color: var(--ink); }
.partners .btn:hover { background: #fff; }
.partners .btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
@media (max-width: 900px) { .partner-types { grid-template-columns: repeat(2, 1fr); } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--rose-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* Footer */
.footer { background: var(--blush); padding: 56px 0 36px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer img { height: 110px; width: auto; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.footer .legal { width: 100%; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 12px; }

/* Simple pages (ticket, flags, verification) */
.page-simple { background: var(--blush); min-height: 100vh; display: flex; flex-direction: column; }
.mini-head { text-align: center; padding: 22px 16px 6px; }
.mini-head img { margin-inline: auto; height: 64px; width: auto; }
.simple-main { flex: 1; width: min(560px, 100% - 32px); margin: 0 auto; padding: 12px 0 40px; }
.mini-foot { text-align: center; font-size: .82rem; color: var(--muted); padding: 20px; }
.ticket { background: #fff; border-radius: 26px; padding: 30px 24px; text-align: center; box-shadow: var(--shadow); }
.ticket h1 { font-size: 2.2rem; margin-bottom: .1em; }
.ticket .qr { background: #fff; padding: 12px; border-radius: 18px; border: 2px dashed var(--rose); width: fit-content; margin: 20px auto 10px; }
.ticket .qr img { width: 240px; height: 240px; }
.ticket .code { font-family: ui-monospace, Menlo, monospace; font-size: 1.3rem; letter-spacing: .12em; font-weight: 700; margin: 0; }
.badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 16px 0; }
.badge { font-size: .8rem; padding: 6px 12px; border-radius: 999px; background: #f3eef0; color: var(--muted); font-weight: 600; }
.badge.on { background: #e5f4ea; color: #1f7a45; }
.facts { text-align: start; margin: 18px 0; display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.facts dt { color: var(--muted); font-size: .88rem; }
.facts dd { margin: 0; font-weight: 600; }
.actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0 10px; }
.extras { margin-top: 22px; }
.extras h2 { font-size: 1.7rem; text-align: center; }
.link-card { display: block; background: #fff; border-radius: 16px; padding: 16px 20px; margin-bottom: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.big-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; font-weight: 700; margin: 0 auto 14px; background: #e5f4ea; color: #1f7a45; }
.msg.warn .big-icon { background: #fdecea; color: #b03a2e; }
.error { color: #b03a2e; font-weight: 600; }
.stack { display: grid; gap: 12px; margin-top: 16px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Compact route cards on phones: number on the left, text on the right */
.route .km { font-variant-numeric: lining-nums; }
@media (max-width: 820px) {
  .routes { gap: 10px; }
  .route { padding: 16px 18px; display: grid; grid-template-columns: 76px 1fr; column-gap: 14px; align-items: center; }
  .route .km { grid-row: 1 / span 3; font-size: 2.9rem; text-align: center; }
  .route .km small { display: block; font-size: .95rem; margin: 2px 0 0; }
  .route > :not(.km) { grid-column: 2; }
  .route h3 { font-size: 1.25rem; margin: 0 0 2px; }
  .route p { font-size: .9rem; line-height: 1.45; }
  .route .meta { margin-top: 6px; gap: 10px; font-size: .78rem; }
}
