/* KALCO Living — shared styles */
:root {
  --background: oklch(100% 0 0);
  --foreground: oklch(33% .008 60);
  --primary: oklch(68% .16 55);
  --primary-hover: oklch(62% .16 52);
  --primary-foreground: #fff;
  --muted-foreground: oklch(48% .01 60);
  --surface: oklch(96.5% .005 75);
  --border: oklch(91% .006 70);
  --input: oklch(88% .006 70);
  --destructive: oklch(57.7% .245 27.325);
  --success: oklch(52% .13 150);
  --font-heading: Montserrat, ui-sans-serif, system-ui, sans-serif;
  --font-sans: Inter, ui-sans-serif, system-ui, sans-serif;
  --container: 72rem;
  --gutter: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0; line-height: 1.2; overflow-wrap: break-word; }
h3 { text-wrap: balance; }
p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section-space { padding-block: 3rem; }
@media (min-width: 768px) { .section-space { padding-block: 4rem; } }
.bg-surface { background: var(--surface); }
.muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.nowrap { white-space: nowrap; }
[id] { scroll-margin-top: 5.5rem; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
}
.h2 { margin-top: .5rem; font-size: 1.875rem; font-weight: 700; }
.h2-sm { margin-top: .5rem; font-size: 1.5rem; font-weight: 700; }
@media (min-width: 768px) {
  .h2 { font-size: 2.25rem; }
  .h2-sm.md-lg { font-size: 1.875rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: .95rem; font-weight: 600; line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { border-color: var(--foreground); color: var(--foreground); background: var(--background); }
.btn-outline:hover { background: var(--foreground); color: var(--background); }
.btn-inverse { background: var(--background); color: var(--foreground); }
.btn-inverse:hover { background: var(--surface); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--background) 95%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4rem; }
.logo img { height: 1.75rem; width: auto; }
.nav { display: none; align-items: center; gap: 1.75rem; font-size: .875rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-cta { padding: .5rem 1rem; font-size: .875rem; }
.header-cta .long { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border: 0; border-radius: .5rem; background: transparent; cursor: pointer;
}
.menu-toggle:hover { background: var(--surface); }
.menu-toggle svg { width: 1.375rem; height: 1.375rem; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }
.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--background); }
.menu-open .mobile-nav { display: block; }
.mobile-nav ul { padding-block: .5rem; }
.mobile-nav a { display: block; padding: .8rem 0; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-nav li:last-child a { border-bottom: 0; }
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--primary); }
@media (min-width: 640px) {
  .header-cta { padding: .625rem 1.25rem; }
  .header-cta .short { display: none; }
  .header-cta .long { display: inline; }
}
@media (min-width: 768px) {
  .nav { display: flex; }
  .menu-toggle, .mobile-nav, .menu-open .mobile-nav { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img.right { object-position: right; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--background), color-mix(in oklab, var(--background) 95%, transparent), color-mix(in oklab, var(--background) 75%, transparent));
}
.hero-inner { position: relative; z-index: 1; padding-block: 4rem; }
.hero-copy { max-width: 36rem; }
.hero h1 { font-size: 2rem; font-weight: 800; line-height: 1.08; }
.hero-lead { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600; }
.hero-ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 640px) { .hero h1 { font-size: 2.25rem; } }
@media (min-width: 768px) {
  .hero::after { background: linear-gradient(to right, var(--background), color-mix(in oklab, var(--background) 90%, transparent), color-mix(in oklab, var(--background) 30%, transparent)); }
  .hero-inner { padding-block: 7rem; }
  .hero h1 { font-size: 3rem; }
  .hero-pm h1 { font-size: 2.75rem; }
  .hero-lead { font-size: 1.25rem; }
}
@media (min-width: 1024px) { .hero h1 { font-size: 3.5rem; } .hero-pm h1 { font-size: 2.75rem; } }

.intro-line { max-width: 48rem; padding-block: 1.5rem; font-size: 1.125rem; font-weight: 500; }

/* Trust badges — always centered */
.badges { border-block: 1px solid var(--border); background: var(--surface); }
.badges ul {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: .75rem 1.5rem; padding-block: 1.25rem; text-align: center;
}
.badges li { display: inline-flex; align-items: center; gap: .6rem; font-size: .875rem; font-weight: 600; }
.badges svg { width: 1.25rem; height: 1.25rem; color: var(--primary); flex-shrink: 0; }
@media (min-width: 768px) { .badges ul { gap: .75rem 2rem; } }

/* Problem cards */
.grid-3 { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.stat-card { border-radius: .75rem; background: var(--surface); padding: 1.5rem; }
.stat-card .stat { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.stat-card p:not(.stat) { margin-top: .75rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }
@media (min-width: 768px) { .stat-card .stat { font-size: 1.75rem; } }

/* Dark strip */
.strip { background: var(--foreground); color: var(--background); }
.strip p { max-width: 64rem; margin-inline: auto; padding: 1.5rem var(--gutter); text-align: center; font-size: .875rem; font-weight: 600; }
@media (min-width: 768px) { .strip p { font-size: 1rem; } }

/* Proof */
.split { display: grid; align-items: center; gap: 2.5rem; }
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; } }
.check-list { margin-top: 2rem; display: grid; gap: 1rem; }
.check-list li { display: flex; gap: .75rem; font-weight: 500; }
.check-list svg { width: 1.25rem; height: 1.25rem; margin-top: .125rem; color: var(--primary); flex-shrink: 0; }
.photo { aspect-ratio: 4/3; width: 100%; border-radius: .75rem; object-fit: cover; }

/* Feature cards (PM) */
.grid-4 { margin-top: 2rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { border: 1px solid var(--border); border-radius: .75rem; background: var(--background); padding: 1.5rem; }
.card h3 { margin-top: 1rem; font-size: 1rem; font-weight: 700; }
.card p { margin-top: .25rem; font-size: .875rem; color: var(--muted-foreground); }
.icon-chip { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border-radius: .6rem; background: color-mix(in oklab, var(--primary) 12%, transparent); color: var(--primary); }
.icon-chip svg { width: 1.25rem; height: 1.25rem; }
.note { margin-top: 1.5rem; max-width: 48rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }

/* Services */
.lead { margin-top: 1rem; max-width: 48rem; color: var(--muted-foreground); }
.grid-2 { margin-top: 2rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.svc { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: .75rem; background: var(--background); }
.svc > img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.svc-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.pill {
  display: inline-flex; width: fit-content; max-width: 100%; align-items: center;
  padding: .25rem .625rem; border: 1px solid color-mix(in oklab, var(--primary) 25%, transparent); border-radius: 9999px;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  color: var(--primary); font-size: .625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
@media (min-width: 640px) { .pill { padding: .25rem .75rem; font-size: .6875rem; letter-spacing: .12em; } }
.svc h3 { margin-top: .75rem; font-size: 1.125rem; font-weight: 700; }
.dot-list { margin-top: 1rem; display: grid; gap: .625rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }
.dot-list li { display: flex; gap: .75rem; }
.dot-list li::before { content: ""; margin-top: 7px; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--primary); }
.svc-cta { margin-top: auto; display: flex; justify-content: center; padding-top: 1.5rem; }

/* Timing */
.timing-grid { margin-top: 2rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .timing-grid { grid-template-columns: 1fr 1fr; } }
.timing-grid .card h3 { margin-top: .75rem; }
.timing-grid .card p { line-height: 1.6; }
.timing-grid svg { width: 1.5rem; height: 1.5rem; color: var(--primary); }

/* Pricing */
.pricing { border-block: 1px solid var(--border); }
.pricing-grid { display: grid; gap: 2rem; padding-block: 2.5rem; }
.pricing-grid p:not(.eyebrow) { margin-top: .75rem; color: var(--muted-foreground); }
.pricing-grid h3 { font-size: 1.125rem; font-weight: 700; }
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: 1.4fr 1fr; gap: 4rem; }
  .pricing-aside { border-left: 1px solid var(--border); padding-left: 2rem; }
}

/* Steps */
.steps { position: relative; margin-top: 2rem; display: grid; gap: 2.5rem; }
.steps li { position: relative; display: flex; gap: 1rem; }
.step-num {
  display: flex; width: 3rem; height: 3rem; flex-shrink: 0; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--primary); color: var(--primary-foreground);
  font-family: var(--font-heading); font-weight: 700;
}
.steps h3 { font-size: 1rem; font-weight: 700; }
.steps p { margin-top: .25rem; font-size: .875rem; color: var(--muted-foreground); }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .steps::before { content: ""; position: absolute; top: 1.5rem; left: 12%; right: 12%; height: 2px; background: var(--border); }
  .steps li { flex-direction: column; align-items: center; text-align: center; }
  .steps h3 { margin-top: .75rem; }
}
.steps-foot { margin-top: 2.5rem; text-align: center; font-size: .875rem; color: var(--muted-foreground); }
.steps-foot a { font-weight: 600; color: var(--primary); }
.steps-foot a:hover { text-decoration: underline; }

/* Trial */
.trial { border-left: 4px solid var(--primary); padding-left: 1.5rem; }
.trial p { max-width: 42rem; }
.trial .muted { margin-top: .75rem; }
.trial .includes { margin-top: 1rem; }
.trial .cta { margin-top: 1.5rem; display: flex; justify-content: center; }
@media (min-width: 768px) { .trial { padding-left: 2rem; } }

/* Service area */
.area { padding-block: 3rem; }
.area p:not(.eyebrow) { margin-top: 1rem; color: var(--muted-foreground); }
.area p + p:not(.eyebrow) { margin-top: .75rem; }
.area strong { color: var(--foreground); }
@media (min-width: 768px) { .area { padding-block: 4rem; } }

/* Gallery (PM) */
.gallery { margin-top: 2rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figcaption { margin-top: 1rem; }
.gallery h3 { font-size: 1rem; font-weight: 700; }
.gallery p { margin-top: .25rem; font-size: .875rem; color: var(--muted-foreground); }

/* FAQ */
.faq { max-width: 48rem; }
.ticks { margin-top: 1.5rem; display: grid; gap: .5rem; font-weight: 500; }
.ticks li { display: flex; gap: .5rem; }
.ticks li::before { content: "✓"; color: var(--primary); }
.accordion { margin-top: 2rem; border-block: 1px solid var(--border); }
.accordion details + details { border-top: 1px solid var(--border); }
.accordion details { padding-block: 1.25rem; }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer; list-style: none; font-weight: 700;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; flex-shrink: 0; color: var(--primary); font-size: 1.25rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details p { margin-top: .75rem; color: var(--muted-foreground); }

/* Quote form */
.quote-wrap { max-width: 42rem; margin-inline: auto; padding: 4rem var(--gutter); }
@media (min-width: 768px) { .quote-wrap { padding-block: 5rem; } }
.quote-wrap h2 { text-align: center; font-size: 1.875rem; font-weight: 700; }
@media (min-width: 768px) { .quote-wrap h2 { font-size: 2.25rem; } }
.quote-form { margin-top: 2rem; display: grid; gap: 1rem; border-radius: 1rem; background: var(--background); padding: 1.5rem; }
@media (min-width: 768px) { .quote-form { grid-template-columns: 1fr 1fr; padding: 2rem; } .span-2 { grid-column: span 2; } }
.fld { display: flex; flex-direction: column; gap: .375rem; min-width: 0; font-size: .875rem; font-weight: 600; }
.field {
  width: 100%; min-width: 0; padding: .7rem .85rem;
  border: 1px solid var(--input); border-radius: .6rem; background: var(--background);
  font-size: 1rem; font-weight: 400;
}
.field:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
textarea.field { resize: vertical; }
.field[aria-invalid="true"] { border-color: var(--destructive); }
.hint { font-size: .875rem; color: var(--muted-foreground); }
.hint.is-error { color: var(--destructive); font-weight: 500; }
.err { font-size: .8125rem; font-weight: 500; color: var(--destructive); }
.err:empty { display: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { margin-bottom: .5rem; padding: 0; font-size: .875rem; font-weight: 600; }
.checks { display: grid; gap: .5rem; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.check {
  display: flex; align-items: center; gap: .625rem;
  padding: .625rem .75rem; border: 1px solid var(--border); border-radius: .5rem;
  font-size: .875rem; cursor: pointer;
}
.check input { width: 1rem; height: 1rem; flex-shrink: 0; accent-color: var(--primary); }
.check small { color: var(--muted-foreground); font-size: inherit; }
fieldset[aria-invalid="true"] .check { border-color: var(--destructive); }
.form-foot { margin-top: .75rem; text-align: center; font-size: .75rem; color: var(--muted-foreground); }
.form-status { border-radius: .6rem; padding: 1rem; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { background: color-mix(in oklab, var(--success) 12%, transparent); color: var(--success); }
.form-status.bad { background: color-mix(in oklab, var(--destructive) 10%, transparent); color: var(--destructive); }
.hp { position: absolute; left: -9999px; }

/* Final CTA */
.final-cta { background: var(--primary); color: var(--primary-foreground); }
.final-cta .inner { max-width: 56rem; margin-inline: auto; padding: 4rem var(--gutter); text-align: center; }
.final-cta h2 { font-size: 1.875rem; font-weight: 700; }
.final-cta p { max-width: 36rem; margin: 1rem auto 0; font-size: 1.125rem; opacity: .95; }
.final-cta .ctas { margin-top: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.final-cta .ctas a:not(.btn) { font-weight: 600; text-underline-offset: 4px; }
.final-cta .ctas a:not(.btn):hover { text-decoration: underline; }
@media (min-width: 640px) { .final-cta .ctas { flex-direction: row; } }
@media (min-width: 768px) { .final-cta .inner { padding-block: 5rem; } .final-cta h2 { font-size: 2.25rem; } }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--background); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid > div:first-child img { height: 2rem; width: auto; }
.footer-grid > div:first-child p { margin-top: 1rem; max-width: 22rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }
.footer-grid h3 { font-size: .875rem; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; }
.footer-grid ul { margin-top: 1rem; display: grid; gap: .5rem; font-size: .875rem; color: var(--muted-foreground); }
.footer-grid a:hover { color: var(--primary); }
.copyright { border-top: 1px solid var(--border); padding-block: 1.25rem; text-align: center; font-size: .75rem; color: var(--muted-foreground); }
