:root {
  --navy: #1e2e45;
  --navy-deep: #142338;
  --navy-soft: #293d59;
  --champagne: #d1c6ba;
  --gold: #b19b7d;
  --ivory: #e9e6e1;
  --paper: #f7f5f1;
  --white: #fff;
  --ink: #1a2940;
  --muted: #617084;
  --shadow: 0 24px 70px rgba(12, 25, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--navy);
  color: var(--ivory);
  font-family: "Montserrat", "Gotham", "Avenir Next", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.02), transparent 38%),
    var(--navy);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: -10rem;
  right: -9rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(209, 198, 186, 0.13);
  border-radius: 50%;
}

.hero::after {
  bottom: 5rem;
  left: -8rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(177, 155, 125, 0.11);
  border-radius: 50%;
}

.hero__glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero__glow--one {
  top: 4rem;
  left: 50%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(177, 155, 125, 0.12), transparent 67%);
  transform: translateX(-50%);
}

.hero__glow--two {
  right: -6rem;
  bottom: 2rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(209, 198, 186, 0.08), transparent 70%);
}

.hero__content {
  width: min(100% - 2rem, 42rem);
  margin: 0 auto;
  padding: clamp(1rem, 4vh, 2.5rem) 0 clamp(3.5rem, 8vh, 6rem);
  text-align: center;
}

.brand-logo {
  display: block;
  width: min(100%, 32rem);
  height: auto;
  margin: clamp(-1.8rem, -3vw, -0.5rem) auto clamp(-2rem, -4vw, -1rem);
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.55rem;
  font-family: "Josefin Sans", "Century Gothic", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Josefin Sans", "Century Gothic", sans-serif;
}

h1 {
  max-width: 13ch;
  margin-right: auto;
  margin-bottom: 0.65rem;
  margin-left: auto;
  color: var(--ivory);
  font-size: clamp(2.25rem, 8vw, 3.65rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero__copy {
  max-width: 31rem;
  margin: 0 auto 1.8rem;
  color: rgba(233, 230, 225, 0.76);
  font-size: clamp(1rem, 2.6vw, 1.1rem);
  line-height: 1.65;
}

.link-list {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 33rem);
  margin: 0 auto;
}

.action {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr) 1.25rem;
  gap: 0.85rem;
  align-items: center;
  min-height: 3.75rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.action svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.action__brand-mark {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
}

.action svg:not(:first-child) {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.action__arrow {
  justify-self: end;
  transition: transform 180ms ease;
}

.action--primary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 14px 32px rgba(10, 20, 35, 0.2);
}

.action--secondary {
  border-color: rgba(209, 198, 186, 0.38);
  background: rgba(255, 255, 255, 0.035);
  color: var(--ivory);
  backdrop-filter: blur(8px);
}

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

.action:hover .action__arrow,
.action:focus-visible .action__arrow {
  transform: translateX(0.2rem);
}

.action--primary:hover,
.action--primary:focus-visible {
  background: #c1ab8e;
  box-shadow: 0 18px 40px rgba(10, 20, 35, 0.28);
}

.action--secondary:hover,
.action--secondary:focus-visible {
  border-color: rgba(209, 198, 186, 0.7);
  background: rgba(255, 255, 255, 0.075);
}

.action:focus-visible,
.rating-pill:focus-visible,
.google-link:focus-visible,
.carousel__button:focus-visible,
.carousel__dot:focus-visible {
  outline: 3px solid var(--ivory);
  outline-offset: 4px;
}

.rating-pill {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.45rem;
  color: rgba(233, 230, 225, 0.88);
  font-size: 0.875rem;
  text-decoration: none;
}

.rating-pill__score {
  color: var(--ivory);
  font-weight: 600;
}

.stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

.rating-pill__label {
  color: rgba(233, 230, 225, 0.64);
}

.location {
  margin: 0.6rem 0 0;
  color: rgba(233, 230, 225, 0.5);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.location span {
  display: inline-block;
  margin: 0 0.25rem;
  color: var(--gold);
}

.reviews {
  position: relative;
  z-index: 1;
  margin-top: -2rem;
  padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(4.5rem, 9vw, 6.5rem);
  border-radius: 2rem 2rem 0 0;
  background:
    linear-gradient(135deg, rgba(177, 155, 125, 0.08), transparent 34%),
    var(--paper);
  color: var(--ink);
  box-shadow: 0 -18px 55px rgba(10, 20, 35, 0.14);
}

.reviews__inner {
  width: min(100% - 2rem, 56rem);
  margin: 0 auto;
}

.section-kicker {
  margin-bottom: 0.7rem;
  color: #927958;
}

.reviews__heading {
  display: grid;
  gap: 1.4rem;
  align-items: end;
  margin-bottom: 2rem;
}

.reviews h2 {
  max-width: 15ch;
  margin-bottom: 0.55rem;
  color: var(--navy);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.reviews__heading p {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.score-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 0.7rem;
  align-items: center;
  width: fit-content;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(30, 46, 69, 0.09);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 9px 24px rgba(20, 35, 56, 0.06);
}

.score-card strong {
  grid-row: 1 / span 2;
  color: var(--navy);
  font-family: "Josefin Sans", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.score-card small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1;
}

.carousel {
  position: relative;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  touch-action: pan-y;
}

.carousel__track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.22, 0.65, 0.27, 1);
  will-change: transform;
}

.review-card {
  flex: 0 0 100%;
  min-width: 0;
  min-height: 20rem;
  padding: clamp(1.4rem, 5vw, 2.2rem);
  border: 1px solid rgba(30, 46, 69, 0.08);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(233, 230, 225, 0.85));
}

.review-card__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.review-card__avatar {
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--ivory);
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.review-card h3 {
  margin: 0 0 0.15rem;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
}

.review-card__top p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.25;
}

.review-card__google {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: #4285f4;
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(20, 35, 56, 0.1);
}

.review-card > .stars {
  margin-bottom: 1.25rem;
}

.review-card blockquote {
  margin: 0;
  color: #33445a;
  font-family: "Josefin Sans", "Century Gothic", sans-serif;
  font-size: clamp(1.08rem, 3vw, 1.3rem);
  line-height: 1.6;
}

.carousel__controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1.25rem;
}

.carousel__button {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(30, 46, 69, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  cursor: pointer;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.carousel__button:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.carousel__button svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.carousel__dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.carousel__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(30, 46, 69, 0.2);
  cursor: pointer;
  transition:
    width 180ms ease,
    background-color 180ms ease;
}

.carousel__dot.is-active {
  width: 1.6rem;
  background: var(--gold);
}

.google-link {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 2.2rem auto 0;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(30, 46, 69, 0.25);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: border-color 160ms ease;
}

.google-link:hover {
  border-color: var(--gold);
}

.google-link svg {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

footer {
  padding: 2.8rem 1rem 2.4rem;
  background: var(--navy-deep);
  color: rgba(233, 230, 225, 0.64);
  text-align: center;
}

footer p {
  margin-bottom: 0.7rem;
  color: var(--champagne);
  font-family: "Josefin Sans", sans-serif;
  font-size: 1rem;
}

footer small {
  font-size: 0.75rem;
}

@media (min-width: 46rem) {
  .hero__content {
    padding-top: 0.5rem;
  }

  .brand-logo {
    width: 36rem;
    margin-bottom: -2.6rem;
  }

  .reviews {
    border-radius: 3rem 3rem 0 0;
  }

  .reviews__heading {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .review-card {
    min-height: 18rem;
    padding: 2.4rem 2.7rem;
  }
}

@media (max-height: 46rem) and (min-width: 40rem) {
  .hero {
    min-height: auto;
  }

  .hero__content {
    padding-bottom: 5rem;
  }

  .brand-logo {
    width: 25rem;
    margin-top: -2.3rem;
    margin-bottom: -2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
