/*
Theme Name: Smiles for Land
Theme URI: https://smilesforland.com
Author: Precise Wolf
Description: Custom nationwide land-buyer theme inspired by the approved Lone Star Ranch Land layout.
Version: 1.0.0
Text Domain: smilesforland
*/

:root {
  --ink: #252722;
  --cream: #f6f2e9;
  --paper: #ffffff;
  --teal: #6fa6a4;
  --teal-dark: #3f7776;
  --copper: #ad6d5f;
  --sage: #dce5dc;
  --line: #d8ddd8;
  --shadow: 0 18px 50px rgba(32, 48, 42, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-dark); }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 92px 0; }
.eyebrow { margin: 0 0 10px; color: var(--copper); font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin: 0 0 18px; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p { margin: 0 0 1.25rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.32rem); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 13px 28px; border: 2px solid var(--teal); border-radius: 999px;
  color: #0f1c1b; background: var(--teal); font-weight: 800; text-decoration: none;
  box-shadow: 0 6px 0 rgba(63,119,118,.22); transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); background: #84b8b6; }
.btn--ghost { border-color: #fff; background: #fff; }
.btn--dark { color: #fff; border-color: var(--ink); background: var(--ink); }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(0,0,0,.06); backdrop-filter: blur(12px); }
.nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 1.3rem; font-weight: 800; line-height: 1.05; text-decoration: none; }
.brand svg { width: 58px; height: 58px; }
.brand__text span { display: block; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a { color: var(--ink); font-size: .92rem; font-weight: 700; text-decoration: none; }
.nav-toggle { display: none; border: 0; background: none; font-size: 2rem; color: var(--copper); }

.hero { position: relative; min-height: 760px; color: #fff; background: #20302f; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,30,29,.91) 0%, rgba(18,30,29,.68) 42%, rgba(18,30,29,.15) 78%), url("assets/images/hero-landscape.jpg") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 170px; background: linear-gradient(transparent, #fff); }
.hero__inner { position: relative; z-index: 1; padding: 125px 0 200px; max-width: 760px; }
.hero .eyebrow { color: #ffd8c7; }
.hero h1 { text-shadow: 0 3px 18px rgba(0,0,0,.45); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 30px 0 24px; }
.hero__note { font-weight: 700; }

.stats { position: relative; z-index: 3; margin-top: -92px; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 32px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat strong { display: block; color: var(--teal-dark); font-size: 2.45rem; line-height: 1; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split__image { min-height: 510px; border-radius: 46% 54% 52% 48% / 45% 43% 57% 55%; background: url("assets/images/alabama-back-taxes.jpg") center/cover; box-shadow: var(--shadow); }
.checks { padding: 0; list-style: none; }
.checks li { position: relative; margin: 0 0 17px; padding-left: 34px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fff; background: var(--teal-dark); width: 24px; height: 24px; border-radius: 50%; text-align: center; font-weight: 900; line-height: 24px; }

.steps-section { background: var(--cream); }
.steps-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { padding: 34px; background: #fff; border-radius: var(--radius); box-shadow: 0 12px 30px rgba(38,48,43,.08); }
.step__number { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 24px; border-radius: 50%; color: #fff; background: var(--copper); font-size: 1.2rem; font-weight: 900; }

.offer-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; margin-top: 54px; padding: 52px; border-radius: var(--radius); color: #fff; background: var(--teal-dark); box-shadow: var(--shadow); }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.lead-form label { display: block; color: rgba(255,255,255,.86); font-size: .8rem; font-weight: 700; }
.lead-form input, .lead-form textarea, .lead-form select { width: 100%; margin-top: 6px; padding: 14px 16px; border: 0; border-radius: 13px; font: inherit; }
.lead-form textarea { min-height: 116px; resize: vertical; }
.lead-form .wide { grid-column: 1 / -1; }
.lead-form button { cursor: pointer; }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.trust-card__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 24px; border-radius: 18px; background: var(--sage); font-size: 1.7rem; }

.reasons { background: #20302f; color: #fff; }
.reason-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.reason { min-height: 370px; padding: 28px; border-radius: 26px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(transparent 18%, rgba(0,0,0,.84)), var(--reason-image) center/cover; }
.reason p { margin: 0; color: rgba(255,255,255,.85); }

.blog-preview { background: var(--cream); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 40px; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.post-card { overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: 0 12px 34px rgba(34,48,43,.1); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { padding: 28px; }
.post-card__meta { color: var(--copper); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.post-card h3 a { color: var(--ink); text-decoration: none; }

.page-hero { padding: 105px 0 85px; color: #fff; background: linear-gradient(90deg, rgba(18,30,29,.93), rgba(18,30,29,.5)), url("assets/images/hero-landscape.jpg") center 58%/cover; }
.content-wrap { width: min(860px, calc(100% - 40px)); margin-inline: auto; padding: 72px 0 96px; }
.article-hero { margin: 34px 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-content h2 { margin-top: 2.35rem; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.article-content h3 { margin-top: 1.7rem; }
.article-content ul, .article-content ol { padding-left: 1.35rem; }
.article-content .notice { padding: 20px 24px; border-left: 5px solid var(--copper); background: var(--cream); }
.faq details { margin: 14px 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; }
.faq summary { cursor: pointer; font-weight: 800; }

.site-footer { padding: 62px 0 28px; color: #fff; background: #182422; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer a { color: #dce9e6; }
.copyright { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.13); font-size: .85rem; color: rgba(255,255,255,.64); }
.empty-state { padding: 42px; border-radius: var(--radius); background: var(--cream); text-align: center; }

@media (max-width: 900px) {
  .menu { display: none; position: absolute; inset: 88px 0 auto; padding: 24px; background: #fff; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .menu.is-open { display: flex; }
  .nav-toggle { display: block; }
  .nav > .btn { display: none; }
  .split, .offer-panel { grid-template-columns: 1fr; }
  .steps, .trust-grid { grid-template-columns: 1fr; }
  .reason-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; }
  .hero__inner { padding-top: 100px; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .section { padding: 68px 0; }
  .nav { min-height: 78px; }
  .brand { font-size: 1.05rem; }
  .brand svg { width: 48px; height: 48px; }
  .menu { inset-block-start: 78px; }
  .hero::before { background: linear-gradient(rgba(18,30,29,.74), rgba(18,30,29,.68)), url("assets/images/hero-landscape.jpg") 58% center/cover; }
  .hero__inner { padding: 72px 0 160px; }
  .hero__actions .btn { width: 100%; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .split__image { min-height: 340px; }
  .offer-panel { padding: 28px; }
  .lead-form { grid-template-columns: 1fr; }
  .lead-form .wide { grid-column: auto; }
  .reason-grid, .post-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; }
}
