/* ============================================================
   The Local Builders — styles.css
   Mobile-first. Hand-edited; no framework, no build step.
   ============================================================ */

:root {
  --navy-deep: #0f2542;
  --navy: #1a365d;
  --navy-light: #21477a;
  --gold: #c5a572;
  --gold-bright: #d4b87f;
  --gold-dark: #a88654;
  --cream: #fafaf7;
  --text: #16223a;
  --text-muted: #5b6478;
  --line: #e6e3dc;
  --white: #ffffff;

  --shadow-soft: 0 4px 24px rgba(15, 37, 66, 0.08);
  --shadow-card: 0 10px 30px rgba(15, 37, 66, 0.15);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --content: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 800; margin: 0; line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }

/* utility */
.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin: 0 0 1rem;
}
.kicker--gold { color: var(--gold-dark); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--gutter);
  background: var(--navy-deep);
  color: var(--white);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
}
.brand__mark { width: 38px; height: 38px; flex: 0 0 38px; }
.brand__text {
  display: flex; flex-direction: column; line-height: 1;
}
.brand__lead {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.brand__main {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 14px;
  transition: background 0.2s ease;
}
.header-cta:hover, .header-cta:focus-visible { background: var(--gold-bright); }
.header-cta svg { color: var(--navy-deep); }
.header-cta span { display: none; }
@media (min-width: 480px) {
  .header-cta span { display: inline; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 85vh;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 37, 66, 0.78), rgba(26, 54, 93, 0.92) 60%, rgba(15, 37, 66, 0.96)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=2400&q=80") center/cover no-repeat,
    var(--navy-deep);
  z-index: -2;
}
.hero::before {
  /* subtle pattern overlay */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.08;
  background-image:
    repeating-linear-gradient(45deg, var(--gold) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(-45deg, var(--gold) 0 1px, transparent 1px 24px);
}
.hero__inner {
  max-width: var(--content);
  margin: 0 auto;
}
.hero__title {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  line-height: 0.92;
  color: var(--white);
  margin: 0.5rem 0 1rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.hero__subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.5rem;
}
.hero__tagline {
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 740px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}
.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  max-width: 560px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .hero__ctas { flex-direction: row; justify-content: center; }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-1px); }
.btn--primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn--primary:hover, .btn--primary:focus-visible { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}
.btn--dark {
  background: var(--navy-deep);
  color: var(--white);
  border-color: var(--navy-deep);
}
.btn--dark:hover, .btn--dark:focus-visible { background: var(--navy); border-color: var(--navy); }

.hero__scroll {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
}
.hero__scroll span { display: inline-block; margin-left: 0.3rem; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---------- trust strip ---------- */
.trust-strip {
  background: var(--navy-deep);
  padding: 2rem var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.trust-strip__inner {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .trust-strip__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: var(--white);
}
.trust-badge--light {
  background: var(--white);
  border-color: var(--line);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}
.trust-badge__copy { display: flex; flex-direction: column; gap: 0.15rem; }
.trust-badge p { margin: 0; font-size: 0.95rem; }
.trust-badge strong { font-weight: 700; }
.stars { color: var(--gold-bright); letter-spacing: 0.15em; font-size: 1.05rem; }
.trust-badge--light .stars { color: #f4b400; }
.g-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--white);
  border-radius: 50%;
  flex: 0 0 48px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.hs-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: #f57c00;
  color: var(--white);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  flex: 0 0 48px;
  font-family: var(--sans);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ---------- about ---------- */
.about {
  background: var(--cream);
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
}
.about__inner {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .about__inner { grid-template-columns: 1fr 1fr; }
}
.about__copy h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--navy-deep);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.about__copy p { color: var(--text-muted); font-size: 1.05rem; }
.about__copy strong { color: var(--text); }
.about__sub {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold-dark);
  margin: 1.5rem 0 2rem;
}
.about__photo {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(15, 37, 66, 0.05), rgba(197, 165, 114, 0.18)),
    url("https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1400&q=80") center/cover no-repeat,
    var(--navy-light);
  box-shadow: var(--shadow-card);
  position: relative;
}
.about__photo::before {
  content: "";
  position: absolute;
  inset: 8% -4% -8% 8%;
  border: 3px solid var(--gold);
  border-radius: 14px;
  z-index: -1;
}

/* ---------- services ---------- */
.services {
  background: var(--navy-deep);
  color: var(--white);
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter);
}
.services__inner {
  max-width: var(--content);
  margin: 0 auto;
  text-align: center;
}
.services__inner h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2.5rem;
}
.services__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 560px) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: left;
  position: relative;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  left: 1.5rem; right: 1.5rem; bottom: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 2px 2px 0 0;
}
.service-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(197, 165, 114, 0.4);
  transform: translateY(-2px);
}
.service-card__icon {
  width: 56px; height: 56px;
  color: var(--gold);
  margin-bottom: 1rem;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: var(--serif);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}
.services__more {
  margin-top: 2.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}
.services__more em {
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}

/* ---------- why us ---------- */
.why-us {
  background: var(--cream);
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
}
.why-us__inner {
  max-width: var(--content);
  margin: 0 auto;
  text-align: center;
}
.why-us__inner h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--navy-deep);
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.why-us__badges {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}
@media (min-width: 560px) { .why-us__badges { grid-template-columns: 1fr 1fr; } }

.why-us__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  text-align: left;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 720px) { .why-us__points { grid-template-columns: 1fr 1fr; } }
.why-us__points li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.why-us__points strong {
  display: block;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-deep);
  margin-bottom: 0.25rem;
}
.why-us__points p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.check {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

/* ---------- photo break ---------- */
.photo-break {
  position: relative;
  isolation: isolate;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?w=2400&q=80") center/cover no-repeat,
    var(--navy);
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
}
.photo-break__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 37, 66, 0.65), rgba(15, 37, 66, 0.82));
  z-index: -1;
}
.photo-break__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* ---------- contact ---------- */
.contact {
  background: var(--navy-deep);
  color: var(--white);
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter);
}
.contact__inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}
.contact__inner h2 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.contact__sub {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.25rem;
}
.contact-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.5rem 2rem;
  border-radius: 14px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.contact-cta:hover { transform: translateY(-1px); }
.contact-cta--primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.contact-cta--primary:hover { background: var(--gold-bright); }
.contact-cta--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.contact-cta--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--white); }

.contact__site {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0 2rem;
  color: var(--gold);
  font-size: 1.05rem;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.15rem;
}

.contact__ask {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
  margin: 0 0 1.25rem;
}
.contact__ask-line {
  display: inline-block;
  width: 180px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  height: 1.2em;
}

.contact__service-area {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin: 0;
}

/* ---------- footer ---------- */
.site-footer {
  background: #0a1b32;
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem var(--gutter) 1.25rem;
}
.site-footer__inner {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  align-items: center;
  text-align: center;
}
@media (min-width: 720px) {
  .site-footer__inner { grid-template-columns: 1fr auto 1fr; text-align: left; }
  .site-footer__phones { justify-self: center; }
  .site-footer__site { justify-self: end; }
}
.brand--footer { justify-self: center; }
@media (min-width: 720px) { .brand--footer { justify-self: start; } }
.site-footer__phones {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
}
.site-footer__phones a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
}
.site-footer__phones a:hover { color: var(--gold-bright); }
.site-footer__phones .sep { color: rgba(255, 255, 255, 0.3); }
.site-footer__site { color: rgba(255, 255, 255, 0.7); margin: 0; }
.site-footer__copy {
  max-width: var(--content);
  margin: 1.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- a11y + niceties ---------- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
