@font-face { font-family: "VPSans"; src: url("NimbusSans-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "VPSans"; src: url("NimbusSans-Bold.otf") format("opentype"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "VPSerif"; src: url("C059-Roman.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "VPSerif"; src: url("C059-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --coral: #e94f4f;
  --coral-dark: #c7373f;
  --sea: #153b4a;
  --sea-deep: #0b2834;
  --graphite: #25282b;
  --sand: #d8b77a;
  --paper: #fff8f5;
  --white: #ffffff;
  --muted: #687177;
  --line: rgba(21, 59, 74, .14);
  --shadow: 0 18px 55px rgba(11, 40, 52, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--graphite);
  background: var(--paper);
  font-family: "VPSans", "Arial", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open, body.search-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--white); border-radius: 10px; }
.skip-link:focus { top: 16px; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; }
.section--white { background: var(--white); }
.section--sea { background: var(--sea-deep); color: var(--white); }
.eyebrow { margin: 0 0 12px; color: var(--coral); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
h1, h2, h3 { margin: 0; color: var(--sea-deep); font-family: "VPSerif", Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); }
h3 { font-size: 1.45rem; }
.section--sea h2, .section--sea h3 { color: var(--white); }
.lead { max-width: 720px; color: #4e5b61; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.section--sea .lead { color: rgba(255,255,255,.75); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-head > div { max-width: 760px; }

.site-header { position: sticky; top: 0; z-index: 90; height: 78px; background: rgba(255,248,245,.93); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 42px; height: 46px; flex: 0 0 auto; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: "VPSerif", Georgia, serif; color: var(--sea-deep); font-size: 1.18rem; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.contact-strip { position: relative; z-index: 80; color: var(--white); background: var(--sea); }
.contact-strip__inner { min-height: 36px; display: flex; align-items: center; justify-content: flex-start; gap: 22px; overflow-x: auto; font-size: .78rem; scrollbar-width: none; }
.contact-strip__inner::-webkit-scrollbar { display: none; }
.contact-strip__inner a { white-space: nowrap; color: rgba(255,255,255,.82); }
.contact-strip__inner a:hover { color: var(--white); }
.contact-strip__inner strong { color: var(--sand); }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--sea-deep); cursor: pointer; display: grid; place-items: center; transition: .2s ease; }
.icon-btn:hover, .icon-btn:focus-visible { border-color: var(--coral); color: var(--coral); transform: translateY(-1px); }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-label { font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.menu-btn { width: auto; padding: 0 17px; display: flex; gap: 9px; }

.overlay { position: fixed; inset: 0; z-index: 120; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s; }
.overlay.is-open { visibility: visible; opacity: 1; }
.overlay-backdrop { position: absolute; inset: 0; background: rgba(4, 22, 29, .72); backdrop-filter: blur(7px); }
.menu-panel { position: absolute; inset: 0 0 0 auto; width: min(520px, 100%); padding: 24px clamp(26px, 5vw, 58px) 42px; overflow-y: auto; color: var(--white); background: var(--sea-deep); transform: translateX(100%); transition: transform .32s cubic-bezier(.2,.7,.2,1); }
.overlay.is-open .menu-panel { transform: translateX(0); }
.menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 42px; }
.menu-top strong { font-family: Georgia, serif; font-size: 1.25rem; }
.menu-top .icon-btn { background: transparent; color: var(--white); border-color: rgba(255,255,255,.25); }
.main-nav { display: grid; }
.main-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-family: "VPSerif", Georgia, serif; font-size: clamp(1.1rem, 2.4vw, 1.4rem); line-height: 1.25; }
.main-nav a:hover { color: var(--coral); }
.menu-contact { margin-top: 34px; display: grid; gap: 6px; color: rgba(255,255,255,.75); }
.menu-contact a { color: var(--white); font-weight: 700; }

.search-panel { position: relative; width: min(850px, calc(100% - 30px)); margin: 10vh auto 0; padding: 34px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.search-box { display: flex; border: 2px solid var(--sea); border-radius: 15px; overflow: hidden; }
.search-box input { flex: 1; min-width: 0; padding: 17px 18px; border: 0; outline: 0; font-size: 1.08rem; }
.search-box button { border: 0; background: var(--coral); color: white; padding: 0 22px; font-weight: 800; cursor: pointer; }
.search-results { display: grid; gap: 10px; max-height: 55vh; overflow-y: auto; margin-top: 18px; }
.search-result { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.search-result:hover { border-color: var(--coral); }
.search-result strong { color: var(--sea); }
.search-result span { display: block; color: var(--muted); font-size: .9rem; }
.search-empty { color: var(--muted); }

.hero { min-height: calc(100vh - 78px); display: grid; align-items: center; padding: 64px 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.hero h1 span { color: var(--coral); }
.hero-copy > p:not(.eyebrow) { max-width: 640px; margin: 24px 0 30px; font-size: 1.18rem; color: #4a575d; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 800; transition: .2s ease; }
.btn--primary { background: var(--coral); color: var(--white); box-shadow: 0 12px 28px rgba(233,79,79,.23); }
.btn--primary:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(21,59,74,.28); color: var(--sea); background: transparent; }
.btn--ghost:hover { border-color: var(--coral); color: var(--coral); }
.hero-note { margin-top: 28px; display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: .9rem; }
.hero-note::before { content: ""; width: 36px; height: 1px; background: var(--coral); }
.hero-visual { position: relative; min-height: 560px; }
.hero-visual img { width: 100%; height: 560px; object-fit: cover; border-radius: 180px 180px 24px 24px; box-shadow: var(--shadow); filter: saturate(.82) contrast(1.05); }
.hero-stamp { position: absolute; left: -38px; bottom: 42px; width: 150px; aspect-ratio: 1; display: grid; place-items: center; padding: 24px; text-align: center; border-radius: 50%; background: var(--sea); color: var(--white); border: 8px solid var(--paper); font-family: "VPSerif", Georgia, serif; font-size: 1.05rem; line-height: 1.2; transform: rotate(-7deg); }
.hero-line { position: absolute; right: -42px; top: 70px; width: 98px; height: 155px; border-top: 3px solid var(--sand); border-right: 3px solid var(--sand); opacity: .8; }

.trust-strip { background: var(--sea); color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 25px 28px; border-right: 1px solid rgba(255,255,255,.12); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-family: "VPSerif", Georgia, serif; font-size: 1.25rem; }
.trust-item span { color: rgba(255,255,255,.62); font-size: .9rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(233,79,79,.45); box-shadow: var(--shadow); }
.card-icon { width: 46px; height: 46px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 14px; background: rgba(233,79,79,.1); color: var(--coral); font-size: 1.35rem; }
.card p { color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--sea); font-weight: 800; }
.card-link::after { content: "→"; color: var(--coral); }
.card-num { position: absolute; right: 24px; top: 21px; color: rgba(21,59,74,.18); font-family: "VPSerif", Georgia, serif; font-size: 1.2rem; }
.service-card.is-hidden { display: none; }
.service-catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service-card { display: flex; flex-direction: column; min-height: 100%; padding: 32px; }
.service-card h3 { margin-top: 14px; font-size: clamp(1.55rem, 2.2vw, 2rem); }
.service-card > p { margin: 12px 0 16px; }
.service-card .btn { align-self: flex-start; margin-top: 18px; }
.service-roles { display: flex; flex-wrap: wrap; gap: 7px; padding-right: 42px; }
.tag--accent { color: var(--coral-dark); background: rgba(233,79,79,.1); }
.service-list { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.service-list li { position: relative; padding-left: 20px; color: #47545a; }
.service-list li::before { content: ""; position: absolute; left: 0; top: .67em; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.service-note { margin-top: auto; padding-top: 22px; color: var(--coral-dark); font-weight: 800; }
.court-services { display: grid; gap: 18px; margin-top: 8px; }
.service-subgroup { padding: 18px 20px; border-radius: 16px; background: rgba(21,59,74,.045); }
.service-subgroup h4 { margin: 0 0 12px; color: var(--sea); font: 700 1.12rem/1.25 "VPSerif", Georgia, serif; }
.catalog-intro { display: grid; grid-template-columns: minmax(220px, .45fr) 1fr; gap: 30px; align-items: center; margin-bottom: 42px; padding: 26px 30px; border-radius: 20px; color: white; background: var(--sea); }
.catalog-intro strong { display: block; color: var(--sand); font: 700 2rem/1 "VPSerif", Georgia, serif; }
.catalog-intro span { color: rgba(255,255,255,.72); }
.catalog-intro p { margin: 0; color: rgba(255,255,255,.86); }
.home-service { display: flex; flex-direction: column; }
.home-service .card-link { margin-top: auto; padding-top: 18px; }
.service-list--compact { margin: 18px 0 0; }
.material-status { margin: 20px 0 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--coral-dark); font-weight: 800; }
.eyebrow--light { color: rgba(255,255,255,.78); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.editorial-image { position: relative; }
.editorial-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.editorial-image::after { content: ""; position: absolute; inset: 24px -18px -18px 24px; border: 2px solid var(--sand); border-radius: 24px; z-index: -1; }
.check-list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 16px; }
.check-list li { position: relative; padding-left: 36px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: white; font-weight: 800; font-size: .8rem; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.step { counter-increment: step; padding: 24px 20px; border-top: 1px solid rgba(255,255,255,.25); }
.step::before { content: "0" counter(step); display: block; margin-bottom: 24px; color: var(--coral); font-weight: 800; }
.step p { color: rgba(255,255,255,.7); }

.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: clamp(30px, 5vw, 58px); border-radius: 30px; background: var(--coral); color: white; overflow: hidden; position: relative; }
.cta-panel h2 { color: white; }
.cta-panel p { max-width: 680px; color: rgba(255,255,255,.85); }
.cta-panel .btn { background: white; color: var(--sea); }

.page-hero { padding: 66px 0 50px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.1rem, 3.8vw, 3.5rem); line-height: 1.1; }
.page-hero--compact h1 { max-width: 880px; font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.12; }
.page-hero--compact .lead { font-size: clamp(1rem, 1.5vw, 1.12rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--muted); font-size: .9rem; }
.breadcrumb a { color: var(--sea); }
.breadcrumb a:hover { color: var(--coral); }
.specialist-filter { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin: 24px 0 32px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(21,59,74,.035); }
.specialist-filter > strong { color: var(--sea); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; }
.filter-btn { padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--sea); cursor: pointer; font-weight: 700; }
.filter-btn.active, .filter-btn:hover { background: var(--sea); color: white; border-color: var(--sea); }
.catalog-meta { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 22px; color: var(--muted); }

.price { margin-top: 20px; color: var(--coral); font-size: 1.25rem; font-family: "VPSerif", Georgia, serif; font-weight: 700; }
.tag { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: var(--sea); background: rgba(21,59,74,.08); font-size: .77rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.product-card { display: flex; flex-direction: column; min-height: 100%; }
.product-card .btn { margin-top: auto; align-self: flex-start; }

.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.article-card { min-height: 300px; display: flex; flex-direction: column; }
.article-card .card-link { margin-top: auto; }
.article-meta { display: flex; gap: 12px; margin-bottom: 20px; color: var(--muted); font-size: .83rem; }
.article-topics { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.article-topics span { padding: 8px 13px; border-radius: 999px; color: var(--sea); background: rgba(21,59,74,.08); font-weight: 800; font-size: .86rem; }
.article-grid--briefs { align-items: stretch; }
.article-brief { min-height: 0; border: 0; border-radius: 18px; box-shadow: none; }
.article-grid--briefs .article-brief:nth-child(4n+1), .article-tiles--home .article-card:nth-child(3n+1) { background: var(--sea); }
.article-grid--briefs .article-brief:nth-child(4n+2), .article-tiles--home .article-card:nth-child(3n+2) { background: #dfecef; }
.article-grid--briefs .article-brief:nth-child(4n+3), .article-tiles--home .article-card:nth-child(3n+3) { background: #f4dca8; }
.article-grid--briefs .article-brief:nth-child(4n) { background: var(--coral); }
.article-grid--briefs .article-brief:nth-child(4n+1),
.article-grid--briefs .article-brief:nth-child(4n),
.article-tiles--home .article-card:nth-child(3n+1) { color: white; }
.article-grid--briefs .article-brief:nth-child(4n+1) h3,
.article-grid--briefs .article-brief:nth-child(4n) h3,
.article-tiles--home .article-card:nth-child(3n+1) h3 { color: white; }
.article-grid--briefs .article-brief:nth-child(4n+1) > p,
.article-grid--briefs .article-brief:nth-child(4n) > p,
.article-tiles--home .article-card:nth-child(3n+1) p { color: rgba(255,255,255,.82); }
.article-grid--briefs .article-brief:nth-child(4n+1) .article-meta,
.article-grid--briefs .article-brief:nth-child(4n) .article-meta,
.article-tiles--home .article-card:nth-child(3n+1) .article-meta { color: rgba(255,255,255,.72); }
.article-grid--briefs .article-brief:nth-child(4n+1) .brief-step,
.article-grid--briefs .article-brief:nth-child(4n) .brief-step { border-color: rgba(255,255,255,.2); }
.article-grid--briefs .article-brief:nth-child(4n+1) .brief-step strong,
.article-grid--briefs .article-brief:nth-child(4n) .brief-step strong { color: white; }
.article-grid--briefs .article-brief:nth-child(4n+1) .brief-step span,
.article-grid--briefs .article-brief:nth-child(4n) .brief-step span { color: rgba(255,255,255,.84); }
.article-grid--briefs .article-brief:nth-child(4n+1) .card-link,
.article-grid--briefs .article-brief:nth-child(4n) .card-link,
.article-tiles--home .article-card:nth-child(3n+1) .card-link { color: white; }
.article-grid--briefs .article-brief:nth-child(4n+1) .card-link::after,
.article-grid--briefs .article-brief:nth-child(4n) .card-link::after,
.article-tiles--home .article-card:nth-child(3n+1) .card-link::after { color: var(--sand); }
.article-tiles--home .article-card { min-height: 270px; border: 0; border-radius: 18px; box-shadow: none; }
.article-brief > p { margin: 16px 0 20px; color: #47545a; }
.brief-step { display: grid; gap: 3px; padding: 12px 0; border-top: 1px solid var(--line); }
.brief-step strong { color: var(--coral-dark); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.brief-step span { color: #47545a; }
.article-brief .card-link { margin-top: 18px; }
.source-note { display: grid; grid-template-columns: .8fr 1.1fr 1fr; gap: 34px; align-items: start; padding: 32px; border-radius: 24px; color: white; background: var(--sea); }
.source-note h2 { color: white; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.source-note p { margin: 0; color: rgba(255,255,255,.78); }
.source-links { display: grid; gap: 10px; }
.source-links a { padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.18); color: white; font-weight: 800; }
.source-links a:hover { color: var(--sand); }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 6vw, 74px); }
.contact-summary { display: grid; grid-template-columns: .8fr 1fr 1.25fr 1.45fr; gap: 1px; margin-bottom: 38px; overflow: hidden; border-radius: 22px; background: var(--line); box-shadow: var(--shadow); }
.contact-summary > div { min-width: 0; padding: 22px; background: var(--white); display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.contact-summary span { color: var(--muted); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.contact-summary a { color: var(--sea); font-weight: 800; overflow-wrap: anywhere; }
.contact-summary a:hover { color: var(--coral); }
.contact-summary strong { color: var(--graphite); font-size: .92rem; }
.contact-summary .map-links { margin-top: 8px; }
.contact-list { display: grid; gap: 16px; margin-top: 28px; }
.contact-item { padding: 19px 0; border-bottom: 1px solid var(--line); }
.contact-item span { display: block; color: var(--muted); font-size: .85rem; }
.contact-item strong, .contact-item a { font-size: 1.06rem; color: var(--sea); font-weight: 800; }
.messenger-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.messenger-link { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--sea); font-weight: 800; }
.messenger-link:hover { border-color: var(--coral); color: var(--coral); }
.messenger-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: white; font-size: .72rem; font-weight: 900; }
.messenger-icon--wa { background: #20a968; }
.messenger-icon--tg { background: #258bd1; }
.messenger-icon--max { background: linear-gradient(135deg, #087cff, #a718e8); }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.map-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; color: var(--sea); background: rgba(21,59,74,.07); font-weight: 800; }
.map-link:hover { color: var(--coral); background: rgba(233,79,79,.09); }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.qr-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.qr-card-link { display: block; color: inherit; }
.qr-card-link:hover strong { color: var(--coral); }
.qr-card img { width: 100%; height: auto; object-fit: contain; background: #111217; }
.qr-card div { padding: 14px 16px; }
.qr-card strong { display: block; color: var(--sea); }
.qr-card span { color: var(--muted); font-size: .86rem; }
.form-card { padding: clamp(25px, 5vw, 46px); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { color: var(--sea); font-weight: 800; font-size: .9rem; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 15px; border: 1px solid rgba(21,59,74,.22); border-radius: 12px; background: white; color: var(--graphite); outline: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(233,79,79,.1); }
.file-field { position: relative; padding: 18px; border: 1px dashed rgba(21,59,74,.35); border-radius: 14px; background: var(--paper); }
.file-field input { padding: 0; border: 0; border-radius: 0; background: transparent; }
.file-field small { display: block; margin-top: 8px; color: var(--muted); }
.file-list { margin: 8px 0 0; padding-left: 20px; color: var(--sea); font-size: .86rem; }
.file-error { color: var(--coral-dark); font-weight: 800; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 18px 0; color: var(--muted); font-size: .85rem; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--coral); }
.consent a { color: var(--sea); text-decoration: underline; }
.form-status { margin-top: 14px; min-height: 26px; color: var(--sea); font-weight: 700; }
.form-status.is-success { color: #187447; }
.form-status.is-error { color: var(--coral-dark); }
.form-card button:disabled { cursor: wait; opacity: .68; }
.form-trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.legal { max-width: 860px; }
.legal h2 { margin-top: 42px; font-size: 2rem; }
.legal h3 { margin-top: 30px; }
.legal p, .legal li { color: #47545a; }
.legal-note { padding: 20px; border-left: 4px solid var(--coral); background: var(--white); }

.site-footer { padding: 55px 0 24px; color: rgba(255,255,255,.75); background: var(--sea-deep); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr 1fr; gap: 44px; }
.footer-brand { color: white; font-family: "VPSerif", Georgia, serif; font-size: 1.6rem; }
.footer-nav { display: grid; gap: 8px; }
.footer-nav a:hover { color: var(--coral); }
.footer-title { margin-bottom: 13px; color: white; font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; }
.footer-bottom a { text-decoration: underline; }

.floating-home { position: fixed; z-index: 70; right: 18px; bottom: 18px; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--coral); box-shadow: 0 12px 26px rgba(11,40,52,.22); font-size: 1.25rem; }
.floating-home:hover { background: var(--sea); }
.home-about { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 6vw, 70px); align-items: start; }
.experience-card { padding: 30px; border-radius: 24px; color: white; background: var(--sea); }
.experience-card strong { display: block; margin-bottom: 12px; font: 700 1.65rem/1.15 "VPSerif", Georgia, serif; }
.experience-card p { margin-bottom: 0; color: rgba(255,255,255,.72); }

@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .home-about { grid-template-columns: 1fr; }
  .contact-summary { grid-template-columns: 1fr 1fr; }
  .source-note { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-copy { max-width: 790px; }
  .hero-visual { width: min(650px, 90%); margin-left: auto; min-height: 460px; }
  .hero-visual img { height: 460px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .service-catalog { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-strip__inner { padding-block: 7px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 64px 0; }
  .site-header { height: 68px; }
  .brand-mark { width: 36px; height: 39px; }
  .brand-copy small { display: none; }
  .contact-strip__inner { min-height: 34px; font-size: .74rem; }
  .menu-label { display: none; }
  .menu-btn { width: 46px; padding: 0; display: grid; }
  .hero { padding: 46px 0 58px; }
  .hero-grid { gap: 38px; }
  .hero-visual { width: 94%; min-height: 380px; }
  .hero-visual img { height: 380px; border-radius: 110px 110px 20px 20px; }
  .hero-stamp { width: 115px; left: -18px; bottom: 24px; border-width: 6px; font-size: .87rem; padding: 16px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .cards, .article-grid { grid-template-columns: 1fr; }
  .catalog-intro { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .service-card { padding: 25px; }
  .section-head { display: block; }
  .section-head .btn { margin-top: 20px; }
  .cta-panel { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { display: grid; }
  .qr-grid { grid-template-columns: 1fr; }
  .contact-summary { grid-template-columns: 1fr; }
  .search-panel { margin-top: 4vh; padding: 22px; }
  .search-box { display: grid; }
  .search-box button { min-height: 46px; }
}

@media (max-width: 430px) {
  h1 { font-size: 2.75rem; }
  .hero-ctas { display: grid; }
  .hero-ctas .btn { width: 100%; }
  .trust-grid, .steps { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .trust-item:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
