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

:root {
  --sand:       #f2deb1;
  --sand-light: #faf6ee;
  --sand-dark:  #e8cc8e;
  --charcoal:   #1b1b1b;
  --brown:      #827557;
  --brown-dark: #50462d;
  --gray:       #5e5e5e;
  --white:      #ffffff;
  --max-w:      1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--sand-light);
}

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

a { color: inherit; }

/* ─── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.5rem;
  background: rgba(250, 246, 238, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(130, 117, 87, 0.18);
  transition: background 0.3s;
}

.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex; align-items: center; gap: 2.25rem;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brown);
  border-bottom-color: var(--brown);
}

.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 1.6rem; color: var(--charcoal);
  padding: 0.25rem;
  line-height: 1;
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  height: 100vh; min-height: 640px;
  position: relative;
  display: flex; align-items: flex-end;
  background-color: var(--brown-dark);
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
}

.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.04) 0%,
    rgba(0,0,0,0.55) 100%);
}

.hero-content {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem 3.5rem;
  text-align: right;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.6rem;
  opacity: 0.85;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
  border-right: 1px solid rgba(255,255,255,0.7);
  padding-right: 1rem;
  display: inline-block;
}

.hero-ctas {
  display: flex; gap: 0.85rem; justify-content: flex-end;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  min-height: 50px;
}

.btn-primary {
  background: var(--sand);
  color: var(--charcoal);
}
.btn-primary:hover { background: #fefcf9; }

.btn-dark {
  background: var(--charcoal);
  color: var(--sand);
}
.btn-dark:hover { background: #333; }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.75);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}
.btn-outline-dark:hover { background: var(--charcoal); color: var(--sand-light); }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5.5rem 0; }
.section-white { background: var(--white); }
.section-sand  { background: var(--sand); }
.section-charcoal { background: var(--charcoal); color: var(--white); }

.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: inherit;
}

.section-divider {
  width: 48px; height: 2px;
  background: var(--sand);
  margin: 0.9rem auto 0;
}
.section-charcoal .section-divider { background: rgba(242,222,177,0.5); }
.section-sand .section-divider { background: rgba(80,70,45,0.35); }

/* ─── DESCRIPTION (centered text block) ─────────────────── */
.description {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray);
  text-align: center;
}

/* ─── FEATURES ───────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--sand-light);
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  border-top: 3px solid var(--sand);
}

.feature-icon { font-size: 1.75rem; margin-bottom: 0.65rem; }

.feature-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.feature-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--brown-dark);
}

.feature-text {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ─── REVIEWS ────────────────────────────────────────────── */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  padding: 1.75rem;
  border-left: 3px solid var(--sand-dark);
  background: var(--sand-light);
  border-radius: 0 6px 6px 0;
}

.review-quote {
  font-size: 0.925rem;
  line-height: 1.75;
  color: var(--gray);
  font-style: italic;
}

.review-author {
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
}

/* ─── CTA BANNER ─────────────────────────────────────────── */
.cta-banner {
  text-align: center;
  padding: 5rem 1.5rem;
}

.cta-banner .section-title { margin-bottom: 0.75rem; }
.cta-banner .description { margin-bottom: 2.25rem; }

/* ─── BOOK PAGE ──────────────────────────────────────────── */
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.book-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.25rem 2rem;
  text-align: center;
  border: 1px solid rgba(130,117,87,0.2);
}

.book-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
  color: var(--brown-dark);
}

.book-card-text {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.placeholder-block {
  background: var(--white);
  border: 2px dashed rgba(130,117,87,0.35);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
}

.placeholder-block p { margin-bottom: 0.4rem; }
.placeholder-block strong { color: var(--brown); }

/* ─── STORY PAGE ─────────────────────────────────────────── */
.story-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--charcoal);
}

.story-body p { margin-bottom: 1.5rem; }
.story-body h2 { font-family: 'Playfair Display', Georgia, serif; margin-bottom: 1rem; color: var(--brown-dark); }

.story-share {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(130,117,87,0.2);
}

.story-share-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 1rem;
}

.story-share-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.85; }
.share-facebook { background: #1877f2; color: #fff; }
.share-x        { background: #000;    color: #fff; }
.share-whatsapp { background: #25d366; color: #fff; }

/* ─── BOOK DIRECT BANNER ─────────────────────────────────── */
.book-direct-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 4rem 1.5rem;
}

.book-direct-cta {
  text-align: center;
  flex-shrink: 0;
}

/* ─── CONTACT PAGE ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 0.4rem;
}

.form-input {
  border: 1.5px solid rgba(130,117,87,0.35);
  border-radius: 6px;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus { border-color: var(--brown); }

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Hidden by default; Formspree Ajax library toggles display */
[data-fs-success] { display: none; }
[data-fs-error]:not(:empty) { display: block; }

.form-success {
  text-align: center;
  padding: 3rem 2rem;
  margin-bottom: 1.5rem;
  background: var(--sand-light);
  border-radius: 8px;
  border: 2px solid var(--sand-dark);
}

.form-success p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--brown-dark);
}

.form-error-global {
  font-size: 0.88rem;
  color: #c0392b;
  margin-bottom: 1rem;
  padding: 0.6rem 0.9rem;
  background: #fdf0ef;
  border-radius: 6px;
  border-left: 3px solid #c0392b;
}

.form-field-error {
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 0.25rem;
}

.form-input[aria-invalid="true"] {
  border-color: #c0392b;
}

.why-direct-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.why-direct-list li {
  padding: 0.65rem 0 0.65rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--gray);
  border-bottom: 1px solid rgba(130,117,87,0.12);
  line-height: 1.6;
}

.why-direct-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brown);
  font-weight: 700;
}

.contact-card {
  background: var(--sand-light);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--sand-dark);
}

.contact-card-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 0.35rem;
}

.contact-card-number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  color: var(--brown-dark);
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.contact-card-number:hover { color: var(--brown); }

.contact-card-email { font-size: 1rem; }

.contact-card-note {
  font-size: 0.82rem;
  color: var(--gray);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--sand);
  margin-bottom: 0.3rem;
}

.footer-address {
  font-size: 0.82rem;
  color: rgba(242,222,177,0.6);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(242,222,177,0.5);
}

.footer-social a {
  font-size: 0.8rem;
  color: var(--sand);
  text-decoration: none;
  opacity: 0.75;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.footer-social a:hover { opacity: 1; }

/* ─── PAGE HERO (interior pages) ────────────────────────── */
.page-hero {
  padding-top: 120px;
  padding-bottom: 4rem;
  background: var(--white);
  border-bottom: 1px solid rgba(130,117,87,0.15);
}

.page-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--brown-dark);
  margin-bottom: 0.5rem;
}

.page-hero-sub {
  font-size: 1rem;
  color: var(--gray);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .features       { grid-template-columns: repeat(2, 1fr); }
  .reviews        { grid-template-columns: repeat(2, 1fr); }
  .book-grid      { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .book-direct-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }

  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(250,246,238,0.99);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(130,117,87,0.2);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }

  .nav-links.open a {
    padding: 0.85rem 1.5rem;
    border-bottom: none;
    display: block;
  }

  .hero { background-attachment: scroll; }
  .hero-content { text-align: center; }
  .hero-title { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.6); padding-right: 0; padding-bottom: 0.5rem; }
  .hero-ctas { justify-content: center; }

  .features   { grid-template-columns: 1fr; }
  .reviews    { grid-template-columns: 1fr; }
  .form-row   { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }
}
