:root {
  --ivory: #FAF7F0;
  --ivory-2: #F6F1E7;
  --beige: #EFE7DA;
  --sand: #E3D6C2;
  --sage: #8A9A7B;
  --sage-dark: #5F6F55;
  --sage-soft: #DDE3D5;
  --brown: #7A5C43;
  --brown-dark: #5B4331;
  --ink: #2F2A24;
  --muted: #6B635A;
  --line: rgba(47, 42, 36, 0.1);
  --shadow: 0 1px 2px rgba(47, 42, 36, 0.03), 0 8px 24px rgba(47, 42, 36, 0.04);
  --radius: 22px;
  --radius-lg: 36px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1220px;
  --header-h: 82px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--ivory);
  background-image: radial-gradient(rgba(122, 92, 67, 0.035) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brown); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--sage-dark); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; color: var(--muted); }

ul { padding-left: 1.2em; color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.skip-link {
  position: absolute; left: -9999px; top: 10px; z-index: 200;
  background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { left: 10px; color: var(--ivory); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage-dark); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--sage); }

.lead { font-size: 1.12rem; line-height: 1.8; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 240, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(47, 42, 36, 0.03); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-logo { width: 42px; height: 42px; flex-shrink: 0; display: block; }
.brand-name {
  font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: .2em;
  line-height: 1; white-space: nowrap;
}
.brand-name span { color: var(--sage-dark); font-weight: 500; }

.main-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-list a {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  font-size: .9rem; font-weight: 500; color: var(--ink);
}
.nav-list a:hover { background: var(--beige); color: var(--ink); }
.nav-list a.active { background: var(--sage-soft); color: var(--sage-dark); }
.nav-list .nav-cta a { background: var(--ink); color: var(--ivory); margin-left: 8px; padding: 9px 18px; }
.nav-list .nav-cta a:hover { background: var(--brown-dark); color: var(--ivory); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--ivory); color: var(--ink); font-size: 1.4rem; cursor: pointer;
  align-items: center; justify-content: center;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: .95rem; font-weight: 500; line-height: 1;
  cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn i { font-size: 1.1rem; transition: transform .25s ease; }
.btn:hover i { transform: translateX(3px); }
.btn-primary { background: var(--sage-dark); color: var(--ivory); }
.btn-primary:hover { background: var(--brown-dark); color: var(--ivory); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(47, 42, 36, 0.25); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn-light { background: var(--ivory); color: var(--ink); }
.btn-light:hover { background: var(--beige); color: var(--ink); }
.btn-block { width: 100%; }

.hero { padding: 40px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; min-height: calc(88vh - var(--header-h)); }
.hero-text h1 { margin-bottom: 26px; }
.hero-text h1 em { font-style: italic; color: var(--sage-dark); }
.hero-text .lead { max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { display: flex; gap: 36px; margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-meta div strong { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; color: var(--ink); line-height: 1; }
.hero-meta div span { font-size: .85rem; color: var(--muted); }

.hero-media { position: relative; }
.hero-media .blob {
  position: absolute; width: 70%; height: 70%; right: -6%; top: -6%;
  background: var(--sage-soft); border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%; z-index: 0;
}
.hero-media .blob-2 {
  position: absolute; width: 38%; height: 38%; left: -7%; bottom: -7%;
  background: var(--sand); border-radius: 42% 58% 60% 40% / 52% 40% 60% 48%; z-index: 0;
}
.hero-photo {
  position: relative; z-index: 1; overflow: hidden;
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  aspect-ratio: 4 / 5; background: var(--beige); box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; z-index: 2; left: -28px; top: 18%;
  background: var(--ivory); border-radius: 18px; padding: 16px 20px;
  display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); max-width: 260px;
}
.hero-badge i { font-size: 1.8rem; color: var(--sage-dark); background: var(--sage-soft); border-radius: 12px; padding: 8px; }
.hero-badge strong { display: block; font-size: .92rem; color: var(--ink); line-height: 1.3; }
.hero-badge span { font-size: .78rem; color: var(--muted); }

.page-hero { padding: 70px 0 60px; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.page-hero .photo { border-radius: var(--radius-lg) 160px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--beige); box-shadow: var(--shadow); }
.page-hero .photo img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--sage-dark); }
.breadcrumb i { font-size: .8rem; }

.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.section-alt { background: var(--ivory-2); }
.section-beige { background: var(--beige); }
.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head-row .section-head { margin-bottom: 0; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.service-card {
  display: flex; flex-direction: column; background: var(--ivory);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-4px); }
.service-card .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--beige); position: relative; }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.service-card:hover .media img { transform: scale(1.04); }
.service-card .tag {
  position: absolute; left: 22px; top: 22px; background: rgba(250, 247, 240, 0.92);
  border-radius: 999px; padding: 7px 14px; font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--sage-dark);
  display: inline-flex; align-items: center; gap: 8px;
}
.service-card .tag i { font-size: 1rem; }
.service-card .body { padding: 34px 36px 36px; display: flex; flex-direction: column; flex: 1; }
.service-card .body h3 { margin-bottom: 14px; }
.service-card .body p { flex: 1; }
.service-card ul.points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.service-card ul.points li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--muted); }
.service-card ul.points li i { color: var(--sage-dark); font-size: 1.15rem; margin-top: 3px; flex-shrink: 0; }
.service-card .btn { margin-top: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split + .split { margin-top: 110px; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media .photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--beige); box-shadow: var(--shadow); position: relative; z-index: 1; }
.split-media .photo img { width: 100%; height: 100%; object-fit: cover; }
.split-media .shape {
  position: absolute; z-index: 0; width: 46%; height: 52%; bottom: -26px; right: -26px;
  background: var(--sage-soft); border-radius: 50% 40% 46% 54% / 54% 46% 54% 46%;
}
.split.reverse .split-media .shape { right: auto; left: -26px; background: var(--sand); }
.split-text .check-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.split-text .check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.split-text .check-list li i { color: var(--sage-dark); font-size: 1.3rem; margin-top: 2px; flex-shrink: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature {
  background: var(--ivory); border-radius: var(--radius); padding: 36px 32px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.feature .icon {
  width: 56px; height: 56px; border-radius: 18px 18px 18px 6px; background: var(--sage-soft);
  color: var(--sage-dark); display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 22px;
}
.feature:nth-child(3n+2) .icon { background: var(--sand); color: var(--brown); }
.feature:nth-child(3n) .icon { background: var(--beige); color: var(--brown-dark); }
.feature h4 { font-size: 1.45rem; margin-bottom: 10px; }
.feature p { margin: 0; font-size: .95rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 30px 26px; border-left: 1px solid rgba(47, 42, 36, 0.15); }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 500; line-height: 1; color: var(--ink); margin-bottom: 10px; }
.stat span { font-size: .92rem; color: var(--muted); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding: 34px 28px; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--line); }
.process-step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--serif); font-size: 2.6rem; color: var(--sand); line-height: 1; display: block; margin-bottom: 16px;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { margin: 0; font-size: .93rem; }

.quote-block { max-width: 880px; margin: 0 auto; text-align: center; }
.quote-block i.ph-quotes { font-size: 2.6rem; color: var(--sage); }
.quote-block blockquote { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.35; color: var(--ink); margin: 18px 0 24px; font-style: italic; }
.quote-block cite { font-style: normal; font-size: .9rem; color: var(--muted); letter-spacing: .06em; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.team-card { background: var(--ivory); border-radius: var(--radius); padding: 34px 30px; border: 1px solid var(--line); text-align: left; }
.team-card .avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--sage-soft); color: var(--sage-dark);
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.5rem; margin-bottom: 20px;
}
.team-card:nth-child(2) .avatar { background: var(--sand); color: var(--brown); }
.team-card:nth-child(3) .avatar { background: var(--beige); color: var(--brown-dark); }
.team-card h4 { margin-bottom: 4px; }
.team-card .role { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 14px; display: block; }
.team-card p { font-size: .94rem; margin: 0; }

.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--sage-dark); color: var(--ivory); padding: 72px 64px;
  display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; width: 380px; height: 380px; right: -100px; top: -140px;
  background: rgba(250, 247, 240, 0.08); border-radius: 46% 54% 42% 58% / 56% 44% 56% 44%;
}
.cta-band::after {
  content: ""; position: absolute; width: 220px; height: 220px; left: 38%; bottom: -130px;
  background: rgba(227, 214, 194, 0.12); border-radius: 50%;
}
.cta-band h2 { color: var(--ivory); margin-bottom: 12px; }
.cta-band p { color: rgba(250, 247, 240, 0.78); margin: 0; max-width: 560px; }
.cta-band > * { position: relative; z-index: 1; }

.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; align-items: start; }
.form-card { background: var(--ivory); border-radius: var(--radius-lg); padding: 48px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: .86rem; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.form-group label .req { color: var(--brown); }
.form-control {
  width: 100%; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(47, 42, 36, 0.16);
  background: #FFFDF9; font-family: var(--sans); font-size: .95rem; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease; appearance: none; -webkit-appearance: none;
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 256 256'%3E%3Cpath fill='%236B635A' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px;
}
textarea.form-control { min-height: 150px; resize: vertical; }
.form-control:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px rgba(138, 154, 123, 0.18); }
.form-group.has-error .form-control { border-color: #A0533F; }
.field-error { display: none; font-size: .8rem; color: #A0533F; margin-top: 6px; }
.form-group.has-error .field-error { display: block; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.checkbox input { margin-top: 5px; width: 17px; height: 17px; accent-color: var(--sage-dark); flex-shrink: 0; }
.form-success {
  display: none; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: 16px;
  background: var(--sage-soft); color: var(--sage-dark); margin-bottom: 24px;
}
.form-success.show { display: flex; }
.form-success i { font-size: 1.5rem; flex-shrink: 0; }
.form-success p { margin: 0; color: var(--sage-dark); }

.info-card { background: var(--beige); border-radius: var(--radius-lg); padding: 44px 40px; }
.info-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 24px; }
.info-list li { display: flex; gap: 18px; align-items: flex-start; }
.info-list .ic {
  width: 48px; height: 48px; border-radius: 15px; background: var(--ivory); color: var(--sage-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0;
}
.info-list strong { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 2px; }
.info-list a, .info-list span { color: var(--muted); font-size: 1rem; }
.info-list a:hover { color: var(--sage-dark); }
.map-wrap { margin-top: 30px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; background: var(--sand); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.55) sepia(0.15); }

.legal { padding: 60px 0 100px; }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); background: var(--beige); border-radius: var(--radius); padding: 28px 26px; }
.legal-toc h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.legal-toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: .9rem; }
.legal-toc a { color: var(--muted); }
.legal-toc a:hover { color: var(--sage-dark); }
.legal-content { background: var(--ivory); border-radius: var(--radius-lg); padding: 56px 60px; border: 1px solid var(--line); }
.legal-content h2 { font-size: 1.85rem; margin-top: 44px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content li { margin-bottom: 8px; }
.legal-meta { display: inline-flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--muted); background: var(--ivory); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; font-size: .92rem; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.legal-table th { color: var(--ink); font-weight: 600; background: var(--ivory-2); }
.table-scroll { overflow-x: auto; }

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 34px; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-name { font-weight: 600; letter-spacing: .2em; font-size: .95rem; color: var(--ink); margin-bottom: 14px; display: inline-block; }
.footer-name span { color: var(--sage-dark); font-weight: 500; }
.footer-top p { font-size: .92rem; max-width: 320px; }
.footer-top h5 { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 4px 0 16px; font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-size: .92rem; }
.footer-links a:hover { color: var(--sage-dark); }
.footer-links li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.footer-links li i { color: var(--sage-dark); margin-top: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--sage-dark); }
.footer-bottom .legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }
.link-button:hover { color: var(--sage-dark); }

.cookie-box {
  position: fixed; z-index: 300; left: 24px; bottom: 24px; max-width: 420px; width: calc(100% - 48px);
  background: var(--ivory); border: 1px solid var(--line); border-radius: 24px; padding: 26px 26px 22px;
  box-shadow: 0 2px 6px rgba(47, 42, 36, 0.04), 0 20px 50px rgba(47, 42, 36, 0.1);
  transform: translateY(30px); opacity: 0; visibility: hidden; transition: all .4s ease;
}
.cookie-box.show { transform: translateY(0); opacity: 1; visibility: visible; }
.cookie-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.cookie-head i { font-size: 1.6rem; color: var(--brown); background: var(--beige); border-radius: 12px; padding: 7px; }
.cookie-head h4 { margin: 0; font-size: 1.35rem; }
.cookie-box p { font-size: .88rem; margin-bottom: 16px; }
.cookie-prefs { display: none; border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 16px; }
.cookie-prefs.show { display: grid; gap: 12px; }
.cookie-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .88rem; color: var(--ink); }
.cookie-opt small { display: block; color: var(--muted); font-size: .78rem; }
.switch { position: relative; width: 42px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--sand); border-radius: 999px; cursor: pointer; transition: background .2s; }
.switch span::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; }
.switch input:checked + span { background: var(--sage-dark); }
.switch input:checked + span::before { transform: translateX(18px); }
.switch input:disabled + span { opacity: .6; cursor: not-allowed; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 12px 16px; font-size: .86rem; flex: 1; white-space: nowrap; }

.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--ivory); color: var(--ink); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--ink); color: var(--ivory); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

.img-fallback { background: linear-gradient(135deg, var(--beige), var(--sand)); }
.img-fallback img { opacity: 0; }

.notfound { text-align: center; padding: 120px 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

@media (max-width: 1080px) {
  .hero-grid { gap: 44px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split { gap: 50px; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 920px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    padding: 16px 28px 26px; box-shadow: 0 20px 40px rgba(47, 42, 36, 0.06);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list a { display: block; padding: 13px 16px; font-size: 1rem; border-radius: 14px; }
  .nav-list .nav-cta a { margin: 10px 0 0; text-align: center; padding: 14px; }
  body.nav-open { overflow: hidden; }

  .hero { padding: 30px 0 70px; }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { max-width: 560px; width: 100%; margin: 20px auto 0; }
  .hero-badge { left: 10px; top: auto; bottom: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split + .split { margin-top: 80px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 56px 40px; }
  .section { padding: 80px 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: .82rem; letter-spacing: .14em; }
  .hero-meta { gap: 24px; }
  .hero-meta div strong { font-size: 1.8rem; }
  .hero-photo { border-radius: 140px 140px var(--radius) var(--radius); }
  .feature-grid, .process, .team-grid, .stats { grid-template-columns: 1fr; }
  .service-card .body { padding: 28px 24px 28px; }
  .form-card, .info-card { padding: 30px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .legal-content { padding: 34px 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { padding: 44px 26px; }
  .cookie-box { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 22px 20px 18px; }
  .section { padding: 64px 0; }
  .split-media .shape { right: -10px; bottom: -14px; }
  .split.reverse .split-media .shape { left: -10px; }
  .btn { padding: 14px 22px; }
}
