/* ---------- Tokens ---------- */
:root {
  --ink: #1b1712;
  --ink-soft: #55503f;
  --ink-faint: #8a8271;
  --paper: #faf7f2;
  --paper-alt: #f1ebe0;
  --paper-line: #e3dac9;
  --dark: #14110d;
  --dark-alt: #201b14;
  --cream: #f6f1e7;
  --accent: #a9834e;
  --accent-dark: #8a6b3d;
  --accent-light: #d8bd8f;
  --white: #ffffff;

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 20px 45px -20px rgba(20, 17, 13, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.12; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.italic { font-style: italic; font-weight: 400; }

.arrow { display: inline-block; transition: transform 0.25s var(--ease); }

/* ---------- Progress bar ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.eyebrow-light { color: var(--accent-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-outline-light {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-ghost {
  color: var(--ink);
  border-color: var(--paper-line);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); }

.btn-small { padding: 10px 20px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: all 0.35s var(--ease);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { height: 26px; width: auto; filter: brightness(0) invert(1); transition: filter 0.35s var(--ease); }

.main-nav { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.88);
  transition: color 0.25s var(--ease);
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--accent-light);
  transition: width 0.25s var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-actions .btn-ghost { border-color: rgba(255,255,255,0.4); color: var(--white); }
.header-actions .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.site-header.scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--paper-line);
  padding: 14px 0;
}
.site-header.scrolled .brand img { filter: none; }
.site-header.scrolled .nav-link { color: var(--ink-soft); }
.site-header.scrolled .nav-link:hover { color: var(--ink); }
.site-header.scrolled .header-actions .btn-ghost { border-color: var(--paper-line); color: var(--ink); }
.site-header.scrolled .header-actions .btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); background: transparent; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 700;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,17,13,0.55) 0%, rgba(20,17,13,0.55) 40%, rgba(20,17,13,0.92) 100%),
    linear-gradient(90deg, rgba(20,17,13,0.75) 0%, rgba(20,17,13,0.25) 60%);
}
.hero-content {
  position: relative;
  padding-top: 140px;
  padding-bottom: 120px;
  max-width: 760px;
}
.hero-title {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  color: var(--white);
  margin-bottom: 26px;
}
.hero-subtitle {
  font-size: 17.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.scroll-cue {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 4px; height: 8px;
  background: var(--white);
  border-radius: 3px;
  animation: scrollCue 1.8s infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; }
}

/* ---------- Stats strip ---------- */
.stats {
  position: relative;
  margin-top: -64px;
  z-index: 5;
  padding-bottom: 40px;
}
.stats-grid {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 32px;
}
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 24px;
  border-left: 1px solid var(--paper-line);
}
.stat-card:first-child { border-left: none; padding-left: 0; }
.stat-number { font-family: var(--font-serif); font-size: 2.1rem; color: var(--ink); }
.stat-label { font-size: 13px; color: var(--ink-faint); line-height: 1.4; }

/* ---------- Section heads ---------- */
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head-light { max-width: 640px; }
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); color: var(--ink); }
.section-title-light { color: var(--white); }
.section-lead { margin-top: 18px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

section { padding: 120px 0; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-media img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}
.about-copy p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-dark);
  border-bottom: 1px solid var(--accent-light);
  padding-bottom: 3px;
}
.text-link:hover .arrow { transform: translateX(3px); }

/* ---------- Products ---------- */
.products { background: var(--paper-alt); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  position: relative;
  border: none;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/5;
  display: block;
  background: var(--ink);
}
.product-card:nth-child(4), .product-card:nth-child(5) {
  aspect-ratio: unset;
}
.product-grid { grid-auto-rows: 280px; }
.product-card:nth-child(1) { grid-row: span 2; }
.product-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover img { transform: scale(1.07); }
.product-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,13,0) 40%, rgba(20,17,13,0.85) 100%);
}
.product-card-label {
  position: absolute; left: 24px; right: 24px; bottom: 22px;
  display: flex; align-items: flex-end; justify-content: space-between;
  color: var(--white);
  text-align: left;
}
.product-card-label h3 { font-size: 1.3rem; font-weight: 500; }
.product-card-label span {
  font-size: 12.5px; font-weight: 600;
  color: var(--accent-light);
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}

/* ---------- Differentials (dark) ---------- */
.differentials { background: var(--dark); }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.diff-card {
  padding: 34px 26px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  background: var(--dark-alt);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.diff-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.diff-icon {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--accent-light);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 34px; height: 34px;
  line-height: 32px;
  text-align: center;
  margin-bottom: 22px;
}
.diff-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; }
.diff-card p { color: rgba(255,255,255,0.62); font-size: 14px; line-height: 1.6; }

/* ---------- Instagram ---------- */
.instagram-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.instagram-copy p { margin: 18px 0 30px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.instagram-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.instagram-mosaic img {
  width: 100%; height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.instagram-mosaic img:nth-child(2) { margin-top: 28px; }
.instagram-mosaic img:nth-child(3) { margin-top: -28px; }

/* ---------- Contact ---------- */
.contact { background: var(--paper-alt); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-list { list-style: none; margin: 32px 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; flex-direction: column; gap: 4px; }
.contact-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); font-weight: 600; }
.contact-list a { font-size: 15.5px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.contact-list a:hover { color: var(--accent-dark); }

.contact-map {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16/10;
  border: 1px solid var(--paper-line);
}
.contact-map-graphic { width: 100%; height: 100%; display: block; transition: transform 0.5s var(--ease); }
.contact-map:hover .contact-map-graphic { transform: scale(1.04); }
.contact-map-label {
  position: absolute;
  left: 20px; bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.contact-map:hover .contact-map-label .arrow { transform: translateX(3px); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-soft);
}
.contact-form h3 { font-size: 1.4rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea {
  font-family: var(--font-sans);
  font-size: 14.5px;
  padding: 13px 15px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.25s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-faint); text-align: center; line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); padding: 72px 0 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { height: 24px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 12.5px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.75); }
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  padding: 26px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15, 12, 9, 0.96);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease);
  padding: 40px;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-stage { max-width: 900px; width: 100%; text-align: center; }
.lightbox-stage img {
  max-height: 74vh;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.lightbox-caption { color: rgba(255,255,255,0.85); margin-top: 18px; font-size: 14px; }
.lightbox-count { display: block; color: var(--accent-light); font-size: 12px; margin-top: 6px; letter-spacing: 0.08em; }
.lightbox-close {
  position: absolute; top: 28px; right: 32px;
  background: none; border: none;
  color: var(--white); font-size: 34px;
  cursor: pointer; line-height: 1;
  opacity: 0.75;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s var(--ease);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.18); }
.lightbox { flex-direction: row; gap: 24px; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  z-index: 400;
  transition: transform 0.25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .instagram-inner, .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat-card:nth-child(3) { border-left: none; padding-left: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .product-card:nth-child(1) { grid-row: span 2; }
  section { padding: 90px 0; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-small { display: none; }
  .hero-content { padding-top: 120px; padding-bottom: 90px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .diff-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .product-card:nth-child(1) { grid-row: span 1; }
  .instagram-mosaic img:nth-child(2), .instagram-mosaic img:nth-child(3) { margin-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 30px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .lightbox { padding: 20px; flex-direction: column; }
  .lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-close { top: 16px; right: 16px; }
}

/* ---------- Mobile nav drawer ---------- */
@media (max-width: 760px) {
  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--dark);
    padding: 100px 36px 40px;
    gap: 26px;
    z-index: 600;
    box-shadow: -20px 0 50px rgba(0,0,0,0.3);
  }
  .main-nav.open .nav-link { color: var(--white); font-size: 16px; text-align: left; }
  .nav-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 590;
  }
  .nav-backdrop.open { display: block; }
}
.nav-toggle.open span { background: #fff; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
