/* ===== Design tokens ===== */
:root {
  --brown: #3B2314;
  --gold: #C9A96E;
  --rose: #C49474;
  --cream: #FAF7F2;
  --cream-soft: #F3ECE2;
  --white: #FFFFFF;

  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1120px;
  --radius: 2px;
  --shadow-soft: 0 30px 60px -32px rgba(59, 35, 20, 0.18);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--brown);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--brown);
}

p { margin: 0 0 16px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.btn-primary {
  background: var(--brown);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--brown);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(59, 35, 20, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--brown);
  border-color: rgba(59, 35, 20, 0.35);
}
.btn-ghost:hover {
  border-color: var(--brown);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: transparent;
  color: var(--brown);
  border-color: rgba(59, 35, 20, 0.25);
  padding: 10px 22px;
  font-size: 0.75rem;
}
.btn-whatsapp:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-large {
  padding: 19px 44px;
  font-size: 0.85rem;
  margin-top: 8px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 35, 20, 0.07);
  transition: padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -20px rgba(59, 35, 20, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  gap: 24px;
  transition: padding 0.4s var(--ease);
}

.site-header.is-scrolled .header-inner {
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-header.is-scrolled .logo-img {
  height: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: height 0.4s var(--ease);
}

.logo-img-footer {
  height: 56px;
}

.nav {
  display: flex;
  gap: 40px;
  margin: 0 auto;
}

.nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown);
  position: relative;
  padding-bottom: 6px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-header { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
}

/* ===== Entrance & reveal animations ===== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-inner > * {
  opacity: 0;
  animation: fade-up 1s var(--ease) forwards;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.18s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.32s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.46s; }

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

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 160px 0 130px;
  overflow: hidden;
  text-align: center;
}

.hero-blob {
  position: absolute;
  top: -120px;
  right: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--rose) 0%, var(--gold) 45%, transparent 70%);
  opacity: 0.25;
  filter: blur(10px);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow, .section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rose);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}

.hero-lead {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(59, 35, 20, 0.8);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ===== Sections ===== */
.section {
  padding: 140px 0;
}

.section-alt {
  background: var(--cream-soft);
}

.section .container {
  max-width: 860px;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
}

.section-lead {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(59, 35, 20, 0.75);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

/* ===== Pillars ===== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 64px;
  text-align: left;
  background: rgba(59, 35, 20, 0.1);
  border: 1px solid rgba(59, 35, 20, 0.1);
}

.pillar {
  padding: 40px 32px;
  background: var(--white);
  transition: background 0.4s ease;
}
.pillar:hover {
  background: var(--cream-soft);
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--gold);
}

.pillar h3 {
  margin-top: 14px;
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 400;
}

.pillar p {
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(59, 35, 20, 0.7);
  margin: 0;
  line-height: 1.65;
}

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 64px;
  text-align: left;
  background: rgba(59, 35, 20, 0.1);
  border: 1px solid rgba(59, 35, 20, 0.1);
}

.service-item {
  padding: 44px 40px;
  background: var(--white);
  transition: background 0.4s ease, transform 0.4s var(--ease);
}
.service-item:hover {
  background: var(--cream-soft);
}

.service-icon {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gold);
}

.service-item h3 {
  margin-top: 12px;
  margin-bottom: 10px;
  font-size: 1.35rem;
  font-weight: 400;
}

.service-item p {
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(59, 35, 20, 0.7);
  margin: 0;
  line-height: 1.65;
}

/* ===== Contact ===== */
.cta-section {
  background: var(--brown);
  color: var(--cream);
}
.cta-section .section-title,
.cta-section .section-lead {
  color: var(--cream);
}
.cta-section .section-eyebrow {
  color: var(--gold);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 56px 0;
  background: rgba(250, 247, 242, 0.15);
  border: 1px solid rgba(250, 247, 242, 0.15);
}

.contact-card {
  padding: 32px 24px;
  background: var(--brown);
  transition: background 0.4s ease;
}
.contact-card:hover {
  background: rgba(250, 247, 242, 0.06);
}

.contact-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 10px;
}

.contact-value {
  display: block;
  font-size: 1rem;
  font-weight: 300;
}

.cta-inner .btn-primary {
  background: var(--gold);
  color: var(--brown);
}
.cta-inner .btn-primary:hover {
  background: var(--cream);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--cream-soft);
  padding: 48px 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-tag {
  font-size: 0.9rem;
  color: rgba(59, 35, 20, 0.7);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(59, 35, 20, 0.55);
  margin: 8px 0 0;
}

/* ===== WhatsApp floating button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.35);
  z-index: 60;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    gap: 20px;
    border-bottom: 1px solid rgba(59, 35, 20, 0.08);
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
  }
  .nav-toggle { display: flex; }
  .btn-header { display: none; }
  .hero { padding: 100px 0 72px; }
  .section { padding: 72px 0; }
}
