@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --dark:   #1A1714;
  --dark2:  #2A2520;
  --gold:   #C9A962;
  --gold2:  #8B7355;
  --cream:  #F5F1EB;
  --taupe:  #A89880;
  --brown:  #5C4A3D;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--dark);
  color: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── HAIR CANVAS ─────────────────────────────── */
#hairCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── NAVBAR ──────────────────────────────────── */
nav#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 96px;
  background: rgba(245,241,235,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(139,115,85,0.14);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease;
}

nav#navbar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img { height: 72px; width: auto; }

.nav-logo-text .main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 500;
  color: var(--brown); letter-spacing: 0.06em;
  line-height: 1; display: block;
}

.nav-logo-text .sub {
  font-size: 0.57rem; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold2);
  display: block; margin-top: 3px;
}

.nav-links {
  display: flex; align-items: center;
  gap: 20px; list-style: none;
}

.nav-links a {
  font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brown);
  text-decoration: none; position: relative;
  white-space: nowrap; transition: color 0.2s;
}

.nav-links a::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s;
}

.nav-links a:hover, .nav-links a.active { color: var(--gold2); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--brown) !important;
  color: var(--cream) !important;
  padding: 8px 18px; border-radius: 100px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold2) !important; }
.nav-cta::after { display: none !important; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px; flex-shrink: 0;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--brown); transition: all 0.3s;
}

.nav-mobile {
  display: none; position: fixed;
  top: 96px; left: 0; right: 0;
  background: rgba(245,241,235,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139,115,85,0.15);
  padding: 24px 40px; z-index: 99;
  flex-direction: column; gap: 4px;
}
.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 0.8rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brown);
  text-decoration: none; padding: 12px 0;
  border-bottom: 1px solid rgba(139,115,85,0.08);
  transition: color 0.2s;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--gold2); }
.nav-mobile .mob-cta {
  background: var(--brown); color: var(--cream);
  padding: 12px 20px; border-radius: 100px;
  text-align: center; margin-top: 8px; border: none;
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  position: relative; z-index: 10;
  background: var(--dark);
  border-top: 1px solid rgba(139,115,85,0.18);
  padding: 64px 72px 40px;
}

@media (max-width: 768px) { footer { padding: 48px 28px 32px; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

.footer-brand img { height: 36px; width: auto; margin-bottom: 12px; }
.footer-brand h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 500;
  color: var(--cream); margin-bottom: 6px;
}
.footer-brand p { font-size: 0.84rem; color: var(--taupe); line-height: 1.7; }

.footer-nav h4, .footer-contact h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem; font-weight: 500;
  color: var(--cream); margin-bottom: 14px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.footer-nav a {
  display: block; font-size: 0.83rem;
  color: var(--taupe); text-decoration: none;
  margin-bottom: 9px; transition: color 0.2s;
}
.footer-nav a:hover { color: var(--cream); }

.footer-contact p, .footer-contact a {
  font-size: 0.83rem; color: var(--taupe);
  text-decoration: none; display: block;
  margin-bottom: 8px; line-height: 1.6;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(139,115,85,0.12);
  padding-top: 24px; text-align: center;
  font-size: 0.78rem; color: rgba(168,152,128,0.5);
}

/* ── UTILITY ─────────────────────────────────── */
.section-label {
  font-size: 0.68rem; letter-spacing: 0.38em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px; display: block;
}

.gold-divider {
  width: 44px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 24px 0;
}

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

/* ── BUTTONS ──────────────────────────────────── */
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  padding: 13px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-1px); }

.btn-outline {
  border: 1px solid rgba(201,169,98,0.4);
  color: var(--taupe);
  padding: 13px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--cream); }

/* ══════════════════════════════════════════════════
   MOBILE RESPONSIVENESS – global
   ══════════════════════════════════════════════════ */

/* Navbar: smaller logo on phones */
@media (max-width: 480px) {
  .nav-logo img { height: 54px; }
  nav#navbar { height: 78px; }
  .nav-mobile { top: 78px; }
  .nav-inner { padding: 0 20px; }
}

/* Footer: single column on mobile */
@media (max-width: 520px) {
  footer { padding: 40px 20px 28px; }
  .footer-grid { gap: 24px; }
}

/* Touch targets: minimum 44px for all buttons and links */
@media (max-width: 768px) {
  .btn-primary, .btn-outline, .btn-back, .btn-whatsapp {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .chip { min-height: 44px; display: inline-flex; align-items: center; }
  .nav-mobile a { min-height: 48px; display: flex; align-items: center; }
}

/* Prevent horizontal overflow on small screens */
*, *::before, *::after { max-width: 100%; }
img { max-width: 100%; height: auto; }
canvas { max-width: none !important; }

/* Fluid type scaling floor on very small screens */
@media (max-width: 380px) {
  .hero h1 { font-size: 2.6rem; }
  .section-label { letter-spacing: 0.22em; }
}
