/* ==========================================================================
   Remodel Kings — Todd Freund Construction
   Navy / Gold / White
   ========================================================================== */

:root {
  --navy: #0a2749;
  --navy-deep: #061a33;
  --navy-soft: #12345e;
  --gold: #c0902e;
  --gold-bright: #d9a63e;
  --gold-pale: #f3e7cd;
  --white: #ffffff;
  --cream: #f7f4ee;
  --ink: #22303e;
  --muted: #5c6b7a;
  --line: #e3ded2;
  --line-navy: rgba(255, 255, 255, 0.14);

  --font-head: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-body: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;

  --container: 1180px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(6, 26, 51, 0.12);
}

/* Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

ul { list-style: none; }
ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 10px 18px;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* Buttons ------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: var(--gold-bright); color: var(--white); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-soft); color: var(--white); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-block { width: 100%; }

/* Eyebrows / section heads ------------------------------------------- */
.eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
  flex: none;
}
.eyebrow-light { color: var(--gold-bright); }
.eyebrow-gold { color: var(--gold-bright); }

.section { padding: 96px 0; }
.section-cream { background: var(--cream); }

.section-navy {
  background: var(--navy);
}
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255, 255, 255, 0.82); }

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 16px; }
.section-lede { font-size: 18px; color: var(--muted); }
.section-navy .section-lede { color: rgba(255, 255, 255, 0.82); }

/* Top bar ------------------------------------------------------------ */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
  flex-wrap: wrap;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar-left, .topbar-right { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.9); }
.topbar-item:hover { color: var(--gold-bright); }
.topbar-item svg { width: 15px; height: 15px; fill: var(--gold); flex: none; }
.topbar-area { color: var(--gold-bright); font-weight: 600; }

/* Header ------------------------------------------------------------- */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(6, 26, 51, 0.1); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand img { width: 170px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav ul a {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-nav ul a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.nav-cta { padding: 11px 22px; font-size: 13px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  color: var(--white);
  background: var(--navy-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url("../images/3346.jpg") center 60% / cover no-repeat;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 26, 51, 0.92) 0%, rgba(6, 26, 51, 0.72) 42%, rgba(6, 26, 51, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 140px;
  max-width: calc(var(--container));
}

.hero h1 {
  color: var(--white);
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 800;
  max-width: 15ch;
  margin-bottom: 22px;
}

.hero-sub {
  max-width: 56ch;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-trust {
  position: relative;
  z-index: 1;
  background: rgba(6, 26, 51, 0.82);
  border-top: 1px solid var(--line-navy);
  backdrop-filter: blur(4px);
}
.hero-trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.trust-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--gold-bright);
  letter-spacing: 0.01em;
}
.trust-item span { font-size: 14px; color: rgba(255, 255, 255, 0.75); }

/* About ---------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.about-text h2 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 20px; }
.about-text > p { margin-bottom: 18px; color: var(--muted); }

.about-points { margin-top: 34px; display: grid; gap: 22px; }
.about-points li {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}
.about-points h3 { font-size: 18px; margin-bottom: 4px; }
.about-points p { color: var(--muted); font-size: 15.5px; }

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 420px; object-fit: cover; }

.about-owner {
  margin-top: 28px;
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 26px 28px;
  border-radius: var(--radius);
}
.about-owner p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 12px;
}
.about-owner footer {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Services -------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--navy-soft);
  border: 1px solid var(--line-navy);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); background: #163a68; }

.service-icon {
  width: 38px;
  height: 38px;
  fill: var(--gold-bright);
  margin-bottom: 18px;
}
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { font-size: 15.5px; }

/* Featured project ------------------------------------------------------ */
.featured-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.featured-text h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 18px; }
.featured-text p { color: var(--muted); margin-bottom: 18px; }
.featured-text .btn { margin-top: 8px; }

.featured-media video {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  background: var(--navy-deep);
}

/* Gallery ---------------------------------------------------------------- */
.gallery-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-deep);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.05); opacity: 0.85; }

.gallery-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(0deg, rgba(6, 26, 51, 0.85), rgba(6, 26, 51, 0));
  color: var(--white);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gallery-item:hover .gallery-label,
.gallery-item:focus .gallery-label { opacity: 1; transform: translateY(0); }

.gallery-item.is-hidden { display: none; }

/* Process ------------------------------------------------------------------ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
}

.process-num {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  color: var(--gold-pale);
  -webkit-text-stroke: 1.5px var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}

.process-step h3 { font-size: 24px; margin-bottom: 4px; }
.process-tag {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.process-step p:last-child { color: var(--muted); font-size: 15.5px; }

.process-note {
  margin-top: 36px;
  text-align: center;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Testimonials ----------------------------------------------------------- */
.testimonial-featured {
  max-width: 840px;
  margin: 0 auto 48px;
  text-align: center;
}
.testimonial-featured blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.6;
  color: var(--white);
}
.testimonial-featured figcaption {
  margin-top: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}
.testimonial-featured figcaption span {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--navy-soft);
  border: 1px solid var(--line-navy);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.testimonial-card blockquote p {
  font-family: var(--font-serif);
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}
.testimonial-card figcaption {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--gold-bright);
}
.testimonial-card figcaption span {
  display: block;
  font-weight: 400;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}

.testimonial-cta {
  align-items: flex-start;
  justify-content: center;
  border-style: dashed;
  background: transparent;
}
.testimonial-cta p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  line-height: 1.4;
}

/* Quote form ---------------------------------------------------------------- */
.quote-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.quote-intro h2 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 18px; }
.quote-intro > p { color: var(--muted); margin-bottom: 30px; }

.quote-contact { display: grid; gap: 18px; }
.quote-contact li {
  border-left: 3px solid var(--gold);
  padding-left: 18px;
}
.quote-contact strong {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
.quote-contact a, .quote-contact span { font-size: 17px; color: var(--ink); }
.quote-contact a:hover { color: var(--gold); }

.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field { margin-bottom: 18px; }

.form-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-field label span { color: var(--gold); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 39, 73, 0.12);
}

.form-field textarea { resize: vertical; }

.hp-field { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }

.form-status { margin-top: 14px; font-weight: 600; min-height: 1.4em; }
.form-status.is-success { color: #1d7a3e; }
.form-status.is-error { color: #b3261e; }

.form-fineprint {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
}

/* Footer --------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
}
.footer-sub {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 18px;
}
.footer-about p:last-child { font-size: 15px; }

.footer-col h3 {
  color: var(--white);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin-top: 8px;
}

.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.78); }
.footer-col a:hover { color: var(--gold-bright); }
.footer-col p { font-size: 15px; margin-bottom: 18px; }

.footer-bar {
  border-top: 1px solid var(--line-navy);
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

/* Lightbox --------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 26, 51, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 48px;
}
.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-size: 44px;
  line-height: 1;
  padding: 12px;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.lightbox button:hover { opacity: 1; color: var(--gold-bright); }

.lightbox-close { top: 18px; right: 24px; font-size: 40px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Reveal (subtle) ----------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* Responsive ------------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-trust-inner { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .featured-grid, .quote-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-photo img { height: 340px; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }

  .topbar-right { display: none; }
  .topbar-email { display: none; }

  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(6, 26, 51, 0.14);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 24px;
    gap: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav-cta { margin-top: 18px; text-align: center; }

  .hero-content { padding-top: 84px; padding-bottom: 96px; }
  .hero-trust-inner { grid-template-columns: 1fr; gap: 14px; }

  .services-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .process-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .lightbox { padding: 16px; }
  .lightbox-prev, .lightbox-next { display: none; }
}
