/* ============================================================
   Team Farrell Remodel Landing Page
   Brand blue #08439d + white, amber CTA accent
   Big Shoulders / Figtree
   ============================================================ */

:root {
  --brand: #08439d;
  --brand-deep: #052b66;
  --brand-ink: #031c45;
  --brand-light: #eaf1fc;
  --amber: #f6a821;
  --amber-deep: #d98c07;
  --white: #ffffff;
  --text-dark: #14243d;
  --text-mute: #4e6178;
  --shadow-lg: 0 28px 70px rgba(3, 28, 69, 0.35);
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Figtree", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }

h1, h2, h3, .display {
  font-family: "Big Shoulders", "Big Shoulders Display", sans-serif;
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

.wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.25rem; }

/* Blueprint grid texture */
.grid-bg { position: relative; }
.grid-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* Dimension line eyebrow */
.dim-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: "Figtree", sans-serif;
  font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  font-size: 0.78rem;
}
.dim-label::before, .dim-label::after {
  content: ""; height: 1px; width: 2.2rem; background: currentColor; opacity: 0.6;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--brand);
  box-shadow: 0 4px 18px rgba(3, 28, 69, 0.1);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.6rem; padding-bottom: 0.6rem;
}
.site-header img.logo { height: 56px; width: auto; }
.header-right { display: flex; align-items: center; gap: 1rem; }
.header-license {
  color: var(--brand); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn-call {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--amber);
  color: var(--brand-ink);
  font-weight: 800; font-size: 1.02rem;
  padding: 0.65rem 1.15rem; border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(246, 168, 33, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn-call:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(246,168,33,0.45); }
.btn-call svg { width: 1.05rem; height: 1.05rem; }

@media (max-width: 47.9rem) {
  .header-license { display: none; }
  .site-header img.logo { height: 46px; }
  .btn-call { font-size: 0.92rem; padding: 0.55rem 0.95rem; }
  .hero-copy h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--brand-deep);
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(3,18,46,0.9) 0%, rgba(4,28,72,0.74) 45%, rgba(8,67,157,0.5) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2.75rem 1.25rem 3.25rem;
}
@media (min-width: 64rem) {
  .hero-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: center; padding: 4.5rem 1.25rem 5rem; }
}

.hero-copy { color: var(--white); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(3, 15, 38, 0.78);
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.88rem; font-weight: 600;
  box-shadow: 0 6px 22px rgba(0,0,0,0.4);
}
.hero-badge img { width: 1rem; height: 1rem; }
.hero-badge .stars { color: #fde047; letter-spacing: 0.12em; text-shadow: 0 0 6px rgba(253,224,71,0.55); }

.hero-copy h1 {
  font-size: clamp(2.9rem, 7.5vw, 5.1rem);
  font-weight: 800;
  color: #f2f7ff;
  margin: 1.4rem 0 1.1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6), 0 4px 18px rgba(0,0,0,0.5);
}
.hero-copy h1 .accent {
  color: #fcd34d;
  display: block;
}
.hero-sub {
  font-size: 1.12rem; font-weight: 600;
  color: #e9f0f9;
  max-width: 34rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}
.hero-points {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem;
  margin-top: 1.35rem;
  font-weight: 700; font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}
.hero-points span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-points svg { width: 1.15rem; height: 1.15rem; color: #fbbf24; flex: none; }

/* form card */
.form-card {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.75);
  overflow: hidden;
  max-width: 30rem;
  width: 100%;
  margin: 0 auto;
}
.form-card-header {
  background: linear-gradient(120deg, var(--brand-deep), var(--brand));
  color: var(--white);
  text-align: center;
  padding: 1.35rem 1.5rem 1.25rem;
  position: relative;
}
.form-card-header::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.offer-brand {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase;
  color: #bcd2f2; margin-bottom: 0.35rem;
}
.offer-amount {
  font-family: "Big Shoulders", sans-serif;
  font-size: 3rem; font-weight: 800; line-height: 1;
  color: var(--amber);
  letter-spacing: 0.02em;
}
.offer-what { font-weight: 700; font-size: 1.02rem; margin-top: 0.2rem; }
.offer-note { font-size: 0.8rem; color: #c3d7f2; margin-top: 0.3rem; }

.form-card form { padding: 1.5rem 1.5rem 1.6rem; display: grid; gap: 0.85rem; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.85rem; }
.form-card input, .form-card select, .form-card textarea { min-width: 0; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  font: inherit;
  padding: 0.85rem 1rem;
  border-radius: 0.8rem;
  border: 1px solid #c9d6e8;
  background: #fdfefe;
  color: var(--text-dark);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-card select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234e6178'%3E%3Cpath d='M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1rem; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(8, 67, 157, 0.18);
}
.btn-submit {
  font: inherit; font-weight: 800; font-size: 1.12rem;
  background: linear-gradient(120deg, var(--amber), #f7b93e);
  color: var(--brand-ink);
  border: none; cursor: pointer;
  padding: 1rem 1.25rem;
  border-radius: 0.9rem;
  box-shadow: 0 10px 24px rgba(246, 168, 33, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(246,168,33,0.5); }
.btn-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }
.form-privacy { font-size: 0.76rem; color: var(--text-mute); text-align: center; }
.form-privacy a { color: var(--brand); }

.form-result { padding: 2.2rem 1.6rem; text-align: center; display: none; }
.form-result h3 { font-size: 1.9rem; color: var(--brand); margin-bottom: 0.6rem; }
.form-result p { color: var(--text-mute); font-weight: 500; }
.form-result .btn-call { margin-top: 1.1rem; }

/* ---------- trust strip ---------- */
.trust-strip {
  background: var(--brand-ink);
  color: #d5e3f6;
  border-top: 1px solid rgba(246,168,33,0.35);
}
.trust-strip .wrap {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  padding: 1.1rem 1.25rem;
  font-size: 0.9rem; font-weight: 700;
}
@media (min-width: 48rem) { .trust-strip .wrap { grid-template-columns: repeat(4, 1fr); text-align: center; } }
.trust-strip span { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
.trust-strip svg { width: 1.1rem; height: 1.1rem; color: var(--amber); flex: none; }

/* ---------- sections ---------- */
section { padding: 4.25rem 0; }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 2.75rem; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; color: var(--brand); margin-top: 0.7rem; }
.section-head .dim-label { color: var(--brand); }
.section-head p { color: var(--text-mute); font-weight: 500; margin-top: 0.8rem; }

/* gallery */
.gallery { background: linear-gradient(180deg, var(--white) 0%, var(--brand-light) 100%); }
.gallery-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 48rem) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.tile {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: 0 14px 32px rgba(5, 43, 102, 0.18);
  aspect-ratio: 4 / 3;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tile:hover img { transform: scale(1.05); }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 0.9rem 0.7rem;
  background: linear-gradient(180deg, transparent, rgba(3,20,50,0.85));
  color: var(--white); font-weight: 700; font-size: 0.9rem;
}

/* why cards */
.why { background: var(--brand); }
.why .section-head h2 { color: var(--white); }
.why .section-head .dim-label { color: var(--amber); }
.why .section-head p { color: #c2d5f0; }
.why-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; position: relative; z-index: 1; }
@media (min-width: 48rem) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card {
  background: rgba(3, 24, 60, 0.35);
  border: 1px solid rgba(255,255,255,0.16);
  border-top: 3px solid var(--amber);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  color: #dde9f8;
}
.why-card h3 { font-size: 1.35rem; color: var(--white); margin-bottom: 0.55rem; letter-spacing: 0.04em; }
.why-card p { font-size: 0.95rem; color: #c2d5f0; }

/* process */
.process-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 48rem) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.7rem 1.4rem 1.5rem;
  box-shadow: 0 12px 28px rgba(5,43,102,0.1);
  border: 1px solid #e0eaf6;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: "Big Shoulders", sans-serif;
  font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: var(--amber);
  display: block; margin-bottom: 0.5rem;
}
.step h3 { font-size: 1.3rem; color: var(--brand); margin-bottom: 0.45rem; letter-spacing: 0.04em; }
.step p { font-size: 0.94rem; color: var(--text-mute); }

/* testimonials */
.reviews { background: linear-gradient(135deg, var(--brand) 0%, #063377 55%, var(--brand-ink) 100%); }
.reviews .section-head h2 { color: var(--white); }
.reviews .section-head .dim-label { color: #bcd2f2; }
.reviews-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; position: relative; z-index: 1; }
@media (min-width: 48rem) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-md);
  padding: 1.7rem 1.5rem;
  box-shadow: 0 16px 36px rgba(3,20,50,0.3);
  display: flex; flex-direction: column;
}
.review-stars { color: #fbbf24; font-size: 1.05rem; letter-spacing: 0.12em; margin-bottom: 0.7rem; }
.review-card blockquote { color: #33475c; font-weight: 500; font-size: 0.97rem; flex: 1; }
.review-meta { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid #e3ecf7; }
.review-avatar {
  width: 2.4rem; height: 2.4rem; border-radius: 999px; flex: none;
  background: var(--brand); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.review-meta strong { display: block; font-size: 0.92rem; color: var(--brand-deep); }
.review-meta small { color: var(--brand); font-weight: 700; font-size: 0.78rem; }
.review-meta img { width: 1.5rem; height: 1.5rem; margin-left: auto; opacity: 0.55; filter: grayscale(1); }
.reviews-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--white); border-radius: 999px;
  padding: 0.45rem 1.1rem; font-weight: 800; font-size: 0.9rem; color: var(--brand-deep);
  box-shadow: 0 10px 26px rgba(3,20,50,0.35);
  margin-bottom: 1.2rem;
}
.reviews-badge img { width: 1.1rem; height: 1.1rem; }
.reviews-badge .stars { color: #fbbf24; font-size: 0.8rem; letter-spacing: 0.1em; }

/* service area */
.area .chips { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; max-width: 52rem; margin: 0 auto; }
.chip {
  background: var(--white); border: 1px solid #cddcf1;
  color: var(--brand-deep); font-weight: 700; font-size: 0.9rem;
  padding: 0.45rem 1rem; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(5,43,102,0.07);
}
.area-note { text-align: center; color: var(--text-mute); font-size: 0.9rem; margin-top: 1.4rem; font-weight: 500; }

/* final CTA */
.final-cta { background: var(--brand-deep); padding-bottom: 5.5rem; }
.final-inner {
  position: relative; z-index: 1;
  background: linear-gradient(120deg, var(--amber), #f7b93e);
  border-radius: var(--radius-lg);
  padding: 2.75rem 1.75rem;
  text-align: center;
  color: var(--brand-ink);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.final-inner h2 { font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 800; }
.final-inner p { font-weight: 600; max-width: 36rem; margin: 0.8rem auto 1.5rem; }
.final-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.btn-navy {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--brand); color: var(--white);
  font-weight: 800; font-size: 1.05rem;
  padding: 0.9rem 1.6rem; border-radius: 999px; text-decoration: none;
  box-shadow: 0 10px 26px rgba(3,20,50,0.4);
  transition: transform 0.15s ease;
}
.btn-navy:hover { transform: translateY(-2px); }
.btn-outline-navy {
  display: inline-flex; align-items: center; gap: 0.55rem;
  border: 2px solid var(--brand-deep); color: var(--brand-ink);
  font-weight: 800; font-size: 1.05rem;
  padding: 0.8rem 1.5rem; border-radius: 999px; text-decoration: none;
  transition: background 0.15s ease;
}
.btn-outline-navy:hover { background: rgba(3,20,50,0.08); }

/* footer */
footer {
  background: var(--brand-ink); color: #a9c0de;
  padding: 2.5rem 0 6.5rem;
  font-size: 0.88rem;
}
footer .wrap { display: grid; gap: 1.1rem; text-align: center; justify-items: center; }
footer img.logo {
  height: 64px; width: auto;
  background: var(--white);
  padding: 0.5rem 0.9rem;
  border-radius: 0.9rem;
  box-shadow: 0 8px 22px rgba(0,0,0,0.3);
}
footer a { color: #cfe2f8; }
.fine-print { font-size: 0.78rem; color: #7590b3; max-width: 44rem; }

/* mobile sticky call bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 0.6rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(3, 15, 38, 0.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(246,168,33,0.4);
}
.mobile-bar a {
  flex: 1; text-align: center; text-decoration: none;
  font-weight: 800; font-size: 1rem;
  padding: 0.8rem 0.5rem; border-radius: 0.8rem;
}
.mobile-bar .bar-call { background: var(--amber); color: var(--brand-ink); }
.mobile-bar .bar-quote { background: var(--brand); color: var(--white); }
@media (min-width: 64rem) { .mobile-bar { display: none; } footer { padding-bottom: 2.5rem; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
