/* TD Home Solutions — shared styles */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fbfaf8; }
body { font-family: 'Source Sans 3', sans-serif; color: #1d2733; }
a { color: #1d4e77; text-decoration: none; }
a:hover { color: #2e6da0; }
img { display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ── Header / nav ─────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: #fbfaf8; border-bottom: 1px solid #e6e2db; }
.header-bar { max-width: 1160px; margin: 0 auto; padding: 0 32px; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: Archivo, sans-serif; font-weight: 800; font-size: 17px; color: #16324a; letter-spacing: -0.01em; }
.brand-tag { font-size: 12px; color: #6b7684; letter-spacing: 0.04em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; }
.nav a { color: #3c4856; }
.nav a:hover { color: #16324a; }
.nav a.active { color: #16324a; border-bottom: 2px solid #16324a; padding-bottom: 2px; }
.nav .nav-phone { color: #16324a; font-weight: 700; }
.nav .nav-cta { background: #16324a; color: #ffffff; padding: 10px 20px; border-radius: 6px; font-weight: 700; }
.nav .nav-cta:hover { background: #1d4e77; color: #ffffff; }
.nav-toggle { display: none; }
.nav-burger { display: none; cursor: pointer; padding: 10px; margin: -10px; }
.nav-burger span { display: block; width: 24px; height: 3px; background: #16324a; border-radius: 2px; margin: 5px 0; }

/* ── Buttons ──────────────────────────────────────────── */
.btn { display: inline-block; background: #16324a; color: #ffffff; padding: 15px 30px; border-radius: 6px; font-weight: 700; font-size: 17px; white-space: nowrap; text-align: center; }
.btn:hover { background: #1d4e77; color: #ffffff; }
.btn-outline { display: inline-block; border: 2px solid #c9d4dd; color: #16324a; padding: 13px 28px; border-radius: 6px; font-weight: 700; font-size: 17px; white-space: nowrap; text-align: center; }
.btn-outline:hover { border-color: #16324a; color: #16324a; }

/* ── Type helpers ─────────────────────────────────────── */
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #1d4e77; }
.kicker-light { color: #8fb3cf; }
h1 { margin: 0; font-family: Archivo, sans-serif; font-weight: 800; letter-spacing: -0.02em; color: #16324a; }
h2 { margin: 0; font-family: Archivo, sans-serif; font-weight: 800; letter-spacing: -0.02em; color: #16324a; }

/* ── Home: hero ───────────────────────────────────────── */
.hero { padding-top: 64px; padding-bottom: 56px; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: 52px; line-height: 1.05; text-wrap: balance; }
.hero-sub { margin: 0; font-size: 19px; line-height: 1.55; color: #3c4856; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; margin-top: 6px; flex-wrap: wrap; }
.hero-photo img { width: 100%; height: 560px; object-fit: cover; border-radius: 10px; }

/* ── Home: trust cards ────────────────────────────────── */
.trust { padding-bottom: 64px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-card { background: #ffffff; border: 1px solid #e6e2db; border-radius: 10px; padding: 20px 24px; }
.trust-card b { font-family: Archivo, sans-serif; font-weight: 800; font-size: 18px; color: #16324a; display: block; }
.trust-card span { font-size: 14px; color: #6b7684; margin-top: 4px; display: block; }

/* ── Section headers with side link ───────────────────── */
.sec-white { background: #ffffff; border-top: 1px solid #e6e2db; border-bottom: 1px solid #e6e2db; }
.sec-navy { background: #16324a; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head h2 { font-size: 36px; }
.sec-link { font-weight: 700; font-size: 16px; white-space: nowrap; }
.sec-link-light { color: #ffffff; }
.sec-link-light:hover { color: #8fb3cf; }

/* ── Home: services grid ──────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.svc-item { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 2px solid #16324a; color: inherit; }
.svc-item b { font-family: Archivo, sans-serif; font-weight: 700; font-size: 19px; color: #16324a; }
.svc-item span { font-size: 15px; line-height: 1.55; color: #3c4856; }

/* ── Before / after pairs ─────────────────────────────── */
.ba-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; }
.gal-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 36px; }
.ba-item { display: flex; flex-direction: column; gap: 12px; }
.ba-pair { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
.ba-shot { position: relative; }
.ba-shot img { width: 100%; height: 260px; object-fit: cover; border-radius: 8px; }
.gal-grid .ba-shot img { height: 250px; }
.ba-label { position: absolute; top: 10px; left: 10px; background: rgba(22,50,74,0.85); color: #ffffff; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; pointer-events: none; }
.ba-label-after { background: #ffffff; color: #16324a; }
.ba-caption { background: #ffffff; border-radius: 10px; padding: 12px 18px; font-size: 15px; color: #3c4856; align-self: flex-start; }
.gal-grid .ba-caption { border: 1px solid #e6e2db; }
.ba-caption b { color: #16324a; }

/* ── Home: founder story ──────────────────────────────── */
.crew { padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: 400px minmax(0,1fr); gap: 56px; align-items: center; }
.crew-photo img { width: 100%; height: 420px; object-fit: cover; border-radius: 10px; }
.crew-copy { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.crew-copy h2 { font-size: 32px; }
.crew-copy p { margin: 0; font-size: 17px; line-height: 1.6; color: #3c4856; }
.crew-stats { display: flex; gap: 28px; margin-top: 8px; flex-wrap: wrap; }
.crew-stats b { font-family: Archivo, sans-serif; font-weight: 800; font-size: 28px; color: #16324a; display: block; }
.crew-stats span { font-size: 14px; color: #6b7684; }

/* ── CTA band ─────────────────────────────────────────── */
.cta { padding-top: 64px; padding-bottom: 64px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { margin-bottom: 8px; font-size: 30px; }
.cta p { margin: 0; font-size: 17px; color: #3c4856; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Page intros ──────────────────────────────────────── */
.page-intro { padding-top: 64px; }
.page-intro .kicker { margin-bottom: 12px; }
.page-intro h1 { font-size: 44px; margin-bottom: 12px; }
.page-intro p { margin: 0; font-size: 18px; line-height: 1.55; color: #3c4856; max-width: 620px; }

/* ── Services page ────────────────────────────────────── */
.split { padding-top: 32px; padding-bottom: 32px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.split-photo img { width: 100%; height: 320px; object-fit: cover; border-radius: 10px; }
.split-copy { display: flex; flex-direction: column; gap: 14px; }
.split-copy h2 { font-size: 30px; }
.split-copy p { margin: 0; font-size: 17px; line-height: 1.6; color: #3c4856; }
.more { padding-top: 64px; padding-bottom: 64px; }
.more h2 { font-size: 30px; margin-bottom: 36px; }
.more-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }

/* ── Quote page ───────────────────────────────────────── */
.quote-grid { padding-top: 64px; padding-bottom: 80px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.quote-copy { display: flex; flex-direction: column; gap: 18px; }
.quote-copy h1 { font-size: 40px; }
.quote-copy > p { margin: 0; font-size: 17px; line-height: 1.55; color: #3c4856; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.contact-card { display: flex; flex-direction: column; gap: 2px; border: 1px solid #e6e2db; border-radius: 8px; padding: 16px 20px; background: #ffffff; }
a.contact-card:hover { border-color: #16324a; }
.contact-card .big { font-family: Archivo, sans-serif; font-weight: 700; font-size: 19px; color: #16324a; }
.contact-card .mid { font-family: Archivo, sans-serif; font-weight: 700; font-size: 17px; color: #16324a; }
.contact-card .small { font-size: 14px; color: #6b7684; }
.contact-card .area-title { font-family: Archivo, sans-serif; font-weight: 700; font-size: 16px; color: #16324a; margin-bottom: 6px; }
.contact-card .area-list { font-size: 14px; color: #3c4856; line-height: 1.6; }
.quote-form { background: #ffffff; border: 1px solid #e6e2db; border-radius: 10px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.quote-form .form-title { font-family: Archivo, sans-serif; font-weight: 700; font-size: 19px; color: #16324a; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #3c4856; }
.quote-form input, .quote-form select, .quote-form textarea { border: 1px solid #d7dde3; border-radius: 6px; padding: 11px 14px; font-size: 15px; font-family: inherit; background: #ffffff; }
.quote-form textarea { resize: vertical; }
.quote-form button { background: #16324a; color: #ffffff; border: none; border-radius: 6px; padding: 15px; font-size: 16px; font-weight: 700; font-family: inherit; cursor: pointer; }
.quote-form button:hover { background: #1d4e77; }
.form-note { font-size: 13px; color: #6b7684; text-align: center; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer { background: #16324a; }
.footer-main { max-width: 1160px; margin: 0 auto; padding: 56px 32px 40px; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 300px; }
.footer-brand img { height: 48px; width: auto; align-self: flex-start; }
.footer-brand div { font-size: 14px; color: #8fb3cf; line-height: 1.5; }
.footer-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col .col-title { font-weight: 700; color: #ffffff; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
.footer-col a { color: #b9c9d8; }
.footer-col a:hover { color: #ffffff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.12); }
.footer-legal div { max-width: 1160px; margin: 0 auto; padding: 18px 32px; font-size: 13px; color: #8fb3cf; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; padding-bottom: 44px; }
  .hero h1 { font-size: 40px; }
  .hero-photo img { height: 420px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid, .gal-grid { grid-template-columns: 1fr; }
  .crew { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
  .crew-photo img { height: 360px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split-photo { order: -1; }
  .split-photo img { height: 280px; }
  .quote-grid { grid-template-columns: 1fr; gap: 40px; }
  .sec-head { margin-bottom: 32px; }
}

@media (max-width: 860px) {
  .nav-burger { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; border-top: 1px solid #e6e2db; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid #f0ede7; }
  .nav a.active { border-bottom: 1px solid #f0ede7; color: #16324a; font-weight: 700; }
  .nav .nav-cta { margin-top: 12px; padding: 15px 20px; text-align: center; border-bottom: none; }
}

@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .header-bar { padding: 0 20px; }
  .footer-main { padding-left: 20px; padding-right: 20px; }
  .footer-legal div { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 17px; }
  .hero-photo img { height: 320px; }
  .hero-actions .btn, .hero-actions .btn-outline { flex: 1 1 auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .sec-head h2 { font-size: 28px; }
  .page-intro h1 { font-size: 32px; }
  .quote-copy h1 { font-size: 30px; }
  .crew-copy h2 { font-size: 26px; }
  .split-copy h2, .more h2, .cta h2 { font-size: 25px; }
  .ba-shot img, .gal-grid .ba-shot img { height: 200px; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: 22px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn, .cta-actions .btn-outline { flex: 1 1 auto; }
  .footer-cols { gap: 40px; }
}
