@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --color-primary: #1d4ed8;
    --color-primary-dark: #1e40af;
    --color-primary-light: #3b82f6;
    --color-dark: #0f172a;
    --color-text: #1e293b;
    --color-muted: #64748b;
    --color-light: #f8fafc;
    --color-white: #ffffff;
    --color-border: #e2e8f0;
    --font-display: 'Outfit', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-light);
    color: var(--color-text);
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

.font-display {
    font-family: var(--font-display);
}

.font-body {
    font-family: var(--font-body);
}

#topbar {
    background: var(--color-dark);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobileMenu {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link {
    position: relative;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-grid-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    content-visibility: auto;
    contain-intrinsic-size: 280px 210px;
}

.gallery-grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-grid-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-grid-item:hover::after {
    opacity: 1;
}

.gallery-grid-item.is-hidden {
    display: none;
}

.gallery-filter-btn {
    padding: 0.625rem 1.25rem;
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gallery-filter-scroll {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    margin-bottom: -0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery-filter-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-filter-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-muted);
    font-size: 0.75rem;
}

.gallery-filter-hint i {
    animation: swipeHint 1.6s ease-in-out infinite;
}

@keyframes swipeHint {
    0% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(6px); opacity: 1; }
    100% { transform: translateX(0); opacity: 0.5; }
}

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

.gallery-filter-btn:not(.active) {
    background: var(--color-light);
    color: var(--color-muted);
}

.gallery-filter-btn:not(.active):hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.service-nav-bar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.85rem 0 0.7rem;
}

.service-nav-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.service-nav-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-muted);
    font-size: 0.75rem;
}

.service-nav-hint i {
    animation: swipeHint 1.6s ease-in-out infinite;
}

@media (min-width: 1024px) {
    .service-nav-scroll {
        flex-wrap: wrap;
        justify-content: center;
        overflow: visible;
    }

    .service-nav-bar {
        padding-top: 1.1rem;
        padding-bottom: 0.9rem;
    }
}

section[id] {
    scroll-margin-top: 140px;
}

@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 120px;
    }
}

@media (min-width: 768px) {
    .gallery-filter-scroll {
        overflow: visible;
        flex-wrap: wrap;
        justify-content: center;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(29, 78, 216, 0.3);
}

.btn-secondary {
    background: var(--color-dark);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.section-label {
    display: inline-block;
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: var(--font-body);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-muted);
    max-width: 48rem;
    line-height: 1.8;
}

.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 6rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 64, 175, 0.4) 100%);
    z-index: 1;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    max-width: 36rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-label {
    display: inline-block;
    color: rgba(255,255,255,0.9);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.hero-company-name {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255,255,255,0.95);
    font-size: clamp(1.25rem, 4vw, 2.25rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--font-display);
    z-index: 2;
    text-align: center;
}

.hero-established {
    font-size: clamp(0.75rem, 2vw, 1.25rem);
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-top: 0.25rem;
    color: rgba(255,255,255,0.85);
}

@media (max-width: 768px) {
    .hero-company-name {
        top: 1.5rem;
        right: 1rem;
        font-size: clamp(0.75rem, 3vw, 1.1rem);
    }

    .hero-established {
        font-size: clamp(0.5rem, 1.8vw, 0.7rem);
    }
}

.card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-image {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.card-text {
    color: var(--color-muted);
    font-size: 0.9375rem;
}

.service-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    background: linear-gradient(180deg, rgba(29, 78, 216, 0.2) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: white;
    margin-bottom: 0.25rem;
}

.service-card-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}

.gallery-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0);
    transition: background 0.3s ease;
}

.gallery-item:hover::after {
    background: rgba(15, 23, 42, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

.compare-slider {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
}

.compare-before {
    clip-path: inset(0 50% 0 0);
}

.compare-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.compare-handle-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3.5rem;
    height: 3.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    color: var(--color-primary);
}

.compare-label {
    position: absolute;
    top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2rem;
}

.compare-label-before {
    left: 1rem;
}

.compare-label-after {
    right: 1rem;
    background: var(--color-primary);
}

.cta-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.9) 0%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 1;
}

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

.contact-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--color-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.form-input::placeholder {
    color: var(--color-muted);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    color: var(--color-muted);
}

.feature-list li::before {
    content: '';
    width: 1.25rem;
    height: 1.25rem;
    background: var(--color-primary);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
    flex-shrink: 0;
}

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

.footer-logo {
    filter: brightness(0) invert(1);
}

.footer-link {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-primary-light);
}

.social-btn {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

#lightbox {
    backdrop-filter: blur(8px);
}

.lightbox-btn {
    width: 3rem;
    height: 3rem;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.map-section {
    width: 100%;
    height: 400px;
    background: var(--color-light);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }
.delay-5 { animation-delay: 0.5s; opacity: 0; }

.text-11 { font-size: 11px; }
.text-12 { font-size: 12px; }
.text-13 { font-size: 13px; }
.text-10 { font-size: 10px; }

.tracking-wide-custom { letter-spacing: 0.2em; }

.h-450 { height: 450px; }

.h-screen-50 { height: 50vh; }
.h-screen-60 { height: 60vh; }
.h-screen-80 { height: 80vh; }
.h-screen-85 { height: 85vh; }

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }

    .section-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    .cta-section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding: 5rem 0;
    }

    .hero-content {
        padding-top: 5rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .gallery-grid-item {
        border-radius: 0.75rem;
    }

    .gallery-filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    .section-label {
        font-size: 0.75rem;
    }

    .contact-card {
        padding: 1rem;
    }

    .contact-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }

    .form-input {
        padding: 0.875rem 1rem;
    }

    .map-section {
        height: 300px;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .service-card-title {
        font-size: 1.125rem;
    }

    .service-card-subtitle {
        font-size: 0.8125rem;
    }

    .lightbox-btn {
        width: 2.5rem;
        height: 2.5rem;
    }

    .compare-handle-btn {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-section {
        min-height: 60vh;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .footer-logo {
        height: 3rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .gallery-item:hover img,
    .gallery-grid-item:hover img,
    .card:hover .card-image img,
    .service-card:hover img {
        transform: none;
    }

    .gallery-item:hover::after,
    .gallery-grid-item:hover::after {
        opacity: 0;
    }

    .card:hover,
    .gallery-grid-item:hover {
        transform: none;
    }

    .gallery-zoom {
        display: none;
    }

    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
}

body {
    overflow-x: hidden;
    overflow-y: auto;
}

@media (max-width: 640px) {
    section,
    section > div,
    section > div > div,
    section > div > div > div {
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .contact-grid > div,
    .grid > div {
        min-width: 0;
        max-width: 100%;
    }
}

#contact-form {
    max-width: 100%;
    overflow: hidden;
}

#contact-form .g-recaptcha {
    transform-origin: left center;
    max-width: 100%;
}

@media (max-width: 400px) {
    #contact-form .g-recaptcha {
        transform: scale(0.85);
    }

    #contact-form .g-recaptcha > div {
        max-width: 100%;
    }
}

@media (max-width: 340px) {
    #contact-form .g-recaptcha {
        transform: scale(0.75);
    }
}
