/* =========================================================
   Travel Point Holidays & Visa Services – shared stylesheet
   Loaded on every page. Each page adds its own stylesheet
   from /css/pages/ (chosen from the <html> page classes:
   pg-inner, pg-about, pg-home ...). Page rules are wrapped
   in :where() so they add no specificity.
   ========================================================= */

/* =========================================================
   Travel Point Holidays & Visa Services – Common styles
   Tokens, base, buttons, header, navigation, footers,
   floating contact buttons and the quote popup.
   Loaded on every page before the page stylesheet.
   ========================================================= */
:root {
  --teal-900: #012e30;
  --teal-800: #003738;
  --teal-700: #08403f;
  --teal-600: #0d4c49;
  --heading: #0b3e3c;
  --gold: #d3a24a;
  --gold-2: #c8963a;
  --gold-light: #fbe3a2;
  --gold-mid: #eec169;
  --text: #222d2d;
  --muted: #4e5a5a;
  --cream: #fbf8f2;
  --line: #e9e3d6;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 48, 46, .08);
  --gutter: clamp(16px, 3.6vw, 72px);
  --serif: "Amp", "Playfair Display", Georgia, serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23c9a24a' stroke-width='1'%3E%3Cpath d='M48 6l12.3 29.7L90 48 60.3 60.3 48 90 35.7 60.3 6 48l29.7-12.3z'/%3E%3Crect x='24' y='24' width='48' height='48'/%3E%3Crect x='24' y='24' width='48' height='48' transform='rotate(45 48 48)'/%3E%3Ccircle cx='48' cy='48' r='10'/%3E%3Cpath d='M0 0l24 24M96 0L72 24M0 96l24-24M96 96L72 72'/%3E%3C/g%3E%3C/svg%3E");
}

/* Plain (non-decorative) ampersand inside Playfair headings, as in the design */
@font-face { font-family: "Amp"; src: local("Georgia Bold"), local("Georgia-Bold"), local("Times New Roman Bold"); font-weight: 600 900; unicode-range: U+0026; }
@font-face { font-family: "Amp"; src: local("Georgia"), local("Times New Roman"); font-weight: 100 599; unicode-range: U+0026; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .25s, background .25s, border-color .25s, transform .25s, box-shadow .25s; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.15; }

/* Full-width container */
.container { width: 100%; padding-inline: var(--gutter); position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 14px;
  padding: 11px 24px; border-radius: 8px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; line-height: 1.2;
}
.btn i { font-size: .95em; transition: transform .25s; }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn--lg { padding: 15px 30px; font-size: 15px; }
.btn--gold {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-mid) 100%);
  color: #1b2a2a; border-color: #e9bd66;
  box-shadow: 0 6px 16px rgba(211, 162, 74, .28), inset 0 1px 0 rgba(255,255,255,.6);
}
.btn--gold:hover { background: linear-gradient(180deg, #ffe9b0 0%, #e7b453 100%); box-shadow: 0 10px 22px rgba(211, 162, 74, .38); transform: translateY(-1px); }
.btn--outline { background: rgba(255,255,255,.75); color: var(--heading); border-color: var(--heading); }
.btn--outline:hover { background: var(--heading); color: var(--white); }
.btn--teal { background: var(--teal-700); color: var(--white); border-color: var(--teal-700); box-shadow: 0 8px 20px rgba(8, 64, 63, .25); }
.btn--teal:hover { background: var(--teal-900); }
.btn--ghost { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.9); backdrop-filter: blur(2px); }
.btn--ghost i { font-size: 1.25em; }
.btn--ghost:hover { background: var(--white); color: var(--heading); }

/* ---------- Common typography ---------- */
.eyebrow {
  font-family: var(--sans); font-weight: 500; text-transform: uppercase;
  letter-spacing: .32em; color: var(--gold); font-size: clamp(12px, 1vw, 16px);
}
.eyebrow--center { text-align: center; color: var(--heading); }
.eyebrow--center span { color: var(--gold); }

.section-title {
  font-family: var(--serif); font-weight: 500; color: var(--heading);
  font-size: clamp(22.5px, 2.21vw, 38.3px); line-height: 1.18;
}
.section-title b { font-weight: 700; }
.section-title--center { text-align: center; }
.section-sub { text-align: center; color: var(--text); font-size: clamp(13px, 1.02vw, 16.4px); margin-top: 10px; }

.ornament { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px auto 0; }
.ornament::before, .ornament::after { content: ""; width: 54px; height: 2px; background: var(--gold); border-radius: 2px; }
.ornament i { width: 9px; height: 9px; border: 2px solid var(--gold); border-radius: 50%; }
.ornament--left { justify-content: flex-start; margin: 0 0 18px; }

/* Gold tick list */
.checklist { display: grid; align-content: start; gap: clamp(4px, .4vw, 8px); margin-bottom: clamp(20px, 2vw, 34px); flex: 1; }
.checklist li { position: relative; padding-left: 28px; font-size: clamp(13px, 1.02vw, 16.2px); color: var(--text); }
.checklist li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(180deg, #f3c869, #d9a03c);
  color: #fff; font-size: 9px; display: grid; place-items: center;
}

/* =========================================================
   RESPONSIVE LAYOUT
     phone    sticky header with menu button, slide-in menu
     768px+   tablet: top bar added
     1101px+  desktop: full header + sticky menu bar (design)
   ========================================================= */
:root {
  --appbar-h: 64px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* =========================================================
   TOP BAR (tablet + desktop)
   ========================================================= */
.topbar { display: none; background: var(--teal-800); color: #e9f1f0; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: center; min-height: 46px; gap: 20px; }
.topbar__tag { display: none; }
.topbar__tag i { color: var(--gold); margin-right: 8px; }
.topbar__right { display: flex; align-items: center; gap: 30px; }
.topbar__link i { color: var(--gold); margin-right: 8px; }
.topbar__link:hover { color: var(--gold-light); }
.topbar__social { display: flex; gap: 8px; }
.soc { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 14px; }
.soc:hover { transform: translateY(-2px); }
.soc--fb { background: #1877f2; }
.soc--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.soc--wa { background: #25d366; }
.soc--yt { background: #ff0000; }

@media (min-width: 768px) {
  .topbar { display: block; }
}
@media (min-width: 861px) {
  .topbar__inner { justify-content: space-between; }
  .topbar__tag { display: block; }
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 80; padding-top: var(--safe-t); background: var(--white);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--appbar-h); gap: 12px; }
.header__logo img { width: 150px; height: auto; }
.header__info { display: none; align-items: center; }
.hinfo { display: flex; align-items: flex-start; gap: 16px; padding: 4px 22px; border-left: 1px solid var(--line); }
.hinfo:first-child { border-left: 0; }
.hinfo:last-child { padding-right: 0; }
.hinfo__icon { color: var(--gold); font-size: 30px; margin-top: 4px; min-width: 30px; text-align: center; }
.hinfo h6 { font-family: var(--sans); font-size: 14px; font-weight: 600; color: #111; margin-bottom: 3px; }
.hinfo p { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.hinfo__phone { font-size: clamp(18px, 1.26vw, 19.6px); font-weight: 500; color: #111; letter-spacing: .01em; }
.hinfo__phone:hover { color: var(--gold-2); }

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

.nav-toggle { display: flex; width: 46px; height: 46px; border: 0; border-radius: 8px; background: var(--teal-800); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1100px) {
  .is-scrolled .header { border-bottom-color: rgba(233, 227, 214, .9); box-shadow: 0 8px 24px rgba(18, 48, 46, .08); }
  html { scroll-padding-top: calc(var(--appbar-h) + 16px); }
}
@media (min-width: 768px) {
  :root { --appbar-h: 88px; }
  .header__inner { gap: 24px; }
  .header__logo img { width: clamp(170px, 17vw, 270px); }
}
@media (min-width: 861px) {
  .header__info { display: flex; }
  .header__info .hinfo:nth-child(2) { display: none; }
}
@media (min-width: 1101px) {
  .header { position: static; padding-top: 0; border: 0; }
  .header__inner { min-height: 96px; padding-block: 10px; gap: 30px; }
  .header__info .hinfo:nth-child(2) { display: flex; }
  .header__actions { display: none; }
}
@media (min-width: 1281px) {
  .hinfo { padding: 4px clamp(20px, 2.8vw, 54px); }
}

/* =========================================================
   NAVIGATION
   ========================================================= */
/* ---- Phone + tablet: slide-in drawer ---- */
@media (max-width: 1100px) {
  html.nav-open, html.nav-open body { overflow: hidden; }
  .nav-overlay {
    position: fixed; inset: 0; z-index: 240; background: rgba(1, 30, 30, .55);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
  }
  .nav-open .nav-overlay { opacity: 1; visibility: visible; transition: opacity .3s; }
  .navbar {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 250; width: min(86vw, 380px);
    background: #fff; border-radius: 0; box-shadow: -24px 0 60px rgba(0, 0, 0, .22);
    transform: translateX(104%); visibility: hidden;
    transition: transform .38s cubic-bezier(.22, .8, .25, 1), visibility 0s .38s;
  }
  .nav-open .navbar { transform: none; visibility: visible; transition: transform .38s cubic-bezier(.22, .8, .25, 1); }
  .navbar__inner {
    display: flex; flex-direction: column; height: 100%; overflow-y: auto; overscroll-behavior: contain;
    padding: var(--safe-t) 18px calc(22px + var(--safe-b));
  }

  .drawer__head {
    position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 0 14px; background: #fff; border-bottom: 1px solid var(--line);
  }
  .drawer__head img { width: 150px; height: auto; }
  .drawer__close {
    width: 40px; height: 40px; border-radius: 50%; border: 0; background: #f1f5f5; color: var(--heading);
    font-size: 18px; cursor: pointer; display: grid; place-items: center;
  }

  /* Plain list with dividers; sub pages fold under a +/- button */
  .menu { padding: 6px 0 0; }
  .menu > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
  .menu > li > a { flex: 1; min-width: 0; padding: 14px 2px; color: var(--heading); font-size: 15.5px; font-weight: 500; }
  .menu > li > a.active { color: var(--gold-2); font-weight: 600; }
  .menu__caret { display: none; }

  .menu__plus {
    position: relative; flex: none; width: 30px; height: 30px; margin-right: 2px; border-radius: 50%;
    border: 1px solid var(--line); background: #fff; cursor: pointer; transition: background .25s, border-color .25s;
  }
  .menu__plus::before, .menu__plus::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px;
    border-radius: 2px; background: var(--heading); transition: transform .3s;
  }
  .menu__plus::after { transform: rotate(90deg); }
  .has-sub.is-open > .menu__plus { background: var(--teal-800); border-color: var(--teal-800); }
  .has-sub.is-open > .menu__plus::before, .has-sub.is-open > .menu__plus::after { background: #fff; }
  .has-sub.is-open > .menu__plus::after { transform: rotate(0); }

  .submenu {
    flex-basis: 100%; max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .3s ease, visibility 0s .3s;
  }
  .has-sub.is-open > .submenu { max-height: 320px; visibility: visible; transition: max-height .35s ease; }
  .submenu li:last-child { padding-bottom: 8px; }
  .menu .submenu a { display: flex; align-items: center; gap: 12px; padding: 9px 2px 9px 14px; font-size: 14.5px; color: var(--muted); }
  .menu .submenu a::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: #d9cfba; }
  .menu .submenu a i { display: none; }
  .menu .submenu a.is-current { color: var(--gold-2); font-weight: 600; }
  .menu .submenu a.is-current::before { background: var(--gold); }

  .navbar__cta { width: 100%; margin-top: 20px; padding: 14px 20px; font-size: 15px; border-radius: 10px; }
  .drawer__foot { margin-top: auto; padding-top: 22px; display: grid; gap: 12px; }
  .drawer__contact { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 14px; font-weight: 600; color: var(--heading); }
  .drawer__contact span { min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
  .drawer__contact small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
  .drawer__contact i {
    flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: var(--teal-800); color: var(--gold-light); font-size: 15px;
  }
  .drawer__hours { font-size: 12.5px; color: var(--muted); }
  .drawer__hours i { color: var(--gold-2); margin-right: 6px; }
  .drawer__social { display: flex; gap: 10px; }
  .drawer__social .soc { width: 38px; height: 38px; font-size: 16px; }
}

/* ---- Desktop: menu bar under the header (as designed) ---- */
@media (min-width: 1101px) {
  .nav-overlay, .drawer__head, .drawer__foot, .menu__plus { display: none; }
  .navbar {
    background: linear-gradient(180deg, #0a4644 0%, #063a39 100%);
    position: sticky; top: 0; z-index: 50;
    box-shadow: 0 4px 18px rgba(0,0,0,.12);
  }
  .navbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }
  .menu { display: flex; align-items: center; gap: clamp(2px, .7vw, 16px); }
  .menu a { display: block; white-space: nowrap; color: #eef4f3; font-size: 13.5px; font-weight: 400; padding: 8px 10px; border-radius: 7px; }
  .menu a:hover { color: var(--gold-light); }
  .menu a.active { background: linear-gradient(180deg, var(--gold-light), var(--gold-mid)); color: #1b2a2a; font-weight: 600; padding: 10px 18px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }

  /* Dropdowns (About Us, Gallery) */
  .has-sub { position: relative; }
  .menu__caret { font-size: .65em; margin-left: 4px; transition: transform .25s; }
  .has-sub:hover .menu__caret, .has-sub:focus-within .menu__caret { transform: rotate(180deg); }
  .submenu {
    position: absolute; top: calc(100% + 16px); left: 50%; z-index: 60; min-width: 220px; padding: 0;
    background: #fff; border-top: 3px solid var(--gold); border-radius: 0; box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -19px; height: 19px; } /* hover bridge */
  .has-sub:hover > .submenu, .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .menu .submenu a { display: flex; align-items: center; gap: 10px; color: var(--heading); font-size: 14px; font-weight: 500; padding: 13px 20px 13px 17px; border-radius: 0; border-left: 3px solid transparent; white-space: nowrap; }
  .menu .submenu li + li a { border-top: 1px solid var(--line); }
  .menu .submenu a i { width: 18px; text-align: center; color: var(--gold-2); }
  .menu .submenu a:hover, .menu .submenu a.is-current { background: #faf5ea; color: var(--heading); border-left-color: var(--gold); }
  .menu .submenu a.is-current { font-weight: 600; }
  .navbar__cta { padding: 13px 26px; font-size: 15px; }
}
/* Narrow desktops: keep all nine links and the CTA on one row */
@media (min-width: 1101px) and (max-width: 1280px) {
  .menu { gap: 2px; }
  .menu a { font-size: 13px; padding: 8px 8px; }
  .menu a.active { padding: 9px 12px; }
  .navbar__cta { padding: 12px 18px; font-size: 14px; }
}
@media (min-width: 1281px) {
  .menu a { font-size: 14.5px; padding: 9px 12px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: radial-gradient(ellipse at 20% 0%, #0a4a48 0%, transparent 60%), linear-gradient(180deg, #023c3c 0%, #013233 100%);
  color: #e6efee; position: relative;
}
.footer::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 120px; opacity: .03; pointer-events: none; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; row-gap: 36px; padding-top: clamp(36px, 3.5vw, 60px); padding-bottom: clamp(30px, 3vw, 50px); }
.footer__grid > div { padding-inline: clamp(16px, 2.4vw, 46px); border-left: 1px solid rgba(255,255,255,.12); }
.footer__grid > div:first-child { padding-left: 0; border-left: 0; }
.footer__grid > div:nth-child(2) { border-left: 0; }
.footer__grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
.footer__grid > div:last-child { padding-right: 0; }
.footer__brand img { width: clamp(190px, 19vw, 320px); height: auto; margin-bottom: 24px; }
.footer__addr { display: flex; gap: 14px; font-size: clamp(13px, .95vw, 14.5px); line-height: 1.6; color: #e6efee; }
.footer__addr i { font-size: 20px; color: #fff; margin-top: 4px; }
.footer h4 { font-family: var(--serif); font-weight: 600; font-size: clamp(16px, 1.15vw, 18px); color: #fff; margin-bottom: 16px; }
.footer__toggle { display: block; font: inherit; color: inherit; text-align: left; background: none; border: 0; padding: 0; cursor: default; }
.footer__toggle i { display: none; }
.flinks li { margin-bottom: 6px; }
.flinks a { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(13px, .95vw, 14.5px); color: #dfe9e8; }
.flinks a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .8em; color: #fff; }
.flinks a:hover { color: var(--gold-light); transform: translateX(3px); }
.fcontact li { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; font-size: clamp(13px, .95vw, 14.5px); }
.fcontact i { width: 20px; font-size: 16px; color: #fff; text-align: center; }
.fcontact a:hover { color: var(--gold-light); }
.footer__cta { width: 100%; margin-top: 14px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); position: relative; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; font-size: 13px; color: #dfe9e8; flex-wrap: wrap; padding-block: 12px; }
.footer__bottom span { margin: 0 12px; opacity: .6; }
.footer__bottom a:hover { color: var(--gold-light); }

.footer__social { display: flex; gap: clamp(10px, 1.1vw, 18px); margin-top: clamp(16px, 1.6vw, 26px); }
.footer__social .soc { width: clamp(34px, 2.8vw, 42px); height: clamp(34px, 2.8vw, 42px); font-size: clamp(15px, 1.2vw, 18px); }

/* Developer credit (right end of the footer bottom bar) */
.credit a { font-weight: 600; color: var(--gold-light); }
.credit a:hover { color: #fff !important; text-decoration: underline; }

/* Phone: centred brand, link lists fold away under tappable headings */
@media (max-width: 767px) {
  .footer__grid { grid-template-columns: 1fr; row-gap: 0; padding-top: 30px; padding-bottom: 10px; }
  .footer__grid > div { padding-inline: 0 !important; border-left: 0 !important; }
  .footer__brand { display: grid; justify-items: center; text-align: center; padding-bottom: 22px; }
  .footer__brand img { width: 168px; margin-bottom: 14px; }
  .footer__addr { gap: 10px; font-size: 13px; text-align: left; max-width: 300px; }
  .footer__addr i { font-size: 18px; color: var(--gold-mid); }
  .footer__col { border-top: 1px solid rgba(255, 255, 255, .12) !important; }
  .footer h4 { font-size: 16.5px; margin: 0; }
  .footer__col:not(.footer__col--fold) h4 { padding: 16px 0 12px; }
  .footer__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 16px 0; cursor: pointer; }
  .footer__toggle i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 12px; color: var(--gold-light); transition: transform .3s; }
  .footer__col--fold.is-open .footer__toggle i { transform: rotate(180deg); }
  .footer__col--fold .flinks { display: none; columns: 2; column-gap: 14px; padding-bottom: 14px; }
  .footer__col--fold.is-open .flinks { display: block; animation: qm-fade .3s ease; }
  .flinks li { break-inside: avoid; margin-bottom: 2px; }
  .flinks a { gap: 10px; padding: 6px 0; font-size: 13px; line-height: 1.35; }
  .fcontact li { gap: 14px; font-size: 13.5px; }
  .fcontact a { overflow-wrap: anywhere; }
  .footer__social .soc { width: 40px; height: 40px; font-size: 17px; }
  .footer__col:last-child { padding-bottom: 22px; }
  .footer__bottom-inner { justify-content: center; text-align: center; gap: 4px 16px; min-height: 0; padding-block: 16px 18px; font-size: 12px; }
}
@media (min-width: 1101px) {
  .footer__grid { grid-template-columns: 1.3fr .9fr 1.15fr 1fr; row-gap: 0; }
  .footer__grid > div:nth-child(3) { padding-left: clamp(16px, 2.4vw, 46px); border-left: 1px solid rgba(255,255,255,.12); }
}

/* =========================================================
   FLOATING CONTACT BUTTONS
   ========================================================= */
.float-cta { position: fixed; right: clamp(14px, 1.4vw, 24px); bottom: calc(clamp(18px, 2vw, 30px) + var(--safe-b)); z-index: 95; display: flex; flex-direction: column; gap: 14px; }
.float-cta__btn {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 26px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}
.float-cta__btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 30px rgba(0, 0, 0, .28); }
.float-cta__btn--wa { background: #25d366; font-size: 30px; }
.float-cta__btn--call { background: linear-gradient(180deg, #0d4c49, #023c3c); border: 2px solid var(--gold-mid); font-size: 22px; }
.float-cta__btn--call i { color: var(--gold-light); animation: ring 2.4s ease-in-out infinite; }
.float-cta__btn--wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1;
  animation: pulse 2s ease-out infinite;
}
.float-cta__label {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%);
  background: #fff; color: var(--heading); font-size: 13px; font-weight: 600; white-space: nowrap;
  padding: 7px 14px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.float-cta__btn:hover .float-cta__label, .float-cta__btn:focus-visible .float-cta__label { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 767px) {
  .float-cta { gap: 12px; }
  .float-cta__btn { width: 50px; height: 50px; font-size: 22px; }
  .float-cta__btn--wa { font-size: 27px; }
  .float-cta__btn--call { font-size: 19px; }
  .float-cta__label { display: none; }
}

/* =========================================================
   QUOTE / ENQUIRY POPUP
   ========================================================= */
html.qm-lock, html.qm-lock body { overflow: hidden; }
.qmodal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 12px; }
.qmodal[hidden] { display: none; }
.qmodal__backdrop { position: absolute; inset: 0; background: rgba(1, 30, 30, .62); backdrop-filter: blur(2px); animation: qm-fade .25s ease; }
.qmodal__box {
  position: relative; width: 100%; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain;
  scrollbar-width: none; /* sized to fit; on very short screens it still scrolls, just without a bar */
  background: #fff; border-radius: 16px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); animation: qm-pop .3s ease;
}
.qmodal__head {
  position: relative; isolation: isolate; padding: 18px 58px 14px 18px; color: #fff;
  background: linear-gradient(135deg, #0d4c49 0%, #023c3c 100%);
  border-bottom: 3px solid var(--gold);
}
.qmodal__box::-webkit-scrollbar { display: none; }
.qmodal__head::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--pattern); background-size: 90px; opacity: .14;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 100%); mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
}
.qmodal__head h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 1.39vw, 21px); line-height: 1.2; color: var(--gold-light); }
.qmodal__head p { font-size: 13px; color: #dfe9e8; margin-top: 4px; line-height: 1.45; }
.qmodal__close {
  position: absolute; top: 14px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); color: #fff;
  font-size: 17px; cursor: pointer; display: grid; place-items: center; transition: background .25s, transform .25s;
}
.qmodal__close:hover { background: var(--gold-mid); color: #1b2a2a; transform: rotate(90deg); }

/* Phones: two fields per row; labels stay for screen readers, placeholders carry the hint */
.qform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 16px 16px; }
.qform__field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qform__field--full, .qform__field--wide { grid-column: 1 / -1; }
.qform label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; font-size: 12.5px; font-weight: 600; color: var(--heading); }
.qform label sup { color: #d23b3b; font-size: .9em; top: 0; }
.qform__control { position: relative; display: flex; align-items: center; border: 1.5px solid #dfe5e4; border-radius: 10px; background: #fbfcfc; transition: border-color .25s, box-shadow .25s; }
.qform__control:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(211, 162, 74, .18); background: #fff; }
.qform__control.is-invalid { border-color: #d23b3b; box-shadow: 0 0 0 3px rgba(210, 59, 59, .12); }
.qform__control > i { width: 36px; flex: 0 0 36px; text-align: center; color: var(--gold-2); font-size: 14px; }
.qform__prefix { font-size: 14px; font-weight: 500; color: var(--text); padding-right: 8px; margin-right: 2px; border-right: 1px solid #dfe5e4; }
.qform input, .qform select, .qform textarea {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-family: var(--sans); font-size: 14px; color: var(--text); padding: 10px 10px 10px 2px;
}
.qform select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 34px; }
.qform__control--select::after { content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 14px; color: var(--muted); pointer-events: none; font-size: 13px; }
.qform__control--area { align-items: flex-start; }
.qform__control--area > i { padding-top: 12px; }
.qform textarea { resize: none; height: 54px; min-height: 0; }
.qform__submit { grid-column: 1 / -1; width: 100%; padding: 13px 24px; font-size: 15px; margin-top: 2px; }
.qform__status { grid-column: 1 / -1; font-size: 13px; line-height: 1.4; text-align: center; padding-top: 10px; border-top: 1px dashed var(--line); }
.qform__status:empty { display: none; }
.qform__status.is-error { color: #c62828; }
.qform__status.is-ok { color: #1e8e3e; }
/* A message takes the place of the "Prefer to talk?" row, so the popup never grows on submit */
.qform__status:not(:empty) ~ .qform__alt { display: none; }
.qform__alt { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 10px 22px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding-top: 10px; border-top: 1px dashed var(--line); }
.qform__alt a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--heading); }
.qform__alt a:hover { color: var(--gold-2); }
.qform__alt .fa-whatsapp { color: #25d366; font-size: 1.25em; }
.qmodal__box:focus { outline: none; }
/* "Check later" – only on the automatic popup; snoozes it for 5 minutes */
.qform__later {
  grid-column: 1 / -1; justify-self: center; display: inline-flex; align-items: center; gap: 8px;
  margin-top: -4px; padding: 7px 16px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-family: var(--sans); font-size: 13px; font-weight: 500; color: #6b7676; transition: background .2s, color .2s;
}
.qform__later:hover, .qform__later:focus-visible { background: #f4f0e6; color: var(--heading); outline: none; }
.qform__later[hidden], .qform__status.is-ok ~ .qform__later { display: none; }
/* ---------- Custom dropdown (js/layout.js → enhanceSelect) ---------- */
.qsel__native { position: absolute !important; inset: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.qsel__btn {
  flex: 1; min-width: 0; display: flex; align-items: center; height: 100%; min-height: 42px; padding: 10px 34px 10px 2px;
  border: 0; background: transparent; cursor: pointer; text-align: left; font-family: var(--sans); font-size: 14px; color: var(--text); outline: 0;
}
.qsel__val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qsel__btn.is-placeholder .qsel__val { color: #8a9393; }
.qform__control--select { cursor: pointer; }
.qform__control--select::after { transition: transform .25s, color .25s; }
.qform__control--select:focus-within, .qform__control.is-open { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(211, 162, 74, .18); background: #fff; }
.qform__control.is-open::after { transform: rotate(180deg); color: var(--gold-2); }
.qform__control > i { transition: color .25s; }

.qsel__list {
  position: fixed; z-index: 5; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 6px;
  background: #fff; border: 1px solid #efe6d3; border-radius: 14px;
  box-shadow: 0 22px 48px rgba(1, 30, 30, .24), 0 2px 6px rgba(1, 30, 30, .08);
  transform-origin: top center; animation: qsel-in .18s cubic-bezier(.2, .8, .3, 1);
  scrollbar-width: thin; scrollbar-color: #e3c98f transparent;
}
.qsel__list.is-up { transform-origin: bottom center; animation-name: qsel-in-up; }
.qsel__list[hidden] { display: none; }
.qsel__list::-webkit-scrollbar { width: 6px; }
.qsel__list::-webkit-scrollbar-thumb { background: #e3c98f; border-radius: 6px; }
.qsel__head {
  display: flex; align-items: center; gap: 8px; padding: 6px 10px 8px; margin-bottom: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2);
  border-bottom: 1px dashed #eee3cc;
}
.qsel__head::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: var(--gold); }
.qsel__opt {
  display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 10px; cursor: pointer;
  font-size: 14px; color: #1d2525; transition: background .15s, color .15s;
}
.qsel__ic {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px;
  background: #f6f0e3; color: var(--gold-2); font-size: 13px; transition: background .15s, color .15s;
}
.qsel__txt { flex: 1; min-width: 0; }
.qsel__tick { font-size: 12px; color: var(--teal-700); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.qsel__opt.is-active { background: #fbf6ea; }
.qsel__opt.is-active .qsel__ic { background: linear-gradient(180deg, var(--gold-light), var(--gold-mid)); color: #1b2a2a; }
.qsel__opt.is-selected { background: #eef6f5; color: var(--teal-700); font-weight: 600; }
.qsel__opt.is-selected .qsel__ic { background: var(--teal-700); color: var(--gold-light); }
.qsel__opt.is-selected .qsel__tick { opacity: 1; transform: none; }
.qsel__opt--empty { color: #7c8787; }
/* Desktop: two-column option grid */
.qsel__list.is-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 6px; align-content: start; }
.qsel__list.is-grid[hidden] { display: none; }
.qsel__list.is-grid .qsel__head { grid-column: 1 / -1; }
.qsel__list.is-grid .qsel__opt { position: relative; min-width: 0; gap: 10px; padding: 7px 22px 7px 8px; font-size: 13.5px; line-height: 1.3; }
.qsel__list.is-grid .qsel__tick { position: absolute; right: 8px; top: 50%; margin-top: -6px; }
/* Page dropdowns (js/layout.js -> pageSelect): the real select keeps its look, its wrapper opens the styled list */
select.psel { pointer-events: none; }
.psel-host { cursor: pointer; }
.qsel__list--page { z-index: 280; }
.qsel__list.is-plain .qsel__opt { padding: 9px 14px; }
.qsel__list.is-plain.is-grid .qsel__opt { padding: 9px 26px 9px 14px; }


@media (min-width: 641px) {
  .qmodal { padding: 20px; }
  .qmodal__box { width: min(600px, 100%); max-height: calc(100vh - 40px); border-radius: 18px; }
  .qmodal__head { padding: 20px 60px 16px 26px; }
  .qmodal__close { top: 14px; right: 14px; }
  .qform { gap: 10px 16px; padding: 16px 26px 18px; }
  .qform__field--wide { grid-column: auto; }
  .qform label { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
}
/* Short laptop screens: drop the intro line and trim spacing a little more */
@media (min-width: 641px) and (max-height: 620px) {
  .qmodal { padding: 10px; }
  .qmodal__box { max-height: calc(100vh - 20px); }
  .qmodal__head { padding-block: 14px 12px; }
  .qmodal__head p { display: none; }
  .qform { gap: 8px 16px; padding-block: 12px 14px; }
}

/* =========================================================
   PHONE POLISH
   ========================================================= */
@media (max-width: 767px) {
  /* 16px stops iOS zooming into form fields on focus */
  input, select, textarea { font-size: 16px !important; }
  /* half-width popup fields: slimmer icon and arrow so 16px placeholders fit */
  .qform__control > i { width: 30px; flex-basis: 30px; }
  .qform select { padding-right: 24px; text-overflow: ellipsis; }
  .qform__control--select::after { right: 10px; }
  .qsel__btn { padding-right: 24px; font-size: 15px; }
  .qsel__opt { font-size: 15px; padding-block: 8px; }
}
@media (max-width: 860px) {
  .eyebrow { letter-spacing: .2em; }
}

@media print {
  .float-cta, .qmodal, .nav-overlay, .header__actions { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .float-cta__btn--wa::before, .float-cta__btn--call i { animation: none; }
  .navbar, .nav-overlay, .qmodal__box { transition: none !important; animation: none !important; }
}

/* =========================================================
   PACKAGE CARD  (packages.html listing + home featured packages; markup from js/pcard.js)
   ========================================================= */
.pcard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.8vw, 32px); }
.pcard {
  display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 6px 24px rgba(18, 48, 46, .08); border: 1px solid #f0ece4; transition: transform .3s, box-shadow .3s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(18, 48, 46, .14); }
.pcard__img { position: relative; display: block; aspect-ratio: 1.8; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__badge {
  position: absolute; z-index: 1; top: 6px; left: 6px; padding: 4px clamp(10px, 1vw, 18px);
  border-radius: 999px; color: #fff; font-size: clamp(10.5px, .9vw, 15px); font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}
.pcard__badge--red { background: #e5252a; }
.pcard__badge--green { background: #12a06b; }
.pcard__badge--blue { background: #1d3fcf; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: clamp(12px, 1.2vw, 22px) clamp(12px, 1.3vw, 24px) clamp(14px, 1.3vw, 24px); }
.pcard h3 { font-family: var(--serif); font-weight: 700; color: var(--heading); font-size: clamp(17px, 1.33vw, 20px); line-height: 1.18; margin-bottom: clamp(10px, 1.1vw, 20px); }
.pcard h3 a:hover { color: var(--gold-2); }
.pcard__feats { display: grid; align-content: start; gap: clamp(3px, .35vw, 7px); flex: 1; margin-bottom: clamp(14px, 1.5vw, 26px); }
.pcard__feats li { display: flex; align-items: center; gap: 10px; font-size: clamp(12.5px, 1.02vw, 16.2px); color: #2a3333; }
.pcard__feats i { width: 16px; text-align: center; font-size: .95em; color: #f0a81c; }
.pcard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.pcard__price span, .pcard__price small { display: block; font-size: clamp(11.5px, .95vw, 15px); color: #2a3333; }
.pcard__price small { color: #7c8787; }
.pcard__price strong { display: block; white-space: nowrap; font-size: clamp(18px, 1.42vw, 25.4px); font-weight: 700; color: #111; line-height: 1.15; letter-spacing: -.01em; }
.pcard__price strong.pcard__ask { color: var(--heading); font-size: clamp(17px, 1.33vw, 23.2px); }
.pcard__price small.pcard__ask-note { color: #2a3333; }
.pcard__btn { flex: none; padding: clamp(9px, .9vw, 14px) clamp(12px, 1.2vw, 22px); font-size: clamp(11.5px, .95vw, 15px); border-radius: 8px; }
.pcard-empty { grid-column: 1 / -1; text-align: center; padding: 40px 0; color: var(--muted); }
.pcard-empty a { color: var(--gold-2); font-weight: 600; }
@media (max-width: 1100px) {
  .pcard-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pcard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  /* Package cards: shorter photo, features in two columns */
  .pcard-grid { gap: 16px; }
  .pcard { border-radius: 18px; }
  .pcard:hover { transform: none; }
  .pcard__img { aspect-ratio: 2.05; }
  .pcard__badge { top: 10px; left: 10px; }
  .pcard__body { padding: 14px 16px 16px; }
  .pcard h3 { font-size: 19px; margin-bottom: 10px; }
  .pcard__feats { grid-template-columns: 1fr 1fr; gap: 6px 10px; margin-bottom: 14px; }
  .pcard__feats li { gap: 7px; font-size: 12px; line-height: 1.3; }
  .pcard__foot { padding-top: 12px; border-top: 1px dashed #ece6da; align-items: center; }
  .pcard__btn { padding: 11px 16px; font-size: 13px; border-radius: 10px; }
}

/* =========================================================
   Animations (shared by every page stylesheet)
   ========================================================= */
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-14deg); } 80% { transform: rotate(12deg); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(6deg); } }
@keyframes qsel-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@keyframes qsel-in-up { from { opacity: 0; transform: translateY(6px) scale(.98); } }
@keyframes qm-fade { from { opacity: 0; } }
@keyframes qm-pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fflash { 0%, 40% { box-shadow: 0 0 0 4px rgba(211, 162, 74, .45), 0 14px 34px rgba(18, 48, 46, .09); } }
@keyframes g-rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes v-ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
@keyframes lb-in { from { opacity: 0; transform: translateX(var(--x, 0)) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes lb-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tin { from { opacity: 0; transform: translateY(14px); } }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
