/* Udaipur Cab Service — site styles */
:root {
  --gold: #e0aa25;
  --gold-dark: #b8860b;
  --ink: #1d1d1d;
  --text: #555;
  --muted: #777;
  --line: #e7e7e7;
  --tint: #f6f8f2;
  --dark: #000;
  --wa: #25d366;
  --radius: 6px;
  --wrap: 1080px;
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Roboto', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.8 var(--body); color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { font-family: var(--head); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(26px, 3vw, 32px); }
h2 { font-size: clamp(24px, 2.8vw, 30px); }
h3 { font-size: clamp(19px, 2vw, 22px); }
h4 { font-size: 18px; }
h5 { font-size: 17px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { color: var(--ink); }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 14px; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
th { background: var(--tint); color: var(--ink); }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip:focus { left: 8px; }
.center { text-align: center; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--gold); color: #fff; font-size: 13px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 28px; padding-block: 7px; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { font-size: 15px; }

.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 14px rgb(0 0 0 / 8%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.logo img { width: 150px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.menu > li { position: relative; margin: 0; }
.menu a { display: block; padding: 10px 14px; font: 600 15px var(--head); color: var(--ink); white-space: nowrap; }
.menu a:hover, .menu .is-active > a, .menu a[aria-current] { color: var(--gold); text-decoration: none; }
.has-sub > a { padding-right: 32px; }
.sub-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border: 0; background: none; cursor: pointer; padding: 0; }
.sub-toggle::after { content: ''; display: block; width: 6px; height: 6px; margin: 4px auto 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sub { list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 10px 24px rgb(0 0 0 / 15%); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub li { margin: 0; border-bottom: 1px solid var(--line); }
.sub li:last-child { border: 0; }
.sub a { font-size: 14px; padding: 10px 16px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ink); transition: .2s; content: ''; }
.menu-toggle span { top: 21px; }
.menu-toggle span::before { top: -7px; left: 0; }
.menu-toggle span::after { top: 7px; left: 0; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .logo img { width: 120px; }
  .site-header .wrap { min-height: 70px; }
  #nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 3px solid var(--gold); box-shadow: 0 12px 24px rgb(0 0 0 / 12%);
    max-height: calc(100vh - 100px); overflow-y: auto; display: none; }
  #nav.open { display: block; }
  .menu { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 0; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding-left: 12px; min-width: 0; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .has-sub > a { padding-right: 48px; }
  .sub-toggle { top: 22px; right: 0; width: 34px; height: 34px; background: #f1f1f1; border-radius: 4px; }
  .has-sub.open > .sub-toggle::after { transform: rotate(-135deg); margin-top: 7px; }
}

/* ---------- sections ---------- */
.sec { padding: 60px 0; position: relative; }
.sec-tint { background: var(--tint); }
.sec-photo { background-size: cover; background-position: center; }
.sec-dark, .sec-dark h1, .sec-dark h2, .sec-dark h3, .sec-dark h4, .sec-dark h5, .sec-dark strong, .sec-dark a:not(.btn) { color: #fff; }
.sec-dark .btn { background: #fff; color: var(--ink); }
.sec-dark .text a { text-decoration: underline; text-underline-offset: 3px; }
.sec-wave::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 140' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 0v80q80 40 160 0t160 0 160 0 160 0 160 0 160 0 160 0 160 0V0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.sec-wave { padding-top: 90px; }
.row + .row { margin-top: 36px; }
.cols { display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; }
.cols > .col { flex: 0 0 calc(var(--w) - 30px * (1 - var(--w) / 100%)); min-width: 0; }
.col > * + * { margin-top: 18px; }
.text > :last-child, .desc > :last-child { margin-bottom: 0; }
.text h3:first-child + h1, .text h3:first-child + h2 { margin-top: -.2em; }
.text h3:first-child { font-size: 20px; margin-bottom: .3em; }
.text a { color: var(--gold-dark); }
.text a strong { color: inherit; }
.center ul, .center ol { display: inline-block; text-align: left; }
.sec-dark .text h3:first-child { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.display h2 { font-family: 'Oswald', var(--head); font-weight: 500; letter-spacing: .2px; }
.text > h2:not(:first-child), .text > h3:not(:first-child) { margin-top: 1.5em; }
.text > h4:not(:first-child) { margin-top: 1.2em; }
.row > .text + .route-links, .row > .text + .faq, .row > .text + .gallery { margin-top: 28px; }
.image img { border-radius: var(--radius); margin-inline: auto; }
.image { margin: 0; }
.image.center img { margin-inline: auto; }
hr.divider { border: 0; border-top: 2px dotted rgb(0 0 0 / 20%); margin: 10px 0; }

.btn { display: inline-block; background: var(--gold); color: #fff; font: 600 14px var(--head); letter-spacing: .06em; text-transform: uppercase;
  padding: 12px 28px; border-radius: var(--radius); border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--gold-dark); color: #fff; text-decoration: none; transform: translateY(-2px); }
.btn-wrap { margin: 22px 0 0; }

/* blurbs */
.blurb { display: flex; flex-direction: column; gap: 14px; }
.blurb.center { align-items: center; text-align: center; }
.blurb > img { width: 72px; height: 72px; object-fit: contain; }
.blurb .ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #f6f8f2; color: var(--gold); font-size: 32px; box-shadow: 0 0 0 8px #fff; }
.blurb.center .ico + .blurb-body h4 { font: 500 17px/1.3 'Oswald', var(--head); text-transform: uppercase; letter-spacing: .3px; }
.blurb-left { flex-direction: row; align-items: flex-start; text-align: left; }
.blurb-left .ico { width: 28px; height: 28px; font-size: 20px; background: none; box-shadow: none; }
.blurb-left { gap: 10px; align-items: center; }
.blurb-left h4 { font-size: 14px; margin: 0; }
.blurb h4 { margin-bottom: .35em; }
.cols > .col > .blurb:only-child { height: 100%; }

/* Divi column looks */
.col-card { background: #fff; border-radius: 20px; overflow: hidden; padding: 10px 0 22px; box-shadow: 0 10px 30px rgb(0 0 0 / 8%); color: var(--text); }
.col-card > * { padding-inline: 20px; }
.col-card > .image { padding: 0; }
.col-card > .image img { border-radius: 0; }
.col-card > .btn-wrap { padding-top: 18px; margin-top: 0; text-align: center; }
.col-card .text h2, .col-card .text h3, .col-card .text h4, .col-card .text h5 { color: var(--ink); }
.sec-dark .col-card, .sec-dark .col-card strong, .sec-dark .col-card h4 { color: var(--ink); }
.row .row .col-card { border-radius: 10px; padding: 34px 6px 28px; }
.col-accent { background: var(--gold); padding: 60px 30px; color: var(--ink); }
.col-accent strong, .col-accent h2 { color: #000; }
.col-accent .text h2 { font-family: 'Oswald', var(--head); font-weight: 500; font-size: clamp(30px, 3.4vw, 42px); }
.col-accent .btn { background: #000; }
.col-accent .btn:hover { background: #333; }
.col-accent hr.divider { border-top: 3px solid #000; width: 50px; margin: 0; }
.num h4, .col-card .num h4 { font: italic 800 56px/1 var(--head); color: transparent; -webkit-text-stroke: 1px #cfcfcf; text-align: left; margin: 0; }
.text-card { position: relative; background: #fff; border: 3px solid #e09900; padding: 18px 20px; color: var(--text); }
.image + .text-card { margin: -60px 16px 0; }
.sec-dark .text-card, .sec-dark .text-card h3, .sec-dark .text-card h4, .sec-dark .text-card strong { color: var(--ink); }
.sec-dark .text-card a { color: var(--gold-dark); text-decoration: none; }
.text-card h3 { font-size: 20px !important; color: var(--ink) !important; margin-bottom: .4em; }
.text-line { border-bottom: 1px solid var(--gold); padding-bottom: 16px; }

/* slider */
.slider { position: relative; overflow: hidden; background: #111; aspect-ratio: 1920 / 750; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider button { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgb(0 0 0 / 45%); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.sl-prev { left: 14px; }
.sl-next { right: 14px; }

/* gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; aspect-ratio: 400 / 284; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; background: rgb(0 0 0 / 88%); display: grid; place-items: center; z-index: 200; padding: 20px; }
.lightbox img { max-height: 88vh; width: auto; border-radius: var(--radius); }
.lightbox button { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 38px; cursor: pointer; }

/* faq */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font: 600 16px/1.5 var(--head); color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 12px; font-size: 24px; color: var(--gold); }
.faq details[open] summary::after { content: '–'; }
.faq .answer { padding: 0 18px 16px; }

.faq { max-width: 880px; margin-inline: auto; }
.eyebrow { color: var(--gold); font: 700 20px var(--head); margin: 0 0 .3em; }

/* fare tables */
.fare-table caption { caption-side: top; text-align: left; font: 600 14px var(--head); color: var(--ink); padding-bottom: 8px; }
.fare-table th { background: var(--gold); color: #fff; }
.fare-table td:nth-child(n+3) { font-weight: 600; color: var(--ink); white-space: nowrap; }
.fare-table tbody tr:nth-child(even) td { background: #fafafa; }
.fare-note { font-size: 13px; color: var(--muted); margin-top: -8px; }
@media (max-width: 600px) { .fare-table { display: block; overflow-x: auto; } }

/* fare CTA */
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 24px 0;
  padding: 22px 24px; background: #fff8e6; border: 1px solid #f0d58c; border-left: 4px solid var(--gold); border-radius: var(--radius); }
.cta-box p { margin: 0; flex: 1 1 320px; }
.cta-box strong { display: block; font: 700 17px var(--head); margin-bottom: 4px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: #1da851; }
.btn-outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--gold); }
.btn-outline:hover { background: var(--gold); color: #fff; }

/* popular routes */
.route-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.route-links li { margin: 0; }
.route-links a { display: block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 30px; font: 600 14px var(--head); color: var(--ink); background: #fff; }
.route-links a:hover { border-color: var(--gold); color: var(--gold-dark); text-decoration: none; }

/* contact form + map */
.contact-form { background: var(--tint); padding: 32px; border-radius: 10px; }
.contact-form form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full, .form-note, .contact-form .btn { grid-column: 1 / -1; }
.contact-form .btn { justify-self: start; }
.field label { font: 600 13px var(--head); color: var(--ink); }
.field input, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid #d9d9d9; border-radius: var(--radius); background: #fff; width: 100%; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; }
.form-note { margin: 0; font-size: 14px; color: #c0392b; min-height: 1em; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }
.full .map iframe { height: 450px; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #bbb; padding-top: 60px; font-size: 14px; }
.site-footer h3, .site-footer h4, .site-footer strong { color: #fff; }
.site-footer a { color: #ddd; }
.site-footer a:hover { color: var(--gold); }
.footer-cols { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list svg { color: var(--gold); margin-top: 5px; }
.copyright { border-top: 1px solid #222; padding-block: 18px; font-size: 13px; }
.copyright a { color: var(--gold); }

/* floating buttons */
.fab-wa { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; gap: 8px; background: var(--wa); color: #fff;
  border-radius: 30px; padding: 10px 16px 10px 12px; font: 500 14px var(--body); box-shadow: 0 6px 18px rgb(0 0 0 / 25%); }
.fab-wa svg { width: 26px; height: 26px; }
.fab-wa:hover { color: #fff; text-decoration: none; }
.fab-call { display: none; }

@media (max-width: 980px) {
  .cols > .col { flex-basis: calc(50% - 15px); }
  .cols > .col[style*="--w:100"] { flex-basis: 100%; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .sec { padding: 46px 0; }
  .sec-wave { padding-top: 70px; }
  .cols > .col { flex-basis: 100%; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .contact-form { padding: 22px 16px; }
  .contact-form form { grid-template-columns: 1fr; }
  .topbar .wrap { justify-content: center; }
  .topbar a:first-child { display: none; }
  .slider { aspect-ratio: 4 / 3; }
  .fab-wa span { display: none; }
  .fab-wa { padding: 12px; }
  .fab-call { display: flex; position: fixed; left: 16px; bottom: 16px; z-index: 90; align-items: center; gap: 8px; background: var(--gold); color: #fff;
    border-radius: 30px; padding: 12px 18px; font: 600 14px var(--head); box-shadow: 0 6px 18px rgb(0 0 0 / 25%); }
  .fab-call:hover { color: #fff; text-decoration: none; }
  body { padding-bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* enquiry form (PHP handler) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cap-q { display: inline-block; margin-left: 6px; padding: 2px 10px; background: #fff; border: 1px solid #d9d9d9; border-radius: 4px; letter-spacing: 1px; user-select: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--text); grid-column: 1 / -1; }
.consent input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--gold); }
.form-note.ok { color: #1e7e34; }
.contact-form button[disabled] { opacity: .7; cursor: wait; }
.dpdp-footer-line { margin-bottom: 6px; }
