/* ── RESET & TOKENS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --terra: #C9623F; --terra-d: #A84E30; --terra-l: #E07A54;
  --cream: #FAF6EE; --warm: #FFFDF8;
  --olive: #5C6B35; --olive-l: #7A8E4A;
  --ink: #1E1710; --ink-mid: #3D2E1C; --ink-soft: #5A4535;
  --stone: #C8B89A; --stone-l: #E8DDD0; --stone-xl: #F4EFE8;
  --gold: #E5A534;
  --r: 14px; --r-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(20,10,5,0.08);
  --shadow-md: 0 8px 32px rgba(20,10,5,0.12);
  --shadow-lg: 0 16px 56px rgba(20,10,5,0.16);
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); background: var(--warm); color: var(--ink); overflow-x: hidden; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-sans); }

/* ── TYPOGRAPHY ── */
.serif { font-family: var(--font-serif); }
.label {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terra); font-weight: 600;
  display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.8rem;
}
.label::before { content: ''; width: 22px; height: 1.5px; background: var(--terra); border-radius: 2px; flex-shrink: 0; }
.label-light { color: rgba(255,255,255,0.6); }
.label-light::before { background: rgba(255,255,255,0.4); }
h1,h2,h3,h4 { font-family: var(--font-serif); line-height: 1.15; }
h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
em { color: var(--terra); font-style: italic; }
.body-lg { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.85; }
.body-sm { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.7; }
.text-stone { color: var(--stone); }
.text-white { color: white; }
.divider { width: 0; height: 2.5px; background: var(--terra); border-radius: 2px; margin: 1.3rem 0; transition: width 1s var(--ease) 0.15s; }
.divider.vis { width: 44px; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
section { padding: 7rem 5%; }
section.narrow { max-width: 1200px; margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.9rem; border-radius: 50px;
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.02em;
  transition: all 0.3s var(--ease); border: none; font-family: var(--font-sans);
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-terra { background: var(--terra); color: white; box-shadow: 0 4px 20px rgba(201,98,63,0.35); }
.btn-terra:hover { background: var(--terra-d); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,98,63,0.5); }
.btn-outline { border: 1.5px solid var(--stone-l); color: var(--ink-soft); background: transparent; }
.btn-outline:hover { border-color: var(--terra); color: var(--terra); transform: translateY(-1px); }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,0.35); color: white; }
.btn-ghost-light:hover { border-color: white; background: rgba(255,255,255,0.1); }
.btn-white { background: white; color: var(--terra); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.8rem; }

/* ── CURSOR ── */
.cursor { position: fixed; width: 9px; height: 9px; background: var(--terra); border-radius: 50%; pointer-events: none; z-index: 9999; transition: transform 0.15s, opacity 0.3s; mix-blend-mode: multiply; transform: translate(-50%,-50%); }
.cursor-ring { position: fixed; width: 36px; height: 36px; border: 1.5px solid var(--terra); border-radius: 50%; pointer-events: none; z-index: 9998; transition: width 0.3s, height 0.3s, opacity 0.3s; opacity: 0.45; transform: translate(-50%,-50%); }
.cursor.grow { transform: translate(-50%,-50%) scale(2); }
.cursor-ring.grow { width: 54px; height: 54px; opacity: 0.25; }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 5%;
  transition: all 0.5s var(--ease);
}
#nav.scrolled {
  background: rgba(250,246,238,0.97);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--stone-l);
  padding: 0.9rem 5%;
}
.nav-logo { font-family: var(--font-serif); font-size: 1.5rem; font-style: italic; color: white; transition: color 0.4s; letter-spacing: -0.01em; }
#nav.scrolled .nav-logo { color: var(--terra); }
#nav.dark-init .nav-logo { color: var(--terra); }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.85); transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1.5px; background: var(--terra); transition: width 0.35s var(--ease); border-radius: 2px; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--terra); }
#nav.scrolled .nav-links a { color: var(--ink-soft); }
#nav.dark-init .nav-links a { color: var(--ink-soft); }
.nav-cta { background: var(--terra) !important; color: white !important; padding: 0.5rem 1.2rem !important; border-radius: 50px; box-shadow: 0 3px 14px rgba(201,98,63,0.3); transition: all 0.3s !important; }
.nav-cta:hover { background: var(--terra-d) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: white; transition: all 0.35s; }
#nav.scrolled .nav-burger span, #nav.dark-init .nav-burger span { background: var(--ink); }

/* ── FOOTER ── */
#footer { background: var(--ink); color: var(--stone); padding: 5rem 5% 2rem; }
.footer-top { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 2rem; }
.footer-logo { font-family: var(--font-serif); font-size: 1.8rem; color: white; font-style: italic; margin-bottom: 1rem; display: block; }
.footer-desc { font-size: 0.83rem; line-height: 1.8; color: var(--stone); margin-bottom: 1.8rem; max-width: 280px; }
.socials { display: flex; gap: 0.6rem; }
.social { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: all 0.3s; }
.social:hover { background: var(--terra); transform: translateY(-2px); }
.col-title { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.65); font-weight: 600; margin-bottom: 1.3rem; }
.col-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.col-links a { color: var(--stone); font-size: 0.85rem; transition: color 0.25s, padding-left 0.25s; }
.col-links a:hover { color: white; padding-left: 5px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 0.77rem; flex-wrap: wrap; gap: 1rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: var(--stone); transition: color 0.25s; }
.footer-bottom-links a:hover { color: white; }

/* ── BACK TO TOP ── */
#btt { position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; background: var(--terra); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; box-shadow: 0 4px 16px rgba(201,98,63,0.4); opacity: 0; pointer-events: none; transition: all 0.35s var(--ease); z-index: 400; }
#btt.show { opacity: 1; pointer-events: auto; }
#btt:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(201,98,63,0.5); }
#btt svg { width: 16px; height: 16px; stroke: white; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ── REVEAL SYSTEM ── */
.r { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.r.fl { transform: translateX(-32px); }
.r.fr { transform: translateX(32px); }
.r.fs { transform: scale(0.93); }
.r.vis { opacity: 1; transform: none; }
.r.d1 { transition-delay: 0.1s; } .r.d2 { transition-delay: 0.22s; }
.r.d3 { transition-delay: 0.34s; } .r.d4 { transition-delay: 0.46s; }
.r.d5 { transition-delay: 0.58s; }

/* ── PAGE HERO (shared) ── */
.page-hero {
  min-height: 55vh; display: flex; align-items: flex-end;
  padding: 0 5% 5rem; position: relative; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,10,5,0.85) 0%, rgba(20,10,5,0.3) 60%, rgba(20,10,5,0.2) 100%); }
.page-hero-content { position: relative; max-width: 680px; padding-top: 120px; }
.page-hero h1 { color: white; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1.05rem; line-height: 1.75; max-width: 500px; }

/* ── TRUST BAND ── */
.trust-band { background: var(--ink); padding: 1rem 5%; display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.55rem; font-size: 0.78rem; color: var(--stone); }
.trust-item strong { color: white; }
.trust-sep { width: 1px; height: 20px; background: rgba(255,255,255,0.1); }

/* ── CARDS (shared) ── */
.card { background: var(--cream); border-radius: var(--r); border: 1px solid var(--stone-l); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-img { overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 1.4rem; }
.card-title { font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 0.4rem; }
.card-text { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.6; }
.pill { display: inline-block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.28rem 0.75rem; border-radius: 50px; }
.pill-terra { background: rgba(201,98,63,0.12); color: var(--terra); }
.pill-olive { background: rgba(92,107,53,0.12); color: var(--olive); }
.pill-dark  { background: rgba(20,10,5,0.55); color: white; backdrop-filter: blur(6px); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; gap: 3.5rem; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 5rem 5%; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .trust-sep { display: none; }
  .trust-band { gap: 1.2rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
  .page-hero { min-height: 50vh; }
}
