/* ridekerala.in — one small stylesheet for every page (mobile first). */
:root {
  --green: #068624; --green-dk: #056a1d; --ink: #0A2622; --tint: #E8F5EA;
  --fg: #1A1A1A; --muted: #5f6662; --surface: #F7F7F5; --border: #E4E4E0;
  --warn: #E08600; --warn-tint: #FFF4E0; --red: #D32F2F; --red-tint: #FDECEC;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--fg); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--green); }
h1, h2, h3 { font-family: Poppins, 'Noto Sans', system-ui, sans-serif; color: var(--ink); line-height: 1.2; }
h1 { font-size: clamp(28px, 7vw, 46px); font-weight: 800; letter-spacing: -.5px; margin: 0; }
h1 b, h2 b { color: var(--green); }
h2 { font-size: clamp(21px, 4.6vw, 30px); font-weight: 700; margin: 0 0 12px; }
h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.ml { font-family: 'Noto Sans Malayalam', 'Noto Sans', system-ui, sans-serif; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Header + menu */
.site-top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.site-top .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 38px; width: auto; display: block; }
.menu { display: flex; gap: 4px; }
.menu a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 10px; border-radius: 10px; }
.menu a:hover, .menu a[aria-current] { background: var(--tint); color: var(--green); }
.top-cta { background: var(--green); color: #fff !important; }
.menu-btn { display: none; background: none; border: 0; font-size: 26px; line-height: 1; padding: 6px; color: var(--ink); }
@media (max-width: 860px) {
  .menu { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 8px 12px 14px; border-bottom: 1px solid var(--border); box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .menu.open { display: flex; }
  .menu a { font-size: 16px; padding: 12px; }
  .menu-btn { display: block; }
}

/* Hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); padding: 28px 0 30px; }
.hero .wrap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; } }
.tagline { font-size: 17px; font-weight: 700; color: var(--green); margin: 8px 0 0; }
.lead { font-size: 17px; color: #333; margin: 14px 0 20px; max-width: 560px; }
.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.crumbs a { text-decoration: none; }
.hero-shot { justify-self: center; max-width: 320px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.18)); border-radius: 22px; }

/* Buttons */
.actions { display: grid; gap: 10px; max-width: 420px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 16px; font: 700 18px/1.2 Poppins, 'Noto Sans', sans-serif; text-decoration: none; padding: 0 18px; border: 0; cursor: pointer; }
.btn svg { width: 24px; height: 24px; flex: none; }
.btn-call { background: var(--green); color: #fff; box-shadow: 0 8px 18px rgba(6,134,36,.32); }
.btn-call:hover { background: var(--green-dk); }
.btn-line { background: #fff; color: var(--ink); border: 1.5px solid var(--border); font-size: 16px; min-height: 50px; }
.btn-note { text-align: center; font-size: 13px; color: var(--muted); margin: -2px 0 2px; }
.play { display: inline-block; }
.play img { height: 56px; width: auto; display: block; }
.iphone-note { font-size: 14px; background: #fff; border: 1px dashed #b9cbbf; border-radius: 12px; padding: 10px 12px; max-width: 420px; }

/* Sections */
.section { padding: 34px 0; }
.section.alt { background: var(--surface); }
.section .intro { color: #444; max-width: 720px; margin: 0 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { font-size: 13px; font-weight: 600; color: var(--green); background: #fff; border: 1px solid #cfe5d5; border-radius: 99px; padding: 6px 12px; }
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.section.alt .card { border-color: #e8e8e4; }
.card p { margin: 0; color: #444; font-size: 15px; }
.card .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.card .ic svg { width: 22px; height: 22px; }
.steps { counter-reset: s; display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; }
.steps li::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.two { display: grid; gap: 22px; }
@media (min-width: 860px) { .two { grid-template-columns: 1fr 1fr; } }
.shots { display: flex; gap: 14px; overflow-x: auto; padding: 4px 0 10px; scroll-snap-type: x mandatory; }
.shots img { width: 200px; flex: none; border-radius: 16px; scroll-snap-align: start; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.places { display: flex; flex-wrap: wrap; gap: 8px; }
.places a { text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 9px 12px; font-size: 14px; }
.places a:hover { border-color: var(--green); color: var(--green); }
.note { background: var(--surface); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.warn { background: var(--warn-tint); color: #6b4300; border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }
table.fares { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
table.fares th, table.fares td { padding: 10px 6px; border-bottom: 1px solid var(--border); text-align: left; }
table.fares td.r, table.fares th.r { text-align: right; white-space: nowrap; }
table.fares td.r { font-weight: 700; }
.list-plain { padding-left: 18px; margin: 6px 0; }
.list-plain li { margin: 4px 0; }

/* FAQ */
.faq-group { margin: 0 0 22px; }
details.qa { border-bottom: 1px solid var(--border); }
details.qa summary { cursor: pointer; font-weight: 600; padding: 13px 28px 13px 0; list-style: none; position: relative; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: '+'; position: absolute; right: 4px; top: 10px; font-size: 22px; color: var(--green); }
details.qa[open] summary::after { content: '–'; }
details.qa .a { padding: 0 0 14px; color: #333; }
details.qa .a p { margin: 0 0 8px; }

/* Legal pages (text from the web.app pages) */
.legal { max-width: 820px; margin: 0 auto; padding: 24px 16px 40px; }
.legal h1 { font-size: clamp(26px, 6vw, 36px); }
.legal .updated { color: var(--muted); margin: 6px 0 20px; }
.legal h2 { font-size: 21px; margin: 26px 0 8px; }
.legal h3 { font-size: 17px; margin: 18px 0 6px; }
.legal p, .legal li { color: #2b2b2b; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14px; }
.legal th, .legal td { border: 1px solid var(--border); padding: 8px; text-align: left; vertical-align: top; }
.legal .box, .legal .note { background: var(--surface); border-radius: 12px; padding: 12px 14px; }

/* Footer */
.site-foot { background: var(--ink); color: #cfe0d8; padding: 30px 0 34px; font-size: 14px; }
.site-foot .cols { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.site-foot h3 { color: #fff; font-size: 15px; margin: 0 0 8px; }
.site-foot a { color: #fff; text-decoration: none; display: block; padding: 3px 0; }
.site-foot a:hover { text-decoration: underline; }
.site-foot .legal-line { margin-top: 22px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 14px; font-size: 13px; color: #a9c2b8; }

/* Call page (app-like) */
.app { max-width: 520px; margin: 0 auto; min-height: calc(100vh - 61px); padding: 0 0 30px; }
.screen { padding: 34px 18px 20px; text-align: center; }
.screen h1 { font-size: 24px; letter-spacing: 0; }
.screen p { color: #444; }
.screen .actions { margin: 20px auto 0; }
.bigicon { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; background: var(--tint); color: var(--green); }
.bigicon svg { width: 42px; height: 42px; }
.bigicon.red { background: var(--red-tint); color: var(--red); }
.bigicon.warn { background: var(--warn-tint); color: var(--warn); }
.gbtn { background: #fff; color: #222; border: 1px solid #dadce0; font: 600 16px/1 'Noto Sans', sans-serif; border-radius: 99px; }
.gbtn svg { width: 20px; height: 20px; }
.field { width: 100%; border: 1.5px solid var(--green); border-radius: 12px; padding: 14px; font-size: 17px; }
.tabs { display: flex; gap: 6px; margin: 16px 0 10px; }
.tabs button { flex: 1; border: 0; background: var(--surface); color: #444; border-radius: 10px; padding: 9px 4px; font: 600 13px/1.2 'Noto Sans', sans-serif; cursor: pointer; }
.tabs button.on { background: var(--green); color: #fff; }
.guide { text-align: left; background: var(--surface); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; line-height: 1.65; }
.list-head { padding: 14px 14px 4px; }
.list-head h1 { font-size: 22px; }
.list-head .sub { font-size: 13px; color: var(--muted); }
.place-row { display: flex; align-items: center; gap: 6px; background: var(--surface); border-radius: 12px; padding: 9px 12px; margin: 10px 12px 0; font-size: 14px; font-weight: 600; }
.place-row svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.hint { font-size: 12px; color: var(--muted); padding: 6px 14px; }
.ca-card { display: flex; align-items: center; background: #fff; border-radius: 12px; padding: 10px 12px; margin: 0 12px 9px; box-shadow: 0 1px 3px rgba(0,0,0,.18), 0 3px 6px rgba(0,0,0,.10); }
.ca-card.busy { background: var(--surface); box-shadow: none; border: 1px solid var(--border); }
.ca-av { width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--green); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.ca-mid { flex: 1; min-width: 0; margin: 0 8px 0 12px; text-align: left; }
.ca-name { font-weight: 600; font-size: 16px; }
.ca-chip { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 99px; margin-left: 4px; vertical-align: 2px; }
.ca-chip.free { color: var(--green); background: var(--tint); }
.ca-chip.off { color: var(--muted); background: var(--surface); }
.ca-chip.busy, .ca-chip.just { color: var(--warn); background: var(--warn-tint); }
.ca-where, .ca-plate { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.ca-plate { font-weight: 600; letter-spacing: .3px; }
.ca-call { display: flex; flex-direction: column; align-items: center; gap: 2px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--green); font: 600 12px/1.2 'Noto Sans', sans-serif; }
.ca-call .b { width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; }
.ca-call .b svg { width: 22px; height: 22px; }
.ca-wait { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); font-size: 12px; }
.ca-wait svg { width: 24px; height: 24px; }
.fare-line { text-align: center; font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.sheet-bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 30; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: #fff; width: 100%; max-width: 520px; border-radius: 22px 22px 0 0; padding: 18px 16px 26px; text-align: center; max-height: 92vh; overflow-y: auto; }
.sheet h2 { font-size: 22px; margin: 0; }
.ans { display: flex; align-items: center; gap: 12px; width: 100%; border-radius: 14px; padding: 12px 14px; margin-top: 9px; border: 1.5px solid var(--border); background: #fff; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.ans svg { width: 24px; height: 24px; flex: none; }
.ans b { display: block; font-size: 16px; } .ans small { font-size: 13px; color: var(--muted); }
.ans.yes { background: var(--green); color: #fff; border-color: var(--green); } .ans.yes small { color: #e2f3e6; }
.ans.busy { border-color: var(--warn); color: var(--warn); }
.plate-big { display: inline-block; border: 2.5px solid var(--ink); border-radius: 10px; padding: 6px 16px; font: 700 28px/1.2 Poppins, sans-serif; letter-spacing: 1px; margin: 8px 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #222; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 40; max-width: 90vw; }
.spin { width: 36px; height: 36px; border: 4px solid var(--tint); border-top-color: var(--green); border-radius: 50%; animation: spin 1s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.linkbtn { background: none; border: 0; color: var(--green); font: 600 14px/1.4 'Noto Sans', sans-serif; cursor: pointer; padding: 8px; }
