@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600&family=Inter:wght@300;400;500;600&display=swap");

:root{
  --bg:#fbf7f5;
  --paper:#ffffff;
  --text:#2b2b2b;
  --muted:#6e6e6e;
  --border:#eadfdb;
  --accent:#b77c7c;
  --accent2:#cfa5a5;
  --shadow:0 18px 50px rgba(0,0,0,.08);
  --radius:18px;
  --max:1180px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.6;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; }

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

.header{
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(251,247,245,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
  gap:18px;
}

/* Brand and logo */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:"Playfair Display", serif;
  font-weight:600;
  letter-spacing:.4px;
  font-size:20px;
}

.logo{
  height:34px;
  width:auto;
  display:block;
}

.links{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.section{
  padding:56px 0 86px;
}

.hero{
  position:relative;
  border-bottom:1px solid var(--border);
}

.hero-img{
  width:100%;
  height:78vh;
  min-height:520px;
  object-fit:cover;
  display:block;
}

.hero-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,.08));
}

.hero-content{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
}

.hero-card{
  width:min(720px, 92%);
  color:#fff;
}

.kicker{
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:12px;
  margin:0 0 10px;
  color:rgba(255,255,255,.85);
}

.hero h1{
  font-family:"Playfair Display", serif;
  font-size:clamp(30px, 4vw, 48px);
  line-height:1.12;
  margin:0 0 14px;
}

.lead{
  margin:0 0 16px;
  color:rgba(255,255,255,.92);
  max-width:560px;
}

.badge-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

.badge{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.12);
  color:rgba(255,255,255,.94);
}

.badge.subtle{
  border:1px solid var(--border);
  background:rgba(255,255,255,.7);
  color:var(--muted);
}

.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:500;
  transition:transform .15s ease, filter .2s ease, background .2s ease;
  white-space:nowrap;
}

.btn:hover{ transform:translateY(-1px); }

.btn.primary{
  background:var(--accent);
  color:#fff;
  box-shadow:0 14px 30px rgba(183,124,124,.24);
}

.btn.ghost{
  background:transparent;
  border-color:var(--accent);
  color:var(--accent);
}

.btn.light{
  background:rgba(255,255,255,.16);
  border-color:rgba(255,255,255,.28);
  color:#fff;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.section-head h2,
.section-head .h1{
  font-family:"Playfair Display", serif;
  margin:0;
}

.h1{ font-size:34px; }

.section-head p{
  margin:6px 0 0;
  color:var(--muted);
  max-width:720px;
}

.spacer{ margin-top:44px; }
.spacer-sm{ margin-top:22px; }

.grid{
  display:grid;
  gap:18px;
}

.g4{ grid-template-columns:repeat(4, 1fr); }
.g3{ grid-template-columns:repeat(3, 1fr); }

.tile{
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--paper);
  box-shadow:var(--shadow);
  border:1px solid rgba(0,0,0,.03);
  opacity:0;
  transform:translateY(16px);
  transition:opacity .6s ease, transform .6s ease;
}

.tile img{
  width:100%;
  height:280px;
  object-fit:cover;
  display:block;
  transition:transform .5s ease;
}

.tile:hover img{ transform:scale(1.04); }

.tile-cap{
  padding:14px 16px 16px;
}

.tile-cap h3{
  margin:0;
  font-family:"Playfair Display", serif;
  font-size:18px;
}

.tile-cap p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
}

.card{
  background:var(--paper);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
  border:1px solid rgba(0,0,0,.03);
}

.card.media{
  padding:0;
  overflow:hidden;
}

.card.media img{
  width:100%;
  height:460px;
  object-fit:cover;
  display:block;
}

.split{
  display:grid;
  gap:22px;
  grid-template-columns:1.1fr .9fr;
  align-items:center;
}

.steps{
  margin-top:18px;
  display:grid;
  gap:14px;
}

.step{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.step-num{
  width:30px;
  height:30px;
  border-radius:999px;
  background:rgba(183,124,124,.12);
  border:1px solid rgba(183,124,124,.35);
  color:var(--accent);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
}

.step h4{ margin:0; }
.step p{ margin:6px 0 0; color:var(--muted); }

.callout{
  background:var(--accent2);
  color:#fff;
  border-radius:var(--radius);
  padding:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.callout h3{
  margin:0;
  font-family:"Playfair Display", serif;
  font-size:22px;
}

.callout p{
  margin:6px 0 0;
  color:rgba(255,255,255,.92);
}

.muted{ color:var(--muted); }

.form{
  display:grid;
  gap:14px;
  margin-top:10px;
}

.row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

label{
  display:grid;
  gap:6px;
  font-size:13px;
  color:var(--muted);
}

input, select, textarea{
  padding:12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  font:inherit;
}

textarea{
  min-height:140px;
  resize:vertical;
}

.hint{
  padding:14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(207,165,165,.14);
}

.hint strong{
  display:block;
  margin-bottom:6px;
  color:var(--text);
}

.hint p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

.success{
  display:grid;
  gap:4px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  border-left:4px solid var(--accent);
  background:rgba(255,255,255,.85);
  box-shadow:var(--shadow);
  margin-bottom:14px;
}

.success strong{ color:var(--text); }
.success span{ color:var(--muted); font-size:13px; }

.wa-float{
  position:fixed;
  right:18px;
  bottom:18px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:999px;
  padding:12px 16px;
  box-shadow:var(--shadow);
  font-weight:500;
}

.wa-float:hover{
  background:rgba(183,124,124,.10);
}

.footer{
  background:#fff;
  border-top:1px solid var(--border);
  padding:34px 0 0;
}

.foot{
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  padding-bottom:20px;
}

.brand-foot{
  font-family:"Playfair Display", serif;
  font-weight:600;
}

.foot-links a{
  display:block;
  padding:5px 0;
  color:var(--muted);
}

.copy{
  border-top:1px solid var(--border);
  padding:14px 0;
  text-align:center;
  color:var(--muted);
  font-size:13px;
}

/* Utility */
.small{
  font-size:0.85rem;
  margin-top:10px;
  opacity:0.7;
}

/* Lightbox (used by portfolio.html + main.js) */
.lightbox-modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(0,0,0,.88);
  padding:56px 18px 18px;
}

.lightbox-inner{
  width:min(1200px, 98vw);
  margin:0 auto;
  height:calc(100vh - 74px);
  display:grid;
  place-items:center;
}

.lightbox-img{
  max-width:100%;
  max-height:100%;
  border-radius:14px;
  box-shadow:0 18px 60px rgba(0,0,0,.35);
}

.lightbox-close{
  position:fixed;
  top:14px;
  right:18px;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:28px;
  line-height:42px;
  text-align:center;
  cursor:pointer;
  user-select:none;
}

.lightbox-close:hover{
  background:rgba(255,255,255,.18);
}

.tile a.lightbox{
  display:block;
}

@media (max-width: 1000px){
  .g4{ grid-template-columns:repeat(2, 1fr); }
  .split{ grid-template-columns:1fr; }
  .card.media img{ height:360px; }
}

@media (max-width: 600px){
  .g4{ grid-template-columns:1fr; }
  .g3{ grid-template-columns:1fr; }
  .row{ grid-template-columns:1fr; }
  .hero-img{ height:72vh; }
}