
/* ============================================
   BOISE CAR WASH LLC
   ONE-SCREEN HOMEPAGE + PRIVACY POLICY
   ============================================ */

/* DESIGN COLORS */

:root {
  --ink: #153e4b;
  --text: #4f6e77;
  --teal: #088f99;
  --teal-deep: #057884;
  --line: #d5e7e9;
  --offwhite: #f7fbfb;

  --outfit: 'Outfit', Arial, sans-serif;
  --dm: 'DM Sans', Arial, sans-serif;

  --max: 1240px;
}

/* GLOBAL RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--offwhite);
  font: 14px/1.55 var(--dm);
  color: var(--text);
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--outfit);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(
    calc(100% - 64px),
    var(--max)
  );
  margin-inline: auto;
}

a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 99;
  top: -70px;
  left: 10px;
  background: white;
  padding: 9px 16px;
}

.skip-link:focus {
  top: 10px;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.header-inner {
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;

  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-type strong {
  font: 800 25px/.9 var(--outfit);
  letter-spacing: .03em;
  color: var(--ink);
}

.brand-type small {
  font: 800 8px/1 var(--dm);
  color: var(--teal-deep);
  letter-spacing: .23em;
}

/* NAVIGATION */

.top-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-home {
  font-weight: 700;
  font-size: 12px;

  padding: 7px 0;
  border-bottom: 2px solid transparent;

  color: var(--ink);
}

.nav-home.is-active {
  border-color: var(--teal);
}

.nav-privacy {
  display: flex;
  align-items: center;

  gap: 13px;
  padding: 5px 6px 5px 17px;

  border: 1px solid #c8e5e8;
  border-radius: 100px;

  color: #15566a;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;

  transition: background .2s;
}

.nav-privacy:hover,
.nav-privacy.is-active {
  background: #eefaf9;
}

.nav-privacy span {
  width: 29px;
  height: 29px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  background: #daf5ef;
  color: var(--teal);

  font-size: 18px;
}

/* ============================================
   ONE-SCREEN DESKTOP HOMEPAGE
   ============================================ */

.home-body {
  min-height: 100svh;

  display: flex;
  flex-direction: column;
}

.home-main {
  flex: 1 0 auto;

  display: grid;
  align-items: center;

  background: linear-gradient(
    137deg,
    #eafaf9 0%,
    #eef9fb 50%,
    #f7fbf7 100%
  );
}

.home-layout {
  padding-block: clamp(
    13px,
    2.2vh,
    25px
  );
}

/* HERO GRID */

.hero-grid {
  display: grid;

  grid-template-columns: 47% 53%;

  gap: 0;
  align-items: stretch;

  min-height: 0;
}

.hero-intro {
  min-width: 0;
  align-self: center;

  padding: 12px 35px 12px 3px;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 8px;

  font: 800 10px var(--dm);
  color: #087e8c;
  letter-spacing: .14em;
}

.eyebrow-line {
  width: 27px;
  height: 2px;
  background: #1bb8bd;
}

.eyebrow-divider {
  color: #7ac3c9;
}

/* HERO TEXT */

.hero-intro h1 {
  margin: 15px 0 12px;

  font-size: clamp(
    35px,
    3.9vw,
    53px
  );

  letter-spacing: -.052em;
  line-height: 1.13;
  font-weight: 750;
}

.hero-intro h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero-intro p {
  font-size: clamp(
    12px,
    1.08vw,
    14px
  );

  line-height: 1.7;
  max-width: 475px;
  color: #53727d;
}

.hero-intro p strong {
  color: var(--ink);
}

/* MAIN BUTTON */

.primary-link {
  display: inline-flex;
  gap: 28px;
  align-items: center;

  padding: 11px 17px;
  margin-top: 17px;

  border-radius: 9px;

  background: #078d96;
  color: white;

  font-weight: 700;
  font-size: 12px;

  box-shadow: 0 10px 25px #00818a24;

  transition: background .25s;
}

.primary-link:hover {
  background: #006c77;
}

.primary-link span {
  font-size: 17px;
}

.hero-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;

  margin-top: 15px;

  color: #688690;
  font-size: 11px;
  font-weight: 600;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-tags i {
  width: 6px;
  height: 6px;

  border-radius: 50%;
  background: #14b5aa;
}

/* ============================================
   HERO PHOTO
   ============================================ */

.hero-media {
  min-width: 0;

  height: clamp(
    230px,
    39svh,
    330px
  );

  overflow: hidden;

  border-radius: 17px 65px 17px 17px;

  position: relative;

  background: #aedbdd;

  box-shadow: 0 16px 38px #1a67721a;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.hero-media::after {
  content: '';

  position: absolute;
  inset: 50% 0 0;

  background: linear-gradient(
    0deg,
    rgba(5,33,48,.55),
    transparent
  );

  pointer-events: none;
}

.hero-media figcaption {
  position: absolute;
  z-index: 1;

  left: 21px;
  bottom: 18px;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  color: white;

  display: flex;
  align-items: center;
  gap: 9px;
}

.caption-line {
  width: 24px;
  height: 2px;
  background: #75eadb;
}

.media-corner {
  position: absolute;
  z-index: 1;

  top: 15px;
  right: 17px;

  width: 35px;
  height: 35px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  background: #f1fffdce;

  color: var(--teal);
  font-size: 22px;
}

/* ============================================
   COMPACT DETAILS SECTION
   ============================================ */

.overview {
  display: grid;

  grid-template-columns:
    .99fr 1.13fr .98fr;

  margin-top: 15px;

  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 15px;

  overflow: hidden;

  box-shadow: 0 10px 30px #2c889208;
}

.overview-section {
  min-width: 0;
  padding: 17px 22px 15px;
}

.overview-section + .overview-section {
  border-left: 1px solid var(--line);
}

.overview-kicker {
  display: flex;
  gap: 11px;
  align-items: center;

  color: #087e88;
  font-size: 9px;
  letter-spacing: .14em;
  font-weight: 800;
}

.overview-kicker span {
  color: #a6bdc1;
}

.overview h2 {
  font: 750 clamp(
    17px,
    1.65vw,
    22px
  )/1.2 var(--outfit);

  margin: 8px 0 7px;
  letter-spacing: -.025em;
}

.overview p {
  font-size: clamp(
    11px,
    .95vw,
    12.5px
  );

  line-height: 1.65;
}

/* OFFLINE LABEL */

.offline-pill {
  display: inline-block;
  vertical-align: middle;

  font: 800 8px var(--dm);

  letter-spacing: .05em;
  background: #e1f8ef;
  color: #087d68;

  border-radius: 40px;
  padding: 5px 7px;
  margin-left: 4px;
}

/* APP AND CONTACT LINKS */

.inline-link,
.contact-link {
  color: #07828d;
  font-size: 11px;
  font-weight: 800;

  display: inline-flex;
  gap: 7px;

  margin-top: 8px;
  align-items: center;
}

.inline-link:hover,
.contact-link:hover {
  text-decoration: underline;
}

.contact-link {
  overflow-wrap: anywhere;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: white;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}

.footer-inner {
  min-height: 46px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 15px;

  color: #789098;
  font-size: 10px;
}

.footer-geo {
  letter-spacing: .08em;
  font-size: 9px;
  font-weight: 700;
}

.footer-geo span {
  padding: 0 8px;
  color: var(--teal);
}

.footer-inner > a {
  color: var(--teal-deep);
  font-weight: 800;
  white-space: nowrap;
}

/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */

.privacy-body {
  background: white;
}

/* PRIVACY HEADING ONLY */

.privacy-title {
  background: linear-gradient(
    120deg,
    #e7f8f7,
    #d9f2f7
  );

  padding: 38px 0;

  border-bottom: 1px solid #cde8ea;
}

.privacy-title h1 {
  font-size: clamp(
    34px,
    4vw,
    48px
  );

  letter-spacing: -.045em;
}

/* PRIVACY CONTENT */

.privacy-main {
  padding: 48px 0 75px;
}

.privacy-readable {
  width: min(
    calc(100% - 48px),
    800px
  );

  margin-inline: auto;
}

.policy-section {
  border-bottom: 1px solid #e3edef;

  padding-bottom: 25px;
  margin-bottom: 25px;
}

.policy-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.policy-section h2 {
  font: 700 21px/1.3 var(--outfit);

  margin-bottom: 11px;

  letter-spacing: -.025em;
}

.policy-section p {
  font-size: 14px;
  line-height: 1.95;

  margin: 0 0 10px;

  overflow-wrap: anywhere;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section a {
  color: var(--teal-deep);
  font-weight: 700;

  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   SHORT LAPTOP SCREENS
   ============================================ */

@media (min-width: 901px) and (max-height: 720px) {

  .home-layout {
    padding-block: 10px;
  }

  .hero-media {
    height: clamp(
      206px,
      37svh,
      280px
    );
  }

  .hero-intro h1 {
    font-size: clamp(
      35px,
      3.6vw,
      48px
    );

    margin: 11px 0 9px;
  }

  .hero-intro p {
    line-height: 1.55;
  }

  .primary-link {
    margin-top: 12px;
    padding-block: 9px;
  }

  .hero-tags {
    margin-top: 10px;
  }

  .overview {
    margin-top: 10px;
  }

  .overview-section {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .overview h2 {
    margin: 6px 0 4px;
  }

  .overview p {
    line-height: 1.5;
  }

  .inline-link,
  .contact-link {
    margin-top: 5px;
  }

}

/* ============================================
   TABLET RESPONSIVE
   ============================================ */

@media (max-width: 900px) {

  .home-main {
    display: block;
  }

  .home-layout {
    padding-block: 30px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-intro {
    padding: 0;
  }

  .hero-intro h1 {
    font-size: clamp(
      36px,
      6.5vw,
      53px
    );
  }

  .hero-intro p {
    max-width: 640px;
    font-size: 14px;
  }

  .hero-media {
    height: clamp(
      240px,
      48vw,
      400px
    );
  }

  .overview {
    grid-template-columns: 1fr 1fr;
  }

  .overview-section:last-child {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .overview-section {
    padding: 22px;
  }

  .overview p {
    font-size: 13px;
  }

}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 580px) {

  .container {
    width: calc(100% - 34px);
  }

  .header-inner {
    height: 65px;
    gap: 12px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-type strong {
    font-size: 21px;
  }

  .brand-type small {
    font-size: 7px;
  }

  .top-nav {
    gap: 13px;
  }

  .nav-home {
    font-size: 11px;
  }

  .nav-privacy {
    padding: 4px 5px 4px 9px;
    font-size: 10px;
    gap: 6px;
  }

  .nav-privacy span {
    width: 24px;
    height: 24px;
    font-size: 15px;
  }

  .home-layout {
    padding-block: 23px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .hero-intro h1 {
    font-size: clamp(
      34px,
      8vw,
      45px
    );
  }

  .hero-media {
    height: 255px;

    border-radius:
      17px 45px 17px 17px;
  }

  .overview {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .overview-section {
    padding: 20px;
  }

  .overview-section + .overview-section {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .overview-section:last-child {
    grid-column: auto;
  }

  .overview h2 {
    font-size: 21px;
  }

  .footer-inner {
    flex-wrap: wrap;
    padding-block: 14px;
  }

  .footer-geo {
    display: none;
  }

  /* MOBILE PRIVACY */

  .privacy-title {
    padding: 32px 0;
  }

  .privacy-main {
    padding: 36px 0 60px;
  }

  .privacy-readable {
    width: calc(100% - 34px);
  }

  .policy-section h2 {
    font-size: 19px;
  }

  .policy-section p {
    font-size: 13px;
  }

}

/* ============================================
   EXTRA SMALL PHONES
   ============================================ */

@media (max-width: 370px) {

  .brand {
    gap: 6px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand-type strong {
    font-size: 18px;
  }

  .brand-type small {
    font-size: 6.5px;
  }

  .nav-home {
    font-size: 10px;
  }

}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

}
