/* ── DESIGN TOKENS ─────────────────────────────────── */
:root {
  --bg:        #08090c;
  --surface:   #0f1117;
  --border:    rgba(255,255,255,0.07);
  --gold:      #c8a84b;
  --gold-lt:   #e8c96b;
  --gold-dim:  rgba(200,168,75,0.15);
  --text:      #e8e4dc;
  --muted:     #7a7872;
  --white:     #ffffff;
  --radius:    12px;
  --ff-display:'Syne', sans-serif;
  --ff-body:   'DM Sans', sans-serif;
}

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--ff-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── NAV ───────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 5vw;
  background: rgba(8,9,12,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text { font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.03em; color: var(--white); }
.nav-logo-text span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { background: var(--gold); color: var(--bg) !important; padding: 9px 22px; border-radius: 6px; font-weight: 600 !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--gold-lt) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.mobile-menu { display: none; position: fixed; top: 73px; left: 0; right: 0; background: rgba(8,9,12,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 24px 5vw 32px; z-index: 99; flex-direction: column; gap: 0; }
.mobile-menu.open { display: flex; }
.mobile-menu a { display: block; padding: 14px 0; font-size: 1rem; font-weight: 500; border-bottom: 1px solid var(--border); color: var(--text); letter-spacing: 0.04em; }
.mobile-menu .mob-cta { margin-top: 20px; background: var(--gold); color: var(--bg); padding: 14px; text-align: center; border-radius: 8px; font-weight: 700; border: none; }

/* ── PAGE HERO ─────────────────────────────────────── */
.page-hero { padding: 140px 5vw 80px; position: relative; overflow: hidden; }
.page-hero-orb { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0; width: 500px; height: 500px; background: radial-gradient(circle, rgba(200,168,75,0.14) 0%, transparent 70%); top: -80px; left: -80px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--muted); margin-bottom: 24px; position: relative; z-index: 1; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.page-hero h1 { font-family: var(--ff-display); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: var(--white); position: relative; z-index: 1; }
.page-hero h1 em { font-style: normal; -webkit-text-stroke: 1.5px var(--gold); color: transparent; }
.page-hero-sub { margin-top: 20px; font-size: clamp(1rem, 2vw, 1.15rem); color: var(--muted); max-width: 580px; font-weight: 300; line-height: 1.75; position: relative; z-index: 1; }
.page-hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; position: relative; z-index: 1; }

/* ── BUTTONS ───────────────────────────────────────── */
.btn-primary { background: var(--gold); color: var(--bg); font-family: var(--ff-display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; padding: 15px 32px; border-radius: 8px; border: none; cursor: pointer; display: inline-block; transition: background 0.2s, transform 0.15s; box-shadow: 0 0 40px rgba(200,168,75,0.3); }
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 9px; background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.35); color: #25d366; font-weight: 600; font-size: 0.95rem; padding: 15px 28px; border-radius: 8px; transition: background 0.2s, transform 0.15s; }
.btn-whatsapp:hover { background: rgba(37,211,102,0.2); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--muted); font-weight: 500; font-size: 0.9rem; padding: 14px 24px; border-radius: 8px; display: inline-block; transition: border-color 0.2s, color 0.2s; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── SHARED SECTION ────────────────────────────────── */
section { padding: 80px 5vw; }
.section-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.section-title { font-family: var(--ff-display); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--white); }
.section-body { font-size: 1.05rem; color: var(--muted); font-weight: 300; max-width: 560px; margin-top: 14px; line-height: 1.75; }

/* ── OVERVIEW ──────────────────────────────────────── */
.overview { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; border-top: 1px solid var(--border); }
.overview-img { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.overview-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--text); }
.feature-list li::before { content: '→'; color: var(--gold); flex-shrink: 0; margin-top: 1px; }

/* ── APPLICATIONS ──────────────────────────────────── */
.applications { border-top: 1px solid var(--border); }
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 48px; }
.app-card { background: var(--surface); padding: 32px 28px; transition: background 0.25s; }
.app-card:hover { background: #141620; }
.app-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.app-name { font-family: var(--ff-display); font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.app-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }

/* ── GALLERY ───────────────────────────────────────── */
.service-gallery { border-top: 1px solid var(--border); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
.gallery-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center; border-radius: var(--radius); border: 1px solid var(--border); display: block; transition: transform 0.3s, border-color 0.3s; }
.gallery-img:hover { transform: scale(1.02); border-color: rgba(200,168,75,0.3); }
.gallery-img.wide { grid-column: span 2; aspect-ratio: 16/7; }

/* ── FAQ ───────────────────────────────────────────── */
.service-faq { border-top: 1px solid var(--border); }
.faq-list { max-width: 760px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--ff-display); font-size: 1rem; font-weight: 700; color: var(--white); cursor: pointer; text-align: left; transition: color 0.2s; }
.faq-q:hover { color: var(--gold); }
.faq-icon { font-size: 1.4rem; color: var(--gold); flex-shrink: 0; transition: transform 0.25s; line-height: 1; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 22px; font-size: 0.93rem; color: var(--muted); line-height: 1.75; }
.faq-a.open { display: block; }

/* ── CTA BOX ───────────────────────────────────────── */
.page-cta { border-top: 1px solid var(--border); text-align: center; }
.cta-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 60px 40px; max-width: 680px; margin: 0 auto; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--gold-dim) 0%, transparent 60%); pointer-events: none; }
.cta-title { font-family: var(--ff-display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--white); margin-bottom: 14px; position: relative; z-index: 1; }
.cta-body { font-size: 1rem; color: var(--muted); margin-bottom: 32px; line-height: 1.7; position: relative; z-index: 1; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; z-index: 1; }

/* ── FOOTER ────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 40px 5vw; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-left { font-size: 0.85rem; color: var(--muted); }
.footer-left strong { color: var(--gold); }
.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 0.82rem; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* ── FLOAT WHATSAPP ────────────────────────────────── */
.float-wa { position: fixed; bottom: 28px; right: 28px; z-index: 50; width: 58px; height: 58px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.float-wa:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.55); }
.float-wa svg { width: 28px; height: 28px; fill: white; }
.float-wa-pulse { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(37,211,102,0.4); animation: ringPulse 2s infinite; }
@keyframes ringPulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) { .apps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .overview { grid-template-columns: 1fr; gap: 40px; }
  .apps-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-img.wide { grid-column: span 1; aspect-ratio: 4/3; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 60px 5vw; }
  .cta-box { padding: 40px 24px; }
  .float-wa { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .page-hero { padding: 120px 5vw 60px; }
}
