:root {
  --ink: #111318;
  --steel: #2a3038;
  --muted: #66717f;
  --paper: #f3f7fb;
  --white: #ffffff;
  --line: #d9e2ec;
  --blue: #0c6edb;
  --cyan: #00a9b8;
  --green: #15965e;
  --yellow: #ffd43b;
  --red: #e52e32;
  --shadow: 0 24px 70px rgba(17, 19, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 400;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 900;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 180;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 12px max(24px, calc((100% - 1180px) / 2));
  color: var(--white);
  background: rgba(17, 19, 24, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.site-header.is-solid {
  background: rgba(17, 19, 24, 0.98);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  font-weight: 950;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--yellow);
}

.header-call {
  display: grid;
  justify-items: end;
  min-width: 168px;
  line-height: 1.1;
}

.header-call span {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
}

.header-call strong {
  color: var(--white);
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.08);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 19, 24, 0.95) 0%, rgba(17, 19, 24, 0.72) 44%, rgba(17, 19, 24, 0.14) 100%),
    linear-gradient(180deg, rgba(17, 19, 24, 0.3) 0%, rgba(17, 19, 24, 0.86) 100%);
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 34px;
  width: min(1180px, calc(100% - 48px));
  min-height: 78vh;
  margin: 0 auto;
  padding: 92px 0 58px;
}

.hero-copy {
  max-width: 820px;
}

.hero-status,
.section-heading p,
.device-copy > p,
.contact-copy > p {
  margin: 0;
  color: var(--yellow);
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 840px;
  margin: 14px 0 0;
  font-size: 5.45rem;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.28rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 950;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.btn svg,
.floating-actions svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex: 0 0 auto;
}

.btn-alert {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.btn-whatsapp {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 20px;
  background: rgba(17, 19, 24, 0.72);
  backdrop-filter: blur(14px);
}

.hero-panel strong {
  display: block;
  color: var(--yellow);
  font-size: 1.35rem;
  line-height: 1.18;
}

.hero-panel p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.hero-panel ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
}

.hero-panel li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--cyan);
}

.quick-picks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 48px));
  margin: -30px auto 0;
  position: relative;
  z-index: 4;
  box-shadow: var(--shadow);
}

.quick-picks a {
  display: grid;
  min-height: 132px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  padding: 20px;
  color: var(--white);
  background: var(--ink);
  transition: transform 160ms ease, background 160ms ease;
}

.quick-picks a:nth-child(2) {
  background: #17283a;
}

.quick-picks a:nth-child(3) {
  background: #3a1d20;
}

.quick-picks a:nth-child(4) {
  border-right: 0;
  background: #163328;
}

.quick-picks a:hover,
.quick-picks a:focus-visible {
  transform: translateY(-6px);
  background: var(--blue);
}

.quick-picks span {
  color: var(--yellow);
  font-size: 0.86rem;
  font-weight: 950;
}

.quick-picks strong {
  align-self: end;
  font-size: 1.1rem;
}

.quick-picks small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.section,
.intro-section,
.areas-section,
.guide-section,
.gallery-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading h2,
.device-copy h2,
.contact-copy h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 2.65rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: 34px;
  align-items: stretch;
}

.intro-photo {
  position: relative;
  min-height: 490px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.intro-photo img {
  width: 100%;
  height: 100%;
  min-height: 490px;
  object-fit: cover;
}

.intro-photo figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border-left: 5px solid var(--yellow);
  padding: 13px 15px;
  color: var(--white);
  background: rgba(17, 19, 24, 0.78);
  font-weight: 850;
}

.intro-copy {
  display: grid;
  align-content: space-between;
  gap: 24px;
}

.intro-copy > p {
  margin: 0;
  color: var(--steel);
  font-size: 1.16rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.proof-grid div {
  min-height: 136px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
}

.proof-grid strong {
  display: block;
  color: var(--blue);
  font-size: 1.65rem;
  line-height: 1;
}

.proof-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.service-stage {
  padding: 92px max(24px, calc((100% - 1180px) / 2));
  color: var(--white);
  background: var(--ink);
}

.service-stage .section-heading h2 {
  color: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 248px;
  gap: 14px;
}

.service-tile {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #1b2028;
}

.service-tile.large {
  grid-column: span 2;
  grid-row: span 2;
}

.service-tile.tall {
  grid-row: span 2;
}

.service-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.05);
  transition: transform 240ms ease;
}

.service-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(17, 19, 24, 0.02) 0%, rgba(17, 19, 24, 0.86) 100%);
}

.service-tile:hover img,
.service-tile:focus-within img {
  transform: scale(1.04);
}

.service-tile div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px;
}

.service-tile span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 0.84rem;
  font-weight: 950;
}

.service-tile h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1.12;
}

.service-tile.large h3 {
  font-size: 2rem;
}

.service-tile p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.device-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  gap: 44px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 98px 0;
}

.device-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.device-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.device-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--yellow);
  font-weight: 950;
}

.device-steps {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.device-steps article {
  border-left: 5px solid var(--red);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
}

.device-steps article:nth-child(2) {
  border-left-color: var(--blue);
}

.device-steps article:nth-child(3) {
  border-left-color: var(--green);
}

.device-steps span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 950;
}

.device-steps h3 {
  margin: 4px 0 0;
  font-size: 1.16rem;
  line-height: 1.2;
}

.device-steps p {
  margin: 8px 0 0;
  color: var(--muted);
}

.areas-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.area-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: stretch;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 10px;
}

.area-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--white);
  color: var(--steel);
  font-weight: 850;
}

.area-callout {
  display: grid;
  align-content: space-between;
  min-height: 220px;
  border-radius: 8px;
  padding: 22px;
  color: var(--white);
  background: var(--blue);
}

.area-callout strong {
  color: var(--yellow);
  font-size: 1.2rem;
}

.area-callout p {
  margin: 12px 0 22px;
}

.area-callout a {
  display: inline-flex;
  width: fit-content;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--yellow);
  font-weight: 950;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 178px;
  gap: 10px;
}

.gallery-grid button {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: var(--ink);
  cursor: zoom-in;
}

.gallery-grid button:nth-child(1),
.gallery-grid button:nth-child(4),
.gallery-grid button:nth-child(9) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.gallery-grid span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 6px;
  padding: 7px 9px;
  color: var(--white);
  background: rgba(17, 19, 24, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
}

.gallery-grid button:hover img,
.gallery-grid button:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1.12);
}

.guide-section {
  width: 100%;
  padding: 94px max(24px, calc((100% - 1180px) / 2));
  background: #eaf2f8;
}

.guide-list {
  display: grid;
  gap: 12px;
}

.guide-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.guide-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 950;
}

.guide-list p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: 28px;
  padding: 92px max(24px, calc((100% - 1180px) / 2));
  color: var(--white);
  background: var(--ink);
}

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

.contact-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
}

.contact-list div {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 12px;
}

.contact-list dt {
  color: var(--yellow);
  font-weight: 950;
}

.contact-list dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.map-wrap {
  min-height: 470px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 470px;
  border: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px max(24px, calc((100% - 1180px) / 2));
  color: rgba(255, 255, 255, 0.72);
  background: #090b0e;
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.site-footer img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 130;
  display: grid;
  gap: 10px;
}

.floating-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  color: var(--white);
  box-shadow: 0 16px 34px rgba(17, 19, 24, 0.28);
}

.float-whatsapp {
  background: var(--green);
}

.float-phone {
  background: var(--red);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 420;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1120px, 94vw);
  max-height: 86vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.lightbox-close::before,
.lightbox-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  content: "";
  background: var(--white);
}

.lightbox-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

[data-reveal] {
  transform: translateY(18px);
  opacity: 0;
  transition: transform 520ms ease, opacity 520ms ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1120px) {
  .hero h1 {
    font-size: 4.3rem;
  }

  .hero-shell,
  .intro-layout,
  .device-lab,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 520px;
  }

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

  .service-tile.large,
  .service-tile.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .service-tile.large h3 {
    font-size: 1.3rem;
  }

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(17, 19, 24, 0.98);
    box-shadow: var(--shadow);
  }

  .site-header.nav-visible .site-nav {
    display: grid;
  }

  .site-nav a {
    border-radius: 0;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .header-call {
    display: none;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

  .section-heading h2,
  .device-copy h2,
  .contact-copy h2 {
    font-size: 2.15rem;
  }

  .area-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 70px;
    padding-inline: 16px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-nav {
    top: 70px;
  }

  .hero {
    min-height: auto;
  }

  .hero-shell {
    width: min(100% - 32px, 1180px);
    min-height: auto;
    padding: 74px 0 42px;
  }

  .hero h1 {
    font-size: 2.78rem;
    line-height: 1;
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .hero-panel {
    display: none;
  }

  .quick-picks,
  .proof-grid,
  .service-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .quick-picks,
  .section,
  .intro-section,
  .device-lab,
  .areas-section,
  .gallery-section {
    width: min(100% - 32px, 1180px);
  }

  .quick-picks {
    margin-top: 0;
  }

  .quick-picks a {
    min-height: 110px;
  }

  .section,
  .intro-section,
  .device-lab,
  .areas-section,
  .gallery-section,
  .service-stage,
  .guide-section,
  .contact-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .service-stage,
  .guide-section,
  .contact-section {
    padding-inline: 16px;
  }

  .section-heading h2,
  .device-copy h2,
  .contact-copy h2 {
    font-size: 1.78rem;
  }

  .intro-photo,
  .intro-photo img,
  .device-media,
  .device-media img {
    min-height: 360px;
  }

  .service-grid {
    grid-auto-rows: 300px;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .gallery-grid button:nth-child(1),
  .gallery-grid button:nth-child(4),
  .gallery-grid button:nth-child(9) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 360px;
  }

  .site-footer {
    display: grid;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    transform: none;
    opacity: 1;
  }
}
