@font-face {
  font-family: "Poppins";
  src: url("assets/poppins-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --color-red: #d80c0c;
  --color-red-dark: #b30914;
  --color-black: #111111;
  --color-charcoal: #222222;
  --color-silver: #c0c0c0;
  --color-white: #ffffff;
  --color-muted: #686868;
  --color-soft: #f3f3f3;
  --font-body: "Poppins", Arial, sans-serif;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: page-out 180ms ease both;
}

::view-transition-new(root) {
  animation: page-in 260ms ease both;
}

@keyframes page-out {
  to { opacity: 0; }
}

@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  margin: 0;
  color: var(--color-black);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #ed3440;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  transform: translateY(-180%);
  color: var(--color-white);
  background: var(--color-black);
}

.skip-link:focus {
  transform: translateY(0);
}

.quick-contact {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 5vw, 4.5rem);
  min-height: 6.25rem;
  padding: 0.55rem max(1.25rem, calc((100vw - var(--content-width)) / 2));
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  transform: translateY(-110%);
  visibility: hidden;
  transition: transform 220ms ease, visibility 220ms;
}

.quick-contact.is-visible {
  transform: translateY(0);
  visibility: visible;
}

.quick-contact__brand {
  flex: 0 0 145px;
  width: 145px;
  height: 58px;
  overflow: hidden;
}

.quick-contact__brand img,
.hero__brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quick-contact__actions {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.quick-contact__action {
  display: flex;
  min-width: min(25vw, 280px);
  flex-direction: column;
  align-items: center;
}

.quick-contact__note {
  margin-top: 0.15rem;
  color: var(--color-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  color: var(--color-white);
  background: var(--color-red);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--color-red-dark);
  transform: translateY(-1px);
}

.button svg,
.contact__phone svg {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.button--large {
  min-width: 245px;
  min-height: 4rem;
  font-size: 1.05rem;
}

.button--dark {
  color: var(--color-white);
  background: var(--color-black);
}

.button--dark:hover {
  background: #333333;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(790px, 100vh);
  min-height: min(790px, 100svh);
  place-items: center;
  overflow: hidden;
  color: var(--color-white);
  background: #171717;
  text-align: center;
}

.hero__video,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  object-fit: cover;
  object-position: center 47%;
}

.hero__shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0.68));
}

.hero__content {
  position: relative;
  width: min(100% - 2rem, 1100px);
  padding: 3rem 0 2rem;
}

.hero__brand {
  display: block;
  width: clamp(230px, 26vw, 340px);
  aspect-ratio: 2.65;
  margin: 0 auto 2.5rem;
  overflow: hidden;
}

.hero h1 {
  margin: 0 auto;
  font-size: clamp(2.35rem, 5.35vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.14;
}

.hero__subtitle {
  margin: 1.4rem 0 2.65rem;
  font-size: clamp(1.05rem, 2.1vw, 1.65rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.15rem;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2.1rem;
  color: rgba(255, 255, 255, 0.87);
  font-size: 0.9rem;
  text-decoration: none;
}

.hero__scroll span {
  font-size: 1.2rem;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) max(1.25rem, calc((100vw - var(--content-width)) / 2));
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.section__heading {
  max-width: 760px;
  margin: 0 auto 3.3rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--color-red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

.section h2,
.about h2,
.coverage h2,
.certification h2,
.contact h2,
.legal-page h1,
.legal-page h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.heading-rule {
  display: block;
  width: 72px;
  height: 4px;
  margin: 1.25rem auto 0;
  background: var(--color-red);
}

.heading-rule--left {
  margin-right: 0;
  margin-left: 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1.75rem;
}

.service-card {
  position: relative;
  min-height: 325px;
  padding: 2rem 1.75rem 2.25rem;
  overflow: hidden;
  border-radius: 0.25rem;
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}

.service-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 10px;
  background: var(--color-red);
  content: "";
}

.service-card__number {
  color: var(--color-red);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin: 0.45rem 0 0.85rem;
  font-size: 1.4rem;
  line-height: 1.35;
}

.service-card ul {
  margin: 0;
  padding-left: 1.3rem;
  color: #666666;
}

.service-card li {
  padding-left: 0.15rem;
}

.section--soft {
  background: var(--color-soft);
}

.about {
  display: block;
}

.about__content {
  max-width: 900px;
  margin: 0 auto;
}

.about__content h3 {
  margin: 1.5rem 0 0.35rem;
  font-size: 1.25rem;
  line-height: 1.4;
}

.about__content p:not(.eyebrow),
.coverage__content > p:not(.eyebrow),
.certification > div > p:not(.eyebrow),
.contact__intro > p:not(.eyebrow) {
  color: #565656;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
  color: var(--color-red-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.section__intro {
  max-width: 680px;
  margin: 1.2rem auto 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.gallery-card img {
  width: 100%;
  height: 235px;
  object-fit: cover;
  transition: transform 350ms ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
}

.gallery-card figcaption {
  display: flex;
  min-height: 82px;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
}

.gallery-card figcaption strong {
  font-size: 0.98rem;
}

.gallery-card figcaption span {
  color: var(--color-muted);
  font-size: 0.7rem;
}

.section--dark {
  color: var(--color-white);
  background: var(--color-black);
}

.section--dark .eyebrow {
  color: #ff5a63;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  text-align: center;
}

.benefit {
  max-width: 335px;
  margin: 0 auto;
}

.benefit__icon {
  display: grid;
  width: 66px;
  height: 66px;
  margin: 0 auto 1.2rem;
  place-items: center;
  border: 2px solid var(--color-red);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
}

.benefit h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.benefit p {
  margin: 0;
  color: var(--color-silver);
}

.coverage {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.coverage address {
  margin: 1.5rem 0 0.5rem;
  font-style: normal;
  font-weight: 600;
}

.map-card {
  min-height: 365px;
  overflow: hidden;
  background: #dddddd;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.map-card__placeholder {
  display: flex;
  min-height: 365px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 2rem;
  background:
    linear-gradient(45deg, transparent 48%, rgba(0, 0, 0, 0.04) 49%, rgba(0, 0, 0, 0.04) 51%, transparent 52%) 0 0 / 34px 34px,
    linear-gradient(-45deg, transparent 48%, rgba(0, 0, 0, 0.04) 49%, rgba(0, 0, 0, 0.04) 51%, transparent 52%) 0 0 / 34px 34px,
    #e9e9e9;
  text-align: center;
}

.map-card__placeholder svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: var(--color-red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.map-card__placeholder p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.map-card__placeholder small {
  max-width: 300px;
  color: #555555;
  font-size: 0.76rem;
}

.map-card__frame {
  width: 100%;
  height: 365px;
  border: 0;
}

.map-card__placeholder[hidden],
.map-card__frame[hidden],
.form-setup-note[hidden] {
  display: none;
}

.certification {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.certification > div:last-child {
  max-width: 700px;
}

.certification__badge {
  display: flex;
  width: 160px;
  height: 160px;
  flex: 0 0 160px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--color-red);
  border-radius: 50%;
  color: var(--color-black);
  line-height: 1.25;
}

.certification__badge span {
  font-size: 1rem;
  font-weight: 600;
}

.certification__badge strong {
  font-size: 1.2rem;
}

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.contact__intro {
  position: sticky;
  top: 8rem;
}

.contact__phone,
.contact__email {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  color: var(--color-black);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.contact__phone svg {
  fill: var(--color-red);
}

.contact__email {
  margin-top: 0.35rem;
  color: var(--color-red-dark);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.contact-form {
  padding: clamp(1.4rem, 4vw, 2.6rem);
  background: var(--color-white);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #b9b9b9;
  border-radius: 0.15rem;
  color: var(--color-black);
  background: var(--color-white);
}

.field textarea {
  min-height: 135px;
  resize: vertical;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.8rem 0;
  font-size: 0.84rem;
}

.checkbox-field input {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  margin: 0.18rem 0 0;
  accent-color: var(--color-red);
}

.checkbox-field a {
  color: var(--color-red-dark);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.form-note,
.form-setup-note {
  color: #5e5e5e;
  font-size: 0.77rem;
  line-height: 1.5;
}

.button--submit {
  width: 100%;
  margin-top: 0.4rem;
  border: 0;
}

.button--submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 1.5em;
  margin: 0.8rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status[data-state="error"] {
  color: #a40000;
}

.form-status[data-state="success"] {
  color: #176b36;
}

.form-setup-note {
  margin-bottom: 0;
  padding: 0.7rem;
  border-left: 3px solid var(--color-red);
  background: #f9eeee;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.footer {
  padding: 3rem 1.25rem 1.5rem;
  color: #e8e8e8;
  background: #111111;
  text-align: center;
}

.footer__brand {
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.footer > p {
  margin: 0.3rem 0;
  color: #c0c0c0;
  font-size: 0.9rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.5rem;
  margin: 1.6rem 0;
}

.footer__links a {
  color: var(--color-white);
  font-size: 0.83rem;
  text-underline-offset: 0.2em;
}

.footer .footer__copyright {
  margin-top: 1.7rem;
  font-size: 0.75rem;
}

.legal-page {
  min-height: 70vh;
  padding: 5rem max(1.25rem, calc((100vw - 900px) / 2));
}

.legal-page h1 {
  margin-bottom: 1rem;
}

.legal-page h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.45rem;
}

.legal-page p,
.legal-page li {
  color: #4f4f4f;
}

.legal-notice {
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--color-red);
  background: #fff4f4;
}

.legal-page a {
  color: var(--color-red-dark);
}

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coverage {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .quick-contact {
    gap: 1.2rem;
  }

  .quick-contact__brand {
    flex-basis: 120px;
    width: 120px;
    height: 50px;
  }

  .quick-contact__actions {
    flex: 1;
    gap: 0.75rem;
  }

  .quick-contact__action {
    min-width: 0;
    flex: 1;
  }

  .quick-contact .button {
    width: 100%;
    padding-right: 0.8rem;
    padding-left: 0.8rem;
    font-size: 0.82rem;
  }

  .quick-contact__note {
    font-size: 0.72rem;
  }

  .contact {
    gap: 2rem;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .quick-contact {
    min-height: 5.4rem;
    justify-content: center;
    padding: 0.55rem 0.75rem;
  }

  .quick-contact__brand {
    display: none;
  }

  .quick-contact__actions {
    width: 100%;
    gap: 0.6rem;
  }

  .quick-contact .button {
    min-height: 2.9rem;
    border-radius: 0.25rem;
    font-size: 0.73rem;
  }

  .quick-contact .button svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  .quick-contact__note {
    display: none;
  }

  .hero {
    min-height: 700px;
    min-height: 90svh;
  }

  .hero__content {
    padding-top: 2rem;
  }

  .hero__brand {
    width: min(66vw, 280px);
    margin-bottom: 2rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 10vw, 3.3rem);
  }

  .desktop-break {
    display: none;
  }

  .hero__subtitle {
    max-width: 410px;
    margin: 1.2rem auto 1.8rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .button--large {
    width: min(100%, 330px);
    min-height: 3.5rem;
    font-size: 0.95rem;
  }

  .hero__scroll {
    margin-top: 1.4rem;
  }

  .section {
    padding: 4rem 1.2rem;
  }

  .section__heading {
    margin-bottom: 2.2rem;
  }

  .services__grid,
  .gallery__grid,
  .benefits__grid,
  .about,
  .coverage,
  .contact {
    grid-template-columns: 1fr;
  }

  .services__grid {
    gap: 1.1rem;
  }

  .service-card {
    min-height: 0;
    padding: 1.5rem 1.35rem 1.9rem;
  }

  .gallery__grid {
    gap: 1rem;
  }

  .gallery-card img {
    height: 220px;
  }

  .benefits__grid {
    gap: 2rem;
  }

  .map-card,
  .map-card__placeholder {
    min-height: 320px;
  }

  .map-card__frame {
    height: 320px;
  }

  .certification {
    flex-direction: column;
    align-items: flex-start;
  }

  .certification__badge {
    width: 125px;
    height: 125px;
    flex-basis: 125px;
  }

  .contact__intro {
    position: static;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer__links {
    flex-direction: column;
    gap: 0.7rem;
  }
}

@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;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}
