/* ============================================================
   La Casa Neil — site stylesheet
   Extracted from inline styles · last updated 2026-05-13
   ============================================================ */

:root {
  --sand: #fbf6ee;
  --sand-warm: #f4ead9;
  --navy: #1c2b40;
  --navy-soft: #2c3e5a;
  --terracotta: #c75c3c;
  --terracotta-dark: #a64a2e;
  --ink: #2a2a2a;
  --muted: #6b6b6b;
  --border: rgba(28, 43, 64, 0.12);
  --available: #c9e3c5;
  --available-border: #84b07c;
  --booked: #e8b8a8;
  --booked-border: #c75c3c;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; color: var(--ink); }

a { color: var(--terracotta); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.75; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

/* ---------- HEADER ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.nav a.btn { color: white; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  background: var(--terracotta);
  color: white;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--terracotta-dark); opacity: 1; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: white; }

@media (max-width: 720px) {
  .nav { gap: 0.6rem; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 70%; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a:not(.btn) { font-size: 0.78rem; white-space: nowrap; padding: 0.2rem 0.1rem; }
  .nav a.btn { padding: 0.6rem 1.1rem; font-size: 0.78rem; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(135deg, rgba(28, 43, 64, 0.35), rgba(28, 43, 64, 0.55)), url('/images/hero-pools.jpg');
  background-size: cover;
  background-position: center;
  color: white;
}
.hero-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  width: 100%;
}
.hero h1 { color: white; max-width: 900px; }
.hero .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.hero .lede {
  max-width: 640px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
  margin: 1.25rem 0 2rem;
  line-height: 1.65;
}
.hero .lede strong { color: white; }
.hero .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  max-width: 720px;
}
.hero .meta-row span { display: inline-flex; align-items: center; gap: 0.4rem; }

/* ---------- AT A GLANCE ---------- */
.glance {
  background: var(--sand-warm);
  border-bottom: 1px solid var(--border);
}
.glance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem 2rem;
  align-items: start;
}
.glance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}
.glance-item .icon {
  font-size: 1.75rem;
  margin-bottom: 0.4rem;
}
.glance-item .label {
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 500;
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text p { font-size: 1.05rem; }
.about-img {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--border);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- GALLERY ---------- */
.gallery-section { background: var(--sand-warm); }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 3px;
  background: var(--border);
  cursor: pointer;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery a:hover img { transform: scale(1.04); }
.gallery a.tall { grid-row: span 2; }
.gallery a.wide { grid-column: span 2; }

@media (max-width: 800px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery a.wide { grid-column: span 2; }
  .gallery a.tall { grid-row: span 1; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
  cursor: pointer;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: white;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
.lightbox .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox .arrow.prev { left: 1.5rem; }
.lightbox .arrow.next { right: 1.5rem; }
.lightbox .arrow:hover { background: rgba(255, 255, 255, 0.3); }

/* ---------- ROOMS ---------- */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.room-card {
  background: var(--sand-warm);
  border-radius: 4px;
  overflow: hidden;
}
.room-card img { width: 100%; height: 280px; object-fit: cover; display: block; }
.room-card .body { padding: 1.5rem 1.75rem; }
.room-card h3 { margin-bottom: 0.25rem; }
.room-card .meta { color: var(--muted); font-size: 0.95rem; }
.rooms-note {
  margin-top: 2rem;
  text-align: center;
  font-style: italic;
  color: var(--muted);
}

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

/* ---------- LOCATION ---------- */
.location-section { background: var(--sand-warm); }
.location-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.location-grid iframe, .location-grid .map-placeholder {
  width: 100%;
  height: 460px;
  border: 0;
  border-radius: 4px;
}
.location-grid .map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--border);
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  padding: 2rem;
}
.location-grid .map-placeholder button {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--terracotta);
  color: white;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
}
.nearby-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.nearby-block h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}
.nearby-block ul { list-style: none; }
.nearby-block li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(28, 43, 64, 0.08);
  font-size: 0.95rem;
  color: var(--ink);
}
.nearby-block li:last-child { border-bottom: 0; }

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

/* ---------- AVAILABILITY ---------- */
.calendar-wrap {
  background: white;
  border-radius: 4px;
  padding: 2rem;
  border: 1px solid var(--border);
}
.calendar-legend {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.calendar-legend .swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.swatch.available { background: var(--available); border: 1px solid var(--available-border); }
.swatch.booked { background: var(--booked); border: 1px solid var(--booked-border); }
#calendar-loading { color: var(--muted); padding: 2rem; text-align: center; }
#calendar-error { color: #b85042; padding: 1rem; background: #fdf0ec; border-radius: 4px; margin-bottom: 1rem; display: none; }

.cal-months {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.cal-month {
  background: var(--sand);
  padding: 1rem;
  border-radius: 4px;
}
.cal-month-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  text-align: center;
}
.cal-weekdays, .cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-weekday {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.25rem 0;
  letter-spacing: 0.05em;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border-radius: 3px;
  color: var(--ink);
}
.cal-day.empty { visibility: hidden; }
.cal-day.past { color: rgba(0,0,0,0.25); }
.cal-day.available { background: var(--available); }
.cal-day.booked { background: var(--booked); color: var(--terracotta-dark); }
.cal-day.today { font-weight: 700; outline: 2px solid var(--terracotta); outline-offset: -2px; }

/* ---------- REVIEWS ---------- */
.reviews-section { background: var(--sand-warm); }
.reviews-stats {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.rating-big {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: var(--navy);
  line-height: 1;
}
.stars { color: var(--terracotta); letter-spacing: 0.05em; font-size: 1.2rem; }
.reviews-meta { color: var(--muted); font-size: 0.95rem; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.review-card {
  background: white;
  padding: 1.75rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.review-card .stars { font-size: 0.9rem; margin-bottom: 0.75rem; }
.review-card blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy-soft);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.review-card cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
}
.faq-item summary {
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--terracotta);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s;
}
.faq-item[open] summary { margin-bottom: 0.75rem; }
.faq-item[open] summary::after {
  content: '–';
}
.faq-item p { margin: 0; color: var(--ink); }

/* ---------- ENQUIRY FORM ---------- */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.form-note {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-grid .full { grid-column: span 2; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: white;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--terracotta);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-submit {
  text-align: center;
  margin-top: 1.5rem;
}
.form-submit .btn { font-size: 1rem; padding: 1rem 2.5rem; }
.form-status {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
  min-height: 1.5rem;
}
.form-status.success { color: #2d7a3a; }
.form-status.error { color: #b85042; }

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: span 1; }
}

/* ---------- HOST ---------- */
.host-section {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
}
.host-section h2 { color: white; }
.host-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: center;
}
.host-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  background: var(--sand-warm);
  border: 4px solid rgba(255, 255, 255, 0.12);
  display: block;
}
.host-section p { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; }
.host-meta { display: flex; gap: 2rem; margin-top: 1rem; flex-wrap: wrap; font-size: 0.9rem; }
.host-meta strong { color: white; }

@media (max-width: 700px) {
  .host-grid { grid-template-columns: 1fr; text-align: center; }
  .host-photo { margin: 0 auto; }
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
footer a { color: rgba(255, 255, 255, 0.85); }
footer address { font-style: normal; margin-bottom: 1rem; color: rgba(255, 255, 255, 0.85); }
footer address strong { color: white; }
footer .footer-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

/* ---------- ARTICLE (guides) ---------- */
.article-hero {
  background: var(--sand-warm);
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.article-hero .breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.article-hero .breadcrumb a { color: var(--muted); }
.article-hero .breadcrumb a:hover { color: var(--terracotta); }
.article-hero h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); margin-bottom: 1rem; }
.article-hero .lede {
  font-size: 1.15rem;
  color: var(--navy-soft);
  max-width: 760px;
  font-style: italic;
}
.article-hero .byline {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  font-size: 1.08rem;
  line-height: 1.75;
}
.article-body h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}
.article-body h3 {
  font-size: 1.35rem;
  margin: 1.75rem 0 0.75rem;
}
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { margin: 0 0 1.5rem 1.5rem; }
.article-body li { margin-bottom: 0.6rem; }
.article-body strong { color: var(--navy); }
.article-body .cta-inline {
  display: block;
  background: var(--sand-warm);
  border-left: 4px solid var(--terracotta);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
  text-align: center;
}
.article-body .cta-inline a {
  font-weight: 500;
  font-size: 1.05rem;
}

.article-end-cta {
  background: var(--navy);
  color: white;
  padding: 3rem 1.5rem;
  text-align: center;
  margin-top: 3rem;
  border-radius: 4px;
}
.article-end-cta h3 { color: white; font-size: 1.75rem; margin-bottom: 0.5rem; }
.article-end-cta p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.article-end-cta .btn { background: var(--terracotta); }
.article-end-cta .meta { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 1rem; margin-bottom: 0; }

.guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.guide-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(28,43,64,0.08);
}
.guide-card .eyebrow {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}
.guide-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.guide-card h3 a { color: var(--navy); }
.guide-card .summary { color: var(--muted); font-size: 0.95rem; }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 720px;
  margin: 0 auto;
  background: var(--navy);
  color: white;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 999;
  display: none;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; color: rgba(255,255,255,0.92); flex: 1 1 280px; }
.cookie-banner a { color: rgba(255,255,255,0.95); text-decoration: underline; }
.cookie-banner .cookie-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-banner button {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.cookie-banner .accept { background: var(--terracotta); color: white; }
.cookie-banner .decline { background: rgba(255,255,255,0.1); color: white; }

/* ---------- POLICY PAGES ---------- */
.policy-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.policy-body h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 0.5rem; }
.policy-body .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2.5rem; }
.policy-body h2 { font-size: 1.4rem; margin: 2.25rem 0 0.75rem; }
.policy-body p, .policy-body ul, .policy-body ol { margin-bottom: 1rem; }
.policy-body ul, .policy-body ol { margin-left: 1.5rem; }
.policy-body li { margin-bottom: 0.4rem; }
