/* =========================================================
   Batur Cottage — styles.css
   Mobile-first, warm/local/trustworthy landing page
   ========================================================= */

:root {
  /* Warm natural palette */
  --bg: #FAF5EC;
  --bg-alt: #F0E6D6;
  --bg-card: #FFFFFF;
  --text: #2C2420;
  --text-soft: #5A4E43;
  --border: #E3D6C2;

  /* Accents */
  --accent: #C1642E;        /* sunrise orange - secondary highlights, links */
  --accent-dark: #A6521F;
  --whatsapp: #25D366;      /* WhatsApp green - main CTA */
  --whatsapp-dark: #1DA851;
  --whatsapp-ink: #0B3B22;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-card: 0 6px 20px rgba(44, 36, 32, 0.08);
  --shadow-btn: 0 6px 16px rgba(37, 211, 102, 0.28);

  --container: 1180px;

  --font-head: 'Baloo 2', 'Quicksand', sans-serif;
  --font-body: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

@media (min-width: 860px) {
  body { font-size: 17px; }
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--text);
}

h1 { font-size: clamp(2.125rem, 4.5vw + 1rem, 3.375rem); }
h2 { font-size: clamp(1.625rem, 2.5vw + 1rem, 2.375rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 14px; color: var(--text-soft); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 48px 0; }
@media (min-width: 860px) {
  section { padding: 72px 0; }
}
.section-alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-head { margin-bottom: 28px; }
.section-head p { max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 15px 24px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  min-height: 52px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  width: 100%;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--whatsapp);
  color: #06301B;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: var(--whatsapp-dark); color: #06301B; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-dark); background: transparent; }

.btn-outline-accent {
  background: #fff;
  color: var(--accent-dark);
  border: 2px solid var(--accent);
}
.btn-outline-accent:hover { background: var(--accent); color: #fff; }

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 480px) {
  .btn { width: auto; }
  .btn-row { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 56px;
}

.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none !important;
}
.brand:hover { color: var(--text); }
.brand span { color: var(--accent); }

.main-nav {
  display: none;
  gap: 24px;
}
.main-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--accent); text-decoration: none; }

.header-cta { display: none; }

.header-cta-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #06301B;
  flex-shrink: 0;
}
.header-cta-mobile svg { width: 20px; height: 20px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 14px 20px;
  color: var(--text);
  font-weight: 600;
  border-top: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--accent); text-decoration: none; background: var(--bg-alt); }
.mobile-nav .mobile-nav-cta { padding: 16px 20px; }

@media (min-width: 860px) {
  .main-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .header-cta-mobile { display: none; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 20px 0 8px;
}
@media (min-width: 860px) {
  .hero { padding: 36px 0 12px; }
}

.hero-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero-media {
  height: clamp(360px, 55vh, 620px);
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-copy {
  padding: 26px 20px 30px;
}
.hero-copy h1 { color: var(--text); }
.hero-copy .lead { font-size: 1.05rem; color: var(--text-soft); }

.trust-bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.trust-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}
.trust-bullets li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@media (min-width: 860px) {
  .hero-card { flex-direction: row; align-items: stretch; }
  .hero-media { flex: 1 1 46%; }
  .hero-copy {
    flex: 1 1 54%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 52px;
  }
  .trust-bullets { grid-template-columns: repeat(2, auto); }
}

/* ---------- Benefit cards ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 620px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .benefit-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--accent);
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 6px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Packages ---------- */
.package-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.package-card > img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.package-card .pkg-body { padding: 20px 22px; }

@media (min-width: 760px) {
  .package-card { flex-direction: row; align-items: stretch; }
  .package-card > img { width: 320px; height: 300px; flex: 0 0 320px; }
  .package-card .pkg-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 26px 30px; }
}

@media (max-width: 768px) {
  .hero-media { height: 420px; }
  .package-card > img { height: 240px; }
}

.pkg-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.pkg-top h3 { margin-bottom: 0; }

.price-tag {
  flex-shrink: 0;
  background: var(--bg-alt);
  color: var(--accent-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.pkg-includes {
  font-size: 0.88rem;
  color: var(--text-soft);
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 12px 0 16px;
}
.pkg-includes strong { color: var(--text); }

.packages-note {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--text-soft);
  font-style: italic;
}

/* ---------- Transfers ---------- */
.transfer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 620px) {
  .transfer-grid { grid-template-columns: repeat(2, 1fr); }
}
.transfer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.transfer-card h3 { margin: 0; font-size: 1.02rem; }
.transfer-card .price-tag { }

/* ---------- About the stay ---------- */
.stay-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
.stay-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-md);
}

.wifi-note {
  display: flex;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  align-items: flex-start;
}
.wifi-note svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.wifi-note p { margin: 0; font-size: 0.92rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 620px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; display: block; }
.gallery-item .label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(20,15,10,0.62);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Why stay ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 620px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
.why-item { display: flex; gap: 14px; }
.why-item .num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.why-item h3 { margin-bottom: 4px; font-size: 1.02rem; }
.why-item p { margin: 0; font-size: 0.93rem; }



/* ---------- Guest reviews ---------- */
.guest-reviews {
  background: var(--bg);
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.review-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 12px;
}
.review-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.review-card p {
  margin-bottom: 14px;
  font-size: 0.94rem;
}
.review-card span {
  display: block;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 600;
}
@media (min-width: 680px) {
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .review-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Inquiry form ---------- */
.inquiry-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-row textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin: 14px 0 18px;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.faq-question .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.faq-item.is-open .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p { padding: 0 20px 18px; margin: 0; font-size: 0.94rem; }
.faq-item.is-open .faq-answer { max-height: 400px; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
}
.final-cta h2, .final-cta p { color: #fff; }
.final-cta p { color: rgba(255,255,255,0.78); max-width: 48ch; margin-left: auto; margin-right: auto; }
.final-cta .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 40px 0 100px;
}
.footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.footer-brand span { color: var(--accent); }
.footer-meta p { margin: 0 0 4px; font-size: 0.92rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}
.footer-links a { font-weight: 600; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 18px;
  padding-top: 16px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}
.wa-float svg { width: 28px; height: 28px; color: #fff; }
.wa-float:hover { background: var(--whatsapp-dark); }

@media (min-width: 860px) {
  .wa-float { right: 24px; bottom: 24px; width: 48px; height: 48px; opacity: 0.9; }
  .wa-float svg { width: 24px; height: 24px; }
  .wa-float:hover { opacity: 1; }
}

/* utility */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* ---------- Final responsive fixes added after image replacement ---------- */
html { scroll-padding-top: 76px; }
body { overflow-x: hidden; }

.hero-card,
.package-card,
.card,
.transfer-card,
.inquiry-wrap,
.faq-item,
.final-cta {
  max-width: 100%;
}

.hero-media img,
.package-card > img,
.stay-media img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-media {
  min-height: 340px;
  background: var(--bg-alt);
}

@media (min-width: 860px) {
  .hero-card { min-height: 520px; }
  .hero-media { height: auto; min-height: 520px; }
  .hero-copy { padding: 42px 48px; }
}

@media (max-width: 859px) {
  .hero { padding-top: 14px; }
  .hero-media { height: 360px; }
  .hero-copy { padding: 24px 18px 28px; }
  .hero-copy .lead { font-size: 1rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-media { height: 320px; }
  .trust-bullets { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

@media (min-width: 900px) {
  .benefit-grid { align-items: stretch; }
  .card { padding: 24px; }
  .card h3 { font-size: 1.08rem; }
  .card p { font-size: 0.92rem; line-height: 1.55; }
}

.package-card > img {
  background: var(--bg-alt);
}

@media (min-width: 760px) {
  .package-card > img {
    width: min(38%, 380px);
    height: auto;
    min-height: 300px;
    flex: 0 0 min(38%, 380px);
  }
}

@media (max-width: 759px) {
  .package-card > img { height: 235px; }
  .pkg-top { flex-direction: column; align-items: flex-start; }
  .price-tag { align-self: flex-start; }
}

.stay-media img,
.gallery-item img {
  aspect-ratio: 4 / 3;
  height: auto;
}

@media (min-width: 860px) {
  .stay-media { grid-template-columns: 1.1fr .9fr; }
  .gallery-grid { gap: 14px; }
}

.wa-float { text-decoration: none !important; }
@media (min-width: 860px) {
  .wa-float { width: 48px; height: 48px; right: 22px; bottom: 22px; }
}

@media (max-width: 859px) {
  .main-nav { display: none; }
  .site-header .container { height: 58px; }
  .brand { font-size: 1.18rem; }
}

/* =========================================================
   Cross-device responsive polish
   Desktop / laptop / tablet / mobile refinements
   ========================================================= */

:root {
  --container: 1160px;
}

html {
  scroll-padding-top: 74px;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

.container {
  width: min(100%, var(--container));
  padding-left: clamp(16px, 3vw, 28px);
  padding-right: clamp(16px, 3vw, 28px);
}

section {
  padding-top: clamp(42px, 6vw, 76px);
  padding-bottom: clamp(42px, 6vw, 76px);
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.28rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.08rem, 1.2vw, 1.22rem);
}

p,
li {
  overflow-wrap: anywhere;
}

.btn {
  max-width: 100%;
  text-align: center;
}

/* Header: avoid crowding on small laptops/tablets */
.site-header .container {
  min-width: 0;
}

.brand {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 860px) and (max-width: 1080px) {
  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 0.9rem;
  }

  .header-cta {
    padding: 9px 14px !important;
    font-size: 0.95rem;
  }
}

/* Hero: balanced across desktop, laptop, tablet and phone */
.hero {
  padding-top: clamp(16px, 3vw, 34px);
  padding-bottom: 20px;
}

.hero-card {
  border-radius: clamp(18px, 2vw, 28px);
}

.hero-media {
  height: clamp(300px, 58vw, 440px);
}

.hero-media img {
  object-position: center center;
}

.hero-copy {
  padding: clamp(24px, 5vw, 48px);
}

.hero-copy .lead {
  max-width: 58ch;
}

.trust-bullets {
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .trust-bullets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .hero-card {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    min-height: clamp(500px, 58vh, 640px);
  }

  .hero-media {
    height: auto;
    min-height: 100%;
  }

  .hero-copy {
    justify-content: center;
  }
}

@media (min-width: 1280px) {
  .hero-copy {
    padding: 54px 58px;
  }
}

/* Landscape tablets / short laptop screens */
@media (min-width: 900px) and (max-height: 760px) {
  .hero-card {
    min-height: 460px;
  }

  .hero-copy {
    padding-top: 34px;
    padding-bottom: 34px;
  }
}

/* Benefit cards: prevent narrow, over-tall columns */
.benefit-grid {
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card p {
  line-height: 1.55;
}

@media (min-width: 900px) and (max-width: 1140px) {
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1141px) {
  .benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Packages: stack on tablets, horizontal only when there is real width */
.package-card {
  min-width: 0;
}

.package-card > img {
  height: clamp(220px, 54vw, 320px);
  width: 100%;
  flex: none;
}

.package-card .pkg-body {
  min-width: 0;
}

.pkg-top {
  align-items: flex-start;
}

.price-tag {
  max-width: 100%;
  line-height: 1.15;
}

@media (min-width: 760px) and (max-width: 899px) {
  .package-card {
    flex-direction: column;
  }

  .package-card > img {
    width: 100%;
    height: 300px;
    flex-basis: auto;
  }
}

@media (min-width: 900px) {
  .package-card {
    flex-direction: row;
  }

  .package-card > img {
    width: clamp(300px, 36%, 420px);
    height: auto;
    min-height: 310px;
    flex: 0 0 clamp(300px, 36%, 420px);
  }

  .package-card .pkg-body {
    padding: clamp(24px, 3vw, 34px);
  }
}

@media (min-width: 1180px) {
  .package-card > img {
    min-height: 340px;
  }
}

@media (max-width: 560px) {
  .package-card > img {
    height: 220px;
  }

  .pkg-body {
    padding: 18px 18px 20px !important;
  }

  .pkg-top {
    gap: 8px;
  }

  .pkg-includes {
    padding: 11px 12px;
  }
}

/* Transfers: avoid cramped price layouts */
.transfer-card {
  min-width: 0;
}

@media (max-width: 420px) {
  .transfer-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Stay and gallery images: consistent ratios everywhere */
.stay-media,
.gallery-grid {
  min-width: 0;
}

.stay-media img,
.gallery-item img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

@media (max-width: 520px) {
  .stay-media {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 521px) and (max-width: 859px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Inquiry and CTA: readable on wide screens */
.inquiry-wrap,
.final-cta {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  .inquiry-wrap {
    padding: 34px 38px;
  }

  .final-cta {
    padding: 52px 42px;
  }
}

/* Floating WhatsApp: strong on mobile, subtle on desktop */
.wa-float {
  width: 58px;
  height: 58px;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
}

@media (min-width: 860px) {
  .wa-float {
    width: 48px;
    height: 48px;
    right: 24px;
    bottom: 24px;
  }
}

@media (min-width: 1440px) {
  .wa-float {
    right: calc((100vw - var(--container)) / 2 + 18px);
  }
}

/* Very small phones */
@media (max-width: 380px) {
  body {
    font-size: 15.5px;
  }

  .brand {
    font-size: 1.05rem;
  }

  .header-cta-mobile,
  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-media {
    height: 280px;
  }

  .btn {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ---------- Family-run local stay section ---------- */
.family-section {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.family-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.family-photo {
  min-height: 260px;
  max-height: 420px;
  overflow: hidden;
}

.family-photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.family-copy {
  padding: clamp(22px, 4vw, 44px);
}

.family-copy p {
  max-width: 64ch;
}

.family-note {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.family-note strong {
  color: var(--text);
}

@media (min-width: 860px) {
  .family-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .family-photo {
    min-height: 420px;
    max-height: none;
  }

  .family-photo img {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .family-photo,
  .family-photo img {
    min-height: 240px;
  }
}


/* =========================================================
   Stay section alignment + form polish
   ========================================================= */

/* Keep the Stay block visually aligned with the image grid */
#stay .stay-media {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

#stay .section-head {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

#stay .section-head p {
  max-width: none;
}

@media (min-width: 900px) {
  #stay .section-head {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 14px 34px;
    align-items: start;
  }

  #stay .section-head h2 {
    grid-column: 1 / -1;
    max-width: 820px;
  }

  #stay .section-head p {
    margin-bottom: 0;
  }

  #stay .section-head p:nth-of-type(3) {
    grid-column: 1 / -1;
    max-width: 900px;
    margin-top: 4px;
  }

  #stay .wifi-note {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 899px) {
  #stay .section-head,
  #stay .stay-media,
  #stay .wifi-note {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Make the inquiry form clearly usable on Cloudflare Pages V1:
   the submit button opens WhatsApp using the values typed by the user. */
.inquiry-wrap {
  border: 1px solid var(--border);
}

#inquiry-form .btn-row {
  align-items: center;
}

#inquiry-form button[type="submit"] {
  cursor: pointer;
}

.form-note strong {
  color: var(--text);
}

@media (max-width: 560px) {
  #inquiry-form .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  #inquiry-form .btn-row .btn {
    width: 100%;
    justify-content: center;
  }
}


/* =========================================================
   Stay showcase final layout
   - fixes the previous image-only block and aligns text + images
   ========================================================= */

.stay-showcase {
  padding-top: clamp(36px, 4vw, 58px);
  padding-bottom: clamp(42px, 5vw, 70px);
}

.stay-showcase-grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.stay-copy {
  max-width: 680px;
}

.stay-copy h2 {
  max-width: 680px;
}

.stay-copy p {
  max-width: 66ch;
}

.stay-showcase .wifi-note {
  margin-top: 18px;
}

.stay-showcase .stay-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
}

.stay-showcase .stay-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

@media (min-width: 760px) and (max-width: 1023px) {
  .stay-showcase .stay-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .stay-showcase-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .stay-showcase .stay-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: center;
  }

  .stay-showcase .stay-media img {
    aspect-ratio: 4 / 3;
  }

  .stay-copy {
    max-width: none;
  }
}

@media (max-width: 759px) {
  .stay-showcase .stay-media {
    order: -1;
  }

  .stay-copy {
    max-width: none;
  }
}
