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

:root {
  --primary: #b8956a;
  --primary-light: #d4a574;
  --primary-dark: #8f6e49;
  --accent: #c9a876;
  --bg-cream: #f8f3ed;
  --bg-card: #f2ebe2;
  --deep: #1a1f2e;
  --text: #2c3340;
  --text-light: #6b7685;
  --white: oklch(98.8% 0.006 80);
  --border: rgba(184,149,106,0.2);
  --shadow-sm: 0 2px 8px rgba(26,31,46,0.06);
  --shadow-md: 0 8px 32px rgba(26,31,46,0.10);
  --shadow-lg: 0 20px 60px rgba(26,31,46,0.14);
  --radius: 12px;
  --radius-lg: 24px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  --whatsapp: #25D366;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

body.dark-mode {
  --bg-cream: #111318;
  --bg-card: #1a1f2e;
  --white: #1e2230;
  --text: #e8e0d6;
  --text-light: #9aa3b0;
  --deep: #f0e6d8;
  --border: rgba(184,149,106,0.15);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-y: auto;
}

body {
  font-family: var(--font-body);
  background: var(--bg-cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

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

ul,
ol {
  list-style: none;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

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

section {
  margin: 40px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  backdrop-filter: blur(8px);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 24px;
}

.section-header .decorative-line {
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 50px;
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
              transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light));
  z-index: 9999;
  transition: width 0.1s linear;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .section-header h2 { font-size: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { margin: 24px 0; border-radius: var(--radius); }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 30px; }
  .section-header p { font-size: 15px; }
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 16px; }
}

@media (max-width: 480px) {
  .section-header h2 { font-size: 26px; }
  .grid-4 { grid-template-columns: 1fr; }
}
