/* ==========================================================================
   Olivia Travel
   Palette comes from the logo: ivory ground, charcoal type, gold, slate navy.
   ========================================================================== */

:root {
  /* brand */
  --ivory: #FEF9F5;
  --ivory-deep: #F8EFE5;
  --sand: #EADCCB;
  --ink: #212122;
  --navy: #1D2836;
  --navy-soft: #313D4D;
  --gold: #C8A168;
  --gold-light: #DEB984;
  --gold-mid: #A68048;  /* 3:1 on ivory: large numerals, control borders */
  --gold-deep: #836430; /* 4.5:1 on ivory and on the tint: small gold text */

  /* semantic */
  --bg: var(--ivory);
  --surface: #FFFFFF;
  --text: #2B2D31;
  --text-muted: #5E6470;
  --on-dark: #FEF9F5;
  --on-dark-muted: #B9C0CA;
  --border: var(--sand);
  --danger: #B3261E;
  --success: #2E6B4A;

  /* type */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* shape and depth */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 8px 24px -16px rgba(29, 40, 54, .28);
  --shadow: 0 28px 64px -32px rgba(29, 40, 54, .38);

  /* motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 220ms;

  /* layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 68px;
  --icon-sm: 18px;
  --icon-md: 24px;
  --icon-lg: 28px;

  --z-fab: 80;
  --z-menu: 90;
  --z-header: 100;
}

@media (min-width: 1100px) {
  :root { --header-h: 80px; }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

/* component display rules must not bring back elements hidden through the attribute */
[hidden] { display: none !important; }

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.on-dark :focus-visible { outline-color: var(--gold-light); }

section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tint { background: var(--ivory-deep); }
.section--dark { background: var(--navy); color: var(--on-dark); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: calc(var(--z-header) + 1);
  padding: 12px 20px;
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--radius-sm);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Icons — one stroke family (Lucide), coloured through currentColor
   -------------------------------------------------------------------------- */

.icon {
  width: var(--icon-md);
  height: var(--icon-md);
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: var(--icon-sm); height: var(--icon-sm); }
.icon--lg { width: var(--icon-lg); height: var(--icon-lg); }
.icon--fill { fill: currentColor; stroke: none; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

.display,
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
}

.section--dark h2,
.section--dark h3 { color: var(--on-dark); }

h2 {
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.25rem);
  line-height: 1.08;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-deep);
}
.section--dark h2 em { color: var(--gold-light); }

/* the "line – star – label" mark echoes the divider in the logo */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow .icon { width: 12px; height: 12px; }
.section--dark .eyebrow { color: var(--gold-light); }

.section-head {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.section-head__lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 60ch;
}
.section--dark .section-head__lead { color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: scale(.98); }
.btn .icon { width: 20px; height: 20px; transition: transform var(--dur) var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }

.btn--primary { background: var(--navy); color: var(--on-dark); }
.btn--primary:hover { background: var(--navy-soft); box-shadow: var(--shadow-sm); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, #B98F53);
  color: var(--navy);
}
.btn--gold:hover { box-shadow: 0 14px 30px -14px rgba(200, 161, 104, .7); }

.btn--ghost { border-color: rgba(29, 40, 54, .28); color: var(--ink); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(29, 40, 54, .04); }

.btn--ghost-light { border-color: rgba(254, 249, 245, .35); color: var(--on-dark); }
.btn--ghost-light:hover { border-color: var(--gold-light); background: rgba(254, 249, 245, .06); }

.btn--sm { min-height: 46px; padding: 0 22px; font-size: .875rem; }
.btn--block { width: 100%; }

.btn[disabled],
.btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--gold-deep);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link:hover { border-color: currentColor; }
.link .icon { width: 16px; height: 16px; }
.section--dark .link { color: var(--gold-light); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 10px 30px -24px rgba(29, 40, 54, .45);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.brand__mark { width: auto; height: 44px; }
.brand__text { display: grid; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand__sub {
  margin-top: 4px;
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .52em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { display: none; }

.header__phone {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-inline: 8px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.header__phone:hover { color: var(--gold-deep); }
.header__phone .icon { color: var(--gold-deep); }

.burger {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.burger:hover { border-color: var(--navy); }
.burger .icon { grid-area: 1 / 1; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.burger .burger__close { opacity: 0; transform: rotate(-45deg); }
.burger[aria-expanded="true"] .burger__open { opacity: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__close { opacity: 1; transform: none; }

/* mobile: the nav is a full-height sheet under the header */
.nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 16px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--ivory);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
}
.nav__extra { display: grid; gap: 12px; margin-top: auto; }

@media (min-width: 560px) {
  .header__cta { display: inline-flex; }
}

@media (min-width: 1100px) {
  .burger,
  .nav__extra { display: none; }

  .nav {
    position: static;
    flex-direction: row;
    padding: 0;
    overflow: visible;
    background: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav__list { display: flex; gap: 4px; }
  .nav__list a {
    position: relative;
    min-height: 44px;
    padding-inline: 14px;
    border: 0;
    font-family: var(--font-body);
    font-size: .9375rem;
    font-weight: 500;
    color: var(--text);
    transition: color var(--dur) var(--ease);
  }
  .nav__list a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
  }
  .nav__list a:hover,
  .nav__list a[aria-current="true"] { color: var(--ink); }
  .nav__list a:hover::after,
  .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
}

@media (min-width: 1240px) {
  .header__phone { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 96px);
  background:
    radial-gradient(900px 520px at 88% -6%, rgba(200, 161, 104, .2), transparent 62%),
    radial-gradient(700px 420px at -10% 100%, rgba(49, 61, 77, .07), transparent 60%),
    var(--ivory);
}

.hero__grid {
  display: grid;
  gap: clamp(44px, 7vw, 72px);
  align-items: center;
}

.hero__content { display: grid; gap: 24px; justify-items: start; }

.hero__title {
  font-size: clamp(2.7rem, 1.6rem + 5vw, 4.75rem);
  line-height: 1;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 54ch;
  font-size: clamp(1rem, .95rem + .3vw, 1.125rem);
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin-top: 4px;
}
.hero__actions .btn { flex: 1 1 220px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts .icon { color: var(--gold-deep); }

.hero__visual {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
}
/* offset gold outline behind the arch */
.hero__visual::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid var(--gold);
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  opacity: .7;
}

.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: var(--sand);
  box-shadow: var(--shadow);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

.hero__badge {
  position: absolute;
  top: 9%;
  right: -6px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ivory);
  color: var(--gold-deep);
  box-shadow: var(--shadow-sm);
}

.hero__card {
  position: absolute;
  left: -8px;
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 250px;
  padding: 14px 18px 14px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: var(--shadow);
}
.hero__card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
}
.hero__card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}
.hero__card-text { font-size: .8125rem; line-height: 1.35; color: var(--text-muted); }

@media (min-width: 560px) {
  .hero__actions .btn { flex: 0 1 auto; }
}

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
  .hero__visual { margin-right: 28px; }
  .hero__badge { right: -30px; width: 76px; height: 76px; }
  .hero__card { left: -56px; }
}

/* --------------------------------------------------------------------------
   Advantages strip
   -------------------------------------------------------------------------- */

.advantages { padding-bottom: var(--section); }

.advantages__list {
  display: grid;
  border-top: 1px solid var(--border);
}
.advantage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.advantage .icon { grid-row: span 2; margin-top: 2px; color: var(--gold-deep); }
.advantage__title {
  font-size: 1.5rem;
  line-height: 1.15;
}
.advantage__text { font-size: .9375rem; color: var(--text-muted); }

@media (min-width: 640px) {
  .advantages__list { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
}
@media (min-width: 1024px) {
  .advantages__list { grid-template-columns: repeat(4, 1fr); column-gap: 0; border-bottom: 1px solid var(--border); }
  .advantage {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 32px 28px;
    border-bottom: 0;
    border-left: 1px solid var(--border);
  }
  .advantage:first-child { padding-left: 0; border-left: 0; }
  .advantage:last-child { padding-right: 0; }
  .advantage .icon { grid-row: auto; margin: 0 0 6px; }
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.services__grid { display: grid; gap: 16px; }

.service {
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  gap: 4px 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.service__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ivory-deep);
  color: var(--gold-deep);
}
.service__title { align-self: center; font-size: 1.5rem; line-height: 1.15; }
.service__text { font-size: .9375rem; color: var(--text-muted); }

.included {
  display: grid;
  gap: 18px;
  margin-top: 16px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--on-dark);
}
.included__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
}
.included__list { display: flex; flex-wrap: wrap; gap: 10px; }
.included__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px 0 12px;
  border: 1px solid rgba(222, 185, 132, .35);
  border-radius: var(--radius-pill);
  font-size: .875rem;
  font-weight: 500;
}
.included__list .icon { color: var(--gold-light); }

@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .included { margin-top: 20px; }
}
@media (min-width: 1024px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .service { grid-template-columns: 1fr; gap: 10px; padding: 32px; }
  .service__icon { grid-row: auto; width: 56px; height: 56px; margin-bottom: 10px; }
  .service__title { font-size: 1.6rem; }
  .included {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 32px;
    padding: 24px 36px;
  }
  .included__list { justify-content: flex-end; }
}

/* --------------------------------------------------------------------------
   Tour operators
   -------------------------------------------------------------------------- */

.operators {
  position: relative;
  overflow: hidden;
}
.operators::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(760px 420px at 100% 0%, rgba(200, 161, 104, .16), transparent 65%);
  pointer-events: none;
}
.operators__grid { position: relative; display: grid; gap: 40px; align-items: center; }
.operators .section-head { margin-bottom: 0; }
.operators__cta { justify-self: start; margin-top: 8px; }

.operators__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.operators__list li {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 16px 12px;
  border: 1px solid rgba(222, 185, 132, .3);
  border-radius: var(--radius-sm);
  background: rgba(254, 249, 245, .03);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .03em;
  text-align: center;
  color: var(--on-dark);
}
.operators__list .operators__more {
  grid-column: 1 / -1;
  min-height: 64px;
  border-style: dashed;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-light);
}

@media (min-width: 1024px) {
  .operators__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; }
  .operators__list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .operators__list li { min-height: 116px; }
}

/* --------------------------------------------------------------------------
   Destinations
   -------------------------------------------------------------------------- */

.destinations__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.destination {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-soft);
  color: var(--on-dark);
  isolation: isolate;
}
.destination img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.destination::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 28, 39, 0) 38%, rgba(20, 28, 39, .52) 68%, rgba(20, 28, 39, .9) 100%);
}
.destination:hover img { transform: scale(1.05); }

.destination__body {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 2px;
  padding: 16px;
}
.destination__name {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--on-dark);
}
.destination__places {
  display: none;
  font-size: .8125rem;
  line-height: 1.4;
  color: rgba(254, 249, 245, .86);
}
.destination__go {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(254, 249, 245, .94);
  color: var(--navy);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.destination:hover .destination__go { background: var(--gold-light); transform: rotate(45deg); }

.destinations__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  margin-top: 32px;
  text-align: center;
  color: var(--text-muted);
}

@media (min-width: 560px) {
  .destinations__grid { gap: 20px; }
  .destination__body { padding: 22px; gap: 6px; }
  .destination__places { display: block; }
}
@media (min-width: 1024px) {
  .destinations__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .destination { aspect-ratio: 4 / 5; }
  .destination__body { padding: 26px; }
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.steps { display: grid; gap: 16px; counter-reset: step; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--ivory);
}
.step__num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  line-height: .9;
  color: var(--gold-mid);
  font-variant-numeric: lining-nums;
}
.step__title { font-size: 1.5rem; line-height: 1.15; }
.step__text { font-size: .9375rem; color: var(--text-muted); }
.step__icon { display: none; }

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 10px;
    padding: 28px;
  }
  .step__num { grid-row: auto; font-size: 3.5rem; margin-bottom: 8px; }
  .step__icon {
    position: absolute;
    top: 28px;
    right: 28px;
    display: block;
    color: var(--gold-deep);
  }
}

/* --------------------------------------------------------------------------
   Request form
   -------------------------------------------------------------------------- */

.request { position: relative; overflow: hidden; }
.request::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 400px at 0% 100%, rgba(200, 161, 104, .16), transparent 65%),
    radial-gradient(520px 320px at 100% 0%, rgba(49, 61, 77, .9), transparent 70%);
  pointer-events: none;
}
.request__grid { position: relative; display: grid; gap: 40px; align-items: start; }
.request .section-head { margin-bottom: 28px; }

.request__alt { display: grid; gap: 12px; }
.request__alt-label { font-size: .875rem; color: var(--on-dark-muted); }
.request__alt-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.request__alt-actions .btn { flex: 1 1 200px; }

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--ivory);
  color: var(--text);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}

.form { display: grid; gap: 18px; }

.field { display: grid; gap: 6px; }
.field__label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.field__req { color: var(--gold-deep); }
.field__optional { font-weight: 400; color: var(--text-muted); }

.field__control {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--gold-mid);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.field__control::placeholder { color: #8B9099; }
.field__control:hover { border-color: var(--gold-deep); }
.field__control:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(200, 161, 104, .35);
}
.field__control[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(179, 38, 30, .14);
}
textarea.field__control { min-height: 104px; resize: vertical; }
select.field__control {
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231D2836' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field__error {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--danger);
}
.field__error:empty { display: none; }
.field__error::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* honeypot: hidden from people, visible to naive bots */
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__hint { font-size: .8125rem; line-height: 1.5; color: var(--text-muted); }
.form__alert {
  padding: 12px 16px;
  border: 1px solid rgba(179, 38, 30, .35);
  border-radius: var(--radius-sm);
  background: rgba(179, 38, 30, .06);
  font-size: .875rem;
  color: var(--danger);
}
.form__alert a { text-decoration: underline; }

.btn .icon--spin { display: none; animation: spin 900ms linear infinite; }
.btn.is-loading .icon--spin { display: block; }
.btn.is-loading .icon:not(.icon--spin) { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { display: grid; gap: 16px; justify-items: start; padding-block: 8px; }
.form-success__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
}
/* the card is light even though its section is dark */
.form-card .form-success__title { font-size: 2rem; line-height: 1.1; color: var(--ink); }
.form-success__text { color: var(--text-muted); }
.form-success__actions { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; margin-top: 4px; }
.form-success__actions .btn { flex: 1 1 200px; }

@media (min-width: 1024px) {
  .request__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
  .request__alt-actions .btn { flex: 0 1 auto; }
}

/* --------------------------------------------------------------------------
   Contacts and map
   -------------------------------------------------------------------------- */

.contacts__grid { display: grid; gap: 32px; }

.contacts__list { display: grid; }
.contact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 18px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact:first-child { border-top: 1px solid var(--border); }
.contact__icon {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-deep);
}
.contact__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact__value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}
a.contact__value { transition: color var(--dur) var(--ease); }
a.contact__value:hover { color: var(--gold-deep); }
.contact .link { justify-self: start; min-height: 32px; font-size: .9375rem; }

.map {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--ivory-deep);
  isolation: isolate;
}
/* a static render of the neighbourhood, shown at its natural size and cropped around the centre, where the pin sits */
.map__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: none;
  object-position: center;
  filter: grayscale(.55) sepia(.2) saturate(.95) brightness(1.02);
  transition: transform 500ms var(--ease);
}
.map:hover .map__img { transform: scale(1.03); }

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: -58px 0 0 -24px; /* the tip of the rotated square lands on the centre */
  border: 2px solid var(--gold-light);
  border-radius: 50% 50% 50% 0;
  background: var(--navy);
  color: var(--gold-light);
  transform: rotate(-45deg);
  box-shadow: 0 10px 20px -8px rgba(29, 40, 54, .6);
  pointer-events: none;
}
.map-pin svg { width: 20px; height: 20px; transform: rotate(45deg); }

/* the whole map is one link to 2GIS */
.map__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.map__link:focus-visible { outline-offset: -5px; border-radius: var(--radius-lg); }
.map__cta { position: absolute; left: 16px; bottom: 16px; box-shadow: var(--shadow-sm); }
.map__link:hover .map__cta { background: var(--navy-soft); }

.map__credit {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(254, 249, 245, .88);
  font-size: .6875rem;
  line-height: 1.5;
  color: var(--text);
}
.map__credit:hover { text-decoration: underline; }

@media (min-width: 1024px) {
  .contacts__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: stretch; }
  .map { min-height: 480px; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

/* extra bottom room keeps the floating WhatsApp button off the last line */
.footer { padding-block: 56px 96px; background: var(--navy); color: var(--on-dark-muted); }

.footer__grid { display: grid; gap: 36px; }
.footer__brand { display: grid; gap: 18px; justify-items: start; max-width: 340px; }
.footer__logo {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--ivory);
}
.footer__logo img { width: 92px; height: auto; }

.footer__title {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.footer__links { display: grid; gap: 2px; }
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  color: var(--on-dark);
  transition: color var(--dur) var(--ease);
}
.footer__links a:hover { color: var(--gold-light); }
.footer__links .icon { color: var(--gold-light); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(254, 249, 245, .12);
  font-size: .8125rem;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; }
}
@media (min-width: 1380px) {
  .footer { padding-bottom: 28px; }
}

/* --------------------------------------------------------------------------
   Floating WhatsApp button
   -------------------------------------------------------------------------- */

.fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: var(--z-fab);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  box-shadow: 0 16px 32px -14px rgba(29, 40, 54, .7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
    visibility 0s linear var(--dur), background-color var(--dur) var(--ease);
}
.fab.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.fab:hover { background: var(--navy-soft); }
.fab .icon { width: 26px; height: 26px; }
html:not(.js) .fab { opacity: 1; visibility: visible; transform: none; }

/* --------------------------------------------------------------------------
   Scroll reveal (only when JS is running)
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .destination:hover img { transform: none; }
  .map:hover .map__img { transform: none; }
}
