/* ==========================================================================
   Sri Venkateswara Nilayam Homestay — landing page
   Palette: Yellow #F5C400 · Black #171717 · White #FFFFFF
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --yellow: #F5C400;
  --yellow-600: #DCB000;
  --yellow-050: #FFF8E1;
  --yellow-100: #FEF1C8;
  --black: #171717;
  --black-80: rgba(23, 23, 23, 0.80);
  --black-66: rgba(23, 23, 23, 0.66);
  --black-52: rgba(23, 23, 23, 0.52);
  --black-10: rgba(23, 23, 23, 0.10);
  --black-06: rgba(23, 23, 23, 0.06);
  --black-04: rgba(23, 23, 23, 0.04);
  --white: #FFFFFF;
  --off-white: #FBFAF7;

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

  --wrap: 1200px;
  --gut: 24px;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --sh-sm: 0 2px 8px rgba(23, 23, 23, 0.05);
  --sh-md: 0 10px 30px rgba(23, 23, 23, 0.08);
  --sh-lg: 0 22px 60px rgba(23, 23, 23, 0.12);

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* clip (not hidden) so no horizontal scrollbar without creating a scroll container */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

/* The scroll container is the viewport (root), so lock that too */
html.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
}

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

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

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

ul { margin: 0; padding: 0; list-style: none; }

address { font-style: normal; }

button, input, select, textarea { font: inherit; color: inherit; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--yellow);
  color: var(--black);
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section {
  padding: clamp(64px, 8vw, 112px) 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.section--tint { background: var(--off-white); }

.section--dark {
  background: var(--black);
  color: var(--white);
}

.section__head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}

.section__head--center { text-align: center; }

.section__lead {
  color: var(--black-66);
  font-size: 1.0625rem;
  margin: 0;
}

.section__lead--light { color: rgba(255, 255, 255, 0.72); }

.section__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: clamp(36px, 5vw, 56px);
}

.h2 {
  font-size: clamp(1.85rem, 1.15rem + 2.4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.45em;
}

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

.h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35em;
}

.lead {
  font-size: 1.0625rem;
  color: var(--black-80);
  margin-bottom: 1.1em;
}

/* ---------- 4. Buttons & icons ---------- */
.btn {
  --btn-bg: var(--yellow);
  --btn-fg: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
              background-color 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  box-shadow: 0 8px 22px rgba(245, 196, 0, 0.42);
}
.btn--primary:hover {
  background: var(--yellow-600);
  box-shadow: 0 12px 30px rgba(245, 196, 0, 0.5);
}

.btn--dark {
  --btn-bg: var(--black);
  --btn-fg: var(--white);
  box-shadow: 0 8px 22px rgba(23, 23, 23, 0.28);
}
.btn--dark:hover { background: #000; }

.btn--outline-dark {
  --btn-bg: transparent;
  --btn-fg: var(--black);
  border-color: var(--black-10);
}
.btn--outline-dark:hover {
  border-color: var(--black);
  background: var(--black-04);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
}
.btn--outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.btn--ghost-dark {
  --btn-bg: var(--white);
  --btn-fg: var(--black);
  border-color: var(--black-10);
}
.btn--ghost-dark:hover { border-color: var(--black); }

.btn--wa {
  --btn-bg: var(--black);
  --btn-fg: var(--white);
}
.btn--wa:hover { background: #000; }

.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--block { width: 100%; }

.ico {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--black-10);
  background: var(--white);
  color: var(--black);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
              color 0.2s var(--ease), transform 0.2s var(--ease);
}
.icon-btn:hover {
  border-color: var(--yellow);
  background: var(--yellow);
  transform: translateY(-2px);
}

.icon-btn--wa {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.icon-btn--wa:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }

/* ---------- 5. Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 7px 16px 7px 12px;
  border-radius: var(--r-pill);
  background: var(--yellow-050);
  border: 1px solid var(--yellow-100);
  color: var(--black);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow--light {
  background: rgba(245, 196, 0, 0.14);
  border-color: rgba(245, 196, 0, 0.34);
  color: var(--yellow);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  flex: 0 0 auto;
}
.eyebrow--light .eyebrow__dot { background: var(--yellow); box-shadow: 0 0 0 4px rgba(245, 196, 0, 0.18); }

/* ---------- 6. Topbar ---------- */
.topbar {
  background: var(--black);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  padding-block: 6px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.topbar__item .ico { width: 15px; height: 15px; stroke-width: 1.9; }

.topbar__item--wa { color: var(--yellow); font-weight: 600; }
.topbar__item--wa:hover { text-decoration: underline; }

.topbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.topbar__sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- 7. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--black-06);
  transition: box-shadow 0.25s var(--ease);
}

/* The blur lives on a pseudo-element: a filter/backdrop-filter on .header
   itself would turn the header into the containing block for the fixed
   mobile drawer, which would break its viewport-relative positioning. */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  transition: background-color 0.25s var(--ease);
}

.header.is-stuck {
  box-shadow: 0 6px 26px rgba(23, 23, 23, 0.09);
}

.header.is-stuck::before { background: rgba(255, 255, 255, 0.98); }

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--yellow);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(245, 196, 0, 0.4);
}
.brand__mark svg { width: 24px; height: 24px; fill: var(--white); }

.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }

.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.03rem;
  letter-spacing: -0.015em;
}

.brand__sub {
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--black-52);
  font-weight: 600;
}

.nav { display: flex; align-items: center; }

.nav__inner { display: flex; align-items: center; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  position: relative;
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--black-80);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.26s var(--ease);
}

.nav__link:hover { color: var(--black); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--black); }

.nav__actions--mobile { display: none; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--black-10);
  border-radius: 12px;
  background: var(--white);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.burger span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--black);
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(23, 23, 23, 0.42);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.nav-scrim.is-visible { opacity: 1; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  padding-top: clamp(56px, 7vw, 88px);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

/* Dark legibility gradient + a soft yellow wash that keeps the photo clean */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(23, 23, 23, 0.93) 0%, rgba(23, 23, 23, 0.76) 38%, rgba(23, 23, 23, 0.34) 68%, rgba(23, 23, 23, 0.22) 100%),
    linear-gradient(to top, rgba(23, 23, 23, 0.72) 0%, rgba(23, 23, 23, 0) 45%);
}

.hero__accent {
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 460px at 84% 26%, rgba(245, 196, 0, 0.22), transparent 68%);
  mix-blend-mode: screen;
}

.hero__inner { position: relative; }

.hero__content {
  max-width: 720px;
  padding-bottom: clamp(36px, 5vw, 58px);
}

.hero__title {
  font-size: clamp(2.2rem, 1.25rem + 3.6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.35);
}

.hero__lead {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin-bottom: 30px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
              transform 0.25s var(--ease);
}

.trust__item:hover {
  background: rgba(245, 196, 0, 0.16);
  border-color: rgba(245, 196, 0, 0.45);
  transform: translateY(-3px);
}

.trust__ico {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--yellow);
  display: grid;
  place-items: center;
}

.trust__ico svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--black);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust__text {
  font-size: 0.88rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}
.trust__text strong {
  display: block;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Hero strip */
.hero__strip { position: relative; padding-bottom: clamp(30px, 4vw, 44px); }

.hero__strip-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.strip__item {
  background: rgba(23, 23, 23, 0.5);
  padding: 20px 22px;
}

.strip__k {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--yellow);
  margin-bottom: 3px;
}

.strip__v {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.4;
}

/* ---------- 9. About ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.about__media { position: relative; }

.about__frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 5;
}

.about__frame img { width: 100%; height: 100%; object-fit: cover; }

.about__badge {
  position: absolute;
  right: -14px;
  bottom: 34px;
  background: var(--yellow);
  color: var(--black);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  box-shadow: var(--sh-md);
  text-align: center;
  border: 4px solid var(--white);
}

.about__badge-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.about__badge-txt {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-top: 5px;
}

.checklist {
  display: grid;
  gap: 11px;
  margin: 22px 0 28px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.975rem;
  color: var(--black-80);
}

.checklist__tick {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.checklist__tick svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--black);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 10. Cards (accommodation) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--black-06);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: var(--yellow);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--black-04);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card__media img { transform: scale(1.06); }

.card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--r-pill);
}

.card__body { padding: 22px 22px 26px; }

.card__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--yellow-050);
  border: 1px solid var(--yellow-100);
  color: var(--black);
  margin-bottom: 14px;
  transition: background-color 0.28s var(--ease), border-color 0.28s var(--ease);
}

.card:hover .card__ico { background: var(--yellow); border-color: var(--yellow); }

.card__ico svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__body p {
  font-size: 0.93rem;
  color: var(--black-66);
  margin: 0;
}

/* ---------- 11. Amenities grid ---------- */
.amenities { margin-top: clamp(48px, 6vw, 78px); }

.amenities__title {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: clamp(26px, 3.5vw, 40px);
}

.amenities__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.amen {
  background: var(--white);
  border: 1px solid var(--black-06);
  border-radius: var(--r-md);
  padding: 24px 22px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
              border-color 0.28s var(--ease);
}

.amen:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--yellow);
}

.amen__ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--yellow);
  margin-bottom: 15px;
}

.amen__ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--black);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.amen h4 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.3em;
}

.amen p {
  font-size: 0.92rem;
  color: var(--black-66);
  margin: 0;
}

/* ---------- 12. Why choose us ---------- */
.why {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.why__media { position: relative; }

.why__frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 10 / 9;
}

.why__frame img { width: 100%; height: 100%; object-fit: cover; }

.why__card {
  position: absolute;
  left: -12px;
  bottom: 30px;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 18px 24px;
  box-shadow: var(--sh-md);
  border-left: 5px solid var(--yellow);
  max-width: 250px;
}

.why__card-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}

.why__card-txt {
  font-size: 0.85rem;
  color: var(--black-66);
  line-height: 1.4;
  margin: 5px 0 0;
}

.reasons {
  display: grid;
  gap: 20px;
  margin: 28px 0 30px;
}

.reason {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.reason__ico {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 14px;
  border: 1.5px solid var(--yellow);
  color: var(--black);
  display: grid;
  place-items: center;
  background: var(--yellow-050);
  transition: background-color 0.26s var(--ease), transform 0.26s var(--ease);
}

.reason:hover .reason__ico { background: var(--yellow); transform: translateY(-2px); }

.reason__ico svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reason h3 {
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 0.2em;
}

.reason p {
  font-size: 0.935rem;
  color: var(--black-66);
  margin: 0;
}

/* ---------- 13. Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.shot {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  aspect-ratio: 4 / 3;
  background: var(--black-10);
  cursor: zoom-in;
}

.shot:nth-child(1),
.shot:nth-child(8) { grid-column: span 2; aspect-ratio: 8 / 3; }

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 23, 0.28);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.shot:hover img { transform: scale(1.07); }
.shot:hover::after { opacity: 1; }

/* ---------- 14. Location ---------- */
.loc {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: stretch;
}

.loc__info {
  background: var(--white);
  border: 1px solid var(--black-06);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--sh-sm);
}

.loc__media {
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 16 / 10;
}

.loc__media img { width: 100%; height: 100%; object-fit: cover; }

.loc__list {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.loc__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.loc__ico {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--yellow);
  display: grid;
  place-items: center;
}

.loc__ico svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--black);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loc__row h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--black-52);
  margin-bottom: 3px;
}

.loc__row p, .loc__row address, .loc__row a {
  font-size: 0.96rem;
  color: var(--black-80);
  margin: 0;
  line-height: 1.55;
}

.loc__row a { font-weight: 600; }
.loc__row a:hover { color: var(--yellow-600); text-decoration: underline; }

.loc__map {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  border: 1px solid var(--black-06);
  min-height: 420px;
  background: var(--black-04);
}

.loc__map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

/* ---------- 15. Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: start;
}

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

.ccard {
  display: block;
  background: var(--white);
  border: 1px solid var(--black-06);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
              border-color 0.28s var(--ease);
}

a.ccard:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--yellow);
}

.ccard__ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--yellow);
  margin-bottom: 15px;
}

.ccard__ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--black);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ccard--wa .ccard__ico { background: var(--black); }
.ccard--wa .ccard__ico svg { stroke: var(--yellow); fill: none; }
.ccard--wa .ccard__ico svg path:first-child { fill: var(--black); stroke: none; }

.ccard h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.25em;
}

.ccard p {
  font-size: 0.95rem;
  color: var(--black-66);
  margin: 0;
  line-height: 1.55;
}

.ccard__more {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
}
.ccard__more span { color: var(--yellow-600); transition: transform 0.25s var(--ease); display: inline-block; }
a.ccard:hover .ccard__more span { transform: translateX(4px); }

/* Form */
.form {
  background: var(--white);
  border: 1px solid var(--black-06);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--sh-md);
}

.form__title { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.25em; }

.form__sub {
  font-size: 0.9rem;
  color: var(--black-66);
  margin-bottom: 22px;
}

.field { display: flex; flex-direction: column; margin-bottom: 16px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--black-80);
  margin-bottom: 7px;
}

.field__opt { font-weight: 500; color: var(--black-52); text-transform: none; letter-spacing: 0; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--black-10);
  border-radius: var(--r-sm);
  background: var(--off-white);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}

.field textarea { resize: vertical; min-height: 88px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(245, 196, 0, 0.18);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: var(--black);
  border-width: 2px;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(245, 196, 0, 0.35);
}

.field__err {
  display: none;
  font-size: 0.8rem;
  color: var(--black);
  background: var(--yellow);
  border-radius: var(--r-sm);
  padding: 7px 12px;
  margin-top: 8px;
  font-weight: 600;
}
.field__err.is-shown { display: block; }

.form__note {
  text-align: center;
  font-size: 0.86rem;
  color: var(--black-66);
  margin: 14px 0 0;
}
.form__note a { font-weight: 700; color: var(--black); }
.form__note a:hover { color: var(--yellow-600); }

/* ---------- 16. CTA band ---------- */
.band {
  background: var(--yellow);
  padding: clamp(44px, 5vw, 66px) 0;
}

.band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.band__copy { max-width: 620px; }

.band__copy h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.3em;
}

.band__copy p {
  font-size: 1.02rem;
  color: rgba(23, 23, 23, 0.78);
  margin: 0;
}

.band__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- 17. Footer ---------- */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-block: clamp(48px, 6vw, 72px) clamp(36px, 4vw, 48px);
}

.brand--footer { margin-bottom: 18px; }
.brand--footer .brand__name { color: var(--white); }
.brand--footer .brand__sub { color: rgba(255, 255, 255, 0.48); }

.footer__brand p {
  max-width: 380px;
  line-height: 1.7;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease),
              color 0.22s var(--ease), transform 0.22s var(--ease);
}

.footer__social a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
  transform: translateY(-3px);
}

.footer__social svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer__social a:first-child svg path:first-child { fill: currentColor; stroke: none; }

.footer__col h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}

.footer__col ul { display: grid; gap: 10px; }

.footer__col a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.footer__col a:hover { color: var(--yellow); padding-left: 4px; }

.footer__col--contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  line-height: 1.55;
}

.footer__col--contact .ico {
  color: var(--yellow);
  margin-top: 2px;
}
.footer__col--contact .ico path:first-child { fill: none; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-block: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom-inner p { margin: 0; }

/* ---------- 18. Mobile action bar ---------- */
.mobilebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  gap: 1px;
  background: var(--black-06);
  border-top: 1px solid var(--black-06);
  padding-bottom: env(safe-area-inset-bottom);
}

.mobilebar__btn {
  flex: 1 1 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px 6px;
  background: var(--white);
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--black);
}

.mobilebar__btn .ico { width: 20px; height: 20px; }

.mobilebar__btn--wa { background: var(--black); color: var(--yellow); }
.mobilebar__btn--wa .ico path:first-child { fill: var(--black); stroke: none; }

.mobilebar__btn--book { background: var(--yellow); }

/* ---------- 19. Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 15, 15, 0.94);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.lightbox.is-open { opacity: 1; }

/* Author `display` would otherwise defeat the `hidden` attribute */
.lightbox[hidden] { display: none; }

.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-height: 100%;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  border-radius: var(--r-md);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.lightbox__figure figcaption {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  text-align: center;
}

.lightbox__close,
.lightbox__nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
              color 0.2s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); }

.lightbox__close { position: absolute; top: 18px; right: 18px; z-index: 2; }

.lightbox__close svg,
.lightbox__nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 20. Scroll reveal ---------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shot:nth-child(1), .shot:nth-child(8) { grid-column: span 3; aspect-ratio: 16 / 7; }
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }

  /* The drawer panel itself is never translated off-screen (that would create
     horizontal scroll); only its inner content slides in. */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    z-index: 95;
    background: var(--white);
    box-shadow: -12px 0 40px rgba(23, 23, 23, 0.18);
    justify-content: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s var(--ease), visibility 0s;
  }

  .nav__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 88px 22px 28px;
    transform: translateX(26px);
    transition: transform 0.32s var(--ease);
  }

  .nav.is-open .nav__inner { transform: none; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 13px 14px; font-size: 1rem; }
  .nav__link::after { left: 14px; right: auto; width: 22px; bottom: 8px; }

  .nav__actions--mobile {
    display: grid;
    gap: 10px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--black-06);
  }

  .burger { display: flex; }

  .about,
  .why,
  .loc,
  .contact { grid-template-columns: minmax(0, 1fr); }

  .about__media, .why__media { max-width: 560px; }
  .why__card { left: 12px; }
  .about__badge { right: 0; }

  .amenities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loc__map { min-height: 340px; }
  .loc__map iframe { min-height: 340px; }
}

@media (max-width: 760px) {
  :root { --gut: 18px; }

  .brand__name { font-size: 0.92rem; }
  .brand__sub { font-size: 0.62rem; letter-spacing: 0.08em; }
  .header__actions { gap: 8px; }
  .header__actions .btn--sm { display: none; }

  .topbar__inner { justify-content: center; }
  .topbar__inner > .topbar__item:first-child { display: none; }
  .topbar__right { gap: 12px; width: 100%; justify-content: space-between; }

  .hero { padding-top: 44px; }
  .hero__media img { object-position: 62% 50%; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(23, 23, 23, 0.86) 0%, rgba(23, 23, 23, 0.72) 45%, rgba(23, 23, 23, 0.82) 100%);
  }

  .trust { grid-template-columns: minmax(0, 1fr); gap: 10px; }

  .hero__strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__item { padding: 16px 16px; }

  .cards { grid-template-columns: minmax(0, 1fr); }
  .amenities__grid { grid-template-columns: minmax(0, 1fr); }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shot:nth-child(1), .shot:nth-child(8) { grid-column: span 2; aspect-ratio: 16 / 9; }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .band__inner { flex-direction: column; align-items: flex-start; }
  .band__cta { width: 100%; }
  .band__cta .btn { flex: 1 1 200px; }

  .footer__inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .footer__bottom-inner { justify-content: center; text-align: center; }

  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lightbox__nav {
    position: absolute;
    bottom: 16px;
    z-index: 2;
  }
  .lightbox__nav--prev { left: 16px; }
  .lightbox__nav--next { right: 16px; }

  .mobilebar { display: flex; }
  body { padding-bottom: 62px; }
  .footer__bottom { padding-bottom: 8px; }
}

@media (max-width: 420px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 0.86rem; }
  .brand { gap: 10px; }
  .brand__mark { width: 36px; height: 36px; border-radius: 10px; }
  .brand__mark svg { width: 21px; height: 21px; }
  .header__actions .icon-btn--wa { display: none; }
  .btn--sm { padding: 10px 15px; font-size: 0.8rem; }
  .hero__strip-inner { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 22. Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .js .reveal:not(.is-in) { opacity: 1 !important; transform: none !important; }
}

@media print {
  .topbar, .header, .mobilebar, .lightbox, .hero__strip, .band, .btn, .icon-btn, .burger { display: none !important; }
  body { padding: 0; }
  .section { padding: 18px 0; }
  .hero { color: var(--black); padding-top: 0; }
  .hero__media { position: static; }
  .hero__scrim, .hero__accent { display: none; }
  .hero__title, .hero__lead { color: var(--black); text-shadow: none; }
}
