:root {
    --primary: #4A6FA5;
    --primary-dark: #38588C;
    --secondary: #FF7E5F;
    --accent: #6B5B95;
    --dark: #1A1F2B;
    --light: #F5F7FA;
    --gray: #8A94A6;
    --gradient-primary: linear-gradient(135deg, #4A6FA5 0%, #6B5B95 100%);
    --gradient-secondary: linear-gradient(135deg, #FF7E5F 0%, #FFB347 100%);
    --gradient-dark: linear-gradient(135deg, #1A1F2B 0%, #2D3748 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 120px 0;
    position: relative;
}

/* ADVANCED DIGITAL BACKGROUND - СОВСЕМ ДРУГОЙ СТИЛЬ */
.digital-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 50%, rgba(74, 111, 165, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(255, 126, 95, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, rgba(26, 31, 43, 0.02) 0%, transparent 50%),
        linear-gradient(45deg, transparent 0%, rgba(107, 91, 149, 0.02) 100%);
}

/* ЦИФРОВАЯ СЕТКА */
.digital-grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(74, 111, 165, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 111, 165, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
}

/* АНИМАЦИОННЫЕ ЭЛЕМЕНТЫ - МНОГО НОВЫХ */
.data-stream {
    position: absolute;
    width: 2px;
    height: 200%;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    animation: dataFlow 15s linear infinite;
    opacity: 0.08;
}

.data-stream:nth-child(2) { left: 20%; animation-delay: -3s; }
.data-stream:nth-child(3) { left: 40%; animation-delay: -6s; }
.data-stream:nth-child(4) { left: 60%; animation-delay: -9s; }
.data-stream:nth-child(5) { left: 80%; animation-delay: -12s; }

.floating-shapes {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.03;
    animation: floatElement 20s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    background: var(--gradient-secondary);
    animation-delay: -5s;
    animation-duration: 25s;
}

.floating-element:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation-delay: -10s;
    animation-duration: 30s;
}

.floating-element:nth-child(4) {
    width: 250px;
    height: 250px;
    top: 30%;
    right: 20%;
    animation-delay: -7s;
}

/* НОВЫЕ АНИМАЦИИ */
.binary-rain {
    position: absolute;
    color: var(--primary);
    font-family: monospace;
    font-size: 14px;
    opacity: 0;
    animation: binaryRain 15s linear infinite;
}

.binary-rain:nth-child(5) { left: 15%; animation-delay: 0s; }
.binary-rain:nth-child(6) { left: 35%; animation-delay: -3s; }
.binary-rain:nth-child(7) { left: 55%; animation-delay: -6s; }
.binary-rain:nth-child(8) { left: 75%; animation-delay: -9s; }

.pulse-ring {
    position: absolute;
    border: 2px solid rgba(74, 111, 165, 0.1);
    border-radius: 50%;
    animation: pulseRing 8s ease-in-out infinite;
}

.pulse-ring:nth-child(9) {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 25%;
    animation-delay: 0s;
}

.pulse-ring:nth-child(10) {
    width: 150px;
    height: 150px;
    bottom: 30%;
    left: 25%;
    animation-delay: -4s;
}

.digital-orb {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--secondary);
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.3;
    animation: orbFloat 12s ease-in-out infinite;
}

.digital-orb:nth-child(11) { top: 40%; left: 20%; animation-delay: 0s; }
.digital-orb:nth-child(12) { top: 70%; right: 30%; animation-delay: -6s; }

@keyframes dataFlow {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes floatElement {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -50px) rotate(120deg); }
    66% { transform: translate(-20px, 30px) rotate(240deg); }
}

@keyframes binaryRain {
    0% { transform: translateY(-100px); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes pulseRing {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.3); opacity: 0.3; }
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(40px, -30px); }
    50% { transform: translate(20px, 40px); }
    75% { transform: translate(-30px, 20px); }
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(245, 247, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(138, 148, 166, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 5px 20px rgba(26, 31, 43, 0.08);
    padding: 5px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark);
    font-weight: 800;
    font-size: 1.9rem;
    transition: all 0.3s ease;
}

.logo:hover { transform: scale(1.05); }

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 1.8rem;
    transform: rotate(45deg);
    transition: transform 0.5s ease;
}

.logo:hover .logo-icon { transform: rotate(0deg); }

.logo-text { font-family: 'Montserrat', sans-serif; }
.logo-text span { color: var(--primary); }

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 40px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::before { width: 100%; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover { transform: rotate(90deg); }

/* UNIQUE Hero Section */
.hero {
    padding-top: 200px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    line-height: 1.1;
    position: relative;
}

.hero h1 .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: block;
}

.hero h1 .gradient-text::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 6px;
    background: var(--gradient-secondary);
    bottom: -15px;
    left: 0;
    border-radius: 3px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--gray);
    margin: 40px 0 50px;
    max-width: 500px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 18px 45px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 15px 30px rgba(74, 111, 165, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-secondary);
    transition: width 0.4s ease;
    z-index: -1;
}

.cta-button:hover::before { width: 100%; }

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(74, 111, 165, 0.3);
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interface-container {
    width: 100%;
    height: 100%;
    position: relative;
    perspective: 1000px;
}

.interface-screen {
    width: 300px;
    height: 400px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(74, 111, 165, 0.15);
    position: absolute;
    overflow: hidden;
    border: 1px solid rgba(138, 148, 166, 0.2);
}

/* Right card (Design Interface) — tilt to the RIGHT, keep position */
.interface-screen:nth-child(1) {
    top: 0;
    right: 0;
    transform-origin: 20% 80%; /* pivot near inner-bottom edge */
    transform: rotate(10deg);
    z-index: 1;
    animation: floatScreen1 8s ease-in-out infinite;
}

/* Left card (Analytics) — tilt to the LEFT, keep position */
.interface-screen:nth-child(2) {
    top: 50px;
    left: 0;
    transform-origin: 80% 80%; /* pivot near inner-bottom edge */
    transform: rotate(-10deg);
    z-index: 2;
    animation: floatScreen2 10s ease-in-out infinite;
}

.interface-screen:nth-child(3) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
    z-index: 4;
    animation: floatScreen3 12s ease-in-out infinite;
}

.screen-header {
    height: 50px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: white;
    font-weight: 600;
}

.screen-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.content-item {
    height: 8px;
    background: rgba(138, 148, 166, 0.2);
    border-radius: 4px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes floatScreen1 {
    0%, 100% { transform: rotate(10deg) translateY(0); }
    50% { transform: rotate(10deg) translateY(-20px); }
}

@keyframes floatScreen2 {
    0%, 100% { transform: rotate(-10deg) translateY(0); }
    50% { transform: rotate(-10deg) translateY(-15px); }
}


@keyframes floatScreen3 {
    0%, 100% { transform: translateX(-50%) rotate(2deg) translateY(0); }
    50% { transform: translateX(-50%) rotate(2deg) translateY(-10px); }
}


@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* SERVICES SECTION - СОВСЕМ ХАОТИЧНО */
.services {
    background: rgba(245, 247, 250, 0.7);
    position: relative;
    overflow: hidden;
    min-height: 1400px;
}

.section-title {
    text-align: center;
    margin-bottom: 100px;
    position: relative;
    z-index: 2;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 6px;
    background: var(--gradient-primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 30px auto 0;
    font-size: 1.2rem;
}

/* КОНТЕЙНЕР С ХАОТИЧНЫМ РАСПОЛОЖЕНИЕМ */
.services-container {
    position: relative;
    width: 100%;
    height: 1200px;
    margin-top: 50px;
}

/* КАРТОЧКИ УСЛУГ - АБСОЛЮТНО ХАОТИЧНО */
.service-card {
    position: absolute;
    background: white;
    border-radius: 25px;
    padding: 40px 35px;
    box-shadow: 0 20px 40px rgba(26, 31, 43, 0.08);
    border: 1px solid rgba(138, 148, 166, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 360px;
    z-index: 5;
    animation: chaoticFloat 20s ease-in-out infinite;
}

/* КАРТОЧКА 1 - ВЕРХНИЙ ЛЕВЫЙ УГОЛ */
.service-card:nth-child(1) {
    top: 100px;
    left: 10%;
    transform: rotate(-5deg);
    animation-delay: 0s;
}

/* КАРТОЧКА 2 - ПРАВЫЙ ЦЕНТР */
.service-card:nth-child(2) {
    top: 200px;
    right: -5%;
    transform: rotate(3deg);
    animation-delay: -7s;
    width: 340px;
}

/* КАРТОЧКА 3 - НИЖНИЙ ЦЕНТР */
.service-card:nth-child(3) {
    top: 300px;
    left: 43%;
    transform: translateX(-50%) rotate(-2deg);
    animation-delay: -14s;
    width: 380px;
    padding: 45px 40px;
}

@keyframes chaoticFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(var(--rotation, 0deg));
    }
    25% {
        transform: translate(10px, -15px) rotate(calc(var(--rotation, 0deg) + 1deg));
    }
    50% {
        transform: translate(-5px, 8px) rotate(calc(var(--rotation, 0deg) - 0.5deg));
    }
    75% {
        transform: translate(8px, 5px) rotate(var(--rotation, 0deg));
    }
}

.service-card:hover {
    transform: translateY(-15px) scale(1.05) !important;
    box-shadow: 0 30px 60px rgba(74, 111, 165, 0.2);
    z-index: 10 !important;
    animation-play-state: paused;
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-secondary);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 2rem;
    transform: rotate(-45deg);
    transition: transform 0.5s ease;
}

.service-card:hover .service-icon { transform: rotate(0deg); }

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.price-tag {
    display: inline-flex;
    align-items: center;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.price-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-secondary);
    transition: width 0.3s ease;
    z-index: 0;
}

.service-card:hover .price-tag::before { width: 100%; }

.price-tag span { position: relative; z-index: 1; }

.price-period {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    margin-left: 5px;
}

.service-features {
    list-style: none;
    margin-top: 25px;
}

.service-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.service-features li i {
    color: var(--secondary);
    margin-right: 12px;
    font-size: 1.1rem;
    min-width: 20px;
}

/* АНИМАЦИИ В ПУСТЫХ МЕСТАХ */
.service-animations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.data-node {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: nodePulse 6s ease-in-out infinite;
}

.data-node:nth-child(1) { top: 200px; right: 30%; animation-delay: 0s; }
.data-node:nth-child(2) { top: 500px; left: 25%; animation-delay: -2s; width: 60px; height: 60px; }
.data-node:nth-child(3) { top: 700px; right: 40%; animation-delay: -4s; }
.data-node:nth-child(4) { top: 300px; left: 40%; animation-delay: -1s; width: 50px; height: 50px; }
.data-node:nth-child(5) { top: 900px; left: 20%; animation-delay: -3s; }

.data-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.05;
    animation: lineGlow 4s ease-in-out infinite;
}

.data-line:nth-child(6) { width: 200px; top: 250px; left: 20%; transform: rotate(30deg); animation-delay: 0s; }
.data-line:nth-child(7) { width: 180px; top: 600px; right: 25%; transform: rotate(-20deg); animation-delay: -1s; }
.data-line:nth-child(8) { width: 220px; top: 850px; left: 35%; transform: rotate(45deg); animation-delay: -2s; }

.floating-code {
    position: absolute;
    color: var(--primary);
    font-family: monospace;
    font-size: 12px;
    opacity: 0.2;
    animation: codeFloat 25s linear infinite;
}

.floating-code:nth-child(9) { top: 150px; left: 30%; animation-delay: 0s; }
.floating-code:nth-child(10) { top: 450px; right: 35%; animation-delay: -8s; }
.floating-code:nth-child(11) { top: 750px; left: 60%; animation-delay: -16s; }

.hex-pattern {
    position: absolute;
    width: 80px;
    height: 80px;
    background:
        linear-gradient(45deg, transparent 45%, rgba(74, 111, 165, 0.05) 50%, transparent 55%),
        linear-gradient(135deg, transparent 45%, rgba(255, 126, 95, 0.05) 50%, transparent 55%);
    opacity: 0.3;
    animation: hexRotate 20s linear infinite;
}

.hex-pattern:nth-child(12) { top: 350px; right: 15%; animation-delay: 0s; }
.hex-pattern:nth-child(13) { top: 650px; left: 15%; animation-delay: -10s; }

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.2); opacity: 0.2; }
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.15; }
}

@keyframes codeFloat {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.2; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 0.1; }
    100% { transform: translateY(0) rotate(360deg); opacity: 0.2; }
}

@keyframes hexRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Testimonials — use global site background */
.testimonials{
  background: transparent;       /* главное: не перекрываем общий фон */
  color: white;
  position: relative;
  overflow: hidden;
}

/* лёгкая вуаль для читаемости, но фон остаётся видимым */
.testimonials::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(7,10,18,.55) 0%,
    rgba(7,10,18,.35) 45%,
    rgba(7,10,18,.55) 100%
  );
}


.testimonials .section-title h2 { color: white; }
.testimonials .section-title p { color: rgba(255, 255, 255, 0.8); }

/* чтобы контент был поверх вуали */
.testimonials .container{
  position: relative;
  z-index: 1;
}


.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 50px;
    opacity: 0;
    transform: translateX(100px) rotateY(30deg);
    transition: all 0.8s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0) rotateY(0);
    z-index: 2;
}

.testimonial-card.prev {
    opacity: 0.3;
    transform: translateX(-100px) rotateY(-30deg);
}

.testimonial-text {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 40px;
    position: relative;
    padding-left: 30px;
    line-height: 1.8;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -20px;
    font-size: 5rem;
    color: var(--secondary);
    opacity: 0.5;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    overflow: hidden;
    margin-right: 20px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
    transform: rotate(45deg);
    transition: transform 0.5s ease;
}

.testimonial-card.active .author-avatar { transform: rotate(0deg); }

.author-info h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.author-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.control-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.control-dot.active {
    background: var(--gradient-secondary);
    transform: scale(1.3);
}

/* Contact Section */
.contact {
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

/* Digital Contact Form - Темный стиль */
.contact-form-container {
    background: rgba(26, 31, 43, 0.5);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-form-container::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 100%;
    background: var(--gradient-secondary);
    top: 0;
    left: 0;
}

.contact-form-header {
    display: flex;
    align-items: center;
    margin-bottom: 35px;
}

.form-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.8rem;
    transform: rotate(-45deg);
    transition: transform 0.5s ease;
}

.contact-form:hover .form-icon { transform: rotate(0deg); }

.contact-form h3 {
    font-size: 2.2rem;
    margin-bottom: 35px;
    color: white;
    position: relative;
    display: inline-block;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 6px;
    background: var(--gradient-secondary);
    bottom: -10px;
    left: 0;
    border-radius: 3px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.form-control {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(74, 111, 165, 0.2);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    padding-right: 50px;
}

.submit-btn {
    padding: 18px 45px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-secondary);
    transition: width 0.4s ease;
    z-index: -1;
}

.submit-btn:hover::before { width: 100%; }

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(74, 111, 165, 0.3);
}

/* Digital Contact Info Panel */
.contact-info-card {
    background: var(--gradient-dark);
    border-radius: 25px;
    padding: 50px;
    color: white;
    position: sticky;
    top: 120px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 35px;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.8rem;
    transform: rotate(-45deg);
    transition: transform 0.5s ease;
}

.contact-info-card:hover .info-icon { transform: rotate(0deg); }

.contact-info-card h3 {
    font-size: 2.2rem;
    color: white;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
}

.item-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--secondary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.item-content h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: white;
}

.item-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

.business-hours {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.hours-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.hours-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--secondary);
    font-size: 1.5rem;
}

.business-hours h4 {
    font-size: 1.4rem;
    color: white;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hour-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px 20px;
}

.hour-item .day {
    font-weight: 600;
    color: white;
    font-size: 1rem;
    margin-bottom: 5px;
}

.hour-item .time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Footer */
footer {
    background: var(--gradient-dark);
    color: white;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: -150px;
    left: -150px;
    opacity: 0.05;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.footer-column h4 {
    font-size: 1.4rem;
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: var(--gradient-secondary);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.footer-logo i {
    color: var(--secondary);
    margin-right: 15px;
    font-size: 2.2rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.quick-links { list-style: none; }
.quick-links li { margin-bottom: 18px; }

.quick-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.quick-links a::before {
    content: '→';
    margin-right: 12px;
    color: var(--secondary);
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.quick-links a:hover { color: white; transform: translateX(10px); }
.quick-links a:hover::before { opacity: 1; transform: translateX(0); }

.footer-policies { list-style: none; }
.footer-policies li { margin-bottom: 18px; }

.footer-policies a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.footer-policies a::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.footer-policies a:hover { color: white; padding-left: 25px; }

.policy-content {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin-top: 30px;
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-content.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.policy-content h5 {
    margin-bottom: 25px;
    font-size: 1.6rem;
    color: white;
    position: relative;
    padding-bottom: 15px;
}

.policy-content h5::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: var(--gradient-secondary);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.policy-content ul { padding-left: 25px; margin-bottom: 25px; }

.policy-content li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-left: 10px;
}

.policy-content li::before {
    content: '▸';
    position: absolute;
    left: -15px;
    color: var(--secondary);
}

.policy-content .company-info {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-bottom {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero h1 { font-size: 3.2rem; }
    .service-card { width: 320px; }
    .service-card:nth-child(1) { left: 5%; }
    .service-card:nth-child(2) { right: 5%; }
    .service-card:nth-child(3) { width: 340px; }
}

@media (max-width: 992px) {
    .container { padding: 0 30px; }
    .hero-container { grid-template-columns: 1fr; gap: 60px; }
    .hero { padding-top: 180px; }
    .hero h1 { font-size: 2.8rem; }

    .services-container { height: auto; min-height: 1600px; }
    .service-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        margin-bottom: 60px;
        animation: none !important;
        transform: none !important;
    }
    .service-card:hover { transform: translateY(-10px) scale(1.05) !important; }
    .service-animations { display: none; }

    .section-title h2 { font-size: 2.5rem; }

    .contact-container { grid-template-columns: 1fr; gap: 50px; }
    .contact-info-card { position: static; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }

    .nav-links {
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        background: rgba(245, 247, 250, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.4s ease;
        z-index: 999;
        border-bottom: 1px solid rgba(138, 148, 166, 0.1);
        box-shadow: 0 20px 40px rgba(26, 31, 43, 0.1);
    }

    .nav-links.active { transform: translateY(0); opacity: 1; }
    .nav-links li { margin: 20px 0; }

    .hero h1 { font-size: 2.3rem; }
    .section-title h2 { font-size: 2rem; }

    .service-card, .contact-form-container, .contact-info-card {
        padding: 35px 25px;
    }
}

@media (max-width: 576px) {
    .container { padding: 0 20px; }

    section { padding: 80px 0; }

    .hero { padding-top: 150px; }

    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.1rem; }
}

/* ============================
   Contrast pass (reduce white)
   Paste at the END of styles.css
   ============================ */

:root{
  /* dark base (keeps your brand gradients) */
  --light: #070A12;                 /* page background */
  --dark: #EAF0FF;                  /* primary text */
  --gray: rgba(234,240,255,.72);    /* secondary text */

  /* panels / cards */
  --card-bg: rgba(14,18,28,.72);
  --card-border: rgba(255,255,255,.10);
  --panel-bg: rgba(14,18,28,.55);
  --shadow-strong: 0 30px 80px rgba(0,0,0,.45);
}

/* Global */
body{
  background-color: var(--light);
  color: var(--dark);
}

/* Make the background effects visible on dark */
.digital-background{
  background:
    radial-gradient(circle at 15% 50%, rgba(74,111,165,.10) 0%, transparent 55%),
    radial-gradient(circle at 85% 30%, rgba(255,126,95,.10) 0%, transparent 55%),
    linear-gradient(135deg, rgba(26,31,43,.25) 0%, transparent 60%),
    linear-gradient(45deg, transparent 0%, rgba(107,91,149,.18) 100%);
}

.digital-grid-overlay{
  opacity: .75;
  background-image:
    linear-gradient(rgba(74,111,165,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,111,165,.08) 1px, transparent 1px);
}

.floating-element{ opacity: .06; }
.data-stream{ opacity: .16; }

/* Header / nav — remove white strip */
header{
  background-color: rgba(7,10,18,.72);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

header.scrolled{
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
}

.logo{ color: var(--dark); }
.nav-links a{ color: rgba(234,240,255,.92); }
.nav-links a:hover{ color: #fff; }

/* Hero text */
.hero p{ color: var(--gray); }

/* Hero “interface screens” — no more white blocks */
.interface-screen{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 25px 60px rgba(0,0,0,.38);
  backdrop-filter: blur(12px);
}

.content-item{
  background: rgba(234,240,255,.14);
}

/* Services section — remove light wash so background shows */
.services{
  background: transparent;
}

.services::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
  background: linear-gradient(
    180deg,
    rgba(7,10,18,0) 0%,
    rgba(7,10,18,.55) 22%,
    rgba(7,10,18,.55) 78%,
    rgba(7,10,18,0) 100%
  );
}

/* Ensure services content stays above the overlay */
.services .container,
.services .section-title,
.services .services-container{
  position: relative;
  z-index: 2;
}

/* Service cards — dark glass + readable text */
.service-card{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(14px);
}

.service-card h3{ color: var(--dark); }
.service-card p{ color: var(--gray); }

.service-features li{
  color: rgba(234,240,255,.82);
}

/* Section titles */
.section-title p{ color: var(--gray); }

/* Mobile menu — also remove white sheet */
@media (max-width: 768px){
  .nav-links{
    background: rgba(7,10,18,.92);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
  }
  .nav-links a{ color: rgba(234,240,255,.92); }
}

.price-tag{
  text-decoration: none;
  cursor: pointer;
}

.price-tag:focus-visible{
  outline: 2px solid rgba(255,255,255,.55);
  outline-offset: 4px;
}

/* ===== FIX: Testimonials background (override cleanly) ===== */
.testimonials{
  background: transparent !important;
  position: relative;
  overflow: hidden;
  isolation: isolate; /* чтобы слои не конфликтовали */
}

/* Полноэкранная вуаль поверх общего фона (без наследования круга) */
.testimonials::before{
  content: "";
  position: absolute;
  inset: 0;

  /* сброс старых параметров круга */
  width: auto;
  height: auto;
  border-radius: 0;

  pointer-events: none;
  z-index: 0;

  /* ВАЖНО: правильные rgba с точкой */
  background: linear-gradient(
    180deg,
    rgba(7,10,18,.45) 0%,
    rgba(7,10,18,.22) 45%,
    rgba(7,10,18,.45) 100%
  );
}

/* Контент секции всегда поверх вуали */
.testimonials .container{
  position: relative;
  z-index: 1;
}

/* На всякий случай фиксируем контейнер отзывов (чтобы не растягивался) */
.testimonials-container{
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  height: 400px;
}

/* Contact form title with icon (like Contact Info) */
.contact-title{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-title .form-icon{
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;

  transform: rotate(-45deg);
  transition: transform .5s ease;
  flex-shrink: 0;
}

/* Same hover animation logic as contact-info icon */
.contact-form-container:hover .contact-title .form-icon{
  transform: rotate(0deg);
}

/* Keep your existing h3 underline; just remove extra spacing conflicts */
.contact-form h3{
  margin: 0;
}
    
/* Hide-only utility (keeps accessibility + validation) */
.sr-only{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

/* Custom dropdown */
.dropdown{
  position: relative;
  width: 100%;
}

.dropdown-trigger{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 18px 20px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.92);

  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  cursor: pointer;

  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.dropdown-trigger:hover{
  border-color: rgba(74,111,165,0.55);
  box-shadow: 0 16px 30px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}

.dropdown.open .dropdown-trigger{
  border-color: rgba(74,111,165,0.85);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 18px 40px rgba(74,111,165,0.18);
}

.dropdown-value{
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  line-height: 1.2;
}

.dropdown-chevron{
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
  transition: transform .25s ease, opacity .25s ease;
  opacity: .9;
}

.dropdown.open .dropdown-chevron{
  transform: rotate(-135deg);
  opacity: 1;
}

/* Menu */
.dropdown-menu{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);

  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(14,18,28,0.85);
  backdrop-filter: blur(14px);

  box-shadow: 0 40px 90px rgba(0,0,0,0.55);

  padding: 10px;
  z-index: 50;

  /* animation */
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.dropdown.open .dropdown-menu{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-item{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 12px 12px;
  border-radius: 12px;
  border: 0;
  background: transparent;

  color: rgba(255,255,255,0.88);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.98rem;
  text-align: left;
  cursor: pointer;

  transition: background .2s ease, transform .2s ease, color .2s ease;
}

.dropdown-item:hover{
  background: rgba(255,255,255,0.06);
  transform: translateX(4px);
  color: #fff;
}

.dropdown-item:active{
  transform: translateX(4px) scale(.99);
}

.dropdown-sep{
  height: 1px;
  margin: 8px 6px;
  background: rgba(255,255,255,0.08);
}

/* Small left dot indicator (brand-ish) */
.dropdown-item .di{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(74,111,165,1) 0%, rgba(255,126,95,1) 100%);
  opacity: .85;
}

.dropdown-item.is-selected{
  background: rgba(74,111,165,0.14);
  border: 1px solid rgba(74,111,165,0.25);
}

/* Footer newsletter */
.footer-note{
  color: rgba(255,255,255,.68);
  line-height: 1.7;
  margin-bottom: 18px;
}

.newsletter{
  margin-top: 14px;
}

.newsletter-field{
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;

  padding: 10px 10px 10px 14px;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);

  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.newsletter-field:hover{
  transform: translateY(-2px);
  border-color: rgba(74,111,165,0.40);
  background: rgba(255,255,255,0.075);
  box-shadow: 0 22px 60px rgba(0,0,0,0.45);
}

.newsletter-field:focus-within{
  border-color: rgba(74,111,165,0.85);
  box-shadow: 0 26px 70px rgba(74,111,165,0.18);
}

.newsletter-input{
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;

  color: rgba(255,255,255,0.92);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  padding: 12px 10px;
  min-width: 0;
}

.newsletter-input::placeholder{
  color: rgba(255,255,255,0.45);
}

.newsletter-btn{
  width: 54px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;

  background: linear-gradient(135deg, rgba(74,111,165,1) 0%, rgba(107,91,149,1) 55%, rgba(255,126,95,1) 120%);
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);

  display: grid;
  place-items: center;

  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.newsletter-btn:hover{
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  filter: brightness(1.05);
}

.newsletter-btn:active{
  transform: translateY(0) scale(0.99);
}

.newsletter-btn-icon{
  width: 14px;
  height: 14px;
  border-right: 2px solid rgba(255,255,255,0.92);
  border-top: 2px solid rgba(255,255,255,0.92);
  transform: rotate(45deg);
  margin-left: -2px;
}

/* subtle glow pulse when success */
.newsletter-field.is-success{
  border-color: rgba(255,126,95,0.65);
  box-shadow: 0 0 0 2px rgba(255,126,95,0.10), 0 26px 70px rgba(255,126,95,0.10);
  animation: newsletterPop .6s ease;
}

@keyframes newsletterPop{
  0%{ transform: translateY(0) scale(1); }
  40%{ transform: translateY(-2px) scale(1.01); }
  100%{ transform: translateY(0) scale(1); }
}

.newsletter-meta{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.92rem;
}

.newsletter-hint{
  color: rgba(255,255,255,0.45);
}

.newsletter-status{
  color: rgba(255,255,255,0.75);
  min-height: 1.2em;
}

/* Social row spacing under newsletter */
.footer-social{
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

.footer-social a{
  color: rgba(255,255,255,0.88);
  font-size: 1.25rem;
  transition: transform .2s ease, opacity .2s ease;
}

.footer-social a:hover{
  transform: translateY(-4px);
  opacity: 1;
}
