/* The Y Parking & Charging — app styles (direction 1: Boarding pass) */
:root {
  --black: #221f20; --ink: #141213; --green: #026f42; --green-2: #05934f; --red: #ea564f; --yellow: #fdd835;
  --off: #f2f2f2; --white: #fff; --mute: #8a8688; --line: rgba(255,255,255,.12); --line-d: rgba(0,0,0,.1);
  --font-ar: 'Cairo', 'Helvetica Neue', Arial, sans-serif; --font-en: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --r: 22px; --r-s: 14px; --tab: 72px;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--font-ar); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
html[lang="en"] body { font-family: var(--font-en); }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.15; letter-spacing: 0; }
.en, .num, .code, [dir="ltr"] { font-family: var(--font-en); }
.num { font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
::selection { background: var(--yellow); color: var(--black); }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
@media (max-width: 720px) { .wrap { width: min(1240px, 100% - 32px); } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

/* ---------- Brand tiles ---------- */
.tile { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.tile svg { width: 56%; height: 56%; }
.t-yellow { background: var(--yellow); color: var(--black); }
.t-red { background: var(--red); color: var(--white); }
.t-green { background: var(--green); color: var(--black); }
.t-black { background: var(--black); color: var(--white); }
.t-off { background: var(--off); color: var(--black); }
.t-white { background: var(--white); color: var(--black); }
.t-dots { background: var(--off); background-image: radial-gradient(var(--black) 2.6px, transparent 2.8px); background-size: 12% 12%; background-position: 6% 6%; }
.t-stripes { background: repeating-linear-gradient(180deg, var(--white) 0 9%, var(--black) 9% 18%); }
.t-checker { background: conic-gradient(var(--black) 25%, var(--white) 0 50%, var(--black) 0 75%, var(--white) 0); background-size: 50% 50%; }
.t-stripes-v { background: repeating-linear-gradient(90deg, var(--white) 0 12.5%, var(--black) 12.5% 25%); }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 14px 0; transition: background .4s, backdrop-filter .4s; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.top.scrolled { background: rgba(34,31,32,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top .logo img { height: 34px; width: auto; }
.top nav { display: flex; gap: 26px; align-items: center; font-weight: 700; font-size: 15px; }
.top nav a { opacity: .85; transition: opacity .2s; } .top nav a:hover { opacity: 1; }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 800; font-size: 16px; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-y { background: var(--yellow); color: var(--black); } .btn-y:hover { background: #ffe25c; }
.btn-g { background: var(--green); color: #fff; } .btn-g:hover { background: var(--green-2); }
.btn-r { background: var(--red); color: #fff; }
.btn-w { background: #fff; color: var(--black); }
.btn-o { border: 2px solid currentColor; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; } .btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 18px; }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 900px) { .top nav { display: none; } .top .btn { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
.board { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 1fr; gap: 3px; opacity: .55; perspective: 900px; }
.board .cell { position: relative; transform-style: preserve-3d; }
.board .cell .f, .board .cell .b { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.board .cell .b { transform: rotateX(180deg); }
.board .tile svg { width: 46%; height: 46%; }
.board::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(34,31,32,.35), rgba(34,31,32,.92) 40%, rgba(34,31,32,.96)); }
html[dir="ltr"] .board::after { background: linear-gradient(270deg, rgba(34,31,32,.35), rgba(34,31,32,.92) 40%, rgba(34,31,32,.96)); }
@media (max-width: 900px) { .board { grid-template-columns: repeat(6, 1fr); } .board::after { background: linear-gradient(180deg, rgba(34,31,32,.6), rgba(34,31,32,.94) 45%, rgba(34,31,32,.98)); } }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 1000px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 96px 0 60px; } }
.strip { display: flex; gap: 4px; margin-bottom: 26px; }
.strip .tile { width: 34px; }
.strip .tile svg { width: 60%; height: 60%; }
.h1 { font-size: clamp(38px, 6vw, 76px); line-height: 1.12; }
.h1 .w { display: inline-block; white-space: nowrap; padding: .08em 0; }
.h1 .hl { color: var(--yellow); }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: rgba(255,255,255,.78); max-width: 560px; margin: 22px 0 30px; }
.trust { display: flex; gap: 32px; flex-wrap: wrap; }
.trust div { display: grid; gap: 2px; }
.trust b { font-size: 28px; line-height: 1; font-family: var(--font-en); font-weight: 800; }
.trust b small { font-size: 14px; font-family: var(--font-ar); font-weight: 700; margin-inline-start: 4px; }
html[lang="en"] .trust b small { font-family: var(--font-en); }
.trust span { color: var(--mute); font-size: 14px; font-weight: 700; }

/* ---------- Boarding pass card ---------- */
.pass { --notch: 16px; position: relative; background: #fff; color: var(--black); border-radius: var(--r); box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: hidden; }
.pass-head { background: var(--green); color: #fff; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pass-head .kicker { font-family: var(--font-en); font-weight: 800; letter-spacing: .14em; font-size: 12px; opacity: .85; }
.pass-head b { font-size: 20px; font-weight: 800; }
.pass-head .bolts svg { width: 26px; height: 26px; }
.pass-body { padding: 20px 22px 22px; display: grid; gap: 14px; }
.pass .perf { position: relative; height: 0; border-top: 2px dashed rgba(0,0,0,.14); margin: 6px -22px; }
.pass .perf::before, .pass .perf::after { content: ""; position: absolute; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--black); }
.pass .perf::before { left: -12px; } .pass .perf::after { right: -12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 800; color: #5a5558; display: flex; align-items: center; gap: 6px; }
.field label svg { width: 15px; height: 15px; }
.inp { width: 100%; min-height: 54px; border: 2px solid #e6e4e5; border-radius: var(--r-s); padding: 10px 14px; background: #fafafa; font-weight: 700; font-size: 16px; transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none; }
.inp:focus { outline: 0; border-color: var(--green); background: #fff; }
.inp::placeholder { color: #a5a1a3; font-weight: 600; }
textarea.inp { min-height: 90px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .row2 { grid-template-columns: 1fr; } }
.or { text-align: center; color: var(--mute); font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: #e6e4e5; }
.upload { display: flex; align-items: center; gap: 12px; border: 2px dashed #d6d2d4; border-radius: var(--r-s); padding: 12px 14px; cursor: pointer; transition: border-color .2s, background .2s; font-weight: 700; font-size: 15px; }
.upload:hover { border-color: var(--green); background: #f3faf6; }
.upload .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--yellow); display: grid; place-items: center; flex: none; }
.upload .ic svg { width: 20px; height: 20px; }
.upload small { display: block; color: var(--mute); font-weight: 600; font-size: 12.5px; }
.upload.busy { border-color: var(--yellow); background: #fffbe6; }
.upload.ok { border-color: var(--green); background: #effaf4; }
.quote { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.quote .lbl { font-size: 13px; color: var(--mute); font-weight: 700; }
.quote .amt { font-family: var(--font-en); font-weight: 800; font-size: 34px; line-height: 1; }
.quote .amt small { font-size: 14px; margin-inline-start: 4px; }
.quote .meta { font-size: 13px; color: #5a5558; font-weight: 700; text-align: end; }
.quote .meta .disc { color: var(--green); }
.hint { font-size: 13px; color: var(--mute); font-weight: 600; }

/* ---------- Sections ---------- */
section { position: relative; }
.sec-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-en); font-weight: 800; letter-spacing: .16em; font-size: 12px; text-transform: uppercase; }
.eyebrow i { width: 26px; height: 3px; background: currentColor; display: inline-block; }
.h2 { font-size: clamp(30px, 4.4vw, 56px); }
.sub { font-size: clamp(16px, 1.4vw, 19px); opacity: .78; max-width: 640px; }

/* marquee band */
.band { background: var(--off); padding: 0; overflow: hidden; border-block: 4px solid var(--black); }
.band .track { display: flex; width: max-content; animation: slide 28s linear infinite; }
.band .tile { width: clamp(80px, 11vw, 140px); border-inline-end: 3px solid var(--black); }
@keyframes slide { to { transform: translateX(-50%); } }
html[dir="rtl"] .band .track { animation-name: slide-rtl; }
@keyframes slide-rtl { to { transform: translateX(50%); } }

/* how it works */
.how { background: var(--black); padding: 110px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; min-height: 420px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; border-radius: var(--r); overflow: hidden; transition: transform .5s var(--ease); }
.step:hover { transform: translateY(-6px); }
.step .n { font-family: var(--font-en); font-weight: 900; font-size: clamp(64px, 8vw, 110px); line-height: .9; opacity: .9; }
.step h3 { font-size: 26px; margin-bottom: 8px; }
.step p { margin: 0; font-weight: 600; opacity: .85; }
.step .mark { position: absolute; inset-inline-end: -8%; top: 8%; width: 55%; opacity: .18; }
.step .mark svg { width: 100%; height: 100%; }
.step.s1 { background: var(--yellow); color: var(--black); }
.step.s2 { background: var(--green); color: #fff; }
.step.s3 { background: var(--red); color: #fff; }

/* services */
.services { background: var(--off); color: var(--black); padding: 110px 0; }
.svc-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 16px; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; grid-template-rows: none; } .svc { min-height: 340px; } }
.svc { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.svc img, .svc video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.svc:hover img, .svc:hover video { transform: scale(1.06); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.78)); }
.svc.big { grid-row: span 2; }
.svc .tag { position: absolute; top: 18px; inset-inline-start: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; }
.svc .tag svg { width: 16px; height: 16px; }
.svc h3 { font-size: 28px; }
.svc p { margin: 6px 0 0; font-weight: 600; opacity: .9; max-width: 440px; }
.svc .price { font-family: var(--font-en); font-weight: 800; font-size: 30px; margin-top: 10px; }
.svc .price small { font-family: var(--font-ar); font-size: 14px; font-weight: 700; }
html[lang="en"] .svc .price small { font-family: var(--font-en); }
.svc .opts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.svc .opts span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); font-weight: 700; font-size: 13px; }

/* pricing */
.pricing { background: var(--green); color: #fff; padding: 110px 0; overflow: hidden; }
.pricing .bg { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(10, 1fr); opacity: .07; pointer-events: none; }
.pricing .bg .tile { background: none; color: #fff; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.big-price { font-family: var(--font-en); font-weight: 900; font-size: clamp(90px, 14vw, 180px); line-height: .85; }
.big-price span { font-size: .28em; font-weight: 800; vertical-align: top; margin-inline-start: 6px; }
.big-price small { display: block; font-family: var(--font-ar); font-size: clamp(18px, 2vw, 24px); font-weight: 700; margin-top: 16px; opacity: .9; }
html[lang="en"] .big-price small { font-family: var(--font-en); }
.rules { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; max-width: 520px; }
.rules li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; padding: 12px 14px; background: rgba(255,255,255,.1); border-radius: 12px; }
.rules li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.ladder { display: grid; gap: 10px; }
.ladder .rung { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: rgba(0,0,0,.18); }
.ladder .rung b { font-family: var(--font-en); font-size: 26px; font-weight: 800; }
.ladder .rung .bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; }
.ladder .rung .bar i { display: block; height: 100%; background: var(--yellow); width: 0; transition: width 1.2s var(--ease); }
.ladder .rung em { font-style: normal; font-family: var(--font-en); font-weight: 800; color: var(--yellow); font-size: 22px; }
.calc { background: #fff; color: var(--black); border-radius: var(--r); padding: 24px; margin-top: 22px; }
.calc .top-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.calc .top-row b { font-size: 18px; }
.calc .out { font-family: var(--font-en); font-weight: 800; font-size: 34px; }
.calc .out small { font-size: 14px; }
.calc input[type=range] { width: 100%; margin: 16px 0 6px; accent-color: var(--green); }
.calc .meta { color: var(--mute); font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; }
.calc .meta .disc { color: var(--green); }
.pricing .foot { margin-top: 24px; font-size: 14px; opacity: .8; font-weight: 600; }

/* live lot */
.live { background: var(--black); padding: 110px 0; }
.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .live-grid { grid-template-columns: 1fr; } }
.live-card { border-radius: var(--r); padding: 30px; background: #2c292a; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; position: relative; overflow: hidden; }
.live-card .dot { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; color: #9ef0c3; font-family: var(--font-en); letter-spacing: .12em; }
.live-card .dot i { width: 9px; height: 9px; border-radius: 50%; background: #2ee07a; box-shadow: 0 0 0 0 rgba(46,224,122,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(46,224,122,0); } 100% { box-shadow: 0 0 0 0 rgba(46,224,122,0); } }
.live-card .n { font-family: var(--font-en); font-weight: 900; font-size: clamp(72px, 10vw, 140px); line-height: .9; }
.live-card .n small { font-size: .26em; font-weight: 800; color: var(--mute); }
.live-card .cap { height: 12px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: 18px; }
.live-card .cap i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green-2), var(--yellow)); transition: width 1.4s var(--ease); }
.live-card .lbl { font-weight: 700; color: rgba(255,255,255,.75); margin-top: 10px; }
.lot { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.lot i { aspect-ratio: 1; border-radius: 4px; background: rgba(255,255,255,.08); transition: background .4s; }
.lot i.on { background: var(--green-2); }
.lot i.me { background: var(--yellow); }
.today { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.today div { background: rgba(255,255,255,.06); border-radius: 14px; padding: 16px; }
.today b { font-family: var(--font-en); font-size: 32px; font-weight: 800; display: block; }
.today span { font-weight: 700; color: var(--mute); font-size: 14px; }

/* safety */
.safe { background: var(--off); color: var(--black); padding: 110px 0; }
.safe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .safe-grid { grid-template-columns: 1fr; } }
.safe-photo { border-radius: var(--r); overflow: hidden; min-height: 420px; position: relative; }
.safe-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.safe-photo .stamp { position: absolute; bottom: 18px; inset-inline-start: 18px; background: var(--black); color: #fff; padding: 10px 14px; border-radius: 12px; font-family: var(--font-en); font-weight: 700; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.safe-photo .stamp i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .feat { grid-template-columns: 1fr; } }
.feat div { background: #fff; border-radius: var(--r); padding: 22px; display: grid; gap: 10px; align-content: start; }
.feat .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; }
.feat .ic svg { width: 22px; height: 22px; }
.feat h4 { font-size: 19px; }
.feat p { margin: 0; font-weight: 600; color: #5a5558; font-size: 15px; }

/* install */
.install { background: var(--yellow); color: var(--black); padding: 100px 0; overflow: hidden; }
.install .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .install .wrap { grid-template-columns: 1fr; } }
.phone { width: min(340px, 86%); margin-inline: auto; aspect-ratio: 9/19; background: var(--black); border-radius: 44px; padding: 14px; box-shadow: 0 40px 80px rgba(0,0,0,.35); position: relative; }
.phone .scr { background: #fff; color: var(--black); border-radius: 32px; height: 100%; overflow: hidden; display: flex; flex-direction: column; }
.phone .scr .bar { background: var(--green); color: #fff; padding: 36px 18px 16px; font-weight: 800; }
.phone .scr .bar small { display: block; font-family: var(--font-en); font-size: 11px; letter-spacing: .14em; opacity: .8; }
.phone .scr .body { padding: 16px; display: grid; gap: 10px; }
.phone .scr .st { display: grid; gap: 8px; }
.phone .scr .st div { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; }
.phone .scr .st i { width: 12px; height: 12px; border-radius: 50%; background: #ddd; flex: none; }
.phone .scr .st .done i { background: var(--green); }
.phone .scr .st .now i { background: var(--yellow); box-shadow: 0 0 0 4px rgba(253,216,53,.35); }
.phone .scr .cta { margin-top: auto; display: grid; gap: 8px; padding: 16px; }
.phone .scr .cta span { border-radius: 14px; padding: 14px; text-align: center; font-weight: 800; font-size: 14px; }
.install-steps { display: grid; gap: 10px; margin-top: 22px; }
.install-steps div { display: flex; gap: 12px; align-items: center; font-weight: 700; background: rgba(0,0,0,.08); padding: 12px 14px; border-radius: 12px; }
.install-steps b { width: 30px; height: 30px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; font-family: var(--font-en); flex: none; }

/* café section on the real storefront photo */
.cafe-sec { background: #e8835a; color: #fff; isolation: isolate; }
.cafe-sec .cafe-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cafe-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(232,131,90,.96) 0%, rgba(232,131,90,.9) 55%, rgba(232,131,90,.55) 100%); }
html[dir="ltr"] .cafe-sec::before { background: linear-gradient(270deg, rgba(232,131,90,.96) 0%, rgba(232,131,90,.9) 55%, rgba(232,131,90,.55) 100%); }
@media (max-width: 900px) { .cafe-sec::before { background: linear-gradient(180deg, rgba(232,131,90,.96) 0%, rgba(232,131,90,.9) 60%, rgba(232,131,90,.7) 100%); } }
.cafe-sec .install-steps div { background: rgba(0,0,0,.16); } .cafe-sec .install-steps b { background: #fff; color: #e8835a; }
.cafe-sec .phone { box-shadow: 0 40px 80px rgba(0,0,0,.45); }

/* contact + footer */
.contact { background: var(--black); padding: 100px 0 60px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.c-card { border-radius: var(--r); padding: 28px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.c-card.g { background: var(--green); } .c-card.r { background: var(--red); }
.c-photo { position: relative; overflow: hidden; isolation: isolate; }
.c-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.c-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(34,31,32,.35), rgba(34,31,32,.85)); }
.c-card h3 { font-size: 28px; }
.c-card p { font-weight: 600; opacity: .9; }
.c-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
footer { padding: 40px 0 calc(var(--tab) + 24px); border-top: 1px solid var(--line); margin-top: 60px; display: grid; gap: 16px; color: var(--mute); font-size: 13px; font-weight: 600; }
footer .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
footer a { color: #fff; }
@media (min-width: 901px) { footer { padding-bottom: 40px; } }

/* ---------- Tab bar (phone) ---------- */
.tabbar { position: fixed; bottom: 0; inset-inline: 0; z-index: 60; height: var(--tab); background: rgba(34,31,32,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); display: none; grid-template-columns: repeat(3, 1fr); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: grid; place-items: center; gap: 4px; font-size: 11.5px; font-weight: 800; color: #bdb8ba; align-content: center; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a.on, .tabbar a:active { color: var(--yellow); }
.tabbar a.main { color: var(--black); }
.tabbar a.main span { background: var(--yellow); border-radius: 999px; padding: 10px 22px; display: inline-flex; gap: 8px; align-items: center; font-size: 14px; }
@media (max-width: 900px) { .tabbar { display: grid; } body { padding-bottom: var(--tab); } }

/* ---------- Sheet (full booking form) ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.sheet { position: fixed; inset-inline: 0; bottom: 0; z-index: 95; max-height: 92svh; background: #fff; color: var(--black); border-radius: 26px 26px 0 0; transform: translateY(105%); transition: transform .5s var(--ease); display: flex; flex-direction: column; }
@media (min-width: 901px) { .sheet { inset: 50% auto auto 50%; transform: translate(-50%, -46%); width: min(720px, 94vw); max-height: 88vh; border-radius: 26px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); } .sheet.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); } }
@media (max-width: 900px) { .sheet.open { transform: translateY(0); } }
.sheet-bg.open { opacity: 1; pointer-events: auto; }
.sheet .s-head { padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eee; }
.sheet .s-head b { font-size: 18px; }
.sheet .grab { width: 44px; height: 5px; border-radius: 999px; background: #ddd; margin: 10px auto 0; }
@media (min-width: 901px) { .sheet .grab { display: none; } }
.sheet .x { width: 40px; height: 40px; border-radius: 50%; background: #f1f1f1; display: grid; place-items: center; }
.sheet .x svg { width: 18px; height: 18px; }
.sheet .s-body { padding: 18px 22px 24px; overflow: auto; display: grid; gap: 16px; }
.sheet .s-foot { padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #eee; display: grid; gap: 10px; background: #fff; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: #f1f1f1; padding: 5px; border-radius: 14px; }
.seg.c2 { grid-template-columns: 1fr 1fr; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: grid; place-items: center; min-height: 46px; border-radius: 10px; font-weight: 800; font-size: 14px; color: #5a5558; transition: background .2s, color .2s; text-align: center; padding: 4px 6px; }
.seg input:checked + span { background: var(--black); color: #fff; }
.seg.green input:checked + span { background: var(--green); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 2px solid #e6e4e5; border-radius: var(--r-s); padding: 12px 14px; cursor: pointer; }
.toggle b { display: block; font-size: 15px; }
.toggle small { color: var(--mute); font-weight: 600; }
.toggle .sw { width: 52px; height: 30px; border-radius: 999px; background: #ddd; position: relative; flex: none; transition: background .25s; }
.toggle .sw::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.toggle input { position: absolute; opacity: 0; }
.toggle input:checked ~ .sw { background: var(--green); }
.toggle input:checked ~ .sw::after { transform: translateX(22px); }
html[dir="rtl"] .toggle input:checked ~ .sw::after { transform: translateX(-22px); }
.summary { background: #f7f7f7; border-radius: var(--r-s); padding: 14px 16px; display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.summary div { display: flex; justify-content: space-between; gap: 10px; }
.summary .tot { border-top: 2px dashed #ddd; padding-top: 8px; margin-top: 4px; font-size: 18px; font-weight: 800; }
.summary .disc { color: var(--green); }
.err { color: var(--red); font-weight: 700; font-size: 14px; min-height: 1.4em; }
.ok-box { display: grid; gap: 16px; text-align: center; padding: 10px 0; }
.ok-box .code { font-family: var(--font-en); font-weight: 900; font-size: 44px; letter-spacing: .08em; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: calc(var(--tab) + 16px); inset-inline: 16px; z-index: 120; background: var(--black); color: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; font-weight: 700; transform: translateY(20px); opacity: 0; transition: .3s; pointer-events: none; max-width: 480px; margin-inline: auto; }
.toast.on { transform: none; opacity: 1; }
@media (min-width: 901px) { .toast { bottom: 24px; } }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s } .rv.d2 { transition-delay: .2s } .rv.d3 { transition-delay: .3s }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .band .track { animation: none; } }
