/* Carpenter Bali — warm, crafted, fast. */
:root {
  --bg: #faf7f2;
  --bg-alt: #f2ebe0;
  --surface: #ffffff;
  --ink: #2b211a;
  --ink-soft: #5c4d40;
  --muted: #8a7a6b;
  --line: #e4d9ca;
  --wood: #8a5a2b;
  --wood-dark: #6b431d;
  --accent: #c0782f;
  --green: #2f5d50;
  --wa: #1fa855;
  --wa-dark: #178a45;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(43, 33, 26, .06), 0 8px 24px rgba(43, 33, 26, .07);
  --shadow-lg: 0 2px 4px rgba(43, 33, 26, .06), 0 18px 48px rgba(43, 33, 26, .12);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wood); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wood-dark); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.18; color: var(--ink); margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; font-family: var(--font); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }
.small { font-size: .9rem; color: var(--muted); }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.4em; border-radius: 999px; font: 600 1rem/1.1 var(--font); text-decoration: none; border: 2px solid var(--wood); background: var(--wood); color: #fff; cursor: pointer; transition: background .2s, border-color .2s, transform .15s, box-shadow .2s; }
.btn:hover { background: var(--wood-dark); border-color: var(--wood-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--wood); }
.btn-ghost:hover { background: var(--wood); color: #fff; }
.btn-wa { background: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); }
.btn-sm { padding: .55em 1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--wood); font: 700 1.2rem/1 var(--serif); white-space: nowrap; }
.logo span { color: var(--ink); }
.logo-light span { color: #fff; }
.logo-light { color: var(--accent); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--bg-alt); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink-soft); background: var(--surface); }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary { border-color: var(--wood); color: var(--wood); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); z-index: 60; }
.lang a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 7px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.lang a:hover { background: var(--bg-alt); }
.lang a[aria-current="true"] { background: var(--bg-alt); font-weight: 600; }
.lang-code { display: inline-grid; place-items: center; width: 30px; height: 22px; border-radius: 5px; background: var(--bg-alt); font-size: .72rem; font-weight: 700; color: var(--wood); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { padding: 48px 0 56px; background: radial-gradient(1200px 500px at 85% -10%, rgba(192, 120, 47, .14), transparent 60%), linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); border-bottom: 1px solid var(--line); }
.hero-slim { padding: 40px 0 44px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wood); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.hero-media img, .hero-media .ph { border-radius: 22px; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-soft); font-size: .95rem; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; flex: none; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 18px; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 6px 0 2px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--wood); text-decoration: underline; }

/* Placeholder images */
.ph { position: relative; display: block; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-badge { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(43, 33, 26, .7); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .02em; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section > .wrap > h2 { margin-bottom: .4em; }
.section-lead { color: var(--ink-soft); max-width: 70ch; margin-bottom: 32px; font-size: 1.07rem; }
.prose { max-width: 78ch; }
.prose p { font-size: 1.07rem; color: var(--ink-soft); }
.prose h2 { margin-top: 1.6em; }
.prose img, .prose .ph { border-radius: var(--radius); margin: 0 0 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img, .split .ph { border-radius: 20px; box-shadow: var(--shadow); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-top: 8px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-alt); }
.card-media img, .card-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .35em; }
.card-body p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.more { color: var(--wood); font-weight: 600; font-size: .93rem; }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.feature::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--accent); margin-bottom: 14px; }
.feature p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-item { padding: 6px 0; }
.trust-num { font: 600 2rem/1 var(--serif); color: var(--accent); display: block; margin-bottom: 12px; }
.trust-item p { color: var(--ink-soft); font-size: .97rem; }

.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.process li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--wood); color: #fff; font-weight: 700; margin-bottom: 12px; }
.process p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.info-grid h2 { font-size: 1.35rem; }
.info-grid p { color: var(--ink-soft); }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; transition: border-color .2s, color .2s, background .2s; }
.chips a svg { color: var(--accent); }
.chips a:hover { border-color: var(--wood); color: var(--wood); }


/* Pricing */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.prices { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prices th, .prices td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices thead th { background: var(--ink); color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.prices tbody th { font-weight: 500; }
.prices td { color: var(--wood-dark); font-weight: 600; white-space: nowrap; }
.prices tr:last-child th, .prices tr:last-child td { border-bottom: 0; }
.lead-time { margin: 18px 0 6px; }
.note { font-size: .88rem; color: var(--muted); max-width: 80ch; }

/* FAQ */
.faq { max-width: 880px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s; }
.faq details[open] { border-color: var(--wood); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--wood); border-bottom: 2px solid var(--wood); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 20px 18px; color: var(--ink-soft); }
.faq details > div p { margin: 0; }

/* Guides */
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.guide-card a { display: block; height: 100%; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.guide-card a:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.guide-card h2, .guide-card h3 { font-family: var(--serif); font-size: 1.35rem; }
.guide-card p { color: var(--ink-soft); }
.toc { background: var(--bg-alt); border-radius: var(--radius); padding: 18px 24px; margin-bottom: 24px; }
.toc ol { margin: 0; }
.toc a { text-decoration: none; }

/* CTA + form */
.cta-band { background: var(--ink); color: #f3ebe0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d8ccbd; }
.cta-band .small { color: #bba996; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; margin: 24px 0 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); max-width: 420px; }
.contact-card strong { display: block; color: #fff; font-size: 1.1rem; }
.contact-card span { display: block; color: #bba996; font-size: .9rem; }
.contact-card a { color: #7fe0a6; font-weight: 600; text-decoration: none; }
.avatar { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font: 700 1.4rem/1 var(--serif); }
.quote-form { background: var(--surface); color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.quote-form h3 { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 4px; }
.quote-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--wood); box-shadow: 0 0 0 3px rgba(138, 90, 43, .15); }
.quote-form .small a { color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Footer */
.site-footer { background: #1e1712; color: #bfb1a2; padding: 64px 0 24px; font-size: .94rem; }
.site-footer h2 { font: 600 .82rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer a { color: #d9cbbb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.4fr 1.2fr 1fr; gap: 40px; }
.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.footer-brand p { margin-top: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer-bottom p { margin: 0; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgba(31, 168, 85, .45); transition: transform .2s; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); color: #fff; }

/* Language suggestion banner */
.lang-banner { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 45; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; max-width: calc(100% - 110px); background: var(--ink); color: #fff; border-radius: 999px; box-shadow: var(--shadow-lg); font-size: .93rem; }
.lang-banner a { color: #fff; background: var(--wood); padding: 7px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.lang-banner button { background: none; border: 0; color: #bfb1a2; font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 4px 8px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 70px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 10px 20px 20px; display: none; }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .header-actions { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { padding: 28px 0 40px; }
  .hero-grid, .split, .cta-grid { grid-template-columns: 1fr; gap: 28px; }
  .process, .info-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .header-cta span { display: none; }
  .header-cta { padding: .55em; }
  .logo { font-size: 1.05rem; }
  .trust, .footer-grid, .row2 { grid-template-columns: 1fr; }
  .prices td { white-space: normal; }
  .prices th, .prices td { padding: 12px 14px; }
  .quote-form { padding: 20px; }
  .lang-banner { left: 16px; right: 84px; transform: none; max-width: none; border-radius: 16px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
