/* ============ TOKENS ============ */
:root {
  --bg: #0a0908;
  --bg-soft: #121110;
  --bg-card: #16140f;
  --border: rgba(212, 175, 90, 0.16);
  --border-soft: rgba(255, 255, 255, 0.08);

  --gold-1: #f5d98b;
  --gold-2: #d4af5a;
  --gold-3: #caa24a;
  --gold-4: #8a6a2c;
  --gold-grad: linear-gradient(120deg, #f5d98b 0%, #d4af5a 45%, #caa24a 70%, #8a6a2c 100%);
  --gold-grad-soft: linear-gradient(120deg, rgba(245,217,139,.15), rgba(138,106,44,.05));

  --brown-1: #3a2c17;
  --brown-2: #1f1810;

  --text: #f4efe4;
  --text-dim: #b8b0a0;
  --text-faint: #7a7266;

  --radius: 18px;
  --radius-sm: 10px;

  --ff-script: 'Dancing Script', cursive;
  --ff-body: 'Poppins', sans-serif;

  --ease: cubic-bezier(.16,.84,.44,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ============ GRAIN / CURSOR GLOW ============ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,90,0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity .3s ease;
  will-change: transform;
}

/* ============ PRELOADER ============ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__tooth {
  width: 46px; height: 46px;
  margin: 0 auto 18px;
  animation: toothSpin 1.6s ease-in-out infinite;
}
@keyframes toothSpin {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.08); }
}
.preloader__word {
  font-family: var(--ff-script);
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
  letter-spacing: .5px;
}
.preloader__word span { color: var(--text); -webkit-text-fill-color: var(--text); }
.preloader__bar {
  width: 180px;
  height: 2px;
  background: var(--border-soft);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 2px;
}
.preloader__bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold-grad);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 100px;
  font-size: .92rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold-grad);
  color: #1a1408;
  box-shadow: 0 8px 24px -8px rgba(212,175,90,.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(212,175,90,.7); }
.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--gold-2); background: rgba(212,175,90,.06); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: .82rem; }
.btn--full { width: 100%; }

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  padding: 12px 0;
  background: rgba(10,9,8,.97);
  border-bottom-color: var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: baseline; gap: 6px; }
.logo__script {
  font-family: var(--ff-script);
  font-size: 1.7rem;
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo__dot { color: var(--text); -webkit-text-fill-color: var(--text); }
.logo__suffix {
  font-size: .62rem;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--text-faint);
  border: 1px solid var(--border);
  padding: 3px 6px;
  border-radius: 4px;
  align-self: center;
}

.nav { display: flex; gap: 32px; }
.nav__link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color .3s ease;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%; height: 1px;
  background: var(--gold-grad);
  transition: width .35s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--gold-2); border-radius: 2px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 22px; }
.mobile-menu__link { font-size: 1.6rem; font-weight: 600; display: flex; gap: 14px; align-items: baseline; }
.mobile-menu__link span { font-size: .85rem; color: var(--gold-2); font-weight: 500; }
.mobile-menu__footer { margin-top: 50px; display: flex; gap: 24px; color: var(--gold-2); font-weight: 600; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; background: var(--bg); }
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero__video.is-ready { opacity: .38; }
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,9,8,.55) 0%, rgba(10,9,8,.75) 55%, var(--bg) 100%),
    radial-gradient(ellipse 70% 55% at 50% 35%, transparent 0%, rgba(10,9,8,.5) 100%);
}
.hero__grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(rgba(212,175,90,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,90,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 80%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  opacity: .35;
}
.hero__glow--1 { width: 640px; height: 640px; top: -200px; right: -180px; background: radial-gradient(circle, var(--gold-3) 0%, rgba(202,162,74,.4) 35%, transparent 68%); animation: driftGlow 14s ease-in-out infinite; }
.hero__glow--2 { width: 520px; height: 520px; bottom: -220px; left: -140px; background: radial-gradient(circle, var(--brown-1) 0%, rgba(58,44,23,.4) 35%, transparent 68%); animation: driftGlow 18s ease-in-out infinite reverse; }
@keyframes driftGlow {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,-30px) scale(1.15); }
}

.hero__teeth { position: absolute; inset: 0; }
.tooth-fly {
  position: absolute;
  color: var(--gold-3);
  opacity: .5;
  will-change: transform;
}
.tooth-fly svg { width: 100%; height: 100%; }

.hero__inner { position: relative; z-index: 2; text-align: center; max-width: 780px; margin: 0 auto; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-2);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
  background: rgba(212,175,90,.05);
}
.hero__eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-1); box-shadow: 0 0 10px var(--gold-1); animation: pulseDot 1.6s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.hero__title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 24px;
}
.hero__title-line { display: block; }
.hero__title-line--gold {
  font-family: var(--ff-script);
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.25em;
  line-height: 1;
  padding: .05em 0;
}
.hero__subtitle { font-size: 1.05rem; color: var(--text-dim); max-width: 560px; margin: 0 auto 36px; line-height: 1.7; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

.hero__stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.hero__stat { display: flex; flex-direction: column; align-items: center; }
.hero__stat-num, .hero__stat-suffix {
  font-family: var(--ff-script);
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline;
}
.hero__stat-label { font-size: .78rem; color: var(--text-faint); margin-top: 4px; max-width: 140px; }

.hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero__scroll span {
  width: 1px; height: 34px;
  background: linear-gradient(var(--gold-2), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero__scroll p { font-size: .68rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-faint); }

/* ============ MARQUEE ============ */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 18px 0;
  background: var(--bg-soft);
}
.marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: .5px;
}
.marquee__track span:nth-child(odd):not(:first-child) { color: var(--gold-2); }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ SECTION HEAD ============ */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.section-head__tag {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 14px;
}
.section-head__title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.2; }

/* ============ SERVICES ============ */
.services { padding: 130px 0; position: relative; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s ease, box-shadow .45s ease;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold-grad-soft);
  opacity: 0;
  transition: opacity .4s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
}
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 52px; height: 52px;
  color: var(--gold-2);
  margin-bottom: 20px;
  position: relative;
  transition: transform .5s var(--ease), color .4s ease;
}
.service-card:hover .service-card__icon { transform: rotate(-8deg) scale(1.1); color: var(--gold-1); }
.service-card h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 10px; position: relative; }
.service-card p { font-size: .88rem; color: var(--text-dim); line-height: 1.6; position: relative; }
.service-card--wide { grid-column: span 1; }

/* ============ ABOUT ============ */
.about { padding: 100px 0 130px; }
.about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.about__visual { display: flex; justify-content: center; }
.about__ring { position: relative; width: 260px; height: 260px; }
.about__ring-svg { position: absolute; inset: 0; animation: ringSpin 30s linear infinite; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.about__ring-tooth {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.about__ring-tooth svg {
  width: 90px; height: 90px;
  color: var(--gold-2);
  animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.about__text { color: var(--text-dim); line-height: 1.8; margin: 20px 0 30px; font-size: 1rem; }
.about__contact-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
}
.about__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #1a1408;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem;
}
.about__contact-name { font-weight: 600; font-size: .95rem; }
.about__contact-role { font-size: .8rem; color: var(--text-faint); }

/* ============ PROCESS ============ */
.process { padding: 60px 0 130px; }
.process__timeline { position: relative; max-width: 760px; margin: 0 auto; }
.process__line {
  position: absolute;
  left: 24px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--gold-3), transparent);
}
.process__step { position: relative; padding: 0 0 46px 70px; }
.process__step:last-child { padding-bottom: 0; }
.process__num {
  position: absolute;
  left: 0; top: -4px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-script);
  font-weight: 700;
  color: var(--gold-2);
}
.process__step h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.process__step p { color: var(--text-dim); font-size: .92rem; line-height: 1.6; max-width: 480px; }

/* ============ CONTACT ============ */
.contact { padding: 60px 0 140px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contact__lead { color: var(--text-dim); margin: 16px 0 30px; }
.contact__list { display: flex; flex-direction: column; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__icon {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--gold-2);
  display: flex; align-items: center; justify-content: center;
  padding: 9px;
}
.contact__label { font-size: .76rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-faint); margin-bottom: 3px; }
.contact__list a { color: var(--text); font-size: .95rem; transition: color .3s ease; }
.contact__list a:hover { color: var(--gold-2); }

.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__form label { display: flex; flex-direction: column; gap: 8px; font-size: .82rem; color: var(--text-dim); }
.contact__form input, .contact__form select, .contact__form textarea {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-size: .92rem;
  outline: none;
  transition: border-color .3s ease;
  resize: vertical;
}
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus { border-color: var(--gold-3); }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--border); padding: 50px 0 30px; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer__tag { font-family: var(--ff-script); font-size: 1.2rem; color: var(--gold-2); }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; margin: 10px 0; }
.footer__nav a { font-size: .85rem; color: var(--text-dim); transition: color .3s ease; }
.footer__nav a:hover { color: var(--gold-2); }
.footer__copy { font-size: .78rem; color: var(--text-faint); }

/* ============ FLOAT WHATSAPP ============ */
.float-whatsapp {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #1a1408;
  display: flex; align-items: center; justify-content: center;
  z-index: 400;
  box-shadow: 0 10px 28px -8px rgba(212,175,90,.6);
  animation: floatWhatsapp 3s ease-in-out infinite;
}
@keyframes floatWhatsapp { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============ REVEAL BASE (JS/GSAP controlled) ============ */
[data-reveal], [data-reveal-side] { visibility: hidden; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav { display: none; }
  .header__actions .btn--sm { display: none; }
  .menu-toggle { display: flex; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .about__visual { order: -1; }
}
@media (max-width: 620px) {
  .services__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; }
  .contact__form-row { grid-template-columns: 1fr; }
  .contact__form { padding: 24px; }
}
