:root {
  --color-black: #0a0a0a;
  --color-white: #ffffff;
  --color-yellow: #f5c400;
  --font-display: "Montserrat", sans-serif;
  --content-max: 64rem;
  --page-inline: clamp(1.5rem, 5vw, 3.5rem);
}

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

body {
  margin: 0;
  font-family: var(--font-display);
  background: var(--color-black);
  color: var(--color-white);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 1.75rem var(--page-inline);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15em;
  color: var(--color-white);
  font-weight: 900;
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.logo-dot {
  display: inline-block;
  width: 0.28em;
  height: 0.28em;
  margin: 0 0 0 0.05em;
  border-radius: 50%;
  background: var(--color-yellow);
}

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

.nav-link {
  position: relative;
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--color-yellow);
}

.hero {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 0 var(--page-inline);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  margin-bottom: 4rem;
  animation: hero-rise 0.8s ease-out both;
}

.hero-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(3.25rem, 9vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-title > span {
  display: block;
}

.hero-title-line {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15em;
}

.hero-title .logo-dot {
  width: 0.22em;
  height: 0.22em;
  margin: 0 0 0 0.05em;
}

.hero-tagline {
  margin: 1.25rem 0 0;
  color: var(--color-yellow);
  font-weight: 800;
  font-size: clamp(0.95rem, 1.8vw, 1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
  color: var(--color-white);
  text-decoration: none;
}

.phone-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: var(--color-black);
  background: var(--color-yellow);
}

.phone-number {
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: 0.02em;
  line-height: 1;
}

.hero-media {
  flex: 0 1 40rem;
  min-width: 0;
  width: min(100%, 40rem);
  animation: hero-fade 1s ease-out 0.15s both;
}

.hero-media img {
  width: 100%;
}

.services {
  background: var(--color-white);
  color: var(--color-black);
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--page-inline);
}

.services-inner {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  text-align: center;
}

.services h2 {
  margin: 0;
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.accent-line {
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 0.9rem auto 0;
  background: var(--color-yellow);
}

.services-intro {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #222;
}

.services-intro strong {
  font-weight: 800;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 3.5rem 0 0;
  padding: 0;
  list-style: none;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.25rem;
}

.service-item:not(:first-child) {
  border-left: 1px solid #e5e5e5;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.25rem;
  color: var(--color-black);
  background: var(--color-yellow);
  border-radius: 42% 58% 48% 52% / 48% 42% 58% 52%;
}

.service-item h3 {
  margin: 0;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.service-item p {
  margin: 0.75rem 0 0;
  max-width: 14rem;
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #333;
}

.services-cta-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
  margin: 3.5rem auto 0;
}

.services-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.5rem 3rem;
  border: 2px solid var(--color-yellow);
  color: var(--color-black);
  text-decoration: none;
}

.services-cta .phone-icon {
  width: 3.5rem;
  height: 3.5rem;
}

.services-cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  text-align: left;
}

.services-cta-label {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.services-cta-number {
  font-weight: 900;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: 0.02em;
  line-height: 1;
}

.services-cta-quote {
  margin: 0.85rem 0 0;
  color: var(--color-yellow);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  line-height: 1.45;
  text-align: center;
}

.site-footer {
  padding: 3rem var(--page-inline) 2rem;
  text-align: center;
  background: var(--color-black);
  color: var(--color-white);
}

.footer-tagline {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1rem, 2.5vw, 1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer .accent-line {
  margin-top: 0.85rem;
}

.footer-copy {
  margin: 1.5rem 0 0;
  font-weight: 400;
  font-size: 0.85rem;
  color: #9a9a9a;
}

.sticky-call {
  display: none;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-fade {
  from {
    opacity: 0;
    transform: translateX(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 56rem) {
  .hero {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    min-height: calc(100vh - 4.75rem - 4.5rem);
    min-height: calc(100dvh - 4.75rem - 4.5rem - env(safe-area-inset-bottom, 0px));
    padding-bottom: 0;
  }

  .hero-media {
    flex: 1 1 auto;
    align-self: stretch;
    width: 100%;
    max-width: 28rem;
    min-height: 0;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    line-height: 0;
    animation-name: hero-rise;
  }

  .hero-media img {
    width: 100%;
    height: 114%;
    max-width: none;
    margin-bottom: -14%;
    object-fit: contain;
    object-position: bottom center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0.5rem;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(3.5rem, 18vw, 5.5rem);
    line-height: 0.9;
  }

  .hero-title > span {
    display: block;
  }

  .hero-title .logo-dot {
    width: 0.2em;
    height: 0.2em;
  }

  .hero-tagline {
    max-width: 18rem;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    line-height: 1.35;
  }

  .hero-phone,
  .services-cta-block {
    display: none;
  }

  .sticky-call {
    position: fixed;
    z-index: 100;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    min-height: 3.75rem;
    padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom));
    background: var(--color-yellow);
    color: var(--color-black);
    font-weight: 900;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    line-height: 1;
    text-decoration: none;
  }

  .sticky-call-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: var(--color-yellow);
    background: var(--color-black);
  }

  .site-footer {
    padding-bottom: calc(3rem + 4.5rem);
  }

  .services {
    padding: 4.5rem 1.75rem 5.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.5rem;
  }

  .service-item:nth-child(odd) {
    border-left: 0;
  }

  .service-item:nth-child(even) {
    border-left: 1px solid #e5e5e5;
  }
}

@media (max-width: 40rem) {
  .site-header {
    padding: 1.25rem 1.5rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .hero {
    padding-inline: 1.25rem;
    padding-bottom: 0;
    min-height: calc(100vh - 4.25rem - 4.5rem);
    min-height: calc(100dvh - 4.25rem - 4.5rem - env(safe-area-inset-bottom, 0px));
  }

  .hero-media {
    max-width: 100%;
  }

  .hero-media img {
    margin-bottom: -14%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-item:not(:first-child) {
    border-left: 0;
    border-top: 1px solid #e5e5e5;
    padding: 1.75rem 0 0;
  }

  .service-item:nth-child(even) {
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-media {
    animation: none;
  }
}
