
:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-2: #f0ece6;
  --text: #222222;
  --muted: #6a6a6a;
  --line: #ddd6cf;
  --accent: #01696f;
  --accent-2: #0c4e54;
  --danger: #a53b3b;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --section-padding: 68px;
  --container-width: 1100px;
  --card-radius: 20px;
  --card-padding: 22px;
  --cards-per-row: 2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; transition: background .2s ease; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 18px; }
.site-header { position: sticky; top: 0; z-index: 5; backdrop-filter: blur(10px); background: rgba(247,246,242,.9); border-bottom: 1px solid var(--line); }
.nav { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 0; flex-wrap: wrap; }
.brand { font-size: 18px; font-weight: 800; }
.menu { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.menu a { text-decoration: none; color: var(--text); font-size: 14px; }
.hero, .section { padding: var(--section-padding) 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.eyebrow { display: inline-block; background: #dbe8e6; color: var(--accent-2); padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; margin-bottom: 16px; }
h1 { margin: 0 0 14px; font-size: clamp(34px, 6vw, 52px); line-height: 1.05; }
h2 { margin: 0 0 18px; font-size: clamp(28px, 4vw, 38px); line-height: 1.1; }
h3 { margin: 0 0 10px; font-size: 21px; }
.hero-text p { font-size: 18px; margin: 0 0 22px; max-width: 62ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; border-radius: 12px; padding: 14px 20px; font-weight: 700; background: var(--accent); color: #fff; text-decoration: none; transition: .18s ease; }
.btn:hover { background: var(--accent-2); }
.hero-media { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 12px; box-shadow: var(--shadow); min-height: 260px; }
.hero-media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: 20px; background: var(--surface-2); }
.section-intro { margin: -4px 0 24px; max-width: 70ch; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); display: inline-block; }
.cards { display: grid; grid-template-columns: repeat(var(--cards-per-row), minmax(0,1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius); padding: var(--card-padding); box-shadow: var(--shadow); }
.about-box, .contacts-box, .custom-box { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.contact-list { display: grid; gap: 10px; margin-top: 14px; }
.contact-item strong { display: inline-block; min-width: 130px; }
.custom-box { display: grid; grid-template-columns: 1fr; gap: 18px; }
.custom-box.has-image { grid-template-columns: 1fr .9fr; align-items: center; }
.custom-box img { width: 100%; border-radius: 18px; min-height: 220px; max-height: 340px; object-fit: cover; background: var(--surface-2); }
.card .review-btn { margin-top: 14px; }
.site-footer { padding: 28px 0 42px; color: var(--muted); border-top: 1px solid var(--line); }
.loading-note { padding: 80px 18px; text-align: center; color: var(--muted); }
@media (max-width: 820px) {
  .hero-grid, .custom-box.has-image, .cards { grid-template-columns: 1fr; }
  .hero, .section { padding: 54px 0; }
}

/* Admin-only styles */
.layout { display: grid; grid-template-columns: minmax(0,1fr) 420px; min-height: 100vh; }
.site-area { min-width: 0; }
.editor { position: sticky; top: 0; height: 100vh; overflow: auto; border-left: 1px solid var(--line); background: #fcfbf8; padding: 20px; }
.editor h2, .editor h3 { margin: 0 0 12px; }
.editor p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.editor-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; box-shadow: var(--shadow); }
.editor-grid.two { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field textarea { width: 100%; border: 1px solid #cfc7bf; border-radius: 12px; padding: 10px 12px; background: #fff; color: var(--text); font: inherit; }
.field textarea { min-height: 88px; resize: vertical; }
.editor button { border: 0; cursor: pointer; border-radius: 12px; padding: 12px 16px; font-weight: 700; transition: .18s ease; }
.editor button.primary { background: var(--accent); color: #fff; }
.editor button.primary:hover { background: var(--accent-2); }
.editor button.secondary { background: #ebe5de; color: var(--text); }
.editor button.danger { background: #f8e5e5; color: var(--danger); }
.tiny-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.editor-list { display: grid; gap: 12px; }
.editor-item { border: 1px dashed #cbbfb4; border-radius: 14px; padding: 12px; background: #fffcfa; }
.muted { color: var(--muted); font-size: 13px; }
.admin-banner { background: #2c2c2c; color: #fff; padding: 10px 18px; font-size: 13px; text-align: center; }
.login-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); max-width: 360px; width: 100%; }
.login-box h2 { margin-bottom: 8px; }
.login-box p { margin-bottom: 16px; }
.login-box input { width: 100%; border: 1px solid #cfc7bf; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; font: inherit; }
.login-box .btn { width: 100%; }
.login-error { color: var(--danger); font-size: 13px; margin-bottom: 10px; display: none; }
@media (max-width: 1100px) {
  .layout { grid-template-columns: 1fr; }
  .editor { position: static; height: auto; border-left: 0; border-top: 1px solid var(--line); }
}


/* Service detail page */
.service-sublist { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.service-sublist li { border-top: 1px dashed var(--line); padding-top: 8px; }
.service-sublist li:first-child { border-top: 0; padding-top: 0; }
.service-link { color: var(--accent-2); text-decoration: none; border-bottom: 2px solid var(--accent); transition: .18s ease; cursor: pointer; font-weight: 600; }
.service-link:hover { color: var(--accent); }
.service-back { display: inline-block; margin-bottom: 20px; color: var(--accent); text-decoration: none; font-weight: 700; }
.service-back:hover { color: var(--accent-2); }
.service-detail-grid { display: grid; grid-template-columns: 1fr; gap: 28px; border-radius: var(--card-radius); padding: 20px; }
.service-detail-grid.has-image { grid-template-columns: .9fr 1.1fr; align-items: start; }
.service-detail-media img { width: 100%; border-radius: var(--card-radius); box-shadow: var(--shadow); background: var(--surface-2); object-fit: cover; min-height: 260px; }
.service-detail-text h1 { margin-bottom: 16px; }
.service-detail-body { font-size: 17px; margin-bottom: 24px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius); padding: 20px 22px; box-shadow: var(--shadow); }
@media (max-width: 820px) {
  .service-detail-grid.has-image { grid-template-columns: 1fr; }
}
