/* ===== DESIGN TOKENS & RESET ===== */
:root {
  /* Colors */
  --bg-primary: #0d0d0d;
  --bg-secondary: #161616;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --bg-elevated: #1e1e1e;
  --accent: #e85d26;
  --accent-hover: #ff7340;
  --accent-dark: #c44a1a;
  --accent-glow: rgba(232, 93, 38, 0.25);
  --gold: #d4a853;
  --gold-light: #f0d48a;
  --text-primary: #f5f0eb;
  --text-secondary: #a89e94;
  --text-muted: #6b6360;
  --border: rgba(255,255,255,0.06);
  --border-accent: rgba(232,93,38,0.2);
  --whatsapp: #25d366;
  --phone: #e85d26;
  --overlay: rgba(0,0,0,0.6);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-accent: 'Cormorant Garamond', serif;

  /* Spacing */
  --section-pad: clamp(3rem, 8vw, 6rem);
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 30px var(--accent-glow);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.3s var(--ease);
}

/* Desktop zoom — applied only when JS detects a non-touch device ≥1024px */
html.desktop-zoom { zoom: 0.9; }

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px; /* offset for fixed header */
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(ellipse at top center, #2a1a14 0%, #1a0e0a 45%, #0a0605 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  overscroll-behavior-x: none; /* prevent horizontal bounce/jitter */
  -webkit-overflow-scrolling: touch; /* iOS momentum scrolling */
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

body > header,
body > nav,
body > main,
body > section,
body > footer {
  position: relative;
  z-index: 2;
}

section,
header,
footer,
main,
nav {
  width: 100%;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* Utility */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.6;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Selection */
::selection {
  background: var(--accent);
  color: #fff;
}
