/* Paradise Land Service — paradiselandservice.com
   Marketing-page styles. Palette + type tokens are in tokens.css, which every page
   links before this file. See docs/design.md for the design system. */

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

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

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--accent); }

input, select, textarea, button { font-family: inherit; min-width: 0; }
input, select, textarea { width: 100%; }
label { min-width: 0; }
::placeholder { color: var(--placeholder); opacity: 1; }

/* Every interactive element gets the same visible ring. */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--green-deep); color: var(--offwhite);
  padding: 12px 18px; border-radius: 2px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase;
  transition: top .12s;
}
.skip-link:focus { top: 8px; color: var(--offwhite); }

.page { max-width: 100%; overflow-x: hidden; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase;
}
.meta {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase;
}

.btn {
  display: inline-block; border: none; border-radius: 2px;
  font-family: var(--display); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.btn-solid { background: var(--fill); color: var(--offwhite); padding: 19px 24px; font-size: 22px; }
.btn-solid:hover { background: var(--fill-hover); color: var(--offwhite); }
.btn-gold { background: var(--gold); color: var(--green-deep); padding: 19px 34px; font-size: 22px; }
.btn-gold:hover { background: var(--gold-bright); color: var(--green-deep); }
.btn-outline { border: 2px solid var(--gold); color: var(--gold); padding: 16px 30px; font-size: 20px; }
.btn-outline:hover { background: var(--gold); color: var(--green-deep); }
.btn-nav { background: var(--green-deep); color: var(--offwhite); padding: 13px 22px; font-size: 17px; }
.btn-nav:hover { background: var(--green-mid); color: var(--offwhite); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--header-rule);
}
.site-header .wrap {
  padding: 12px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.site-header img { height: 56px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.site-nav a.meta { color: var(--green-deep); letter-spacing: .14em; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--green-deep); color: var(--offwhite); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--green-deep) 0%, var(--green-deep) 55%, var(--green-hero) 100%);
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -160px;
  width: 620px; height: 620px; border-radius: 50%;
  border: 2px solid rgba(232,179,74,.28);
}
.hero > * { position: relative; }
.hero-brand {
  padding: clamp(44px,5vw,72px) var(--gutter) 0; text-align: center;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(42px,6.8vw,88px);
  line-height: .95; letter-spacing: .12em; text-transform: uppercase;
}
.hero-body {
  padding: clamp(44px,5vw,72px) var(--gutter) clamp(64px,8vw,108px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
  gap: 64px; align-items: start;
}
.hero-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.hero-rule { width: 44px; height: 3px; background: var(--gold); flex: none; }
.hero-kicker .eyebrow { color: var(--mint); }
.hero h1 {
  margin: 0 0 26px; font-family: var(--display); font-weight: 600;
  font-size: clamp(34px,4.2vw,54px); line-height: 1.06; letter-spacing: .01em;
  color: rgba(251,250,247,.9); text-wrap: balance;
}
.hero-sub {
  margin: 0 0 38px; max-width: 560px; font-size: 21px; line-height: 1.5;
  color: rgba(251,250,247,.82); text-wrap: pretty;
}
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 44px; padding: 0; list-style: none; }
.badges li {
  border: 1px solid rgba(127,208,200,.4); padding: 10px 16px; border-radius: 2px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--offwhite);
}
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.phone-link {
  font-family: var(--display); font-weight: 700;
  font-size: 26px; letter-spacing: .02em; color: var(--offwhite);
}
.phone-link:hover { color: var(--gold); }

/* photo placeholders — swap for <img> when real photos land */
.photo-frame { border: 1px solid rgba(127,208,200,.35); background: rgba(251,250,247,.05); padding: 22px; }
.photo-slot {
  width: 100%;
  background-image: repeating-linear-gradient(135deg, rgba(127,208,200,.16) 0 10px, transparent 10px 20px);
  border: 1px dashed rgba(127,208,200,.5);
  display: flex; align-items: flex-end; padding: 20px;
  font-family: var(--mono); font-size: 12px; line-height: 1.6;
  letter-spacing: .06em; color: var(--mint);
}
.photo-slot--portrait { aspect-ratio: 4/5; }
.photo-slot--square { aspect-ratio: 1/1; }
.photo-frame--light { border-color: rgba(251,250,247,.3); padding: 18px; }
.photo-frame--light .photo-slot {
  background-image: repeating-linear-gradient(135deg, rgba(251,250,247,.16) 0 10px, transparent 10px 20px);
  border-color: rgba(251,250,247,.45); color: rgba(251,250,247,.85); padding: 18px;
}

/* ---------- services ---------- */
.services { background: var(--seafoam); }
.services .wrap { padding: 104px var(--gutter) 96px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 48px; flex-wrap: wrap;
}
.section-head .eyebrow { color: var(--green-deep); margin-bottom: 16px; }
.section-head h2 {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(36px,5vw,58px); line-height: 1; text-transform: uppercase;
}
.section-head p {
  margin: 0; max-width: 420px; font-size: 18px; line-height: 1.55;
  color: var(--ink-soft); text-wrap: pretty;
}
/* 1 column on phones, 3 across from tablet up — never 2, so nine cards always fill evenly */
.service-grid {
  display: grid; grid-template-columns: 1fr; gap: 2px;
  background: var(--seafoam-rule); border: 1px solid var(--seafoam-rule);
}
@media (min-width: 760px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: var(--card); padding: 38px 32px 42px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background .15s;
}
.service-card:hover { background: var(--card-hover); }
.service-card .num { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--gold-ink); }
.service-card h3 {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: 30px; line-height: 1.05; text-transform: uppercase;
}
.service-card p { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }

/* ---------- commercial ---------- */
.commercial { background: var(--ocean); color: var(--offwhite); }
.commercial .wrap {
  padding: 92px var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
  gap: 64px; align-items: center;
}
.commercial .eyebrow { color: var(--mint-light); margin-bottom: 18px; }
.commercial h2 {
  margin: 0 0 24px; font-family: var(--display); font-weight: 700;
  font-size: clamp(36px,5.2vw,62px); line-height: .96; text-transform: uppercase;
}
.commercial-copy {
  margin: 0 0 34px; max-width: 560px; font-size: 20px; line-height: 1.55;
  color: rgba(251,250,247,.85); text-wrap: pretty;
}
.point-list {
  display: grid; gap: 2px; background: rgba(251,250,247,.22);
  margin: 0 0 38px; padding: 0; list-style: none;
}
.point-list li {
  background: var(--ocean); padding: 16px 4px 16px 0;
  display: flex; align-items: baseline; gap: 16px;
  font-size: 18px; line-height: 1.45;
}
.point-list li::before {
  content: ""; width: 8px; height: 8px; background: var(--gold);
  flex: none; transform: translateY(-2px);
}

/* ---------- service area ---------- */
.area { background: var(--coastal); }
.area .wrap {
  padding: 96px var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
  gap: 64px; align-items: center;
}
.area .eyebrow { color: var(--ocean-ink); margin-bottom: 16px; }
/* nowrap only where there is room for it — below 600px these headings
   are wider than the viewport and get clipped by .page's overflow-x: hidden */
.area h2 {
  margin: 0 0 22px; font-family: var(--display); font-weight: 700;
  font-size: clamp(28px,3.4vw,44px); line-height: 1.05;
  text-transform: uppercase; text-wrap: balance;
}
@media (min-width: 600px) { .area h2 { text-wrap: nowrap; } }
.area p { margin: 0 0 30px; max-width: 520px; font-size: 19px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
.town-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.town-list li {
  border: 1px solid var(--coastal-line); padding: 9px 15px; border-radius: 2px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.map-frame { border: 1px solid var(--coastal-rule); background: var(--coastal-fill); padding: 18px; }
.map-frame img { display: block; width: 100%; height: auto; }

/* ---------- estimate ---------- */
.estimate { background: var(--green-deep); color: var(--offwhite); }
.estimate .wrap {
  padding: 96px var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(330px,1fr));
  gap: 72px; align-items: start;
}
.estimate .eyebrow { color: var(--mint); margin-bottom: 18px; }
.estimate h2 {
  margin: 0 0 24px; font-family: var(--display); font-weight: 700;
  font-size: clamp(30px,3.4vw,46px); line-height: 1.05;
  text-transform: uppercase; text-wrap: balance;
}
@media (min-width: 600px) { .estimate h2 { text-wrap: nowrap; } }
.estimate-copy {
  margin: 0 0 40px; max-width: 460px; font-size: 20px; line-height: 1.55;
  color: rgba(251,250,247,.82); text-wrap: pretty;
}
.contact-rows { display: grid; gap: 22px; max-width: 420px; margin: 0; }
.contact-row { display: flex; gap: 16px; align-items: baseline; }
.contact-row dt {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--mint); width: 64px; flex: none;
}
.contact-row dd { margin: 0; font-size: 19px; color: rgba(251,250,247,.9); overflow-wrap: anywhere; }
.contact-row .phone-link { font-size: 28px; }

.form-card {
  background: var(--offwhite); color: var(--green-deep);
  padding: 38px 36px 40px; border-top: 4px solid var(--gold);
}
.form-grid { display: grid; gap: 20px; }
/* single column on small phones — two side-by-side inputs land at ~87px there */
.field-pair { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 480px) { .field-pair { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field > span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.field > span .opt { font-style: normal; color: var(--ink-faint); letter-spacing: .1em; }
.field input, .field select, .field textarea {
  border: 1px solid var(--field-rule); background: var(--field-bg);
  padding: 13px 14px; font-size: 16px; color: var(--text);
  border-radius: 2px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.form-note {
  font-family: var(--mono); font-size: 11px; line-height: 1.6;
  letter-spacing: .06em; color: var(--ink-faint);
}
/* Kept in the DOM at all times so the aria-live region is registered
   before text is written into it; collapses to nothing while empty. */
.form-error {
  margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.6;
  letter-spacing: .04em; color: var(--error);
}
.form-error:empty { display: none; }
.form-done { padding: 40px 0; display: grid; gap: 14px; }
.form-done h3 {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: 38px; line-height: 1; text-transform: uppercase;
}
.form-done p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink-soft); }
[hidden] { display: none !important; }

/* honeypot — bots fill it, humans never see it */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-dark); color: rgba(251,250,247,.72); }
.site-footer .wrap {
  padding: 44px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.site-footer a { color: rgba(251,250,247,.72); }
.site-footer a:hover { color: var(--gold); }

/* ---------- standalone pages (coming soon, 404) ----------
 * These live here rather than in a <style> block on each page because the CSP
 * is `style-src 'self' https://fonts.googleapis.com` — no 'unsafe-inline'. An
 * inline <style> is silently dropped by the browser and the page renders naked.
 * If you add another standalone page, put its CSS here too. */

.standalone {
  background: var(--green-deep); color: var(--offwhite);
  min-height: 100svh; display: grid; align-content: center;
  /* The main page gets this from .page; these pages have no such wrapper, so
     without it any accidental overflow becomes a horizontal scrollbar instead
     of being clipped. Same safety net, same reason. */
  max-width: 100%; overflow-x: hidden;
}
.standalone .wrap { padding: 64px var(--gutter); max-width: 720px; }
.standalone .eyebrow { color: var(--mint); margin-bottom: 18px; }
.standalone h1 {
  margin: 0 0 22px; font-family: var(--display); font-weight: 700;
  font-size: clamp(38px,7vw,64px); line-height: 1; text-transform: uppercase;
}
.standalone p { margin: 0 0 20px; font-size: 20px; line-height: 1.55; color: rgba(251,250,247,.82); }
.standalone .hero-actions { margin: 34px 0 0; }

/* coming-soon placeholder */
/* native size — the master is 120x72 and @2x covers retina, so scaling up only softens it */
.soon-logo { width: 120px; height: auto; margin-bottom: 34px; }
.soon-rows {
  margin: 40px 0 0; padding-top: 28px;
  border-top: 1px solid rgba(173,205,190,.28);
  display: grid; gap: 18px;
}
@media (min-width: 560px) {
  .soon-rows { grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); }
}
.soon-rows dt {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--seafoam); margin-bottom: 6px;
}
.soon-rows dd { margin: 0; font-size: 17px; line-height: 1.5; }
.soon-rows dd a { color: var(--offwhite); }
.soon-rows dd a:hover { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
