/* =========================================================
   Royal Oak Home Pros — style.css
   Editorial / craftsman-modern aesthetic
   ========================================================= */

:root {
  --ink: #1a1612;
  --ink-soft: #3b332a;
  --paper: #f6f1e8;
  --paper-warm: #ede4d3;
  --cream: #fbf7ef;
  --rust: #b8492a;
  --rust-deep: #8a3320;
  --moss: #4a5d3a;
  --gold: #c89a3c;
  --line: rgba(26, 22, 18, 0.12);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(26, 22, 18, 0.06);
  --shadow-md: 0 12px 40px rgba(26, 22, 18, 0.12);
  --shadow-lg: 0 24px 80px rgba(26, 22, 18, 0.22);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  padding: 6px 14px;
  border: 1px solid currentColor;
  border-radius: 100px;
  margin-bottom: 22px;
}
.eyebrow.dark { color: var(--ink-soft); }
.eyebrow.light { color: var(--cream); border-color: rgba(251, 247, 239, 0.6); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

em { font-style: italic; color: var(--rust); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(246, 241, 232, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}
.nav-logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
  letter-spacing: 0.02em;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.logo-text em { font-weight: 400; color: var(--ink-soft); }
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
  flex-shrink: 0;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--rust); }
.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--rust); transform: translateY(-1px); }

@media (max-width: 720px) {
  .nav-inner { padding: 12px 16px; gap: 10px; }
  .nav-links li:not(:last-child) { display: none; }
  .nav-links { gap: 0; }
  .nav-logo img { height: 32px; max-width: 150px; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
}
@media (max-width: 440px) {
  .nav-inner { padding: 10px 14px; gap: 8px; }
  .nav-logo img { height: 28px; max-width: 120px; }
  .nav-cta { padding: 8px 12px; font-size: 12px; letter-spacing: 0; }
}
@media (max-width: 360px) {
  .nav-logo img { height: 26px; max-width: 100px; }
  .nav-cta { padding: 7px 11px; font-size: 11.5px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('images/royal-oak-craftsman-bungalow.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.05);
  animation: heroDrift 24s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.05) translate(0, 0); }
  to   { transform: scale(1.10) translate(-12px, -8px); }
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(26,22,18,0.55) 100%),
    linear-gradient(180deg, rgba(26,22,18,0.25) 0%, rgba(26,22,18,0.15) 50%, rgba(26,22,18,0.45) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
}

/* GLASSMORPHISM CARD */
.glass-card {
  background: rgba(251, 247, 239, 0.18);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(251, 247, 239, 0.35);
  border-radius: var(--radius-lg);
  padding: 44px 44px 38px;
  color: var(--cream);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.25);
  animation: glassRise 1.1s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes glassRise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.glass-card .eyebrow {
  color: var(--cream);
  border-color: rgba(251, 247, 239, 0.5);
  background: rgba(0,0,0,0.15);
}
.glass-card h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 400;
  margin-bottom: 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.glass-card h1 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(251, 247, 239, 0.92);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-meta {
  display: flex;
  gap: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(251, 247, 239, 0.25);
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--cream);
  line-height: 1;
}
.hero-meta span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.7);
  margin-top: 6px;
}

@media (max-width: 600px) {
  .glass-card { padding: 32px 26px 28px; }
  .hero-meta { gap: 22px; }
  .hero-meta strong { font-size: 1.3rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--rust);
  color: var(--cream);
  box-shadow: 0 8px 24px rgba(184, 73, 42, 0.35);
}
.btn-primary:hover {
  background: var(--rust-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(184, 73, 42, 0.45);
}
.btn-ghost {
  background: rgba(251, 247, 239, 0.12);
  color: var(--cream);
  border: 1px solid rgba(251, 247, 239, 0.45);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(251, 247, 239, 0.22); }
.btn-block { width: 100%; padding: 16px 26px; }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  opacity: 0.85;
}
.scroll-cue span {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--cream));
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-cue small {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* =========================================================
   SECTION HEADER
   ========================================================= */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-header p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-top: 12px;
}

/* =========================================================
   BENTO GRID
   ========================================================= */
.pros-section {
  padding: 110px 28px;
  max-width: 1280px;
  margin: 0 auto;
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 18px;
}

.bento-tile {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
  isolation: isolate;
}
.bento-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(184, 73, 42, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
}
.bento-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 73, 42, 0.35);
}
.bento-tile:hover::before { opacity: 1; }

.tile-feature { grid-column: span 2; grid-row: span 2; background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tile-feature h3 { font-size: 2.2rem; color: var(--cream); }
.tile-feature .tile-tag { background: var(--rust); color: var(--cream); }
.tile-feature .tile-deco { color: rgba(251, 247, 239, 0.08); }
.tile-feature .tile-body p { color: rgba(251, 247, 239, 0.88); }
.tile-feature .tile-link { color: var(--gold); }
.tile-feature:hover { border-color: var(--rust); }

.tile-tall  { grid-column: span 2; grid-row: span 2; }
.tile-wide  { grid-column: span 4; grid-row: span 1; }
.tile-small { grid-column: span 2; grid-row: span 1; }

.tile-small.accent { background: var(--paper-warm); border-color: rgba(184, 73, 42, 0.2); }

.tile-tag {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--paper-warm);
  color: var(--ink-soft);
  margin-bottom: 16px;
}

/* Pro business logos (brand marks) */
.tile-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 0 18px;
  margin-bottom: 4px;
}
.tile-logo img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
}
/* Feature tile (dark background) — add subtle light plate so logos remain visible */
.tile-logo-dark {
  align-self: flex-start;
  background: rgba(251, 247, 239, 0.96);
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.tile-logo-dark img {
  height: 48px;
  max-width: 200px;
}
/* Wide tile — place logo inline on the right instead of top for a horizontal layout */
.tile-wide { position: relative; }
.tile-logo-inline {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 0;
  margin: 0;
  justify-content: flex-end;
  max-width: 40%;
}
.tile-logo-inline img {
  height: 56px;
  max-width: 220px;
  object-position: right center;
}

@media (max-width: 900px) {
  .tile-logo img { height: 40px; max-width: 160px; }
  .tile-logo-dark img { height: 42px; max-width: 170px; }
  /* On mobile the wide tile is full-width — move logo back to the top flow */
  .tile-logo-inline {
    position: static;
    justify-content: flex-start;
    max-width: 100%;
    padding: 8px 0 18px;
  }
  .tile-logo-inline img {
    height: 44px;
    max-width: 180px;
    object-position: left center;
  }
}
@media (max-width: 480px) {
  .tile-logo img { height: 36px; max-width: 140px; }
  .tile-logo-dark { padding: 8px 14px; }
  .tile-logo-dark img { height: 38px; max-width: 150px; }
  .tile-logo-inline img { height: 40px; max-width: 160px; }
}

.tile-body { display: flex; flex-direction: column; gap: 10px; }
.tile-body p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; }

/* Pro metadata — high-end fine print supporting the business name */
.tile-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -2px;
  margin-bottom: 2px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 22, 18, 0.55);
  font-feature-settings: "tnum" 1;
}
.tile-meta .meta-rating,
.tile-meta .meta-longevity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.tile-meta .meta-rating em {
  font-style: normal;
  opacity: 0.5;
  padding: 0 1px;
}
.tile-meta .meta-star {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0;
  margin-right: 2px;
  line-height: 1;
}
.tile-meta .meta-sep {
  color: rgba(26, 22, 18, 0.25);
  font-weight: 400;
}
/* Dark feature tile — lighter fine print so it reads on ink background */
.tile-feature .tile-meta {
  color: rgba(251, 247, 239, 0.65);
}
.tile-feature .tile-meta .meta-sep {
  color: rgba(251, 247, 239, 0.3);
}
@media (max-width: 480px) {
  .tile-meta { font-size: 10px; letter-spacing: 0.1em; gap: 6px; }
}

.tile-link {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rust);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tile-link em {
  font-style: normal;
  transition: transform .25s ease;
  display: inline-block;
}
.bento-tile:hover .tile-link em { transform: translate(3px, -3px); }

.tile-deco {
  position: absolute;
  bottom: -20px;
  right: -8px;
  font-family: var(--font-display);
  font-size: 9rem;
  font-weight: 300;
  color: rgba(26, 22, 18, 0.05);
  pointer-events: none;
  line-height: 1;
}

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-feature, .tile-tall, .tile-small, .tile-wide { grid-column: span 2; grid-row: auto; }
  .tile-feature h3 { font-size: 1.8rem; }
}

/* =========================================================
   QUALITY GUARANTEE — section break with image
   ========================================================= */
.guarantee {
  position: relative;
  padding: 130px 28px;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.guarantee-image {
  position: absolute; inset: 0;
  background-image: url('images/professional-lawn-care.png');
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.guarantee-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(26, 22, 18, 0.85) 0%, rgba(26, 22, 18, 0.55) 60%, rgba(74, 93, 58, 0.35) 100%);
  z-index: -1;
}
.guarantee-content {
  max-width: 720px;
  margin: 0 auto;
}
.guarantee-content h2 em { color: var(--gold); }
.guarantee-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(251, 247, 239, 0.88);
  margin-bottom: 32px;
  max-width: 580px;
}
.guarantee-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
}
.guarantee-list li {
  font-size: 0.98rem;
  color: var(--cream);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(251, 247, 239, 0.18);
}
.guarantee-list li span {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .guarantee-list { grid-template-columns: 1fr; }
}

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact {
  padding: 110px 28px;
  max-width: 1280px;
  margin: 0 auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-copy h2 { margin-bottom: 16px; }
.contact-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 420px;
}
.contact-trust {
  display: flex;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.contact-trust div { display: flex; flex-direction: column; }
.contact-trust strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--rust);
  line-height: 1;
}
.contact-trust span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}

.contact-form {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  position: relative;
  scroll-margin-top: 90px;
}
.form-anchor {
  position: absolute;
  top: -90px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rust);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(184, 73, 42, 0.12);
}
.field textarea { resize: vertical; min-height: 110px; font-family: var(--font-body); }

/* Upgraded provider dropdown — craftsman-modern */
.provider-select {
  position: relative;
}
.provider-select select {
  width: 100%;
  padding: 16px 48px 16px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  box-shadow: 0 2px 0 0 var(--ink), 0 6px 16px rgba(26, 22, 18, 0.08);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.provider-select select:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 0 0 var(--ink), 0 10px 22px rgba(26, 22, 18, 0.12);
}
.provider-select select:focus {
  outline: none;
  border-color: var(--rust);
  box-shadow: 0 2px 0 0 var(--rust), 0 0 0 4px rgba(184, 73, 42, 0.14);
  background: #fff;
}
.provider-select select option {
  font-weight: 500;
  padding: 10px;
  background: var(--cream);
  color: var(--ink);
}
.provider-select select option:checked {
  background: var(--ink);
  color: var(--cream);
}
.provider-select select option:disabled {
  color: rgba(26, 22, 18, 0.3);
  font-weight: 400;
}
.provider-chevron {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  transition: border-color .2s ease;
}
.provider-select select:focus ~ .provider-chevron {
  border-color: var(--rust);
}
.field-help {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.5;
  letter-spacing: 0.005em;
}
.field-help-pro {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed rgba(184, 73, 42, 0.25);
  color: var(--rust-deep);
  font-style: normal;
  font-weight: 500;
}
.field-help-pro strong {
  font-weight: 700;
  color: var(--rust);
}

.btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--cream);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.is-loading .btn-spinner { display: inline-block; }
.is-loading .btn-label { opacity: 0.6; }
.is-loading button { pointer-events: none; }

.form-error {
  margin-top: 14px;
  color: var(--rust-deep);
  font-size: 14px;
  min-height: 20px;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 28px; }
}

/* =========================================================
   PARALLAX LOCAL ANCHOR
   ========================================================= */
.parallax {
  position: relative;
  min-height: 70vh;
  background-image: url('images/royal-oak-farmers-market.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* parallax */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 28px;
  color: var(--cream);
  text-align: center;
  isolation: isolate;
}
.parallax::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 22, 18, 0.55) 0%, rgba(26, 22, 18, 0.7) 100%);
  z-index: -1;
}
.parallax-content { max-width: 760px; }
.parallax-content h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 20px;
}
.parallax-content h2 em { color: var(--gold); }
.parallax-content p {
  font-size: 1.1rem;
  color: rgba(251, 247, 239, 0.88);
  max-width: 580px;
  margin: 0 auto;
}

/* iOS doesn't support background-attachment: fixed well */
@media (max-width: 900px) {
  .parallax { background-attachment: scroll; min-height: 55vh; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 60px 28px 40px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}
.footer-brand small {
  display: block;
  font-size: 12px;
  color: rgba(246, 241, 232, 0.6);
  margin-top: 2px;
}
.footer-nav {
  display: flex;
  gap: 28px;
}
.footer-nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(246, 241, 232, 0.7);
  transition: color .2s ease;
}
.footer-nav a:hover { color: var(--gold); }
.footer-credit {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-credit small {
  font-size: 12px;
  color: rgba(246, 241, 232, 0.6);
}
.footer-credit a {
  color: var(--gold);
  font-weight: 500;
  border-bottom: 1px dotted rgba(200, 154, 60, 0.4);
  transition: color .2s ease, border-color .2s ease;
}
.footer-credit a:hover { color: var(--cream); border-color: var(--cream); }

/* Pro-Link Magnet — sits above agency credit */
.pro-magnet {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(246, 241, 232, 0.14);
  font-size: 12.5px !important;
  color: rgba(246, 241, 232, 0.72) !important;
  letter-spacing: 0.01em;
}
.pro-magnet a {
  color: var(--rust) !important;
  font-weight: 600;
  margin-left: 4px;
  border-bottom: 1px dotted rgba(184, 73, 42, 0.5) !important;
  transition: color .2s ease, border-color .2s ease, letter-spacing .2s ease;
}
.pro-magnet a:hover {
  color: var(--gold) !important;
  border-bottom-color: var(--gold) !important;
  letter-spacing: 0.02em;
}

/* Legal disclaimer — full-width fine print */
.footer-legal {
  max-width: 1280px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 241, 232, 0.1);
}
.footer-legal p {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: 0.015em;
  color: rgba(246, 241, 232, 0.45);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-nav { justify-content: center; }
  .footer-credit { text-align: center; align-items: center; }
  .pro-magnet { padding-left: 16px; padding-right: 16px; }
  .footer-legal { margin-top: 32px; padding: 24px 4px 0; }
  .footer-legal p { font-size: 11px; line-height: 1.65; }
}

/* =========================================================
   THANKS PAGE
   ========================================================= */
.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 28px;
  background:
    radial-gradient(ellipse at top left, rgba(184, 73, 42, 0.08), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(74, 93, 58, 0.06), transparent 50%),
    var(--paper);
}
.thanks-card {
  max-width: 580px;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  box-shadow: var(--shadow-md);
  animation: glassRise .9s cubic-bezier(.2,.8,.2,1) both;
}
.thanks-icon {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--rust);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-size: 32px;
  box-shadow: 0 12px 32px rgba(184, 73, 42, 0.35);
}
.thanks-card h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  margin-bottom: 14px;
}
.thanks-card h1 em { color: var(--rust); }
.thanks-card p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 28px;
}
.thanks-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-secondary {
  background: var(--paper-warm);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}
.thanks-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}
.thanks-footer a {
  color: var(--rust);
  font-weight: 500;
  border-bottom: 1px dotted rgba(184, 73, 42, 0.4);
}
.thanks-footer a:hover { color: var(--rust-deep); }

@media (max-width: 540px) {
  .thanks-card { padding: 44px 28px; }
  .thanks-card h1 { font-size: 2rem; }
}
