/* ==========================================================================
   Little Owl, Suffolk — littleowlsuffolk.com
   ========================================================================== */

:root {
  --cream: #FAF8F3;
  --ink: #2B2723;
  --dark: #2F2A24;
  --terracotta: #A97147;
  --terracotta-dark: #8C5A36;
  --terracotta-on-dark: #C99B72;
  --body-secondary: #4C463E;
  --muted: #877E71;
  --on-dark-body: #D8CFC0;
  --border: #E9E2D6;
  --input-border: #E0D7C6;
  --panel: #F1EBDF;
  --error: #B0432E;
  --card-shadow: 0 8px 30px rgba(43, 39, 35, 0.06);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Karla', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--terracotta-dark); }
img { display: block; }

/* The contact form toggles elements via the hidden attribute; explicit
   display rules (e.g. .form-card form, .form-sent) must not override it */
[hidden] { display: none !important; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ============ Header ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-lockup { display: flex; align-items: center; gap: 14px; }
.logo-lockup img { mix-blend-mode: multiply; }
.logo-mark { height: 46px; width: auto; }
.logo-stack { display: flex; flex-direction: column; gap: 3px; }
.logo-wordmark { height: 26px; width: auto; }
.logo-suffolk {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--terracotta);
  padding-left: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-nav a { color: var(--ink); transition: color 0.15s ease; }
.site-nav a:hover { color: var(--terracotta); }

.btn-pill,
.site-nav a.btn-pill {
  background: var(--ink);
  color: var(--cream);
  padding: 11px 22px;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.site-nav a.btn-pill:hover,
.btn-pill:hover { background: var(--terracotta); color: var(--cream); }

/* ============ Hero ============ */

.hero {
  position: relative;
  height: 86vh;
  min-height: 560px;
  overflow: hidden;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,26,22,0.18) 0%, rgba(30,26,22,0.05) 40%, rgba(30,26,22,0.55) 100%);
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 32px 56px;
}

.hero-content > div {
  max-width: 1200px;
  margin: 0 auto;
  color: var(--cream);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  max-width: 13ch;
}

.rating-badge {
  background: rgba(250, 248, 243, 0.94);
  color: var(--ink);
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.rating-badge .rating-number {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
}

.rating-badge .rating-detail { font-size: 13px; line-height: 1.5; }

/* ============ Intro ============ */

.intro {
  padding-top: 96px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}

.intro h2 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}

.intro-copy {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--body-secondary);
  max-width: 54ch;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.stat-grid > div { background: var(--cream); padding: 22px; }
.stat-grid p:first-child {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 26px;
}
.stat-grid p:last-child { margin: 0; font-size: 13px; color: var(--muted); }

/* ============ Cottage ============ */

.cottage {
  padding-top: 56px;
  padding-bottom: 56px;
}

.cottage-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.cottage-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.5vw, 42px);
}

.cottage-heading p { margin: 0; font-size: 14px; color: var(--muted); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 300px 300px;
  gap: 16px;
}

.photo-grid figure {
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.photo-grid figure:first-child { grid-column: 1 / 3; grid-row: 1; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }

.photo-grid figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(250, 248, 243, 0.92);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.cottage-note {
  margin: 24px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body-secondary);
  max-width: 70ch;
}

/* ============ Outside / hot tub ============ */

.outside {
  background: var(--dark);
  color: var(--cream);
}

.outside .container {
  padding-top: 88px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.outside .eyebrow { color: var(--terracotta-on-dark); }

.outside h2 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.1;
}

.outside-copy {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--on-dark-body);
}

.outside-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
}

.outside-list > div { display: flex; gap: 12px; align-items: baseline; }
.outside-list .bullet { color: var(--terracotta-on-dark); }

.outside-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 14px;
}

.outside-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.outside-photos img:first-child { grid-column: 1 / 3; }

/* ============ Reviews ============ */

.reviews {
  padding-top: 96px;
  padding-bottom: 96px;
}

.reviews-header { text-align: center; margin-bottom: 48px; }
.reviews-header .eyebrow { margin-bottom: 12px; }

.reviews-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.5vw, 44px);
}

.reviews-header p:last-child { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  margin: 0;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
}

.review-card p {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.4;
  font-style: italic;
}

.review-card footer {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.review-scores {
  background: var(--panel);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
}

.review-scores > div { display: flex; justify-content: space-between; }

/* ============ Location ============ */

.location { background: var(--panel); }

.location .container {
  padding-top: 88px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}

.location-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  border-radius: 16px;
}

.location h2 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.1;
}

.location-copy {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--body-secondary);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.chips span {
  background: var(--cream);
  border: 1px solid var(--input-border);
  padding: 8px 16px;
  border-radius: 999px;
}

/* ============ Booking ============ */

.book {
  padding-top: 100px;
  padding-bottom: 100px;
}

.book-header { text-align: center; margin-bottom: 44px; }

.book-logo {
  height: 90px;
  width: auto;
  margin: 0 auto 26px;
  mix-blend-mode: multiply;
}

.book-header h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
}

.book-header p { margin: 0; font-size: 16px; color: var(--body-secondary); }

.book-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  padding: 24px;
  max-width: 1048px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Centre the injected Smoobu booking widget (third-party DOM) */
#apartmentIframeAll .smoobu-booking-tool-container { max-width: 1000px; margin: 0 auto; }
/* Keep the iframe tall enough for the date-picker dropdown before Smoobu's auto-resizer kicks in */
#apartmentIframeAll iframe { min-height: 620px; }

.book-note {
  margin: 22px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.book-note a { font-weight: 700; }

/* ============ Contact page ============ */

.contact-grid {
  padding-top: 96px;
  padding-bottom: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  min-height: 60vh;
}

.contact-grid h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
}

.contact-intro {
  margin: 0 0 36px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--body-secondary);
  max-width: 50ch;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  color: var(--body-secondary);
}

.contact-details strong { color: var(--ink); }
.contact-details a { font-weight: 700; }

.form-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--card-shadow);
}

.form-card form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field { display: flex; flex-direction: column; gap: 8px; }

.form-field label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--body-secondary);
}

.form-field label .optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 13px 16px;
  outline: none;
}

.form-field textarea { line-height: 1.6; resize: vertical; }

.form-field input:focus,
.form-field textarea:focus { border-color: var(--terracotta); }

.form-error {
  margin: 0;
  font-size: 14px;
  color: var(--error);
  font-weight: 600;
}

.btn-submit {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--cream);
  border: 0;
  cursor: pointer;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  margin-top: 4px;
  transition: background 0.15s ease;
}

.btn-submit:hover { background: var(--terracotta); }
.btn-submit:disabled { cursor: default; opacity: 0.75; }

.form-sent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 48px 12px;
}

.form-sent .form-sent-title {
  font-family: var(--font-display);
  font-size: 34px;
}

.form-sent p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body-secondary);
  max-width: 34ch;
}

.btn-secondary {
  font-family: var(--font-body);
  background: none;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-secondary:hover { background: var(--ink); color: var(--cream); }

/* ============ Legal pages ============ */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 32px 110px;
}

.legal h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
}

.legal .legal-updated {
  margin: 0 0 40px;
  font-size: 14px;
  color: var(--muted);
}

.legal h2 {
  margin: 40px 0 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
}

.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body-secondary);
}

.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }

/* ============ Footer ============ */

.site-footer { border-top: 1px solid var(--border); }

.site-footer .container {
  padding-top: 36px;
  padding-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.footer-links { display: flex; gap: 22px; font-weight: 600; flex-wrap: wrap; }

/* ============ Mobile (breakpoint 820px) ============ */

@media (max-width: 820px) {
  .site-nav { gap: 16px; }
  .site-nav a:not(.btn-pill) { display: none; }

  .hero { height: 70vh; min-height: 480px; }

  .intro {
    grid-template-columns: 1fr;
    padding-top: 64px;
    gap: 36px;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: 200px;
  }

  .photo-grid figure { grid-column: auto; grid-row: auto; }
  .photo-grid figure:first-child { grid-column: 1 / -1; }
  .photo-grid figcaption { font-size: 11px; padding: 5px 10px; }

  .outside .container {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .reviews { padding-top: 64px; padding-bottom: 64px; }
  .reviews-grid { grid-template-columns: 1fr; }

  .location .container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .location-photo { max-height: 360px; }

  .book { padding-top: 64px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .form-card { padding: 28px 22px; }

  .legal { padding-top: 56px; padding-bottom: 64px; }
}
