/* ==========================================================================
   Padmavathi Tours & Travels — design system
   Clean, modern, search-first. White canvas, bold sans type, saffron accent,
   hairline-bordered cards. Structure follows the big travel marketplaces.
   ========================================================================== */

:root {
  /* Saffron — reads as both a travel-site action colour and a coastal-
     Karnataka pilgrimage colour. Used sparingly, and only for actions. */
  --brand:       #ee6b0b;
  --brand-dark:  #c1520a;
  --brand-deep:  #9c4207;
  --brand-tint:  #fff4ea;
  --brand-line:  #fbdcc2;

  --ink:         #131820;
  --ink-2:       #2f3846;
  --text:        #3d4655;
  --muted:       #616b7a;
  --faint:       #8d97a6;

  --paper:       #ffffff;
  --band:        #f4f6f9;
  --band-2:      #eef1f6;
  --line:        #e2e7ee;
  --line-2:      #eef1f5;

  --ok:          #15803d;
  --ok-bg:       #f0fdf4;
  --err:         #b91c1c;
  --err-bg:      #fef2f2;

  --radius-lg:   16px;
  --radius:      12px;
  --radius-sm:   8px;
  --radius-pill: 999px;

  --shadow-xs:   0 1px 2px rgba(19,24,32,.06);
  --shadow-sm:   0 1px 3px rgba(19,24,32,.07), 0 1px 2px rgba(19,24,32,.04);
  --shadow-md:   0 4px 12px rgba(19,24,32,.08), 0 2px 4px rgba(19,24,32,.04);
  --shadow-lg:   0 12px 32px rgba(19,24,32,.12), 0 4px 8px rgba(19,24,32,.05);

  --font-head:   "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap:        1180px;
  --header-h:    98px;
}

/* --------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head); color: var(--ink);
  margin: 0 0 .5em; line-height: 1.15; font-weight: 800;
  letter-spacing: -.028em; text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: clamp(1.05rem, 1.7vw, 1.22rem); font-weight: 700; letter-spacing: -.018em; }
h4 { font-size: .95rem; font-weight: 700; letter-spacing: -.01em; }
p  { margin: 0 0 1rem; text-wrap: pretty; }
ul { margin: 0 0 1rem; padding-left: 1.15rem; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .72rem 1.35rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 700; font-size: .94rem; letter-spacing: -.01em;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: background .16s, color .16s, border-color .16s, box-shadow .16s, transform .12s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--outline { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); background: var(--paper); color: var(--ink); }
.btn--ghost-light { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn--ghost-light:hover { border-color: var(--ink); color: var(--ink); }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1eb356; color: #fff; }
.btn--sm { padding: .5rem 1rem; font-size: .86rem; }
.btn--lg { padding: .92rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* -------------------------------------------------------------- header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header__bar { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }

.logo { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo__chip {
  background: var(--brand); color: #fff;
  width: 38px; height: 38px; border-radius: 9px;
  display: grid; place-content: center; flex-shrink: 0;
}
.logo__chip svg { width: 26px; height: 26px; }
.logo__name {
  display: block; font-family: var(--font-head); font-size: 1.02rem; font-weight: 800;
  letter-spacing: -.03em; line-height: 1.15; color: var(--ink);
}
.logo__sub { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); line-height: 1.3; }
.logo__rule { display: none; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: .5rem .72rem; border-radius: var(--radius-sm);
  color: var(--ink-2); font-size: .92rem; font-weight: 600; white-space: nowrap;
}
.nav__link:hover { background: var(--band); color: var(--ink); text-decoration: none; }
.nav__link.is-active { color: var(--brand-dark); background: var(--brand-tint); }
/* Header call-to-action. The phone number is the primary action on the whole
   site for this business, so it is built as a two-line pill with a filled
   brand chip rather than a plain outline button. */
.header__cta { display: inline-flex; align-items: center; gap: .5rem; flex-shrink: 0; }

.hcall {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .32rem 1rem .32rem .34rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.hcall:hover {
  text-decoration: none;
  border-color: var(--brand);
  box-shadow: 0 4px 14px rgba(238,107,11,.20);
  transform: translateY(-1px);
}
.hcall__icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-content: center;
}
.hcall__text { display: block; line-height: 1.15; }
.hcall__label {
  display: block; font-size: .62rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--faint);
}
.hcall__num {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: .95rem;
  color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}

.hwa {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%; border: 1px solid var(--line); background: var(--paper);
  color: #25d366; display: grid; place-content: center;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.hwa:hover { background: #25d366; border-color: #25d366; color: #fff; transform: translateY(-1px); }
.nav-toggle {
  display: none; width: 42px; height: 42px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--ink); align-items: center; justify-content: center;
}

/* ---------------------------------------------------------------- hero */
.hero { padding: 1.25rem 0 0; }
.hero__panel {
  position: relative;
  background:
    radial-gradient(90% 120% at 88% 8%, rgba(238,107,11,.09), transparent 62%),
    var(--band);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.9rem, 4.4vw, 3.25rem);
  /* The search bar spans the full panel width — five fields will not fit in
     the narrow text column, and it is the primary action on the page. */
  display: grid;
  /* The collage carries five tiles now, so it gets a little more of the width. */
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .82fr);
  grid-template-areas: "body collage" "search search";
  gap: 2rem 2.5rem; align-items: center; overflow: hidden;
}
.hero__body    { grid-area: body; max-width: 42rem; }
.hero__collage { grid-area: collage; }
.hero .searchbar { grid-area: search; }
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); }
.hero__lede { margin-bottom: 0; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--paper); border: 1px solid var(--line);
  color: var(--ink-2); font-size: .78rem; font-weight: 600;
  padding: .3rem .7rem; border-radius: var(--radius-pill); margin-bottom: 1rem;
}
.hero__eyebrow svg { color: var(--brand); }
.hero h1 { margin-bottom: .6rem; }
.hero h1 .dot { color: var(--brand); }
.hero__lede { font-size: 1.03rem; color: var(--muted); max-width: 33rem; margin-bottom: 1.5rem; }

/* ---------------------------------------------------------- photo hero
   When assets/img/site/hero-coast.jpg exists the panel carries the photo
   instead of the tinted wash, and index.php drops the collage — the picture
   IS the right-hand column. Everything is a scrim over the image rather than
   a colour change on the text, so the headline keeps the same contrast it has
   on the plain panel. */
.hero__panel--photo { border-color: rgba(255,255,255,.55); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg .ph { width: 100%; height: 100%; }
.hero__bg .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 46%; }
/* Only heavy enough on the left to keep the headline readable, then it drops
   away fast so the sea reads as a photograph rather than a tint. The vehicle
   tiles hold their own over it on their shadows. */
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 30%,
    rgba(255,255,255,.42) 58%, rgba(255,255,255,.10) 100%);
}
/* Every child of the panel has to out-stack the image layer. */
.hero__panel--photo > *:not(.hero__bg) { position: relative; z-index: 1; }

/* Photo collage — one rounded tile per vehicle, up to six, in three columns.
   Two rows of one-third-width squares come out shorter than the old 2x2 of
   half-width ones, so the panel does not grow. With exactly five vehicles the
   fourth tile widens to fill the bottom row. */
.hero__collage {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem;
  align-content: center;
}
.hero__collage .ph { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
/* Over the photo the tiles need a stronger edge than they do on the flat panel. */
.hero__panel--photo .hero__collage .ph { box-shadow: var(--shadow-md); }
/* No staggered translateY on the tiles. It pushed the top and bottom ones past
   the panel's edge, which read as overlapping rather than as a deliberate
   offset — a clean aligned grid holds better over the photo. */
/* Only when there are exactly five tiles: the 4th is then second-to-last. */
.hero__collage > *:nth-child(4):nth-last-child(2) { grid-column: span 2; }
@media (max-width: 900px) {
  .hero__panel { grid-template-columns: 1fr; grid-template-areas: "body" "search"; }
  .hero__collage { display: none; }

  /* One column, so the photo can no longer sit behind the text: a scrim heavy
     enough to keep the headline readable turns the picture into a grey smear.
     It becomes a normal block between the text and the search bar instead —
     full colour, no scrim — and the panel takes its tinted wash back. */
  .hero__panel--photo { grid-template-areas: "body" "photo" "search"; border-color: var(--line); }
  .hero__bg {
    position: static; grid-area: photo;
    height: clamp(150px, 42vw, 240px);
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm);
  }
  .hero__bg::after { display: none; }
}

/* ------------------------------------------------------- search widget */
.searchbar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.searchbar__tabs {
  display: flex; gap: .35rem; padding: .6rem .7rem 0;
  border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none;
}
.searchbar__tabs::-webkit-scrollbar { display: none; }
.searchbar__tab {
  display: inline-flex; align-items: center; gap: .4rem;
  background: none; border: 0; border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  padding: .55rem .8rem; margin-bottom: -1px;
  font-family: var(--font-head); font-size: .87rem; font-weight: 700;
  color: var(--muted); white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.searchbar__tab:hover { color: var(--ink); background: var(--band); }
.searchbar__tab.is-active { color: var(--brand-dark); border-bottom-color: var(--brand); background: var(--brand-tint); }
/* Each column needs a real minimum. Fractional-only tracks let the native date
   input clip to "dd-mm" and squeeze the PASSENGERS label off its own field. */
.searchbar__form {
  display: grid;
  grid-template-columns:
    minmax(150px, 1fr)      /* pickup   */
    minmax(200px, 1.55fr)   /* going to */
    minmax(158px, 1fr)      /* date — native picker needs the room */
    minmax(124px, .8fr)     /* passengers */
    auto;                   /* button */
  gap: 0; align-items: stretch;
}
.searchbar__field { display: flex; flex-direction: column; justify-content: center; padding: .72rem .95rem; border-right: 1px solid var(--line-2); min-width: 0; }
.searchbar__field:last-of-type { border-right: 0; }
.searchbar__field label {
  font-size: .67rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--faint); margin-bottom: .12rem; white-space: nowrap;
}
/* Native date/number controls have their own intrinsic width — without this
   they either clip their own text or refuse to shrink with the column. */
.searchbar__field input[type="date"] { min-width: 0; font-variant-numeric: tabular-nums; }
.searchbar__field input[type="number"] { -moz-appearance: textfield; }
.searchbar__field input[type="number"]::-webkit-outer-spin-button,
.searchbar__field input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.searchbar__field select { appearance: none; background: transparent; padding-right: 1.1rem; cursor: pointer; }
.searchbar__field--select { position: relative; }
.searchbar__field--select::after {
  content: ""; position: absolute; right: 1rem; bottom: 1.05rem;
  width: 6px; height: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); pointer-events: none;
}
.searchbar__field input, .searchbar__field select {
  border: 0; padding: 0; font: inherit; font-size: .94rem; font-weight: 500;
  color: var(--ink); background: transparent; width: 100%; min-width: 0;
}
.searchbar__field input:focus, .searchbar__field select:focus { outline: none; }
.searchbar__field input::placeholder { color: var(--faint); font-weight: 400; }
.searchbar__go { padding: .5rem; display: grid; align-items: stretch; }
.searchbar__go .btn { height: 100%; border-radius: var(--radius-sm); padding-inline: 1.5rem; }
@media (max-width: 860px) {
  .searchbar__form { grid-template-columns: 1fr 1fr; }
  .searchbar__field { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .searchbar__field:nth-child(odd) { border-right: 1px solid var(--line-2); }
  .searchbar__go { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .searchbar__form { grid-template-columns: 1fr; }
  .searchbar__field:nth-child(odd) { border-right: 0; }
}

/* --------------------------------------------------------- trust strip */
.trust { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.trust__item {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.25rem; background: var(--paper);
}
.trust__icons { display: flex; align-items: center; gap: .4rem; margin-bottom: .7rem; color: var(--brand); }
.trust__avatars { display: flex; }
.trust__avatars span {
  width: 30px; height: 30px; border-radius: 50%; margin-right: -8px;
  background: var(--brand-tint); border: 2px solid var(--paper); color: var(--brand-dark);
  display: grid; place-content: center; font-size: .72rem; font-weight: 700; font-family: var(--font-head);
}
.trust__title { font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; color: var(--ink); letter-spacing: -.02em; }
.trust__text { font-size: .84rem; color: var(--muted); margin: .15rem 0 0; }
.stars { color: var(--brand); display: inline-flex; gap: 1px; }

/* ------------------------------------------------------------- sections */
.section { padding: clamp(2.5rem, 4.6vw, 4rem) 0; }
.section--cream, .section--band { background: var(--band); }
.section--wash { background: var(--brand-tint); }
.section--ink { background: var(--band); }
.section--tight { padding-block: clamp(1.8rem, 3vw, 2.6rem); }

.section__head { max-width: 46rem; margin: 0 0 1.6rem; }
.section__head--left { margin-inline: 0; }
.section__head--center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .01em;
  color: var(--brand-dark); margin-bottom: .3rem;
}
.section__head h2 { margin-bottom: .3rem; }
.section__head p { color: var(--muted); margin: 0; font-size: .97rem; }
.ornament { display: none; }

.section__bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.section__bar .section__head { margin-bottom: 0; }
.link-more { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); display: inline-flex; align-items: center; gap: .25rem; }
.link-more:hover { color: var(--brand-dark); text-decoration: none; }

/* An uploaded logo. Height-constrained so a tall or a wide file both sit in
   the header without pushing it around; width follows the aspect ratio. */
.logo__img { display: block; height: clamp(54px, 7vw, 82px); width: auto; max-width: 380px; object-fit: contain; }
.footer .logo__img { height: 86px; max-width: 400px; }
/* The header bar is the constraint, not the file. A taller bar is fine on a
   desktop; on a phone it would eat the viewport, so the whole header shrinks
   rather than just the mark. */
@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .logo__img { height: clamp(46px, 8vw, 62px); max-width: 260px; }
}
@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .logo__img { height: 50px; max-width: 210px; }
}
/* At 360px the logo, two icon buttons and the menu no longer fit at full size,
   so the logo yields first — it is the only element that can shrink without
   becoming hard to tap. */
@media (max-width: 420px) {
  .logo__img { height: 44px; max-width: 148px; }
}

/* ---------------------------------------------------- vehicle spotlight
   The flagship gets a band of its own rather than competing as one card in a
   rail. Sits on the brand tint so it reads as featured without joining the
   band/plain alternation the rest of the page runs on. */
.spotlight {
  display: grid; align-items: center;
  gap: clamp(1.5rem, 3.2vw, 2.8rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}
.spotlight .ph { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.spotlight__body h2 { margin-bottom: .55rem; }
.spotlight__body .spec-row { margin-bottom: .9rem; }
.spotlight__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.spotlight__towns { margin-top: 1.1rem; font-size: .88rem; color: var(--muted); }
.spotlight__towns a { font-weight: 600; }
@media (max-width: 860px) {
  .spotlight { grid-template-columns: 1fr; }
  .spotlight__media { order: -1; }
}

/* ------------------------------------------------------------ image box */
.ph { position: relative; aspect-ratio: var(--ratio, 4/3); background: var(--band-2); overflow: hidden; }
.ph picture { display: block; width: 100%; height: 100%; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }

/* Awaiting-photo state. A tinted panel with a category icon reads as a
   considered placeholder; a blank grey box reads as a broken image. */
.ph--empty {
  display: grid; place-content: center; justify-items: center;
  text-align: center; gap: .5rem; padding: 1rem;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,.9), transparent 70%),
    linear-gradient(150deg, #f7f9fb 0%, #eef1f6 100%);
}
.ph--empty::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(19,24,32,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,24,32,.028) 1px, transparent 1px);
  background-size: 22px 22px;
}
.ph__icon {
  display: grid; place-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--paper); border: 1px solid var(--line);
  color: var(--brand); box-shadow: var(--shadow-xs);
  position: relative; z-index: 1;
}
.ph__cap {
  font-size: .72rem; font-weight: 600; color: var(--faint);
  max-width: 15rem; line-height: 1.35; position: relative; z-index: 1;
}
.ph--temple  { background: linear-gradient(150deg, #fdf7ef 0%, #f6ece0 100%); }
.ph--spot    { background: linear-gradient(150deg, #eef7f8 0%, #e2eff2 100%); }
.ph--vehicle { background: linear-gradient(150deg, #fbfcfd 0%, #eef1f6 100%); }
.ph--package { background: linear-gradient(150deg, #fdf6ee 0%, #f4ece2 100%); }

/* ----------------------------------------------------------------- grid */
.grid { display: grid; gap: 1.1rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(224px, 1fr)); }

/* ---------------------------------------------------------------- cards */
.card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: #d3dae3; }
.card:hover .ph img { transform: scale(1.04); }
.card__media { position: relative; }
.card__badge {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  background: var(--ink); color: #fff;
  font-family: var(--font-head); font-size: .68rem; font-weight: 700;
  padding: .26rem .6rem; border-radius: var(--radius-sm);
}
.card__body { padding: .95rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.02rem; margin-bottom: .25rem; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--brand-dark); text-decoration: none; }
.card__meta { display: flex; flex-wrap: wrap; gap: .2rem .8rem; font-size: .82rem; color: var(--muted); margin-bottom: .5rem; }
.card__meta span { display: inline-flex; align-items: center; gap: .28rem; }
.card__text { font-size: .88rem; color: var(--muted); margin-bottom: .8rem; }
.card__foot {
  margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: .7rem;
}
.card__price { font-family: var(--font-head); font-size: .88rem; font-weight: 700; color: var(--ink); }
.card__link { font-family: var(--font-head); font-size: .85rem; font-weight: 700; color: var(--brand-dark); display: inline-flex; align-items: center; gap: .25rem; }
.card__link:hover { gap: .45rem; text-decoration: none; }
.card--vehicle .ph { background: linear-gradient(170deg, #fbfcfd, var(--band-2)); }

.spec-row { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .8rem; }
.chip {
  display: inline-flex; align-items: center; gap: .28rem;
  background: var(--band); color: var(--ink-2); border: 1px solid var(--line);
  font-size: .76rem; font-weight: 600;
  padding: .22rem .55rem; border-radius: var(--radius-sm);
}
.chip--plain { background: var(--paper); color: var(--muted); }

/* ------------------------------------------------------------- carousel */
.rail { position: relative; }
/* grid-auto-columns must be a SINGLE fixed value. minmax(0, …) lets the
   columns collapse to slivers once there are more items than fit. */
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78vw;
  gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 2px 2px 1rem; margin-inline: -2px; scrollbar-width: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
@media (min-width: 560px)  { .rail__track { grid-auto-columns: calc((100% - 1.1rem) / 2); } }
@media (min-width: 820px)  { .rail__track { grid-auto-columns: calc((100% - 2.2rem) / 3); } }
@media (min-width: 1040px) { .rail__track { grid-auto-columns: calc((100% - 3.3rem) / 4); } }

/* Arrows sit under the rail on the right, as in the reference. */
.rail__nav { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .25rem; }
.rail__btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  display: grid; place-content: center;
  transition: background .16s, border-color .16s, opacity .16s;
}
.rail__btn:hover { background: var(--band); border-color: var(--ink); }
.rail__btn[disabled] { opacity: .35; cursor: default; }
.rail__btn[hidden] { display: none; }

/* ----------------------------------------------------------- filter tabs */
.tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.5rem; }
.tabs--left { justify-content: flex-start; }
.tab {
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-2);
  padding: .44rem 1rem; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-size: .87rem; font-weight: 600;
  transition: all .16s;
}
.tab:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab__count { opacity: .55; font-size: .78rem; margin-left: .2rem; }

/* ------------------------------------------------------------ photo tile */
.tile {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--paper);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.tile:hover { box-shadow: var(--shadow-md); border-color: #d3dae3; text-decoration: none; }
.tile:hover .ph img { transform: scale(1.05); }
.tile__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: .85rem .9rem;
  background: linear-gradient(to top, rgba(12,16,22,.90) 0%, rgba(12,16,22,.45) 45%, rgba(12,16,22,0) 80%);
  color: #fff;
}
.tile__title { font-family: var(--font-head); font-size: .98rem; font-weight: 700; line-height: 1.25; margin-bottom: .12rem; letter-spacing: -.02em; }
.tile__meta { font-size: .77rem; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: .25rem; }
.tile__type {
  align-self: flex-start; margin-bottom: .45rem;
  font-size: .66rem; font-weight: 700; color: var(--ink);
  background: rgba(255,255,255,.94);
  padding: .2rem .5rem; border-radius: var(--radius-sm);
}

/* ------------------------------------------------------------ page header */
.page-head { background: var(--band); border-bottom: 1px solid var(--line); padding: clamp(1.6rem, 3.4vw, 2.6rem) 0; }
.page-head h1 { margin-bottom: .4rem; }
.page-head p { color: var(--muted); max-width: 48rem; margin: 0; font-size: 1rem; }

.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: .7rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-dark); }
.crumbs span[aria-hidden] { opacity: .5; }

/* -------------------------------------------------------------- detail */
.detail { display: grid; gap: clamp(1.5rem, 3.4vw, 2.6rem); grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 940px) { .detail { grid-template-columns: 1fr; } }
.detail__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.prose { font-size: 1rem; }
.prose h2 { margin-top: 1.9rem; }
.prose h3 { margin-top: 1.4rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose li::marker { color: var(--brand); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm); }
.panel--sticky { position: sticky; top: calc(var(--header-h) + 16px); }
.panel h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.panel__note { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }

.speclist { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.speclist li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .52rem 0; border-bottom: 1px solid var(--line-2); font-size: .89rem;
}
.speclist li:last-child { border-bottom: 0; }
.speclist .k { color: var(--muted); }
.speclist .v { font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.feature-list li { display: flex; gap: .5rem; align-items: flex-start; font-size: .91rem; }
.feature-list svg { color: var(--brand); flex-shrink: 0; margin-top: .26rem; }

/* --------------------------------------------------------------- steps */
.steps { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); counter-reset: step; }
.step { position: relative; padding-top: 2.9rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand-tint); color: var(--brand-dark); border: 1px solid var(--brand-line);
  font-family: var(--font-head); font-size: 1rem; font-weight: 800;
  display: grid; place-content: center;
}
.step h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.step p { font-size: .89rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------- stats */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.stat__num { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat__label { font-size: .84rem; color: var(--muted); margin-top: .35rem; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: .9rem; }
.field { display: grid; gap: .3rem; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--err); }
.field input, .field select, .field textarea {
  width: 100%; padding: .66rem .8rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink);
  font: inherit; font-size: .94rem;
  transition: border-color .14s, box-shadow .14s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(238,107,11,.14);
}
.field textarea { resize: vertical; min-height: 104px; }
.field__hint { font-size: .77rem; color: var(--faint); }
.form__row { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: var(--radius-sm); padding: .85rem 1rem; font-size: .91rem; margin-bottom: 1.1rem; border: 1px solid; }
.alert--ok  { background: var(--ok-bg);  border-color: #bbf7d0; color: var(--ok); }
.alert--err { background: var(--err-bg); border-color: #fecaca; color: var(--err); }
.alert ul { margin: .45rem 0 0; }

/* ------------------------------------------------------- answer-first block
   One self-contained factual passage at the top of a page, marked up as
   Speakable. Written so a search snippet or an AI assistant can quote it
   without the surrounding page. */
.answer {
  background: var(--brand-tint);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.8rem;
}
.answer__q { font-size: 1.12rem; margin-bottom: .45rem; }
.answer__a { font-size: 1.02rem; color: var(--ink-2); margin-bottom: 0; }
.answer__facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: .75rem 1.5rem; margin: 1.1rem 0 0; padding-top: 1.1rem;
  border-top: 1px solid var(--brand-line);
}
.answer__facts > div { min-width: 0; }
.answer__facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-deep); }
.answer__facts dd {
  margin: .12rem 0 0; font-family: var(--font-head); font-weight: 700;
  color: var(--ink); font-size: .95rem; font-variant-numeric: tabular-nums;
}

/* ----------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--line); }
.faq--cols { columns: 2; column-gap: 2.4rem; border-top: 0; }
.faq--cols .faq__item { break-inside: avoid; border-top: 1px solid var(--line); border-bottom: 0; }
@media (max-width: 820px) { .faq--cols { columns: 1; } }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0;
  padding: .95rem 2.2rem .95rem 0; position: relative;
  font-family: var(--font-head); font-size: .97rem; font-weight: 700; color: var(--ink);
  line-height: 1.4; letter-spacing: -.015em;
}
.faq__q::after {
  content: ""; position: absolute; right: .5rem; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s;
}
.faq__item.is-open .faq__q::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__a { display: none; padding: 0 2.2rem 1.1rem 0; color: var(--muted); font-size: .92rem; }
.faq__item.is-open .faq__a { display: block; }

/* ------------------------------------------------- destination link farm */
.destinations { columns: 3; column-gap: 2.4rem; }
@media (max-width: 960px) { .destinations { columns: 2; } }
@media (max-width: 620px) { .destinations { columns: 1; } }
.dest {
  break-inside: avoid; border-bottom: 1px solid var(--line);
  margin: 0; padding: 0;
}
.dest > summary {
  list-style: none; cursor: pointer;
  padding: .72rem 1.6rem .72rem 0; position: relative;
  font-family: var(--font-head); font-size: .89rem; font-weight: 600; color: var(--ink);
}
.dest > summary::-webkit-details-marker { display: none; }
.dest > summary::after {
  content: ""; position: absolute; right: .35rem; top: 50%;
  width: 7px; height: 7px; margin-top: -5px;
  border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint);
  transform: rotate(45deg); transition: transform .2s;
}
.dest[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.dest[open] > summary { color: var(--brand-dark); }
.dest__links { list-style: none; margin: 0; padding: 0 0 .8rem; display: grid; gap: .3rem; }
.dest__links a { font-size: .85rem; color: var(--muted); }
.dest__links a:hover { color: var(--brand-dark); }

/* --------------------------------------------------------------- table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table.routes { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .91rem; }
table.routes th, table.routes td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line-2); }
table.routes th { background: var(--band); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
table.routes tbody tr:last-child td { border-bottom: 0; }
table.routes td:nth-child(2) { white-space: nowrap; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- CTA band */
.cta-band {
  background: var(--ink); color: rgba(255,255,255,.78);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3.4vw, 2.6rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.3rem;
}
.cta-band h2 { color: #fff; margin-bottom: .3rem; font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
.cta-band p { color: rgba(255,255,255,.72); margin: 0; max-width: 34rem; font-size: .95rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
/* Long labels by default; the short forms only exist for the phone breakpoint. */
.btn__short { display: none; }
.cta-band .btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cta-band .btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* -------------------------------------------------------------- footer */
.footer { background: var(--band); border-top: 1px solid var(--line); padding: clamp(2.4rem, 4vw, 3.2rem) 0 0; font-size: .9rem; color: var(--muted); }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--brand-dark); }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1.5fr repeat(4, 1fr); }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px)  { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer__about { margin: .9rem 0 1.1rem; max-width: 23rem; }
.footer h4 { color: var(--ink); font-size: .82rem; font-weight: 700; letter-spacing: .02em; margin: 0 0 .85rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer__contact li { display: flex; gap: .55rem; align-items: flex-start; }
.footer__contact svg { color: var(--brand); flex-shrink: 0; margin-top: .2rem; }
.socials { display: flex; gap: .45rem; }
.socials a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper);
  display: grid; place-content: center; color: var(--ink-2);
  transition: background .16s, border-color .16s, color .16s;
}
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer__bottom {
  margin-top: 2.2rem; padding: 1.1rem 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem;
  justify-content: space-between;
  font-size: .82rem; color: var(--faint);
}

/* Designer credit. Sits quietly — the lockup carries the colour, so the label
   stays muted and the mark comes up to full strength only on hover. */
.powered { display: inline-flex; align-items: center; gap: .5rem; color: var(--faint); }
.powered:hover { text-decoration: none; color: var(--muted); }
.powered img {
  height: 22px; width: auto; opacity: .8;
  transition: opacity .18s;
}
.powered:hover img { opacity: 1; }
/* Sits tight to the wordmark, so it reads as "Whirl Designs, Udupi" rather
   than as a separate footer item. */
.powered__place { margin-left: -.18rem; letter-spacing: .01em; }

/* ============================================================== reviews ==
   Sticky button bottom-left, so the WhatsApp and call buttons on the right
   keep their space — those two are the actions that earn money. */
.review-fab {
  position: fixed; left: 14px; bottom: 14px; z-index: 90;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .62rem 1.05rem .62rem .85rem;
  background: var(--ink); color: #fff;
  border: 0; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 700; font-size: .88rem;
  box-shadow: var(--shadow-lg);
  transition: transform .16s ease, background .16s ease;
}
.review-fab:hover { background: var(--brand-dark); transform: translateY(-2px); }
.review-fab svg { color: #ffc24a; }
@media (max-width: 560px) {
  /* Sits above the thumb bar and never overlaps the call buttons. */
  .review-fab { padding: .58rem .8rem; font-size: .8rem; gap: .35rem; }
  .review-fab span { display: none; }
  .review-fab::after { content: "Review"; }
}

/* ---- the dialog ---- */
.review-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.review-modal[hidden] { display: none; }
.review-modal__backdrop { position: absolute; inset: 0; background: rgba(12,16,22,.55); backdrop-filter: blur(2px); }
.review-modal__panel {
  position: relative; z-index: 1;
  width: min(560px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--paper); border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 3vw, 1.9rem); box-shadow: var(--shadow-lg);
  animation: rv-in .18s ease-out;
}
@keyframes rv-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.review-modal__x {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  background: none; border: 0; font-size: 1.7rem; line-height: 1;
  color: var(--faint); padding: 4px 8px; border-radius: var(--radius-sm);
}
.review-modal__x:hover { color: var(--ink); background: var(--band); }
.review-modal__sub { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }

/* ---- star input: rendered right-to-left so hovering one lights those before it ---- */
.rating { border: 0; padding: 0; margin: 0 0 .9rem; }
.rating legend { font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-bottom: .3rem; }
.rating__stars { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.rating__stars input { position: absolute; opacity: 0; width: 0; height: 0; }
.rating__stars label { cursor: pointer; color: var(--line); transition: color .12s, transform .12s; line-height: 0; }
.rating__stars label:hover,
.rating__stars label:hover ~ label,
.rating__stars input:checked ~ label { color: #ffc24a; }
.rating__stars label:hover { transform: scale(1.12); }
.rating__stars input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ---- stars, read-only ---- */
.stars-row { display: inline-flex; gap: 1px; line-height: 0; }
.stars-row .star { color: var(--line-2); }
.stars-row .star.is-on { color: #f0a500; }

/* ---- the moving strip ---- */
.reviews { overflow: hidden; }
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.reviews__head h2 { margin-bottom: 0; }
.reviews__score { display: inline-flex; align-items: center; gap: .4rem; font-size: .92rem; color: var(--muted); }
.reviews__score b { color: var(--ink); font-family: var(--font-head); font-size: 1.05rem; }

.rv-railwrap { position: relative; }
/* overflow is hidden in every case. It was once switched to auto for reduced
   motion, which put a scrollbar under the reviews and stopped them moving —
   the strip read as broken rather than as a carousel. */
.rv-rail { position: relative; width: 100%; overflow: hidden; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rv-rail::-webkit-scrollbar { display: none; }
.rv-track { display: flex; gap: 1rem; width: max-content; animation: rv-marquee 52s linear infinite; will-change: transform; }
.rv-dup { display: contents; }
.rv-rail:hover .rv-track,
.rv-track.is-paused { animation-play-state: paused; }
@keyframes rv-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Anything that moves by itself needs a way to stop it, and hovering is not one
   on a phone. This button is also the reduced-motion accommodation: the strip
   slows to a drift instead of freezing, and anyone can halt it outright. It
   sits outside .rv-rail so the edge mask cannot fade it away. */
.rv-pause {
  position: absolute; right: .75rem; bottom: .7rem; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  cursor: pointer; opacity: .5; transition: opacity .15s ease, transform .15s ease;
}
.rv-pause:hover, .rv-pause:focus-visible { opacity: 1; transform: scale(1.07); }
.rv-pause__play { display: none; }
.rv-pause[aria-pressed="true"] .rv-pause__play { display: block; }
.rv-pause[aria-pressed="true"] .rv-pause__pause { display: none; }

.rv-card {
  flex: 0 0 auto; width: min(330px, 78vw); margin: 0;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.1rem;
  display: flex; flex-direction: column; gap: .55rem;
}
.rv-card__text {
  margin: 0; font-size: .93rem; line-height: 1.6; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.rv-card__who { font-size: .84rem; font-weight: 700; color: var(--ink); font-family: var(--font-head); }
.rv-card__town { font-weight: 500; color: var(--muted); }
.rv-card__trip { display: block; font-weight: 500; font-size: .76rem; color: var(--faint); margin-top: .1rem; }

/* ------------------------------------------------------- floating actions */
.fab { position: fixed; right: 14px; bottom: 14px; z-index: 90; display: grid; gap: .5rem; }
.fab a {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-content: center; color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform .16s;
}
.fab a:hover { transform: scale(1.06); color: #fff; }
.fab__wa  { background: #25d366; }
.fab__tel { background: var(--brand); }
@media (min-width: 900px) { .fab__tel { display: none; } }

/* ------------------------------------------------------------ utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.stack > * + * { margin-top: .75rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center-btn { display: flex; justify-content: center; margin-top: 1.6rem; }
.lead { font-size: 1.06rem; color: var(--muted); }

/* The three CTA buttons stay on one line at phone width: short labels, the
   WhatsApp button reduced to its icon, and the two text buttons sharing the
   remaining space equally. */
@media (max-width: 560px) {
  .cta-band { padding-inline: 1.1rem; }
  .cta-band__actions { flex-wrap: nowrap; width: 100%; gap: .45rem; align-items: stretch; }
  .cta-band__actions .btn { flex: 1 1 0; min-width: 0; padding: .7rem .55rem; font-size: .82rem; gap: .3rem; }
  .cta-band__actions .btn--wa { flex: 0 0 auto; padding-inline: .85rem; }
  .cta-band .btn__long { display: none; }
  .cta-band .btn__short { display: inline; }
  .cta-band .btn svg { flex-shrink: 0; }
}

/* --------------------------------------------------------------- mobile */
@media (max-width: 980px) {
  /* Order matters here. The toggle comes before the CTA in the markup, so
     pushing only the CTA right left the hamburger stranded beside the logo
     with a hole between them. Reordering puts the header in the arrangement
     people expect on a phone: logo … WhatsApp, call, menu. */
  .nav-toggle { display: inline-flex; order: 3; margin-left: .15rem; }
  .header__cta { order: 2; margin-left: auto; }
  .header__bar { gap: .55rem; }
  .hcall { padding: .28rem; gap: 0; }
  .hcall__text { display: none; }
  .hcall__icon { width: 34px; height: 34px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(310px, 86vw);
    background: var(--paper); border-left: 1px solid var(--line);
    padding: 1rem; overflow-y: auto; margin-left: 0;
    transform: translateX(100%); transition: transform .24s ease;
    box-shadow: var(--shadow-lg); z-index: 101;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: .8rem .85rem; font-size: .98rem; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(19,24,32,.4);
    opacity: 0; pointer-events: none; transition: opacity .24s; z-index: 99;
  }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
}

/* ------------------------------------------------------ motion & reveal */
.reveal { opacity: 0; transform: translateY(10px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal.is-in { opacity: 1; transform: none; }
}

::selection { background: var(--brand); color: #fff; }

/* ----------------------------------------------------------------- print */
@media print {
  .header, .footer, .fab, .rail__nav, .cta-band, .searchbar { display: none !important; }
  body { color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
