:root {
  --blue-950: #031228;
  --blue-900: #062044;
  --blue-800: #0a3268;
  --blue-700: #003880;
  --red-700: #9d1020;
  --red-600: #c41224;
  --ink: #142033;
  --muted: #526273;
  --line: #d5dee8;
  --paper: #f3f6fa;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(6, 32, 68, 0.08);
  --header-h: 4.75rem;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 7.4vw, 4.5rem);
  color: var(--white);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  color: var(--blue-900);
}

h3 {
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--white);
  color: var(--blue-900);
  padding: 0.6rem 0.9rem;
  font-weight: 700;
}

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

.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;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.section,
.coverage {
  scroll-margin-top: 5.25rem;
}

.section {
  padding: 4.25rem 0;
}

.section--paper {
  background: var(--paper);
}

.section__header {
  max-width: 42rem;
  margin-bottom: 2.25rem;
}

.section__header p:last-child,
.about__copy p {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--red-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #ffb4bc;
}

.stripe {
  height: 8px;
  background: linear-gradient(90deg, var(--red-600) 0 22%, var(--blue-700) 22% 100%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--red-600);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--red-700);
}

.button--ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.75);
}

.button--ghost:hover {
  background: var(--white);
  color: var(--blue-900);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  line-height: 0;
}

.brand img {
  width: auto;
  height: 42px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

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

.nav-toggle {
  display: inline-grid;
  gap: 5px;
  width: 46px;
  height: 46px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue-900);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-check:focus-visible + .nav-toggle {
  outline: 3px solid var(--red-600);
  outline-offset: 3px;
}

.nav-check:checked + .nav-toggle .nav-toggle__bar:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.nav-check:checked + .nav-toggle .nav-toggle__bar:nth-child(3) {
  opacity: 0;
}

.nav-check:checked + .nav-toggle .nav-toggle__bar:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: fixed;
  z-index: 25;
  top: var(--header-h);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow: auto;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1.25rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.nav-check:checked ~ .site-nav {
  display: flex;
}

.site-nav a {
  padding: 0.8rem 0.35rem;
  color: var(--blue-900);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--red-700);
}

.site-nav a.nav-cta {
  margin-top: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--red-600);
  color: var(--white);
  text-align: center;
  white-space: nowrap;
}

.site-nav a.nav-cta:hover {
  background: var(--red-700);
  color: var(--white);
}

.hero {
  display: grid;
  background: var(--blue-950);
  color: var(--white);
}

.hero__copy {
  padding: 2.5rem 0 2.75rem;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero__specialty {
  max-width: 22em;
  margin: 0 0 0.85rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 3.4vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.hero__lead {
  max-width: 38rem;
  color: #d5e2f2;
  font-size: 1.125rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.75rem;
}

.hero__actions .button {
  flex: 1 1 10.5rem;
}

.hero__facts {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 1rem 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #d5e2f2;
  font-weight: 600;
}

.hero__media {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  background: var(--blue-950);
}

.hero__media img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

.hero__media .hero__fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(28px);
  transform: scale(1.15);
  opacity: 0.4;
  pointer-events: none;
}

.about__grid,
.room-layout,
.contact__grid,
.footer__grid {
  display: grid;
  gap: 1.75rem;
}

.about__media {
  margin: 0;
}

.about__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 42%;
  border-radius: var(--radius);
}

.about__media figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.about__points,
.service ul,
.system ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about__points li,
.service li,
.system li {
  position: relative;
  padding-left: 1rem;
  margin: 0.4rem 0;
}

.about__points li::before,
.service li::before,
.system li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--red-600);
}

.service-grid,
.system-grid,
.product-grid,
.benefit-grid {
  display: grid;
  gap: 1rem;
}

.service,
.system,
.product,
.contact__panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service,
.system {
  padding: 1.25rem 1.25rem 1.1rem;
  border-top: 4px solid var(--red-600);
}

.service p,
.system p,
.product p {
  color: var(--muted);
}

.service h3,
.system h3,
.product h3 {
  color: var(--blue-900);
  line-height: 1.15;
  margin-bottom: 0.65rem;
}

.service h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.45rem);
}

.service > p,
.product__body > p {
  margin-bottom: 1rem;
}

.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  padding: 1.25rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f7f9fb 0%, #e7eef5 100%);
}

.product__media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(220px - 2.5rem);
  object-fit: contain;
}

.product__body {
  padding: 1.15rem 1.2rem 1.25rem;
}

.spec {
  margin: 0.4rem 0 0;
}

.spec div {
  display: grid;
  grid-template-columns: 8.25rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.spec dt {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.35;
}

.spec dd {
  margin: 0;
}

.feature-video {
  margin: 0 0 2.25rem;
}

.feature-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--blue-950);
  border-radius: var(--radius);
}

.feature-video figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan {
  margin: 0;
}

.plan img {
  display: block;
  width: 100%;
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.plan figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-title,
.subsection-title {
  margin: 0 0 0.9rem;
  color: var(--blue-900);
}

.subsection-title {
  margin-top: 2.75rem;
}

.legend {
  display: grid;
  gap: 0.35rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.legend li {
  counter-increment: item;
  display: grid;
  grid-template-columns: 1.7rem 1fr;
  gap: 0.35rem;
  align-items: baseline;
  font-size: 0.95rem;
}

.legend li::before {
  content: counter(item);
  color: var(--red-700);
  font-weight: 700;
}

.benefit-grid {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.benefit-grid li {
  padding: 1rem 1.1rem;
  background: var(--paper);
  border-radius: 12px;
}

.benefit-grid strong,
.process strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.benefit-grid span,
.process span {
  color: var(--muted);
}

.process {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process li {
  counter-increment: step;
  position: relative;
  padding: 0.9rem 0.95rem 0.9rem 4rem;
  background: var(--paper);
  border-radius: 12px;
}

.process li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0.85rem;
  top: 0.95rem;
  color: var(--red-600);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.project-list {
  display: grid;
  gap: 1.25rem;
}

.project {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.project__place {
  margin: 0 0 0.35rem;
  color: var(--red-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project__client {
  margin: 0 0 0.35rem;
  color: var(--blue-800);
  font-weight: 700;
}

.project__intro p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

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

.project__gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  background: #d7e0ea;
}

.coverage {
  padding: 4.25rem 0;
  background:
    linear-gradient(180deg, var(--white) 0%, #e7f0f8 100%);
}

.coverage__map {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact {
  background: var(--blue-900);
  color: var(--white);
}

.contact h2,
.contact h3 {
  color: var(--white);
}

.contact p {
  color: #d5e2f2;
}

.contact__list {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  font-style: normal;
}

.contact__list a {
  display: block;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  text-decoration: none;
}

.contact__list a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.contact__list span {
  display: block;
  color: #ffb4bc;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact__list strong {
  display: block;
  margin-top: 0.15rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact__panel {
  align-self: start;
  padding: 1.4rem;
  background: var(--blue-950);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.trust {
  padding: 3.25rem 0;
  background: var(--blue-950);
  color: var(--white);
}

.trust__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.trust h2 {
  max-width: 16em;
  margin: 0;
  color: var(--white);
}

.button--wa {
  background: #25d366;
  color: #fff;
  text-align: center;
  white-space: normal;
}

.button--wa:hover {
  background: #1ebe5d;
  color: #fff;
}

.site-footer {
  padding: 2.25rem 0 5.75rem;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.whatsapp-fab {
  position: fixed;
  z-index: 20;
  right: 1.25rem;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(6, 32, 68, 0.22);
}

.whatsapp-fab svg {
  width: 1.85rem;
  height: 1.85rem;
}

.whatsapp-fab:hover {
  background: #1ebe5d;
}

body.nav-open .whatsapp-fab {
  visibility: hidden;
}

.brand--footer img {
  height: 50px;
}

.site-footer p {
  max-width: 28rem;
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.site-footer nav a {
  color: var(--blue-900);
  font-weight: 700;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--red-700);
}

.footer__meta {
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid var(--red-600);
  outline-offset: 3px;
}

@media (min-width: 480px) {
  .brand img {
    height: 52px;
  }
}

@media (min-width: 720px) {
  .container {
    width: min(1120px, calc(100% - 3rem));
  }

  .hero__copy {
    width: min(1120px, calc(100% - 3rem));
  }

  .section {
    padding: 5.5rem 0;
  }

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

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

  .benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project__gallery[data-count="3"],
  .project__gallery[data-count="6"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project__gallery[data-count="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .coverage {
    padding: 5.5rem 0;
  }

  .trust__inner {
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
  }

  .trust h2 {
    flex: 1 1 16rem;
  }
}

@media (min-width: 880px) {
  .nav-toggle,
  .nav-check {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.15rem;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    padding: 0.35rem 0;
  }

  .site-nav a.nav-cta {
    margin-top: 0;
    padding: 0.55rem 1rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: stretch;
    min-height: 560px;
  }

  .hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 3.5rem 2.5rem 3.5rem max(1.5rem, calc((100vw - 1120px) / 2));
  }

  .hero__actions .button {
    flex: 0 0 auto;
  }

  .hero__media img {
    width: 100%;
    height: auto;
  }

  .about__grid {
    grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
    gap: 3rem;
    align-items: center;
  }

  .about__media {
    position: relative;
  }

  .about__media img {
    box-shadow: 16px 16px 0 var(--blue-800);
  }

  .about__media figcaption {
    margin-top: 1.6rem;
  }

  .room-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 2.5rem;
    align-items: start;
  }

  .project {
    grid-template-columns: minmax(200px, 250px) minmax(0, 1fr);
    align-items: start;
    gap: 1.25rem;
  }

  .contact__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
    gap: 2rem;
    align-items: stretch;
  }

  .contact__panel {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .contact__panel .button {
    margin-top: auto;
    align-self: flex-start;
  }

  .footer__grid {
    grid-template-columns: minmax(220px, 1.3fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
  }
}

@media (min-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .system-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
  }

  .product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .product {
    grid-column: span 2;
  }

  .product:nth-child(4),
  .product:nth-child(5) {
    grid-column: span 3;
  }

  .process {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .process li {
    padding: 3.1rem 0.75rem 0.9rem;
  }

  .process li::before {
    top: 0.75rem;
    left: 0.75rem;
  }

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

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

  .nav-toggle__bar {
    transition: none;
  }
}
