:root {
  --ink: #24322f;
  --muted: #63726e;
  --paper: #fbfaf7;
  --soft: #f1eee7;
  --sage: #6f8f83;
  --sage-dark: #365b52;
  --clay: #b46f59;
  --clay-soft: #f3ded6;
  --gold: #d9a94d;
  --line: #ded8cc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(36, 50, 47, 0.12);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: var(--white);
  border-bottom: 1px solid rgba(222, 216, 204, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 300px;
}

.brand-logo {
  width: min(300px, 42vw);
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
  margin-left: auto;
  order: 2;
}

.main-nav a {
  padding: 10px 13px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--sage-dark);
  background: var(--soft);
}

.main-nav .admin-link {
  margin-left: 8px;
  color: var(--white);
  background: var(--ink);
}

.main-nav .admin-link:hover,
.main-nav .admin-link.active {
  color: var(--white);
  background: var(--sage-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  order: 3;
}

.language-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 134px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font-weight: 700;
}

.language-picker span {
  font-size: 1.05rem;
  line-height: 1;
}

.language-picker select {
  width: 100%;
  padding: 0 20px 0 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  cursor: pointer;
  appearance: none;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

main {
  overflow: hidden;
}

.hero,
.page-hero,
.page-title,
.content-layout,
.contact-layout,
.service-grid,
.personal-intro,
.faq-list,
.testimonial-grid,
.link-list,
.admin-shell,
.intro-band,
.cta-band,
.statement-band {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.78fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  padding: clamp(42px, 7vw, 82px) 0 34px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.5vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--sage-dark);
}

.button.primary:hover {
  background: #294b44;
}

.button.secondary {
  color: var(--sage-dark);
  background: var(--soft);
}

.hero-visual {
  margin: 0;
}

.hero-visual img,
.portrait-placeholder,
.contact-card,
.info-panel,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
}

.intro-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--sage-dark);
  color: var(--white);
  border-radius: 8px;
}

.intro-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.quick-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.quick-card span,
.quick-card strong {
  display: block;
}

.quick-card span {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.personal-intro {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding: 62px 0 0;
}

.photo-card {
  margin: 0;
  overflow: hidden;
  width: 210px;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.photo-card img,
.portrait-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.personal-intro p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
}

.text-link {
  color: var(--sage-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 64px 0;
}

.service-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card img {
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
}

.service-card p,
.copy-block p,
.link-list p,
.faq-list p {
  color: var(--muted);
}

.cta-band,
.statement-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--clay-soft);
  border-radius: 8px;
}

.cta-band p {
  margin-bottom: 0;
  max-width: 680px;
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(44px, 6vw, 76px) 0;
}

.page-title {
  padding: clamp(42px, 6vw, 72px) 0 24px;
}

.page-title h1,
.page-hero h1,
.hero-copy h1,
.admin-panel h1 {
  font-size: clamp(1.95rem, 3.75vw, 3.45rem);
  line-height: 1.05;
}

.portrait-placeholder {
  margin: 0;
  overflow: hidden;
  width: min(300px, 100%);
  aspect-ratio: 4 / 5;
}

.portrait-placeholder figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.content-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding-bottom: 36px;
}

.copy-block {
  max-width: 720px;
}

.info-panel,
.contact-card,
.admin-panel {
  padding: 26px;
}

.contact-card {
  align-self: start;
}

.contact-card p {
  margin-bottom: 12px;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.address-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.address-list p {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.address-list strong,
.address-list span {
  display: block;
}

.locations-section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 72px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 20px;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.map-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(36, 50, 47, 0.08);
}

.map-card p {
  color: var(--muted);
}

.map-card iframe {
  width: 100%;
  height: 300px;
  margin: 6px 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--soft);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 13px;
  height: 8px;
  border-left: 3px solid var(--sage);
  border-bottom: 3px solid var(--sage);
  transform: rotate(-45deg);
}

.statement-band {
  justify-content: center;
  background: var(--sage-dark);
  color: var(--white);
}

.statement-band p {
  margin: 0;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.2;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 14px;
  padding: 22px 0 72px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 22px 0 72px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(36, 50, 47, 0.08);
}

.testimonial-card p {
  position: relative;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.03rem;
}

.testimonial-card p::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--clay);
}

.testimonial-card strong {
  color: var(--sage-dark);
  font-size: 1.05rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

summary {
  padding: 18px 22px;
  color: var(--sage-dark);
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.contact-form,
.admin-form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note,
.muted {
  color: var(--muted);
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 22px 0 72px;
}

.link-list article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.link-list a {
  color: var(--sage-dark);
  font-weight: 800;
}

.admin-shell {
  display: grid;
  place-items: center;
  min-height: 68vh;
  padding: 54px 0;
}

.admin-panel {
  width: min(560px, 100%);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav .admin-link {
    margin-left: 0;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero,
  .page-hero,
  .intro-band,
  .content-layout,
  .contact-layout,
  .link-list,
  .personal-intro,
  .testimonial-grid,
  .map-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .photo-card {
    width: min(220px, 100%);
  }

  .personal-intro > div {
    padding-inline: clamp(12px, 4vw, 28px);
  }

  .service-grid {
    padding: 40px 0;
  }

  .cta-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    align-items: center;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 190px;
  }

  .brand-logo {
    width: min(230px, 58vw);
  }

  .language-picker {
    min-width: 70px;
  }

  .language-picker select {
    max-width: 28px;
    color: transparent;
  }

  .hero,
  .page-title,
  .page-hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .button {
    width: 100%;
  }
}
