:root {
  --bg: #f5efe4;
  --surface: #fff8ee;
  --navy: #081823;
  --navy-soft: #0f2837;
  --navy-softest: #193849;
  --ink: #12222e;
  --ink-soft: rgba(18, 34, 46, 0.72);
  --cream: #fff4de;
  --yellow: #f2bf2d;
  --yellow-soft: #ffe39a;
  --red: #d94f45;
  --line: rgba(18, 34, 46, 0.08);
  --shadow: 0 24px 60px rgba(7, 24, 35, 0.18);
  --radius-xl: 38px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --pill: 999px;
  --container: min(1220px, calc(100% - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(242, 191, 45, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf7f0 0%, #f3eadb 54%, #faf6ee 100%);
}

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

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

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  padding: 1rem 0;
  transition:
    background-color 0.28s ease,
    box-shadow 0.28s ease,
    backdrop-filter 0.28s ease,
    padding 0.28s ease;
}

.site-header.is-scrolled {
  padding: 0.7rem 0;
  background: rgba(8, 24, 35, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 30px rgba(7, 24, 35, 0.2);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--cream);
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.brand__text {
  display: grid;
}

.brand__text strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 0.92;
  text-transform: uppercase;
}

.brand__text small {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 244, 222, 0.74);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: rgba(255, 244, 222, 0.86);
  font-size: 0.95rem;
  font-weight: 700;
}

.header-cta,
.button,
.hero-slider__arrow,
.hero-slider__dots button {
  border: 0;
  cursor: pointer;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: var(--pill);
  font-weight: 700;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

.header-cta {
  background: rgba(255, 244, 222, 0.14);
  color: var(--cream);
  border: 1px solid rgba(255, 244, 222, 0.16);
}

.button:hover,
.header-cta:hover,
.hero-slider__arrow:hover,
.hero-slider__dots button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, var(--red) 0%, #ee6d55 100%);
  color: white;
  box-shadow: 0 18px 34px rgba(217, 79, 69, 0.28);
}

.button--ghost,
.button--ghost-light {
  border: 1px solid rgba(18, 34, 46, 0.12);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

.button--ghost-light {
  background: rgba(255, 244, 222, 0.12);
  color: var(--cream);
  border-color: rgba(255, 244, 222, 0.18);
}

.hero-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--navy);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide__media,
.phone-banner__media,
.visual-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 24, 35, 0.86) 0%, rgba(8, 24, 35, 0.62) 34%, rgba(8, 24, 35, 0.4) 62%, rgba(8, 24, 35, 0.72) 100%),
    linear-gradient(180deg, rgba(8, 24, 35, 0.2), rgba(8, 24, 35, 0.35));
}

.hero-slide__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 100vh;
  padding: 8.4rem 0 7rem;
}

.hero-slide__eyebrow,
.section-heading__eyebrow,
.phone-banner__eyebrow {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-slide__eyebrow {
  color: var(--yellow-soft);
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

h1,
h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.02;
}

h1 {
  max-width: 14ch;
  margin-top: 1rem;
  padding-bottom: 0.12em;
  font-size: clamp(3.2rem, 6.6vw, 5.8rem);
  color: white;
}

h1 span,
h2 span {
  display: block;
  color: var(--yellow);
}

.hero-slide__text {
  max-width: 38rem;
  margin: 1.3rem 0 0;
  color: rgba(255, 244, 222, 0.84);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-slide__phone-wrap {
  margin-top: 2.4rem;
}

.hero-slide__phone-label {
  display: block;
  color: rgba(255, 244, 222, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-slide__phone {
  display: inline-block;
  margin-top: 0.3rem;
  font-family: "Barlow Condensed", sans-serif;
  padding-bottom: 0.08em;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 244, 222, 0.88);
  text-shadow: 0 0 18px rgba(255, 244, 222, 0.08);
}

.hero-slider__controls {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 2.2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateX(-50%);
}

.hero-slider__arrow {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 244, 222, 0.12);
  color: var(--cream);
  border: 1px solid rgba(255, 244, 222, 0.18);
  font-size: 1.8rem;
  line-height: 1;
}

.hero-slider__dots {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-slider__dots button {
  width: 0.9rem;
  height: 0.9rem;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 244, 222, 0.28);
}

.hero-slider__dots button.is-active {
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(242, 191, 45, 0.18);
}

.visual-grid {
  padding: 5.4rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading__eyebrow {
  color: var(--red);
}

h2 {
  padding-bottom: 0.08em;
  font-size: clamp(2.4rem, 4.8vw, 4.1rem);
  color: var(--navy);
}

.visual-grid__layout {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.1rem;
}

.visual-card {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.visual-card--wide {
  min-height: 360px;
  grid-column: span 3;
}

.visual-card:not(.visual-card--wide) {
  grid-column: span 2;
}

.visual-card__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 24, 35, 0.1), rgba(8, 24, 35, 0.72)),
    linear-gradient(135deg, transparent 0 58%, rgba(242, 191, 45, 0.12) 58% 100%);
}

.visual-card__content {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.15rem;
  z-index: 1;
  color: white;
}

.visual-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  margin-bottom: 0.8rem;
  background: rgba(255, 244, 222, 0.14);
  color: var(--yellow-soft);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.visual-card h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.02;
  text-transform: uppercase;
}

.visual-card p {
  max-width: 28rem;
  margin: 0.65rem 0 0;
  color: rgba(255, 244, 222, 0.82);
  line-height: 1.6;
}

.phone-banner {
  position: relative;
  min-height: 46rem;
  overflow: hidden;
  background: var(--navy);
}

.phone-banner__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 24, 35, 0.18), rgba(8, 24, 35, 0.62)),
    radial-gradient(circle at center, rgba(8, 24, 35, 0.08), rgba(8, 24, 35, 0.5));
}

.phone-banner__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 46rem;
  padding: 5rem 0;
  text-align: center;
}

.phone-banner__eyebrow {
  color: var(--yellow-soft);
}

.phone-banner h2 {
  max-width: 16ch;
  margin-top: 1rem;
  color: white;
}

.phone-banner__number {
  display: inline-block;
  margin: 1.6rem 0 1.4rem;
  font-family: "Barlow Condensed", sans-serif;
  padding-bottom: 0.08em;
  font-size: clamp(3.4rem, 6.6vw, 6.2rem);
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 244, 222, 0.9);
}

.contact-section {
  padding: 5.4rem 0;
}

.contact-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: start;
}

.contact-section__copy p {
  max-width: 40rem;
  margin: 1.3rem 0 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.contact-panel {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 26%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  box-shadow: var(--shadow);
}

.contact-panel div {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
}

.contact-panel small {
  display: block;
  color: var(--yellow-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-panel strong {
  display: block;
  margin-top: 0.45rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.02;
  text-transform: uppercase;
}

.contact-panel span {
  display: block;
  margin-top: 0.28rem;
  color: rgba(255, 244, 222, 0.74);
  line-height: 1.6;
}

.contact-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  background: linear-gradient(180deg, #0c202d 0%, #081823 100%);
  color: var(--cream);
}

.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  padding-bottom: 1.8rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 244, 222, 0.12);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 44rem;
}

.site-footer__brand img {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  object-fit: cover;
}

.site-footer__brand strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer__brand p {
  margin: 0.45rem 0 0;
  color: rgba(255, 244, 222, 0.76);
  line-height: 1.7;
}

.site-footer__cta {
  display: grid;
  gap: 0.35rem;
  justify-items: end;
}

.site-footer__cta span {
  color: rgba(255, 244, 222, 0.7);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer__cta a {
  font-family: "Barlow Condensed", sans-serif;
  padding-bottom: 0.08em;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--yellow);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.site-footer__grid h3 {
  margin-bottom: 0.9rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer__grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  color: rgba(255, 244, 222, 0.78);
}

@media (max-width: 1120px) {
  .contact-section__grid,
  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .hero-slide__phone {
    font-size: clamp(3.6rem, 9vw, 5.8rem);
  }

  .visual-grid__layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-card--wide,
  .visual-card:not(.visual-card--wide) {
    grid-column: span 1;
  }

  .site-footer__top {
    display: grid;
  }

  .site-footer__cta {
    justify-items: start;
  }
}

@media (max-width: 820px) {
  .site-header__inner {
    justify-content: center;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-cta {
    width: 100%;
  }

  .hero-slide__content {
    padding-top: 9rem;
  }

  .hero-slide__actions,
  .contact-panel__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-slider__controls {
    width: calc(100% - 2rem);
  }

  .contact-section__grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100% - 1rem, 100%);
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .hero-slider,
  .hero-slide__content {
    min-height: 44rem;
  }

  h1 {
    font-size: clamp(2.7rem, 12vw, 3.7rem);
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .hero-slide__text {
    font-size: 1rem;
  }

  .hero-slide__phone {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .hero-slider__arrow {
    width: 2.7rem;
    height: 2.7rem;
  }

  .visual-grid__layout {
    grid-template-columns: 1fr;
  }

  .visual-card,
  .visual-card--wide {
    min-height: 280px;
  }

  .phone-banner,
  .phone-banner__content {
    min-height: 38rem;
  }

  .phone-banner__number {
    font-size: clamp(2.7rem, 12vw, 3.9rem);
  }

  .site-footer__cta a {
    font-size: 2.4rem;
  }
}

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

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