/* MUAMUA CASA — global styles */
:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --ink: #22201d;
  --muted: #6f6a62;
  --line: #e7e2da;
  --accent: #90a088;        /* VI sage green (from logo) */
  --accent-dark: #71816a;   /* hover / high-contrast green */
  --green: #475243;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(34, 32, 29, .07);
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-title { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.section-sub { color: var(--muted); margin-top: 8px; max-width: 640px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 245, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .12em; font-size: 18px; }
.logo-img { height: 38px; width: auto; display: block; }
.nav-links { display: flex; gap: 26px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: #fff; padding: 9px 18px; border-radius: 999px;
  font-size: 14px; transition: background .2s;
}
.nav-cta:hover { background: var(--accent-dark); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px 0; }

/* ---------- hero ---------- */
.hero {
  padding: 90px 0 80px;
  background:
    linear-gradient(180deg, rgba(250,248,245,0) 0%, rgba(250,248,245,1) 92%),
    radial-gradient(900px 420px at 85% 0%, #ebefe4 0%, rgba(250,248,245,0) 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.kicker {
  display: inline-block; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-dark); border: 1px solid #c9d2c0; border-radius: 999px; padding: 6px 14px;
  background: #fff;
}
.hero h1 {
  font-size: 46px; line-height: 1.15; letter-spacing: -.025em; margin: 20px 0 18px; font-weight: 750;
}
.hero p.lead { color: var(--muted); font-size: 17.5px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: #fff; }
.hero-note { margin-top: 22px; font-size: 13.5px; color: var(--muted); }

/* hero visual */
.hero-visual {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); padding: 14px;
}
.hero-photo { position: relative; }
.hero-photo img { width: 100%; border-radius: 12px; object-fit: cover; aspect-ratio: 4 / 3.4; }
.hero-photo .photo-overlay {
  position: absolute; right: -10px; bottom: -18px; width: 38%;
  border-radius: 12px; border: 4px solid #fff; box-shadow: var(--shadow);
  object-fit: cover; aspect-ratio: 3 / 4;
}
.hero-tags { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.tag {
  font-size: 12.5px; background: #f1ede6; border-radius: 999px; padding: 6px 13px; color: var(--muted);
}

/* ---------- category cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .18s, box-shadow .18s; display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-visual { height: 190px; overflow: hidden; background: #eee7dc; }
.card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-visual img { transform: scale(1.05); }
.card-body { padding: 18px 20px 22px; }
.card-body h3 { font-size: 17.5px; margin-bottom: 6px; }
.card-body p { font-size: 14px; color: var(--muted); }
.card-link { display: inline-block; margin-top: 12px; font-size: 13.5px; color: var(--accent-dark); font-weight: 600; }

/* ---------- features ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.feature .num {
  width: 40px; height: 40px; border-radius: 10px; background: #eef1ea; color: var(--accent-dark);
  display: grid; place-items: center; font-weight: 700; margin-bottom: 14px;
}
.feature h3 { font-size: 16.5px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ---------- process ---------- */
.process { background: var(--green); color: #f2f0ea; border-radius: 24px; padding: 60px 48px; margin-top: 10px; }
.process .section-title { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 36px; }
.step h4 { font-size: 15.5px; margin: 10px 0 8px; color: #fff; }
.step p { font-size: 13.5px; color: #c9cec4; }
.step .n {
  font-size: 13px; letter-spacing: .14em; color: #b8c4ad; border-bottom: 1px solid rgba(255,255,255,.25);
  padding-bottom: 8px; display: inline-block;
}

/* ---------- projects ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.project {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: grid; grid-template-columns: 220px 1fr;
}
.project .visual { min-height: 180px; overflow: hidden; background: #eee7dc; }
.project .visual img { width: 100%; height: 100%; object-fit: cover; }
.project .info { padding: 22px 24px; }
.project .info h3 { font-size: 17px; margin-bottom: 6px; }
.project .info p { font-size: 14px; color: var(--muted); }

/* ---------- faq ---------- */
.faq { max-width: 780px; margin: 36px auto 0; }
details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 12px;
}
details[open] { border-color: #c9d2c0; }
summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::after { content: "+"; font-size: 20px; color: var(--accent-dark); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* ---------- cta band ---------- */
.cta-band {
  background: var(--ink); color: #fff; border-radius: 24px; padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 28px; letter-spacing: -.02em; }
.cta-band p { color: #b9b4ab; margin-top: 8px; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: #e9e2d5; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 48px 0 36px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.footer-grid a, .footer-grid p { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.footer-grid a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 44px; }
.page-hero h1 { font-size: 38px; letter-spacing: -.02em; margin-top: 16px; }
.page-hero p { color: var(--muted); max-width: 640px; margin-top: 10px; }
.breadcrumb { font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split .visual {
  border-radius: 18px; min-height: 300px; overflow: hidden;
  background: #eee7dc; border: 1px solid var(--line);
}
.split .visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.gallery a, .gallery .g-item {
  display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  background: #eee7dc; aspect-ratio: 4 / 3;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery-cap { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* craft strip */
.craft-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.craft-strip figure { margin: 0; }
.craft-strip .frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 4; background: #eee7dc; }
.craft-strip img { width: 100%; height: 100%; object-fit: cover; }
.craft-strip figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.split h2 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 12px; }
.split ul { margin-top: 16px; }
.split li { font-size: 14.5px; color: var(--muted); margin-bottom: 8px; list-style: none; padding-left: 22px; position: relative; }
.split li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 700; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
}
.contact-card h3 { font-size: 18px; margin-bottom: 6px; }
.contact-card p { font-size: 14.5px; color: var(--muted); }
.contact-list { margin-top: 20px; }
.contact-list li { list-style: none; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.contact-list li:last-child { border-bottom: none; }
.contact-list b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 2px; }

form .field { margin-bottom: 16px; }
form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
form input, form select, form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14.5px; background: #fff; font-family: inherit; color: var(--ink);
}
form input:focus, form select:focus, form textarea:focus { outline: 2px solid #c3cfba; border-color: #aebda4; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ---------- visual palettes (photo placeholders) ---------- */
.v-warm { background: linear-gradient(135deg, #b99b72, #8a6d4b); }
.v-green { background: linear-gradient(135deg, #5d6e57, #3d4a3d); }
.v-clay { background: linear-gradient(135deg, #c29886, #9a6f5c); }
.v-slate { background: linear-gradient(135deg, #7d838c, #565c66); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .grid-4, .grid-3, .steps, .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-2, .gallery, .craft-strip { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
  .hero { padding: 56px 0 48px; }
  .process, .cta-band { padding: 40px 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 20px 24px; border-bottom: 1px solid var(--line); gap: 16px;
  }
  .nav.open .nav-cta { display: inline-block; margin: 16px 24px 20px; }
  .hero-photo .photo-overlay { display: none; }
}
