/* Camillas Städ & Trädgård – site styles. System fonts only: no external requests. */
:root {
  --ink: #1d211e;
  --muted: #5d655f;
  --dark: #1f2a22;
  --dark-2: #2b3a2f;
  --green: #5e8a52;
  --green-dark: #44683a;
  --green-soft: #e8efe3;
  --paper: #f7f5ef;
  --white: #fff;
  --line: #dfe3dc;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 30, 22, .06), 0 8px 24px rgba(20, 30, 22, .07);
  --wrap: 1140px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1.0625rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:hover { color: var(--dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 750; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 50; border-radius: 8px; }
.skip:focus { left: 8px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon.big { width: 56px; height: 56px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ---------- header ---------- */
.topbar { background: var(--dark); color: var(--white); position: sticky; top: 0; z-index: 20; }
.topbar-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: block; flex: none; }
.logo-img { width: 170px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { color: var(--white); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .98rem; }
.nav a:hover { background: var(--dark-2); color: var(--white); }
.nav a[aria-current="page"] { background: var(--green); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .shut, .nav-toggle[aria-expanded="true"] .open { display: none; }
.nav-toggle[aria-expanded="true"] .shut { display: block; }
.top-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-weight: 700; white-space: nowrap; }
.top-phone:hover { color: #cfe3c6; }

@media (max-width: 860px) {
  .topbar-in { min-height: 64px; gap: 12px; }
  .logo-img { width: 140px; }
  .nav { order: 3; margin-left: 0; }
  .nav-toggle { display: block; }
  .nav ul { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--dark); flex-direction: column; padding: 8px 16px 18px; box-shadow: 0 12px 24px rgba(0,0,0,.25); }
  .nav ul.open { display: flex; }
  .nav a { display: block; padding: 12px 14px; font-size: 1.05rem; }
  .top-phone { margin-left: auto; }
}
@media (max-width: 420px) { .top-phone span { display: none; } .top-phone .icon { width: 24px; height: 24px; } }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; transition: background .15s, color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--green); color: var(--white); }
.btn.primary:hover { background: var(--green-dark); color: var(--white); }
.btn.ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn.ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn.ghost-dark { border-color: var(--line); color: var(--ink); }
.btn.light { background: var(--white); color: var(--dark); }
.btn.light:hover { background: var(--green-soft); color: var(--dark); }
.btn.ghost-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn.ghost-light:hover { background: rgba(255,255,255,.1); color: var(--white); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }

/* ---------- hero & page heads ---------- */
.hero { position: relative; color: var(--white); background: var(--dark); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,30,22,.85) 0%, rgba(20,30,22,.45) 65%, rgba(20,30,22,.2) 100%); }
.hero-in { position: relative; z-index: 1; padding: clamp(72px, 12vw, 150px) 20px; max-width: var(--wrap); }
.hero h1 { max-width: 15em; }
.hero .lead { max-width: 36em; font-size: 1.2rem; color: #e9eee6; margin-bottom: 1.6em; }

.pagehead { background: var(--paper); border-bottom: 1px solid var(--line); }
.pagehead-in { padding: 56px 20px; display: grid; gap: 32px; align-items: center; }
.pagehead.has-img .pagehead-in { grid-template-columns: 1fr minmax(220px, 360px); }
.pagehead .lead { font-size: 1.2rem; color: var(--muted); margin: 0; max-width: 34em; }
.pagehead-img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.crumb { margin: 0 0 .5em; font-weight: 700; font-size: .95rem; }
.crumb a { text-decoration: none; }
.crumb a::after { content: " /"; color: var(--muted); }
@media (max-width: 720px) { .pagehead.has-img .pagehead-in { grid-template-columns: 1fr; } .pagehead-in { padding: 40px 20px; } }

/* ---------- sections ---------- */
.section { padding: clamp(48px, 7vw, 84px) 0; }
.section.alt { background: var(--paper); }
.section + .section:not(.alt) { padding-top: 0; }
.alt + .section:not(.alt) { padding-top: clamp(48px, 7vw, 84px); }
.intro { font-size: 1.15rem; color: var(--muted); max-width: 44em; margin-bottom: 2em; }
.prose p { max-width: 42em; }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-3px); color: var(--ink); box-shadow: 0 2px 4px rgba(20,30,22,.06), 0 16px 32px rgba(20,30,22,.12); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-icon { display: grid; place-items: center; color: var(--green-dark); background: linear-gradient(135deg, var(--green-soft), #d6e4cf); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.2rem; }
.card-title .icon { color: var(--green); }
.card-text { color: var(--muted); flex: 1; }
.card-more { display: inline-flex; align-items: center; gap: 6px; color: var(--green-dark); font-weight: 700; }

/* lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { color: var(--green); margin-top: .25em; }
.notes { margin: 24px 0 0; padding-left: 1.2em; color: var(--muted); }
.notes li { margin-bottom: .4em; }

/* checklist accordion */
.accordion { display: grid; gap: 12px; }
.accordion details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 750; font-size: 1.15rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform .2s; color: var(--green); }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.acc-body { padding: 0 22px 14px; }
.acc-body > p { color: var(--muted); }

.highlight { background: var(--green-soft); border-left: 5px solid var(--green); border-radius: var(--radius); padding: 28px 30px 14px; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review { margin: 0; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.stars { color: #d39b1c; letter-spacing: 2px; font-size: 1.1rem; }
.review blockquote { margin: 0; flex: 1; }
.review figcaption { color: var(--muted); font-size: .95rem; }

/* call to action band */
.cta { background: var(--dark); color: var(--white); padding: clamp(40px, 6vw, 64px) 0; }
.cta-in { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; color: #d7dfd3; max-width: 36em; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 650; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #c9cfc6; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green); outline: 3px solid rgba(94,138,82,.25); outline-offset: 0; }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 650; min-height: 1.5em; }
.form-status.ok { color: var(--green-dark); }
.form-status.err { color: #b3261e; }
.contact-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.contact-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.contact-card-body { padding: 24px; }
.contact-card h2 { font-size: 1.25rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.contact-list .icon { color: var(--green); }

/* footer */
.footer { background: #151d17; color: #c9d2c5; padding: 56px 0 0; font-size: .97rem; }
.footer a { color: #e8eee5; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin-bottom: 1em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .contact-list .icon { color: #9cc28e; }
.footer .muted { color: #95a092; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr .8fr; gap: 32px; padding-bottom: 40px; }
.footer .logo-img { width: 160px; margin-bottom: 14px; }
.footer-base { border-top: 1px solid #2a352c; padding: 18px 20px; color: #95a092; font-size: .9rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
