/* ═══════════════════════════════════════════════════════════════
   Resorts & Hotels Liquidators LLC
   Palette drawn from the brand logo: deep navy + metallic gold
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Brand palette (sampled from logo) */
  --navy-950: #060D1C;
  --navy-900: #0A1830;
  --navy-800: #0E1F3E;
  --navy-700: #16294D;
  --gold-300: #EED9A0;
  --gold-400: #E8C56A;
  --gold-500: #D4AF37;
  --gold-600: #C9A227;
  --gold-700: #A87F1F;
  --ivory:    #F9F6EF;
  --cream:    #F3EDDF;
  --white:    #FFFFFF;
  --text:     #2A3244;
  --text-soft:#5A6478;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;

  --shadow-soft: 0 10px 40px rgba(6, 13, 28, .12);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, .25);
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* belt-and-suspenders against sub-pixel overflow on small screens */
  /* keep content clear of notches/curved edges on phones (viewport-fit=cover) */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* ── Typography helpers ─────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-900);
  text-wrap: balance;
}

.section__title--light { color: var(--white); }

.text-gold {
  background: linear-gradient(105deg, var(--gold-700), var(--gold-500) 40%, var(--gold-300) 70%, var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gold-rule {
  width: 72px;
  height: 2px;
  margin: 1.4rem 0 1.6rem;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
  position: relative;
}
.gold-rule::after {
  content: '';
  position: absolute;
  right: -10px; top: -2.5px;
  width: 7px; height: 7px;
  transform: rotate(45deg);
  background: var(--gold-500);
}
.gold-rule--center { margin-inline: auto; }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.section--dark {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(212, 175, 55, .07), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.section--dark .section__title { color: var(--white); }
.section--dark .section__lede { color: rgba(249, 246, 239, .75); }

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section__lede { margin-top: 1.2rem; color: var(--text-soft); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: linear-gradient(120deg, var(--gold-600), var(--gold-400));
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { box-shadow: 0 12px 36px rgba(212, 175, 55, .4); }

.btn--outline {
  border-color: rgba(238, 217, 160, .6);
  color: var(--gold-300);
  background: rgba(10, 24, 48, .25);
  backdrop-filter: blur(4px);
}
.btn--outline:hover { background: rgba(212, 175, 55, .12); border-color: var(--gold-400); }

.btn--navy {
  background: var(--navy-900);
  color: var(--gold-300);
}
.btn--navy:hover { background: var(--navy-700); box-shadow: var(--shadow-soft); }

.btn--small { padding: .65rem 1.5rem; font-size: .78rem; }
.btn--full { width: 100%; }

/* ── Top bar ────────────────────────────────────────────────── */
.topbar {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(212, 175, 55, .18);
  font-size: .8rem;
  letter-spacing: .06em;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  color: rgba(249, 246, 239, .65);
}
.topbar__links a { color: var(--gold-300); transition: color .25s; }
.topbar__links a:hover { color: var(--gold-400); }
.topbar__divider { margin: 0 .7rem; color: rgba(212, 175, 55, .35); }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 24, 48, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, .15);
  transition: box-shadow .3s var(--ease);
}
.nav.is-scrolled { box-shadow: 0 6px 30px rgba(6, 13, 28, .45); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 0;
}

.nav__brand { display: flex; align-items: center; gap: .8rem; }
.nav__logo { width: 54px; height: 54px; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 2px 8px rgba(212,175,55,.25)); }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.nav__brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--gold-400);
}
.nav__brand-text em {
  font-style: normal;
  font-size: .68rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(249, 246, 239, .7);
}

.nav__links { display: flex; align-items: center; gap: 1.9rem; }
.nav__links a:not(.btn) {
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(249, 246, 239, .82);
  position: relative;
  padding: .3rem 0;
  transition: color .25s;
}
.nav__links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--gold-300); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--gold-400);
  transition: transform .3s var(--ease), opacity .3s;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* svh tracks the *small* viewport on mobile, so the hero fits even
   with the browser address bar expanded */
@supports (height: 100svh) {
  .hero { min-height: clamp(520px, 92svh, 860px); }
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 600px at 78% 45%, rgba(212, 175, 55, .16), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(212, 175, 55, .08), transparent 55%),
    linear-gradient(115deg, var(--navy-950) 20%, var(--navy-900) 55%, var(--navy-800));
}
.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero__brand { display: flex; justify-content: center; }
.hero__emblem {
  width: min(430px, 100%);
  border-radius: 50%;
  filter: drop-shadow(0 0 60px rgba(212, 175, 55, .35));
  animation: emblemFloat 7s ease-in-out infinite;
}
@keyframes emblemFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.4rem;
}
.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 300;
  color: rgba(249, 246, 239, .85);
  max-width: 560px;
  margin-bottom: 2.4rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-line {
  display: block;
  width: 1px; height: 56px;
  background: linear-gradient(180deg, var(--gold-400), transparent);
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .35; transform: scaleY(.7); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1);  transform-origin: top; }
}

/* ── Dual services split ────────────────────────────────────── */
.services { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.services__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.services__split--three {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.service {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(212, 175, 55, .25);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.service:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, .6);
  box-shadow: 0 24px 60px rgba(6, 13, 28, .2);
}

.service__media {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
}
.service__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 24, 48, .55));
}
.service__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.service:hover .service__media img { transform: scale(1.06); }

.service__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.service__num {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: .6rem;
}
.service__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-900);
}
.service__body .gold-rule { margin: 1rem 0 1.1rem; }
.service__body > p { color: var(--text-soft); margin-bottom: 1.2rem; }

.service__points {
  list-style: none;
  margin-bottom: 1.8rem;
}
.service__points li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: .45rem;
  font-size: .93rem;
  color: var(--text);
}
.service__points li::before {
  content: '\2726';
  position: absolute;
  left: 0;
  color: var(--gold-500);
}
.service__body .btn { margin-top: auto; }

/* ── Stats ──────────────────────────────────────────────────── */
.stats {
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
  border-top: 1px solid rgba(212, 175, 55, .2);
  border-bottom: 1px solid rgba(212, 175, 55, .2);
  padding: 3rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat__number, .stat__suffix {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 600;
  color: var(--gold-400);
}
.stat__label {
  display: block;
  margin-top: .3rem;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(249, 246, 239, .6);
}

/* ── About ──────────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about__images { position: relative; padding-bottom: 4.5rem; }
.about__img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.about__img--main { width: 88%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.about__img--accent {
  position: absolute;
  right: 0; bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 6px solid var(--ivory);
}
.about__badge {
  position: absolute;
  left: 6%; bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border: 1px solid rgba(212, 175, 55, .4);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow-soft);
}
.about__badge-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-400);
}
.about__badge-text {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(249, 246, 239, .8);
  line-height: 1.5;
}
.about__text p { margin-bottom: 1.1rem; color: var(--text-soft); }

.checklist { list-style: none; margin: 1.4rem 0 2rem; }
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .65rem;
  color: var(--text);
}
.checklist li::before {
  content: '\2726';
  position: absolute;
  left: 0;
  color: var(--gold-500);
}

/* ── Process steps ──────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.step {
  position: relative;
  padding: 2.2rem 1.6rem 0;
  border-top: 1px solid rgba(212, 175, 55, .35);
}
.step__num {
  position: absolute;
  top: -1.05rem; left: 1.6rem;
  background: var(--ivory);
  padding: 0 .6rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-600);
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: .5rem;
}
.step p { font-size: .93rem; color: var(--text-soft); }

/* ── For hotels ─────────────────────────────────────────────── */
.hotels {
  position: relative;
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  overflow: hidden;
}
.hotels__bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1584132967334-10e028bd69f7?auto=format&fit=crop&w=1920&q=80') center / cover no-repeat;
}
/* Parallax only on true desktop pointers — background-attachment: fixed
   is broken on iOS/iPadOS Safari and janky on most touch devices */
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .hotels__bg { background-attachment: fixed; }
}
.hotels__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(6, 13, 28, .96) 30%, rgba(10, 24, 48, .82) 60%, rgba(10, 24, 48, .55));
}
.hotels__content { position: relative; z-index: 2; max-width: 780px; }
.hotels__lede { color: rgba(249, 246, 239, .82); max-width: 620px; margin-bottom: 2.2rem; }
.hotels__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-bottom: 2.6rem;
}
.hotels__feature {
  border-left: 2px solid var(--gold-600);
  padding-left: 1.1rem;
}
.hotels__feature h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-300);
  margin-bottom: .35rem;
}
.hotels__feature p { font-size: .88rem; color: rgba(249, 246, 239, .68); }

/* ── Testimonials ───────────────────────────────────────────── */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.quote {
  position: relative;
  background: rgba(249, 246, 239, .045);
  border: 1px solid rgba(212, 175, 55, .18);
  border-radius: var(--radius);
  padding: 2.6rem 1.8rem 1.8rem;
}
.quote__mark {
  position: absolute;
  top: .4rem; left: 1.4rem;
  font-family: var(--font-display);
  font-size: 4.4rem;
  line-height: 1;
  color: rgba(212, 175, 55, .35);
}
.quote p {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-style: italic;
  color: rgba(249, 246, 239, .88);
  margin-bottom: 1.4rem;
}
.quote footer { display: flex; flex-direction: column; }
.quote footer strong { color: var(--gold-400); font-weight: 500; letter-spacing: .06em; }
.quote footer span { font-size: .8rem; color: rgba(249, 246, 239, .55); letter-spacing: .08em; }

/* ── CTA banner ─────────────────────────────────────────────── */
.cta {
  background:
    radial-gradient(800px 400px at 15% 50%, rgba(212, 175, 55, .14), transparent 60%),
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-block: 1px solid rgba(212, 175, 55, .25);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 600;
  color: var(--white);
}
.cta__sub { color: rgba(249, 246, 239, .7); margin-top: .4rem; }
.cta__form { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta__form input {
  min-width: 280px;
  padding: 1rem 1.2rem;
  font-family: var(--font-body);
  font-size: 1rem; /* ≥16px prevents iOS Safari focus-zoom */
  color: var(--ivory);
  background: rgba(6, 13, 28, .55);
  border: 1px solid rgba(212, 175, 55, .35);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .3s;
}
.cta__form input::placeholder { color: rgba(249, 246, 239, .45); }
.cta__form input:focus { border-color: var(--gold-400); }

/* ── Contact ────────────────────────────────────────────────── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact__info > p { color: var(--text-soft); margin-bottom: 1.8rem; }
.contact__details { list-style: none; }
.contact__details li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.3rem;
}
.contact__icon {
  flex: 0 0 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: var(--gold-600);
  background: linear-gradient(135deg, rgba(212, 175, 55, .14), rgba(212, 175, 55, .05));
  border: 1px solid rgba(212, 175, 55, .35);
  border-radius: 50%;
}
.contact__details strong {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin-bottom: .15rem;
}
.contact__details a, .contact__details span { color: var(--text-soft); font-size: .95rem; }
.contact__details a:hover { color: var(--gold-700); }

.contact__form {
  background: var(--white);
  border: 1px solid rgba(212, 175, 55, .25);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-soft);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form__field { margin-bottom: 1.2rem; display: flex; flex-direction: column; }
.form__field label {
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin-bottom: .45rem;
}
.form__field .optional { color: var(--text-soft); text-transform: none; letter-spacing: .04em; }
.form__field input,
.form__field select,
.form__field textarea {
  font-family: var(--font-body);
  font-size: 1rem; /* ≥16px prevents iOS Safari focus-zoom */
  font-weight: 300;
  color: var(--text);
  padding: .85rem 1rem;
  background: var(--ivory);
  border: 1px solid rgba(42, 50, 68, .18);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  resize: vertical;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .15);
}
.form__status {
  margin-top: 1rem;
  text-align: center;
  font-size: .9rem;
  color: var(--gold-700);
  min-height: 1.4em;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, var(--navy-950), #040914);
  color: rgba(249, 246, 239, .65);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}
.footer__logo { width: 96px; margin-bottom: 1.1rem; border-radius: 50%; filter: drop-shadow(0 2px 10px rgba(212,175,55,.2)); }
.footer__brand p { font-size: .9rem; max-width: 300px; }
.footer__col { display: flex; flex-direction: column; gap: .55rem; }
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-400);
  margin-bottom: .5rem;
}
.footer__col a, .footer__col span { font-size: .9rem; transition: color .25s; }
.footer__col a:hover { color: var(--gold-300); }
.footer__bar { border-top: 1px solid rgba(212, 175, 55, .15); padding: 1.1rem 0; }
.footer__bar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .78rem;
  letter-spacing: .05em;
  color: rgba(249, 246, 239, .4);
}

/* ── Success modal ──────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 13, 28, .82);
  backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity .4s ease;
}
.modal.is-open .modal__backdrop { opacity: 1; }

.modal__card {
  position: relative;
  width: min(480px, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  text-align: center;
  background:
    radial-gradient(500px 300px at 50% -20%, rgba(212, 175, 55, .16), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border: 1px solid rgba(212, 175, 55, .45);
  border-radius: 10px;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.4rem, 4vw, 2.6rem) clamp(1.8rem, 4vw, 2.4rem);
  box-shadow: 0 30px 90px rgba(6, 13, 28, .7), 0 0 60px rgba(212, 175, 55, .18);
  opacity: 0;
  transform: translateY(46px) scale(.86);
  transition: opacity .45s var(--ease), transform .55s cubic-bezier(.18, 1.4, .4, 1);
}
.modal.is-open .modal__card { opacity: 1; transform: none; }

/* expanding celebration rings behind the checkmark */
.modal__ring {
  position: absolute;
  top: clamp(2rem, 5vw, 3rem);
  left: 50%;
  width: 84px;
  height: 84px;
  margin-left: -42px;
  pointer-events: none;
}
.modal__ring::before,
.modal__ring::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  opacity: 0;
}
.modal.is-open .modal__ring::before { animation: ringBurst 1.3s var(--ease) .35s; }
.modal.is-open .modal__ring::after  { animation: ringBurst 1.3s var(--ease) .65s; }
@keyframes ringBurst {
  0%   { opacity: .9; transform: scale(.6); }
  100% { opacity: 0;  transform: scale(2.6); }
}

/* checkmark: circle sweeps around, then the tick draws itself */
.modal__check {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.4rem;
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, .45));
}
.modal__check svg { width: 100%; height: 100%; }
.modal__check-circle {
  stroke: var(--gold-500);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 145;
  stroke-dashoffset: 145;
}
.modal__check-mark {
  stroke: var(--gold-300);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
}
.modal.is-open .modal__check-circle { animation: drawStroke .7s var(--ease) .25s forwards; }
.modal.is-open .modal__check-mark   { animation: drawStroke .45s var(--ease) .85s forwards; }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }

/* golden sparkles rising through the card */
.modal__sparks {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 10px;
  pointer-events: none;
}
.modal__spark {
  position: absolute;
  bottom: -8%;
  color: var(--gold-400);
  opacity: 0;
  animation: sparkRise var(--spark-dur, 2.6s) ease-in var(--spark-delay, 0s) infinite;
  text-shadow: 0 0 10px rgba(212, 175, 55, .8);
}
@keyframes sparkRise {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg) scale(.6); }
  12%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-560px) rotate(200deg) scale(1.15); }
}

/* staggered content entrance */
.modal__title,
.modal__msg,
.modal__sooner,
.modal__contacts,
.modal__close {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.modal.is-open .modal__title    { transition-delay: .55s; }
.modal.is-open .modal__msg      { transition-delay: .7s; }
.modal.is-open .modal__sooner   { transition-delay: .85s; }
.modal.is-open .modal__contacts { transition-delay: .95s; }
.modal.is-open .modal__close    { transition-delay: 1.1s; }
.modal.is-open .modal__title,
.modal.is-open .modal__msg,
.modal.is-open .modal__sooner,
.modal.is-open .modal__contacts,
.modal.is-open .modal__close { opacity: 1; transform: none; }

.modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  font-weight: 600;
  background: linear-gradient(105deg, var(--gold-600), var(--gold-300) 50%, var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .8rem;
}
.modal__msg {
  color: rgba(249, 246, 239, .85);
  margin-bottom: 1.4rem;
}
.modal__msg strong { color: var(--gold-300); font-weight: 500; }
.modal__sooner {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(249, 246, 239, .55);
  margin-bottom: .7rem;
}
.modal__contacts {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: 1.7rem;
}
.modal__contacts a {
  color: var(--gold-300);
  font-size: 1.05rem;
  letter-spacing: .04em;
  transition: color .25s;
}
.modal__contacts a:hover { color: var(--gold-400); }
.modal__contact-icon { margin-right: .4rem; }

@media (prefers-reduced-motion: reduce) {
  .modal__backdrop, .modal__card,
  .modal__title, .modal__msg, .modal__sooner, .modal__contacts, .modal__close {
    transition: none; opacity: 1; transform: none;
  }
  .modal__spark, .modal__ring::before, .modal__ring::after { animation: none !important; display: none; }
  .modal.is-open .modal__check-circle, .modal.is-open .modal__check-mark {
    animation: none; stroke-dashoffset: 0;
  }
}

/* ── Scroll reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__emblem { animation: none; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .services__split--three { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}

@media (max-width: 820px) {
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }

  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(212, 175, 55, .25);
    padding: .5rem 4%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s var(--ease), padding .45s var(--ease);
  }
  .nav__links.is-open { max-height: 420px; padding: 1rem 4% 1.5rem; }
  .nav__links a:not(.btn) { padding: .8rem 0; width: 100%; }
  .nav__links .btn { margin-top: .8rem; }
  .nav.is-open-menu .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open-menu .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open-menu .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:last-child { grid-column: 1 / -1; }
  /* lighter image payload for small screens */
  .hotels__bg { background-image: url('https://images.unsplash.com/photo-1584132967334-10e028bd69f7?auto=format&fit=crop&w=900&q=75'); }
  /* hero stacks: emblem above text, both centered, with real
     vertical padding so the emblem never clips at the top edge */
  .hero { text-align: center; min-height: 0; padding: 2.75rem 0 4rem; }
  .hero__content { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero__brand { order: -1; }
  .hero__emblem {
    width: min(210px, 55vw);
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, .3));
  }
  .hero__title br { display: none; } /* natural wrapping beats forced desktop line breaks */
  .hero__title { font-size: clamp(2.05rem, 7vw, 2.5rem); margin-bottom: 1.1rem; }
  .hero__sub { margin-inline: auto; margin-bottom: 2rem; }
  .hero__actions { justify-content: center; }
  .hero__scroll { display: none; } /* overlaps stacked content on small screens */
  .hero .gold-rule { margin-inline: auto; }

  /* tighter vertical rhythm on phones — desktop padding reads as
     dead space when every section is a single column */
  .section { padding: 3.5rem 0; }
  .section__head { margin-bottom: 2.25rem; }
  .stats { padding: 2.25rem 0; }
  .stats__grid { gap: 1.5rem 2rem; }
  .hotels { padding: 4rem 0; }
  .about__grid { gap: 2.25rem; }

  /* CTA form stacks — input and button each get full width */
  .cta { padding: 3rem 0; }
  .cta__inner { gap: 1.6rem; }
  .cta__form { flex-direction: column; width: 100%; }
  .cta__form input { width: 100%; }
  .cta__form .btn { width: 100%; text-align: center; }
  .services__split { grid-template-columns: 1fr; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .hotels__features { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta__form { width: 100%; }
  .cta__form input { flex: 1; min-width: 0; }
}

@media (max-width: 560px) {
  .quotes, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .nav__brand-text em { display: none; }
  .nav__logo { width: 46px; height: 46px; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .topbar__inner { flex-wrap: wrap; row-gap: .2rem; }
  .about__img--main { width: 100%; }
  .about__img--accent { width: 52%; border-width: 4px; }
}

/* ── Small phones (≤ 400px — iPhone SE, older Androids) ─────── */
@media (max-width: 400px) {
  .container { width: 94%; }
  .section { padding: 3.5rem 0; }
  .topbar { font-size: .72rem; }
  .nav__brand-text strong { font-size: 1rem; }
  .hero__title { font-size: 2.05rem; }
  .stats__grid { gap: 1.2rem; }
  .stat__number, .stat__suffix { font-size: 1.9rem; }
  .stat__label { font-size: .68rem; letter-spacing: .16em; }
  .about__badge { padding: .7rem 1rem; gap: .6rem; }
  .about__badge-num { font-size: 1.7rem; }
  .service__body, .contact__form { padding: 1.3rem; }
  .btn { padding: .9rem 1.6rem; letter-spacing: .1em; }
  .quote { padding: 2.4rem 1.4rem 1.5rem; }
  .footer__bar-inner { justify-content: center; text-align: center; }
}

/* ── Phones in landscape (short viewports) ──────────────────── */
@media (max-height: 540px) and (orientation: landscape) {
  .hero { min-height: 0; padding: 5.5rem 0 4.5rem; }
  .hero__scroll { display: none; }
  .nav__links.is-open { max-height: 70vh; overflow-y: auto; }
}

/* ── Touch devices: comfortable tap targets, no hover-lift ──── */
@media (hover: none) {
  .nav__links a:not(.btn) { padding: .55rem 0; }
  .topbar__links a { padding: .35rem .2rem; display: inline-block; }
  .card__link, .footer__col a { padding: .15rem 0; display: inline-block; }
}

/* ── Large desktops & 4K ────────────────────────────────────── */
@media (min-width: 1800px) {
  html { font-size: 18px; }
  .container { width: min(1360px, 88%); }
  .hero { min-height: 900px; }
}
