:root {
    /* Colors */
    --primary: #0f172a;      /* Deep Blue */
    --primary-light: #1e293b;
    --accent: #f97316;       /* Bright Orange */
    --accent-hover: #ea580c;
    --text: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Spacing */
    --section-pad: 80px 0;
    --radius: 12px;
    --radius-lg: 20px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* For fixed header */
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    line-height: 1.3;
    font-weight: 700;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: var(--section-pad);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary); color: white; }
.bg-dark h2, .bg-dark h3 { color: white; }

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(249, 115, 22, 0.39);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.23);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

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

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    color: var(--primary);
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--text-light);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

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

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

.phone-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

.phone-sub {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 500;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--primary);
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Placeholder background color instead of image */
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    overflow: hidden;
}

.hero-bg::after {
    content: "img {Hero Background 1920x1080}";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.1);
    font-size: 2rem;
    font-weight: bold;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.7);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.2);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(249, 115, 22, 0.5);
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero .subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: var(--radius);
    backdrop-filter: blur(5px);
}

.feature-item .icon {
    font-size: 1.5rem;
}

.hero-trust {
    color: white;
    font-style: italic;
    border-left: 3px solid var(--accent);
    padding-left: 15px;
    opacity: 0.8;
}

/* Glass Form */
.glass-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
}

.glass-form h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.glass-form p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 25px;
}

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

input, select, textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: var(--bg-light);
    color: var(--text);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
    background-color: white;
}

/* Pains */
.pain-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.pain-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.pain-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.pain-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Services (Tabs) */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 15px 30px;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-main);
    background: white;
    border: 1px solid var(--border);
    color: var(--text-light);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.tab-header h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text);
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    border-top: 4px solid var(--primary);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.card-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-meta {
    border-top: 1px solid var(--border);
    padding-top: 15px;
    font-weight: 600;
    color: var(--primary);
}

.service-meta li {
    margin-bottom: 5px;
}

.install-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.install-list ul {
    list-style: none;
}

.install-list ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.install-list ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.info-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
}

/* Advantages */
.adv-card {
    text-align: center;
    padding: 30px 20px;
}

.adv-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 15px;
}

.adv-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.adv-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.trust-banner {
    background: var(--bg-light);
    padding: 25px 40px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 500;
    color: var(--primary);
    border: 1px dashed var(--border);
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-item {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.step-item:hover {
    box-shadow: var(--shadow);
}

.step-num {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 6rem;
    font-weight: 800;
    color: var(--bg-light);
    z-index: 1;
    line-height: 1;
}

.step-content {
    position: relative;
    z-index: 2;
}

.step-content h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* Pricing Table */
.table-responsive {
    overflow-x: auto;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.price-table th, .price-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.price-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

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

.price-table tr:hover {
    background-color: var(--bg-light);
}

.table-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 15px;
    text-align: center;
}

/* Guarantees */
.guarantee-card {
    background: var(--primary-light);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
}

.guarantee-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.guarantee-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin-top: 10px;
}

.guarantee-note {
    text-align: center;
    margin-top: 40px;
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
}

/* Portfolio */
.portfolio-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-5px);
}

.portfolio-img-wrapper {
    height: 240px;
    background: #e2e8f0;
    position: relative;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-family: monospace;
    background: #cbd5e1;
}

.before-after-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.portfolio-content {
    padding: 25px;
}

.portfolio-content h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.portfolio-meta {
    font-size: 0.9rem;
    color: var(--text);
}

.portfolio-meta li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border);
}

.portfolio-meta li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Secondary Form */
.form-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

.form-section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.form-section-info h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.form-section-info p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.form-benefits li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-box form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    color: var(--text);
}

.privacy-note {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 15px;
}

/* Testimonials */
.reviews-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 500;
}

/* FAQ (details/summary) */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s;
}

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

.faq-answer {
    padding: 0 25px 25px;
    color: var(--text);
    line-height: 1.7;
    animation: fadeIn 0.3s ease;
}

/* Coverage */
.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.coverage-col h4 {
    margin-bottom: 15px;
    color: var(--primary);
}

.coverage-col p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.logo-footer .logo-text strong {
    color: white;
}

.footer-brand p {
    margin-top: 20px;
    max-width: 300px;
}

.footer-contacts p {
    margin-bottom: 10px;
}

.footer-contacts a {
    color: white;
}

.phone-link {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
}

.footer-nav a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    justify-content: center;
    transform: translateY(150%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-content p {
    font-size: 0.875rem;
    margin: 0;
    color: var(--text);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3rem; }
    .hero-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* Mobile Typography Adjustments */
    body { font-size: 0.95rem; }
    .section-title { font-size: 1.8rem; }
    .section-desc { font-size: 1rem; margin-bottom: 2rem; }
    
    .nav { display: none; }
    .header-contact { display: none; }
    .mobile-menu-btn { display: flex; }
    
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero { padding-top: 100px; }
    .hero h1 { font-size: 2.2rem; margin-bottom: 15px; }
    .hero .subtitle { font-size: 1.05rem; margin-bottom: 25px; }
    .hero-features { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto 30px; }
    .hero-trust { text-align: left; max-width: 300px; margin: 0 auto; font-size: 0.9rem; }
    
    .adv-number { font-size: 2.5rem; }
    .step-num { font-size: 4rem; top: -5px; }
    
    .btn-lg { padding: 14px 28px; font-size: 1rem; }
    .tab-btn { font-size: 1rem; padding: 12px 20px; }
    
    .form-section-info h2 { font-size: 1.8rem; }
    .form-section-info p { font-size: 1rem; }
    
    .grid-3 { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .install-grid { grid-template-columns: 1fr; }
    
    .tabs-nav { flex-direction: column; }
    
    .form-section-container { grid-template-columns: 1fr; gap: 30px; }
    .reviews-slider { grid-template-columns: 1fr; }
    .coverage-grid { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p, .footer-contacts, .footer-nav { margin: 0 auto; align-items: center; }
    
    /* Cookie Banner Mobile */
    .cookie-banner { bottom: 0; left: 0; right: 0; border-radius: 0; padding: 15px; }
    .cookie-content { flex-direction: column; text-align: center; gap: 15px; }
    .cookie-buttons { width: 100%; justify-content: center; }
}
