:root {
  --ink: #062536;
  --ink-2: #0d4054;
  --cyan: #00a4c8;
  --cyan-2: #00c2df;
  --paper: #f7fbfc;
  --muted: #68808a;
  --line: rgba(6, 37, 54, 0.14);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 37, 54, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(28px, 5vw, 68px);
  color: var(--white);
  background: rgba(6, 37, 54, 0.48);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 35px rgba(6, 37, 54, 0.08);
}

.brand {
  position: relative;
  width: 124px;
  flex: 0 0 auto;
  isolation: isolate;
}

.brand img {
  position: relative;
  z-index: 2;
  width: 124px;
  height: auto;
  transition: filter 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.brand::before,
.brand::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

.brand::before {
  z-index: 0;
  left: -18px;
  top: -25px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 43% 43%, rgba(255, 255, 255, 0.92) 0%, rgba(0, 194, 223, 0.5) 28%, rgba(0, 194, 223, 0.18) 54%, rgba(0, 194, 223, 0) 76%);
  box-shadow:
    0 0 22px rgba(0, 194, 223, 0.52),
    0 0 56px rgba(0, 164, 200, 0.36);
  filter: blur(1px);
}

.brand::after {
  z-index: 1;
  left: 5px;
  top: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(0, 194, 223, 0.72) 44%, rgba(0, 194, 223, 0) 78%);
  filter: blur(7px);
}

.site-header:not(.is-scrolled) .brand img {
  filter:
    brightness(1.28)
    saturate(1.32)
    drop-shadow(0 0 6px rgba(0, 194, 223, 0.8))
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.52));
}

.site-header:not(.is-scrolled) .brand::before,
.site-header:not(.is-scrolled) .brand::after {
  opacity: 1;
}

.site-header.is-scrolled .brand img {
  filter: none;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
  color: var(--cyan-2);
}

.header-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 164, 200, 0.28);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: inherit;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 7px 8px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  --mx: 62%;
  --my: 44%;
  --spot: 0%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 37, 54, 0.92) 0%, rgba(6, 37, 54, 0.72) 42%, rgba(6, 37, 54, 0.16) 100%),
    url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=2200&q=85") center / cover;
  transform: scale(1.02);
  transition: transform 320ms ease;
}

.hero-lit {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.2) 0%, rgba(0, 194, 223, 0.12) 28%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(90deg, rgba(6, 37, 54, 0.1) 0%, rgba(6, 37, 54, 0.02) 42%, rgba(6, 37, 54, 0) 100%),
    url("assets/hero-house-night.png") center / cover;
  filter: brightness(1.22) saturate(1.16) contrast(1.08);
  opacity: 0;
  clip-path: none;
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0%, #000 var(--spot), rgba(0, 0, 0, 0.72) calc(var(--spot) + 7%), rgba(0, 0, 0, 0.28) calc(var(--spot) + 15%), transparent calc(var(--spot) + 28%));
  mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0%, #000 var(--spot), rgba(0, 0, 0, 0.72) calc(var(--spot) + 7%), rgba(0, 0, 0, 0.28) calc(var(--spot) + 15%), transparent calc(var(--spot) + 28%));
  transition: opacity 180ms ease, filter 180ms ease;
  transform: scale(1.02);
}

.hero-lit::before,
.hero-lit::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-lit::before {
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 244, 178, 0.36), rgba(255, 244, 178, 0) 26%),
    radial-gradient(circle at calc(var(--mx) + 8%) calc(var(--my) + 18%), rgba(0, 194, 223, 0.24), rgba(0, 194, 223, 0) 24%);
  mix-blend-mode: screen;
}

.hero-lit::after {
  background:
    radial-gradient(circle at var(--mx) var(--my), transparent 0%, transparent 47%, rgba(255, 255, 255, 0.22) 58%, rgba(0, 194, 223, 0.22) 66%, transparent 82%),
    linear-gradient(108deg, transparent 0%, rgba(255, 255, 255, 0.14) 45%, transparent 62%);
  opacity: 0.72;
  mix-blend-mode: screen;
}

.hero.is-moving .hero-lit {
  --spot: 10%;
  opacity: 1;
}

.hero.is-touch-light .hero-lit {
  filter: brightness(1.34) saturate(1.28) contrast(1.1);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hero::before {
  inset: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(0, 194, 223, 0.2) 0%, rgba(0, 194, 223, 0.08) 16%, rgba(0, 194, 223, 0) 34%),
    radial-gradient(circle at calc(var(--mx) - 9%) calc(var(--my) + 12%), rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 22%);
  mix-blend-mode: screen;
  opacity: 0.48;
  transition: opacity 220ms ease;
}

.hero::after {
  left: calc(var(--mx) - 170px);
  top: calc(var(--my) - 135px);
  width: 340px;
  height: 270px;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.22) 0%, rgba(0, 194, 223, 0.18) 28%, rgba(0, 194, 223, 0) 68%);
  filter: blur(24px);
  opacity: 0;
  transform: rotate(-18deg);
  transition: left 90ms linear, top 90ms linear;
}

.hero.is-moving .hero-bg {
  transform: scale(1.035) translate3d(calc((var(--mx-num, 50) - 50) * -0.07px), calc((var(--my-num, 50) - 50) * -0.05px), 0);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding-top: 78px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--cyan-2);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.82rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.55;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--cyan);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(0, 164, 200, 0.28);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn.dark {
  background: var(--ink);
  color: var(--white);
}

.stats {
  width: min(1180px, calc(100% - 36px));
  margin: -58px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

.stats div {
  min-height: 132px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  color: var(--cyan);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.35;
}

.section-pad {
  padding: clamp(70px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.intro-grid,
.section-heading,
.feature,
.automation-content,
.cta,
.site-footer {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(34px, 7vw, 84px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro-grid p,
.feature-copy p,
.automation-content p,
.cta p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 38px;
}

.cards {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards.four {
  grid-template-columns: repeat(4, 1fr);
}

.image-card,
.cases article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(6, 37, 54, 0.08);
}

.image-card img,
.cases img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.image-card div,
.cases article {
  padding: 24px;
}

.image-card span,
.steps span {
  color: var(--cyan);
  font-weight: 900;
}

h3 {
  margin: 10px 0 10px;
  font-size: 1.35rem;
}

.image-card p,
.cases p,
.steps p,
.site-footer p,
.site-footer span {
  color: var(--muted);
  line-height: 1.6;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(34px, 7vw, 82px);
  align-items: center;
}

.feature-media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-media img {
  width: 100%;
  height: min(650px, 72vh);
  object-fit: cover;
}

.check-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-2);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.24em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: inset 0 0 0 5px var(--white);
}

.automation {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.automation-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 37, 54, 0.18), rgba(6, 37, 54, 0.86) 52%, rgba(6, 37, 54, 0.96)),
    url("https://images.unsplash.com/photo-1558002038-1055907df827?auto=format&fit=crop&w=2200&q=85") center / cover;
}

.automation-content {
  position: relative;
  margin-right: max(18px, 7vw);
  margin-left: auto;
  max-width: 620px;
}

.automation-content p {
  color: rgba(255, 255, 255, 0.82);
}

.split-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
  margin-bottom: 34px;
}

.split-list div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.steps {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.steps::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 48px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 194, 223, 0.08), rgba(0, 194, 223, 0.62), rgba(0, 194, 223, 0.08));
}

.steps article {
  position: relative;
  min-height: 330px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(6, 37, 54, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.steps article:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 164, 200, 0.36);
  box-shadow: 0 24px 58px rgba(6, 37, 54, 0.14);
}

.steps article::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(0, 194, 223, 0.1), transparent 42%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.steps article:hover::after {
  opacity: 1;
}

.steps span {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(0, 194, 223, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 164, 200, 0.22), 0 10px 26px rgba(0, 164, 200, 0.16);
}

.steps h3,
.steps p,
.steps ul {
  position: relative;
  z-index: 1;
}

.steps ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.steps li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-2);
  box-shadow: 0 0 0 5px rgba(0, 194, 223, 0.12);
}

.cases {
  background: #eaf4f7;
}

.cases article {
  padding: 0 0 22px;
}

.cases h3,
.cases p {
  padding: 0 22px;
}

.cases h3 {
  margin-top: 20px;
}

.cases img {
  height: 210px;
}

.cta {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(34px, 6vw, 64px);
  box-shadow: var(--shadow);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr;
  gap: 32px;
  padding: 64px clamp(18px, 5vw, 72px);
}

.site-footer img {
  width: 190px;
  margin-bottom: 16px;
}

.site-footer h3 {
  font-size: 1rem;
  margin-top: 0;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 10px 0;
}

.quick-contact {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(18px, 3vw, 32px);
  z-index: 30;
  display: grid;
  gap: 12px;
}

.quick-contact__item {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 18px 38px rgba(6, 37, 54, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.quick-contact__item:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 46px rgba(6, 37, 54, 0.34);
  filter: saturate(1.1);
}

.quick-contact__item svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.quick-contact__item--whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.quick-contact__item--mail {
  background: linear-gradient(135deg, var(--cyan-2) 0%, var(--ink-2) 100%);
}

@media (max-width: 980px) {
  .site-header {
    height: 70px;
  }

  .menu-button {
    display: block;
  }

  .site-nav,
  .header-action {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    gap: 0;
    padding: 10px;
    background: var(--white);
    color: var(--ink);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open a {
    padding: 15px;
    border-bottom: 1px solid var(--line);
  }

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

  .stats,
  .cards.three,
  .cards.four,
  .steps,
  .intro-grid,
  .feature,
  .cta,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .intro-grid,
  .feature,
  .cta {
    gap: 28px;
  }

  .automation-content {
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .brand,
  .brand img {
    width: 108px;
  }

  .site-header {
    padding: 0 28px;
  }

  .brand::before {
    left: -16px;
    top: -24px;
    width: 80px;
    height: 80px;
  }

  .brand::after {
    left: 5px;
    top: 2px;
    width: 22px;
    height: 22px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(6, 37, 54, 0.94) 0%, rgba(6, 37, 54, 0.78) 52%, rgba(6, 37, 54, 0.34) 100%),
      url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1200&q=85") center / cover;
  }

  .hero-lit {
    display: block;
    filter: brightness(1.18) saturate(1.12) contrast(1.04);
    -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.9) 18%, rgba(0, 0, 0, 0.48) 32%, transparent 52%);
    mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.9) 18%, rgba(0, 0, 0, 0.48) 32%, transparent 52%);
  }

  .hero.is-moving .hero-lit {
    opacity: 0.96;
  }

  .hero.is-touch-light .hero-lit {
    opacity: 1;
    filter: brightness(1.38) saturate(1.32) contrast(1.12);
    -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0%, #000 24%, rgba(0, 0, 0, 0.58) 40%, transparent 62%);
    mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0%, #000 24%, rgba(0, 0, 0, 0.58) 40%, transparent 62%);
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 90px;
  }

  h1 {
    font-size: clamp(2.85rem, 16vw, 4.6rem);
  }

  .stats,
  .cards.three,
  .cards.four,
  .steps,
  .intro-grid,
  .feature,
  .cta,
  .site-footer,
  .split-list {
    grid-template-columns: 1fr;
  }

  .stats {
    margin-top: 0;
    width: 100%;
    border-radius: 0;
  }

  .stats div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading {
    display: block;
  }

  .steps::before {
    display: none;
  }

  .steps article {
    min-height: auto;
  }

  .automation {
    min-height: auto;
  }

  .automation-bg {
    background:
      linear-gradient(180deg, rgba(6, 37, 54, 0.88), rgba(6, 37, 54, 0.94)),
      url("https://images.unsplash.com/photo-1558002038-1055907df827?auto=format&fit=crop&w=1200&q=85") center / cover;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
