:root {
  --teal: #17e3a6;
  --blue: #3b7be0;
  --gradient: linear-gradient(135deg, var(--teal), var(--blue));
  --bg: #0a0d0f;
  --bg-alt: #0e1215;
  --card-bg: #14191c;
  --card-bg-2: #171d21;
  --border: rgba(255,255,255,0.09);
  --ink: #f2f5f5;
  --ink-soft: #97a3a7;
  --radius: 16px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.narrow { max-width: 720px; }

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); text-align: center; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }

p { margin: 0 0 16px; color: var(--ink-soft); text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

.section { padding: 96px 0; position: relative; overflow: hidden; }
.section-alt { background: var(--bg-alt); }
.section-lead { text-align: center; max-width: 600px; margin: 0 auto 52px; font-size: 1.05rem; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Custom cursor */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  opacity: 0;
  mix-blend-mode: difference;
}
.cursor-dot.active { opacity: 1; }
.cursor-dot.grow { width: 44px; height: 44px; background: rgba(23,227,166,0.25); }

@media (pointer: coarse) {
  .cursor-dot { display: none; }
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
  animation: float 14s ease-in-out infinite;
}
.blob-1 { width: 420px; height: 420px; background: var(--teal); top: -120px; right: -100px; }
.blob-2 { width: 320px; height: 320px; background: var(--blue); bottom: -100px; left: -80px; animation-delay: -6s; }
.blob-3 { width: 380px; height: 380px; background: var(--blue); top: 20%; right: -140px; opacity: 0.2; }
.blob-4 { width: 360px; height: 360px; background: var(--teal); bottom: -140px; right: -100px; opacity: 0.2; }

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-24px, 26px); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,13,15,0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-cta {
  background: var(--gradient);
  color: #06110d !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* Hero */
.hero {
  padding: 110px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero-inner { text-align: center; max-width: 820px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 22px;
}

.hero-sub { font-size: 1.12rem; max-width: 600px; margin: 0 auto 36px; }

.hero-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--bg-alt);
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scroll-left 22s linear infinite;
}

.marquee-track span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-soft);
  white-space: nowrap;
}

.marquee-track span:nth-child(4n+1) { -webkit-text-stroke: 1px var(--teal); }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #06110d;
  box-shadow: 0 8px 24px rgba(23,227,166,0.18);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(23,227,166,0.3); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
  width: 100%;
  text-align: center;
}
.btn-outline:hover { border-color: var(--teal); }

.btn-large { width: 100%; padding: 17px 28px; font-size: 1.05rem; }

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card, .package-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover, .package-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23,227,166,0.4);
}

.card-index {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--teal);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.package-card { display: flex; flex-direction: column; }
.package-card p { flex-grow: 1; }

.package-card-highlight {
  border: 1px solid rgba(23,227,166,0.5);
  background: linear-gradient(180deg, rgba(23,227,166,0.08), var(--card-bg) 60%);
}

.package-tag {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--gradient);
  color: #06110d;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: 999px;
}

.services-extra {
  text-align: center;
  margin-top: 40px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Value props */
.value-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.value-prop {
  text-align: center;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
}

.value-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.value-prop p { margin: 0; font-weight: 600; color: var(--ink); }

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.portfolio-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border);
}

.portfolio-item img, .portfolio-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  will-change: transform;
  display: block;
}

.portfolio-item:hover img, .portfolio-item:hover video { transform: scale(1.08); }

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin: 0;
}

.testimonial p {
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 14px;
}

.testimonial cite {
  font-style: normal;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.88rem;
}

/* Contact form */
.contact-form { margin-top: 8px; }

.field-group { margin-bottom: 22px; }

.field-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--ink);
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}

.choice.selected {
  border-color: transparent;
  background: var(--gradient);
  color: #06110d;
}

input[type="text"], textarea {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.98rem;
  background: var(--card-bg);
  color: var(--ink);
}

input::placeholder, textarea::placeholder { color: #5f6a6e; }

textarea { resize: vertical; }

.call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px auto 0;
  width: fit-content;
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 12px 24px;
  transition: border-color 0.2s ease;
}

.call-btn:hover { border-color: var(--teal); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.footer-links { display: flex; gap: 16px; }
.footer-links a {
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-links a:hover { color: var(--teal); border-color: var(--teal); }

.footer-copy { margin: 0; color: var(--ink-soft); font-size: 0.85rem; }

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  z-index: 60;
}

/* Responsive */
@media (max-width: 860px) {
  .cards-grid { grid-template-columns: 1fr; }
  .value-props { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-140%);
    transition: transform 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero { padding: 72px 0 48px; }
  .marquee-track span { font-size: 1.2rem; }
}
