/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --accent: #f47d32;
    --accent-glow: rgba(244, 125, 50, 0.4);
    --accent-2: #ffaa00;
    --oil-dark: #1a1208;
    --oil-brown: #3d2b00;
    --oil-glow: rgba(244, 125, 50, 0.15);
    --text: #e8e8e8;
    --text-dim: #6a6a7a;
    --glass: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Oil Drop Cursor Trail */
.oil-drop {
    position: fixed;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    animation: oilFade 1s ease forwards;
}

@keyframes oilFade {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 0; transform: scale(3) translateY(30px); }
}

/* Liquid Oil Background */
.oil-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.oil-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse 600px 600px at 20% 30%, rgba(244, 125, 50, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 400px 400px at 80% 70%, rgba(255, 170, 0, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 300px 300px at 50% 50%, rgba(61, 43, 0, 0.1) 0%, transparent 60%);
    animation: oilFlow 20s ease-in-out infinite;
}

@keyframes oilFlow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(2deg); }
    50% { transform: translate(-20px, 20px) rotate(-1deg); }
    75% { transform: translate(10px, -10px) rotate(1deg); }
}

/* Grid Lines Background */
.grid-lines {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(244, 125, 50, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244, 125, 50, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(0deg); }
    100% { transform: perspective(500px) rotateX(0deg) translateY(80px); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: 60px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover::before {
    opacity: 1;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #000;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px var(--accent-glow);
}

.btn--outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 30px rgba(244, 125, 50, 0.2);
}

.btn--lg {
    padding: 18px 44px;
    font-size: 16px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.header--scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.header__logo-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 10px var(--accent-glow));
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 10px var(--accent-glow)); }
    50% { filter: drop-shadow(0 0 20px var(--accent-glow)); }
}

.header__logo-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header__nav {
    display: flex;
    gap: 8px;
}

.header__nav-link {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    border-radius: 30px;
    transition: all 0.3s;
    position: relative;
}

.header__nav-link:hover {
    color: var(--text);
    background: var(--glass);
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.header__nav-link:hover::after {
    width: 20px;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__phone {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    transition: color 0.3s;
}

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

.header__cta {
    padding: 10px 24px;
    font-size: 13px;
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.header__burger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__oil-stream {
    position: absolute;
    top: 0;
    right: 15%;
    width: 120px;
    height: 100%;
    overflow: hidden;
    opacity: 0.3;
}

.hero__oil-stream::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 300%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(244, 125, 50, 0.1) 20%,
        rgba(244, 125, 50, 0.4) 40%,
        rgba(255, 170, 0, 0.6) 50%,
        rgba(244, 125, 50, 0.4) 60%,
        rgba(244, 125, 50, 0.1) 80%,
        transparent 100%);
    animation: oilStream 4s ease-in-out infinite;
}

@keyframes oilStream {
    0% { transform: translateY(-33%); }
    100% { transform: translateY(0%); }
}

.hero__oil-stream:nth-child(2) {
    right: 16%;
    opacity: 0.15;
    width: 80px;
    animation-delay: -1s;
}

.hero__oil-stream:nth-child(3) {
    right: 14%;
    opacity: 0.1;
    width: 60px;
    animation-delay: -2s;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 140px 0 100px;
    position: relative;
    z-index: 1;
}

.hero__content {
    position: relative;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px transparent; }
}

.hero__title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero__title-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
}

.hero__stats {
    display: flex;
    gap: 48px;
    margin-bottom: 48px;
}

.hero__stat {
    text-align: left;
}

.hero__stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero__stat-label {
    font-size: 13px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.hero__actions {
    display: flex;
    gap: 16px;
}

/* Hero Visual - Oil Can Animation */
.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.hero__can {
    position: relative;
    width: 280px;
    height: 380px;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 20px 20px 30px 30px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        0 0 100px var(--accent-glow);
    animation: canFloat 6s ease-in-out infinite;
    overflow: hidden;
}

@keyframes canFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.hero__can-cap {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    background: linear-gradient(180deg, #444 0%, #222 100%);
    border-radius: 8px 8px 0 0;
    border: 2px solid #555;
    border-bottom: none;
}

.hero__can-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}

.hero__can-label-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

.hero__can-label-text {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero__can-label-sub {
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 4px;
}

.hero__can-oil {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0%;
    background: linear-gradient(180deg,
        rgba(244, 125, 50, 0.3) 0%,
        rgba(61, 43, 0, 0.9) 50%,
        #3d2b00 100%);
    transition: height 2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 28px 28px;
}

.hero__can-oil::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0,10 Q25,0 50,10 T100,10 L100,20 L0,20 Z' fill='rgba(244,125,50,0.3)'/%3E%3C/svg%3E");
    background-size: 50px 20px;
    animation: wave 3s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-25px); }
}

.hero__can-drip {
    position: absolute;
    top: -40px;
    left: 50%;
    width: 8px;
    height: 0;
    background: var(--accent);
    border-radius: 0 0 50% 50%;
    animation: drip 2s ease-in-out infinite;
}

@keyframes drip {
    0%, 60%, 100% { height: 0; opacity: 0; }
    30% { height: 30px; opacity: 1; }
    50% { height: 30px; opacity: 1; top: 0; }
    80% { height: 8px; opacity: 0; top: 100px; }
}

.hero__ring {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(244, 125, 50, 0.1);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

.hero__ring:nth-child(2) {
    width: 350px;
    height: 350px;
    animation-direction: reverse;
    animation-duration: 15s;
}

.hero__ring:nth-child(3) {
    width: 300px;
    height: 300px;
    animation-duration: 25s;
}

@keyframes ringRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero__ring-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-title span {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

/* Services */
.services {
    padding: 120px 0;
    position: relative;
}

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

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--oil-glow) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(244, 125, 50, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card__icon {
    position: relative;
    z-index: 1;
    font-size: 56px;
    margin-bottom: 24px;
    display: block;
    transition: transform 0.5s;
}

.service-card:hover .service-card__icon {
    transform: scale(1.15) rotate(-5deg);
}

.service-card__title {
    position: relative;
    z-index: 1;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.service-card__desc {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-card__price {
    position: relative;
    z-index: 1;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Prices */
.prices {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(26, 18, 8, 0.3) 50%, var(--bg-dark) 100%);
}

.prices__table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.prices__table {
    width: 100%;
    border-collapse: collapse;
}

.prices__table th,
.prices__table td {
    padding: 20px 28px;
    text-align: left;
}

.prices__table thead {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
}

.prices__table th {
    color: #000;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prices__table td {
    border-bottom: 1px solid var(--glass-border);
    font-size: 15px;
    color: var(--text);
}

.prices__table tr:last-child td {
    border-bottom: none;
}

.prices__table tbody tr {
    transition: all 0.3s;
}

.prices__table tbody tr:hover {
    background: var(--glass);
}

.prices__table td:nth-child(2) {
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
}

.prices__note {
    text-align: center;
    font-size: 14px;
    color: var(--text-dim);
    margin-top: 24px;
}

/* About */
.about {
    padding: 120px 0;
    position: relative;
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about__feature {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.4s;
}

.about__feature:hover {
    border-color: rgba(244, 125, 50, 0.3);
    transform: translateY(-4px);
}

.about__feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: block;
}

.about__feature strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.about__feature p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.6;
}

.about__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.about__gear {
    width: 300px;
    height: 300px;
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: gearSpin 20s linear infinite;
    position: relative;
}

.about__gear::before {
    content: '🔧';
    font-size: 100px;
    animation: gearSpin 20s linear infinite reverse;
}

@keyframes gearSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about__gear-ring {
    position: absolute;
    width: 250px;
    height: 250px;
    border: 1px dashed rgba(244, 125, 50, 0.2);
    border-radius: 50%;
    animation: gearSpin 15s linear infinite reverse;
}

/* CTA */
.cta {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(244, 125, 50, 0.1) 0%, rgba(255, 170, 0, 0.05) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.cta__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta__title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta__text {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 36px;
}

/* Contacts */
.contacts {
    padding: 120px 0;
}

.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacts__item {
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s;
}

.contacts__item:hover {
    border-color: rgba(244, 125, 50, 0.3);
    transform: translateX(8px);
}

.contacts__icon {
    font-size: 28px;
    flex-shrink: 0;
}

.contacts__item strong {
    display: block;
    font-size: 16px;
    color: #fff;
    margin-bottom: 6px;
}

.contacts__item p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
}

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

.contacts__item a:hover {
    text-decoration: underline;
}

.contacts__map {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacts__map-placeholder {
    text-align: center;
    padding: 40px;
}

.contacts__map-icon {
    font-size: 60px;
    display: block;
    margin-bottom: 16px;
    opacity: 0.5;
}

.contacts__map-text {
    font-size: 16px;
    color: var(--text-dim);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    padding-top: 60px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer__logo-icon {
    font-size: 28px;
}

.footer__desc {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 300px;
}

.footer__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 20px;
}

.footer__list li {
    margin-bottom: 12px;
}

.footer__list a {
    font-size: 14px;
    color: var(--text-dim);
    transition: color 0.3s;
}

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

.footer__bottom {
    border-top: 1px solid var(--glass-border);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-dim);
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}

.modal--active {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal__content {
    position: relative;
    background: linear-gradient(180deg, rgba(30, 30, 40, 0.98) 0%, rgba(20, 20, 30, 0.98) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 48px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.modal--active .modal__content {
    transform: translateY(0) scale(1);
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    font-size: 20px;
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal__close:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.modal__title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

.modal__title span {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal__success {
    text-align: center;
    padding: 30px 0;
}

.modal__success-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 20px;
    animation: successBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.modal__success h4 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #fff;
}

.modal__success p {
    color: var(--text-dim);
    margin-bottom: 28px;
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    font-family: var(--font);
    font-size: 16px;
    color: var(--text);
    transition: all 0.3s;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--oil-glow);
    background: rgba(255, 255, 255, 0.06);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236a6a7a'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

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

.form-note {
    font-size: 12px;
    color: var(--text-dim);
    text-align: center;
    margin-top: 16px;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #000;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
    z-index: 999;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.back-to-top--visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

/* Oil Drip Animation (decorative) */
.oil-drips {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.oil-drip {
    position: absolute;
    top: -20px;
    width: 6px;
    height: 0;
    background: linear-gradient(180deg, var(--accent), var(--oil-brown));
    border-radius: 0 0 50% 50%;
    animation: dripFall var(--duration) var(--delay) ease-in infinite;
}

@keyframes dripFall {
    0% { height: 0; opacity: 0; top: -20px; }
    10% { height: 20px; opacity: 1; }
    90% { height: 20px; opacity: 1; }
    100% { height: 0; opacity: 0; top: 100vh; }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero__subtitle {
        margin: 0 auto 40px;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__visual {
        height: 400px;
    }

    .hero__can {
        width: 220px;
        height: 300px;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__inner {
        grid-template-columns: 1fr;
    }

    .about__visual {
        order: -1;
    }

    .contacts__grid {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid var(--glass-border);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s;
    }

    .header__nav--active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .header__nav-link {
        padding: 16px 0;
        border-bottom: 1px solid var(--glass-border);
        display: block;
        text-align: center;
    }

    .header__right {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .hero__title {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .hero__stat-number {
        font-size: 36px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__visual {
        height: 300px;
    }

    .hero__can {
        width: 180px;
        height: 240px;
    }

    .section-title {
        font-size: 32px;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .about__features {
        grid-template-columns: 1fr;
    }

    .prices__table th,
    .prices__table td {
        padding: 14px 16px;
        font-size: 13px;
    }

    .cta__title {
        font-size: 28px;
    }

    .modal__content {
        padding: 32px 24px;
        margin: 20px;
        border-radius: 20px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero__oil-stream {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 28px;
    }

    .hero__stats {
        flex-direction: column;
        gap: 20px;
    }

    .btn--lg {
        padding: 16px 32px;
        font-size: 14px;
    }
}
