:root {
  --bg: #f7f8f5;
  --paper: #ffffff;
  --soft: #eef3f6;
  --ink: #172231;
  --muted: #5e6b78;
  --line: #dce4ea;
  --blue: #1769aa;
  --blue-dark: #0d4573;
  --green: #5e7d57;
  --shadow: 0 18px 48px rgba(23, 34, 49, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-grid;
  gap: 4px;
  color: var(--ink);
  min-width: 0;
}

.brand strong,
.site-footer strong {
  font-size: 1.02rem;
  line-height: 1;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.site-nav a:hover {
  color: var(--blue);
}

.header-call,
.button,
.mobile-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
}

.button.primary,
.header-call,
.mobile-call {
  color: white;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(23, 105, 170, 0.22);
}

.button.secondary {
  color: var(--blue-dark);
  background: #eef7ff;
  border-color: #c8dff2;
}

.header-call:hover,
.button.primary:hover,
.mobile-call:hover {
  background: var(--blue-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  color: var(--blue-dark);
  font-weight: 850;
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.82fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  padding: 132px clamp(18px, 5vw, 72px) 60px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.88), rgba(247, 248, 245, 0.72)),
    var(--bg);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

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

.hero-copy p:not(.eyebrow),
.section-heading p,
.why-copy p,
.appointment-copy p,
blockquote p,
details p,
.site-footer p,
.portfolio-note p {
  color: var(--muted);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  font-size: 1.1rem;
}

.hero-trust {
  margin: 18px 0 0;
  padding-left: 16px;
  border-left: 4px solid var(--blue);
  color: var(--ink);
  font-weight: 850;
}

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

.hero-photo,
.area figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.hero-photo {
  aspect-ratio: 1.08;
}

.hero-photo img,
.area img {
  height: 100%;
  object-fit: cover;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-bar div {
  padding: 20px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 850;
}

.section {
  padding: 86px clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
}

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

.service-grid article,
.why-grid article,
blockquote,
details,
.appointment-form {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(23, 34, 49, 0.07);
}

.service-grid article {
  padding: 24px;
  min-height: 210px;
}

.service-grid article::before,
.why-grid article::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--blue);
}

.service-grid p,
.why-grid p {
  color: var(--muted);
}

.why {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  background: #eef3f6;
}

.why-copy {
  max-width: 580px;
}

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

.why-grid article {
  padding: 24px;
}

.packages {
  background: var(--paper);
}

.package-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.package-list article {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.package-list article > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: clamp(1.08rem, 2vw, 1.48rem);
}

.package-list strong {
  color: var(--blue-dark);
  white-space: nowrap;
}

.package-list p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

blockquote {
  margin: 0;
  padding: 26px;
}

cite {
  color: var(--blue-dark);
  font-style: normal;
  font-weight: 850;
}

.area {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.82fr);
  gap: 34px;
  align-items: center;
  background: #f1f5f1;
}

.area figure {
  aspect-ratio: 1.45;
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 34px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
}

.appointment {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 40px;
  align-items: start;
  background: var(--paper);
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfdbe3;
  border-radius: 12px;
  background: #fbfcfd;
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.checkbox-label {
  grid-template-columns: auto 1fr;
  align-items: center;
  align-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 4px;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
}

.wide {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--blue-dark);
  font-weight: 750;
}

.built-trust {
  margin: 0 clamp(18px, 5vw, 72px);
  padding: 30px;
  border: 1px solid #c8dff2;
  border-radius: 18px;
  background: #e8f2fb;
  box-shadow: 0 12px 34px rgba(23, 34, 49, 0.07);
}

.built-trust p:last-child {
  max-width: 880px;
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 750;
}

.portfolio-note {
  padding: 34px clamp(18px, 5vw, 72px);
  background: #e8f2fb;
  border-top: 1px solid #c8dff2;
  border-bottom: 1px solid #c8dff2;
}

.portfolio-note p {
  max-width: 980px;
  margin: 0;
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 34px clamp(18px, 5vw, 72px) 94px;
  background: #172231;
  color: white;
}

.site-footer p {
  margin-bottom: 0;
  color: #cbd5df;
}

.site-footer a {
  color: white;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-call {
  display: none;
  position: fixed;
  z-index: 40;
  left: 14px;
  right: 14px;
  bottom: 14px;
  min-height: 54px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav,
  .header-call {
    display: none;
  }

  .menu-toggle {
    display: grid;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
  }

  body.menu-open .site-nav {
    position: fixed;
    top: 76px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  body.menu-open .site-nav a {
    padding: 14px;
  }

  .hero,
  .section-heading,
  .why,
  .area,
  .faq,
  .appointment {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    aspect-ratio: 1.8;
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 13px 16px;
  }

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

  .brand small {
    font-size: 0.68rem;
  }

  .button,
  .mobile-call {
    width: 100%;
  }

  .hero {
    padding: 112px 18px 46px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .hero-photo,
  .area figure {
    aspect-ratio: 1.35;
  }

  .section {
    padding: 58px 18px;
  }

  .trust-bar,
  .service-grid,
  .why-grid,
  .review-grid,
  .appointment-form {
    grid-template-columns: 1fr;
  }

  .appointment-form {
    gap: 18px;
    padding: 20px;
  }

  label {
    gap: 9px;
  }

  .checkbox-label {
    min-height: auto;
    padding: 4px 0;
  }

  .package-list article > div,
  .site-footer {
    display: grid;
  }

  .package-list article > div {
    gap: 4px;
  }

  .package-list strong {
    white-space: normal;
  }

  .built-trust {
    margin: 0 18px;
    padding: 22px;
  }

  .site-footer {
    padding-bottom: 112px;
  }

  .mobile-call {
    display: flex;
  }
}
