/* ==========================================================================
   Firdous Tours & Travels — main stylesheet
   Palette derived from the Firdous logo (green #2fa84f, blue #1a56ac),
   lifted for a dark ground. Edit tokens in :root to retheme the whole site.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Ground & text */
  --bg: #10131f;
  --bg-deep: #0c0f18;
  --surface: #1a1f2e;
  --text: #e9e9ed;
  --divider: rgba(233, 233, 237, 0.16);

  /* Brand green (logo) */
  --accent: #3eb56a;
  --accent-100: #eefaf1;
  --accent-200: #d5f3de;
  --accent-300: #ade5c1;
  --accent-600: #2d9455;
  --accent-700: #227142;
  --accent-800: #1a5031;
  --accent-900: #14311f;

  /* Brand blue (logo) — used as the saturated section ground */
  --blue: #4f8fe0;
  --section: #10305e;
  --section-glow: #17458a;

  --font-heading: "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 0 0 1px #3f424d;
  --shadow-md: 0 0 0 1px #595d6c, 0 6px 18px rgba(0, 0, 0, .55);
  --shadow-lg: 0 0 0 1px #9397ab, 0 16px 40px rgba(0, 0, 0, .65);

  --page: 1180px;
  --gutter: 24px;
  --header-h: 74px;
}

/* --------------------------------------------------------------- base --- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

h1 { font-size: clamp(38px, 5.4vw, 74px); line-height: 1.02; letter-spacing: -0.034em; }
h2 { font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -0.028em; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }

p { margin: 0 0 12px; text-wrap: pretty; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-300); }

img { display: block; max-width: 100%; }
figure { margin: 0; }
ul { text-wrap: pretty; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: rgba(62, 181, 106, .3); }
::placeholder { color: rgba(233, 233, 237, .38); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #2b3245; border-radius: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }

/* ----------------------------------------------------------- utilities --- */

.wrap { max-width: var(--page); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: 96px 0; }
.section--deep { background: var(--bg-deep); border-top: 1px solid var(--divider); }
.muted { opacity: .65; }
.lead { font-size: 16.5px; line-height: 1.85; opacity: .75; }
.measure { max-width: 52ch; }

.kicker {
  display: block;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-300);
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: var(--accent); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}

/* Grids */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid--split-wide { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.grid-homepage {grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 0.9fr;}
/* Blended photography — dark values fall away into the page */
.lighten { mix-blend-mode: lighten; background-color: transparent; }

.media { border-radius: var(--radius-lg); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------- buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  color: var(--text);
  background: transparent;
  border: 1px solid transparent;
  padding: 11px 18px;
  border-radius: var(--radius-md);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { display: block; }
.btn--primary { color: var(--accent); border-color: var(--accent); }
.btn--primary:hover { background: rgba(62, 181, 106, .12); color: var(--accent); }
.btn--primary:active { background: rgba(62, 181, 106, .22); }
.btn--secondary { border-color: var(--divider); }
.btn--secondary:hover { background: rgba(233, 233, 237, .07); color: var(--text); }
.btn--lg { padding: 14px 26px; font-size: 15px; }
.btn--block { width: 100%; }

.link-quiet {
  font-size: 13.5px;
  color: var(--text);
  opacity: .72;
  text-decoration: none;
  border-bottom: 1px solid var(--divider);
  padding-bottom: 2px;
}
.link-quiet:hover { opacity: 1; color: var(--accent); }

.tag {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: .02em;
  padding: 3px 10px;
  border-radius: 6px;
}
.tag--outline { border: 1px solid var(--accent); color: var(--accent); }
.tag--neutral { background: #3f424d; color: #f3f5fe; }

/* -------------------------------------------------------------- header --- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .35s ease, border-color .35s ease;
}
.site-header.is-scrolled {
  background: rgba(16, 19, 31, .88);
  border-bottom-color: var(--divider);
}
.site-header__inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-header__logo img { height: 36px; width: auto; }

.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a,
.nav__group > span {
  font-size: 12.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(233, 233, 237, .78);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav__group { position: relative; display: flex; align-items: center; }
.nav__group > span { display: inline-flex; align-items: center; gap: 6px; cursor: default; }
.nav__group.is-current > span { color: var(--accent); }

.nav__menu {
  position: absolute;
  top: 100%; left: -16px;
  width: 270px;
  padding-top: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
}
.nav__group:hover .nav__menu,
.nav__group:focus-within .nav__menu { opacity: 1; visibility: visible; }
.nav__menu ul {
  list-style: none;
  margin: 0; padding: 0;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.nav__menu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 13px 16px;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}
.nav__menu a:hover { background: var(--accent-900); color: var(--text); }
.nav__menu small { font-size: 11px; opacity: .55; }

.nav-toggle {
  display: none;
  position: relative;
  width: 40px; height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
}

/* Animated hamburger — driven purely by aria-expanded, which your open/close
   script already flips. No JS change needed for the animation itself. */
.nav-toggle__bars {
  position: relative;
  width: 18px;
  height: 13px;
  display: inline-block;
  flex: none;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle__bars span:nth-child(3) { top: 100%; transform: translateY(-100%); }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}
.nav-toggle:active { transform: scale(.92); }

.mobile-nav { display: none; background: var(--bg-deep); border-top: 1px solid var(--divider); padding: 10px var(--gutter) 22px; }
.mobile-nav.is-open { display: flex; flex-direction: column; }
.mobile-nav a {
  padding: 13px 0;
  font-size: 15px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--divider);
}
.mobile-nav a:last-child { border-bottom: 0; }

/* --------------------------------------------------------------- heroes --- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 150px 0 64px;
}
.hero--page { min-height: 60vh; padding: 150px 0 60px; background: var(--bg-deep); }

.hero__media { position: absolute; inset: 0; overflow: hidden; background: var(--bg-deep); }
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 24s ease-in-out infinite alternate;
}
/* Home hero: three stills crossfading — a moving background without a video file */
.hero__media--cycle img { animation: kenburns 24s ease-in-out infinite alternate, cycle5 30s linear infinite; }
.hero__media--cycle img:nth-child(2) { animation-delay: 0s, -6s; }
.hero__media--cycle img:nth-child(3) { animation-delay: 0s, -12s; }
.hero__media--cycle img:nth-child(4) { animation-delay: 0s, -18s; }
.hero__media--cycle img:nth-child(5) { animation-delay: 0s, -24s; }

.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,15,24,.82) 0%, rgba(12,15,24,.35) 34%, rgba(12,15,24,.72) 72%, var(--bg) 100%);
}
.hero__scrim--page {
  background: linear-gradient(180deg, rgba(12,15,24,.86) 0%, rgba(12,15,24,.45) 45%, var(--bg) 100%);
}
.hero__glow {
  position: absolute; inset: 0;
  background: radial-gradient(70% 55% at 12% 78%, rgba(16,48,94,.55) 0%, transparent 70%);
  animation: drift 34s ease-in-out infinite;
}
.hero__inner { position: relative; width: 100%; }
.hero h1 { max-width: 15ch; margin-bottom: 26px; text-wrap: balance; }
.hero__sub { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; max-width: 52ch; opacity: .82; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  opacity: .45;
  animation: bob 3s ease-in-out infinite;
}

/* ---------------------------------------------------------------- cards --- */

.stat { border-top: 1px solid var(--accent-700); padding-top: 18px; }
.stat__value { font-size: 31px; letter-spacing: -0.03em; color: var(--accent); }
.stat p { margin: 4px 0 0; font-size: 13px; opacity: .6; line-height: 1.55; }

.card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.card__media { height: 210px; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.3,1); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__body h3 { margin: 0; font-size: 23px; }
.card__body ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.8; opacity: .68; flex: 1; }
.card__note { margin: 0; font-size: 13px; opacity: .5; font-style: italic; }

.card--link {
  padding: 22px;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius-md);
  transition: box-shadow .25s ease;
}
.card--link:hover { box-shadow: var(--shadow-md); color: var(--text); }
.card--link h4 { margin: 0; font-size: 19px; }
.card--link p { margin: 0; font-size: 13.5px; line-height: 1.65; opacity: .6; }
.card--link .duration { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

.card--row { flex-direction: row; }
.card--row .card__media { width: 40%; height: auto; min-height: 220px; }

/* Image tiles with text laid over the photograph */
.tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 300px;
  padding: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.3,1); }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,15,24,.05), rgba(12,15,24,.9));
}
.tile:hover img { transform: scale(1.05); }
.tile > div { position: relative; z-index: 1; }
.tile h3, .tile h4 { margin: 0 0 6px; }
.tile p { margin: 0; font-size: 13.5px; opacity: .75; max-width: 44ch; }
.tile--tall { min-height: 500px; grid-row: span 2; }

.pillar::before { content: ""; display: block; width: 26px; height: 2px; background: var(--accent); margin-bottom: 11px; }
.pillar h5 { margin: 0 0 5px; }
.pillar p { margin: 0; font-size: 13.5px; line-height: 1.65; opacity: .6; }

.timeline__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--divider);
}
.timeline__row:last-child { border-bottom: 1px solid var(--divider); }
.timeline__row span { font-size: 19px; color: var(--accent-300); letter-spacing: -0.02em; }
.timeline__row p { margin: 0; font-size: 14.5px; line-height: 1.7; opacity: .72; }

.step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--divider); }
.step:last-child { border-bottom: 1px solid var(--divider); }
.step__num { font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.step h5 { margin: 0 0 4px; }
.step p { margin: 0; font-size: 14px; line-height: 1.7; opacity: .65; }

.float-card {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  max-width: 280px;
}
.float-card--bl { left: -26px; bottom: -26px; }
.float-card--tr { right: -20px; top: -20px; background: var(--section); }
.float-card p { margin: 0; font-size: 13.5px; line-height: 1.65; opacity: .82; }

.quote {
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quote p { margin: 0; font-size: 14.5px; line-height: 1.75; opacity: .85; }
.quote footer { font-size: 12.5px; opacity: .5; margin-top: auto; }
.stars { display: flex; gap: 3px; }

.quote--feature {
  position: relative;
  overflow: hidden;
  background: var(--section);
  padding: 48px;
  margin-bottom: 60px;
}
.quote--feature p { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.45; letter-spacing: -0.02em; max-width: 32ch; text-wrap: balance; }

.masonry { columns: 3 300px; column-gap: 18px; }
.masonry > * { break-inside: avoid; margin-bottom: 18px; }

.shot { position: relative; border-radius: var(--radius-md); overflow: hidden; }
.shot img { width: 100%; }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  font-size: 12px;
  background: linear-gradient(180deg, transparent, rgba(12,15,24,.85));
}

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filters .btn { border-color: var(--divider); }
.filters .btn.is-active { border-color: var(--accent); color: var(--accent); }

/* FAQ's accordion */
.entry { border-top: 1px solid var(--divider); }
.entry:last-of-type { border-bottom: 1px solid var(--divider); }
.entry__head {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text);
  text-align: left;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-body);
}
.entry__head h3 { margin: 0 0 6px; font-size: clamp(21px, 2.2vw, 28px); letter-spacing: -0.02em; }
.entry__head p { margin: 0; font-size: 14.5px; line-height: 1.7; opacity: .6; max-width: 60ch; }
.entry__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.entry__body { display: none; padding: 0 0 34px; max-width: 66ch; }
.entry.is-open .entry__body { display: block; }
.entry__body p { margin: 0 0 16px; font-size: 16px; line-height: 1.85; opacity: .8; }

/* --------------------------------------------------------------- forms --- */

.inquiry {
  position: relative;
  overflow: hidden;
  background: var(--section);
  padding: 96px 0;
}
.inquiry__glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 120%;
  background: radial-gradient(60% 60% at 20% 20%, var(--section-glow) 0%, transparent 65%);
  opacity: .75;
  animation: drift 28s ease-in-out infinite;
  pointer-events: none;
}
.inquiry .wrap { position: relative; }
.inquiry__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.assurance { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 16px; }
.assurance svg { flex: none; margin-top: 2px; }
.assurance p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.assurance strong { font-weight: 600; }

.form-card {
  background: rgba(12, 15, 24, .72);
  border: 1px solid rgba(233, 233, 237, .12);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 12px; margin-bottom: 5px; color: rgba(233, 233, 237, .7); }
.input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  caret-color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
}
.input:hover { border-color: rgba(233, 233, 237, .45); }
.input:focus-visible { border-color: var(--accent); outline-offset: 0; }
textarea.input { min-height: 110px; resize: vertical; }
.form-note { margin: 10px 0 0; font-size: 11.5px; opacity: .45; text-align: center; }
.form-thanks { display: none; min-height: 380px; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.form-card.is-sent .form-thanks { display: flex; }
.form-card.is-sent form { display: none; }

/* -------------------------------------------------------------- footer --- */

.site-footer { background: var(--bg-deep); padding: 72px 0 34px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 44px; }
.site-footer img { height: 42px; width: auto; margin-bottom: 18px; }
.site-footer h2 {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .5;
  margin: 0 0 4px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.site-footer ul a { font-size: 13.5px; color: var(--text); text-decoration: none; opacity: .75; }
.site-footer ul a:hover { opacity: 1; color: var(--accent); }
.site-footer p { font-size: 13px; line-height: 1.7; opacity: .6; }
.site-footer .phone { font-size: 19px; color: var(--accent); text-decoration: none; }
.site-footer__legal {
  max-width: var(--page);
  margin: 44px auto 0;
  padding: 22px var(--gutter) 0;
  border-top: 1px solid var(--divider);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 12px;
  opacity: .45;
}

.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--accent-700);
  border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--accent-100);
}
.wa-float:hover { background: var(--accent-600); color: var(--accent-100); }

/* ----------------------------------------------------------- animation --- */

@keyframes kenburns {
  0%   { transform: scale(1.06) translate3d(0, 0, 0); }
  100% { transform: scale(1.18) translate3d(-2%, -1.5%, 0); }
}
@keyframes cycle3 {
  0%, 26%  { opacity: 1; }
  36%, 92% { opacity: 0; }
  100%     { opacity: 1; }
}

@keyframes cycle5 {
  0%, 20%   { opacity: 1; }
  25%, 95%  { opacity: 0; }
  100%      { opacity: 1; }
}

@keyframes drift {
  0%   { transform: translate3d(-4%, 0, 0) scale(1.2); }
  50%  { transform: translate3d(4%, -2%, 0) scale(1.3); }
  100% { transform: translate3d(-4%, 0, 0) scale(1.2); }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- responsive --- */

@media (max-width: 980px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
}

@media (max-width: 1080px) {
  .grid--4, .grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .tile--tall { grid-row: auto; min-height: 340px; }
}

@media (max-width: 860px) {
  .grid--2, .grid--3, .grid--4,
  .grid--split, .grid--split-wide,
  .inquiry__grid, .site-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .card--row { flex-direction: column; }
  .card--row .card__media { width: 100%; height: 200px; min-height: 0; }
  .float-card { position: static; margin-top: 18px; max-width: none; }
  .section { padding: 68px 0; }
  .quote--feature { padding: 32px; }
  :root { --gutter: 20px; }
}

@media (max-width: 560px) {
  .hero { min-height: 88vh; padding-top: 128px; }
  .hero--page { min-height: 46vh; padding-top: 128px; }
  .timeline__row { grid-template-columns: 1fr; gap: 8px; }
  .entry__head { grid-template-columns: 1fr; gap: 12px; }
  .grid-homepage { grid-template-columns: none; grid-template-rows: 1fr 0.9fr 1fr; }
}

@media (max-width: 480px) {
  /* wa-float already covers this action on small phones — keeps the
     header from crowding logo + button text + hamburger into one row */
  .site-header__inner .btn--primary { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .wa-float, .hero__media, .scroll-hint { display: none !important; }
  body { background: #fff; color: #000; }
}