/* ===== Trinity Ranch Inn — styles ===== */
:root {
  --green: #2e5d43;
  --green-dark: #21452f;
  --green-light: #4d8265;
  --cream: #f7f1e3;
  --cream-2: #efe6d2;
  --gold: #e0b95f;
  --ink: #2b3830;
  --muted: #66735f;
  --line: #e2dbc9;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(43, 56, 48, 0.12);
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Lora', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: var(--cream); box-shadow: 0 6px 18px rgba(46,93,67,.35); }
.btn-green:hover { background: var(--green-dark); }
.btn-cream { background: var(--cream); color: var(--green-dark); box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.btn-cream:hover { background: #fff; }
.btn-outline-d { border-color: var(--green); color: var(--green-dark); }
.btn-outline-d:hover { background: rgba(46,93,67,.08); }
.btn-outline-l { border-color: rgba(247,241,227,.6); color: var(--cream); }
.btn-outline-l:hover { background: rgba(247,241,227,.12); }
.btn-outline-g { border-color: var(--green); color: var(--green-dark); }
.btn-outline-g:hover { background: rgba(46,93,67,.08); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-lg { padding: 18px 40px; font-size: 1.12rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--green-light);
  margin-bottom: 12px;
}
.eyebrow.light { color: var(--gold); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,241,227,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px var(--green); }
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-family: var(--font-display); font-size: 1.12rem; color: var(--green-dark); }
.brand-text small { color: var(--muted); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.main-nav { display: flex; gap: 22px; }
.main-nav a { color: var(--ink); font-size: .93rem; font-weight: 500; transition: color .15s; }
.main-nav a:hover { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--green-dark); margin: 5px 0; border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(900px 480px at 110% 10%, rgba(224,185,95,.25), transparent 60%),
    linear-gradient(170deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 80px 0 90px;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.14;
  color: var(--green-dark);
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--green-light); }
.hero-sub { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-ctas.center { justify-content: center; }
.hero-note { margin-top: 18px; font-size: .88rem; color: var(--muted); }
.hero-art img {
  width: 100%; max-width: 440px; margin: 0 auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

/* ===== Highlights ===== */
.highlights { background: var(--green); color: var(--cream); padding: 34px 0; }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.hl strong { display: block; font-family: var(--font-display); font-size: 2.1rem; color: var(--gold); }
.hl span { font-size: .88rem; color: rgba(247,241,227,.85); }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-tint { background: var(--cream-2); }
.section-green { background: linear-gradient(165deg, var(--green), var(--green-dark)); color: var(--cream); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-head h2, .split-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.22;
  margin-bottom: 16px;
  color: var(--green-dark);
}
.section-green .section-head h2 { color: var(--cream); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split-copy > p { color: var(--muted); margin-bottom: 20px; }
.checks { list-style: none; }
.checks li {
  padding: 9px 0 9px 30px; position: relative;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
}
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: "✓"; position: absolute; left: 4px; color: var(--green); font-weight: 800; }
.checks.light li { border-color: rgba(247,241,227,.18); color: rgba(247,241,227,.92); }
.checks.light li::before { color: var(--gold); }

.split-photo { position: relative; }
.split-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split-photo figcaption {
  margin-top: 12px; text-align: center;
  font-size: .88rem; color: var(--muted); font-style: italic;
}

/* ===== Rate card ===== */
.rate-card {
  display: grid; grid-template-columns: .9fr 1.1fr;
  background: rgba(247,241,227,.07);
  border: 1px solid rgba(247,241,227,.18);
  border-radius: 20px;
  overflow: hidden;
  max-width: 960px; margin: 0 auto;
}
.rate-photo img { width: 100%; height: 100%; object-fit: cover; }
.rate-body { padding: 38px 36px; }
.rate-body h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 8px; }
.rate-price { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); font-weight: 700; margin-bottom: 18px; }
.rate-price span { font-size: 1rem; color: rgba(247,241,227,.75); font-family: var(--font-sans); font-weight: 500; margin-left: 8px; }
.rate-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 4px 14px rgba(43,56,48,.08); }
.gallery img { width: 100%; height: 200px; object-fit: cover; transition: transform .3s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 10px 14px; font-size: .85rem; color: var(--muted); }
.gallery .wide { grid-column: span 2; }
.gallery-note { text-align: center; margin-top: 30px; color: var(--muted); }
.gallery-note a { color: var(--green); font-weight: 700; }
.gallery-note a:hover { text-decoration: underline; }

/* ===== Map ===== */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ===== Lead form ===== */
.lead-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lead-copy > p { color: var(--muted); margin-bottom: 20px; }
.lead-copy a { color: var(--green); }
.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}
.lead-form label { display: grid; gap: 6px; }
.lead-form label span { font-weight: 600; font-size: .9rem; color: var(--green-dark); }
.lead-form input {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.lead-form input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,93,67,.15);
  background: #fff;
}
.lead-form .btn { width: 100%; }
.lead-form .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.form-status { font-size: .95rem; min-height: 1.2em; }
.form-status.ok { color: var(--green); font-weight: 600; }
.form-status.err { color: #a4432e; font-weight: 600; }
.form-status.err a { color: #a4432e; text-decoration: underline; }
.form-fine { font-size: .78rem; color: var(--muted); }

/* ===== Payments ===== */
.pay-guide { color: var(--muted); }
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pay-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(43,56,48,.07);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.pay-icon { font-size: 2rem; }
.pay-qr {
  width: 130px; height: 130px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}
.pay-card h4 { font-family: var(--font-display); font-size: 1.15rem; color: var(--green-dark); }
.pay-card > p { font-size: .9rem; color: var(--muted); }
.pay-handle { font-weight: 800; font-size: 1.05rem; color: var(--green-dark); word-break: break-all; }
.pay-handle:empty { display: none; }
.pay-note { font-size: .78rem !important; color: var(--muted); margin-top: auto; }
.pay-fine { text-align: center; margin-top: 28px; font-size: .85rem; color: var(--muted); }
.pay-fine a { color: var(--green); font-weight: 700; }

/* ===== Final CTA ===== */
.final-cta {
  background:
    radial-gradient(800px 380px at 50% -20%, rgba(224,185,95,.28), transparent 60%),
    linear-gradient(165deg, var(--green), var(--green-dark));
  color: var(--cream); text-align: center; padding: 88px 0;
}
.final-cta h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 12px; }
.final-cta > .container > p { color: rgba(247,241,227,.85); margin-bottom: 30px; font-size: 1.08rem; }

/* ===== Footer ===== */
.site-footer { background: var(--green-dark); color: rgba(247,241,227,.8); padding: 36px 0; font-size: .92rem; }
.footer-inner { text-align: center; }
.footer-inner p { margin-bottom: 6px; }
.footer-inner a { color: var(--gold); }
.footer-inner a:hover { text-decoration: underline; }
.fine { font-size: .78rem; color: rgba(247,241,227,.5); margin-top: 10px; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .hero-inner, .split, .lead-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 300px; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery, .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .rate-card { grid-template-columns: 1fr; }
  .rate-photo img { max-height: 280px; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); flex-direction: column; gap: 0;
    padding: 10px 24px 20px; border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-burger { display: block; }
}
@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .hero { padding: 50px 0 60px; }
  .gallery, .pay-grid { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: span 1; }
  .gallery img { height: 220px; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .header-actions .btn-outline-g { display: none; }
  .brand-text small { display: none; }
}
