:root {
  --bg: #f3f8f4;
  --surface: #ffffff;
  --surface-soft: #e3f0e6;
  --text: #1f2933;
  --muted: #52606d;
  --accent: #25734c;
  --accent-strong: #1f5c3c;
  --border: #d8e1e8;
  --shadow: rgba(15, 23, 42, 0.10);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
.container { width: min(1120px, 92%); margin: 0 auto; }
.narrow { width: min(760px, 100%); }
.site-header, .site-footer { background: rgba(255,255,255,0.94); border-bottom: 1px solid var(--border); backdrop-filter: blur(10px); box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04); }
.site-header { position: relative; z-index: 60; }
.header-row, .footer-row { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1rem 0; }
.brand { font-weight:800; letter-spacing:0.08em; }
.brand-sub { font-size:0.92rem; color:var(--muted); }
nav { display:flex; flex-wrap:wrap; align-items:center; gap:0.75rem 1rem; }
nav a { margin-left:0; text-decoration:none; color:var(--text); font-weight:600; }
.nav-toggle { display:none; }
.nav-toggle-button { display:none; }
.nav-panel { display:flex; flex-wrap:wrap; align-items:center; gap:0.75rem 1rem; }
.nav-dropdown { position:relative; z-index:61; }
.nav-dropdown summary { list-style:none; cursor:pointer; color:var(--text); font-weight:600; }
.nav-dropdown summary::-webkit-details-marker { display:none; }
.nav-dropdown summary::after { content:""; display:inline-block; width:8px; height:8px; margin-left:8px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg) translateY(-1px); }
.nav-dropdown[open] summary,
.nav-dropdown summary:hover,
.nav-dropdown summary:focus { color:var(--accent-strong); }
.nav-dropdown__menu { position:absolute; top:calc(100% + 12px); left:0; min-width:190px; padding:0.55rem; border:1px solid var(--border); border-radius:16px; background:var(--surface); box-shadow:0 14px 34px var(--shadow); display:grid; gap:4px; z-index:30; }
.nav-dropdown__menu a { display:block; padding:0.6rem 0.8rem; border-radius:10px; white-space:nowrap; }
.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus { background:var(--surface-soft); }
.nav-dropdown:not([open]) .nav-dropdown__menu { display:none; }
.nav-login-button { padding:0.68rem 1.05rem; border-radius:14px; box-shadow:none; }
.hero { padding:5rem 0 4rem; background: linear-gradient(180deg, #f8fcf9 0%, var(--bg) 100%); }
.hero-grid { display:grid; grid-template-columns:1.5fr 1fr; gap:2rem; align-items:center; }
.eyebrow { font-size:0.85rem; letter-spacing:0.12em; font-weight:700; color:var(--accent); }
main > .section .eyebrow,
main.section .eyebrow { display:none; }
.hero h1, h1 { font-size:clamp(2rem, 5vw, 3.6rem); line-height:1.1; margin:0.5rem 0 1rem; }
.lead { font-size:1.1rem; color:var(--muted); max-width:700px; }
.cta-row { margin-top:1.5rem; display:flex; flex-wrap:wrap; gap:0.75rem; }
.button { display:inline-block; background:var(--accent); color:#fff; padding:0.95rem 1.25rem; border-radius:999px; text-decoration:none; border:none; cursor:pointer; font-weight:800; box-shadow: 0 10px 20px rgba(37,115,76,0.22); }
.button:hover { background:var(--accent-strong); }
.button.secondary { background:#fff; color:var(--text); border:1px solid var(--border); box-shadow:none; }
.button-disabled,
.button[disabled],
.button[aria-disabled="true"] {
  background:#b8c2ba;
  color:#f7f9f7;
  border:1px solid #b8c2ba;
  box-shadow:none;
  cursor:not-allowed;
  pointer-events:none;
}
.button-disabled:hover,
.button[disabled]:hover,
.button[aria-disabled="true"]:hover {
  background:#b8c2ba;
}
.button.wide { width:100%; text-align:center; }
.text-link { color:var(--accent-strong); font-weight:700; text-decoration:none; }
.mini-points { display:flex; flex-wrap:wrap; gap:1.2rem; padding:0; list-style:none; margin:1.25rem 0 0; color:var(--muted); }
.section { padding:4rem 0; }
.section.alt { background:var(--surface-soft); }
.grid-3 { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:1rem; }
.two-col { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:2rem; }
.card { background:var(--surface); padding:1.45rem; border-radius:var(--radius); box-shadow:0 14px 34px var(--shadow); border:1px solid rgba(216,225,232,0.82); }
.soft-card { background:#f4fbf6; }
.hero-panel { padding:1.6rem; }
.stack-cards > * + * { margin-top:1rem; }
.top-gap { margin-top:1.25rem; }
.price { font-size:2rem; font-weight:800; color:var(--accent-strong); }
.price-inline { font-size:1.35rem; margin:0; white-space:nowrap; color:var(--accent); }
.card-heading-row { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; }
.card-heading-row h2 { margin:0; }
.service-price-card p:last-child { margin-bottom:0; }
.small-note { font-size:0.92rem; color:var(--muted); }
.hero-logo-wrap { display:grid; place-items:center; min-height:240px; margin-bottom:1rem; border-radius:var(--radius); background: linear-gradient(180deg, #f8fcf9 0%, #eef7f1 100%); border:1px solid rgba(216,225,232,0.82); padding:1.25rem; }
.hero-logo { width:min(100%, 280px); height:auto; display:block; object-fit:contain; }
.image-placeholder { min-height:180px; border-radius:var(--radius); background: repeating-linear-gradient(45deg, #dcebdd, #dcebdd 12px, #f3faf4 12px, #f3faf4 24px); border:1px dashed var(--border); display:grid; place-items:center; color:var(--muted); text-align:center; padding:1rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35); }
.image-placeholder.tall { min-height:240px; margin-bottom:1rem; }
.home-photo-card { margin:0; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--border); background:#fff; min-height:180px; }
.home-photo { display:block; width:100%; aspect-ratio: 4 / 5; object-fit:cover; object-position:center; }
.policy-card { display:block; color:inherit; text-decoration:none; height:100%; }
.policy-card:hover { transform:translateY(-2px); }
.policy-grid { align-items:stretch; }
.login-card { max-width:620px; margin:0 auto; }
form { display:grid; gap:0.9rem; }
label { display:grid; gap:0.35rem; font-weight:600; }
input, textarea, select { width:100%; padding:0.85rem; border-radius:14px; border:1px solid var(--border); font:inherit; }
textarea { min-height:120px; resize:vertical; }
.brand-wrap { display:flex; align-items:center; gap:1rem; }
.brand-logo-link { display:inline-flex; border-radius:12px; }
.brand-logo-link:hover { opacity:0.96; }
.brand-logo-link:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.brand-logo { width:82px; height:auto; display:block; object-fit:contain; flex:0 0 auto; }
.brand { font-weight:800; letter-spacing:0.08em; }
.about-page { padding-top: 2.5rem; }
.about-layout { display:grid; gap:1rem; grid-template-columns:1fr; }
.about-intro, .about-story, .about-highlight, .about-contact, .about-photo-card { height:100%; }
.about-cta-row { margin-top:1.25rem; display:flex; flex-wrap:wrap; gap:0.75rem; }
.about-photo-card { align-self:start; }
.about-photo-frame { margin:0; border-radius:18px; overflow:hidden; background:#eef7f1; }
.about-photo { display:block; width:100%; aspect-ratio: 4 / 5; object-fit:cover; object-position:center; }
.prose-flow > * + * { margin-top:1rem; }
.prose-flow p { margin-bottom:0; }

@media (min-width:900px){
  .about-layout {
    grid-template-columns:minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items:start;
  }
  .about-intro { grid-column:1 / 2; }
  .about-photo-card { grid-column:2 / 3; grid-row:1 / span 2; position:sticky; top:110px; }
  .about-story { grid-column:1 / 2; }
  .about-highlight, .about-contact { grid-column:1 / 2; }
}

@media (max-width:820px){
  .header-row,.footer-row{flex-direction:column;align-items:flex-start;}
  .hero-grid{grid-template-columns:1fr;}
}

@media (max-width:640px){
  .container { width: min(100%, 92%); }
  .site-header { position: sticky; top: 0; z-index: 60; }
  .header-row { display:grid; grid-template-columns:minmax(0, 1fr) auto; align-items:center; gap:0.75rem; padding:0.85rem 0; }
  .brand-wrap{ align-items:center; gap:0.75rem; min-width:0; }
  .brand-logo{ width:76px; }
  .brand{ font-size:0.95rem; }
  .brand-sub{ font-size:0.8rem; }
  nav { position:relative; width:auto; display:block; justify-self:end; }
  .nav-toggle { position:absolute; opacity:0; pointer-events:none; }
  .nav-toggle-button {
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    padding:0;
    border:1px solid var(--border);
    border-radius:14px;
    background:var(--surface);
    color:var(--text);
    font-size:0;
    line-height:1;
    box-shadow:0 10px 20px rgba(15, 23, 42, 0.06);
    cursor:pointer;
  }
  .nav-toggle-button::before,
  .nav-toggle-button::after {
    content:"";
    position:absolute;
    left:13px;
    width:20px;
    height:2px;
    background:currentColor;
    border-radius:999px;
  }
  .nav-toggle-button::before {
    top:16px;
    box-shadow:0 7px 0 0 currentColor, 0 14px 0 0 currentColor;
  }
  .nav-toggle-button::after {
    display:none;
  }
  .nav-panel {
    display:none;
    position:absolute;
    top:calc(100% + 0.7rem);
    right:0;
    width:min(280px, calc(100vw - 2rem));
    padding:0.9rem;
    border:1px solid var(--border);
    border-radius:18px;
    background:var(--surface);
    box-shadow:0 14px 34px var(--shadow);
    flex-direction:column;
    align-items:stretch;
    gap:0.35rem;
    z-index:40;
  }
  .nav-toggle:checked + .nav-toggle-button + .nav-panel {
    display:flex;
  }
  .nav-toggle:checked + .nav-toggle-button {
    background:var(--surface-soft);
    color:var(--accent-strong);
  }
  .nav-panel a,
  .nav-panel .nav-dropdown summary {
    display:block;
    width:100%;
    padding:0.8rem 0.9rem;
    margin:0;
    border-radius:12px;
    font-size:0.98rem;
  }
  .nav-panel a:hover,
  .nav-panel .nav-dropdown summary:hover,
  .nav-panel .nav-dropdown__menu a:hover {
    background:var(--surface-soft);
  }
  .nav-dropdown { width:100%; order:3; }
  .nav-panel > a[href="contact.html"] { order:2; }
  .nav-panel > a.nav-login-button { order:4; }
  .nav-dropdown summary { width:100%; }
  .nav-dropdown__menu {
    position:static;
    min-width:0;
    margin-top:6px;
    padding:0.3rem 0 0 0.8rem;
    border:none;
    border-radius:0;
    box-shadow:none;
    background:transparent;
  }
  .nav-dropdown__menu a {
    padding:0.75rem 0.9rem;
  }
  .nav-login-button { width:100%; text-align:center; margin-top:0.2rem; }
  .hero { padding:2.5rem 0 2.25rem; }
  .hero h1, h1 { font-size:clamp(1.85rem, 8vw, 2.5rem); }
  .lead { font-size:1rem; }
  .hero-logo-wrap { min-height:180px; padding:1rem; }
  .hero-logo { width:min(100%, 220px); }
  .cta-row { flex-direction:column; }
  .cta-row .button { width:100%; text-align:center; }
  .section { padding:2.5rem 0; }
  .card, .hero-panel { padding:1.15rem; }
  .card-heading-row { flex-direction:column; gap:0.35rem; }
  .price-inline { font-size:1.2rem; }
  .mini-points { flex-direction:column; gap:0.5rem; }
}
