/**
 * Модуль: style.css
 * Назначение: Стили лендинга ХитСервис — котельные, автоматизация, водоподготовка.
 * Разделы: Reset, Variables, Typography, Layout, Navbar, Hero, Services, Process,
 *          Stats, About, Portfolio, FAQ, Partners, Contact, Footer, Modals, Cookie,
 *          Animations, Responsive
 */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Barlow', sans-serif; color: var(--text-dark); background: #fff; overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ===== VARIABLES ===== */
:root {
  --navy: #004B9D;
  --navy-light: #1a62b5;
  --navy-dark: #003380;
  --red: #F0141E;
  --red-dark: #C8000F;
  --white: #fff;
  --gray-light: #f4f6fa;
  --gray: #e0e4ee;
  --text-dark: #1a1a2e;
  --text-mid: #4a5068;
  --shadow: 0 4px 24px rgba(0,75,157,.10);
  --shadow-lg: 0 12px 48px rgba(0,75,157,.16);
  --radius: 10px;
  --tr: .25s ease;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Barlow Condensed', sans-serif; line-height: 1.1; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }

/* ===== SECTION HEADER ===== */
.label {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
}
.section-header { margin-bottom: 56px; }
.section-header h2 { color: var(--navy); margin-bottom: 12px; }
.section-header p { color: var(--text-mid); font-size: 1.05rem; max-width: 560px; }
.section-header.center { text-align: center; }
.section-header.center p { margin-left: auto; margin-right: auto; }
.line-red { display: block; width: 48px; height: 4px; background: var(--red); border-radius: 2px; margin-top: 16px; }
.section-header.center .line-red { margin-left: auto; margin-right: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 6px; border: none; cursor: pointer;
  transition: all var(--tr); white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 6px 20px rgba(212,43,43,.3); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sm { padding: 9px 20px; font-size: .88rem; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(17,30,60,.96); backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
#navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.35); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 13px 24px; max-width: 1200px; margin: 0 auto; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { width: 38px; height: 38px; object-fit: contain; }
.nav-logo-text { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.25rem; color: #fff; text-transform: uppercase; line-height: 1.1; }
.nav-logo-text em { color: var(--red); font-style: normal; }
.nav-menu { display: flex; gap: 24px; }
.nav-menu a { color: rgba(255,255,255,.72); font-size: .9rem; font-weight: 500; transition: color var(--tr); padding: 4px 0; position: relative; }
.nav-menu a::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform var(--tr); }
.nav-menu a:hover { color: #fff; }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }

/* ===== HERO ===== */
#hero { min-height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; padding-top: 64px; }
.hero-bg { position: absolute; inset: 0; background: url('industrial-2.webp') center/cover no-repeat; opacity: .13; }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(108deg, var(--navy-dark) 42%, rgba(0,75,157,.88) 100%); }
.hero-pattern { position: absolute; inset: 0; background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0, rgba(255,255,255,.06) 2px, transparent 2px, transparent 14px); pointer-events: none; }
.hero-glow { position: absolute; top: -80px; right: -80px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(212,43,43,.14) 0%, transparent 62%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 700px; padding: 80px 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 100px; background: rgba(212,43,43,.15); border: 1px solid rgba(212,43,43,.4); color: #ff8080; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 24px; }
.hero-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
#hero h1 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: clamp(2.8rem, 6vw, 5rem); color: #fff; text-transform: uppercase; line-height: 1; margin-bottom: 22px; }
#hero h1 em { color: var(--red); font-style: normal; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.7); max-width: 520px; line-height: 1.7; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }
.icon-tg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.hero-stats { display: flex; gap: 48px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.h-stat-num { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 2.4rem; color: #fff; line-height: 1; }
.h-stat-num em { color: var(--red); font-style: normal; }
.h-stat-label { color: rgba(255,255,255,.48); font-size: .8rem; margin-top: 5px; text-transform: uppercase; letter-spacing: .05em; }

/* ===== SERVICES ===== */
#services { background: var(--gray-light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 24px; }
.service-card { background: #fff; border-radius: var(--radius); padding: 36px 28px; box-shadow: var(--shadow); border-bottom: 3px solid transparent; transition: all .3s ease; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-bottom-color: var(--red); }
.svc-icon { width: 60px; height: 60px; background: var(--gray-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: background var(--tr); }
.service-card:hover .svc-icon { background: rgba(212,43,43,.08); }
.svc-icon svg { width: 28px; height: 28px; }
.service-card h3 { color: var(--navy); margin-bottom: 12px; }
.service-card p { color: var(--text-mid); font-size: .92rem; line-height: 1.65; flex: 1; }
.svc-link { margin-top: 20px; color: var(--red); font-weight: 600; font-size: .88rem; display: flex; align-items: center; gap: 6px; transition: gap var(--tr); }
.service-card:hover .svc-link { gap: 10px; }

/* ===== PROCESS ===== */
#process { background: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 31px; left: 12.5%; right: 12.5%; height: 2px; background: var(--gray); z-index: 0; }
.process-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.proc-num { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; border: 4px solid #fff; box-shadow: 0 4px 16px rgba(26,46,90,.2); transition: background var(--tr); }
.process-step:hover .proc-num { background: var(--red); }
.process-step h4 { color: var(--navy); margin-bottom: 10px; font-size: .98rem; }
.process-step p { color: var(--text-mid); font-size: .87rem; line-height: 1.6; }

/* ===== STATS STRIP ===== */
#stats { background: var(--red); padding: 64px 0; position: relative; overflow: hidden; }
#stats::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.08) 0, rgba(255,255,255,.08) 2px, transparent 2px, transparent 14px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; position: relative; }
.stat-item { position: relative; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 15%; bottom: 15%; width: 1px; background: rgba(255,255,255,.25); }
.stat-num { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 3.2rem; color: #fff; line-height: 1; }
.stat-label { color: rgba(255,255,255,.78); font-size: .9rem; margin-top: 8px; font-weight: 500; }

/* ===== ABOUT ===== */
#about { background: var(--gray-light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.reason-item { display: flex; gap: 14px; align-items: flex-start; }
.reason-num { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: .95rem; display: flex; align-items: center; justify-content: center; }
.reason-item h4 { font-size: .9rem; color: var(--navy); margin-bottom: 4px; }
.reason-item p { font-size: .83rem; color: var(--text-mid); line-height: 1.5; }
.about-visual { border-radius: 14px; overflow: hidden; position: relative; background: var(--navy); }
.about-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; opacity: .82; transition: opacity var(--tr); }
.about-visual:hover .about-photo { opacity: .92; }
.about-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,30,60,.88) 0%, rgba(17,30,60,.2) 55%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.about-tag { display: inline-flex; align-items: center; gap: 10px; background: rgba(212,43,43,.85); backdrop-filter: blur(4px); border-radius: 8px; padding: 10px 16px; margin-bottom: 10px; color: #fff; font-weight: 600; font-size: .88rem; width: fit-content; }
.about-caption { color: rgba(255,255,255,.72); font-size: .83rem; }
.about-chips { display: flex; gap: 12px; margin-top: 28px; }
.chip { flex: 1; background: #fff; border-radius: 8px; padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.chip svg { width: 26px; height: 26px; }
.chip span { font-size: .78rem; color: var(--text-mid); font-weight: 500; line-height: 1.3; }

/* ===== PORTFOLIO ===== */
#portfolio { background: #fff; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.portfolio-item { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; cursor: pointer; background: var(--navy); }
.portfolio-item:first-child { grid-column: span 2; aspect-ratio: 16/9; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .4s ease; }
.portfolio-item:hover img { transform: scale(1.05); opacity: .72; }
.port-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,30,60,.85) 0%, transparent 55%); display: flex; align-items: flex-end; padding: 20px; opacity: 0; transition: opacity var(--tr); }
.portfolio-item:hover .port-overlay { opacity: 1; }
.port-overlay h4 { color: #fff; font-size: .95rem; margin-bottom: 4px; }
.port-overlay p { color: rgba(255,255,255,.68); font-size: .8rem; }

/* ===== FAQ ===== */
#faq { background: var(--gray-light); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 20px 24px; background: none; border: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-family: 'Barlow', sans-serif; font-size: .97rem; font-weight: 600; color: var(--navy); transition: color var(--tr); }
.faq-q:hover { color: var(--red); }
.faq-icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--gray-light); display: flex; align-items: center; justify-content: center; transition: transform var(--tr), background var(--tr); font-size: .85rem; color: var(--text-mid); font-weight: 700; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .3s ease; padding: 0 24px; color: var(--text-mid); font-size: .93rem; line-height: 1.75; }
.faq-item.open .faq-a { max-height: 600px; padding: 0 24px 20px; }
.faq-a a { color: var(--red); text-decoration: underline; }

/* ===== PARTNERS ===== */
#partners { background: #fff; padding: 52px 0; }
.partners-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.partners-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mid); }
.partners-logos { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; justify-content: center; }
.partner-logo { opacity: .45; filter: grayscale(1); transition: opacity var(--tr), filter var(--tr); }
.partner-logo:hover { opacity: 1; filter: grayscale(0); }
.partner-logo img { height: 38px; width: auto; }

/* ===== CONTACT ===== */
#contact { background: var(--navy-dark); position: relative; overflow: hidden; }
#contact::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.07) 0, rgba(255,255,255,.07) 2px, transparent 2px, transparent 14px); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; position: relative; }
.contact-info .label { color: rgba(212,43,43,.85); }
.contact-info h2 { color: #fff; }
.contact-info > p { color: rgba(255,255,255,.58); font-size: 1.05rem; margin-top: 12px; max-width: 400px; }
.contact-info .line-red { margin-top: 16px; }
.contact-channels { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.c-channel { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 16px 20px; transition: background var(--tr), border-color var(--tr); text-decoration: none; }
.c-channel:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.c-icon { width: 44px; height: 44px; border-radius: 8px; background: rgba(212,43,43,.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.c-icon svg { width: 22px; height: 22px; }
.c-text h4 { color: #fff; font-size: .93rem; margin-bottom: 2px; }
.c-text p { color: rgba(255,255,255,.48); font-size: .82rem; }
.c-arrow { margin-left: auto; color: rgba(255,255,255,.3); font-size: 1.2rem; }
.contact-region { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.45); font-size: .87rem; margin-top: 20px; }
.contact-region svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Contact Form */
.contact-form-wrap { background: #fff; border-radius: 14px; padding: 40px; box-shadow: var(--shadow-lg); }
.contact-form-wrap h3 { color: var(--navy); margin-bottom: 6px; font-size: 1.4rem; }
.form-sub { color: var(--text-mid); font-size: .88rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: .83rem; font-weight: 600; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--gray); border-radius: 8px; font-family: 'Barlow', sans-serif; font-size: .95rem; color: var(--text-dark); background: #fff; transition: border-color var(--tr); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 88px; }
.consent-block { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.consent-block input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--navy); width: 15px; height: 15px; }
.consent-block label { font-size: .8rem; color: var(--text-mid); line-height: 1.5; }
.consent-block a { color: var(--navy); text-decoration: underline; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success .ok-icon { font-size: 2.4rem; margin-bottom: 12px; }
.form-success h4 { color: var(--navy); margin-bottom: 8px; font-size: 1.1rem; }
.form-success p { color: var(--text-mid); font-size: .9rem; }

/* ===== QUIZ ===== */
.quiz-step h3 { color: var(--navy); margin-bottom: 6px; font-size: 1.4rem; }
.quiz-progress { height: 4px; background: var(--gray); border-radius: 2px; margin-bottom: 18px; overflow: hidden; }
.quiz-progress-bar { height: 100%; background: var(--navy); border-radius: 2px; transition: width .35s ease; }
.quiz-step-label { font-size: .75rem; font-weight: 700; color: var(--text-mid); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.quiz-question { color: var(--navy); font-size: 1.08rem; line-height: 1.4; margin-bottom: 18px; }
.quiz-services { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.quiz-svc-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; border: 2px solid var(--gray); border-radius: 10px; background: #fff; cursor: pointer; font-size: .87rem; font-weight: 600; color: var(--text-dark); text-align: center; line-height: 1.3; font-family: 'Barlow', sans-serif; transition: all .2s; }
.quiz-svc-card:hover, .quiz-svc-card:focus { border-color: var(--navy); background: var(--gray-light); color: var(--navy); outline: none; }
.quiz-svc-icon { font-size: 1.7rem; }
.quiz-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.quiz-option { text-align: left; padding: 11px 16px; border: 2px solid var(--gray); border-radius: 8px; background: #fff; cursor: pointer; font-size: .92rem; color: var(--text-dark); font-family: 'Barlow', sans-serif; line-height: 1.4; transition: all .2s; }
.quiz-option:hover, .quiz-option:focus { border-color: var(--navy); background: var(--gray-light); outline: none; }
.quiz-option.selected { border-color: var(--navy); background: rgba(0,75,157,.08); color: var(--navy); font-weight: 600; }
.quiz-text-input { width: 100%; padding: 12px 16px; border: 2px solid var(--gray); border-radius: 8px; font-family: 'Barlow', sans-serif; font-size: .95rem; color: var(--text-dark); outline: none; margin-bottom: 18px; transition: border-color .2s; }
.quiz-text-input:focus { border-color: var(--navy); }
.quiz-nav { display: flex; gap: 10px; margin-top: 6px; }
.quiz-nav .btn { flex: 1; justify-content: center; }
.quiz-nav--back .btn-ghost { flex: 0 0 auto; }
.btn-ghost { background: transparent; border: 2px solid var(--gray); color: var(--text-mid); padding: 12px 20px; border-radius: 8px; font-family: 'Barlow', sans-serif; font-weight: 600; font-size: .9rem; transition: all .2s; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
@media (max-width: 500px) { .quiz-services { grid-template-columns: 1fr; } }

/* ===== FOOTER ===== */
footer { background: var(--navy-dark); border-top: 1px solid rgba(255,255,255,.07); padding: 28px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { width: 30px; height: 30px; object-fit: contain; }
.footer-logo-text { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.1rem; color: #fff; text-transform: uppercase; }
.footer-logo-text em { color: var(--red); font-style: normal; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.38); font-size: .8rem; transition: color var(--tr); }
.footer-links a:hover { color: rgba(255,255,255,.72); }
.footer-copy { color: rgba(255,255,255,.28); font-size: .78rem; }

/* ===== MODALS ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .2s; backdrop-filter: blur(3px); }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: #fff; border-radius: 14px; padding: 40px; max-width: 560px; width: 100%; max-height: 80vh; overflow-y: auto; position: relative; }
.modal h3 { color: var(--navy); margin-bottom: 20px; font-size: 1.4rem; }
.modal p { color: var(--text-mid); font-size: .9rem; line-height: 1.72; margin-bottom: 12px; }
.modal strong { color: var(--text-dark); }
.modal ul { padding-left: 20px; margin-bottom: 12px; }
.modal ul li { color: var(--text-mid); font-size: .9rem; margin-bottom: 6px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--gray-light); border: none; cursor: pointer; font-size: 1rem; color: var(--text-mid); display: flex; align-items: center; justify-content: center; transition: background var(--tr); }
.modal-close:hover { background: var(--gray); }

/* ===== PRICES MODAL ===== */
.modal-prices { max-width: 640px; }
.prices-date { font-weight: 400; color: var(--text-mid); font-size: .95rem; font-family: 'Barlow', sans-serif; text-transform: none; letter-spacing: 0; }
.prices-table { width: 100%; border-collapse: collapse; margin: 20px 0 16px; font-size: .92rem; }
.prices-table thead th { background: var(--navy); color: #fff; padding: 10px 14px; text-align: left; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.prices-table thead th:last-child { text-align: right; white-space: nowrap; }
.prices-table tbody tr { border-bottom: 1px solid var(--gray); transition: background var(--tr); }
.prices-table tbody tr:last-child { border-bottom: none; }
.prices-table tbody tr:hover { background: var(--gray-light); }
.prices-table tbody td { padding: 11px 14px; color: var(--text-dark); line-height: 1.4; }
.prices-table tbody td:last-child { text-align: right; white-space: nowrap; font-weight: 600; color: var(--navy); }
.prices-disclaimer { font-size: .75rem; color: var(--text-mid); line-height: 1.5; border-top: 1px solid var(--gray); padding-top: 12px; margin-top: 4px; }

/* ===== COOKIE BANNER ===== */
#cookie-banner { position: fixed; bottom: -120px; left: 20px; right: 20px; max-width: 580px; background: var(--navy-dark); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 20px 24px; z-index: 9000; box-shadow: var(--shadow-lg); transition: bottom .4s cubic-bezier(.4,0,.2,1); display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
#cookie-banner.show { bottom: 20px; }
#cookie-banner p { color: rgba(255,255,255,.68); font-size: .84rem; line-height: 1.5; flex: 1; min-width: 200px; }
#cookie-banner a { color: rgba(255,255,255,.85); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.ck-btn { padding: 8px 16px; border: none; border-radius: 6px; font-size: .82rem; font-weight: 600; cursor: pointer; font-family: 'Barlow Condensed', sans-serif; letter-spacing: .05em; text-transform: uppercase; transition: all var(--tr); }
.ck-necessary { background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); }
.ck-necessary:hover { background: rgba(255,255,255,.18); }
.ck-accept { background: var(--red); color: #fff; }
.ck-accept:hover { background: var(--red-dark); }

/* ===== PRE-FOOTER CTA ===== */
#cta-bottom {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta-bottom::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.08) 0, rgba(255,255,255,.08) 2px, transparent 2px, transparent 14px); }
.cta-bottom-inner { position: relative; }
#cta-bottom h2 { color: #fff; margin-bottom: 14px; font-size: clamp(2rem, 4vw, 2.8rem); }
#cta-bottom p { color: rgba(255,255,255,.62); font-size: 1.08rem; max-width: 500px; margin: 0 auto 36px; }
.cta-bottom-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FLOATING TG BUTTON ===== */
#float-tg {
  position: fixed;
  bottom: 28px; right: 24px;
  z-index: 8000;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #2aa3dc;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.22);
  transition: transform var(--tr), box-shadow var(--tr);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}
#float-tg.show { opacity: 1; pointer-events: all; transform: scale(1); }
#float-tg:hover { transform: scale(1.08); box-shadow: 0 8px 28px rgba(42,163,220,.45); }
#float-tg svg { width: 26px; height: 26px; fill: #fff; }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .process-grid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2)::after { display: none; }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .portfolio-item:first-child { grid-column: span 2; }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav-menu, .nav-actions { display: none; }
  .nav-burger { display: flex; }
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(17,30,60,.98); padding: 20px 24px; gap: 16px; border-top: 1px solid rgba(255,255,255,.1); }
  .hero-stats { gap: 24px; }
  .about-reasons { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .stat-item::after { display: none; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item:first-child { grid-column: span 1; aspect-ratio: 4/3; }
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-stats { gap: 20px; }
}
