/* ── Casa Mango — Main Stylesheet ─────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --cream:      #FAF7F2;
  --white:      #FFFFFF;
  --mango:      #E8834A;
  --mango-dark: #C4622A;
  --terracotta: #B85C38;
  --sage:       #7A9E7E;
  --sand:       #EDE0CC;
  --charcoal:   #2C2A27;
  --mid:        #6B6560;
  --light:      #F4EFE8;
  --border:     #DDD5C4;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  --max-w: 1100px;
  --radius: 4px;
  --transition: 0.25s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--cream);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--mango-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--terracotta); }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.1rem; font-weight: 500; font-family: var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mango-dark); }
p  { margin-bottom: 1.2rem; color: var(--mid); }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.4rem; color: var(--mid); }
li { margin-bottom: 0.4rem; }

/* ── Layout ────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section--light { background: var(--light); }
.section--sand  { background: var(--sand); }

/* ── Nav ───────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--mango); }
.nav-links { display: flex; gap: 1.4rem; list-style: none; }
.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mid);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--mango-dark); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  align-self: center;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: var(--transition);
}

/* mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 99;
  flex-direction: column;
  gap: 1rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #f5ede0 0%, #e8d5b8 50%, #d4bfa0 100%);
  padding-top: 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(232,131,74,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(122,158,126,0.10) 0%, transparent 40%);
}
.hero-tile-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--mango) 0px, var(--mango) 20px,
    var(--terracotta) 20px, var(--terracotta) 40px,
    var(--sage) 40px, var(--sage) 60px,
    var(--sand) 60px, var(--sand) 80px
  );
  opacity: 0.7;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mango-dark);
  margin-bottom: 1.2rem;
}
.hero h1 { margin-bottom: 1.2rem; font-style: italic; font-weight: 300; }
.hero h1 em { font-style: normal; color: var(--mango); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 480px;
  margin: 0 auto 2.5rem;
}
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--mango);
  color: var(--white);
}
.btn-primary:hover { background: var(--mango-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--mango-dark);
  border: 1px solid var(--mango);
}
.btn-outline:hover { background: var(--mango); color: var(--white); }

/* ── Cards ─────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: 0 8px 32px rgba(44,42,39,0.10); transform: translateY(-3px); }
.card-img {
  height: 200px;
  background: var(--sand);
  overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.card-body { padding: 1.4rem; }
.card-body h3 { margin-bottom: 0.5rem; font-size: 1.3rem; }
.card-body p  { font-size: 0.92rem; margin-bottom: 1rem; }
.card-link {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mango-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.card-link::after { content: '→'; }

/* ── Section header ────────────────────────────────────────── */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 1rem; }
.section-header h4 { margin-bottom: 0.5rem; }
.section-header h2 { margin-bottom: 1rem; }
.divider {
  width: 48px;
  height: 2px;
  background: var(--mango);
  margin: 1.2rem auto;
}

/* ── Info blocks ───────────────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.info-grid.reverse { direction: rtl; }
.info-grid.reverse > * { direction: ltr; }
.info-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--sand);
}
.info-img img { width: 100%; height: 100%; object-fit: cover; }
.info-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  min-height: 300px;
}
.info-text h4 { margin-bottom: 0.5rem; }
.info-text h2 { margin-bottom: 1rem; }

/* ── Float-wrap villa image ─────────────────────────────────── */
.villa-wrap { overflow: hidden; }
.villa-wrap h4 { margin-bottom: 0.5rem; }
.villa-wrap h2 { margin-bottom: 1rem; }
.villa-float-img {
  float: right;
  width: 55%;
  max-width: 620px;
  border-radius: var(--radius);
  margin: 0 0 1.5rem 2.5rem;
  object-fit: cover;
  display: block;
}

/* ── Auth Gate ─────────────────────────────────────────────── */
.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
}
.gate-overlay.hidden { display: none; }
.gate-logo { font-family: var(--font-heading); font-size: 2.8rem; margin-bottom: 0.3rem; font-style: italic; }
.gate-logo span { color: var(--mango); }
.gate-sub  { font-size: 0.9rem; color: var(--mid); letter-spacing: 0.05em; margin-bottom: 2rem; }
.gate-step { width: 100%; max-width: 340px; }
.gate-instructions { font-size: 0.92rem; color: var(--mid); margin-bottom: 1.4rem; line-height: 1.6; }
.gate-instructions strong { color: var(--charcoal); }
.gate-form { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; width: 100%; }
.gate-input {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  text-align: center;
  outline: none;
  transition: border-color var(--transition);
}
.gate-input:focus { border-color: var(--mango); }
.gate-input[type=text] { letter-spacing: 0.3em; font-size: 1.4rem; font-weight: 500; }
.gate-error { font-size: 0.85rem; color: var(--terracotta); min-height: 1.1rem; }
.gate-resend { font-size: 0.82rem; color: var(--mid); margin-top: 0.8rem; }
.gate-resend a, .gate-back-link a { color: var(--mango-dark); }
.gate-back-link { font-size: 0.82rem; margin-top: 0.5rem; }
.gate-tile {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--mango) 0px, var(--mango) 20px,
    var(--terracotta) 20px, var(--terracotta) 40px,
    var(--sage) 40px, var(--sage) 60px,
    var(--sand) 60px, var(--sand) 80px
  );
  opacity: 0.6;
}

/* ── Nav guest badge ───────────────────────────────────────── */
#nav-guest-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mango-dark);
  background: rgba(232, 131, 74, 0.1);
  border: 1px solid rgba(232, 131, 74, 0.35);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  white-space: nowrap;
}

/* ── Hero greeting (personalised) ─────────────────────────── */
#hero-greeting {
  display: none;
  background: rgba(232, 131, 74, 0.88);
  color: #fff;
  border-radius: 20px;
  padding: 0.35rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

/* ── Admin page ────────────────────────────────────────────── */
.admin-body { background: #f0ede8; min-height: 100vh; }
.admin-header {
  background: var(--charcoal);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-header .logo { font-family: var(--font-heading); font-size: 1.4rem; font-style: italic; color: #fff; }
.admin-header .logo span { color: var(--mango); }
.admin-header-right { font-size: 0.78rem; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; text-transform: uppercase; }
.admin-main { max-width: 960px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.admin-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}
.admin-card h2 { font-size: 1.3rem; margin-bottom: 1.5rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th {
  text-align: left;
  padding: 0.6rem 0.8rem;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mid);
  border-bottom: 2px solid var(--border);
}
.admin-table td { padding: 0.75rem 0.8rem; border-bottom: 1px solid #f0ede8; vertical-align: middle; color: var(--charcoal); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #faf8f5; }
.status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-upcoming  { background: #e8f0fb; color: #1a5cb5; }
.status-staying   { background: #e6f5eb; color: #1a7a35; }
.status-post-stay { background: #fff3e6; color: #b85c00; }
.status-expired   { background: #f0f0f0; color: #888; }
.status-permanent { background: #edf5f0; color: #2a7a55; }
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.admin-field { display: flex; flex-direction: column; gap: 0.4rem; }
.admin-field label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--mid); }
.admin-field input {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--transition);
}
.admin-field input:focus { border-color: var(--mango); }
.admin-form-actions { margin-top: 1.2rem; display: flex; gap: 0.75rem; }
.btn-danger { background: #c0392b; color: #fff; }
.btn-danger:hover { background: #a93226; color: #fff; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.75rem; }
.admin-msg { font-size: 0.88rem; padding: 0.7rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.admin-msg.success { background: #e6f5eb; color: #1a7a35; border: 1px solid #b7dfc5; }
.admin-msg.error   { background: #fdecea; color: #c0392b; border: 1px solid #f5b8b4; }
.admin-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  flex-direction: column;
  text-align: center;
  padding: 2rem;
}
.admin-gate-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  width: 100%;
  max-width: 360px;
}
.admin-gate-card h2 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.admin-gate-card p  { font-size: 0.88rem; color: var(--mid); margin-bottom: 1.5rem; }
@media (max-width: 640px) {
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-table th:nth-child(3), .admin-table td:nth-child(3),
  .admin-table th:nth-child(4), .admin-table td:nth-child(4) { display: none; }
}

/* ── Footer ────────────────────────────────────────────────── */
/* ── Video grid ─────────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.video-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.video-wrap {
  background: #1a1a1a;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.video-card-body {
  padding: 1.4rem 1.6rem;
}
.video-card-body h3 {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}
.video-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* ── Maps block ─────────────────────────────────────────────── */
.maps-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.maps-btn { white-space: nowrap; }
.maps-qr-wrap { text-align: center; }
.maps-qr-wrap img { border-radius: 8px; border: 1px solid var(--border); display: block; }
.maps-qr-wrap p { font-size: 0.75rem; color: var(--text-light); margin-top: 0.4rem; }

/* ── Contact ────────────────────────────────────────────────── */
.contact-email-link {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--mango);
  text-decoration: none;
  border-bottom: 2px solid var(--mango);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.contact-email-link:hover { color: var(--mango-dark); border-color: var(--mango-dark); }

.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.5);
  padding: 3rem 0;
  text-align: center;
  font-size: 0.85rem;
}
.site-footer .footer-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.site-footer .footer-logo span { color: var(--mango); }
.site-footer p { color: rgba(255,255,255,0.45); margin-bottom: 0.3rem; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin: 1.2rem 0; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-links a:hover { color: var(--mango); }

/* ── Page hero (inner pages) ───────────────────────────────── */
.page-hero {
  padding: 9rem 0 4rem;
  text-align: center;
  background: linear-gradient(160deg, #f5ede0 0%, #e8d5b8 100%);
  position: relative;
}
.page-hero h1 { font-style: italic; font-weight: 300; }
.page-hero p  { max-width: 540px; margin: 1rem auto 0; }
.page-hero-tile {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    var(--mango) 0px, var(--mango) 20px,
    var(--terracotta) 20px, var(--terracotta) 40px,
    var(--sage) 40px, var(--sage) 60px,
    var(--sand) 60px, var(--sand) 80px
  );
  opacity: 0.6;
}

/* ── Tip/note box ──────────────────────────────────────────── */
.tip-box {
  background: var(--white);
  border-left: 3px solid var(--mango);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
}
.tip-box strong { color: var(--mango-dark); display: block; margin-bottom: 0.3rem; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── Photo hero ────────────────────────────────────────────── */
.hero--photo {
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
}
.hero--photo .hero-bg { display: none; }
.hero--photo .hero-eyebrow { color: rgba(255,255,255,0.75); }
.hero--photo h1 { color: #fff; }
.hero--photo h1 em { color: #f5a66e; }
.hero--photo .hero-sub { color: rgba(255,255,255,0.8); }

/* ── Detail list ────────────────────────────────────────────── */
.detail-list { list-style: none; padding: 0; margin: 1.2rem 0; }
.detail-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.detail-list li:last-child { border-bottom: none; }
.dl-label {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mid);
  min-width: 130px;
  flex-shrink: 0;
}
.dl-value { color: var(--charcoal); }
.dl-value strong { color: var(--mango-dark); font-weight: 500; }

/* ── Contact cards ──────────────────────────────────────────── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-card h4 { margin-bottom: 0.8rem; }
.contact-card p { font-size: 0.9rem; margin-bottom: 0.4rem; }
.contact-phone { font-size: 1.05rem; color: var(--charcoal); font-weight: 500; display: block; margin-bottom: 0.2rem; }

/* ── Warn box ───────────────────────────────────────────────── */
.warn-box {
  background: #fff8e6;
  border-left: 3px solid var(--terracotta);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
}
.warn-box strong { color: var(--terracotta); display: block; margin-bottom: 0.3rem; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── Rule grid ──────────────────────────────────────────────── */
.rule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
  margin: 2rem 0;
}
.rule-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.rule-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1.3; }
.rule-text h4 { margin-bottom: 0.2rem; font-size: 0.82rem; }
.rule-text p  { font-size: 0.88rem; margin-bottom: 0; }

/* ── Attraction card ────────────────────────────────────────── */
.attraction-list { display: flex; flex-direction: column; gap: 3.5rem; margin-top: 2rem; }
.attraction-item { display: grid; grid-template-columns: 320px 1fr; gap: 2.5rem; align-items: start; }
.attraction-item.reverse { grid-template-columns: 1fr 320px; }
.attraction-item.reverse .attraction-img { order: 2; }
.attraction-item.reverse .attraction-text { order: 1; }
.attraction-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--sand);
}
.attraction-img img { width: 100%; height: 100%; object-fit: cover; }
.attraction-text h3 { margin-bottom: 0.5rem; }
.attraction-text h4 { margin-bottom: 0.3rem; }
.attribution { font-size: 0.7rem; color: var(--mid); opacity: 0.6; margin-top: 0.3rem; font-style: italic; }

/* ── Location action buttons (Map / Reviews / Tickets) ─────── */
.loc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}
.loc-btn-map {
  background: #e8f4f0;
  color: #1a6e52;
  border-color: #b5ddd3;
}
.loc-btn-map:hover { background: #1a6e52; color: #fff; }
.loc-btn-reviews {
  background: #fef3e8;
  color: #c05a00;
  border-color: #f7d4aa;
}
.loc-btn-reviews:hover { background: #c05a00; color: #fff; }
.loc-btn-tickets {
  background: #f0e8f8;
  color: #6030a0;
  border-color: #d4b8f0;
}
.loc-btn-tickets:hover { background: #6030a0; color: #fff; }
.loc-btn-web {
  background: var(--light);
  color: var(--mid);
  border-color: var(--border);
}
.loc-btn-web:hover { background: var(--charcoal); color: #fff; }

/* ── Restaurant list ────────────────────────────────────────── */
.restaurant-list { display: flex; flex-direction: column; gap: 0; margin-top: 1.5rem; }
.restaurant-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.restaurant-item:last-child { border-bottom: none; }
.restaurant-item h3 { margin-bottom: 0.3rem; font-size: 1.35rem; }
.restaurant-meta { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mango-dark); margin-bottom: 0.7rem; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 768px) {
  #nav-guest-badge { font-size: 0.62rem; padding: 0.25rem 0.65rem; }
  .info-grid { grid-template-columns: 1fr; gap: 2rem; }
  .villa-float-img { float: none; width: 100%; margin: 0 0 1.5rem 0; }
  .info-grid.reverse { direction: ltr; }
  .card-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .hero { min-height: 90vh; }
  .attraction-item,
  .attraction-item.reverse { grid-template-columns: 1fr; }
  .attraction-item.reverse .attraction-img { order: 0; }
  .attraction-item.reverse .attraction-text { order: 0; }
  .rule-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .dl-label { min-width: 100px; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
}

/* ── Public site shared ─────────────────────────────────────── */
.btn-portal {
  background: var(--mango);
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-portal:hover { background: var(--mango-dark) !important; color: #fff !important; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.55rem;
  margin-top: 1.8rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  text-align: left;
}
.feature-icon { font-size: 1.15rem; flex-shrink: 0; line-height: 1.4; margin-top: 0.05rem; }
.feature-card h4 { font-size: 0.7rem; margin: 0 0 0.1rem; font-weight: 600; letter-spacing: 0.01em; }
.feature-card p  { font-size: 0.68rem; margin: 0; line-height: 1.4; color: var(--mid); }

.gallery-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.gallery-teaser a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.gallery-teaser a img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-teaser a:hover img { transform: scale(1.07); }

.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.explore-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(44,42,39,0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}
.explore-card:hover { transform: translateY(-5px); box-shadow: 0 10px 32px rgba(44,42,39,0.14); }
.explore-card-img { height: 196px; overflow: hidden; }
.explore-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.explore-card:hover .explore-card-img img { transform: scale(1.07); }
.explore-card-body { padding: 1.5rem; }
.explore-card-body h3 { margin-bottom: 0.5rem; }
.explore-card-body p  { font-size: 0.9rem; }

@media (max-width: 500px) {
  .gallery-teaser { grid-template-columns: repeat(2, 1fr); }
}

/* ── Reviews ──────────────────────────────────────────────────── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.review-stars { color: #E8834A; font-size: 1.1rem; letter-spacing: 0.05em; }
.review-body { font-size: 0.9rem; line-height: 1.65; color: var(--charcoal); flex: 1; }
.review-meta  { font-size: 0.78rem; color: var(--mid); }
.review-response { margin-top: 0.8rem; padding: 0.7rem 0.9rem; background: #f0faf4; border-left: 3px solid #7A9E7E; border-radius: 0 6px 6px 0; font-size: 0.82rem; color: #2c4a32; }
.review-response strong { display: block; margin-bottom: 0.2rem; font-size: 0.78rem; color: #5a8a5a; text-transform: uppercase; letter-spacing: 0.05em; }

/* Star rating input */
.star-rating { display: flex; gap: 0.3rem; flex-direction: row-reverse; justify-content: flex-end; }
.star-rating input { display: none; }
.star-rating label { font-size: 2rem; color: #ddd; cursor: pointer; transition: color 0.15s; }
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label { color: #E8834A; }
