/* ===============================
   DULTERRA - OPCIÓN F
   "Tierra Guaraní"
   Tipografía: Source Serif 4 + Space Grotesk
   Paleta: tierra roja, verde bosque oscuro, beige arena, mostaza
   =============================== */

/* -------------------------------
   Variables
   ------------------------------- */
:root {
  --color-bg: #E8E0D5;
  --color-surface: #F5F0E8;
  --color-text: #1C1C1C;
  --color-muted: #6E655A;
  --color-accent: #8B4513;
  --color-accent-hover: #6A3410;
  --color-forest: #1A3C1A;
  --color-mustard: #D4A03D;
  --color-border: rgba(28, 28, 28, 0.1);
  --color-overlay: rgba(28, 28, 28, 0.45);
  --color-shadow: rgba(28, 28, 28, 0.1);

  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --container: 1280px;
  --gutter: 24px;

  --transition-fast: 0.2s ease;
  --transition-base: 0.35s ease;
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);

  --navbar-height: 82px;
  --section-space: 150px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

/* -------------------------------
   Typography
   ------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-mustard);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 14ch;
  margin-bottom: 24px;
}

.section-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 400;
  color: var(--color-muted);
  max-width: 52ch;
  line-height: 1.7;
}

.section-dark .section-title,
.section-dark .section-lead,
.section-dark p {
  color: #fff;
}

.section-dark .section-eyebrow {
  color: var(--color-mustard);
}

/* -------------------------------
   Layout
   ------------------------------- */
.container {
  width: 92%;
  max-width: var(--container);
  margin: 0 auto;
}

.section {
  padding: var(--section-space) 0;
  position: relative;
}

.section-header {
  margin-bottom: 80px;
}

.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* -------------------------------
   Section backgrounds
   ------------------------------- */
.section-bg {
  position: relative;
  overflow: hidden;
}

.section-bg .container,
.section-bg .footer-layout,
.section-bg .footer-bottom {
  position: relative;
  z-index: 2;
}

.section-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 18, 0.7);
}

.section-dark {
  color: #fff;
}

.section-dark .step-number,
.section-dark .process-card-number {
  color: var(--color-mustard);
}

/* -------------------------------
   Buttons
   ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition-base);
}

.btn-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}

.btn-primary {
  color: #fff;
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* -------------------------------
   Navbar
   ------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: 100;
  transition: background var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
}

.navbar.scrolled {
  background: rgba(232, 224, 213, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav-container {
  width: 92%;
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.nav-logo .logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.logo-dark {
  display: none;
}

.navbar:not(.scrolled) .nav-container .logo-light,
.navbar.scrolled .nav-container .logo-dark,
.nav-mobile .logo-dark,
.footer-brand .logo-dark {
  display: none;
}

.navbar:not(.scrolled) .nav-container .logo-dark,
.navbar.scrolled .nav-container .logo-light,
.nav-mobile .logo-light,
.footer-brand .logo-light {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 10px 16px;
  border-radius: 50px;
  background: transparent;
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  background: var(--color-accent);
  color: #fff;
}

.navbar:not(.scrolled) .nav-logo,
.navbar:not(.scrolled) .nav-link,
.navbar:not(.scrolled) .nav-toggle,
.navbar:not(.scrolled) .nav-close {
  color: #fff;
}

.navbar:not(.scrolled) .nav-link:hover,
.navbar:not(.scrolled) .nav-link.active {
  background: #fff;
  color: var(--color-text);
}

.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-link,
.navbar.scrolled .nav-toggle,
.navbar.scrolled .nav-close {
  color: var(--color-text);
}

.nav-toggle,
.nav-close {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-text);
}

/* Mobile menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.nav-mobile.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.nav-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nav-mobile-link {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.nav-mobile-link:hover,
.nav-mobile-link.active {
  color: var(--color-accent);
}

/* -------------------------------
   Hero
   ------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 15s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 60, 26, 0.45) 0%, rgba(28, 28, 28, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 92%;
  max-width: var(--container);
  text-align: center;
  padding: 120px 0;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 28px;
  opacity: 1;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--transition-slow) 0.2s forwards;
}

.hero-title {
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.96;
  margin-bottom: 28px;
}

.hero-line {
  display: block;
  opacity: 1;
  transform: translateY(40px);
  animation: fadeUp 1s var(--transition-slow) forwards;
}

.hero-line:nth-child(1) { animation-delay: 0.4s; }
.hero-line:nth-child(2) { animation-delay: 0.55s; }
.hero-line:nth-child(3) { animation-delay: 0.7s; }

.hero-tagline {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 400;
  max-width: 52ch;
  margin: 0 auto 44px;
  line-height: 1.7;
  opacity: 1;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--transition-slow) 0.9s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  opacity: 1;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--transition-slow) 1.1s forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 24px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 1.6s forwards;
}

.hero-scroll-line {
  width: 2px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1px;
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.4; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* -------------------------------
   Products
   ------------------------------- */
.section-products {
  background: var(--color-bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px var(--color-shadow);
}

.product-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-body {
  padding: 28px;
}

.product-icon {
  font-size: 1.6rem;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.product-body h3 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.product-body p {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.product-card:nth-child(4),
.product-card:nth-child(5) {
  grid-column: span 1;
}

/* -------------------------------
   B2B
   ------------------------------- */
.section-b2b {
  color: #fff;
}

.b2b-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.b2b-content {
  position: sticky;
  top: 120px;
}

.b2b-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.b2b-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform var(--transition-base), background var(--transition-base);
}

.b2b-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.b2b-card i {
  font-size: 2rem;
  color: var(--color-mustard);
  margin-bottom: 18px;
}

.b2b-card h3 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.b2b-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

/* -------------------------------
   Experience
   ------------------------------- */
.section-experience {
  color: #fff;
}

.experience-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
  counter-reset: step;
}

.experience-step {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.step-number {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-mustard);
  flex-shrink: 0;
  margin-top: 6px;
}

.step-body h3 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: #fff;
}

.step-body p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.experience-cta {
  text-align: center;
  margin-top: 64px;
}

/* -------------------------------
   Process
   ------------------------------- */
.section-process {
  background: var(--color-forest);
  color: #fff;
}

.section-process .section-eyebrow {
  color: var(--color-mustard);
}

.section-process .section-title {
  color: #fff;
}

.process-intro {
  margin-bottom: 80px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process-card {
  background: var(--color-forest);
  padding: 40px 32px;
  transition: background var(--transition-base);
}

.process-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

.process-card-number {
  display: block;
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-mustard);
  margin-bottom: 16px;
}

.process-card h3 {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: #fff;
}

.process-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

/* -------------------------------
   About
   ------------------------------- */
.section-about {
  background: var(--color-bg);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.04);
}

.about-content p {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-bottom: 20px;
  line-height: 1.75;
}

.about-features {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
}

.about-features i {
  font-size: 1.25rem;
  color: var(--color-accent);
}

/* -------------------------------
   Contact
   ------------------------------- */
.section-contact {
  background: var(--color-surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: 18px;
}

.contact-details {
  margin-top: 48px;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}

.contact-item i {
  font-size: 1.25rem;
  color: var(--color-accent);
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.08);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

/* -------------------------------
   Footer
   ------------------------------- */
.footer {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  padding: 100px 0 36px;
}

.footer-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.65;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-nav a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-mustard);
  border-color: var(--color-mustard);
  color: var(--color-text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* -------------------------------
   WhatsApp float
   ------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  font-size: 1.8rem;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

/* -------------------------------
   Reveal animations
   ------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 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; }

/* -------------------------------
   Responsive
   ------------------------------- */
@media (max-width: 1024px) {
  :root {
    --section-space: 120px;
  }

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

  .product-card:nth-child(4),
  .product-card:nth-child(5) {
    grid-column: auto;
  }

  .b2b-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .b2b-content {
    position: static;
  }

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

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

  .footer-layout {
    flex-direction: column;
    gap: 40px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-link {
    padding: 8px 12px;
  }
}

@media (max-width: 768px) {
  :root {
    --navbar-height: 70px;
    --section-space: 96px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle,
  .nav-close {
    display: flex;
  }

  .hero-content {
    padding: 100px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }

  .section-title {
    max-width: none;
  }

  .products-grid,
  .b2b-grid,
  .experience-steps,
  .process-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .about-layout {
    gap: 40px;
  }

  .contact-form {
    padding: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .process-card-number {
    font-size: 2rem;
  }

  .whatsapp-float {
    bottom: 88px;
    right: 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;
  }
}

/* -------------------------------
   Theme variations
   ------------------------------- */
.theme-earth {
  --color-bg: #F6F1EA;
  --color-surface: #FFFFFF;
  --color-text: #2A2118;
  --color-muted: #8B7E6F;
  --color-accent: #8B5A2B;
  --color-accent-hover: #6D4620;
  --color-forest: #1A3C1A;
  --color-mustard: #D4A03D;
  --color-border: rgba(42, 33, 24, 0.1);
  --color-shadow: rgba(42, 33, 24, 0.08);
}

.theme-forest {
  --color-bg: #F0F4F0;
  --color-surface: #FFFFFF;
  --color-text: #1E2E1E;
  --color-muted: #5E7360;
  --color-accent: #2D4A2D;
  --color-accent-hover: #1F351F;
  --color-forest: #1A3C1A;
  --color-mustard: #D4A03D;
  --color-border: rgba(30, 46, 30, 0.1);
  --color-shadow: rgba(30, 46, 30, 0.08);
}

.theme-warm {
  --color-bg: #FBF6F2;
  --color-surface: #FFFFFF;
  --color-text: #2E211A;
  --color-muted: #9B7F6F;
  --color-accent: #B87D5E;
  --color-accent-hover: #94634A;
  --color-forest: #1A3C1A;
  --color-mustard: #D4A03D;
  --color-border: rgba(46, 33, 26, 0.1);
  --color-shadow: rgba(46, 33, 26, 0.08);
}

.theme-berry {
  --color-bg: #FDF2F4;
  --color-surface: #FFFFFF;
  --color-text: #1A1A1A;
  --color-muted: #8A5862;
  --color-accent: #C41E3A;
  --color-accent-hover: #A01830;
  --color-forest: #1A3C1A;
  --color-mustard: #D4A03D;
  --color-border: rgba(26, 26, 26, 0.1);
  --color-shadow: rgba(196, 30, 58, 0.08);
}

.theme-cream {
  --color-bg: #F5F3EF;
  --color-surface: #FFFFFF;
  --color-text: #1A1A1A;
  --color-muted: #8A8A8A;
  --color-accent: #9E8B75;
  --color-accent-hover: #7E6E5D;
  --color-forest: #1A3C1A;
  --color-mustard: #D4A03D;
  --color-border: rgba(26, 26, 26, 0.1);
  --color-shadow: rgba(26, 26, 26, 0.08);
}

.theme-blossom {
  --color-bg: #FDF2F5;
  --color-surface: #FFFFFF;
  --color-text: #2E1E24;
  --color-muted: #9B6F7E;
  --color-accent: #D46887;
  --color-accent-hover: #B0506D;
  --color-forest: #1A3C1A;
  --color-mustard: #D4A03D;
  --color-border: rgba(46, 30, 36, 0.1);
  --color-shadow: rgba(46, 30, 36, 0.08);
}

.theme-field {
  --color-bg: #F5F7F0;
  --color-surface: #FFFFFF;
  --color-text: #232B18;
  --color-muted: #6E7A5C;
  --color-accent: #6B7F4A;
  --color-accent-hover: #54633A;
  --color-forest: #1A3C1A;
  --color-mustard: #D4A03D;
  --color-border: rgba(35, 43, 24, 0.1);
  --color-shadow: rgba(35, 43, 24, 0.08);
}

/* Theme-aware navbar background */
.navbar.scrolled {
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
}
