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

:root {
  --blue-deep:    #0a1f5c;
  --blue-navy:    #0d2d8a;
  --blue-bright:  #1554c9;
  --blue-electric:#2278f0;
  --blue-sky:     #4da6ff;
  --blue-light:   #c8e4ff;
  --blue-pale:    #eaf4ff;
  --white:        #ffffff;
  --off-white:    #f4f8ff;
  --dark-text:    #0a1535;
  --mid-text:     #3a5180;
  --light-text:   #6b8ab5;
  --border:       rgba(21,84,201,0.15);

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Barlow', Arial, sans-serif;
  --max-w:        1200px;
  --header-max-w:  1320px;
  --transition:   0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--dark-text);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── HEADER ── */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--blue-bright);
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 2px 16px rgba(21,84,201,0.12);
}

.header-inner {
  max-width: var(--header-max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}

.logo-wrap { display: flex; align-items: center; gap: 12px; flex-shrink: 0; min-width: 0; }
.logo-img { max-height: 60px; width: auto; flex-shrink: 0; }

.logo-text-primary {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.logo-text-sub {
  font-size: 11px;
  color: var(--mid-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.35vw, 18px);
  flex: 1 1 auto;
  min-width: 0;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.08vw, 15px);
  font-weight: 700;
  color: var(--blue-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue-electric);
  transition: width var(--transition);
}

.main-nav a:hover { color: var(--blue-electric); }
.main-nav a:hover::after { width: 100%; }

.nav-cta {
  background: var(--blue-bright) !important;
  color: var(--white) !important;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 14px !important;
  white-space: nowrap;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  transition: background var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--blue-deep) !important; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--blue-bright); color: var(--white);
  padding: 14px 28px; border-radius: 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: background var(--transition); display: inline-block;
}
.btn-primary:hover { background: var(--blue-deep); }

.btn-outline {
  background: transparent; color: var(--white);
  padding: 14px 28px; border: 2px solid rgba(255,255,255,0.5); border-radius: 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: border-color var(--transition), background var(--transition); display: inline-block;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.12); }

.btn-dark {
  background: var(--blue-deep); color: var(--white);
  padding: 14px 28px; border-radius: 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: background var(--transition); display: inline-block;
}
.btn-dark:hover { background: var(--blue-bright); }

.btn-light-outline {
  background: transparent; color: var(--white);
  padding: 14px 28px; border: 2px solid rgba(255,255,255,0.5); border-radius: 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: background var(--transition), color var(--transition); display: inline-block;
}
.btn-light-outline:hover { background: rgba(255,255,255,0.15); }

.btn-white {
  background: var(--white); color: var(--blue-deep);
  padding: 15px 30px; border-radius: 4px;
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: background var(--transition), color var(--transition); display: inline-block;
}
.btn-white:hover { background: var(--blue-sky); color: var(--white); }

.btn-ghost {
  background: transparent; color: var(--white);
  padding: 15px 30px; border: 2px solid rgba(255,255,255,0.4); border-radius: 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: border-color var(--transition), background var(--transition); display: inline-block;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-navy) 40%, var(--blue-bright) 100%);
  color: var(--white);
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  border: 60px solid rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 80px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-sky);
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-title em { font-style: normal; color: var(--blue-sky); }

.hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  max-width: 480px;
}

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

.hero-image-wrap { position: relative; overflow: hidden; }

.hero-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  mix-blend-mode: luminosity;
}

.hero-image-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--blue-navy) 0%, rgba(13,45,138,0.3) 50%, transparent 100%);
  z-index: 1;
}

/* ── HERO VIDEO ── */
.hero-video-wrap {
  position: relative;
  overflow: hidden;
  align-self: stretch;
}

.hero-video-wrap video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

.hero-video-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--blue-navy) 0%, rgba(13,45,138,0.25) 50%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-navy) 60%, var(--blue-bright) 100%);
  padding: 72px 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 380px; height: 380px;
  border: 50px solid rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.page-hero-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-sky);
  margin-bottom: 16px;
  font-weight: 600;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin-bottom: 32px;
}

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

.page-hero-image {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 3px solid rgba(255,255,255,0.2);
}

.page-hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── SECTIONS ── */
.section { padding: 88px 40px; }
.section--blue-pale { background: var(--blue-pale); }
.section--cream { background: var(--blue-pale); }
.section--off-white { background: var(--off-white); }
.section--white     { background: var(--white); }
.section--dark      { background: var(--blue-deep); color: var(--white); }

.container { max-width: var(--max-w); margin: 0 auto; }

/* ── HEADINGS ── */
.section-label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-electric);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--blue-deep);
  margin-bottom: 18px;
}

.section-title--white { color: var(--white); }
.section-body { font-size: 17px; line-height: 1.8; color: var(--mid-text); max-width: 700px; }
.section-body--center { margin: 0 auto; text-align: center; }
.section-body--wide { max-width: 880px; }
.text-center { text-align: center; }

/* ── CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue-bright);
  border-radius: 6px;
  padding: 36px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover { box-shadow: 0 8px 32px rgba(21,84,201,0.12); transform: translateY(-3px); }

.card-number { font-family: var(--font-display); font-size: 38px; font-weight: 800; color: var(--blue-light); line-height: 1; margin-bottom: 14px; }

.card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--blue-deep); margin-bottom: 12px; }

.card p { font-size: 15px; line-height: 1.75; color: var(--mid-text); }

/* ── SPLIT ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split-image { order: -1; }

.split-image {
  border-radius: 6px; overflow: hidden; aspect-ratio: 4/3;
  border: 3px solid var(--border); position: relative;
}
.split-image::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: var(--blue-bright); }
.split-image img { width: 100%; height: 100%; object-fit: cover; }

.split-content p { font-size: 17px; line-height: 1.8; color: var(--mid-text); margin-bottom: 16px; }

.feature-list { list-style: none; margin-top: 24px; }
.feature-list li { font-size: 15px; color: var(--dark-text); padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.feature-list li::before { content: ''; width: 8px; height: 8px; background: var(--blue-electric); border-radius: 50%; flex-shrink: 0; }

/* ── VALUES ── */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }

.value-item { padding: 36px 32px; background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--blue-electric); border-radius: 6px; }

.value-num { font-family: var(--font-display); font-size: 44px; color: var(--blue-light); font-weight: 800; line-height: 1; margin-bottom: 18px; }

.value-item h3 { font-family: var(--font-display); font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--blue-deep); margin-bottom: 12px; }

.value-item p { font-size: 15px; line-height: 1.75; color: var(--mid-text); }

/* ── STATS ── */
.intro-strip { background: var(--white); padding: 72px 40px; border-bottom: 1px solid var(--border); }
.intro-strip-inner { max-width: 900px; margin: 0 auto; text-align: center; }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }

.stat-item { padding: 36px; text-align: center; border-right: 1px solid var(--border); background: var(--white); }
.stat-item:last-child { border-right: none; }

.stat-num { font-family: var(--font-display); font-size: 52px; font-weight: 800; color: var(--blue-bright); line-height: 1; margin-bottom: 8px; }
.stat-label { font-family: var(--font-display); font-size: 14px; color: var(--mid-text); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }

/* ── SERVICE AREAS ── */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }

.area-tag { background: var(--white); border: 2px solid var(--blue-bright); border-radius: 4px; padding: 14px; text-align: center; font-family: var(--font-display); font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue-deep); transition: background var(--transition), color var(--transition); }
.area-tag:hover { background: var(--blue-bright); color: var(--white); }

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-navy) 50%, var(--blue-bright) 100%);
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before { content: ''; position: absolute; top: -80px; right: -80px; width: 400px; height: 400px; border: 60px solid rgba(255,255,255,0.05); border-radius: 50%; pointer-events: none; }
.cta-section .section-label { color: var(--blue-sky); }
.cta-section p { font-size: 18px; color: rgba(255,255,255,0.75); max-width: 580px; margin: 0 auto 40px; line-height: 1.75; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── OWNER ── */
.owner-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; }

.owner-image { border-radius: 6px; overflow: hidden; aspect-ratio: 3/4; border: 3px solid var(--border); position: relative; }
.owner-image::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 5px; background: var(--blue-bright); }
.owner-image img { width: 100%; height: 100%; object-fit: cover; }

.owner-tag { display: inline-block; background: var(--blue-pale); border: 2px solid var(--blue-electric); border-radius: 4px; padding: 6px 16px; font-family: var(--font-display); font-size: 12px; color: var(--blue-electric); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }

/* ── FLOORING TYPES ── */
.flooring-types-wrap { display: flex; flex-direction: column; }

.flooring-item { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.flooring-item:last-child { border-bottom: none; }
.flooring-item-image { aspect-ratio: 16/9; overflow: hidden; }
.flooring-item-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.flooring-item:hover .flooring-item-image img { transform: scale(1.04); }

.flooring-item-content { padding: 48px 56px; display: flex; flex-direction: column; justify-content: center; background: var(--white); }
.flooring-item:nth-child(even) .flooring-item-content { background: var(--blue-pale); }
.flooring-item:nth-child(odd) .flooring-item-image { order: -1; }

.flooring-item-content h2 { font-family: var(--font-display); font-size: 30px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; color: var(--blue-deep); margin-bottom: 16px; }
.flooring-item-content p { font-size: 16px; line-height: 1.8; color: var(--mid-text); margin-bottom: 12px; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }

.contact-info-card { background: linear-gradient(160deg, var(--blue-deep), var(--blue-navy)); border-radius: 6px; padding: 44px 36px; color: var(--white); border-top: 5px solid var(--blue-sky); }
.contact-info-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 30px; color: var(--white); }

.contact-detail { margin-bottom: 26px; }
.contact-detail-label { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-sky); margin-bottom: 5px; font-weight: 700; }
.contact-detail-value { font-size: 17px; color: rgba(255,255,255,0.9); }
.contact-detail-value a { color: var(--blue-sky); transition: color var(--transition); }
.contact-detail-value a:hover { color: var(--white); }

.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field label { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); }

.form-field input, .form-field select, .form-field textarea { padding: 13px 16px; font-size: 16px; font-family: var(--font-body); color: var(--dark-text); background: var(--white); border: 2px solid var(--border); border-radius: 4px; transition: border-color var(--transition), box-shadow var(--transition); outline: none; width: 100%; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(21,84,201,0.12); }
.form-field textarea { resize: vertical; min-height: 120px; }

.form-submit { background: var(--blue-bright); color: var(--white); padding: 16px 36px; font-size: 18px; font-weight: 800; font-family: var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; border: none; border-radius: 4px; cursor: pointer; transition: background var(--transition); width: 100%; }
.form-submit:hover { background: var(--blue-deep); }

.map-wrap { border-radius: 6px; overflow: hidden; margin-top: 36px; border: 2px solid var(--border); }

/* ── FOOTER ── */
.site-footer { background: var(--blue-deep); color: rgba(255,255,255,0.65); padding: 60px 40px 36px; border-top: 4px solid var(--blue-electric); }

.footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }

.footer-brand .logo-text-primary { color: var(--white); }
.footer-brand .logo-text-sub { color: rgba(255,255,255,0.45); }
.footer-brand p { font-size: 14px; line-height: 1.75; margin-top: 14px; color: rgba(255,255,255,0.55); max-width: 280px; }

.footer-col h4 { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-sky); margin-bottom: 18px; font-weight: 700; }
.footer-col a { display: block; font-size: 15px; color: rgba(255,255,255,0.65); margin-bottom: 10px; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }

.footer-bottom { max-width: var(--max-w); margin: 24px auto 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.3); }

/* ── SOCIAL ICONS ── */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  flex-shrink: 0;
}

.social-link:hover {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  color: var(--white);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ── HAMBURGER BUTTON (hidden on desktop) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blue-deep);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }



/* ── NAVIGATION REFINEMENT ──
   Keeps the larger menu clean after adding Projects, Blog, Bathrooms, etc. */
@media (min-width: 1101px) {
  .main-nav a { white-space: nowrap; }
}

@media (max-width: 1240px) and (min-width: 1101px) {
  .header-inner { padding: 0 18px; gap: 14px; }
  .logo-img { max-height: 54px; }
  .logo-text-primary { font-size: 17px; }
  .logo-text-sub { display: none; }
  .main-nav { gap: 10px; }
  .main-nav a { font-size: 13px; letter-spacing: 0.045em; }
  .nav-cta { padding: 9px 12px; font-size: 13px !important; }
}

/* Switch to the drawer before the nav has a chance to wrap or look jumbled. */
@media (max-width: 1100px) {
  .header-inner { padding: 0 20px; min-height: 68px; }
  .logo-img { max-height: 52px; }
  .logo-text-primary { font-size: 18px; }
  .logo-text-sub { font-size: 10px; }

  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 86vw);
    height: 100vh;
    background: var(--blue-deep);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 88px 32px 40px;
    z-index: 10000;
    transition: right 0.3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.25);
    overflow-y: auto;
  }

  .main-nav.open { right: 0; }

  .main-nav a {
    color: rgba(255,255,255,0.88);
    font-size: 20px;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    letter-spacing: 0.06em;
  }

  .main-nav a::after { display: none; }
  .main-nav a:hover { color: var(--blue-sky); }

  .nav-cta {
    margin-top: 24px;
    background: var(--blue-bright) !important;
    text-align: center;
    border-radius: 4px;
    padding: 14px 20px !important;
    border-bottom: none !important;
    width: 100%;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
  }
  .nav-overlay.open { display: block; }
}

/* ── TABLET (900px) ── */
@media (max-width: 900px) {

  /* Header */
  .header-inner { padding: 0 20px; height: 68px; }
  .logo-img { max-height: 52px; }
  .logo-text-primary { font-size: 18px; }

  /* Hamburger */
  .nav-toggle { display: flex; }

  /* Nav drawer */
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--blue-deep);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 88px 32px 40px;
    z-index: 10000;
    transition: right 0.3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.25);
    overflow-y: auto;
  }

  .main-nav.open { right: 0; }

  .main-nav a {
    color: rgba(255,255,255,0.85);
    font-size: 20px;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .main-nav a::after { display: none; }
  .main-nav a:hover { color: var(--blue-sky); }

  .nav-cta {
    margin-top: 24px;
    background: var(--blue-bright) !important;
    text-align: center;
    border-radius: 4px;
    padding: 14px 20px !important;
    border-bottom: none !important;
    width: 100%;
  }

  /* Overlay behind nav */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
  }
  .nav-overlay.open { display: block; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: 52px 24px 44px;
    order: 1;
  }

  .hero-title { font-size: 38px; }
  .hero-desc { font-size: 16px; }

  .hero-video-wrap {
    order: 0;
    height: 260px;
    min-height: unset;
  }

  .hero-video-wrap::before {
    background: linear-gradient(180deg, transparent 40%, var(--blue-navy) 100%);
  }

  /* Page hero */
  .page-hero { padding: 48px 24px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-image { order: -1; aspect-ratio: 16/9; }
  .page-hero h1 { font-size: 32px; }
  .page-hero p { font-size: 16px; }

  /* Intro strip */
  .intro-strip { padding: 52px 24px; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-num { font-size: 40px; }

  /* Sections */
  .section { padding: 52px 24px; }
  .section-title { font-size: 28px; }

  /* Cards */
  .cards-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }

  /* Split layouts */
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split-image { order: 0; }
  .split-image { aspect-ratio: 16/9; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }

  /* Areas */
  .areas-grid { grid-template-columns: repeat(2, 1fr); }

  /* Owner */
  .owner-wrap { grid-template-columns: 1fr; gap: 32px; }
  .owner-image { aspect-ratio: 16/9; max-width: 100%; }

  /* Flooring types */
  .flooring-item { grid-template-columns: 1fr; }
  .flooring-item:nth-child(odd) .flooring-item-image { order: 0; }
  .flooring-item-content { padding: 32px 24px; }
  .flooring-item-content h2 { font-size: 24px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-info-card { padding: 32px 24px; }

  /* Form two-col row */
  .form-two-col { grid-template-columns: 1fr !important; }

  /* CTA */
  .cta-section { padding: 60px 24px; }
  .cta-section .section-title { font-size: 28px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions a { width: 100%; max-width: 320px; text-align: center; }

  /* Footer */
  .site-footer { padding: 48px 24px 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  /* Social links */
  .social-links { gap: 10px; }
}

/* ── MOBILE (480px) ── */
@media (max-width: 480px) {
  .logo-text-primary { font-size: 15px; }
  .logo-text-sub { display: none; }

  .hero-content { padding: 40px 20px 36px; }
  .hero-title { font-size: 32px; }
  .hero-video-wrap { height: 220px; }

  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; }

  .page-hero-actions { flex-direction: column; }
  .page-hero-actions a { text-align: center; }

  .section { padding: 44px 20px; }
  .intro-strip { padding: 44px 20px; }
  .cta-section { padding: 48px 20px; }
  .page-hero { padding: 40px 20px; }

  .areas-grid { grid-template-columns: 1fr; }

  .stat-num { font-size: 36px; }
  .section-title { font-size: 24px; }
}

/* ── RECAPTCHA BADGE ── */
.grecaptcha-badge {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  z-index: 9999 !important;
}


/* ── BATHROOM REMODEL PAGE UPGRADES ── */
.bathroom-hero {
  padding: 84px 40px;
}

.bathroom-hero-inner {
  grid-template-columns: 0.92fr 1.08fr;
  gap: 46px;
}

.bathroom-hero-copy {
  max-width: 560px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.92);
  padding: 8px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bathroom-hero-collage {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  grid-template-rows: 260px 210px;
  gap: 14px;
  position: relative;
}

.bathroom-hero-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.22);
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}

.bathroom-hero-collage .collage-main {
  grid-row: 1 / span 2;
  border-radius: 8px;
}

.bathroom-hero-collage .collage-tall,
.bathroom-hero-collage .collage-small {
  border-radius: 8px;
}

.section-heading-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: end;
  margin-bottom: 42px;
}

.bathroom-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

.bathroom-photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--blue-deep);
  border: 1px solid var(--border);
  box-shadow: 0 12px 34px rgba(10,31,92,0.10);
}

.bathroom-photo--large {
  grid-column: span 2;
  grid-row: span 2;
}

.bathroom-photo--wide {
  grid-column: span 2;
}

.bathroom-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, opacity 0.55s ease;
}

.bathroom-photo:hover img {
  transform: scale(1.045);
  opacity: 0.86;
}

.bathroom-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.45;
  background: linear-gradient(180deg, rgba(10,31,92,0), rgba(10,31,92,0.92));
  transform: translateY(0);
}

.bathroom-seo-band .split {
  align-items: stretch;
}

.split-image--portrait {
  aspect-ratio: 3/4;
}

.mini-service-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.mini-service-cloud span {
  background: var(--blue-pale);
  border: 1px solid var(--border);
  color: var(--blue-deep);
  border-radius: 999px;
  padding: 9px 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .bathroom-hero {
    padding: 48px 24px;
  }

  .bathroom-hero-inner {
    grid-template-columns: 1fr;
  }

  .bathroom-hero-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px;
    order: -1;
  }

  .section-heading-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bathroom-photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }

  .bathroom-photo--large,
  .bathroom-photo--wide {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .bathroom-hero-collage {
    display: block;
  }

  .bathroom-hero-collage img {
    height: 260px;
    margin-bottom: 12px;
  }

  .bathroom-hero-collage .collage-small {
    display: none;
  }

  .hero-badges span {
    font-size: 12px;
  }

  .bathroom-photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .bathroom-photo--large,
  .bathroom-photo--wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ── CLEAN PHOTO LAYOUT FIXES ─────────────────────────────
   This section tightens the bathroom page so the project photos
   line up neatly instead of feeling scattered or uneven.
────────────────────────────────────────────────────────── */
.section--cream { background: var(--blue-pale); }

.bathroom-hero {
  padding: 76px 40px;
}

.bathroom-hero-inner {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 52px;
  align-items: center;
}

.bathroom-hero-collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, 230px);
  gap: 18px;
  align-items: stretch;
}

.bathroom-hero-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 4px solid rgba(255,255,255,0.22);
  box-shadow: 0 18px 45px rgba(0,0,0,0.24);
  background: rgba(255,255,255,0.12);
}

.bathroom-hero-collage .collage-main {
  grid-row: 1 / span 2;
}

.bathroom-hero-collage .collage-tall,
.bathroom-hero-collage .collage-small {
  grid-row: auto;
}

.bathroom-gallery-section {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.section-heading-row {
  max-width: 960px;
  margin: 0 auto 42px;
  display: block;
  text-align: center;
}

.section-heading-row .section-body {
  margin: 0 auto;
  max-width: 760px;
}

.bathroom-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.bathroom-photo,
.bathroom-photo--large,
.bathroom-photo--wide {
  grid-column: auto;
  grid-row: auto;
}

.bathroom-photo {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(21,84,201,0.16);
  box-shadow: 0 12px 28px rgba(10,31,92,0.09);
}

.bathroom-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.bathroom-photo:hover img {
  transform: scale(1.025);
  opacity: 1;
}

.bathroom-photo figcaption {
  position: static;
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 92px;
  padding: 18px 20px;
  background: var(--white);
  color: var(--mid-text);
  border-top: 4px solid var(--blue-bright);
  font-size: 15px;
  line-height: 1.55;
}

.bathroom-photo:nth-child(1) img,
.bathroom-photo:nth-child(4) img {
  object-position: center;
}

.bathroom-photo:nth-child(3) img,
.bathroom-photo:nth-child(5) img {
  object-position: center top;
}

/* Make image/text split sections cleaner too */
.split-image {
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(10,31,92,0.09);
}

.card,
.value-item,
.area-tag {
  border-radius: 12px;
}

@media (max-width: 1000px) {
  .bathroom-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bathroom-photo img {
    height: 280px;
  }
}

@media (max-width: 900px) {
  .bathroom-hero {
    padding: 48px 24px;
  }

  .bathroom-hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .bathroom-hero-collage {
    order: -1;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 200px;
    gap: 14px;
  }

  .bathroom-hero-collage .collage-main {
    grid-column: 1 / span 2;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .bathroom-photo-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bathroom-photo img {
    height: 265px;
  }

  .bathroom-hero-collage {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .bathroom-hero-collage img,
  .bathroom-hero-collage .collage-main,
  .bathroom-hero-collage .collage-tall,
  .bathroom-hero-collage .collage-small {
    grid-column: auto;
    grid-row: auto;
    height: 245px;
    margin: 0;
  }

  .bathroom-hero-collage .collage-small {
    display: none;
  }

  .bathroom-photo figcaption {
    min-height: auto;
  }
}


/* ── HOMEPAGE PHOTO + SEO REFRESH ───────────────────────────── */
.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-navy) 48%, var(--blue-bright) 100%);
  color: var(--white);
  padding: 86px 40px;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -110px;
  right: -110px;
  width: 520px;
  height: 520px;
  border: 70px solid rgba(255,255,255,0.045);
  border-radius: 50%;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(77,166,255,0.18), transparent 34%), radial-gradient(circle at 82% 80%, rgba(255,255,255,0.10), transparent 30%);
  pointer-events: none;
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 58px;
  align-items: center;
}

.home-hero-copy .hero-title {
  max-width: 650px;
}

.home-badges {
  margin-bottom: 30px;
}

.home-hero-gallery {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  grid-template-rows: 235px 235px;
  gap: 18px;
}

.home-hero-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  border: 4px solid rgba(255,255,255,0.22);
  box-shadow: 0 22px 56px rgba(0,0,0,0.26);
  background: rgba(255,255,255,0.1);
}

.home-hero-gallery .home-hero-main {
  grid-row: 1 / span 2;
}

.home-stats-row {
  max-width: var(--max-w);
  margin: 56px auto 0;
  grid-template-columns: repeat(4, 1fr);
}

.home-stats-row .stat-num {
  font-size: 38px;
}

.home-projects-section {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.home-section-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 46px;
}

.home-section-row .section-body {
  max-width: none;
}

.home-project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.home-project-card {
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(21,84,201,0.16);
  box-shadow: 0 16px 36px rgba(10,31,92,0.10);
}

.home-project-card--wide {
  grid-column: span 2;
}

.home-project-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-project-card:hover img {
  transform: scale(1.025);
}

.home-project-card figcaption {
  padding: 20px 22px;
  border-top: 4px solid var(--blue-bright);
}

.home-project-card strong {
  display: block;
  font-family: var(--font-display);
  color: var(--blue-deep);
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.home-project-card span {
  display: block;
  color: var(--mid-text);
  font-size: 15px;
  line-height: 1.6;
}

.home-service-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.home-service-card {
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
}

.home-service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.home-service-card .card-number,
.home-service-card h3,
.home-service-card p,
.home-service-card a {
  margin-left: 28px;
  margin-right: 28px;
}

.home-service-card .card-number {
  margin-top: 28px;
}

.home-service-card p {
  margin-bottom: 18px;
}

.home-service-card a {
  display: inline-block;
  margin-bottom: 30px;
  font-family: var(--font-display);
  color: var(--blue-bright);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-service-card a:hover {
  color: var(--blue-deep);
}

.home-split-feature .split-image,
.home-polaroid-stack {
  aspect-ratio: 4 / 3;
}

.btn-blue-outline {
  color: var(--blue-deep) !important;
  border-color: rgba(21,84,201,0.25) !important;
}

.home-seo-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 16px;
}

.home-seo-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: 3px solid var(--border);
  box-shadow: 0 14px 30px rgba(10,31,92,0.10);
}

.home-seo-photo-grid img:first-child {
  grid-row: 1 / span 2;
}

.home-keywords span {
  background: var(--white);
}

.home-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 46px;
}

.home-process-grid .value-num {
  font-size: 34px;
  color: var(--blue-bright);
}

.home-areas-grid {
  max-width: 900px;
  margin: 36px auto 0;
}

.home-final-cta {
  background-image: linear-gradient(135deg, rgba(10,31,92,0.96), rgba(13,45,138,0.94), rgba(21,84,201,0.92)), url('../images/1302.jpg');
  background-size: cover;
  background-position: center;
}

@media (max-width: 1050px) {
  .home-project-grid,
  .home-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-service-cards {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {
  .home-hero {
    padding: 52px 24px;
  }

  .home-hero-inner,
  .home-section-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-hero-gallery {
    order: -1;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 190px;
  }

  .home-hero-gallery .home-hero-main {
    grid-column: 1 / span 2;
    grid-row: auto;
  }

  .home-stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .home-section-row {
    text-align: center;
  }

  .home-section-row .section-body {
    margin: 0 auto;
    max-width: 760px;
  }

  .home-seo-photo-grid {
    order: -1;
  }
}

@media (max-width: 600px) {
  .home-hero-gallery,
  .home-seo-photo-grid,
  .home-project-grid,
  .home-process-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .home-hero-gallery img,
  .home-hero-gallery .home-hero-main,
  .home-seo-photo-grid img,
  .home-seo-photo-grid img:first-child {
    grid-column: auto;
    grid-row: auto;
    height: 245px;
  }

  .home-hero-gallery img:nth-child(3) {
    display: none;
  }

  .home-stats-row {
    grid-template-columns: 1fr;
  }

  .home-project-card,
  .home-project-card--wide {
    grid-column: auto;
  }

  .home-project-card img,
  .home-service-card img {
    height: 245px;
  }
}
