/* ============ TOKENS ============ */
:root {
  --bg:        #15181f;
  --bg-alt:    #1b1f28;
  --surface:   #21262f;
  --surface-2: #2a303b;
  --text:      #eef1f5;
  --muted:     #9aa3b2;
  --line:      rgba(255,255,255,.09);

  --orange: #ff7a18;
  --red:    #ff3b3b;
  --green:  #1fbf6b;
  --blue:   #2196f3;
  --accent: var(--orange);

  --grad: linear-gradient(90deg, #ff3b3b, #ff7a18, #ffc107, #1fbf6b, #2196f3);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgba(0,0,0,.35);
  --container: 1180px;

  --ff-head: "Poppins", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, sans-serif;
}

/* ============ RESET ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.15; font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85rem 1.6rem; border-radius: 999px;
  font-family: var(--ff-head); font-weight: 600; font-size: .98rem;
  cursor: pointer; border: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-accent {
  background: var(--accent); color: #1a1206;
  box-shadow: 0 10px 24px rgba(255,122,24,.32);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,122,24,.45); }
.btn-ghost {
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 14px 0;
}
.site-header.scrolled {
  background: rgba(21,24,31,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand-logo { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-family: var(--ff-head); font-weight: 500; font-size: .98rem; color: #f2f4f8; transition: color .2s; }
.main-nav a:not(.btn):hover { color: var(--orange); }
.nav-cta { padding: .6rem 1.3rem; font-size: .92rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17,20,26,.78), rgba(17,20,26,.6) 45%, rgba(17,20,26,.95));
}
.hero-content { max-width: 760px; padding-top: 90px; padding-bottom: 60px; }
.hero-eyebrow {
  display: inline-block; font-family: var(--ff-head); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; font-size: .8rem; color: var(--orange);
  background: rgba(255,122,24,.12); border: 1px solid rgba(255,122,24,.3);
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.3rem;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.02em; }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.22rem); color: #d7dce4; margin: 1.4rem 0 2.2rem; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-size: 2rem; color: rgba(255,255,255,.7); animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(8px);} }

/* ============ SECTIONS ============ */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.kicker {
  display: inline-block; font-family: var(--ff-head); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; font-size: .78rem; color: var(--orange); margin-bottom: .8rem;
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.02em; }
.section-lead { color: var(--muted); margin-top: 1rem; font-size: 1.08rem; }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.about-text p { color: #cfd5df; margin-bottom: 1.1rem; }
.about-text .btn { margin-top: .6rem; }
.about-cards { display: grid; gap: 18px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(255,122,24,.4); }
.feature-ico { font-size: 1.9rem; margin-bottom: .6rem; }
.feature-card h3 { font-size: 1.18rem; margin-bottom: .4rem; }
.feature-card p { color: var(--muted); font-size: .98rem; }

/* ============ STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 28px; overflow: hidden;
}
.step-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.step-num {
  font-family: var(--ff-head); font-weight: 800; font-size: 2.6rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: .5rem;
}
.step-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.step-card p { color: var(--muted); }

/* ============ PRODUCTS ============ */
.product-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-media { aspect-ratio: 16/10; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-body h3 { font-size: 1.45rem; }
.product-body p { color: var(--muted); flex: 1; }

/* ============ GALLERY ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; grid-auto-rows: 200px; }
.gallery-item {
  position: relative; border: none; padding: 0; cursor: pointer; overflow: hidden;
  border-radius: var(--radius-sm); background: var(--surface);
}
.gallery-item img, .gallery-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.08); }
.gallery-wide { grid-column: span 2; grid-row: span 2; }
.gallery-tag {
  position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.6);
  color: #fff; font-family: var(--ff-head); font-weight: 600; font-size: .8rem;
  padding: .35rem .8rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.play-badge {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
}
.play-badge::before {
  content: ""; position: absolute; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,122,24,.9); z-index: -1; box-shadow: 0 6px 20px rgba(0,0,0,.4);
}

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-row {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; transition: border-color .2s, transform .2s;
}
a.contact-row:hover { border-color: rgba(255,122,24,.5); transform: translateX(4px); }
.contact-ico { font-size: 1.4rem; line-height: 1.4; }
.contact-row span strong { display: block; font-family: var(--ff-head); font-size: .82rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.contact-row span { font-size: 1.02rem; color: var(--text); }
.contact-info .btn { margin-top: 6px; }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; min-height: 420px; }

/* ============ FOOTER ============ */
.site-footer { background: #10131a; border-top: 1px solid var(--line); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { height: 50px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); max-width: 340px; }
.footer-col h4 { font-size: 1.05rem; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: var(--muted); margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; }
.footer-bottom span { color: var(--muted); font-size: .9rem; }

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.5); transition: transform .2s;
  animation: waPulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.5);} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(8,10,14,.94); align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox-content { max-width: 92vw; max-height: 88vh; }
.lightbox-content img, .lightbox-content video { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox-close {
  position: absolute; top: 18px; right: 26px; background: none; border: none;
  color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; opacity: .85;
}
.lightbox-close:hover { opacity: 1; }

/* ============ REVEAL ANIM ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 920px) {
  .about-grid, .product-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 170px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; z-index: 60; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px;
    background: rgba(21,24,31,.98); backdrop-filter: blur(14px);
    padding: 40px; transform: translateX(100%); transition: transform .35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.5);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.2rem; }
  .nav-cta { margin-top: 8px; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .gallery-wide { grid-column: span 2; grid-row: span 1; }
  .hero-actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
