/* ══════════════════════════════════════════════════════════════
   CINNABEY  ·  Premium Ceylon Cinnamon
   Global Design System v2.0
══════════════════════════════════════════════════════════════ */

/* ─── GOOGLE FONTS ───────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600;1,700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── VARIABLES ──────────────────────────────────────────────────── */
:root {
  --c-ink:    #0F0603;
  --c-dark:   #1A0A04;
  --c-deep:   #2C1810;
  --c-brown:  #5C2E1A;
  --c-mid:    #8B4513;
  --c-warm:   #C4691A;
  --c-amber:  #D4A061;
  --c-gold:   #E8C47A;
  --c-cream:  #F5ECD7;
  --c-linen:  #FDF8F0;
  --c-forest: #1E3A14;
  --c-green:  #2D4A1E;
  --c-sage:   #5B7C4A;
  --c-mint:   #8FB87A;

  --f-display: 'Playfair Display', Georgia, serif;
  --f-elegant: 'Cormorant Garamond', Georgia, serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;

  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);

  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  40px;
  --r-full: 9999px;

  --shadow-amber: 0 8px 32px rgba(196, 105, 26, 0.25);
  --shadow-dark:  0 12px 48px rgba(15, 6, 3, 0.45);
  --shadow-deep:  0 24px 80px rgba(15, 6, 3, 0.6);

  --nav-h: 72px;
}

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

/* ─── 3D SCENE CANVAS ────────────────────────────────────────────── */
#scene3d {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100; /* Float in front of content cards & backgrounds */
}

/* ─── PAGE TRANSITION ────────────────────────────────────────────── */
.page-wrap {
  position: relative;
  z-index: 1;
  animation: pageIn 0.7s var(--ease) both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── NAVIGATION ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 3.5rem);
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease),
              border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(15, 6, 3, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: rgba(196, 105, 26, 0.18);
  box-shadow: 0 4px 32px rgba(15, 6, 3, 0.5);
}
.nav.light.solid {
  background: rgba(253, 248, 240, 0.92);
  border-bottom-color: rgba(196, 105, 26, 0.12);
  box-shadow: 0 4px 24px rgba(139, 69, 19, 0.12);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
}
.nav-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s var(--ease-back);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.nav-logo:hover .nav-logo-img { transform: scale(1.08); }
.nav-logo-text-group { display: flex; flex-direction: column; }
.nav-logo-name {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: white;
  line-height: 1;
  transition: color 0.3s;
}
.nav-logo-name em { color: var(--c-amber); font-style: normal; }
.nav.light .nav-logo-name { color: var(--c-dark); }
.nav-logo-sub {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--c-amber);
  text-transform: uppercase;
  margin-top: 3px;
}
.nav.light .nav-logo-sub { color: var(--c-warm); }

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.8rem);
}
.nav-link {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.25s;
}
.nav.light .nav-link { color: var(--c-brown); }
.nav-link.active, .nav-link:hover { color: var(--c-amber) !important; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--c-amber);
  transition: width 0.3s var(--ease);
  border-radius: 2px;
}
.nav-link.active::after, .nav-link:hover::after { width: 100%; }

/* Nav CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 22px;
  background: linear-gradient(135deg, var(--c-mid), var(--c-warm));
  color: white !important;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 18px rgba(196,105,26,0.45);
  transition: transform 0.25s var(--ease-back), box-shadow 0.25s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(196,105,26,0.55);
  color: white !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 210;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.35s var(--ease);
}
.nav.light .hamburger span { background: var(--c-dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: -100%;
  width: min(340px, 88vw);
  height: 100dvh;
  background: var(--c-dark);
  z-index: 205;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 1.5rem) 2rem 2.5rem;
  gap: 0;
  transition: right 0.42s var(--ease);
  border-left: 1px solid rgba(196,105,26,0.15);
}
.mobile-drawer.open { right: 0; }
.mobile-drawer a {
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--c-cream);
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(245,236,215,0.07);
  transition: color 0.2s, padding-left 0.25s var(--ease);
  display: block;
}
.mobile-drawer a:hover, .mobile-drawer a.active { color: var(--c-amber); padding-left: 0.6rem; }
.mobile-drawer a:last-child { border-bottom: none; margin-top: 1.5rem; }
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(10,4,2,0.7);
  backdrop-filter: blur(4px);
  z-index: 204;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ─── HERO BASE ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--nav-h) clamp(1.25rem, 6vw, 4rem) clamp(3rem, 8vw, 5rem);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 920px;
}
.hero-dark { background: var(--c-dark); }
.hero-green { background: linear-gradient(160deg, var(--c-forest), var(--c-green)); }
.hero-cream {
  background: linear-gradient(155deg, var(--c-cream) 0%, var(--c-linen) 100%);
}

/* Hero Header Backdrop Image */
.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(0.68) contrast(1.18) saturate(1.15);
  transform: scale(1.04);
  animation: heroImgBreathe 24s ease-in-out infinite alternate;
}
@keyframes heroImgBreathe {
  0%   { transform: scale(1.04) translateY(0); }
  100% { transform: scale(1.10) translateY(-2%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 75% at 50% 45%, rgba(26, 10, 4, 0.35) 0%, rgba(15, 6, 3, 0.75) 75%, #0F0603 100%),
    linear-gradient(to bottom, rgba(15, 6, 3, 0.75) 0%, rgba(15, 6, 3, 0.2) 35%, rgba(15, 6, 3, 0.95) 100%);
}

/* Dynamic Hero Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}
.slider-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  backdrop-filter: blur(8px);
}
.slider-arrow:hover {
  background: var(--c-warm);
  border-color: var(--c-warm);
  transform: scale(1.1);
}
.slider-dots {
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s;
}
.slider-dot.active {
  background: var(--c-amber);
  width: 24px;
  border-radius: 20px;
}

/* Estate Image Carousel Component */
.estate-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-deep);
  border: 1px solid rgba(212,160,97,0.2);
  margin-top: 2rem;
  background: var(--c-dark);
}
.carousel-track {
  display: flex;
  transition: transform 0.6s var(--ease);
  width: 100%;
}
.carousel-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 16/9;
  max-height: 480px;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 2.5rem 1.5rem;
  background: linear-gradient(to top, rgba(15,6,3,0.92) 0%, rgba(15,6,3,0.6) 60%, transparent 100%);
  color: white;
}
.carousel-badge {
  display: inline-block;
  background: var(--c-warm);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: 0.5rem;
}
.carousel-title {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--c-cream);
}
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15,6,3,0.65);
  border: 1px solid rgba(212,160,97,0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  backdrop-filter: blur(8px);
  z-index: 5;
}
.carousel-nav-btn:hover {
  background: var(--c-warm);
  transform: translateY(-50%) scale(1.1);
}
.carousel-nav-btn.prev { left: 1rem; }
.carousel-nav-btn.next { right: 1rem; }

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: min(700px,120vw); height: min(400px,80vw);
  background: radial-gradient(ellipse, rgba(196,105,26,0.22), transparent 70%);
  top: 20%; left: 50%;
  transform: translateX(-50%);
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(92,46,26,0.18), transparent 70%);
  bottom: 15%; right: 10%;
}
.hero-glow-green {
  background: radial-gradient(ellipse, rgba(91,124,74,0.3), transparent 70%);
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(196,105,26,0.35);
  color: var(--c-amber);
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--r-full);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--c-warm);
  border-radius: 50%;
  animation: dotBlink 2s ease-in-out infinite;
}
@keyframes dotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.6); }
}
.hero-badge.dark-badge {
  background: rgba(196,105,26,0.12);
  border-color: rgba(196,105,26,0.3);
  color: var(--c-warm);
}

/* Headline */
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 8.5vw, 7rem);
  font-weight: 900;
  line-height: 1.0;
  text-align: center;
  color: white;
  margin-bottom: 1.6rem;
  letter-spacing: -1px;
}
.hero-title.dark-title { color: var(--c-dark); }
.hero-title em {
  font-style: italic;
  color: var(--c-amber);
  position: relative;
  display: inline-block;
}
.hero-title em .underline-draw {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-warm), var(--c-amber));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: drawLine 1s var(--ease) 0.8s forwards;
}
@keyframes drawLine { to { transform: scaleX(1); } }

.hero-sub {
  font-family: var(--f-elegant);
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  text-align: center;
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2.75rem;
}
.hero-sub.dark-sub { color: var(--c-brown); }

/* Hero pills */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 2.75rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-full);
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  transition: transform 0.25s var(--ease-back), background 0.25s, border-color 0.25s;
}
.pill:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(196,105,26,0.4);
}
.pill.dark-pill {
  background: white;
  border-color: rgba(139,69,19,0.12);
  color: var(--c-brown);
  box-shadow: 0 2px 12px rgba(139,69,19,0.1);
}
.pill.dark-pill:hover {
  background: var(--c-cream);
  border-color: rgba(196,105,26,0.25);
}

/* Hero buttons */
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Scroll indicator */
.scroll-ind {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-ind span {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.scroll-ind-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--c-amber), transparent);
  animation: scrollAnim 2s var(--ease-in) infinite;
  transform-origin: top;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); opacity: 1; }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Page hero (sub-pages) */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(3rem,8vw,5rem)) clamp(1.25rem,6vw,4rem) clamp(3rem,6vw,4.5rem);
  overflow: hidden;
  text-align: center;
}
.page-hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.4rem,7vw,5rem);
  font-weight: 900;
  color: white;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.page-hero-sub {
  font-family: var(--f-elegant);
  font-size: clamp(1rem,2.2vw,1.25rem);
  color: rgba(255,255,255,0.62);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ─── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: var(--r-full);
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform 0.28s var(--ease-back), box-shadow 0.28s, background 0.25s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-3px) scale(1.03); }
.btn-primary {
  background: linear-gradient(135deg, var(--c-mid), var(--c-warm));
  color: white;
  box-shadow: 0 6px 24px rgba(196,105,26,0.42);
}
.btn-primary:hover { box-shadow: 0 12px 36px rgba(196,105,26,0.55); }
.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--c-amber); color: var(--c-amber); }
.btn-dark-outline {
  background: transparent;
  color: var(--c-dark);
  border: 1.5px solid rgba(44,24,16,0.25);
}
.btn-dark-outline:hover { border-color: var(--c-warm); color: var(--c-warm); background: rgba(196,105,26,0.04); }
.btn-gold {
  background: linear-gradient(135deg, var(--c-amber), var(--c-gold));
  color: var(--c-dark);
  box-shadow: 0 6px 24px rgba(212,160,97,0.4);
}
.btn-gold:hover { box-shadow: 0 12px 36px rgba(212,160,97,0.55); }
.btn-green {
  background: linear-gradient(135deg, var(--c-green), var(--c-sage));
  color: white;
  box-shadow: 0 6px 24px rgba(45,74,30,0.4);
}
.btn-sm { padding: 10px 22px; font-size: 0.75rem; }
.btn-lg { padding: 18px 44px; font-size: 0.9rem; }

/* ─── SECTIONS ───────────────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
}
.section-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1.25rem, 5vw, 3rem);
}
.section-inner-sm {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 3rem);
}

/* Section tag */
.s-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-warm);
  margin-bottom: 0.85rem;
}
.s-tag::before {
  content: '';
  display: block;
  width: 20px; height: 1.5px;
  background: var(--c-warm);
  border-radius: 2px;
}
.s-tag.light { color: var(--c-amber); }
.s-tag.light::before { background: var(--c-amber); }
.s-tag.green { color: var(--c-mint); }
.s-tag.green::before { background: var(--c-mint); }

/* Section title */
.s-title {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 5.5vw, 3.4rem);
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.s-title.light  { color: white; }
.s-title.cream  { color: var(--c-cream); }

.s-sub {
  font-family: var(--f-elegant);
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: var(--c-brown);
  line-height: 1.75;
  max-width: 580px;
}
.s-sub.light { color: rgba(255,255,255,0.62); }
.s-sub.cream { color: rgba(245,236,215,0.7); }
.s-sub.wide  { max-width: 780px; }

.center { text-align: center; margin-left: auto; margin-right: auto; }
.s-sub.center { margin: 0 auto; }

/* ─── REVEAL ANIMATIONS ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }
.d6 { transition-delay: 0.48s; }

/* ─── MARQUEE BELT ───────────────────────────────────────────────── */
.marquee {
  background: linear-gradient(135deg, var(--c-brown), var(--c-mid));
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 2rem;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245,236,215,0.9);
}
.marquee-sep { color: var(--c-amber); font-size: 0.6rem; opacity: 0.7; }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── WAVE DIVIDERS ──────────────────────────────────────────────── */
.wave-top, .wave-bottom {
  display: block;
  width: 100%;
  height: clamp(40px, 7vw, 90px);
  overflow: hidden;
}
.wave-top svg, .wave-bottom svg { width: 100%; height: 100%; }

/* ─── PRODUCT CARDS ──────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}
.product-card {
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(139,69,19,0.1);
  border: 1px solid rgba(139,69,19,0.07);
  transition: transform 0.4s var(--ease-back), box-shadow 0.4s;
  cursor: pointer;
  position: relative;
  transform-style: preserve-3d;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(44,24,16,0.22);
}
.product-thumb {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.product-thumb-bg {
  position: absolute; inset: 0;
  transition: transform 0.55s var(--ease);
}
.product-card:hover .product-thumb-bg { transform: scale(1.08); }
.product-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15,6,3,0.25));
}
.product-thumb span { position: relative; z-index: 1; }
.p-badge {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.p-badge-green { background: var(--c-green); color: white; }
.p-badge-amber { background: var(--c-warm);  color: white; }
.p-badge-gold  { background: var(--c-amber); color: var(--c-dark); }

/* Thumb backgrounds */
.tb-quills  { background: linear-gradient(135deg, #EDD9B8, #C4883A, #8B4513); }
.tb-powder  { background: linear-gradient(135deg, #F5E4C5, #D4A55A, #A0652A); }
.tb-oil     { background: linear-gradient(135deg, #C8DDB5, #7BAF60, #3D5A2E); }
.tb-pepper  { background: linear-gradient(135deg, #C8A08A, #6B3B25, #3A1A0A); }
.tb-gift    { background: linear-gradient(135deg, #F0DCC0, #C4883A, #8B5520); }
.tb-bulk    { background: linear-gradient(135deg, #D4BBA0, #8B5520, #4A2010); }

.product-body { padding: 1.6rem 1.5rem; }
.product-name {
  font-family: var(--f-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 0.45rem;
  line-height: 1.2;
}
.product-desc {
  font-size: 0.83rem;
  color: var(--c-brown);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.product-sizes {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.1rem;
}
.size-chip {
  background: var(--c-cream);
  border: 1px solid rgba(139,69,19,0.12);
  color: var(--c-brown);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 11px;
  border-radius: var(--r-full);
}
.product-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--c-warm);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: gap 0.2s;
}
.product-action:hover { gap: 10px; }
.product-action-arrow { transition: transform 0.2s; }
.product-card:hover .product-action-arrow { transform: translateX(4px); }

/* ─── STAT CARDS ─────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.stat-card {
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: var(--r-lg);
  transition: transform 0.3s var(--ease-back);
}
.stat-card:hover { transform: translateY(-5px); }
.stat-card.glass {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.stat-card.white {
  background: white;
  box-shadow: 0 4px 20px rgba(139,69,19,0.1);
  border: 1px solid rgba(139,69,19,0.06);
}
.stat-n {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 900;
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-n.gold { color: var(--c-amber); }
.stat-n.warm { color: var(--c-warm); }
.stat-l {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.4;
}
.stat-l.muted    { color: rgba(245,236,215,0.55); }
.stat-l.dark-muted { color: var(--c-brown); }

/* ─── PROCESS STEPS ──────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 30px; left: 8%;
  right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-amber) 20%, var(--c-warm) 80%, transparent);
}
@media (max-width: 640px) { .process-grid::before { display: none; } }
.process-step { text-align: center; }
.step-orb {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--c-mid), var(--c-warm));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
  box-shadow: 0 6px 20px rgba(196,105,26,0.38);
  transition: transform 0.3s var(--ease-back);
  position: relative;
  z-index: 1;
}
.process-step:hover .step-orb { transform: scale(1.18) rotate(-8deg); }
.step-orb-num {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
}
.step-icon-big { font-size: 1.9rem; margin-bottom: 0.75rem; display: block; }
.step-name {
  font-family: var(--f-display);
  font-size: 1.05rem;
  color: var(--c-dark);
  margin-bottom: 0.5rem;
}
.step-name.light { color: white; }
.step-desc { font-size: 0.83rem; color: var(--c-brown); line-height: 1.65; }
.step-desc.light { color: rgba(255,255,255,0.62); }

/* ─── FEATURE LIST ───────────────────────────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 0.9rem; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--r-md);
  transition: transform 0.25s var(--ease-back), background 0.25s;
  cursor: default;
}
.feature-item.glass {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.feature-item.white {
  background: white;
  border: 1px solid rgba(139,69,19,0.07);
  box-shadow: 0 2px 12px rgba(139,69,19,0.06);
}
.feature-item:hover { transform: translateX(6px); }
.feature-item.glass:hover  { background: rgba(255,255,255,0.09); }
.feature-item.white:hover  { background: var(--c-cream); }
.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
  width: 44px; height: 44px;
  background: rgba(196,105,26,0.12);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
}
.feature-icon.green-icon { background: rgba(45,74,30,0.12); }
.feature-name { font-family: var(--f-display); font-size: 1rem; margin-bottom: 0.3rem; }
.feature-name.light { color: var(--c-amber); }
.feature-name.dark  { color: var(--c-dark); }
.feature-text { font-size: 0.82rem; line-height: 1.65; }
.feature-text.light { color: rgba(255,255,255,0.65); }
.feature-text.muted { color: var(--c-brown); }

/* ─── TESTIMONIAL CARDS ──────────────────────────────────────────── */
.testimonials-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1rem 0 1.5rem;
  margin: 2rem -1rem 0;
  padding-left: 1rem;
}
.testimonials-scroll::-webkit-scrollbar { display: none; }
.testi-card {
  flex: 0 0 min(320px, 80vw);
  background: var(--c-linen);
  border: 1px solid rgba(139,69,19,0.1);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  scroll-snap-align: start;
  transition: transform 0.3s var(--ease-back);
}
.testi-card.dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}
.testi-card:hover { transform: translateY(-5px); }
.testi-stars { color: var(--c-warm); margin-bottom: 0.9rem; letter-spacing: 2px; }
.testi-text {
  font-family: var(--f-elegant);
  font-style: italic;
  font-size: 1rem;
  color: var(--c-brown);
  line-height: 1.75;
  margin-bottom: 1.3rem;
}
.testi-card.dark .testi-text { color: rgba(245,236,215,0.8); }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-mid), var(--c-warm));
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 0.88rem; color: var(--c-dark); }
.testi-card.dark .testi-name { color: var(--c-cream); }
.testi-loc  { font-size: 0.75rem; color: var(--c-brown); }
.testi-card.dark .testi-loc  { color: rgba(245,236,215,0.5); }

/* ─── SERVE CARDS ────────────────────────────────────────────────── */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px,100%), 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.serve-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(139,69,19,0.07);
  box-shadow: 0 3px 16px rgba(139,69,19,0.07);
  transition: transform 0.3s var(--ease-back), box-shadow 0.3s;
}
.serve-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(44,24,16,0.16);
}
.serve-icon-wrap {
  font-size: 2.2rem;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--c-cream), #EDD9B8);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.serve-name { font-family: var(--f-display); font-size: 1rem; color: var(--c-dark); margin-bottom: 0.4rem; }
.serve-desc { font-size: 0.8rem; color: var(--c-brown); line-height: 1.6; }

/* ─── ESTATE CARDS ───────────────────────────────────────────────── */
.estate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.estate-card {
  border-radius: var(--r-lg);
  padding: 2.25rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease-back), background 0.3s;
}
.estate-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.08);
}
.estate-card-icon {
  font-size: 2.5rem;
  width: 64px; height: 64px;
  background: rgba(196,105,26,0.15);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
}
.estate-card-name { font-family: var(--f-display); font-size: 1.3rem; color: var(--c-amber); margin-bottom: 0.6rem; }
.estate-card-text { font-size: 0.88rem; color: rgba(245,236,215,0.7); line-height: 1.75; }

/* ─── CONTACT SECTION ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 3rem;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.3rem 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  transition: background 0.25s;
}
.contact-item:hover { background: rgba(255,255,255,0.09); }
.contact-item-icon {
  font-size: 1.2rem;
  background: rgba(196,105,26,0.18);
  border-radius: var(--r-sm);
  padding: 11px;
  flex-shrink: 0;
}
.contact-item-label {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-bottom: 4px;
  font-weight: 700;
}
.contact-item-val { font-size: 0.9rem; color: rgba(255,255,255,0.82); line-height: 1.65; }

/* Form */
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.form-ctrl {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  color: white;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form-ctrl:focus { border-color: var(--c-amber); background: rgba(255,255,255,0.09); }
.form-ctrl::placeholder { color: rgba(255,255,255,0.28); }
textarea.form-ctrl { resize: vertical; min-height: 130px; }
select.form-ctrl option { background: var(--c-dark); }

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.footer {
  background: var(--c-ink);
  color: rgba(245,236,215,0.55);
  position: relative;
  z-index: 1;
}
.footer-body {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(3rem,7vw,5rem) clamp(1.25rem,5vw,3rem) 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 900px)  { .footer-body { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .footer-body { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand-n {
  font-family: var(--f-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--c-cream);
  margin-bottom: 0.75rem;
}
.footer-brand-n em { color: var(--c-amber); font-style: normal; }
.footer-tagline {
  font-family: var(--f-elegant);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  color: rgba(245,236,215,0.55);
}
.footer-col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-bottom: 1.1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(245,236,215,0.55);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover { color: var(--c-cream); padding-left: 4px; }
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.75rem clamp(1.25rem,5vw,3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
}
.footer-origin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-amber);
}

/* ─── FLOATING WHATSAPP ──────────────────────────────────────────── */
.wa-btn {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 99;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform 0.3s var(--ease-back), box-shadow 0.3s;
  text-decoration: none;
}
.wa-btn:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 12px 36px rgba(37,211,102,0.55);
}

/* ─── ABOUT TIMELINE ─────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-warm), var(--c-amber), transparent);
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -2.88rem;
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--c-warm);
  border: 3px solid var(--c-cream);
  box-shadow: 0 0 0 4px rgba(196,105,26,0.2);
}
.timeline-year {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-warm);
  margin-bottom: 0.4rem;
}
.timeline-title { font-family: var(--f-display); font-size: 1.15rem; color: var(--c-dark); margin-bottom: 0.4rem; }
.timeline-text  { font-size: 0.88rem; color: var(--c-brown); line-height: 1.7; }

/* ─── GALLERY MOCK ───────────────────────────────────────────────── */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 180px);
  gap: 0.9rem;
  margin-top: 2rem;
}
@media (max-width: 640px) {
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 150px);
  }
}
.gallery-cell {
  border-radius: var(--r-md);
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 3rem;
  position: relative;
  transition: transform 0.3s var(--ease-back);
  cursor: pointer;
}
.gallery-cell:hover { transform: scale(1.02); z-index: 2; }
.gallery-cell-wide { grid-column: span 2; }
.gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(15,6,3,0.75), transparent);
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
}

/* ─── VALUE CHIPS ────────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px,100%), 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.value-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(139,69,19,0.08);
  background: white;
  box-shadow: 0 3px 16px rgba(139,69,19,0.06);
  transition: transform 0.3s var(--ease-back), box-shadow 0.3s;
}
.value-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(44,24,16,0.14); }
.value-icon { font-size: 2rem; margin-bottom: 0.9rem; }
.value-name { font-family: var(--f-display); font-size: 1rem; color: var(--c-dark); margin-bottom: 0.4rem; }
.value-text { font-size: 0.8rem; color: var(--c-brown); line-height: 1.65; }

/* ─── TWO-COLUMN LAYOUT ──────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
.two-col-reverse { direction: rtl; }
.two-col-reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .two-col, .two-col-reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* ─── CTA BANNER ─────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--c-brown), var(--c-warm));
  border-radius: var(--r-xl);
  padding: clamp(2.5rem,6vw,4rem) clamp(2rem,5vw,4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-amber);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 180deg, rgba(255,255,255,0.04) 0deg, transparent 60deg, rgba(255,255,255,0.04) 120deg);
  animation: rotateBanner 20s linear infinite;
}
@keyframes rotateBanner { to { transform: rotate(360deg); } }
.cta-banner > * { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: white;
  margin-bottom: 0.75rem;
}
.cta-text {
  font-family: var(--f-elegant);
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ─── BG UTILITIES ───────────────────────────────────────────────── */
.bg-dark   { background: var(--c-dark); }
.bg-deep   { background: var(--c-deep); }
.bg-cream  { background: var(--c-cream); }
.bg-linen  { background: var(--c-linen); }
.bg-white  { background: white; }
.bg-forest { background: linear-gradient(155deg, var(--c-forest) 0%, var(--c-green) 100%); }
.bg-gradient-warm {
  background: linear-gradient(160deg, var(--c-cream) 0%, var(--c-linen) 100%);
}
.bg-gradient-dark {
  background: linear-gradient(160deg, var(--c-dark) 0%, #230E06 100%);
}

/* ─── MEDIA QUERIES ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; }
  .process-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .process-grid { grid-template-columns: 1fr; }
  .gallery-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-cell-wide { grid-column: span 1; }
}

/* ══════════════════════════════════════════════════════════════
   CINNAMON LUXURY PRELOADER
══════════════════════════════════════════════════════════════ */
.cinnamon-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #230E05 0%, #110502 65%, #080201 100%);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.75s var(--ease), visibility 0.75s ease;
  pointer-events: all;
}
.cinnamon-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  max-width: 440px;
}
.preloader-graphic {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 1.75rem;
  display: grid;
  place-items: center;
}
.preloader-ring-svg {
  width: 100%;
  height: 100%;
  animation: preloaderSpin 14s linear infinite;
}
.preloader-circle-track {
  stroke: rgba(212, 160, 97, 0.15);
  stroke-width: 2;
}
.preloader-circle-fill {
  stroke: url(#preloaderGoldGrad);
  stroke-width: 2.5;
  stroke-dasharray: 330;
  stroke-dashoffset: 330;
  animation: preloaderFill 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite alternate;
}
.preloader-center-quill {
  position: absolute;
  width: 60px;
  height: 60px;
  animation: preloaderPulse 2.4s ease-in-out infinite;
}
@keyframes preloaderSpin {
  100% { transform: rotate(360deg); }
}
@keyframes preloaderFill {
  0%   { stroke-dashoffset: 330; transform: rotate(-90deg); transform-origin: center; }
  100% { stroke-dashoffset: 40;  transform: rotate(270deg); transform-origin: center; }
}
@keyframes preloaderPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.85; filter: drop-shadow(0 0 10px rgba(232, 196, 122, 0.3)); }
  50%      { transform: scale(1.05); opacity: 1;    filter: drop-shadow(0 0 22px rgba(232, 196, 122, 0.7)); }
}
.preloader-title {
  font-family: var(--f-display);
  font-size: 2.2rem;
  color: #FDF8F0;
  letter-spacing: 2px;
  margin-bottom: 0.35rem;
}
.preloader-title em {
  font-family: var(--f-elegant);
  font-style: italic;
  color: var(--c-amber);
}
.preloader-subtitle {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(245, 236, 215, 0.65);
  margin-bottom: 2rem;
  font-weight: 500;
}
.preloader-track {
  width: 180px;
  height: 2px;
  background: rgba(212, 160, 97, 0.2);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}
.preloader-fill-bar {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, #8B4513, #D4A061, #F5ECD7);
  border-radius: 99px;
  animation: preloaderBarSweep 1.6s ease-in-out infinite;
}
@keyframes preloaderBarSweep {
  0%   { transform: translateX(-100%); }
  50%  { width: 60%; }
  100% { transform: translateX(300%); }
}

/* ══════════════════════════════════════════════════════════════
   BESPOKE LUXURY SPICE SVGS & REAL IMAGERY
══════════════════════════════════════════════════════════════ */
.svg-spice-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.35s var(--ease-back), filter 0.3s;
}
.feature-item:hover .svg-spice-icon,
.pillar-card:hover .svg-spice-icon,
.product-card:hover .svg-spice-icon {
  transform: scale(1.12);
  filter: drop-shadow(0 4px 10px rgba(196, 105, 26, 0.4));
}
.svg-gold  { stroke: var(--c-amber); fill: none; }
.svg-green { stroke: var(--c-mint);  fill: none; }
.svg-dark  { stroke: var(--c-warm);  fill: none; }

/* Real product photography container */
.product-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
}
.product-card:hover .product-real-img {
  transform: scale(1.08);
}
.product-thumb {
  position: relative;
  overflow: hidden;
  background: #1A0D07;
}

/* Real Estate gallery mosaic photos */
.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.gallery-cell:hover img {
  transform: scale(1.06);
}

/* Ensure full screen 3D canvas covers entire screen with highest visual fidelity */
#scene3d {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  z-index: 100 !important; /* Floats directly over sections, below header nav */
}

/* ══════════════════════════════════════════════════════════════
   SILKY SMOOTH DOUBLE-BUFFERED HERO SLIDER & PROGRESS
══════════════════════════════════════════════════════════════ */
.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(0.68) contrast(1.16) saturate(1.15);
  opacity: 0;
  transform: scale(1.0);
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), transform 9s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}
.hero-bg-layer.active {
  opacity: 1;
  transform: scale(1.07);
}

.slider-progress-wrap {
  width: 140px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 6px;
  position: relative;
}
.slider-progress-bar {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--c-warm), var(--c-amber));
  border-radius: 99px;
  transition: width 0.1s linear;
}

/* ══════════════════════════════════════════════════════════════
   3D PERSPECTIVE CARD TILT & SPECULAR GLARE
══════════════════════════════════════════════════════════════ */
.product-card, .estate-card, .stat-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  position: relative;
}
.card-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18) 0%, transparent 60%);
  mix-blend-mode: overlay;
  z-index: 5;
}
.product-card:hover .card-glare,
.estate-card:hover .card-glare {
  opacity: 1;
}

/* ══════════════════════════════════════════════════════════════
   SMOOTH PROGRESSIVE IMAGE LOADING (SKELETON SHIMMER)
══════════════════════════════════════════════════════════════ */
.product-thumb, .carousel-slide, .gallery-cell {
  background: linear-gradient(110deg, #1C0A04 8%, #2A1408 18%, #1C0A04 33%);
  background-size: 200% 100%;
  animation: skeletonShimmer 2.2s linear infinite;
}
@keyframes skeletonShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.product-real-img, .carousel-slide img, .gallery-cell img {
  opacity: 0;
  filter: blur(6px);
  transform: scale(1.03);
  transition: opacity 0.75s cubic-bezier(0.2, 0, 0.2, 1), filter 0.75s ease-out, transform 0.75s ease-out;
}
.product-real-img.img-loaded, .carousel-slide img.img-loaded, .gallery-cell img.img-loaded {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

/* ══════════════════════════════════════════════════════════════
   INTERACTIVE 3D CEYLON VS CASSIA AUTHENTICITY SHOWCASE
══════════════════════════════════════════════════════════════ */
.ceylon-vs-cassia-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(175deg, #120703 0%, #1A0A04 45%, #251006 100%);
  color: white;
  padding: 6rem clamp(1.25rem, 5vw, 3.5rem);
  border-top: 1px solid rgba(212, 160, 97, 0.2);
  border-bottom: 1px solid rgba(212, 160, 97, 0.2);
}
.ceylon-vs-cassia-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 960px) {
  .ceylon-vs-cassia-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
.quill3d-viewer-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 160, 97, 0.3);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  text-align: center;
}
.quill3d-canvas-wrap {
  width: 100%;
  height: 320px;
  position: relative;
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.quill3d-canvas-wrap:active {
  cursor: grabbing;
}
#quill3dCanvas {
  width: 100%;
  height: 100%;
  display: block;
}
.quill3d-hint {
  font-size: 0.76rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.toggle-pills-bar {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px;
  border-radius: 99px;
  border: 1px solid rgba(212, 160, 97, 0.25);
  margin-bottom: 1.5rem;
}
.toggle-pill-btn {
  background: none;
  border: none;
  color: rgba(245, 236, 215, 0.7);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.toggle-pill-btn.active {
  background: linear-gradient(135deg, var(--c-mid), var(--c-warm));
  color: white;
  box-shadow: 0 2px 10px rgba(196, 105, 26, 0.4);
}

.spec-comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-top: 1.5rem;
}
.spec-comparison-table tr {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  transition: background 0.2s;
}
.spec-comparison-table tr:hover {
  background: rgba(255, 255, 255, 0.07);
}
.spec-comparison-table td {
  padding: 11px 16px;
  font-size: 0.86rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.spec-comparison-table td:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px 0 0 8px;
  color: rgba(245, 236, 215, 0.65);
  font-weight: 500;
  width: 38%;
}
.spec-comparison-table td:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0 8px 8px 0;
  color: var(--c-cream);
  font-weight: 600;
}
.spec-badge-safe {
  color: #7BD658;
  background: rgba(123, 214, 88, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}
.spec-badge-warn {
  color: #FF7B7B;
  background: rgba(255, 123, 123, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}

