/* ===== Tokens ===== */
:root {
  --cream: #f7f3ec;
  --ink: #1d1a16;
  --gold: #a9742f;
  --gold-hover: #8a5c22;
  --gold-light: #d4a95c;
  --gold-mid: #c08a3e;
  --green: #1e3a26;
  --green-hover: #2c5236;
  --green-deep: #16301e;
  --green-deepest: #102416;
  --border: #e3dbcc;
  --muted: #5c5346;
  --muted2: #6b6154;
  --muted3: #3d372e;
  --cream-soft: #cfc8b8;
  --cream-soft2: #b7ae9c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
::selection { background: #e8d9bd; }

.c-gold { color: var(--gold); }
.c-green { color: var(--green); }
.c-gold-light { color: var(--gold-light); }
.c-cream { color: var(--cream); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,243,236,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { display: inline-flex; width: 44px; height: 44px; }
.brand-mark svg, .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.drawer-brand img { object-fit: contain; }
.brand-name { font-family: 'Marcellus', serif; font-size: 20px; letter-spacing: 0.06em; line-height: 1; }

.ta-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--muted3); transition: color .15s; }
.nav-link:hover { color: var(--gold); }

/* Sliding-pill language switch. Two-state segmented control: a thumb slides
   under the active option instead of hard-swapping a background color. */
.lang-switch {
  position: relative; display: inline-flex; align-items: center;
  background: rgba(30,58,38,0.07); border-radius: 999px; padding: 3px;
  isolation: isolate;
}
.lang-switch-thumb {
  position: absolute; top: 3px; left: 3px; width: calc(50% - 3px); height: calc(100% - 6px);
  background: var(--green); border-radius: 999px; z-index: 0;
  transition: transform .3s cubic-bezier(.65,0,.35,1);
}
.lang-switch--pt .lang-switch-thumb { transform: translateX(100%); }
.lang-opt {
  position: relative; z-index: 1; min-width: 34px; padding: 6px 13px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; text-align: center;
  color: var(--muted2); border-radius: 999px; transition: color .3s;
}
.lang-opt--active { color: var(--cream); }
.lang-switch:not(.lang-switch--dark) .lang-opt:not(.lang-opt--active):hover { color: var(--gold); }

.lang-switch--dark { background: rgba(242,237,226,0.1); }
.lang-switch--dark .lang-switch-thumb { background: var(--gold-light); }
.lang-switch--dark .lang-opt { color: var(--cream-soft); }
.lang-switch--dark .lang-opt--active { color: var(--green-deepest); }
.lang-switch--dark .lang-opt:not(.lang-opt--active):hover { color: var(--gold-light); }

.btn-cta-header {
  background: var(--green); color: var(--cream); padding: 10px 20px; font-size: 14px;
  font-weight: 600; letter-spacing: 0.04em; transition: background .2s;
}
.btn-cta-header:hover { background: var(--green-hover); color: #fff; }

.burger-btn {
  display: none; align-items: center; justify-content: center; width: 42px; height: 42px;
  border: 1px solid #d5cbb8; background: transparent; cursor: pointer; color: var(--green);
  transition: border-color .15s, color .15s;
}
.burger-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ===== Mobile drawer ===== */
.drawer-overlay {
  display: none; position: fixed; inset: 0; background: rgba(16,36,22,0.55); z-index: 90;
  animation: ta-fade-in .2s ease-out;
}
.drawer-overlay.open { display: block; }
.drawer {
  display: none; position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw);
  background: var(--green-deepest); color: #f2ede2; z-index: 100; flex-direction: column;
  padding: 24px; box-sizing: border-box; animation: ta-slide-in .25s ease-out; overflow-y: auto;
}
.drawer.open { display: flex; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.drawer-brand { display: inline-flex; align-items: center; gap: 9px; font-family: 'Marcellus', serif; font-size: 18px; letter-spacing: 0.06em; }
.drawer-close {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border: 1px solid rgba(212,169,92,0.4); background: transparent; cursor: pointer; color: var(--gold-light);
  transition: border-color .15s, background .15s;
}
.drawer-close:hover { border-color: var(--gold-light); background: rgba(212,169,92,0.1); }
.drawer-nav { display: flex; flex-direction: column; border-top: 1px solid rgba(212,169,92,0.2); }
.mnav-link {
  padding: 15px 4px; font-size: 16px; font-weight: 500; color: #f2ede2;
  border-bottom: 1px solid rgba(212,169,92,0.2); transition: color .15s;
}
.mnav-link:hover { color: var(--gold-light); }
.drawer-lang { margin: 22px 0; align-self: flex-start; }
.drawer-actions { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.drawer-meta { font-size: 12.5px; color: var(--cream-soft2); margin-top: 6px; }

/* ===== Buttons ===== */
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold-mid), var(--gold-light)); color: var(--green-deep);
  padding: 15px 28px; font-size: 16px; font-weight: 700; letter-spacing: 0.02em;
  transition: transform .15s, box-shadow .2s; box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.4); color: var(--green-deep); }
.drawer-actions .btn-whatsapp { padding: 14px 20px; font-size: 15px; box-shadow: none; }

.btn-mail-outline {
  display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid rgba(242,237,226,0.4);
  color: #f2ede2; padding: 13px 20px; font-size: 15px; font-weight: 600; transition: border-color .15s, color .15s;
}
.btn-mail-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-mail-hero {
  border-color: rgba(242,237,226,0.4); color: #f2ede2; padding: 15px 28px; font-size: 16px;
  transition: border-color .2s, background .2s, color .2s;
}
.btn-mail-hero:hover { border-color: var(--gold-light); color: var(--gold-light); background: rgba(212,169,92,0.06); }

.btn-dark-arrow {
  display: inline-flex; align-items: center; gap: 10px; background: var(--green); color: var(--cream);
  padding: 14px 26px; font-size: 15px; font-weight: 600; transition: background .2s;
}
.btn-dark-arrow:hover { background: var(--green-hover); color: #fff; }

.btn-contact-dark {
  display: inline-flex; align-items: center; gap: 12px; background: var(--green-deep); color: #f2ede2;
  padding: 16px 30px; font-size: 16px; font-weight: 700; transition: background .2s;
}
.btn-contact-dark:hover { background: #234329; color: #fff; }
.btn-contact-outline {
  display: inline-flex; align-items: center; gap: 12px; border: 2px solid var(--green-deep); color: var(--green-deep);
  padding: 14px 30px; font-size: 16px; font-weight: 700; transition: background .2s;
}
.btn-contact-outline:hover { background: rgba(22,48,30,0.08); }

/* ===== Hero ===== */
.hero {
  color: #f2ede2;
  background:
    linear-gradient(90deg, rgba(18,40,25,0.96) 0%, rgba(18,40,25,0.82) 42%, rgba(18,40,25,0.35) 72%, rgba(18,40,25,0.12) 100%),
    #16301e url('../uploads/hero_image.png') center right / cover no-repeat;
}
.hero-inner {
  max-width: 1160px; margin: 0 auto; padding: clamp(44px, 6vw, 72px) 24px clamp(40px, 5.5vw, 64px);
  display: flex; align-items: center; min-height: clamp(340px, 38vw, 440px); box-sizing: border-box;
}
.hero-copy { max-width: 640px; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(212,169,92,0.45);
  padding: 6px 13px; margin-bottom: 18px;
}
.eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); }
.eyebrow-pill span:last-child { font-size: 12px; letter-spacing: 0.24em; color: var(--gold-light); font-weight: 600; }
.h1 { font-family: 'Marcellus', serif; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.12; margin: 0 0 16px; font-weight: 400; }
.lede { font-size: clamp(15.5px, 1.4vw, 17.5px); line-height: 1.6; color: var(--cream-soft); margin: 0 0 26px; max-width: 52ch; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.trust-row { display: flex; gap: 26px; flex-wrap: wrap; font-size: 13.5px; color: var(--cream-soft2); }
.trust-item { display: flex; align-items: center; gap: 7px; }

/* ===== Marquee ===== */
.marquee-wrap { background: var(--green-deepest); color: var(--cream-soft); overflow: hidden; }
.marquee-track {
  display: flex; width: max-content; animation: ta-marquee 28s linear infinite;
  padding: 16px 0; font-size: 13px; letter-spacing: 0.16em; font-weight: 600; white-space: nowrap;
}
.marquee-set { display: flex; gap: 56px; padding-right: 56px; }

/* ===== Atouts / scrolly ===== */
.atouts-section { position: relative; overflow: clip; }
.scrolly-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s ease;
}
.section-inner { position: relative; max-width: 1160px; margin: 0 auto; padding: clamp(64px, 8vw, 100px) 24px; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.eyebrow { font-size: 12px; letter-spacing: 0.26em; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.eyebrow--light { color: var(--gold-light); }
.h2 { font-family: 'Marcellus', serif; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; margin: 0 0 16px; color: var(--green); font-weight: 400; }
.h2--tight { margin: 0; }
.h2--light { color: #fff; }
.h2--contact { color: var(--green-deep); margin: 0 0 16px; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; }
.section-desc { font-size: 16.5px; line-height: 1.65; color: var(--muted); margin: 0; }

.scrolly { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.scrolly-visual { position: sticky; top: 96px; height: min(480px, 68vh); }
.scrolly-layer { position: absolute; inset: 0; opacity: 0; transform: scale(.96); pointer-events: none; transition: opacity .55s ease, transform .55s ease; }
.scrolly-layer:first-child { opacity: 1; transform: scale(1); pointer-events: auto; }
.photo-slot { width: 100%; height: 100%; background-size: cover; background-position: center; background-color: #dcd3bf; }
.photo-slot--icon { display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #1e3a26, #12241a); }
.photo-slot--grid { height: 260px; }
.photo-slot--grid2 { margin-top: 34px; }
.photo-slot--grid { background: linear-gradient(145deg, #efe6d3, #e1d5b8); }
.layer-tag { position: absolute; left: 0; bottom: 0; background: rgba(16,36,22,0.88); color: #f2ede2; padding: 10px 18px; font-size: 12px; letter-spacing: 0.2em; font-weight: 700; }

.scrolly-steps { display: flex; flex-direction: column; }
.step { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; padding: 28px 0; border-top: 1px solid var(--border); opacity: .35; transition: opacity .45s ease; }
.step:first-child { opacity: 1; }
.step-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.step-num { font-family: 'Marcellus', serif; font-size: 38px; color: var(--gold-light); line-height: 1; }
.step-icon { width: 44px; height: 44px; background: #eef2ec; display: flex; align-items: center; justify-content: center; }
.step-title { font-size: 21px; font-weight: 700; margin: 0 0 10px; color: var(--ink); }
.step-desc { font-size: 15.5px; line-height: 1.65; color: var(--muted); margin: 0; }

/* ===== Café ===== */
.cafe-section { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cafe-inner { max-width: 1160px; margin: 0 auto; padding: clamp(64px, 8vw, 100px) 24px; display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.cafe-imggrid { flex: 1 1 380px; min-width: 300px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cafe-copy { flex: 1 1 420px; min-width: 300px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: var(--muted3); }
.feature-list .dash { color: var(--gold); font-weight: 800; flex-shrink: 0; }

/* ===== Steps mini ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.mini-step { border-left: 3px solid var(--gold-light); padding: 6px 0 6px 24px; }
.mini-step-num { font-family: 'Marcellus', serif; font-size: 40px; color: var(--gold-light); line-height: 1; }
.mini-step-title { font-size: 18px; font-weight: 700; margin: 14px 0 8px; }
.mini-step-desc { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ===== Testimonials ===== */
.testi-section { background: var(--green); color: #f2ede2; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.testi-card { background: rgba(247,243,236,0.06); border: 1px solid rgba(212,169,92,0.3); padding: 30px 28px; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.stars { color: var(--gold-light); letter-spacing: 3px; font-size: 15px; }
.testi-card blockquote { margin: 0; font-size: 15.5px; line-height: 1.65; color: #e5dfd2; }
.testi-card figcaption { font-size: 13.5px; color: var(--cream-soft2); }
.testi-card figcaption strong { color: #f2ede2; }

/* ===== Contact ===== */
.contact-section {
  color: var(--green-deep);
  background: #c99a4a url('../uploads/cta_image.png') center right / cover no-repeat;
}
.contact-inner { max-width: 1160px; margin: 0 auto; padding: clamp(64px, 8vw, 96px) 24px; display: flex; gap: 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.contact-copy { flex: 1 1 420px; min-width: 300px; }
.contact-desc { font-size: 17px; line-height: 1.6; margin: 0; color: #3d2f14; }
.contact-btns { display: flex; flex-direction: column; gap: 14px; flex: 0 1 auto; }

/* ===== Footer ===== */
.site-footer { background: var(--green-deepest); color: var(--cream-soft2); }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 48px 24px 36px; display: flex; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-logo { font-family: 'Marcellus', serif; font-size: 22px; letter-spacing: 0.06em; margin-bottom: 8px; }
.footer-tag { font-size: 11px; letter-spacing: 0.24em; margin-bottom: 16px; }
.footer-desc { font-size: 14px; line-height: 1.6; margin: 0; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.footer-label { font-size: 12px; letter-spacing: 0.22em; color: var(--gold-light); font-weight: 700; margin-bottom: 4px; }
.footer-line { display: flex; align-items: center; gap: 10px; }
.footer-founder { color: #f2ede2; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(212,169,92,0.2); }
.footer-bottom-inner { max-width: 1160px; margin: 0 auto; padding: 18px 24px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ===== Keyframes ===== */
@keyframes ta-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ta-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes ta-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ===== Responsive ===== */
@media (max-width: 760px) {
  .nav-links, .nav-lang, .nav-cta { display: none !important; }
  .burger-btn { display: inline-flex !important; }
  .brand-mark { width: 38px !important; height: 38px !important; }
  .brand-name { font-size: 17px !important; }

  .hero { background: linear-gradient(180deg, rgba(18,40,25,0.93), rgba(18,40,25,0.86)), #16301e url('../uploads/hero_image.png') center / cover no-repeat !important; }
  .hero-btns a { width: 100%; box-sizing: border-box; }

  .contact-section { background: linear-gradient(180deg, rgba(201,154,74,0.9), rgba(201,154,74,0.84)), url('../uploads/cta_image.png') center / cover no-repeat !important; }

  .cafe-imggrid .photo-slot { height: 190px !important; margin-top: 0 !important; }

  .scrolly { grid-template-columns: 1fr !important; }
  .scrolly-visual { position: sticky; top: 74px !important; height: 235px !important; z-index: 5; }
  .step { min-height: 320px !important; }
}
