@font-face {
  font-family: "PacificoLocal";
  src: url("pacifico.woff2") format("woff2");
  font-display: block;
}

@font-face {
  font-family: "RobotoLocal";
  src: url("roboto.woff2") format("woff2");
  font-display: block;
}

:root {
  --tan: #ddcaa6;
  --cream: #f7f0df;
  --blue: #3d7fb7;
  --blue-dark: #235a85;
  --gray: #adadad;
  --ink: #2f2f2f;
  --muted: #676767;
  --green: #6c9a3b;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--tan);
  color: var(--muted);
  font-family: "RobotoLocal", Arial, sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  background: var(--blue-dark);
  color: var(--white);
  left: 1rem;
  padding: .6rem .9rem;
  position: absolute;
  top: -4rem;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background: var(--gray);
  box-shadow: 0 2px 12px rgba(47, 47, 47, .18);
}

.topbar {
  align-items: center;
  background: var(--blue);
  color: var(--white);
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  min-height: 3.5rem;
  padding: .7rem clamp(1rem, 5vw, 4rem);
  text-align: center;
}

.topbar a {
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.65rem);
  text-decoration: none;
}

.phone-link {
  align-items: center;
  display: inline-flex;
  gap: .45rem;
}

.phone-link::before {
  background: var(--white);
  color: var(--blue);
  content: "\260E";
  display: inline-grid;
  font-size: .75em;
  height: 1.35em;
  line-height: 1;
  place-items: center;
  width: 1.35em;
}

.brand-row {
  align-items: center;
  display: grid;
  gap: 1.3rem;
  grid-template-columns: auto 1fr auto;
  padding: 1.2rem clamp(1rem, 5vw, 4rem) 1.5rem;
}

.logo-link {
  display: block;
  height: 86px;
  width: 86px;
}

.logo-link img {
  height: 100%;
  max-width: none;
  object-fit: cover;
  width: 100%;
}

.brand-name {
  color: var(--white);
  font-family: "PacificoLocal", "Trebuchet MS", cursive;
  font-size: clamp(2.2rem, 6vw, 5.25rem);
  line-height: 1.05;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .1);
}

.menu-toggle {
  background: var(--blue-dark);
  border: 0;
  color: var(--white);
  cursor: pointer;
  display: none;
  font: inherit;
  padding: .65rem .9rem;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  justify-content: flex-end;
  padding: 0 clamp(1rem, 5vw, 4rem) 1.2rem;
}

.site-nav a {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: .45rem .65rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.nav-dropdown:focus-within > a {
  background: rgba(35, 90, 133, .9);
}

.nav-dropdown {
  position: relative;
}

.submenu {
  background: var(--blue-dark);
  box-shadow: 0 10px 20px rgba(47, 47, 47, .18);
  display: none;
  min-width: 240px;
  padding: .4rem;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 5;
}

.submenu a {
  display: block;
  padding: .65rem .8rem;
  white-space: nowrap;
}

.nav-dropdown:hover .submenu,
.nav-dropdown:focus-within .submenu {
  display: block;
}

.hero {
  display: grid;
  margin: clamp(2rem, 8vw, 6rem) auto 0;
  max-width: 1100px;
  min-height: 480px;
  overflow: hidden;
  position: relative;
}

.hero img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero::after {
  background: linear-gradient(90deg, rgba(47, 47, 47, .52), rgba(47, 47, 47, .08));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-copy {
  align-self: center;
  color: var(--white);
  max-width: 720px;
  padding: clamp(1.5rem, 6vw, 4rem);
  position: relative;
  z-index: 1;
}

.hero-copy p,
.eyebrow {
  color: var(--green);
  font-weight: 800;
  letter-spacing: .04em;
  margin: 0 0 .55rem;
  text-transform: uppercase;
}

.hero-copy p {
  color: var(--white);
}

.hero h1 {
  font-family: "PacificoLocal", "Trebuchet MS", cursive;
  font-size: clamp(3.1rem, 9vw, 7rem);
  line-height: 1;
  margin: 0 0 1.4rem;
}

.button {
  background: var(--blue);
  color: var(--white);
  display: inline-block;
  font-weight: 800;
  padding: .85rem 1.2rem;
  text-decoration: none;
}

.intro,
.page,
.service-carousel,
.site-footer {
  margin-inline: auto;
  max-width: 1100px;
}

.intro {
  background: var(--cream);
  margin-top: 0;
  padding: clamp(2rem, 6vw, 4rem);
}

.intro h2,
.page-header h1,
.split h2,
.columns h2,
.pricing h2,
.content-band h2,
.carousel-heading h2,
.service-card h3 {
  color: var(--ink);
  line-height: 1.18;
}

.intro h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin: 0 0 1rem;
}

.service-carousel {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.carousel-heading {
  background: var(--cream);
  margin-bottom: 1rem;
  padding: 1.6rem clamp(1rem, 4vw, 2rem);
}

.carousel-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

.carousel-shell {
  align-items: center;
  display: grid;
  gap: .8rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform .35s ease;
  width: 100%;
}

.service-card {
  background: var(--cream);
  display: grid;
  flex: 0 0 100%;
  grid-template-rows: auto 1fr;
}

.service-card img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.service-card div {
  min-height: 300px;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.service-card h3 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 0 0 .6rem;
}

.service-card a {
  color: var(--blue-dark);
  font-weight: 800;
}

.carousel-control {
  background: var(--blue);
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-size: 2.4rem;
  font-weight: 800;
  height: 3.25rem;
  line-height: 1;
  width: 3.25rem;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: var(--blue-dark);
}

.carousel-dots {
  display: flex;
  gap: .55rem;
  justify-content: center;
  padding-top: 1rem;
}

.carousel-dot {
  background: rgba(35, 90, 133, .35);
  border: 0;
  cursor: pointer;
  height: .75rem;
  padding: 0;
  width: .75rem;
}

.carousel-dot.is-active {
  background: var(--blue-dark);
}

.page {
  background: var(--cream);
  padding: clamp(1.5rem, 5vw, 4rem);
}

.page-header {
  border-bottom: 1px solid rgba(47, 47, 47, .16);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
}

.page-header h1 {
  font-family: "PacificoLocal", "Trebuchet MS", cursive;
  font-size: clamp(3rem, 7vw, 5.6rem);
  margin: 0;
}

.page-header p {
  font-size: 1.35rem;
  margin: .4rem 0 0;
}

.split {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(260px, 42%) 1fr;
  margin-bottom: 2.4rem;
}

.split img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.columns {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}

.columns > div,
.pricing,
.content-band {
  background: var(--white);
  padding: 1.4rem;
}

ul {
  margin: .4rem 0 0;
  padding-left: 1.2rem;
}

.pricing {
  margin-top: 2rem;
}

.price-row {
  align-items: baseline;
  border-top: 1px solid rgba(47, 47, 47, .14);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1rem;
}

.price-row span,
.price-callout {
  color: var(--blue-dark);
  font-size: 1.35rem;
  font-weight: 900;
}

.content-band {
  margin-top: 2rem;
}

.contact-list a {
  color: var(--blue-dark);
  font-weight: 800;
}

.site-footer {
  color: var(--ink);
  padding: 2rem clamp(1rem, 5vw, 4rem);
  text-align: center;
}

.site-footer a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 800px) {
  .topbar,
  .brand-row {
    padding-inline: 1rem;
  }

  .brand-row {
    grid-template-columns: auto 1fr auto;
  }

  .logo-link img {
    height: 100%;
    width: 100%;
  }

  .logo-link {
    height: 64px;
    width: 64px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    padding: 0 1rem 1rem;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    background: rgba(35, 90, 133, .16);
    color: var(--white);
  }

  .nav-dropdown {
    display: grid;
  }

  .submenu {
    background: transparent;
    box-shadow: none;
    display: grid;
    min-width: 0;
    padding: .25rem 0 0 .85rem;
    position: static;
  }

  .submenu a {
    background: rgba(35, 90, 133, .28);
    white-space: normal;
  }

  .split,
  .columns {
    grid-template-columns: 1fr;
  }

  .carousel-shell {
    gap: .45rem;
  }

  .carousel-control {
    font-size: 2rem;
    height: 2.75rem;
    width: 2.75rem;
  }

  .hero {
    margin-top: 2rem;
    min-height: 420px;
  }
}

@media (max-width: 520px) {
  .topbar {
    align-items: center;
    flex-direction: column;
    gap: .2rem;
  }

  .brand-name {
    font-size: 2.15rem;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: .15rem;
  }
}
