/* =========================================================
   DENVASWEB — DESIGN TOKENS
   ========================================================= */
:root {
  /* Color — matched to the real Denvasweb gold logo */
  --ink: #241E15;          /* warm dark charcoal — headings, primary text */
  --section-tint: #F2E4C0; /* pale warm gold — alternate section background */
  --gold-pale: #EBE3B5;    /* logo's lightest gold tone — glows, soft tints */
  --gold: #A9822F;         /* primary accent — buttons, links, icons */
  --gold-light: #C7A050;   /* secondary accent — hover, highlights */
  --gold-deep: #B69567;    /* logo's bronze tone — gradients, glows */
  --off-white: #F9F4E7;    /* warm cream — main background */
  --white: #FFFFFF;
  --text: #5B5347;         /* warm gray-brown body text */
  --text-light: #9C9385;
  --border: #E4D8B8;       /* warm border */

  /* Type */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing / radius */
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;

  /* Motion */
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 19px; }
p { line-height: 1.65; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.eyebrow-light { color: var(--gold-light); }

.section-head { max-width: 620px; margin-bottom: 48px; }

.accent { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: #fff;
  box-shadow: 0 8px 24px rgba(169,130,47,0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(169,130,47,0.38); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-light { background: transparent; color: var(--ink); border: 1.5px solid var(--gold-deep); }
.btn-outline-light:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-full { width: 100%; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,247,238,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: padding .3s var(--ease);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.site-header.scrolled .header-inner { padding: 12px 24px; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.logo-mark { height: 30px; width: 30px; flex-shrink: 0; border-radius: 7px; }
.logo-text span { color: var(--gold); }

.main-nav { display: flex; gap: 32px; }
.main-nav a {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  transition: color .2s;
}
.main-nav a:hover { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.header-call {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s;
}
.header-call:hover { color: var(--gold); }
.call-icon { width: 17px; height: 17px; flex-shrink: 0; }

.header-cta { display: inline-flex; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: linear-gradient(165deg, #FDFBF4 0%, #F3E7C7 130%);
  padding: 100px 0 120px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(169,130,47,0.28) 0%, rgba(169,130,47,0) 70%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -25%;
  left: -12%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(182,149,103,0.22) 0%, rgba(182,149,103,0) 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  color: var(--ink);
  font-size: clamp(36px, 5vw, 58px);
  margin-bottom: 22px;
}
.hero-sub {
  color: var(--text);
  font-size: 18px;
  max-width: 460px;
  margin-bottom: 34px;
}
.dynamic-wrap {
  display: inline-grid;
  vertical-align: baseline;
}
.dynamic-word {
  grid-row: 1;
  grid-column: 1;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.dynamic-word.active { opacity: 1; transform: translateY(0); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { animation: revealUp .7s var(--ease) forwards; }
[data-reveal="1"].in { animation-delay: 0s; }
[data-reveal="2"].in { animation-delay: .1s; }
[data-reveal="3"].in { animation-delay: .2s; }
[data-reveal="4"].in { animation-delay: .3s; }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

/* Hero visual: device stack */
.hero-visual { position: relative; }
.device-stack { position: relative; width: 100%; max-width: 480px; margin: 0 auto; }

.laptop-mock { position: relative; z-index: 1; }
.laptop-screen {
  background: #2B2620;
  border-radius: 10px 10px 4px 4px;
  padding: 8px;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(36,30,21,0.14);
}
.laptop-screen img { border-radius: 4px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.laptop-base {
  height: 12px;
  background: linear-gradient(180deg, #3a332a, #241f19);
  border-radius: 0 0 8px 8px;
  margin: 0 -6px;
}

.phone-mock {
  position: absolute;
  right: -6%;
  bottom: -12%;
  width: 34%;
  z-index: 2;
  background: #2B2620;
  border: 4px solid #3a332a;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(36,30,21,0.25);
}
.phone-screen { border-radius: 20px; overflow: hidden; }
.phone-screen img { aspect-ratio: 9/18; object-fit: cover; object-position: top; width: 100%; }

.floating-tags { position: absolute; inset: 0; pointer-events: none; }
.tag {
  position: absolute;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(36,30,21,0.08);
  opacity: 0;
}
.reveal.in .tag { animation: tagIn .5s var(--ease) forwards; }
.tag-1 { top: 4%; left: -6%; animation-delay: .5s !important; }
.tag-2 { top: 30%; right: -8%; animation-delay: .65s !important; }
.tag-3 { bottom: 22%; left: -10%; animation-delay: .8s !important; }
.tag-4 { bottom: -2%; right: 12%; animation-delay: .95s !important; }
@keyframes tagIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }

/* =========================================================
   PROJECT CAROUSEL
   ========================================================= */
.carousel-section { padding: 90px 0 100px; background: var(--white); overflow: hidden; }
.carousel { position: relative; max-width: 760px; margin: 0 auto; padding: 0 24px; }
.carousel-track-wrap { overflow: hidden; border-radius: var(--radius); }
.carousel-track {
  display: flex;
  transition: transform .6s var(--ease);
}
.carousel-slide {
  flex: 0 0 100%;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.carousel-slide img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 22px;
  background: linear-gradient(0deg, rgba(36,30,21,0.82) 0%, rgba(36,30,21,0) 100%);
}
.carousel-caption h3 { color: #fff; font-size: 18px; margin-bottom: 2px; }
.carousel-caption span { color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 600; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(36,30,21,0.14);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.carousel-arrow:hover { background: var(--gold); color: #fff; box-shadow: 0 8px 22px rgba(166,130,47,0.3); }
.carousel-arrow svg { width: 18px; height: 18px; }
.carousel-arrow-prev { left: -4px; }
.carousel-arrow-next { right: -4px; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; padding: 0; cursor: pointer;
  transition: background .2s, transform .2s;
}
.carousel-dot.active { background: var(--gold); transform: scale(1.25); }

/* =========================================================
   3 STEPS
   ========================================================= */
.steps { padding: 90px 0; background: var(--section-tint); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,23,42,0.08); }
.step-num {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: #fff; font-weight: 800; font-size: 14px;
  margin-bottom: 16px;
}
.step-visual { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; margin-bottom: 18px; background: var(--off-white); }
.step-visual img { width: 100%; height: 100%; object-fit: cover; }
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14px; }

/* =========================================================
   WHATSAPP CTA (big green banner)
   ========================================================= */
.whatsapp-cta { padding: 70px 0; background: var(--off-white); }
.whatsapp-cta-inner { text-align: center; }
.whatsapp-cta-inner h2 { margin-bottom: 26px; }
.whatsapp-cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #25D366;
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  padding: 20px 42px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(37,211,102,0.35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.whatsapp-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(37,211,102,0.45); }
.whatsapp-cta-btn svg { width: 26px; height: 26px; fill: #fff; }

/* =========================================================
   TIKTOK VIDEO
   ========================================================= */
.video-showcase { padding: 100px 0; background: var(--white); }
.video-inner { display: grid; grid-template-columns: 1fr 0.62fr; gap: 56px; align-items: center; }
.video-copy p { margin-top: 16px; max-width: 400px; }
.video-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 9/16;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(36,30,21,0.14);
}
.video-frame video { width: 100%; height: 100%; border: none; display: block; object-fit: cover; background: #000; }

/* =========================================================
   WHY
   ========================================================= */
.why { padding: 100px 0; background: var(--off-white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why-item { border-top: 2px solid var(--gold); padding-top: 20px; }
.why-item p { font-size: 14.5px; margin-top: 8px; }

/* =========================================================
   PRICING
   ========================================================= */
.pricing { padding: 90px 0; background: var(--section-tint); }
.pricing .section-head { margin-bottom: 36px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: left;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.price-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15,23,42,0.08); }
.price-icon { font-size: 22px; display: block; margin-bottom: 10px; }
.price-card h3 { font-size: 15px; margin-bottom: 8px; }
.price-amount { display: block; font-size: 26px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.price-link { font-size: 13.5px; font-weight: 700; color: var(--gold); }
.price-card-more { background: linear-gradient(135deg, var(--gold-light), var(--gold-deep)); border-color: transparent; }
.price-card-more h3 { color: #fff; }
.price-card-more p { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.price-card-more .btn-ghost { border-color: rgba(255,255,255,0.3); color: #fff; }
.price-card-more .btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: 110px 0; background: var(--off-white); }
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-copy p { margin-bottom: 24px; max-width: 400px; }

.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 14.5px;
  color: var(--text); background: var(--white); transition: border-color .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-status { margin-top: 12px; font-size: 13.5px; font-weight: 600; text-align: center; min-height: 18px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 100px 0 120px; background: var(--white); }
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 4px; background: none; border: none; text-align: left;
  font-size: 16px; font-weight: 700; color: var(--ink);
}
.faq-icon { font-size: 20px; font-weight: 400; color: var(--gold); transition: transform .3s var(--ease); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-answer p { padding: 0 4px 20px; font-size: 14.5px; color: var(--text); max-width: 600px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--section-tint); padding: 60px 0 20px; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px;
  padding-bottom: 40px; border-bottom: 1px solid var(--border);
}
.footer-brand .logo { display: inline-flex; margin-bottom: 10px; }
.footer-brand p { color: var(--text-light); font-size: 14px; max-width: 280px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a, .footer-contact a { color: var(--text); font-size: 14.5px; font-weight: 600; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-bottom { padding-top: 20px; color: var(--text-light); font-size: 13px; }

/* =========================================================
   MOBILE STICKY CTA
   ========================================================= */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 90;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: #fff;
  text-align: center;
  padding: 15px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(169,130,47,0.35);
  transform: translateY(120%);
  transition: transform .35s var(--ease);
}
.mobile-sticky-cta.visible { transform: translateY(0); }

/* =========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  z-index: 95;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

@media (max-width: 720px) {
  .whatsapp-float { bottom: 90px; right: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 380px; margin: 0 auto 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .video-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .video-copy p { margin-left: auto; margin-right: auto; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .header-call { display: none; }
  .header-cta { padding: 11px 20px; font-size: 12.5px; white-space: nowrap; }
  .hero { padding: 60px 0 90px; }
  .why-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .carousel { padding: 0 8px; }
  .carousel-arrow { width: 34px; height: 34px; }
  .carousel-arrow svg { width: 15px; height: 15px; }
  .carousel-arrow-prev { left: -2px; }
  .carousel-arrow-next { right: -2px; }
  .mobile-sticky-cta { display: block; }
  section { padding-left: 0; }
  .why, .contact, .pricing { padding: 70px 0; }
  .carousel-section, .steps, .video-showcase { padding: 60px 0; }
  .whatsapp-cta { padding: 50px 0; }
  .whatsapp-cta-btn { padding: 17px 30px; font-size: 16.5px; }

  .site-footer { padding: 50px 0 24px; }
  .footer-inner { text-align: center; align-items: center; gap: 32px; }
  .footer-brand .logo { justify-content: center; font-size: 17px; }
  .footer-brand p { font-size: 13.5px; margin: 0 auto; }
  .footer-nav, .footer-contact { align-items: center; gap: 10px; }
  .footer-nav a, .footer-contact a { font-size: 14px; }
  .footer-bottom { font-size: 12px; text-align: center; padding-top: 16px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Focus states */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
