:root {
  --cream: #FBF6EE;
  --cream-2: #F3EADB;
  --green: #2F5D46;
  --green-dark: #234635;
  --ink: #2A2622;
  --muted: #6B625A;
  --terra: #C8643B;
  --terra-dark: #A94F2B;
  --peach: #F3C9A8;
  --line: #E4D8C6;
  --white: #FFFDF9;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(42, 38, 34, .08);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .85em 1.4em;
  border-radius: 999px;
  border: 2px solid var(--green);
  background: var(--green);
  color: #fff;
  font: 800 1rem var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green); color: #fff; }
.btn-terra { background: var(--terra); border-color: var(--terra); }
.btn-terra:hover { background: var(--terra-dark); border-color: var(--terra-dark); }
.btn-small { padding: .55em 1.1em; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.logo-mark { width: 34px; height: 34px; }
.logo-mark rect { fill: var(--green); }
.logo-mark path { fill: var(--peach); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; }
.nav a:not(.btn):hover { color: var(--terra); }
.nav .btn { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle .bar { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7.5px) rotate(-45deg); }

/* Hero */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; background: var(--cream-2); color: var(--terra-dark); font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: .3em; }
h1 em { font-style: normal; color: var(--terra); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-weight: 700; color: var(--green); }
.hero-points li::before { content: "✓ "; color: var(--terra); }

.hero-visual { position: relative; padding: 20px 10px 40px; }
.mock { background: var(--white); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(47, 93, 70, .18); overflow: hidden; transform: rotate(1.5deg); border: 1px solid var(--line); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--cream-2); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar i { margin-left: 10px; font-style: normal; font-size: .75rem; color: var(--muted); background: var(--white); padding: 2px 10px; border-radius: 999px; }
.mock-body { padding: 26px; }
.mock-title { height: 22px; width: 70%; background: var(--green); border-radius: 6px; margin-bottom: 14px; }
.mock-line { height: 10px; width: 90%; background: var(--line); border-radius: 5px; margin-bottom: 8px; }
.mock-line.short { width: 60%; }
.mock-btn { display: inline-block; margin: 14px 0 20px; background: var(--terra); color: #fff; font-weight: 800; font-size: .8rem; padding: 8px 16px; border-radius: 999px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards div { height: 64px; border-radius: 10px; background: var(--cream-2); }
.mock-cards div:nth-child(2) { background: var(--peach); }
.toast { position: absolute; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: .85rem; font-weight: 700; box-shadow: var(--shadow); white-space: nowrap; animation: float 5s ease-in-out infinite; }
.toast-1 { left: -18px; top: 46%; }
.toast-2 { right: -6px; bottom: 6px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--cream-2); }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 40em; margin-bottom: 40px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--peach); color: var(--terra-dark); font: 700 1.3rem var(--serif); margin-bottom: 16px; }
.steps p { color: var(--muted); margin: 0; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.plan h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; margin-bottom: .2em; }
.plan-for { color: var(--muted); font-size: .95rem; }
.price { font-size: .95rem; color: var(--muted); margin: 8px 0 18px; }
.price span { font: 700 2.4rem var(--serif); color: var(--ink); margin-right: 4px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; border-bottom: 1px dashed var(--line); }
.plan li:last-child { border-bottom: 0; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.plan-featured { border: 2px solid var(--green); box-shadow: 0 18px 40px rgba(47, 93, 70, .15); transform: translateY(-8px); }
.badge { position: absolute; top: -14px; left: 28px; background: var(--terra); color: #fff; font-size: .8rem; font-weight: 800; padding: 4px 14px; border-radius: 999px; margin: 0; }
.pricing-note { text-align: center; margin: 36px 0 0; color: var(--muted); }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { padding: 4px; }
.feature-icon { width: 56px; height: 56px; display: grid; place-items: center; font-size: 1.6rem; background: var(--cream-2); border-radius: 16px; margin-bottom: 16px; }
.feature p { color: var(--muted); margin: 0; }

/* Work */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { display: block; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.work-card:hover h3 { color: var(--terra); }
.work-card h3, .work-card p { padding: 0 22px; }
.work-card h3 { margin-top: 20px; }
.work-card p { color: var(--muted); padding-bottom: 22px; margin: 0; }
.work-thumb { aspect-ratio: 16 / 10; display: grid; place-items: center; font: 700 1.3rem var(--serif); color: #fff; }
.thumb-dental { background: linear-gradient(135deg, #5E8C7A, var(--green)); }
.thumb-salon { background: linear-gradient(135deg, #E39A7A, var(--terra)); }
.thumb-auto { background: linear-gradient(135deg, #5A524B, var(--ink)); }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 800; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--terra); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* Contact */
.section-green { background: var(--green); color: var(--cream); }
.section-green h2 { color: #fff; }
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy p { font-size: 1.1rem; opacity: .9; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; font-weight: 700; }
.contact-list li { margin-bottom: 8px; }
.contact-list a { color: var(--peach); }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 32px; box-shadow: 0 20px 50px rgba(0, 0, 0, .18); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; font-size: .95rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 93, 70, .18); }
.field input.invalid { border-color: var(--terra); background: #FCEDE6; }
.form .btn { width: 100%; margin-top: 6px; }
.form-status { margin: 14px 0 0; font-weight: 700; min-height: 1.4em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--terra-dark); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--green-dark); color: rgba(251, 246, 238, .8); padding: 28px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-inner p { margin: 0; }
.small { font-size: .9rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .pricing, .work, .steps { grid-template-columns: 1fr; }
  .pricing { max-width: 480px; margin-inline: auto; }
  .plan-featured { transform: none; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .hero { padding: 40px 0 56px; }
  .section { padding: 64px 0; }
  .features { grid-template-columns: 1fr; }
  .toast-1 { left: 0; }
  .toast-2 { right: 0; }
  .form { padding: 24px 20px; }
}
@media (max-width: 420px) {
  .toast { font-size: .75rem; white-space: normal; max-width: 70%; }
}
