/* Idaho Custom Bath mockup. Colors from their logo: navy #0e2c44, sky blue #3fb6e6. */
:root {
  --navy: #0e2c44;
  --navy-900: #081b2b;
  --navy-700: #1b3d58;
  --sky: #3fb6e6;
  --sky-dark: #1d6f99;
  --sky-soft: #dcf0f9;
  --light: #eef5f8;
  --ink: #13222f;
  --muted: #4b5b68;
  --white: #fff;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: 2.5rem;
  --container: 76rem;
  --section-pad: 6rem;
  --radius: 10px;
  --radius-lg: 20px;
  --ribbon-h: 28px;
}
@media (max-width: 991px) { :root { --pad: 2rem; --section-pad: 4.5rem; } }
@media (max-width: 479px) { :root { --pad: 1.25rem; --section-pad: 3.75rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--ribbon-h) + 5.5rem); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; padding-top: var(--ribbon-h); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 2.875rem); font-weight: 800; color: var(--navy); }
h3 { font-size: 1.25rem; font-weight: 700; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.container { width: 100%; max-width: calc(var(--container) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--muted); }
.measure { max-width: 38rem; }
.tagline { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-dark); }
.tagline.light { color: var(--sky); }
.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* Ribbon */
.ribbon { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--ribbon-h); display: flex; align-items: center; justify-content: center; padding: 0 .75rem; background: var(--navy-900); color: #cfe3ee; font-size: .75rem; line-height: 1.2; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) { :root { --ribbon-h: 34px; } .ribbon { white-space: normal; font-size: .6875rem; padding: 0 1rem; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.25rem; padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid var(--sky); background: var(--sky); color: var(--navy-900); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.btn:hover { background: #6cc8ee; border-color: #6cc8ee; }
.btn-ghost { background: transparent; border-color: rgb(255 255 255 / .75); color: var(--white); }
.btn-ghost:hover { background: rgb(255 255 255 / .1); border-color: var(--white); }
.btn-sm { min-height: 2.75rem; padding: .5rem 1.15rem; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Nav */
.nav { position: sticky; top: var(--ribbon-h); z-index: 50; background: rgb(255 255 255 / .96); backdrop-filter: blur(8px); border-bottom: 1px solid #e3ebf0; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 5rem; }
.logo img { height: 3.9rem; width: auto; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .9375rem; color: var(--navy); }
.nav-links a:hover { color: var(--sky-dark); }
.nav-call { background: var(--navy); border-color: var(--navy); color: var(--white); }
.nav-call:hover { background: var(--navy-700); border-color: var(--navy-700); }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 479px) {
  .nav-bar { height: 4.25rem; }
  .logo img { height: 2.75rem; }
  .nav-call { padding: .5rem .85rem; font-size: .875rem; }
}

/* Hero */
.hero { padding: 1.25rem 1.25rem 0; }
.hero-card { position: relative; min-height: clamp(32rem, calc(100vh - 10.5rem), 42rem); border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); display: flex; }
.hero-img { position: absolute; top: 0; right: 0; width: 47%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-copy { width: 53%; display: flex; flex-direction: column; justify-content: center; gap: 1.25rem; padding: 3.5rem clamp(2rem, 5vw, 4.5rem); color: var(--white); }
.hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); font-weight: 800; }
.hero .lead { font-size: 1.1875rem; color: #d5e5ee; max-width: 32rem; }
.hero .btn-row { margin-top: .5rem; }
@media (max-width: 860px) {
  .hero { padding: .75rem .75rem 0; }
  .hero-card { display: block; min-height: 0; }
  .hero-img { inset: 0; width: 100%; }
  .hero-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(8 27 43 / .35) 0%, rgb(8 27 43 / .65) 40%, rgb(8 27 43 / .92) 100%); }
  .hero-copy { width: auto; position: relative; z-index: 2; min-height: 34rem; justify-content: flex-end; padding: 2rem 1.25rem 1.75rem; gap: 1rem; }
  .hero .lead { font-size: 1.0625rem; }
  .hero .btn { flex: 1 1 100%; }
}

/* Trust strip */
.trust { padding: 2rem 0; background: var(--white); border-bottom: 1px solid #e3ebf0; }
.trust-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 1rem; align-items: stretch; }
.trust-item { display: flex; flex-direction: column; justify-content: center; gap: .15rem; padding: .9rem 1.1rem; border-radius: var(--radius); background: var(--light); line-height: 1.3; }
.trust-item strong { color: var(--navy); font-size: 1.0625rem; }
.trust-item span { color: var(--muted); font-size: .9rem; }
.trust-google { text-decoration: none; background: var(--navy); }
.trust-google strong { color: var(--white); }
.trust-google .stars { color: #f6c343; font-size: 1.15rem; letter-spacing: .1em; }
.trust-google:hover { background: var(--navy-700); }
@media (max-width: 991px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } .trust-google { grid-column: 1 / -1; } }

/* Sections */
.section { padding: var(--section-pad) 0; }
.s-white { background: var(--white); }
.s-light { background: var(--light); }
.s-navy { background: var(--navy); color: var(--white); }
.s-navy h2 { color: var(--white); }
.section-head { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 3rem; }
.section-head.center { align-items: center; text-align: center; }
.section-head.split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.section-head.split > div { display: flex; flex-direction: column; gap: .9rem; }
.section-head.split p { max-width: 24rem; }
@media (max-width: 767px) { .section-head.split { flex-direction: column; align-items: flex-start; } .section-head { margin-bottom: 2.25rem; } }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--light); }
.svc-photo { aspect-ratio: 4 / 3.4; overflow: hidden; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .5rem; }
.svc-body h3 { color: var(--navy); }
.svc-body p { color: var(--muted); }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } .svc-photo { aspect-ratio: 16 / 10; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: #d7e3ea; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 2rem .9rem .8rem; color: var(--white); font-size: .875rem; font-weight: 600; line-height: 1.3; background: linear-gradient(transparent, rgb(8 27 43 / .85)); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: .75rem; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: none; }
.step { padding: 2rem; border-radius: var(--radius-lg); background: var(--light); border-top: 4px solid var(--sky); display: flex; flex-direction: column; gap: .6rem; }
.step-num { font-size: 2.5rem; font-weight: 800; color: var(--sky-dark); line-height: 1; }
.step h3 { color: var(--navy); }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* About + area */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.about-copy { display: flex; flex-direction: column; gap: 1rem; }
.about-copy p { color: #d5e5ee; max-width: 36rem; }
.area { padding: 2rem; border-radius: var(--radius-lg); background: var(--navy-700); display: flex; flex-direction: column; gap: .75rem; }
.area p { color: #d5e5ee; }
.area-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.area-list li { padding: .4rem .9rem; border-radius: 999px; background: var(--sky); color: var(--navy-900); font-weight: 700; font-size: .9375rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Quote */
.quote-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.quote-copy { display: flex; flex-direction: column; gap: 1rem; }
.contact-list { display: flex; flex-direction: column; gap: .6rem; margin-top: .5rem; }
.contact-list a { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--navy); text-decoration: none; font-size: 1.0625rem; word-break: break-all; }
.contact-list a:hover { color: var(--sky-dark); }
.quote-form { background: var(--white); padding: 2rem; border-radius: var(--radius-lg); box-shadow: 0 16px 40px rgb(14 44 68 / .1); display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-weight: 600; font-size: .9375rem; color: var(--navy); }
.field input, .field textarea { font: inherit; font-size: 1rem; width: 100%; padding: .75rem .9rem; border: 1.5px solid #c5d4dd; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky-dark); box-shadow: 0 0 0 3px rgb(63 182 230 / .25); }
.form-note { padding: .9rem 1rem; border-radius: var(--radius); background: var(--sky-soft); color: var(--navy); font-weight: 600; font-size: .9375rem; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; gap: 2rem; } .quote-form { padding: 1.5rem 1.25rem; } }
@media (max-width: 479px) { .field-row { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--navy-900); color: #c6d6e0; padding: 4rem 0 2rem; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.footer-logo { height: 3.5rem; width: auto; margin-bottom: 1rem; }
.footer h3 { color: var(--white); font-size: 1rem; margin-bottom: .6rem; }
.footer a { color: #c6d6e0; text-decoration: none; }
.footer a:hover { color: var(--sky); }
.footer-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .12); font-size: .8125rem; color: #91a7b5; }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr; } .footer { padding-bottom: 6.5rem; } }

/* Mobile call bar */
.call-bar { display: none; }
@media (max-width: 767px) {
  .call-bar { position: fixed; inset: auto .75rem .75rem; z-index: 55; display: grid; transform: translateY(150%); opacity: 0; pointer-events: none; transition: transform .35s, opacity .35s; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .5rem; border-radius: 999px; background: var(--navy-900); box-shadow: 0 10px 30px rgb(0 0 0 / .3); }
  .call-bar.is-visible { transform: none; opacity: 1; pointer-events: auto; }
  .call-bar a { display: flex; align-items: center; justify-content: center; min-height: 3rem; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1rem; }
  .call-bar-call { background: var(--sky); color: var(--navy-900); }
  .call-bar-quote { border: 1.5px solid rgb(255 255 255 / .85); color: var(--white); }
}
