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

:root {
    --primary: #41B8FF;
    --primary-dark: #35A0E0;
    --dark: #0A0909;
    --dark-2: #1a1a1a;
    --gray: #666;
    --light-gray: #f5f5f5;
    --white: #fff;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Titillium Web', 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 24px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 9, 9, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo img {
    height: 36px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

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

.nav a:hover,
.nav a.active {
    color: var(--white);
}

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

.nav .btn-header {
    background: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav .btn-header::after {
    display: none;
}

.nav .btn-header:hover {
    background: var(--white);
    color: var(--dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,9,9,0.85) 0%, rgba(10,9,9,0.4) 50%, rgba(10,9,9,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-rotating {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 56px);
    font-weight: 300;
    color: var(--white);
    min-height: 1.2em;
    margin-bottom: 24px;
}

.hero-rotating .word {
    display: none;
    color: var(--primary);
    font-weight: 700;
}

.hero-rotating .word.active {
    display: inline-block;
    animation: fadeInWord 1s ease-out forwards;
}

@keyframes fadeInWord {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-text {
    color: rgba(255,255,255,0.75);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
}

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

.btn-primary:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== HERO BAR ===== */
.hero-bar {
    position: relative;
    z-index: 2;
    background: var(--primary);
    padding: 0;
}

.hero-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.hero-bar-text {
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
}

.hero-bar .btn-outline {
    border-color: var(--white);
    padding: 10px 28px;
    font-size: 13px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-light {
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-dark .section-title {
    color: var(--white);
}

.section-text {
    color: var(--gray);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-dark .section-text {
    color: rgba(255,255,255,0.65);
}

/* ===== ABOUT PREVIEW ===== */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    z-index: -1;
}

.about-content .section-label {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    font-size: clamp(28px, 3vw, 40px);
}

.about-content p {
    color: var(--gray);
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

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

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary);
    transition: var(--transition);
}

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

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

/* ===== PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.project-card {
    position: relative;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,9,9,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(250,100,0,0.9) 0%, rgba(250,100,0,0.3) 60%);
}

.project-overlay h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 6px;
}

.project-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

/* ===== CTA ===== */
.cta-section {
    padding: 100px 0;
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 9, 9, 0.8);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

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

.footer-brand p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.8;
    max-width: 360px;
}

.footer h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact strong {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary);
}

/* ===== PAGE HEADER ===== */
.page-header {
    position: relative;
    padding: 180px 0 80px;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10,9,9,0.75);
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    color: var(--white);
    margin-bottom: 12px;
}

.page-header p {
    color: rgba(255,255,255,0.7);
    font-size: 18px;
}

/* ===== ABOUT PAGE ===== */
.about-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-page-text h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 20px;
}

.about-page-text p {
    color: var(--gray);
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--light-gray);
    transition: var(--transition);
}

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

.value-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 8px;
}

.value-card p {
    color: var(--gray);
    font-size: 14px;
}

/* ===== SERVICES PAGE ===== */
.services-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.service-page-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-page-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-page-info {
    padding: 32px;
}

.service-page-info h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 8px;
}

.service-page-info p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== GALLERY PAGE ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 280px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(250,100,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 32px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-details .icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    color: var(--white);
}

.contact-details .info h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-details .info p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 0;
}

.contact-form {
    background: var(--light-gray);
    padding: 40px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    font-family: var(--font-main);
    font-size: 15px;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

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

/* ===== COUNTERS ===== */
.counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.counter-item {
    text-align: center;
    padding: 40px 20px;
}

.counter-item .number {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.counter-item .label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
    margin-top: 8px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 80px;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 8px;
    right: 24px;
    font-family: serif;
    line-height: 1;
}

.testimonial-card p {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    font-size: 15px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--gray);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox .close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: var(--white);
    font-size: 36px;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox .close:hover {
    color: var(--primary);
}

/* ===== PARTNERI ===== */
.partners-section {
    background: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

.partners-section h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0.6;
    filter: grayscale(1);
}

.partner-item:hover {
    opacity: 1;
    filter: grayscale(0);
}

.partner-item a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    position: absolute;
    top: 140px;
    left: 0;
    right: 0;
    z-index: 2;
    font-size: 13px;
}

.breadcrumbs a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs span {
    color: rgba(255,255,255,0.9);
}

.breadcrumbs .sep {
    color: rgba(255,255,255,0.35);
    margin: 0 8px;
}

.page-header {
    padding-top: 180px;
}

/* ===== PROJECT SIDEBAR ===== */
.project-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 0;
    max-width: 1520px;
    margin: 0 auto;
}

.project-layout .project-content {
    min-width: 0;
}

.project-layout .project-content > .container {
    max-width: 1180px;
    margin: 0 auto;
}

.project-sidebar-sticky {
    position: sticky;
    top: 100px;
    align-self: start;
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 24px;
    border-radius: 8px;
    margin: 80px 24px 0 0;
}

.project-sidebar-sticky h3 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.project-sidebar-sticky .sidebar-item {
    display: block;
    padding: 16px;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
}

.project-sidebar-sticky .sidebar-item:hover {
    background: rgba(65,184,255,0.08);
    border-color: var(--primary);
}

.project-sidebar-sticky .sidebar-item.active {
    border-color: var(--primary);
    background: rgba(65,184,255,0.1);
}

.project-sidebar-sticky .sidebar-item p.cat {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 4px;
}

.project-sidebar-sticky .sidebar-item h4 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 2px;
}

.project-sidebar-sticky .sidebar-item p.loc {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.project-sidebar-sticky .sidebar-item .cur {
    font-size: 10px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

@media (max-width: 1200px) {
    .project-layout {
        grid-template-columns: 1fr;
    }
    .project-sidebar-sticky {
        position: static;
        margin: 0 24px 40px;
        border-radius: 8px;
    }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.back-to-top:hover {
    background: var(--white);
    color: var(--dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-preview,
    .about-page-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 300px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .counters {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-page-grid {
        grid-template-columns: 1fr;
    }
    .service-page-card {
        grid-template-columns: 1fr;
    }
    .service-page-card img {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 20px;
        transition: var(--transition);
        box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    }

    .nav.open {
        display: flex;
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .logo img {
        height: 28px;
    }

    .header .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
        align-items: flex-start;
    }

    .hero-text {
        font-size: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .stat-number {
        font-size: 32px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cta-section {
        padding: 60px 0;
    }

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

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .hero-bar-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

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

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

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 40px;
    }

    .counters {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .counter-item {
        padding: 24px 16px;
    }

    .counter-item .number {
        font-size: 36px;
    }
}