
:root {
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body:    'Inter', Arial, Helvetica, sans-serif;
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-hero: clamp(2.8rem,   1.2rem  + 4vw,    5rem);
  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;    --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem;    --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem;   --space-20: 5rem;   --space-24: 6rem;
  --color-bg:              #f6f9f7;
  --color-surface:         #ffffff;
  --color-surface-2:       #eef5f1;
  --color-surface-offset:  #e2ede7;
  --color-divider:         #d0dfd6;
  --color-border:          rgba(26,107,79,0.14);
  --color-text:            #1a2a22;
  --color-text-muted:      #4a6358;
  --color-text-faint:      #8aaa97;
  --color-text-inverse:    #f6f9f7;
  --color-primary:         #1a6b4f;
  --color-primary-hover:   #145940;
  --color-primary-active:  #0e4530;
  --color-primary-light:   #e4f2ec;
  --color-blue:            #1a3a6b;
  --color-blue-light:      #e4ecf5;
  --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.875rem; --radius-xl: 1.125rem; --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(26,107,79,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(26,107,79,0.1), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 32px rgba(26,107,79,0.13), 0 4px 8px rgba(0,0,0,0.06);
  --content-default: 1120px;
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; }
body { font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text); background: var(--color-bg); line-height: 1.65; min-height: 100dvh; }
img, picture, video, canvas { display: block; max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); line-height: 1.2; text-wrap: balance; }
p, li { text-wrap: pretty; max-width: 72ch; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
ul[role="list"] { list-style: none; }
a { color: inherit; text-decoration: none; }
a, button, [role="button"] { transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), opacity var(--transition); }
::selection { background: rgba(26,107,79,0.2); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
.container { max-width: var(--content-default); margin-inline: auto; padding-inline: var(--space-6); }
.section { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
.sr-only { position: absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border-width:0; }
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1), transform 0.55s cubic-bezier(0.16,1,0.3,1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.08s; } .fade-up.d2 { transition-delay: 0.16s; }
.fade-up.d3 { transition-delay: 0.24s; } .fade-up.d4 { transition-delay: 0.32s; }
.fade-up.d5 { transition-delay: 0.40s; }
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); padding: var(--space-6); transition: box-shadow var(--transition); }
.card:hover { box-shadow: var(--shadow-md); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-3) var(--space-8); border-radius: var(--radius-full); font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); cursor: pointer; transition: all var(--transition); text-align: center; white-space: nowrap; }
.btn-primary { background: var(--color-primary); color: #fff; border: 2px solid transparent; }
.btn-primary:hover { background: var(--color-primary-hover); box-shadow: 0 4px 16px rgba(26,107,79,0.3); transform: translateY(-1px); }
.btn-primary:active { background: var(--color-primary-active); transform: translateY(0); }
.btn-outline { background: transparent; color: var(--color-blue); border: 2px solid var(--color-blue); }
.btn-outline:hover { background: var(--color-blue-light); box-shadow: 0 4px 16px rgba(26,58,107,0.15); transform: translateY(-1px); }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: flex-start; }
.btn-wrap { display: flex; flex-direction: column; gap: var(--space-2); }
.btn-caption { font-size: var(--text-xs); color: var(--color-text-muted); max-width: 260px; line-height: 1.4; }
/* NAV */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(246,249,247,0.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--color-divider); transition: box-shadow var(--transition); }
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: flex; flex-direction: column; gap: 2px; }
.nav-logo-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1rem, 0.85rem + 0.75vw, 1.4rem); line-height: 1; color: var(--color-blue); letter-spacing: -0.02em; }
.nav-logo-title .green { color: var(--color-primary); }
.nav-logo-sub { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 400; }
.nav-links { display: flex; gap: var(--space-6); list-style: none; }
.nav-links a { font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); }
.nav-links a:hover { color: var(--color-primary); }
.nav-cta { display: flex; gap: var(--space-3); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: var(--space-2); }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--color-text); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; gap: var(--space-4); padding: var(--space-6); background: var(--color-surface); border-top: 1px solid var(--color-divider); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: var(--text-base); font-weight: 500; color: var(--color-text); padding: var(--space-2) 0; border-bottom: 1px solid var(--color-divider); }
.mobile-menu .btn { margin-top: var(--space-2); justify-content: center; }
@media (max-width: 900px) { .nav-links { display: none; } .nav-cta { display: none; } .hamburger { display: flex; } }
/* HERO */
.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('../img/hero.webp'); background-size: cover; background-position: center top; z-index: 0; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,42,34,0.08) 0%, rgba(26,42,34,0.45) 60%, rgba(26,42,34,0.72) 100%); }
.hero-content { position: relative; z-index: 1; width: 100%; padding-bottom: var(--space-16); display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-content .container { display: flex; flex-direction: column; gap: var(--space-6); }
.hero-title { font-family: var(--font-display); font-size: var(--text-hero); font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1.05; text-shadow: 0 2px 16px rgba(0,0,0,0.3); text-align: center; }
.hero-title .green { color: #5dd9a0; }
.hero-subtitle { font-size: var(--text-base); color: rgba(255,255,255,0.8); font-weight: 500; letter-spacing: 0.02em; }
.hero-card { background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-radius: var(--radius-xl); padding: var(--space-8); max-width: 700px; box-shadow: var(--shadow-lg); margin-left: auto; margin-right: auto; text-align: center; }
.hero-slogan { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--color-blue); margin-bottom: var(--space-4); line-height: 1.25; }
.hero-slogan .green { color: var(--color-primary); }
.hero-card p { font-size: var(--text-sm); color: var(--color-text); line-height: 1.7; margin-bottom: var(--space-3); }
.hero-card p:last-of-type { margin-bottom: 0; }
.hero-highlight { border-left: 3px solid var(--color-primary); background: var(--color-primary-light); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: var(--space-4) var(--space-5); margin-block: var(--space-4); font-size: var(--text-sm); line-height: 1.65; color: var(--color-text); }
.hero-cta { margin-top: var(--space-6); display: flex; gap: var(--space-4); flex-wrap: wrap; justify-content: center; }
/* HELP */
.help-block { background: var(--color-surface); }
.block-header { text-align: center; margin-bottom: var(--space-10); }
.block-header h2 { font-size: var(--text-2xl); font-weight: 700; color: var(--color-blue); margin-bottom: var(--space-4); }
.block-header p { font-size: var(--text-base); color: var(--color-text-muted); max-width: 64ch; margin-inline: auto; line-height: 1.7; }
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
@media (max-width: 768px) { .two-col-grid { grid-template-columns: 1fr; } }
.help-card { display: flex; flex-direction: column; }
.help-card h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--color-blue); margin-bottom: var(--space-5); padding-bottom: var(--space-3); border-bottom: 2px solid var(--color-primary-light); }
.help-item { margin-bottom: var(--space-4); padding-left: var(--space-5); position: relative; }
.help-item::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; background: var(--color-primary); border-radius: 50%; }
.help-item strong { display: block; font-weight: 600; color: var(--color-text); margin-bottom: var(--space-1); font-size: var(--text-sm); }
.help-item p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.65; max-width: none; }
/* FORMAT */
.format-block { background: linear-gradient(135deg, #eef5f1 0%, #e8f2f7 50%, #eef5f1 100%); }
.format-block-img { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--radius-xl); margin-bottom: var(--space-10); box-shadow: var(--shadow-md); }
.four-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
@media (max-width: 768px) { .four-grid { grid-template-columns: 1fr; } }
.format-card h3 { font-size: var(--text-base); font-weight: 700; color: var(--color-blue); margin-bottom: var(--space-3); }
.format-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; margin-bottom: var(--space-2); }
.cta-center { text-align: center; margin-top: var(--space-10); display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.cta-center .btn-group { justify-content: center; }
/* ABOUT */
.about-block { background: linear-gradient(135deg, #f0f7f3 0%, #e8f0f7 100%); }
.about-img { width: 100%; max-height: 320px; object-fit: cover; border-radius: var(--radius-xl); margin-bottom: var(--space-10); box-shadow: var(--shadow-md); }
.timeline { display: flex; flex-direction: column; gap: var(--space-6); }
.timeline-item { position: relative; padding-left: var(--space-8); }
.timeline-item::before { content: ''; position: absolute; left: 0; top: var(--space-2); width: 14px; height: 14px; background: var(--color-primary); border-radius: 50%; border: 3px solid var(--color-surface); box-shadow: 0 0 0 2px var(--color-primary); }
.timeline-item::after { content: ''; position: absolute; left: 6px; top: calc(var(--space-2) + 14px); bottom: calc(-1 * var(--space-6)); width: 2px; background: var(--color-divider); }
.timeline-item:last-child::after { display: none; }
.timeline-item h3 { font-size: var(--text-base); font-weight: 700; color: var(--color-blue); margin-bottom: var(--space-2); }
.timeline-item p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; margin-bottom: var(--space-2); max-width: none; }
/* TEAM */
.team-block { background: var(--color-surface); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(480px, 1fr)); gap: var(--space-6); }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "photo header" "body body"; gap: var(--space-4) var(--space-5); align-items: start; }
.team-card .avatar-wrap { grid-area: photo; }
.team-card .team-header { grid-area: header; display: flex; flex-direction: column; justify-content: center; }
.team-card .team-body { grid-area: body; }
.team-card .avatar-wrap { flex-shrink: 0; }
.avatar { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top center; border-radius: var(--radius-lg); border: 2px solid var(--color-primary-light); box-shadow: var(--shadow-sm); display: block; }
.team-header h3 { font-size: var(--text-base); font-weight: 700; color: var(--color-blue); margin-bottom: var(--space-2); }
.team-header .role { font-size: var(--text-xs); color: var(--color-primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.4; } .team-header .team-phone { margin-top: var(--space-3); font-size: var(--text-sm); line-height: 1.4; font-weight: 700; } .team-header .team-phone a { color: var(--color-blue); text-decoration: none; } .team-header .team-phone a:hover, .team-header .team-phone a:focus-visible { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.team-body p { font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.65; margin-bottom: var(--space-2); max-width: none; }
.team-body .requests { font-size: var(--text-xs); color: var(--color-text); font-weight: 600; margin-bottom: var(--space-1); }
.team-requests-list { list-style: none; padding: 0; }
.team-requests-list li { font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.6; padding-left: var(--space-4); position: relative; margin-bottom: 2px; }
.team-requests-list li::before { content: '›'; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }
.team-outro { text-align: center; margin-top: var(--space-10); max-width: 60ch; margin-inline: auto; color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.7; }
/* STEPS */
.steps-block { background: linear-gradient(135deg, #e8f5ee 0%, #e8f0f8 100%); }
.steps-list { display: flex; flex-direction: column; gap: var(--space-5); max-width: 760px; margin-inline: auto; }
.step-card { display: flex; gap: var(--space-5); align-items: flex-start; }
.step-num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: var(--text-base); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(26,107,79,0.3); }
.step-body h3 { font-size: var(--text-base); font-weight: 700; color: var(--color-blue); margin-bottom: var(--space-2); }
.step-body p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; max-width: none; }
.step-note { text-align: center; margin-top: var(--space-6); font-size: var(--text-sm); color: var(--color-text-muted); font-style: italic; max-width: 60ch; margin-inline: auto; }
/* PRICE */
.price-block { background: var(--color-surface); }
.price-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); margin-bottom: var(--space-8); }
table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
thead { background: var(--color-surface-2); }
thead th { padding: var(--space-3) var(--space-4); font-family: var(--font-display); font-weight: 600; color: var(--color-blue); text-align: left; border-bottom: 1px solid var(--color-border); white-space: nowrap; }
tbody td { padding: var(--space-3) var(--space-4); color: var(--color-text); border-bottom: 1px solid var(--color-surface-offset); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--color-primary-light); }
tbody td:first-child { font-weight: 600; }
.price-section-title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--color-blue); margin-bottom: var(--space-4); margin-top: var(--space-8); }
.price-section-title:first-child { margin-top: 0; }
.price-note { background: var(--color-primary-light); border-left: 3px solid var(--color-primary); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: var(--space-4) var(--space-5); font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; margin-bottom: var(--space-6); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin-top: var(--space-8); }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }
.price-pay-card h3 { font-size: var(--text-base); font-weight: 700; color: var(--color-blue); margin-bottom: var(--space-3); }
.price-pay-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; margin-bottom: var(--space-2); max-width: none; }
/* FAQ */
.faq-block { background: linear-gradient(135deg, #f0f7f3 0%, #eef4fa 100%); }
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); max-width: 800px; margin-inline: auto; }
.faq-item { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); background: var(--color-surface); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-5) var(--space-6); text-align: left; font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600; color: var(--color-blue); cursor: pointer; background: none; border: none; }
.faq-question:hover { background: var(--color-primary-light); }
.faq-icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--color-primary-light); color: var(--color-primary); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: transform 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 var(--space-6) var(--space-5); font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.75; }
.faq-item.open .faq-answer { max-height: 500px; }
/* CONTACTS */
.contacts-block { background: var(--color-surface); }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
@media (max-width: 768px) { .contacts-grid { grid-template-columns: 1fr; } }
.contacts-card h3 { font-size: var(--text-base); font-weight: 700; color: var(--color-blue); margin-bottom: var(--space-4); padding-bottom: var(--space-3); border-bottom: 2px solid var(--color-primary-light); }
.contacts-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.75; margin-bottom: var(--space-2); max-width: none; }
.contacts-card strong { color: var(--color-text); }
.map-link-block { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); height: 60px; display: flex; align-items: center; justify-content: center; margin-top: var(--space-4); }
/* FOOTER */
.footer { background: var(--color-text); color: var(--color-text-inverse); padding-block: var(--space-8); }
.footer-inner { display: flex; flex-wrap: wrap; gap: var(--space-8); justify-content: space-between; align-items: flex-start; }
.footer-inner--full { display: block; }
.footer-inner--full .footer-crisis { width: 100%; max-width: 100%; }
.footer-logo { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); color: #fff; }
.footer-logo .green { color: #5dd9a0; }
.footer-logo span { display: block; font-size: var(--text-xs); font-weight: 400; color: rgba(255,255,255,0.5); margin-top: 4px; }
.footer-crisis { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6); max-width: 480px; }
.footer-crisis h4 { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: var(--space-3); }
.footer-crisis p { font-size: var(--text-xs); color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: var(--space-2); max-width: none; }
.footer-crisis .phones { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-3); }
.footer-crisis .phone-item { font-size: var(--text-xs); color: rgba(255,255,255,0.9); }
.footer-crisis .phone-item strong { color: #5dd9a0; font-size: var(--text-sm); display: block; }
.footer-bottom { margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: var(--text-xs); color: rgba(255,255,255,0.4); max-width: none; }
/* MODAL */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(26,42,34,0.55); backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: var(--space-4); }
.modal-overlay.open { display: flex; }
.modal { background: var(--color-surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: var(--space-8); width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; animation: modal-in 0.3s cubic-bezier(0.16,1,0.3,1); }
@keyframes modal-in { from { opacity:0; transform: scale(0.96) translateY(12px); } to { opacity:1; transform: scale(1) translateY(0); } }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--space-6); }
.modal-header h3 { font-size: var(--text-lg); font-weight: 700; color: var(--color-blue); }
.modal-close { width: 32px; height: 32px; border-radius: 50%; background: var(--color-surface-offset); color: var(--color-text-muted); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; cursor: pointer; border: none; }
.modal-close:hover { background: var(--color-divider); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.form-group label { font-size: var(--text-sm); font-weight: 600; color: var(--color-text); }
.form-group input, .form-group textarea { padding: var(--space-3) var(--space-4); border: 1.5px solid var(--color-divider); border-radius: var(--radius-md); font-size: var(--text-sm); background: var(--color-bg); color: var(--color-text); transition: border-color var(--transition), box-shadow var(--transition); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(26,107,79,0.12); outline: none; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success { text-align: center; padding: var(--space-8) 0; }
.form-success .checkmark { width: 56px; height: 56px; background: var(--color-primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-4); }
.form-success .checkmark svg { color: var(--color-primary); }
.form-success h4 { font-size: var(--text-lg); font-weight: 700; color: var(--color-blue); margin-bottom: var(--space-2); }
.form-success p { font-size: var(--text-sm); color: var(--color-text-muted); }
.section-divider { height: 1px; background: var(--color-divider); }
@media (max-width: 640px) {
  .btn-group { flex-direction: column; }
  .btn { justify-content: center; }
  .hero-card { padding: var(--space-5); }
  .step-card { flex-direction: column; }
  .team-card { grid-template-columns: 1fr; grid-template-areas: "photo" "header" "body"; }
}

/* ── Help icon cards ── */
.help-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-bottom: var(--space-10); }
@media (max-width: 768px) { .help-cards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .help-cards-grid { grid-template-columns: 1fr; } }
.help-icon-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); box-shadow: var(--shadow-sm); transition: box-shadow var(--transition-interactive), transform var(--transition-interactive); }
.help-icon-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.help-icon { font-size: 2rem; line-height: 1; margin-bottom: var(--space-1); }
.help-icon-card h3 { font-size: var(--text-sm); font-weight: 700; color: var(--color-blue); line-height: 1.3; }
.help-icon-card p { font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.6; max-width: none; margin: 0; }
/* ── Help formats ── */
.help-formats { background: var(--color-surface-2); border-radius: var(--radius-xl); padding: var(--space-8); }
.help-formats-title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--color-blue); margin-bottom: var(--space-5); }
.help-formats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 640px) { .help-formats-grid { grid-template-columns: 1fr; } }
.help-format-item strong { display: block; font-size: var(--text-sm); color: var(--color-primary); font-weight: 700; margin-bottom: var(--space-1); }
.help-format-item p { font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.65; margin: 0; max-width: none; }
/* ── Illustration dividers ── */
.illus-divider { width: 100%; overflow: hidden; line-height: 0; }
.illus-divider img { width: 100%; max-height: 340px; object-fit: cover; object-position: center 30%; display: block; }
.illus-divider--sm img { max-height: 240px; }


.format-block { position: relative; overflow: hidden; }
.format-block::before { content: ""; position: absolute; inset: 0; background-image: var(--bg-image); background-size: cover; background-position: center; opacity: 0.12; pointer-events: none; }
.about-block { position: relative; overflow: hidden; }
.about-block::before { content: ""; position: absolute; inset: 0; background-image: var(--bg-image); background-size: cover; background-position: center; opacity: 0.10; pointer-events: none; }
.steps-block { position: relative; overflow: hidden; }
.steps-block::before { content: ""; position: absolute; inset: 0; background-image: var(--bg-image); background-size: cover; background-position: center; opacity: 0.08; pointer-events: none; }
.format-block > .container,
.about-block > .container,
.steps-block > .container { position: relative; z-index: 1; }


/* ===== ФОНОВЫЕ ПОДЛОЖКИ ===== */
.team-block { position: relative; overflow: hidden; }
.team-block::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('../img/bg-team.webp');
  background-size: cover; background-position: center 40%;
  opacity: 0.13; pointer-events: none; z-index: 0;
}
.team-block .container { position: relative; z-index: 1; }

.contacts-block { position: relative; overflow: hidden; }
.contacts-block::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('../img/bg-contacts.webp');
  background-size: cover; background-position: center center;
  opacity: 0.20; pointer-events: none; z-index: 0;
}
.contacts-block .container { position: relative; z-index: 1; }

.price-block { position: relative; overflow: hidden; }
.price-block::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('../img/bg-price.webp');
  background-size: cover; background-position: center 25%;
  opacity: 0.11; pointer-events: none; z-index: 0;
}
.price-block .container { position: relative; z-index: 1; }


/* ===== V17: классы вместо инлайн-стилей ===== */
.required-mark { color: var(--color-primary); }
.ta-center { text-align: center; }
.mt-8 { margin-top: var(--space-8); }
.btn-block { width: 100%; margin-top: var(--space-2); }
.form-note { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-3); text-align: center; }
.faq-note { text-align: center; margin-top: var(--space-6); font-size: var(--text-sm); color: var(--color-text-muted); }
.link-btn { color: var(--color-primary); font-weight: 600; text-decoration: underline; background: none; border: none; cursor: pointer; font-size: inherit; padding: 0; }
.link-strong { color: var(--color-primary); font-weight: 600; text-decoration: underline; }
.member-name-link { color: inherit; text-decoration: none; border-bottom: 2px solid var(--color-primary); padding-bottom: 1px; }
.form-consent { margin-top: var(--space-3); }
.consent-label { display: flex; gap: 8px; align-items: flex-start; font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.5; cursor: pointer; }
.consent-label input[type="checkbox"] { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--color-primary); }
.consent-label a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.price-table-wrap:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
.form-success:focus { outline: none; }
.form-success:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 4px; }
