:root {
  --bg: #060606;
  --panel: #101010;
  --panel-soft: #171717;
  --text: #f4f4f4;
  --muted: #b8b8b8;
  --line: #2b2b2b;
  --accent: #00d1b2;
  --accent-strong: #00f0cc;
  --anchor-offset: 46px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  background:
    radial-gradient(circle at 14% 9%, #1f1f1f 0%, #111 28%, var(--bg) 56%),
    linear-gradient(160deg, #090909, #060606);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 209, 178, 0.08), transparent 36%),
    radial-gradient(circle at 85% 70%, rgba(0, 240, 204, 0.08), transparent 34%);
  animation: ambientDrift 14s ease-in-out infinite alternate;
}

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

img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

picture {
  display: block;
}

.wrap {
  width: min(1240px, 94vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(6, 6, 6, 0.78);
  border-bottom: 1px solid var(--line);
}

.topbar .wrap {
  width: min(1240px, 97vw);
  max-width: 1240px;
  padding-inline: 0;
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 156px;
}

.brand img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.brand span {
  color: var(--accent);
}

.nav {
  display: flex;
  width: auto;
  margin-left: auto;
  justify-content: flex-end;
  gap: 8px;
  font-weight: 500;
  font-size: 0.66rem;
  line-height: 1;
  color: var(--muted);
  padding-right: 8px;
  padding-bottom: 0;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

.hero {
  padding: 20px 0 44px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.84));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.hero-copy {
  border: 0;
  background: transparent;
  border-radius: 24px;
  padding: clamp(18px, 3vw, 30px);
  box-shadow: none;
  opacity: 1;
}

h1 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  font-size: clamp(2rem, 8.5vw, 4.3rem);
  line-height: 0.95;
  margin-bottom: 16px;
}

.lead {
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 24px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 209, 178, 0.2);
}

.btn-primary {
  background: var(--accent);
  color: #042a23;
  border-color: var(--accent);
}

section {
  padding: 18px 0 52px;
}

section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: 1px 620px;
}

main[id],
section[id] {
  scroll-margin-top: var(--anchor-offset);
}

.section-head {
  margin-bottom: 22px;
}

h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.9px;
  font-size: clamp(1.7rem, 7vw, 3.1rem);
  margin-bottom: 8px;
}

.problem-title {
  line-height: 1.05;
}

.section-head p {
  color: var(--muted);
  max-width: 70ch;
}

#services .section-head {
  text-align: center;
}

#services .section-head p {
  margin-inline: auto;
}

.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.system-drop {
  opacity: 1;
}

.system-drop-left {
  animation: dropCard 0.85s cubic-bezier(0.24, 0.86, 0.24, 1) 0.1s forwards;
}

.system-drop-right {
  animation: dropCard 0.85s cubic-bezier(0.24, 0.86, 0.24, 1) 0.28s forwards;
}

.panel {
  background: linear-gradient(180deg, #111, #0d0d0d);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
  animation: fadeLift 0.7s ease both;
}

.panel p {
  color: var(--muted);
}

.points {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
}

.points li {
  list-style: none;
  padding-left: 18px;
  position: relative;
}

.points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 9px;
}

.subheading {
  margin-top: 18px;
}

.checks li::before {
  border-radius: 0;
  width: 9px;
  height: 9px;
}

.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 980px;
  margin-inline: auto;
}

.card {
  background: linear-gradient(180deg, #1a1a1a, #121212);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 190px auto;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  animation: fadeLift 0.7s ease both;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #3f3f3f;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.32);
}

.card img {
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.45s ease;
}

.card:hover img {
  transform: scale(1.04);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
  transform: translateX(-115%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.card:hover::after {
  transform: translateX(115%);
}

.card-body {
  padding: 18px;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.price {
  margin-top: 10px;
}

.card-cta {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.service-addon {
  border-color: #0f5f54;
}

#services > p {
  text-align: center;
  max-width: 70ch;
  margin: 18px auto 0;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact .panel p {
  margin-top: 8px;
}

.contact-form {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  color: var(--text);
  font-family: "Archivo", sans-serif;
  padding: 11px 12px;
  font-size: 1rem;
  min-height: 44px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background: var(--accent);
  color: #03241f;
  font-weight: 700;
  cursor: pointer;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

footer {
  border-top: 1px solid var(--line);
  color: #8d8d8d;
  text-align: center;
  padding: 20px 0 34px;
  font-size: 0.92rem;
}

@keyframes fadeLift {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeftMeet {
  from {
    opacity: 0;
    transform: translateX(-54px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRightMeet {
  from {
    opacity: 0;
    transform: translateX(54px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes titleCharIn {
  from {
    opacity: 0;
    transform: none;
    filter: none;
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes wordRiseIn {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(1.5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes dropCard {
  0% {
    opacity: 0;
    transform: translateY(-36px) scale(0.98);
  }
  65% {
    opacity: 1;
    transform: translateY(6px) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ambientDrift {
  from {
    transform: translate3d(-1%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(1%, 1%, 0) scale(1.03);
  }
}

/* ===== Floating WhatsApp Button ===== */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

.sticky-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1001;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #03241f;
  font-weight: 800;
  border: 1px solid var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

@media (min-width: 320px) {
  body::before {
    animation: none;
    opacity: 0.32;
  }

  .topbar {
    backdrop-filter: none;
  }

  .hero-copy,
  .system-drop,
  .panel,
  .card {
    animation: none;
  }

  .services .card h3 {
    color: #f7f7f7;
  }

  .services .card p,
  .services .card .price {
    color: #e8e8e8;
  }

  .whatsapp-float {
    bottom: 78px;
  }
}

@media (min-width: 480px) {
  .hero {
    padding-top: 24px;
  }

  .hero-copy,
  .panel {
    padding: 20px;
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    width: auto;
    justify-content: flex-end;
    gap: 18px;
    font-size: 0.95rem;
    padding-right: 0;
    padding-bottom: 0;
  }

  .topbar-inner {
    min-height: 50px;
    gap: 14px;
    flex-wrap: nowrap;
  }

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

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

  .sticky-cta {
    display: none;
  }

  .whatsapp-float {
    bottom: 25px;
  }

  :root {
    --anchor-offset: 54px;
  }
}

@media (min-width: 1024px) {
  body::before {
    animation: ambientDrift 14s ease-in-out infinite alternate;
    opacity: 1;
  }

  .topbar {
    backdrop-filter: blur(10px);
  }

  .topbar-inner {
    min-height: 43px;
  }

  :root {
    --anchor-offset: 46px;
  }

  .nav {
    gap: 15px;
    font-size: 0.98rem;
  }

  .hero {
    padding: 34px 26px 58px;
    background:
      linear-gradient(105deg, rgba(6, 6, 6, 0.88) 0%, rgba(8, 8, 8, 0.72) 46%, rgba(8, 8, 8, 0.55) 100%),
      url("images/10-1024.jpg");
    background-size: cover;
    background-position: center;
    border: 1px solid var(--line);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
  }

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

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

  .panel {
    padding: 26px;
  }

  .reveal-on-view.in-view.hero-wrap-left {
    animation: slideInLeftMeet 0.8s cubic-bezier(0.2, 0.76, 0.2, 1) both;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.hero-sequence-title span {
  display: inline;
  opacity: 1;
  color: var(--accent-strong);
  text-shadow: 0 0 0 transparent;
}

.hero-sequence-title .word {
  display: inline-block;
  margin-right: 0.28em;
}

.hero-sequence-title .word:last-child {
  margin-right: 0;
}

.hero-sequence-title.in-view .word {
  animation: none;
}

.problem-title .word {
  display: inline-block;
  margin-right: 0.26em;
  opacity: 1;
  color: #f0f0f0;
}

.problem-title .word:last-child {
  margin-right: 0;
}

.problem-title.in-view .word {
  animation: none;
}

.typing-panel li {
  min-height: 1.35em;
}

.reveal-on-view.in-view.hero-wrap-left {
  animation: none;
}
