@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Lato:wght@400;500;600&display=swap');

:root {
  --cream: #F5EDE0;
  --paper: #FBF4E7;
  --ink: #2C2820;
  --ink-soft: #5C5648;
  --olive: #414B36;
  --olive-deep: #1E2416;
  --gold: #AD8438;
  --gold-soft: #E0C284;
  --maroon: #6B1F2A;
  --stone: #D9C9A3;
  --white: #FFFFFF;

  --font-display: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;

  --max-width: 1180px;
  --gutter: clamp(24px, 5vw, 64px);
  --shadow-card: 0 10px 30px rgba(30, 27, 20, 0.09);
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--olive); text-decoration: none; }
a:hover { color: var(--gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--olive-deep);
}

h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }

.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 28px;
}
.divider::before, .divider::after {
  content: '';
  height: 1px;
  width: 40px;
  background: var(--gold);
}
.divider .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .divider { justify-content: center; }

p { margin: 0 0 1em; max-width: 62ch; color: var(--ink-soft); }

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

.hairline { border: none; border-top: 1px solid var(--stone); margin: 0; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--stone);
  background: var(--cream);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; padding-bottom: 20px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--olive-deep);
  line-height: 1.1;
}
.logo .sub { display: block; font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--gold); margin-top: 2px; }
.logo:hover { color: var(--olive-deep); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { color: var(--ink-soft); font-size: 0.96rem; }
.main-nav a.current, .main-nav a:hover { color: var(--olive-deep); }

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.94rem;
}
.nav-cta:hover { background: var(--olive); color: var(--white) !important; }

.nav-toggle {
  display: none; background: none; border: none;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--olive-deep); cursor: pointer;
}

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero .container {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 72px); align-items: center;
}
.hero-eyebrow { color: var(--gold); font-size: 0.98rem; margin-bottom: 10px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.hero p.lede { font-size: 1.12rem; max-width: 46ch; }
.hero-actions { margin-top: 26px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.98rem;
  border: 1px solid var(--gold);
}
.btn:hover { background: var(--olive); border-color: var(--olive); color: var(--white); }

.btn-outline { background: transparent; color: var(--white); border: 1px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--olive-deep); }

.link-arrow { color: var(--ink-soft); font-size: 0.98rem; }
.link-arrow:hover { color: var(--gold); }

/* Hero photo */
.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .caption { position: absolute; bottom: -32px; left: 0; font-size: 0.85rem; color: var(--ink-soft); }

/* Moodblock visual standing in for a photo (fallback placeholder) */
.moodblock {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: 6px;
  overflow: hidden;
}
.moodblock .layer { position: absolute; }
.moodblock .l1 { top: 8%; left: 8%; width: 58%; height: 48%; background: var(--olive); border-radius: 4px; }
.moodblock .l2 { bottom: 8%; left: 24%; width: 58%; height: 28%; background: var(--gold); opacity: 0.88; border-radius: 4px; }
.moodblock .l3 { top: 6%; right: 6%; width: 26%; height: 62%; background: var(--gold-soft); border-radius: 4px; }
.moodblock .caption { position: absolute; bottom: -32px; left: 0; font-size: 0.85rem; color: var(--ink-soft); }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 52px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 44px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 48px); }

/* Service cards with badge, matching reference */
.service-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.service-card .art {
  aspect-ratio: 5 / 4;
  background: linear-gradient(135deg, var(--olive-deep) 0%, var(--olive) 55%, var(--gold) 130%);
  position: relative;
  overflow: hidden;
}
.service-card .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card .art .layer { position: absolute; opacity: 0.85; }
.service-card .art .a1 { top: 10%; left: 8%; width: 50%; height: 40%; background: rgba(255,255,255,0.08); }
.service-card .art .a2 { bottom: 8%; right: 10%; width: 46%; height: 42%; background: rgba(255,255,255,0.12); }
.service-card .badge {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--olive);
  border: 3px solid var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  margin: -31px auto 0;
  position: relative;
  z-index: 2;
}
.service-card .badge svg { width: 26px; height: 26px; fill: var(--white); }
.service-card .body { padding: 20px 24px 28px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.96rem; margin: 0 auto; }
.service-card .price { margin-top: 14px; font-size: 0.92rem; color: var(--gold); font-weight: 600; }

/* Process list */
.process { counter-reset: step; border-top: 1px solid var(--stone); }
.process-step {
  counter-increment: step;
  display: grid; grid-template-columns: 70px 1fr;
  gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--stone);
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
}
.process-step h3 { margin-bottom: 6px; }

/* Portfolio grid */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tile {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.tile .swatch {
  aspect-ratio: 5 / 4;
  position: relative; overflow: hidden;
}
.tile .swatch span { position: absolute; inset: 0; }
.tile .swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .tile-body { padding: 18px 20px 22px; }
.tile h3 { margin-bottom: 4px; font-size: 1.05rem; }
.tile .meta { font-size: 0.86rem; color: var(--gold); margin-bottom: 8px; font-weight: 600; }
.tile p { font-size: 0.94rem; margin-bottom: 0; }

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  border: 1px solid var(--stone);
  background: transparent; color: var(--ink-soft);
  padding: 8px 18px; border-radius: 999px;
  font-family: var(--font-body); font-size: 0.9rem; cursor: pointer;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--gold); color: var(--olive-deep); }

/* Testimonial */
.testimonial { border-left: 2px solid var(--maroon); padding-left: 28px; max-width: 640px; }
.testimonial p.quote { font-family: var(--font-display); font-size: 1.3rem; color: var(--olive-deep); line-height: 1.4; }
.testimonial .attr { font-size: 0.92rem; color: var(--ink-soft); }

/* CTA banner */
.cta-banner { background: var(--olive-deep); color: var(--white); padding: clamp(48px, 7vw, 80px) 0; text-align: center; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: var(--stone); margin: 0 auto 28px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--stone); background: var(--white);
  border-radius: 6px;
  font-family: var(--font-body); font-size: 0.98rem; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 120px; }
.info-block { margin-bottom: 26px; }
.info-block h3 { margin-bottom: 6px; font-size: 1.05rem; }
.info-block p { margin-bottom: 0; }
.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--olive); color: var(--white) !important;
  padding: 11px 20px; border-radius: 999px; font-size: 0.94rem;
}
.whatsapp-btn:hover { background: var(--gold); }

.stats-line { display: flex; gap: clamp(24px, 5vw, 56px); flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--stone); }
.stat b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--olive-deep); }
.stat span { font-size: 0.9rem; color: var(--ink-soft); }

.about-hero { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.portrait { aspect-ratio: 3 / 4; background: var(--paper); border: 1px solid var(--stone); border-radius: 8px; position: relative; overflow: hidden; box-shadow: var(--shadow-card); }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait .layer { position: absolute; }
.portrait .p1 { top: 10%; left: 12%; width: 52%; height: 55%; background: var(--gold-soft); border-radius: 4px; }
.portrait .p2 { bottom: 8%; right: 8%; width: 46%; height: 36%; background: var(--olive); border-radius: 4px; }

.site-footer { border-top: 1px solid var(--stone); padding: 48px 0 32px; background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h3 { font-size: 1rem; margin-bottom: 12px; color: var(--olive-deep); }
.footer-grid p, .footer-grid a { font-size: 0.94rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--ink-soft); flex-wrap: wrap; gap: 12px; }

/* Booking modal */
.book-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(30, 27, 20, 0.6);
  display: none; align-items: center; justify-content: center;
  z-index: 300; padding: 20px;
}
.book-modal-overlay.open { display: flex; }
.book-modal {
  background: var(--white);
  border-radius: 14px;
  padding: 28px 26px 24px;
  max-width: 300px; width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(20, 18, 12, 0.28);
  position: relative;
}
.book-modal h3 { margin-bottom: 6px; font-size: 1.15rem; }
.book-modal p { margin: 0 auto 18px; font-size: 0.9rem; max-width: 28ch; }
.book-modal .modal-actions { display: flex; flex-direction: column; gap: 10px; }
.modal-btn {
  display: flex; align-items: center; justify-content: center;
  padding: 11px 20px; border-radius: 999px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
}
.modal-btn.whatsapp { background: #2FA84F; color: var(--white) !important; }
.modal-btn.whatsapp:hover { background: #248A3E; color: var(--white) !important; }
.modal-btn.call { background: var(--gold); color: var(--white) !important; }
.modal-btn.call:hover { background: var(--olive); color: var(--white) !important; }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; font-size: 1.5rem; line-height: 1;
  color: var(--ink-soft); cursor: pointer; padding: 4px;
}
.modal-close:hover { color: var(--ink); }

/* Process pipeline (About page) */
.pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 0;
  margin-top: 12px;
}
.pipeline-step {
  flex: 1 1 180px;
  text-align: center;
  padding: 0 18px;
  position: relative;
}
.pipeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 27px;
  right: -6%;
  width: 12%;
  height: 2px;
  background: var(--stone);
}
.pipeline-node {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.15rem;
  margin: 0 auto 18px;
  border: 3px solid var(--gold-soft);
  position: relative; z-index: 2;
  box-shadow: var(--shadow-card);
}
.pipeline-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pipeline-step p { font-size: 0.92rem; margin: 0 auto; max-width: 220px; }
@media (max-width: 760px) {
  .pipeline { flex-direction: column; gap: 28px; }
  .pipeline-step { text-align: left; padding-left: 76px; }
  .pipeline-node { position: absolute; left: 0; top: 0; margin: 0; }
  .pipeline-step:not(:last-child)::after {
    top: 60px; left: 27px; right: auto;
    width: 2px; height: calc(100% + 4px);
  }
  .pipeline-step p { max-width: none; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--stone);
    padding: 24px var(--gutter) 28px;
  }
  .hero .container, .about-hero, .contact-grid, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { grid-template-columns: 46px 1fr; }
}
@media (max-width: 560px) { .portfolio-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
