/* ============================================================
   LE PINO RESORTS — Stylesheet
   Palette: deep pine, warm gold, cream — grounded in the name
   Type: Fraunces (display) / Work Sans (body)
   ============================================================ */

:root {
  --pine: #16281d;
  --pine-deep: #0d1a13;
  --pine-soft: #2a4234;
  --cream: #faf6ec;
  --cream-deep: #f0e8d6;
  --gold: #c9a24b;
  --gold-bright: #e3c274;
  --ink: #201e19;
  --ink-soft: #6c6355;
  --white: #ffffff;
  --shadow: 0 20px 50px -20px rgba(13, 26, 19, 0.35);
  --radius: 6px;
  --ease: cubic-bezier(.22,1,.36,1);
}

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

body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  color: var(--pine-deep);
  letter-spacing: -0.01em;
}
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--gold); }

p { line-height: 1.7; color: var(--ink-soft); margin: 0; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

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

::selection { background: var(--gold); color: var(--pine-deep); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--pine-deep); box-shadow: 0 12px 28px -10px rgba(201,162,75,.55); }
.btn-primary:hover { background: var(--gold-bright); }
.btn-dark { background: var(--pine-deep); color: var(--cream); }
.btn-dark:hover { background: var(--pine); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

/* ---------------- Header / Nav ---------------- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
#site-header.solid,
#site-header.scrolled {
  background: rgba(13, 26, 19, 0.94);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 8px 30px -12px rgba(0,0,0,.4);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-word {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: var(--white);
}
.logo-word span { color: var(--gold); font-style: italic; font-weight: 400; }
.logo-img { height: 44px; width: auto; display: block; }
.logo-fallback-text { display: none; align-items: center; gap: 6px; }
.logo-fallback-text span { color: var(--gold); font-style: italic; }

.nav-links {
  display: flex;
  gap: 38px;
}
.nav-links a {
  color: rgba(255,255,255,.82);
  font-size: 0.94rem;
  font-weight: 400;
  letter-spacing: .01em;
  position: relative;
  padding-bottom: 4px;
  transition: color .25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--gold);
  color: var(--pine-deep);
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background .3s, transform .3s var(--ease);
}
.nav-cta:hover { background: var(--gold-bright); transform: translateY(-2px); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px; height: 30px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero (home) ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media, .page-hero-media, .statement-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, var(--pine) 0%, var(--pine-deep) 100%);
}
.hero-media img, .page-hero-media img, .statement-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.18) contrast(1.1) brightness(0.88);
  transform: scale(1.02);
}
.hero-media::after, .page-hero-media::after, .statement-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13,26,19,.15) 0%, rgba(13,26,19,.35) 55%, rgba(13,26,19,.88) 100%),
    linear-gradient(90deg, rgba(13,26,19,.55) 0%, rgba(13,26,19,0) 45%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 110px;
  max-width: 720px;
}
.hero-eyebrow {
  color: var(--gold-bright);
  font-size: 0.82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero h1 em { color: var(--gold-bright); }
.hero-sub {
  color: rgba(255,255,255,.88);
  font-size: 1.08rem;
  max-width: 520px;
  margin-top: 22px;
}
.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,.7);
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.scroll-cue::after {
  content: '';
  display: block;
  width: 1px; height: 30px;
  background: linear-gradient(var(--gold-bright), transparent);
  margin: 10px auto 0;
  animation: scrollcue 1.8s infinite var(--ease);
}
@keyframes scrollcue { 0% { opacity: 0; transform: scaleY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: scaleY(1); } }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero {
  position: relative;
  height: 62vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 60px;
}
.crumb {
  color: rgba(255,255,255,.72);
  font-size: .85rem;
  margin-bottom: 14px;
  letter-spacing: .02em;
}
.crumb a { color: var(--gold-bright); }
.crumb a:hover { text-decoration: underline; }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.page-hero h1 em { color: var(--gold-bright); }

/* ---------------- Layout helpers ---------------- */
.pad { padding: 110px 0; }
.pad-top-only { padding-top: 90px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--gold);
}
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 1.02rem; }

/* ---------------- About / Stay grids ---------------- */
.about-grid, .stay-grid, .cafe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.arch-frame {
  border-radius: 200px 200px 12px 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }

.feature-list { margin-top: 38px; display: grid; gap: 20px; }
.feature-item { display: flex; align-items: center; gap: 16px; }
.feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  color: var(--pine);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-item h4 { font-size: 1rem; font-weight: 500; color: var(--ink); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 38px; }
.col-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.dot-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: .96rem;
}
.dot-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------------- Statement (full bleed quote) ---------------- */
.statement {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.statement-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}
.statement-content h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}

/* ---------------- Celebrate cards ---------------- */
.celebrate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.event-card {
  background: var(--white);
  border: 1px solid rgba(22,40,29,.08);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.event-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--pine-deep);
  color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.event-icon svg { width: 24px; height: 24px; }
.event-card h4 { font-size: 1.12rem; font-weight: 500; margin-bottom: 10px; }
.event-card p { font-size: .92rem; }

/* ---------------- Mini CTA band ---------------- */
.mini-cta {
  background: var(--pine-deep);
  padding: 90px 0;
  text-align: center;
}
.mini-cta h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.mini-cta p { color: rgba(255,255,255,.72); margin-top: 14px; max-width: 480px; margin-left: auto; margin-right: auto; }
.mini-cta .hero-ctas { justify-content: center; margin-top: 32px; }

/* ---------------- Visit / map ---------------- */
.visit { background: var(--cream-deep); padding-bottom: 0; }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.addr {
  margin-top: 26px;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.8;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3.1;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.15) sepia(.08); }

/* ---------------- Footer ---------------- */
.site-footer {
  position: relative;
  background: var(--pine-deep);
  color: rgba(255,255,255,.7);
  padding: 0;
  margin-top: 90px;
}
.site-footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 45%, var(--gold) 100%);
}

/* CTA band across the top of the footer */
.footer-cta { border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.footer-cta h3 { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 400; }
.footer-cta h3 em { color: var(--gold-bright); font-style: italic; }
.footer-cta p { color: rgba(255,255,255,.55); margin-top: 8px; font-size: .95rem; }

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.1fr 1fr;
  gap: 56px;
  padding: 70px 0;
}
.footer-brand .logo-word { margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .92rem; max-width: 280px; line-height: 1.75; }
.footer-col h5 {
  position: relative;
  color: var(--white);
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 26px;
  padding-bottom: 14px;
}
.footer-col h5::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: var(--gold);
}
.footer-col ul li { margin-bottom: 14px; }
.footer-col a {
  color: rgba(255,255,255,.6);
  font-size: .93rem;
  transition: color .25s, padding-left .25s;
}
.footer-col a:hover { color: var(--gold-bright); padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .89rem; color: rgba(255,255,255,.6); line-height: 1.6; }
.footer-contact li.is-inline { align-items: center; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.footer-contact li.is-inline svg { margin-top: 0; }
.footer-contact a { font-size: .89rem; }

.social-row { display: flex; gap: 12px; margin-top: 24px; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75);
  transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.social-row a svg { width: 16px; height: 16px; }
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--pine-deep); transform: translateY(-3px); }

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: .8rem;
  color: rgba(255,255,255,.42);
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.foot-bottom .logo-word { font-size: 1.1rem; }
.foot-links { display: flex; gap: 26px; }
.foot-links a { color: rgba(255,255,255,.5); font-size: .8rem; }
.foot-links a:hover { color: var(--gold-bright); }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--pine-deep);
  display: flex; align-items: center; justify-content: center;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .3s;
  z-index: 900;
  box-shadow: 0 14px 30px -10px rgba(13,26,19,.5);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-bright); }
.back-to-top svg { width: 18px; height: 18px; }

/* ---------------- Contact page ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 46px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 9px;
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(22,40,29,.15);
  border-radius: var(--radius);
  font-family: 'Work Sans', sans-serif;
  font-size: .96rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color .25s, box-shadow .25s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,75,.18);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: 6px; }

.contact-info-card {
  background: var(--pine-deep);
  color: rgba(255,255,255,.82);
  border-radius: var(--radius);
  padding: 44px;
}
.contact-info-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 28px; }
.contact-info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.contact-info-row:last-of-type { margin-bottom: 0; }
.contact-info-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(227,194,116,.14);
  color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 18px; height: 18px; }
.contact-info-row h4 { color: var(--white); font-size: .92rem; font-weight: 500; margin-bottom: 5px; }
.contact-info-row p, .contact-info-row a { color: rgba(255,255,255,.62); font-size: .92rem; line-height: 1.6; }
.contact-info-row a:hover { color: var(--gold-bright); }
.contact-divider { height: 1px; background: rgba(255,255,255,.12); margin: 30px 0; }

/* ---------------- Reveal animations ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .about-grid, .stay-grid, .cafe-grid, .visit-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .arch-frame { order: -1; aspect-ratio: 16/10; border-radius: 90px 90px 12px 12px; }
  .celebrate-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 46px; }
}

@media (max-width: 760px) {
  .footer-cta .container { flex-direction: column; align-items: flex-start; padding-top: 44px; padding-bottom: 44px; }
  .back-to-top { right: 18px; bottom: 18px; width: 42px; height: 42px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--pine-deep);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    z-index: 1100;
  }
  .nav-links.open { display: flex; transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .container { padding: 0 22px; }
  .pad { padding: 74px 0; }
  .celebrate-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 50px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 30px; }
  .contact-info-card { padding: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .statement { min-height: 42vh; }
}
