@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700;800&display=swap');

/* ===========================
   THEME VARIABLES
   =========================== */
:root,
[data-theme="light"] {
    --bg-page: #FFFFFF;
    --bg-alt: #F5F7FA;
    --bg-card: #FFFFFF;
    --bg-header: #0A2A4D;
    --bg-footer: #0A2A4D;
    --bg-cookie: #0A2A4D;
    --bg-sticky: #0A2A4D;
    --bg-tooltip: #1a1a2e;
    --text-primary: #1a1a2e;
    --text-secondary: #5a6a7a;
    --text-muted: #8899aa;
    --text-on-dark: #FFFFFF;
    --text-on-accent: #FFFFFF;
    --heading: #0A2A4D;
    --accent: #00ADEF;
    --accent-hover: #0095cc;
    --accent-glow: rgba(0, 173, 239, 0.25);
    --border: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(10, 42, 77, 0.06);
    --shadow-md: 0 4px 20px rgba(10, 42, 77, 0.08);
    --shadow-lg: 0 8px 32px rgba(10, 42, 77, 0.12);
    --shadow-btn: 0 4px 14px rgba(0, 173, 239, 0.35);
    --shadow-btn-hover: 0 6px 20px rgba(0, 173, 239, 0.45);
    --error: #dc2626;
    --error-glow: rgba(220, 38, 38, 0.15);
    --error-bg: rgba(220, 38, 38, 0.05);
    --error-border: rgba(220, 38, 38, 0.2);
    --success: #10b981;
    --success-dark: #059669;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-page: #0D1B2A;
    --bg-alt: #152238;
    --bg-card: #1B2838;
    --bg-header: #0A1628;
    --bg-footer: #0A1628;
    --bg-cookie: #1B2838;
    --bg-sticky: #0A1628;
    --bg-tooltip: #2a3a4a;
    --text-primary: #E8EDF2;
    --text-secondary: #A0B4C8;
    --text-muted: #6B8299;
    --text-on-dark: #E8EDF2;
    --text-on-accent: #FFFFFF;
    --heading: #4DA8DA;
    --accent: #00ADEF;
    --accent-hover: #33bfff;
    --accent-glow: rgba(0, 173, 239, 0.2);
    --border: #2a3a4a;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-btn: 0 4px 14px rgba(0, 173, 239, 0.3);
    --shadow-btn-hover: 0 6px 20px rgba(0, 173, 239, 0.4);
    --error: #ef4444;
    --error-glow: rgba(239, 68, 68, 0.2);
    --error-bg: rgba(239, 68, 68, 0.08);
    --error-border: rgba(239, 68, 68, 0.25);
}

/* ===========================
   BASE
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--bg-page);
    line-height: 1.7;
    scroll-behavior: smooth;
    transition: background var(--transition), color var(--transition);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--heading);
    margin-bottom: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: color var(--transition);
}

/* ===========================
   BUTTONS — volumetric
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--text-on-accent);
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    box-shadow: var(--shadow-btn);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.15), transparent);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    pointer-events: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn-hover);
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* ===========================
   HEADER
   =========================== */
.header {
    background: var(--bg-header);
    color: var(--text-on-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
    transition: background var(--transition);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.header__logo img {
    height: 56px;
    display: block;
}

.header__menu {
    display: flex;
    list-style: none;
    gap: 28px;
}

.header__menu a {
    color: var(--text-on-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition);
    font-size: 0.95rem;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.01em;
}

.header__menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.header__menu a:hover {
    color: var(--accent);
}

.header__menu a:hover::after {
    width: 100%;
}

.header__phone a {
    color: var(--text-on-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    white-space: nowrap;
    transition: color var(--transition);
}

.header__phone a:hover {
    color: var(--accent);
}

/* ===========================
   THEME SWITCHER
   =========================== */
.theme-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.theme-switcher__btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
    color: var(--text-on-dark);
}

.theme-switcher__btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}

.theme-switcher__icon {
    font-size: 1.2rem;
    line-height: 1;
}

.theme-switcher__tooltip {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-tooltip);
    color: #fff;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    line-height: 1.5;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    pointer-events: none;
    z-index: 200;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.theme-switcher__tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 14px;
    width: 12px;
    height: 12px;
    background: var(--bg-tooltip);
    transform: rotate(45deg);
}

.theme-switcher:hover .theme-switcher__tooltip,
.theme-switcher__btn:focus + .theme-switcher__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===========================
   BURGER
   =========================== */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-on-dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* ===========================
   HERO
   =========================== */
.hero {
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-page) 100%);
    padding: 100px 20px;
    text-align: center;
}

.hero__title {
    font-size: 3rem;
    color: var(--heading);
    margin-bottom: 20px;
    line-height: 1.15;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: color var(--transition);
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
    transition: color var(--transition);
}

.hero__footnote {
    margin-top: 15px;
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.hero__footnote::before {
    content: '* ';
    color: var(--accent);
    font-weight: bold;
}

/* ===========================
   SECTIONS — spacing + reveal
   =========================== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.problems {
    background: var(--bg-page);
    padding: 80px 20px;
    transition: background var(--transition);
}

.problems__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.problem-card {
    background: var(--bg-card);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    border: 1px solid var(--border);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.problem-card__icon svg {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    display: inline-block;
}

.problem-card h3 {
    color: var(--heading);
    margin-bottom: 12px;
    font-size: 1.15rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    transition: color var(--transition);
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    transition: color var(--transition);
}

/* ===========================
   SERVICES
   =========================== */
.services {
    background: var(--bg-alt);
    padding: 80px 20px;
    transition: background var(--transition);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card svg.card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: block;
}

.service-card h3 {
    color: var(--heading);
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    transition: color var(--transition);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
    flex: 1;
    transition: color var(--transition);
}

.service-card__more {
    display: inline-block;
    margin-top: 16px;
    padding-top: 12px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===========================
   INDUSTRIES
   =========================== */
.industries {
    background: var(--bg-page);
    padding: 80px 20px;
    transition: background var(--transition);
}

.industries__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.industry-card {
    background: var(--bg-card);
    padding: 28px 18px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    border: 1px solid var(--border);
    min-width: 0;
}

.industry-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.industry-card svg {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    display: inline-block;
}

.industry-card h3 {
    color: var(--heading);
    font-size: 0.92rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: color var(--transition);
}

/* ===========================
    ABOUT
    =========================== */
.about {
    background: var(--bg-alt);
    padding: 60px 20px 30px;
    transition: background var(--transition);
}

.about__content p {
    max-width: 800px;
    margin: 0 auto 16px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    transition: color var(--transition);
}

.about__content strong {
    color: var(--heading);
    transition: color var(--transition);
}

.about-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: background var(--transition), border-color var(--transition);
}

.about-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
    transition: color var(--transition);
}

.about-card p:last-child {
    margin-bottom: 0;
}

.about-card strong {
    color: var(--heading);
    transition: color var(--transition);
}

/* ===========================
    INFO CARDS
    =========================== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.info-card {
    background: var(--bg-card);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.info-card h3 {
    color: var(--heading);
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 12px;
    transition: color var(--transition);
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    transition: color var(--transition);
}

/* ===========================
   HOW
   =========================== */
.how {
    background: var(--bg-page);
    padding: 80px 20px;
    transition: background var(--transition);
}

.how__steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.step {
    background: var(--bg-card);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 18px;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    border: 1px solid var(--border);
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.step__num {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--text-on-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0,173,239,0.3);
}

.step h3 {
    color: var(--heading);
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    transition: color var(--transition);
}

.step p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
    transition: color var(--transition);
}

/* ===========================
   SLA TARIFFS
   =========================== */
.sla__tariffs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.sla-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
    position: relative;
}

.sla-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.sla-card--featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-md), 0 0 0 1px var(--accent);
    transform: scale(1.04);
    z-index: 1;
}

.sla-card--featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.sla-card h3 {
    color: var(--heading);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
    transition: color var(--transition);
}

.sla-card__price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    transition: color var(--transition);
}

.sla-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.sla-card li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--border);
    transition: color var(--transition), border-color var(--transition);
}

.sla-card li:last-child {
    border-bottom: none;
}

.sla-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
}

/* ===========================
   CASES — carousel
   =========================== */
.cases {
    background: var(--bg-alt);
    padding: 30px 0 40px;
    transition: background var(--transition);
}

.cases .section-title {
    margin-bottom: 24px;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.case {
    flex-shrink: 0;
    background: var(--bg-card);
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: background var(--transition), border-color var(--transition), opacity var(--transition);
    box-sizing: border-box;
    opacity: 0.4;
}

.case.case--active {
    opacity: 1;
}

.case h3 {
    color: var(--heading);
    margin-bottom: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    transition: color var(--transition);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.case p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 10px;
    transition: color var(--transition);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.case p:last-child {
    margin-bottom: 0;
}

.case p strong {
    color: var(--accent);
    transition: color var(--transition);
}

.carousel__prev,
.carousel__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: var(--text-on-accent);
    border: none;
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity var(--transition), background var(--transition), transform var(--transition);
    line-height: 40px;
    text-align: center;
    z-index: 10;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

.carousel__prev:hover,
.carousel__next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

.carousel__prev {
    left: 8px;
}

.carousel__next {
    right: 8px;
}

.carousel__counter {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

/* ===========================
   FAQ
   =========================== */
.faq {
    background: var(--bg-page);
    padding: 30px 20px 60px;
    transition: background var(--transition);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: background var(--transition), border-color var(--transition);
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-family: 'Inter', sans-serif;
    line-height: 1.45;
    transition: color var(--transition);
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform var(--transition);
    font-weight: 300;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.93rem;
    background: var(--bg-alt);
    transition: max-height 0.4s ease, padding 0.3s ease, color var(--transition), background var(--transition);
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 16px 24px 20px;
}

/* ===========================
   CONTACTS
   =========================== */
.contacts {
    background: var(--bg-alt);
    padding: 60px 20px;
    transition: background var(--transition);
}

.contacts__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.contacts__form {
    background: var(--bg-card);
    padding: 28px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: background var(--transition), border-color var(--transition);
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--heading);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.form-group textarea {
    height: 80px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-group--checkbox input {
    width: auto;
    margin-top: 4px;
    accent-color: var(--accent);
}

.form-group--checkbox label {
    font-size: 0.83rem;
    font-weight: 400;
    line-height: 1.45;
    color: var(--text-secondary);
}

.char-count {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 2px;
}

.form-group--error input,
.form-group--error textarea {
    border-color: var(--error);
    box-shadow: 0 0 0 3px var(--error-glow);
}

.form-group--error label {
    color: var(--error);
}

.error-msg {
    color: var(--error);
    font-size: 0.82rem;
    font-weight: 500;
    display: none;
    margin-top: 6px;
    padding: 8px 12px;
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    border-left: 3px solid var(--error);
    border-radius: var(--radius-md);
    animation: errorSlideIn 0.3s ease;
}

.error-msg::before {
    content: '⚠ ';
}

.error-msg.visible {
    display: block;
}

@keyframes errorSlideIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Success message — centered */
.form-response {
    margin-top: 24px;
    text-align: center;
}

.form-response .success-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.form-response .success-msg .check-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--success, #10b981), var(--success-dark, #059669));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.form-response .success-msg .check-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    stroke-width: 3;
    fill: none;
}

.form-response .success-msg p {
    color: var(--heading);
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0;
}

.map-address {
    margin-top: 12px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.map-address strong {
    color: var(--heading);
    transition: color var(--transition);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--bg-footer);
    color: var(--text-on-dark);
    padding: 30px 20px 15px;
    transition: background var(--transition);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.footer__col h4 {
    color: var(--accent);
    font-size: 0.95rem;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.footer__col p,
.footer__col a {
    color: var(--text-on-dark);
    text-decoration: none;
    line-height: 1.9;
    font-size: 0.88rem;
    display: block;
    opacity: 0.85;
    transition: opacity var(--transition), color var(--transition);
}

.footer__col a:hover {
    color: var(--accent);
    opacity: 1;
}

.footer__social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.footer__social a {
    width: 36px;
    height: 36px;
    line-height: 0;
    opacity: 0.85;
    transition: opacity var(--transition);
}

.footer__social a:hover {
    opacity: 1;
}

.footer__social svg {
    width: 36px;
    height: 36px;
    fill: var(--text-on-dark);
    transition: fill var(--transition);
}

.footer__social a:hover svg {
    fill: var(--accent);
}

.footer__social img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer__bottom {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 12px;
    margin-top: 12px;
    font-size: 0.83rem;
    opacity: 0.6;
}

.footer__bottom a {
    color: var(--accent);
    display: inline-block;
    margin-bottom: 6px;
    text-decoration: none;
    opacity: 1;
}

/* ===========================
   COOKIE BANNER
   =========================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-cookie);
    color: var(--text-on-dark);
    padding: 14px 20px;
    z-index: 10001;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255,255,255,0.08);
    transition: background var(--transition);
}

.cookie-banner.active {
    display: block;
    animation: slideUp 0.35s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner p {
    font-size: 0.84rem;
    flex: 1;
    min-width: 200px;
    margin: 0;
    line-height: 1.55;
    opacity: 0.9;
}

.cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-banner .btn {
    flex-shrink: 0;
    padding: 8px 22px;
    font-size: 0.84rem;
}

/* ===========================
   STICKY PANEL
   =========================== */
.sticky-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-sticky);
    padding: 10px 20px;
    z-index: 999;
    display: none;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255,255,255,0.06);
    transition: background var(--transition);
}

.sticky-panel.active {
    display: block;
}

.sticky-panel__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.sticky-panel a,
.sticky-panel .btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-on-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.84rem;
    white-space: nowrap;
}

.sticky-panel .sticky-icon {
    width: 26px;
    height: 26px;
    fill: var(--text-on-dark);
    flex-shrink: 0;
}

.sticky-panel .btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    box-shadow: 0 3px 10px rgba(0,173,239,0.3);
}

.sticky-panel .btn:hover {
    box-shadow: 0 4px 14px rgba(0,173,239,0.4);
}

/* ===========================
   LEAD MAGNET
   =========================== */
.lead-magnet {
    background: linear-gradient(135deg, var(--heading), #0d4077);
    color: var(--text-on-dark);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    text-align: center;
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 4px 16px rgba(10, 42, 77, 0.25);
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials {
    background: var(--bg-page);
    padding: 80px 20px;
    transition: background var(--transition);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.testimonial-card__text {
    font-style: italic;
    flex: 1;
    margin-bottom: 18px;
    line-height: 1.7;
    font-size: 0.93rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.testimonial-card__author {
    font-weight: 700;
    color: var(--heading);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.testimonial-card__source {
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .header__nav {
        display: none;
        width: 100%;
        order: 4;
    }
    .header__nav.active {
        display: block;
    }
    .header__menu {
        flex-direction: column;
        gap: 14px;
        padding: 16px 0;
    }
    .burger {
        display: flex;
    }
    .hero__title {
        font-size: 2rem;
    }
    .hero__subtitle {
        font-size: 1.05rem;
    }
    .section-title {
        font-size: 1.7rem;
        margin-bottom: 36px;
    }
    .contacts__row {
        grid-template-columns: 1fr;
    }
    .footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer__social {
        justify-content: center;
    }
    .testimonials__grid {
        grid-template-columns: 1fr;
    }
    .problems__grid,
    .services__grid {
        grid-template-columns: 1fr;
    }
    .industries__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .industry-card {
        padding: 20px 12px;
    }
    .industry-card h3 {
        font-size: 0.82rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .how__steps {
        grid-template-columns: 1fr;
    }
    .step {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    .step__num {
        margin: 0 auto 12px;
    }
    .sla__tariffs {
        grid-template-columns: 1fr;
    }
    .sla-card--featured {
        transform: none;
    }
    .sla-card--featured:hover {
        transform: translateY(-5px);
    }
    .sticky-panel {
        padding: 8px 10px;
    }
    .sticky-panel__inner {
        gap: 8px;
    }
    .sticky-panel a,
    .sticky-panel .btn {
        font-size: 0.75rem;
    }
    .sticky-panel .sticky-icon {
        width: 22px;
        height: 22px;
    }
    .sticky-panel .btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    .cookie-banner__inner {
        flex-direction: column;
        text-align: center;
    }
    .case {
        padding: 24px 28px;
    }
    .case h3 {
        font-size: 1rem;
    }
    .case p {
        font-size: 0.88rem;
    }
    .carousel__prev,
    .carousel__next {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
        line-height: 36px;
    }
    .carousel__prev {
        left: 4px;
    }
    .carousel__next {
        right: 4px;
    }
    .theme-switcher__tooltip {
        right: -60px;
        top: calc(100% + 8px);
    }
}
