/* ============================================
   PIXEL VERSE STUDIO — GLOBAL STYLESHEET
   Theme: White + Black + Gold | Premium Agency
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ── CSS VARIABLES ── */
:root {
  /* Colors */
  --gold:        #C9A84C;
  --gold-light:  #E8C96A;
  --gold-pale:   #F5EDD6;
  --gold-dark:   #9A7B2E;
  --gold-text:   #8E6B20; /* WCAG AA accessible contrast against light backgrounds */
  --gold-contrast: #9A7B2E;
  --black:       #0A0A0A;
  --black-soft:  #111111;
  --dark:        #1A1A1A;
  --dark-mid:    #2A2A2A;
  --grey-dark:   #444444;
  --grey-mid:    #777777;
  --grey-light:  #AAAAAA;
  --grey-border: #E5E5E5;
  --white:       #FFFFFF;
  --off-white:   #FAFAFA;
  --cream:       #F8F6F0;

  /* Typography */
  --font-body:    'Inter', -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Type Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.16);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.25);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
}
.display-font { font-family: var(--font-display); }

h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { color: var(--grey-dark); line-height: 1.75; }
.lead { font-size: var(--text-lg); color: var(--grey-mid); line-height: 1.7; }

/* ── LAYOUT ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 var(--space-6); }
.section { padding: var(--space-24) 0; }
.section-sm { padding: var(--space-16) 0; }
.section-lg { padding: var(--space-32) 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

/* ── GOLD ACCENT LINE ── */
.gold-line {
  display: inline-block;
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: var(--space-4);
}
.gold-line-center { display: block; margin: 0 auto var(--space-4); }

/* ── EYEBROW LABEL ── */
.eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-contrast);
  margin-bottom: var(--space-3);
  display: block;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.35);
}
.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover {
  background: var(--gold-pale);
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 20px; font-size: var(--text-xs); }
.btn-lg { padding: 16px 36px; font-size: var(--text-base); }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--duration) var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.card-dark {
  background: var(--black-soft);
  border-color: var(--dark-mid);
  color: var(--white);
}
.card-dark p { color: var(--grey-light); }
.card-dark:hover { border-color: var(--gold); }

/* ── BADGES / TAGS ── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.badge-gold { background: var(--gold-pale); color: var(--gold-dark); }
.badge-dark { background: var(--dark); color: var(--white); }
.badge-outline { border: 1px solid var(--grey-border); color: var(--grey-dark); }

/* ── SECTION HEADERS ── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto var(--space-16); }
.section-header h2 { margin-bottom: var(--space-4); }
.section-header p { font-size: var(--text-lg); color: var(--grey-mid); }

/* ── DIVIDERS ── */
.divider { height: 1px; background: var(--grey-border); margin: var(--space-16) 0; }
.divider-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ── GOLD HIGHLIGHT TEXT ── */
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-muted { color: var(--grey-mid); }

/* ── ICON WRAPPERS ── */
.icon-box {
  width: 56px; height: 56px;
  background: var(--gold-pale);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-5);
  transition: all var(--duration) var(--ease);
}
.icon-box svg, .icon-box span { color: var(--gold); font-size: 24px; }
.card:hover .icon-box { background: var(--gold); }
.card:hover .icon-box svg, .card:hover .icon-box span { color: var(--white); }

/* ── STAT ITEMS ── */
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label { font-size: var(--text-sm); color: var(--grey-mid); margin-top: var(--space-2); }

/* ── FORMS ── */
.form-group { margin-bottom: var(--space-5); }
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: var(--space-2);
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--duration) var(--ease);
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-textarea { resize: vertical; min-height: 140px; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--grey-mid);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--grey-mid); transition: color var(--duration); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--grey-border); }
.breadcrumb .current { color: var(--gold); font-weight: 500; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(201,168,76,0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ── HEADER / NAV ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229,229,229,0.6);
  transition: all var(--duration) var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}
.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: block;
}
.nav-logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.05em;
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-name {
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
}
.nav-logo-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--gold-contrast);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--dark);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  position: relative;
}
.nav-link:hover { color: var(--gold); background: var(--gold-pale); }
.nav-link.active { color: var(--gold); }

/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 220px;
  padding: var(--space-3);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: all 0.25s var(--ease);
  z-index: 100;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--dark);
  transition: all var(--duration) var(--ease);
}
.nav-dropdown a:hover { background: var(--gold-pale); color: var(--gold); }
.nav-dropdown .drop-icon {
  width: 32px; height: 32px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Mobile Nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--grey-border);
  padding: var(--space-6);
  z-index: 999;
  box-shadow: var(--shadow-xl);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav-section { margin-bottom: var(--space-6); }
.mobile-nav-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}
.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: var(--text-base);
  color: var(--dark);
  border-bottom: 1px solid var(--grey-border);
  font-weight: 500;
}
.mobile-nav a:last-child { border-bottom: none; }

/* ── FOOTER ── */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: var(--space-24) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-16);
}
.footer-brand p { color: var(--grey-light); font-size: var(--text-sm); line-height: 1.7; margin-top: var(--space-4); }
.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-5);
}
.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--grey-light);
  padding: 4px 0;
  transition: color var(--duration) var(--ease);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--dark-mid);
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--grey-mid);
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-socials { 
  display: flex; 
  align-items: center;
  gap: var(--space-3); 
  flex-wrap: wrap;
}
.footer-socials a, .contact-social {
  height: 36px;
  background: var(--dark-mid);
  border-radius: var(--radius-sm);
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  color: var(--grey-light);
  font-size: 14px;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
}
.footer-socials a:not(.footer-social-pill):not(:has(span)),
.contact-social {
  width: 36px;
}
.footer-socials a:hover, .contact-social:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  transform: translateY(-2px);
}
.footer-socials a svg, .contact-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Social Handle Pill (@pixel.verse_studio) */
.footer-socials a.footer-social-pill,
.footer-socials a:has(span),
a.footer-social-pill {
  width: auto !important;
  min-width: unset !important;
  height: 36px !important;
  padding: 0 14px !important;
  gap: 8px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(212, 168, 67, 0.35) !important;
  color: var(--gold) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
}
.footer-socials a.footer-social-pill:hover,
.footer-socials a:has(span):hover,
a.footer-social-pill:hover {
  background: var(--gold) !important;
  color: #0a0a0f !important;
  border-color: var(--gold) !important;
  box-shadow: 0 4px 15px rgba(212, 168, 67, 0.3) !important;
  transform: translateY(-2px) !important;
}
.footer-socials a.footer-social-pill svg,
.footer-socials a:has(span) svg,
a.footer-social-pill svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
}
.footer-socials a.footer-social-pill span,
.footer-socials a:has(span) span {
  white-space: nowrap !important;
  display: inline-block !important;
  color: inherit !important;
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--duration) var(--ease);
  animation: pulse-gold 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: var(--white); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--black);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(201,168,76,0.12) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: var(--space-4); }
.page-hero p { color: var(--grey-light); font-size: var(--text-lg); max-width: 600px; margin: 0 auto; }

/* ── UTILITY CLASSES ── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.gap-4       { gap: var(--space-4); }
.gap-6       { gap: var(--space-6); }
.gap-8       { gap: var(--space-8); }
.mt-4        { margin-top: var(--space-4); }
.mt-6        { margin-top: var(--space-6); }
.mt-8        { margin-top: var(--space-8); }
.mb-4        { margin-bottom: var(--space-4); }
.mb-6        { margin-bottom: var(--space-6); }
.mb-8        { margin-bottom: var(--space-8); }
.relative    { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}
@media (max-width: 768px) {
  :root { --space-24: 4rem; --space-32: 5rem; }
  .nav-links, .nav-actions .btn { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: var(--space-16) 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
  .btn { padding: 12px 20px; font-size: var(--text-xs); }
}

/* ── SCROLL BAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── SELECTION ── */
::-selection { background: var(--gold-pale); color: var(--gold-dark); }

/* ── CALCULATOR MOBILE RESPONSIVE ── */
@media (max-width: 900px) {
  .calc-body {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 22px 16px !important;
  }
}
@media (max-width: 600px) {
  .calc-tab-extra { display: none; }
  .calc-body { padding: 16px 12px !important; gap: 18px !important; }
  .calc-pills { grid-template-columns: repeat(3, 1fr) !important; gap: 6px !important; }
  #calc-days.calc-pills,
  #calc-social-tiers.calc-pills,
  #calc-social-months.calc-pills { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 380px) {
  .calc-pills { grid-template-columns: repeat(2, 1fr) !important; }
}
