:root {
  --bg: #0f131b;
  --bg-alt: #151b26;
  --surface: #1a2130;
  --surface-2: #202939;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8ecf3;
  --muted: #9aa4b5;
  --accent: #e0b62c;
  --accent-dark: #c59c17;
  --accent-soft: rgba(224, 182, 44, 0.14);
  --whatsapp: #25d366;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font-head: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
.accent { color: var(--accent); }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 560px; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #141414; box-shadow: 0 10px 25px rgba(224, 182, 44, 0.25); }
.btn--primary:hover { background: #f0c63a; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.18); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn--light { background: #fff; color: #141414; }
.btn--whatsapp { background: var(--whatsapp); color: #062b14; }
.btn--whatsapp:hover { background: #3be07a; }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn--block { width: 100%; }
.link-arrow { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; }
.link-arrow::after { content: "→"; transition: transform 0.2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(15, 19, 27, 0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s;
}
.header.is-scrolled { background: rgba(15, 19, 27, 0.92); border-color: var(--border); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; }
.logo span { color: var(--accent); }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; }
.logo__img { height: 38px; width: auto; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 1.6rem; font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.nav a:not(.btn) { position: relative; padding: 0.3rem 0; transition: color 0.2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); transition: width 0.25s; }
.nav a:not(.btn):hover, .nav a.is-active { color: var(--text); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 3rem) 0 4rem; overflow: hidden;
  background: radial-gradient(ellipse at 70% 20%, rgba(224, 182, 44, 0.08), transparent 55%), linear-gradient(180deg, #121722 0%, var(--bg) 100%); }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; pointer-events: none; }
.hero__glow--1 { width: 520px; height: 520px; background: var(--accent); top: -180px; right: -120px; opacity: 0.16; }
.hero__glow--2 { width: 420px; height: 420px; background: #3b5bdb; bottom: -200px; left: -150px; opacity: 0.18; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; position: relative; }
.hero__content h1 { margin-bottom: 1.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--accent); }
.hero__stats span { font-size: 0.85rem; color: var(--muted); }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)); animation: float 6s ease-in-out infinite; }
.hero__badge {
  position: absolute; left: 0; bottom: 8%; display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(26, 33, 48, 0.9); border: 1px solid var(--border); padding: 0.6rem 1rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 500; backdrop-filter: blur(8px);
}
.hero__badge-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--whatsapp); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); animation: pulse 2s infinite; }
.scroll-hint { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.25); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: scroll 1.8s infinite; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@keyframes scroll { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* Sections */
.section { padding: 6rem 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 3.5rem; }
.section__head p { color: var(--muted); margin-top: 0.8rem; }
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* About */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.about__text p { color: var(--muted); margin-top: 1rem; }
.about__text h2 { margin-bottom: 0.5rem; }
.stat-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.5rem; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.stat-card::before { content: ""; position: absolute; inset: -60% auto auto -30%; width: 200px; height: 200px; background: var(--accent); filter: blur(80px); opacity: 0.2; }
.stat-card__num { display: block; font-family: var(--font-head); font-size: 4.5rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-card span { color: var(--muted); font-size: 0.9rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.pill-list span { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(224, 182, 44, 0.3); font-size: 0.8rem; font-weight: 600; padding: 0.4rem 0.9rem; border-radius: 999px; }

/* Services */
.service {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; position: relative; overflow: hidden;
}
.service::after { content: ""; position: absolute; inset: auto -40px -40px auto; width: 140px; height: 140px; border-radius: 50%; background: var(--accent); opacity: 0; filter: blur(50px); transition: opacity 0.3s; }
.service:hover { transform: translateY(-6px); border-color: rgba(224, 182, 44, 0.45); box-shadow: var(--shadow); }
.service:hover::after { opacity: 0.18; }
.service__num { display: inline-block; background: var(--accent); color: #141414; font-weight: 800; font-size: 0.8rem; padding: 0.35rem 0.6rem; border-radius: 6px; margin-bottom: 1.2rem; }
.service h3 { margin-bottom: 0.6rem; }
.service p { color: var(--muted); font-size: 0.95rem; }

/* Gallery */
.gallery { display: grid; gap: 1.5rem; }
.gallery--features { grid-template-columns: repeat(3, 1fr); }
.gallery--works { grid-template-columns: repeat(3, 1fr); }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border);
  cursor: zoom-in; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; text-align: left; width: 100%; padding: 0;
}
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(224, 182, 44, 0.4); }
.gallery-item__media { aspect-ratio: 16 / 10; overflow: hidden; background: #0b0e14; }
.gallery-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover .gallery-item__media img { transform: scale(1.06); }
.gallery-item__overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 13, 20, 0.85));
  opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; justify-content: flex-end; padding: 1rem;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__zoom { background: var(--accent); color: #141414; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.45rem 0.8rem; border-radius: 6px; }
.gallery-item__body { padding: 1rem 1.2rem; border-top: 1px solid var(--border); }
.gallery-item__body strong { display: block; font-size: 0.95rem; }
.gallery-item__body span { font-size: 0.82rem; color: var(--muted); }
.gallery--features .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery--features .gallery-item:first-child .gallery-item__media { aspect-ratio: auto; height: 100%; min-height: 320px; }
.disclaimer { text-align: center; color: var(--muted); font-size: 0.82rem; max-width: 820px; margin: 2.5rem auto 0; }

/* Video */
.video__frame {
  position: relative; max-width: 960px; margin: 0 auto; border-radius: 20px; overflow: hidden; background: #0b0e14;
  border: 1px solid var(--border); box-shadow: var(--shadow), 0 0 0 8px rgba(224, 182, 44, 0.06); aspect-ratio: 16 / 9;
}
.video__frame video, .video__frame iframe { width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: #141414;
  display: grid; place-items: center; box-shadow: 0 15px 40px rgba(224, 182, 44, 0.45); transition: transform 0.2s, opacity 0.3s;
}
.video__play:hover { transform: scale(1.08); }
.video__frame.is-playing .video__play, .video__frame.is-missing .video__play { opacity: 0; pointer-events: none; }
.video__frame.is-missing video { display: none; }
.video__missing { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; text-align: center; padding: 2rem; background: radial-gradient(ellipse at center, rgba(224, 182, 44, 0.12), transparent 70%); }
.video__missing strong { font-family: var(--font-head); font-size: 1.6rem; }
.video__missing span { color: var(--muted); font-size: 0.9rem; }
.video__missing code { color: var(--accent); }

/* CTA */
.cta { background: linear-gradient(135deg, #1a2130 0%, #202939 60%, rgba(224, 182, 44, 0.18) 100%); border-block: 1px solid var(--border); padding: 4rem 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta p { color: var(--muted); margin-top: 0.5rem; max-width: 520px; }
.cta__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact__info p { color: var(--muted); margin-top: 0.5rem; }
.contact__list { margin-top: 2rem; display: grid; gap: 1.4rem; }
.contact__list small { display: block; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.contact__list a, .contact__list span { font-weight: 600; }
.contact__list a:hover { color: var(--accent); }
.contact__form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
.field input, .field textarea {
  width: 100%; background: #0f131b; border: 1px solid var(--border); border-radius: 10px; color: var(--text);
  padding: 0.8rem 1rem; font: inherit; font-size: 0.95rem; transition: border-color 0.2s, box-shadow 0.2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input.is-invalid, .field textarea.is-invalid { border-color: #e5484d; }
.form__hint { font-size: 0.78rem; color: var(--muted); text-align: center; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 2rem 0; background: #0b0e14; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; }
.footer__nav { display: flex; gap: 1.4rem; }
.footer__nav a:hover { color: var(--accent); }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(6, 8, 12, 0.94); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { max-width: min(1200px, 92vw); max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.lightbox__figure img { max-height: 80vh; width: auto; max-width: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); transform: scale(0.96); transition: transform 0.25s; }
.lightbox.is-open .lightbox__figure img { transform: scale(1); }
.lightbox__figure figcaption { color: var(--muted); font-size: 0.95rem; text-align: center; }
.lightbox__close { position: absolute; top: 1rem; right: 1.2rem; font-size: 2.4rem; line-height: 1; color: #fff; opacity: 0.8; }
.lightbox__close:hover { opacity: 1; color: var(--accent); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--border); color: #fff; font-size: 1.3rem; display: grid; place-items: center; transition: background 0.2s;
}
.lightbox__nav:hover { background: var(--accent); color: #141414; }
.lightbox__nav--prev { left: 1.2rem; }
.lightbox__nav--next { right: 1.2rem; }
.lightbox__counter { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 0.85rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .grid--3, .gallery--features, .gallery--works { grid-template-columns: repeat(2, 1fr); }
  .gallery--features .gallery-item:first-child { grid-column: span 2; grid-row: auto; }
  .gallery--features .gallery-item:first-child .gallery-item__media { aspect-ratio: 16 / 9; min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content .lead, .hero__actions, .hero__stats { margin-inline: auto; justify-content: center; }
  .hero__media { max-width: 560px; margin: 0 auto; }
  .about, .contact { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(15, 19, 27, 0.98); border-bottom: 1px solid var(--border); padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-110%); transition: transform 0.3s; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 0.9rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; }
  .scroll-hint { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 2rem); }
  .hero__badge { position: static; margin-top: 1rem; display: inline-flex; }
}
@media (max-width: 560px) {
  .grid--3, .gallery--features, .gallery--works { grid-template-columns: 1fr; }
  .gallery--features .gallery-item:first-child { grid-column: auto; }
  .contact__form { padding: 1.5rem; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }
}
