:root {
  --ink: #101a33;
  --ink-soft: #3d4a5c;
  --muted: #5c6778;
  --cream: #fdf6ec;
  --cream-2: #f8f1e6;
  --green: #14911f;
  --green-dark: #0f7a18;
  --line: #d7dce3;
  --white: #ffffff;
  --shadow: 0 10px 28px rgba(18, 32, 51, 0.08);
  --header: 76px;
  --max: 1160px;
  font-family: Manrope, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--white);
  font-family: inherit;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  background: #fff;
}
.site-header__inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.logo {
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.035em;
  white-space: nowrap;
  color: #10182c;
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  color: #1b2433;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--green-dark); }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.header-phone--desktop {
  padding-left: 1.35rem;
  border-left: 1px solid #e4e7ec;
}
.header-phone svg { color: var(--green); flex-shrink: 0; }
.nav-toggle, .nav-toggle-btn { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.96fr) minmax(360px, 1.04fr);
  min-height: 540px;
  background: var(--cream);
}
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 3.5rem 3.5rem max(1.5rem, calc((100vw - 1280px) / 2 + 1.5rem));
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 2.6vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.038em;
  font-weight: 800;
}
.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
  font-weight: 500;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero__photo {
  min-height: 420px;
  background: #ddd center / cover no-repeat;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  min-height: 420px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.75rem 1.2rem;
  border-radius: 12px;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--wa {
  background: var(--green);
  color: #fff;
}
.btn--wa:hover { background: var(--green-dark); }
.btn--call {
  background: #fff;
  color: var(--ink);
  border-color: #1c2838;
}
.btn--call:hover { background: var(--cream); }
.btn svg { flex-shrink: 0; }

.services {
  padding: 4.25rem 1.5rem 4.5rem;
}
.services h2,
.section-title {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}
.service-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.service-card {
  background: var(--cream-2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(18, 32, 51, 0.04);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.service-card img {
  width: 100%;
  height: 188px;
  object-fit: cover;
  background: #fff;
}
.service-card span,
.service-card strong {
  display: block;
  padding: 0.95rem 0.75rem 1.05rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.02rem;
}
.service-card:hover { outline: 2px solid rgba(28, 154, 70, 0.35); }

.page-hero {
  background: var(--cream);
  padding: 3.25rem 1.5rem 2.5rem;
}
.page-hero__inner,
.page-wrap {
  max-width: 960px;
  margin: 0 auto;
}
.page-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.page-hero p {
  margin: 0;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.page-wrap { padding: 2.5rem 1.5rem 4rem; }

.detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--cream);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.detail img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.detail__body { padding: 1.25rem 1.5rem 1.4rem 0; }
.detail h2 { margin: 0 0 0.4rem; font-size: 1.35rem; letter-spacing: -0.02em; }
.detail p { margin: 0; color: var(--ink-soft); }
.detail:nth-child(even) { background: #fff; border: 1px solid #ece7de; }

.more {
  margin-top: 2.5rem;
}
.more h2 { font-size: 1.45rem; margin-bottom: 1rem; }
.more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.more-grid article {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.1rem 1.15rem 1.2rem;
}
.more-grid h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.more-grid p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.ref-card {
  background: var(--cream);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ref-card img { width: 100%; height: 230px; object-fit: cover; }
.ref-card div { padding: 1rem 1.1rem 1.2rem; }
.ref-card h2 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.ref-card p { margin: 0; color: var(--ink-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.contact-card {
  background: var(--cream);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.45rem;
  min-height: 160px;
}
.contact-card h2 { margin: 0.65rem 0 0.35rem; font-size: 1.15rem; }
.contact-card p { margin: 0; color: var(--ink-soft); }
.contact-card a { font-weight: 800; color: var(--ink); }
.contact-card a:hover { color: var(--green-dark); }
.icon-bubble {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--green);
}
.note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal {
  background: #fff;
  border: 1px solid #ece7de;
  border-radius: 18px;
  padding: 1.5rem 1.35rem 1.75rem;
}
.legal h2 { margin: 1.6rem 0 0.45rem; font-size: 1.12rem; }
.legal h2:first-of-type, .legal .legal-block { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); font-size: 0.96rem; }
.legal a { color: var(--green-dark); font-weight: 700; }
.legal ul { padding-left: 1.2rem; }
.legal-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ece7de;
}
.legal-toc { display: flex; gap: 1rem; font-weight: 700; margin-bottom: 1.25rem; }
.legal-toc a { color: var(--green-dark); }

.site-footer {
  margin-top: auto;
  border-top: 1px solid #ece7de;
  background: var(--cream);
  padding: 1.4rem 1.5rem 1.6rem;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.site-footer__links { display: flex; gap: 1rem; }
.site-footer a { font-weight: 700; }
.site-footer a:hover { color: var(--green-dark); }

@media (min-width: 761px) {
  .site-nav .header-phone { display: none; }
  .header-phone--desktop { margin-left: 1.75rem; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero__copy { padding: 2.4rem 1.35rem 2.2rem; }
  .hero h1 { max-width: none; }
  .hero__photo img { min-height: 280px; max-height: 380px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; }
  .detail img { height: 210px; }
  .detail__body { padding: 0.2rem 1.15rem 1.2rem; }
  .contact-grid, .more-grid, .ref-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle-btn {
    display: grid;
    place-items: center;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
  }
  .nav-toggle-btn span,
  .nav-toggle-btn span::before,
  .nav-toggle-btn span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    position: relative;
    content: "";
  }
  .nav-toggle-btn span::before { position: absolute; top: -6px; }
  .nav-toggle-btn span::after { position: absolute; top: 6px; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1.25rem 1rem;
    gap: 0.2rem;
    margin: 0;
  }
  .site-nav a, .site-nav .header-phone { padding: 0.7rem 0; width: 100%; }
  .header-phone--desktop { display: none; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card img { height: 200px; }
}
