.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  background:
    linear-gradient(90deg, #fff 0%, #fff 38%, rgba(255,255,255,.9) 48%, rgba(255,255,255,0) 64%),
    linear-gradient(180deg, #f8f9fb 0%, #fff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(780px, .94fr) minmax(280px, 1.06fr);
  align-items: center;
  min-height: 690px;
  padding: 46px 0 38px;
}
.hero-content { position: relative; z-index: 2; max-width: 780px; min-width: 0; }
.hero h1 {
  width: 100%;
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 3.8vw, 56px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}
.hero h1 span { color: var(--gold); }
.hero h1 .hero-line {
  color: var(--navy);
  display: inline-block;
  font-size: 1em;
  white-space: nowrap;
}
.hero-lead {
  max-width: 520px;
  margin-bottom: 30px;
  color: #344052;
  font-size: 17px;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.hero-whatsapp {
  gap: 11px;
  color: #fff;
  background: #25D366;
  box-shadow: 0 14px 34px rgba(37, 211, 102, .26);
}
.hero-whatsapp svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  fill: currentColor;
}
.hero-whatsapp:hover,
.hero-whatsapp:focus-visible {
  color: #fff;
  background: #1EBE5D;
  box-shadow: 0 16px 36px rgba(30, 190, 93, .3);
}
.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(720px, 92vw);
}
.hero-badges div {
  display: flex;
  align-items: center;
  min-height: 58px;
  gap: 11px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 750;
}
.hero-badges svg { width: 27px; height: 27px; }
.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(62vw, 940px);
  overflow: hidden;
}
.hero-photo picture { display: block; width: 100%; height: 100%; }
.hero-photo::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 38%;
  content: "";
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.82) 44%, rgba(255,255,255,0) 100%);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.service-catalog-section { background: #fff; }
.service-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.service-category {
  border: 1px solid rgba(7,26,51,.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(7,26,51,.045);
  overflow: hidden;
}
.service-category summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.service-category summary::-webkit-details-marker { display: none; }
.service-category summary::after {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(7,26,51,.14);
  border-radius: 50%;
  color: var(--gold);
  content: "↓";
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 900;
  transition: transform .2s ease, border-color .2s ease;
}
.service-category[open] summary::after {
  border-color: rgba(182,138,66,.42);
  transform: rotate(180deg);
}
.service-category summary span {
  min-width: 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.16;
}
.service-category summary small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.service-category-list {
  padding: 0 24px 18px;
}
.service-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}
.service-line span { min-width: 0; }
.service-line b {
  color: var(--gold);
  font-size: 18px;
  transition: transform .2s ease;
}
.service-line:hover b,
.service-line:focus-visible b { transform: translateX(3px); }
.advantages {
  position: relative;
  overflow: hidden;
  padding: 82px 0 76px;
  color: var(--white);
  background: linear-gradient(135deg, #06172d 0%, #071a33 58%, #0f2a4a 100%);
}
.advantages-grid {
  display: grid;
  grid-template-columns: minmax(430px, 1.2fr) repeat(3, 1fr);
  gap: 36px;
  align-items: start;
}
.advantages h2 {
  color: var(--white);
  max-width: 560px;
  font-size: clamp(36px, 3.15vw, 46px);
  line-height: 1.08;
}
.advantages article {
  min-height: 160px;
  padding-top: 4px;
}
.advantages article i { color: var(--gold-light); }
.advantages article h3 {
  margin: 22px 0 12px;
  font-size: 21px;
  line-height: 1.2;
}
.advantages article p,
.footer p {
  color: rgba(255,255,255,.74);
  font-size: 16px;
  line-height: 1.65;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 78px;
  align-items: center;
}
.about-panel {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 0;
  border-radius: 8px;
  color: var(--white);
  overflow: hidden;
  background: none;
  box-shadow: var(--shadow);
}
.about-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.about-panel i { display: none; }
.about-copy { max-width: 620px; }
.about p:not(.eyebrow),
.contact-consult p,
.note {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin-top: 30px;
}
.principles span {
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}
.principles span::before {
  content: "✓";
  margin-right: 9px;
  color: var(--gold);
}
.contact-consult { background: linear-gradient(180deg, #fff 0%, #f5f6f8 100%); }
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}
.contact-card {
  display: flex;
  min-height: 257px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid rgba(7,26,51,.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(7,26,51,.045);
}
.contact-card-main {
  border-color: rgba(182,138,66,.32);
  box-shadow: 0 16px 34px rgba(7,26,51,.075);
}
.contact-card i { color: var(--gold); }
.contact-card svg { width: 22px; height: 22px; stroke-width: 1.6; }
.contact-card h3 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: 20px;
}
.contact-card p {
  min-height: 78px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.contact-card a {
  margin-top: auto;
  font-weight: 850;
  color: var(--navy);
}
.consultation-card {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 54px;
  align-items: start;
  padding: 48px;
  border: 1px solid rgba(7,26,51,.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.consultation-card h2 { margin-bottom: 18px; }
.footer {
  padding: 62px 0 26px;
  color: var(--white);
  background: #06172d;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .68fr 1.05fr .95fr;
  gap: 38px;
  padding-bottom: 34px;
}
.footer-logo {
  width: clamp(250px, 20vw, 290px);
  height: auto;
  max-width: 100%;
  margin-bottom: 14px;
  object-fit: contain;
}
.footer span { font-weight: 850; letter-spacing: .08em; }
.footer a {
  display: block;
  margin: 9px 0;
  color: rgba(255,255,255,.82);
  overflow-wrap: anywhere;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.68);
  font-size: 14px;
}
.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-legal-links li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-legal-links li::before,
.footer-legal-links li::after {
  display: none;
  content: none;
}
.footer-legal-links a {
  display: inline;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
}
.footer-legal-links a:hover {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-hero { padding: 130px 0 70px; background: linear-gradient(135deg,#f6f7f9,#fff); }
.page-hero h1, .legal-page h1, .service-detail h1 {
  max-width: 900px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(42px,5vw,68px);
  line-height: 1.05;
}
.page-hero p, .service-detail p { max-width: 760px; color: var(--muted); font-size: 18px; }
.service-detail { padding: 130px 0 80px; }
.service-layout { display: grid; grid-template-columns: 1.1fr .65fr; gap: 44px; margin-top: 40px; }
.detail-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(7,26,51,.06);
}
.detail-card h2 { color: var(--navy); font-family: var(--serif); }
.detail-card li { margin: 10px 0; color: var(--muted); }
.legal-page { padding: 110px 0; }
.legal-page p { max-width: 760px; color: var(--muted); font-size: 18px; }

.service-hero {
  padding: 118px 0 86px;
  background:
    linear-gradient(90deg, #fff 0%, #fff 45%, rgba(255,255,255,.8) 62%, rgba(255,255,255,0) 100%),
    linear-gradient(135deg, #f7f8fa 0%, #fff 58%, #eef2f6 100%);
}
.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .58fr);
  gap: 72px;
  align-items: stretch;
}
.breadcrumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}
.breadcrumbs a {
  color: var(--navy);
  font-weight: 800;
}
.breadcrumbs span::before {
  content: "/";
  margin-right: 10px;
  color: var(--gold);
}
.service-hero h1 {
  max-width: 820px;
  margin-bottom: 24px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.02;
}
.service-hero p:not(.eyebrow) {
  max-width: 660px;
  color: #344052;
  font-size: 18px;
  line-height: 1.75;
}
.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}
.service-summary {
  padding: 38px;
  border: 1px solid rgba(7,26,51,.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.service-summary i {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--gold);
}
.service-summary h2,
.detail-card-large h2,
.service-cta h2 {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
}
.service-summary ul,
.premium-list,
.numbered-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.service-summary li,
.premium-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
}
.service-summary li::before,
.premium-list li::before {
  position: absolute;
  top: 20px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}
.service-body-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.detail-card-large {
  min-height: 430px;
  padding: 38px;
}
.numbered-list {
  counter-reset: service-step;
}
.numbered-list li {
  counter-increment: service-step;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-weight: 800;
}
.numbered-list li::before {
  color: var(--gold);
  content: counter(service-step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 800;
}
.service-cta {
  padding: 72px 0;
  color: var(--white);
  background: linear-gradient(135deg, #06172d 0%, #071a33 62%, #102b4e 100%);
}
.service-cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.service-cta h2 {
  max-width: 760px;
  color: var(--white);
}
.service-cta p {
  max-width: 640px;
  color: rgba(255,255,255,.74);
  font-size: 17px;
  line-height: 1.7;
}
.service-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
