:root {
    --bg-color: #0d0d0d;
    --surface-color: #1a1a1a;
    --accent-color: #ff6b00;
    --accent-hover: #ff8533;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --container-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    padding: 1rem 0;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 2rem;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.nav-info {
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: default;
}

.social-btn a {
    display: flex;
    align-items: center;
    color: #25D366;
    /* WhatsApp green */
    transition: transform 0.3s ease;
}

.social-btn a:hover {
    transform: scale(1.1);
    color: #128C7E;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: #000;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.btn-outline {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent-color);
    color: #000;
}

.btn-ghost {
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: var(--glass-bg);
    border-color: var(--text-primary);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-blink {
    animation: blink 2s infinite;
}

@keyframes blink {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 107, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 240px 0 180px;
    overflow: hidden;
    background: linear-gradient(rgba(13, 13, 13, 0.8), rgba(13, 13, 13, 0.6)),
        url('assets/background.png') center/cover no-repeat;
    background: linear-gradient(rgba(13, 13, 13, 0.8), rgba(13, 13, 13, 0.6)),
        url('assets/background.webp') center/cover no-repeat;
}

.hero-content {
    max-width: 700px;
    z-index: 2;
    position: relative;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 700;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.abstract-shape {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    z-index: -1;
}

.shape-1 {
    top: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 107, 0, 0.08);
}

.shape-2 {
    bottom: 20%;
    right: 30%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
}

/* Services Section */
.services {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--surface-color);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card.featured {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border-color: var(--accent-color);
    position: relative;
    overflow: hidden;
}

.service-card.featured::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at top right, rgba(255, 107, 0, 0.2), transparent);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.service-icon i,
.service-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-list {
    list-style: none;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.service-list li {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.service-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    margin-right: 12px;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--bg-color);
}

.portfolio-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/2;
    width: 100%;
    max-width: 800px;
    /* Limit width for desktop landscape */
}

.portfolio-img {
    width: 100%;
    height: 100%;
    position: relative;
    transition: var(--transition);
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    opacity: 0.8;
    z-index: 1;
    transition: var(--transition);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
    transform: translateY(10px);
    transition: var(--transition);
}

.project-category {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.portfolio-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
}

.portfolio-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-item:hover .img-overlay {
    opacity: 0.4;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-footer {
    text-align: center;
    margin-top: 4rem;
}

/* Video Button */
.btn-text {
    background: transparent;
    border: none;
    color: var(--accent-color);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 0;
    font-weight: 500;
    transition: var(--transition);
}

.btn-text:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Video Modal */
/* Video Modal */
.video-modal-content {
    background: transparent;
    padding: 0;
    width: fit-content;
    /* Shrink to content */
    max-width: 90vw;
    /* Use vw instead of px to stay within screen */
    border: none;
    box-shadow: none;
    display: flex;
    /* Flex to center content */
    justify-content: center;
    align-items: center;
}

.video-modal-content .close-modal {
    position: fixed;
    /* Fix to window so it's always visible */
    top: 20px;
    right: 20px;
    color: white;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    /* Add background for visibility */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

/* Video Modal Updates */
.video-container {
    position: relative;
    width: fit-content;
    height: auto;
    max-height: 85vh;
    margin: 0;
    padding: 0;
    line-height: 0;
    /* Remove line-height spacing */
    background: transparent;
    border: none;
    display: block;
    /* Change to block/inline-block to wrap tight */
}

.video-container video {
    display: block;
    /* Remove inline spacing */
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: black;
}


/* Portfolio Carousel */
.portfolio-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img,
.carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    /* Allow clicking through on the empty space */
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    /* Re-enable clicks */
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: var(--accent-color);
}

.carousel-pagination {
    position: absolute;
    top: 20px;
    /* Moved to top to avoid overlap with text */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    pointer-events: auto;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}


/* Calculator Section */
.calculator-section {
    padding: 100px 0;
    background: #080808;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.calc-features {
    margin-top: 3rem;
}

.feat-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feat-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-weight: 700;
}

.feat-item h4 {
    margin-bottom: 0.3rem;
}

.feat-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.calculator-card {
    background: var(--surface-color);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.calc-group {
    margin-bottom: 2.5rem;
}

.calc-group label {
    display: block;
    margin-bottom: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.type-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.type-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.type-btn:hover {
    border-color: var(--accent-color);
}

.type-btn.active {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    cursor: pointer;
    border-radius: 50%;
    border: 4px solid #1a1a1a;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}

.calc-options {
    margin-bottom: 2.5rem;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 1.2rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-secondary);
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.checkbox-container:hover input~.checkmark {
    border-color: var(--accent-color);
}

.checkbox-container input:checked~.checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

hr {
    border: none;
    height: 1px;
    background: var(--border-color);
    margin-bottom: 2.5rem;
}

.calc-result {
    text-align: center;
    margin-bottom: 2.5rem;
}

.total-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.total-price {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--accent-color);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info .logo {
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-grid h4 {
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--accent-color);
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    margin-bottom: 0.8rem;
}

.footer-grid ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-grid ul li a:hover {
    color: var(--text-primary);
}

.footer-grid ul li {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.footer-requisites {
    margin-bottom: 0.5rem !important;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.cookie-banner.visible {
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner-inner {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(20, 20, 20, 0.97);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
}

.cookie-banner-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.cookie-banner-text a {
    color: var(--accent-color);
    text-decoration: none;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    font-weight: 600;
}

.cookie-btn-accept:hover {
    opacity: 0.9;
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text-secondary);
}

.cookie-btn-reject:hover {
    border-color: var(--text-secondary);
    color: #fff;
}

@media (max-width: 640px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-banner-actions {
        justify-content: center;
    }
}

.calc-contact-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 1rem;
}

.calc-contact-btns .btn {
    text-align: center;
    font-size: 0.8rem;
    padding: 0.8rem 0.5rem;
}

.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--accent-color);
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--surface-color);
    padding: 4rem;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    position: relative;
    border: 1px solid var(--border-color);
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.contact-form {
    margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    color: #fff;
    font-family: inherit;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-agreement {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.form-agreement input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-color);
    background: var(--glass-bg);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.form-agreement input[type="checkbox"]:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.form-agreement input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 12px;
    font-weight: bold;
}

.form-agreement a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent-color);
}

/* Mobile Responsive */
/* Mobile Responsive & Navigation */
@media (max-width: 968px) {
    header {
        padding: 1rem 0;
        background: rgba(13, 13, 13, 0.9);
        backdrop-filter: blur(10px);
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 1.5rem;
    }

    .container {
        padding: 0 1.2rem;
    }

    .hero {
        padding: 160px 0 80px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Mobile Menu Drawer */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: var(--surface-color);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        padding: 2rem;
    }

    .nav-info {
        display: block;
        margin-bottom: 1rem;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 1010;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--text-primary);
        transition: var(--transition);
        border-radius: 2px;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
        background: var(--accent-color);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        transform: translateY(-5px) rotate(-45deg);
        background: var(--accent-color);
    }

    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .portfolio-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .portfolio-item {
        max-width: 100%;
        /* Take full width on small screens */
    }

    /* Fixed Video Modal Mobile */
    .modal#video-modal {
        padding: 0;
    }

    .modal#video-modal .video-modal-content {
        width: 100vw;
        height: 100vh;
        max-width: none;
        max-height: none;
        display: flex;
        justify-content: center;
        align-items: center;
        background: black;
    }

    .modal#video-modal .video-container {
        width: 100%;
        height: auto;
        max-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .modal#video-modal .video-container video {
        width: 100%;
        height: auto;
        max-height: 100vh;
        object-fit: contain;
        border-radius: 0;
        box-shadow: none;
    }

    .modal#video-modal .close-modal {
        position: fixed;
        top: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2100;
        font-size: 1.5rem;
    }

    .portfolio-info {
        padding: 1.5rem;
        transform: translateY(0);
        /* Always visible on mobile */
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    }

    .img-overlay {
        opacity: 0.6;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .calculator-card {
        padding: 2rem 1.5rem;
    }

    .type-selector {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-info p {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .total-price {
        font-size: 2rem;
    }
}