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

:root {
  --blue: #1c5d99;
  --blue-dark: #123b64;
  --blue-light: #4a90d9;
  --navy: #0d2740;
  --dark: #1a2733;
  --gray-bg: #eef2f6;
  --text-muted: #5b6b7a;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: #2a2a2a; line-height: 1.7; background: #fff; }

a { color: var(--blue); }

/* HEADER */
.site-header { border-bottom: 1px solid #e5e5e5; position: sticky; top: 0; background: #fff; z-index: 100; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dark); }
.logo { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.05; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dark); white-space: nowrap; }
.wordmark b { color: var(--blue); font-weight: 700; }
.logo-subtitle { font-family: var(--font-body); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
@media (max-width: 600px) { .wordmark { font-size: 1.3rem; } .header-inner { padding: 10px 16px; } }

.main-nav { display: flex; gap: 32px; }
.main-nav > a { text-decoration: none; color: var(--dark); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color 0.2s, color 0.2s; }
.main-nav > a:hover, .main-nav > a.active { color: var(--blue); border-bottom-color: var(--blue); }

/* DROPDOWN */
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 6px; }
.nav-item > a::after { content: '▾'; font-size: 0.7rem; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #e5e5e5; border-radius: 0 0 6px 6px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); min-width: 220px; padding: 8px 0; z-index: 200; }
.nav-item:hover .dropdown, .nav-item.open .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 20px; text-decoration: none; color: var(--dark); font-size: 0.88rem; font-weight: 500; text-transform: none; letter-spacing: normal; border: none !important; }
.dropdown a:hover { background: var(--gray-bg); color: var(--blue); }

@media (max-width: 860px) {
  .nav-item > a::after { margin-left: auto; }
  .dropdown { position: static; display: none; border: none; box-shadow: none; padding-left: 16px; }
  .nav-item.open .dropdown { display: block; }
}

.header-phone { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1.2; }
.phone-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 600; }
.phone-number { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--dark); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; }

@media (max-width: 860px) {
  .main-nav { display: none; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; padding: 8px 24px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
}

/* HERO */
.hero { position: relative; min-height: 380px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.hero-overlay { width: 100%; display: flex; justify-content: center; padding: 24px; }
.hero-banner { background: rgba(13,39,64,0.92); color: #fff; text-align: center; padding: 40px 56px; max-width: 720px; width: 100%; }
@media (max-width: 600px) {
  .hero { min-height: 260px; }
  .hero-banner { padding: 20px 16px; width: 88%; }
  .hero-overlay { padding: 16px; }
}
.hero-banner .hero-name { display: block; font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 700; letter-spacing: 0.06em; margin-bottom: 12px; }
.hero-tag { font-size: 1rem; font-weight: 400; margin-bottom: 18px; opacity: 0.95; }
.hero-phone { display: inline-block; font-family: var(--font-display); font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 700; color: #fff; text-decoration: underline; text-decoration-color: var(--blue-light); letter-spacing: 0.04em; }

/* PAGE LAYOUT */
.page-wrap { max-width: 1200px; margin: 0 auto; padding: 48px 24px 64px; }
@media (max-width: 600px) { .page-wrap { padding: 28px 16px 40px; } }

/* FORM-FIRST GRID — form on left on desktop, stacks first on mobile */
.content-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .form-sidebar { order: -1; }
  .trust-strip-mobile { order: 0; }
  .content-main { order: 1; }
}
.trust-strip-mobile { display: none; }
@media (max-width: 900px) { .trust-strip-mobile { display: block; } }
.trust-strip-desktop { display: block; }
@media (max-width: 900px) { .trust-strip-desktop { display: none; } }

.title-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.title-row h1, .title-row h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; color: var(--dark); }
.title-row { flex-direction: column; align-items: flex-start; }
.title-img { width: 100%; height: 260px; object-fit: cover; border-radius: 6px; margin-top: 16px; }
@media (max-width: 600px) { .title-img { height: 200px; } }

.content-main p { margin-bottom: 18px; color: #333; }
.content-main h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin: 28px 0 14px; color: var(--dark); }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 700; }

.cta-button { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.05em; padding: 16px 36px; border-radius: 4px; transition: background 0.2s; }
.cta-button:hover { background: var(--blue-dark); }

/* FORM SIDEBAR */
.form-sidebar { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; }
@media (max-width: 900px) { .form-sidebar { position: static; max-height: none; overflow-y: visible; } }
.form-box { background: var(--navy); color: #fff; padding: 28px 28px 32px; border-radius: 6px; }
.form-title { margin-top: 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 6px; letter-spacing: 0.04em; }
.form-sub { text-align: center; font-size: 0.85rem; opacity: 0.9; margin-bottom: 20px; }

.form-box .form-label { display: block; font-weight: 700; font-size: 0.85rem; margin: 14px 0 6px; }
.form-box input[type="text"], .form-box input[type="tel"], .form-box input[type="email"], .form-box textarea {
  width: 100%; padding: 12px 14px; border: none; border-radius: 4px; font-family: var(--font-body); font-size: 0.92rem; color: #2a2a2a; background: #fff;
}
.form-box textarea { resize: vertical; }
.form-box input:focus, .form-box textarea:focus { outline: 3px solid var(--blue-light); }
@media (max-width: 600px) {
  .form-box { padding: 20px 20px 24px; }
  .form-box .form-label { margin: 10px 0 5px; }
  .form-box textarea { height: 60px; }
}

.radio-group { display: flex; flex-direction: column; gap: 8px; background: rgba(255,255,255,0.08); padding: 12px 14px; border-radius: 4px; }
.radio-group label { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 400; cursor: pointer; }
.radio-group input { accent-color: var(--blue-light); width: 16px; height: 16px; }
@media (max-width: 900px) {
  .radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; padding: 10px 12px; }
  .radio-group label { font-size: 0.85rem; }
}

.form-submit { width: 100%; margin-top: 22px; background: #fff; color: var(--blue-dark); border: none; padding: 16px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 4px; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.15s; }
.form-submit:hover { background: var(--blue-light); color: #fff; transform: translateY(-1px); }

.hidden-field { display: none; }

/* FOOTER */
.site-footer { background: var(--navy); color: #ccc; text-align: center; padding: 36px 24px; }
.footer-inner p { margin-bottom: 6px; font-size: 0.92rem; }
.footer-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-subtitle { display: block; font-family: var(--font-body); font-size: 0.75rem; font-weight: 400; color: #999; margin-top: 2px; letter-spacing: 0; text-transform: none; }
.footer-inner a { color: var(--blue-light); text-decoration: none; }
.footer-copy { margin-top: 14px; font-size: 0.78rem; color: #888; }

/* SERVICE CARDS */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 24px 0 32px; }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { border: 1px solid #e5e5e5; border-radius: 6px; overflow: hidden; }
.service-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.service-card-body { padding: 18px 20px; }
.service-card-body h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; color: var(--dark); }
.service-card-body p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* CONTENT BLOCKS */
.content-block { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin: 36px 0; }
.content-block.reverse .block-img { order: 2; }
@media (max-width: 700px) { .content-block, .content-block.reverse .block-img { grid-template-columns: 1fr; order: initial; } .content-block { grid-template-columns: 1fr; } }
.block-img img { width: 100%; height: 220px; object-fit: cover; border-radius: 6px; }
.block-text h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.block-text p { margin-bottom: 0; }

/* INTERNAL LINK STRIP */
.related-services { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.related-services a { background: var(--gray-bg); border: 1px solid #e5e5e5; border-radius: 100px; padding: 8px 18px; font-size: 0.85rem; font-weight: 600; text-decoration: none; color: var(--dark); transition: background 0.2s, color 0.2s; }
.related-services a:hover { background: var(--blue); color: #fff; }

/* CONTACT PAGE */
.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 20px 0 28px; }
.contact-info-list li { font-size: 1rem; }
.contact-info-list strong { color: var(--dark); }

/* TRUST BADGE STRIP */
.trust-strip { background: var(--gray-bg); border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; padding: 20px 24px; }
.trust-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: var(--dark); }
.trust-icon { font-size: 1.3rem; }

/* ===== Photo presentation refresh — 2026-09-06 ===== */
/* Larger, softer-cornered images with depth and a slow hover zoom.
   Replaces the flat 6px-radius thumbnails. */

.title-img {
  height: 340px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(13, 39, 64, 0.16);
}
@media (max-width: 600px) { .title-img { height: 220px; } }

.block-img {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(13, 39, 64, 0.14);
  background: var(--gray-bg);
  line-height: 0;
}
.block-img img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.block-img:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .block-img img { height: 230px; } }

/* Text-only block: used where no distinct photo exists, so the page
   reads as an intentional design rather than a missing image. */
.content-block.text-only { grid-template-columns: 1fr; gap: 0; }
.content-block.text-only .block-text {
  background: var(--gray-bg);
  border-left: 4px solid var(--blue);
  padding: 24px 28px;
  border-radius: 0 10px 10px 0;
}

@media (prefers-reduced-motion: reduce) {
  .block-img img { transition: none; }
  .block-img:hover img { transform: none; }
}



/* ===== PHONE HEADER STANDARD (approved) =====
   Under 600px: hero ~58svh, photo aimed at the floor (center ~80%),
   black name box becomes a slim see-through gradient strip at the bottom of the photo
   showing only the name + tap-to-call number. Tagline hidden on phones only. */
@media (max-width: 600px) {
  .hero { min-height: 58vh; min-height: 58svh; align-items: flex-end; background-position: center 80% !important; }
  .hero-overlay { padding: 0; }
  .hero-banner { background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0.30)); border-radius: 0; padding: 12px 14px 10px; width: 100%; max-width: none; }
  .hero-banner .hero-name { font-size: 1.55rem; margin-bottom: 2px; letter-spacing: 0.05em; }
  .hero-tag { display: none; }
  .hero-phone { font-size: 1.2rem; min-height: 44px; padding: 4px 10px; max-width: none; width: auto; display: inline-flex; align-items: center; justify-content: center; }
}

/* Thank-you page */
.thanks-wrap { max-width: 720px; margin: 0 auto; padding: 56px 24px 72px; text-align: center; }
.thanks-wrap h1, .thanks-wrap h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--dark); margin-bottom: 14px; }
.thanks-wrap p { margin-bottom: 18px; color: #333; }
.thanks-call { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; color: var(--blue); text-decoration: none; margin: 6px 0 22px; }
.thanks-wrap .cta-button { margin: 0 auto; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 24px 0 32px; }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-grid figure { margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(13,39,64,0.14); background: var(--gray-bg); }
.gallery-grid img { width: 100%; height: 280px; object-fit: cover; display: block; }
.gallery-grid figcaption { padding: 10px 14px; font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }

/* Breadcrumb + misc */
.crumbs { font-size: 0.9rem; margin-bottom: 1rem; color: var(--text-muted); }
.faq-item { border-bottom: 1px solid #e5e5e5; padding: 14px 0; }
.faq-item h3 { margin: 0 0 6px !important; }
.faq-item p { margin-bottom: 0 !important; }
.privacy-main { max-width: 800px; margin: 0 auto; padding: 48px 24px 64px; }
.privacy-main h1 { font-family: var(--font-display); margin-bottom: 4px; }
.privacy-updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }
.privacy-main h2 { font-family: var(--font-display); margin-top: 32px; margin-bottom: 10px; font-size: 1.25rem; }
.privacy-main p, .privacy-main li { line-height: 1.7; }
.privacy-main ul { padding-left: 22px; margin-bottom: 14px; }

/* ===== DARK THEME — matches Albany Epoxy (2026-10-19) =====
   Black hero box, near-black footer, electric-blue accent, blue quote form. */
:root {
  --blue: #0066FF;
  --blue-dark: #0052CC;
  --blue-light: #4d94ff;
  --navy: #111111;
  --dark: #1c1c1c;
  --gray-bg: #f4f4f2;
  --text-muted: #555;
}
.wordmark b, .main-nav > a:hover, .main-nav > a.active { color: var(--blue); }
.phone-number { color: var(--blue); }
.hero { background-color: #111; }
.hero-banner { background: rgba(0,0,0,0.88); border-radius: 4px; }
.hero-phone { text-decoration-color: #fff; }
.form-box { background: var(--blue); }
.form-box .radio-group { background: rgba(255,255,255,0.12); }
.form-box input:focus, .form-box textarea:focus { outline: 3px solid #fff; }
.radio-group input { accent-color: #fff; }
.form-submit { color: var(--blue); }
.form-submit:hover { background: var(--dark); color: #fff; }
.site-footer { background: var(--dark); }
.footer-inner a { color: #4d94ff; }
.title-img, .block-img, .gallery-grid figure { box-shadow: 0 10px 28px rgba(0,0,0,0.18); }
.check-list li::before { color: var(--blue); }
.aeo-answer { background: #f3f7ff; border-left-color: var(--blue); }
@media (max-width: 600px) {
  .hero-banner { background: linear-gradient(to top, rgba(0,0,0,0.80), rgba(0,0,0,0.35)); border-radius: 0; }
}

/* nav v2 2026-10-19b */
.main-nav { align-items: center; gap: 26px; }
.sub-toggle { background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; font: inherit; color: var(--dark); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 8px 0; display: flex; align-items: center; gap: 6px; }
.sub-toggle .caret { font-size: 0.7rem; transition: transform 0.2s; }
.nav-item.open .caret { transform: rotate(180deg); }
.nav-item > a::after { content: none; }
.sub-toggle:hover, .nav-item.active .sub-toggle { color: var(--blue); border-bottom-color: var(--blue); }
.nav-item:focus-within .dropdown { display: block; }
.dropdown a.active { color: var(--blue); font-weight: 700; }
@media (min-width: 861px) { .dropdown { top: calc(100% - 2px); } }
@media (max-width: 860px) {
  .main-nav { align-items: stretch; max-height: calc(100vh - 70px); overflow-y: auto; z-index: 300; }
  .main-nav > a, .sub-toggle { width: 100%; padding: 14px 0; border-bottom: 1px solid #f0f0f0; font-size: 1rem; }
  .sub-toggle { justify-content: space-between; }
  .nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: none; }
  .nav-item.open .dropdown { display: block; }
  .dropdown { min-width: 0; padding: 0 0 6px 16px; }
  .dropdown a { padding: 11px 0; font-size: 0.95rem; }
}
