/* Simple Bathroom Remodeling Site
   Brand color sampled from provided logo image: #104273
*/

:root {
  --brand-blue: #104273;
  --brand-blue-dark: #092c50;
  --brand-blue-soft: #eaf2f8;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-100: #eef1f4;
  --gray-200: #d8dee6;
  --gray-500: #647083;
  --gray-700: #344052;
  --gray-900: #111827;
  --gold: #f5a623;
  --shadow: 0 18px 45px rgba(16, 66, 115, 0.12);
  --shadow-soft: 0 10px 24px rgba(17, 24, 39, 0.08);
  --radius: 22px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--brand-blue);
  border-radius: 10px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--gray-100);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: max-content;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  overflow: hidden;
  flex: 0 0 54px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(16, 66, 115, 0.22);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong {
  display: block;
  color: var(--brand-blue-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--gray-700);
  font-size: 0.94rem;
  font-weight: 750;
}

.main-nav a {
  padding: 28px 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand-blue);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  color: var(--white);
  background: var(--brand-blue);
  border-radius: 999px;
  font-weight: 850;
  box-shadow: 0 10px 20px rgba(16, 66, 115, 0.2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--brand-blue);
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--white), var(--off-white));
}

.hero-image {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -2;
  width: 100%;
  max-width: 1400px;
  transform: translateX(-50%);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}


.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.62) 20%, rgba(255,255,255,0.06) 50%);
}

.hero-inner {
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(520px, 100%);
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--brand-blue-dark);
  line-height: 1.08;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 5.4rem);
  letter-spacing: -0.055em;
}

.hero-copy p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 30px;
  color: var(--gray-700);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

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

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 850;
  transition: transform 170ms ease, background-color 170ms ease, box-shadow 170ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--brand-blue);
  box-shadow: 0 13px 26px rgba(16, 66, 115, 0.25);
}

.btn-primary:hover {
  background: var(--brand-blue-dark);
}

.btn-secondary {
  color: var(--brand-blue);
  background: rgba(255,255,255,0.88);
  border-color: rgba(16, 66, 115, 0.35);
}

.btn-secondary:hover {
  background: var(--brand-blue-soft);
}

.btn-light {
  color: var(--brand-blue);
  background: var(--white);
}

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

.intro-band {
  background: var(--white);
  border-block: 1px solid var(--gray-100);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.intro-grid div {
  padding: 28px 24px;
  border-right: 1px solid var(--gray-100);
}

.intro-grid div:last-child {
  border-right: 0;
}

.intro-grid strong {
  display: block;
  color: var(--brand-blue-dark);
  font-size: 1rem;
}

.intro-grid span {
  display: block;
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 0.94rem;
}

.section {
  padding: 86px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading h2,
.process-copy h2,
.contact-card h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -0.04em;
}

.section-heading p:last-child,
.process-copy p:not(.eyebrow),
.contact-card p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--gray-500);
}

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

.feature-card,
.project-card,
.review-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  padding: 32px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  color: var(--brand-blue);
  background: var(--brand-blue-soft);
  border-radius: 16px;
  font-size: 1.3rem;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.feature-card p {
  margin: 0;
  color: var(--gray-500);
}

.work-section {
  background:
    radial-gradient(circle at 6% 0%, rgba(16,66,115,0.06), transparent 30%),
    linear-gradient(180deg, var(--off-white), var(--white));
}

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

.project-card {
  overflow: hidden;
}

.project-image {
  position: relative;
  min-height: 245px;
  background:
    linear-gradient(135deg, rgba(16,66,115,0.35), rgba(255,255,255,0.12)),
    linear-gradient(135deg, #e3ded6, #bfb4aa 45%, #81776e);
  background-size: cover;
  background-position: center;
}

.project-image span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 12px;
  color: var(--white);
  background: rgba(16,66,115,0.92);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.project-body {
  padding: 22px;
}

.project-body h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.project-body p {
  margin: 0;
  color: var(--gray-500);
}

.process-section {
  background: var(--white);
}

.process-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(34px, 8vw, 90px);
  align-items: center;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: 18px;
}

.process-list span {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--brand-blue);
  border-radius: 14px;
  font-weight: 900;
}

.process-list strong {
  color: var(--brand-blue-dark);
}

.reviews-section {
  background: var(--off-white);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.review-card {
  margin: 0;
  padding: 30px;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.08em;
}

.review-card blockquote {
  margin: 12px 0 18px;
  color: var(--gray-700);
  font-size: 1.05rem;
}

.review-card figcaption {
  color: var(--brand-blue-dark);
  font-weight: 850;
}

.contact-section {
  padding: 76px 0;
  background: var(--brand-blue);
  color: var(--white);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)),
    var(--brand-blue-dark);
  border-radius: 30px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.24);
}

.contact-card h2,
.contact-card .eyebrow,
.contact-card p {
  color: var(--white);
}

.contact-card p:not(.eyebrow) {
  color: rgba(255,255,255,0.78);
}

.contact-actions {
  min-width: 250px;
  justify-content: flex-end;
}

.site-footer {
  background: #071f38;
  color: rgba(255,255,255,0.78);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a:hover {
  color: var(--white);
}

@media (max-width: 940px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav,
  .header-phone {
    display: none;
  }




  .main-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding-bottom: 18px;
  }

  .main-nav.is-open a {
    padding: 14px 0;
    border-top: 1px solid var(--gray-100);
  }

  .intro-grid,
  .feature-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--gray-100);
  }

  .intro-grid div:last-child {
    border-bottom: 0;
  }

  .process-wrap,
  .review-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .hero,
  .hero-inner {
    min-height: 600px;
  }

  .hero::after {
    background: rgba(255,255,255,0.88);
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .section {
    padding: 64px 0;
  }

  .feature-card,
  .review-card,
  .contact-card {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
