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

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #f8f6f2;
  --surface:   #ffffff;
  --ink:       #1a1814;
  --ink-soft:  #6b6760;
  --accent:    #c8a96e;
  --accent-dk: #a8893e;
  --line:      #e8e4de;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'DM Sans', sans-serif;
  --radius:    2px;
  --max:       1160px;
  --ease:      cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.01em;
}

p { color: var(--ink-soft); line-height: 1.75; }

a { color: inherit; text-decoration: none; }

/* ── Layout ── */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 40px; }

section { padding: 100px 0; }

/* ── Navigation ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px 40px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}

nav.scrolled {
  background: rgba(248,246,242,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex; gap: 40px; list-style: none;
}

.nav-links a {
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0; height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background .25s, color .25s;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }

/* ── Hamburger ── */
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile menu ── */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  flex-direction: column; align-items: center; justify-content: center; gap: 36px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif); font-size: 2.2rem; font-weight: 300;
  color: var(--ink); letter-spacing: .02em;
}
.mobile-menu a:hover { color: var(--accent); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: .78rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer; transition: .25s var(--ease);
  border: none;
}

.btn-dark {
  background: var(--ink); color: var(--bg);
}
.btn-dark:hover { background: #2e2b26; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(26,24,20,.18); }

.btn-outline {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }

.btn-accent {
  background: var(--accent); color: var(--surface);
}
.btn-accent:hover { background: var(--accent-dk); transform: translateY(-1px); }

/* ── Divider ── */
.divider { width: 40px; height: 1px; background: var(--accent); margin: 20px 0; }
.divider-center { margin: 20px auto; }

/* ── Tag / badge ── */
.tag {
  display: inline-block;
  font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent);
  padding: 4px 12px; border-radius: 20px; margin-bottom: 16px;
}

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  transition: box-shadow .3s, transform .3s;
}
.card:hover { box-shadow: 0 12px 40px rgba(26,24,20,.08); transform: translateY(-4px); }

/* ── Stats strip ── */
.stats-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.stat-item {
  padding: 36px 28px; text-align: center;
  border-right: 1px solid var(--line);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif); font-size: 3rem; font-weight: 300;
  color: var(--ink); line-height: 1;
}
.stat-num span { color: var(--accent); }
.stat-label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }

/* ── Section title ── */
.section-title { font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); }
.section-sub { font-size: 1rem; color: var(--ink-soft); margin-top: 12px; max-width: 520px; }

/* ── Footer ── */
footer {
  background: var(--ink);
  color: rgba(248,246,242,.55);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 600;
  color: var(--bg); letter-spacing: .04em; margin-bottom: 14px;
}
.footer-logo span { color: var(--accent); }
footer p { color: rgba(248,246,242,.5); font-size: .88rem; }
.footer-col h4 {
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(248,246,242,.35); margin-bottom: 18px;
}
.footer-col a {
  display: block; font-size: .88rem; color: rgba(248,246,242,.6);
  margin-bottom: 10px; transition: color .2s;
}
.footer-col a:hover { color: var(--bg); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; font-size: .78rem;
  color: rgba(248,246,242,.3);
}

/* ── WhatsApp Float Button ── */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45), 0 2px 8px rgba(0,0,0,.15);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  animation: wpp-entrance .6s var(--ease) both;
  animation-delay: 1.2s;
}

@keyframes wpp-entrance {
  from { opacity: 0; transform: scale(.5) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.55), 0 4px 12px rgba(0,0,0,.18);
}

/* pulse ring */
.whatsapp-float::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.4);
  animation: wpp-pulse 2.5s ease-out infinite;
}

@keyframes wpp-pulse {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .2s, transform .2s;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -5px; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right: none;
  border-left-color: var(--ink);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 600px) {
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .whatsapp-tooltip { display: none; }
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 160px 0 80px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  section { padding: 72px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--line); }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  nav { padding: 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
