/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Preloader ── */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: #0a1628;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 24px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo { color: #34d4a8; }
.preloader-bar {
    width: 120px; height: 1px;
    background: rgba(52, 212, 168, 0.2);
    position: relative; overflow: hidden;
    border-radius: 1px;
}
.preloader-bar::after {
    content: ''; position: absolute;
    left: -40%; width: 40%; height: 100%;
    background: #34d4a8;
    animation: preloaderSlide 1s ease-in-out infinite;
}
@keyframes preloaderSlide {
    0% { left: -40%; }
    100% { left: 100%; }
}

/* ── Navbar ── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0 24px;
    background: rgba(6, 14, 28, 0.6);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(52, 212, 168, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
    background: rgba(6, 14, 28, 0.92);
    box-shadow: 0 1px 0 rgba(52, 212, 168, 0.06);
}
.nav-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center;
    height: 72px; gap: 40px;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Outfit', sans-serif; font-weight: 300;
    font-size: 1.125rem; letter-spacing: 0.04em;
    color: #f0f3f9;
    transition: color 0.2s;
}
.nav-logo:hover { color: #34d4a8; }
.nav-logo svg { color: #34d4a8; }
.nav-links {
    display: flex; align-items: center; gap: 32px;
    margin-left: auto;
}
.nav-links a {
    font-size: 0.8125rem; font-weight: 400;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: rgba(240, 243, 249, 0.6);
    transition: color 0.2s; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute;
    bottom: -4px; left: 0; width: 0; height: 1px;
    background: #34d4a8;
    transition: width 0.3s ease;
}
.nav-links a:hover { color: #f0f3f9; }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    padding: 8px 20px !important;
    border: 1px solid rgba(52, 212, 168, 0.4) !important;
    border-radius: 100px;
    color: #34d4a8 !important;
    transition: background 0.2s, border-color 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: rgba(52, 212, 168, 0.1) !important;
    border-color: #34d4a8 !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none; flex-direction: column;
    gap: 5px; padding: 8px; margin-left: auto;
}
.nav-toggle-line {
    display: block; width: 22px; height: 1.5px;
    background: #f0f3f9; border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.active .nav-toggle-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle.active .nav-toggle-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed; top: 72px; left: 0; right: 0;
        flex-direction: column; align-items: center;
        gap: 0; padding: 0;
        background: rgba(6, 14, 28, 0.97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(52, 212, 168, 0.08);
        max-height: 0; overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }
    .nav-links.open { max-height: 400px; padding: 32px 0; }
    .nav-links a { padding: 14px 24px; font-size: 0.9375rem; }
}

/* ── Hero ── */
.hero {
    position: relative; min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    overflow: hidden; padding: 120px 24px 80px;
}
.hero-gradient {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(20, 74, 52, 0.7) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(13, 58, 107, 0.8) 0%, transparent 55%),
        radial-gradient(ellipse 90% 70% at 50% 50%, rgba(10, 22, 40, 0.9) 0%, transparent 70%),
        linear-gradient(160deg, #030710 0%, #0a1628 40%, #0f2650 70%, #084a34 100%);
    z-index: 0;
}
.hero-grain {
    position: absolute; inset: 0; z-index: 1;
    opacity: 0.035; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
}
.hero-lines {
    position: absolute; inset: 0; z-index: 1;
    pointer-events: none; overflow: hidden;
}
.hero-line {
    position: absolute; top: 0; bottom: 0;
    width: 1px; background: rgba(52, 212, 168, 0.06);
}
.hero-line:nth-child(1) { left: 15%; }
.hero-line:nth-child(2) { left: 50%; }
.hero-line:nth-child(3) { left: 85%; }

.hero-content {
    position: relative; z-index: 2;
    text-align: center; max-width: 800px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 100px;
    border: 1px solid rgba(52, 212, 168, 0.25);
    font-size: 0.75rem; font-weight: 400;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: #34d4a8; margin-bottom: 40px;
}
.hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #34d4a8;
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero-headline {
    font-family: 'Outfit', sans-serif;
    font-weight: 200; font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 1.05; letter-spacing: -0.02em;
    color: #f0f3f9; margin-bottom: 28px;
}
.hero-accent {
    font-weight: 300;
    background: linear-gradient(135deg, #34d4a8 0%, #5dd4b0 50%, #a3eace 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    font-weight: 300; line-height: 1.7;
    color: rgba(240, 243, 249, 0.55);
    max-width: 520px; margin: 0 auto 48px;
}
.hero-actions {
    display: flex; gap: 16px;
    justify-content: center; flex-wrap: wrap;
    margin-bottom: 64px;
}
.hero-meta {
    display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
}
.hero-meta-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.8125rem; color: rgba(240, 243, 249, 0.4);
    letter-spacing: 0.02em;
}
.hero-meta-item svg { color: #34d4a8; opacity: 0.7; }

.hero-scroll {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    font-size: 0.6875rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(240, 243, 249, 0.3);
}
.hero-scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, rgba(52, 212, 168, 0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 100px;
    font-size: 0.875rem; font-weight: 500;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}
.btn-primary {
    background: #34d4a8; color: #0a1628;
    border: 1px solid #34d4a8;
}
.btn-primary:hover {
    background: #5dd4b0; border-color: #5dd4b0;
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(52, 212, 168, 0.25);
}
.btn-ghost {
    background: transparent; color: #f0f3f9;
    border: 1px solid rgba(240, 243, 249, 0.2);
}
.btn-ghost:hover {
    border-color: rgba(240, 243, 249, 0.5);
    background: rgba(240, 243, 249, 0.05);
}
.btn-full { width: 100%; justify-content: center; }

/* ── Section Shared ── */
.section { padding: 120px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.label {
    font-size: 0.6875rem; font-weight: 500;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: #34d4a8; margin-bottom: 16px;
}
.section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 200; font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1; letter-spacing: -0.02em;
    color: #f0f3f9; margin-bottom: 24px;
}
.thin-line {
    width: 48px; height: 1px;
    background: linear-gradient(to right, #34d4a8, transparent);
    margin-bottom: 32px;
}

/* ── About ── */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.about-image {
    position: relative; border-radius: 12px; overflow: hidden;
}
.about-image img {
    width: 100%; height: 480px; object-fit: cover;
    border-radius: 12px;
    transition: transform 0.6s ease;
}
.about-image:hover img { transform: scale(1.02); }
.about-image::after {
    content: ''; position: absolute; inset: 0;
    border-radius: 12px;
    border: 1px solid rgba(52, 212, 168, 0.1);
    pointer-events: none;
}
.about-content .section-title { margin-bottom: 20px; }
.about-text {
    font-size: 1rem; font-weight: 300;
    line-height: 1.8; color: rgba(240, 243, 249, 0.6);
    margin-bottom: 16px;
}
.about-stats {
    display: flex; gap: 32px; margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(240, 243, 249, 0.08);
}
.stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 300; font-size: 2rem;
    color: #34d4a8; line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.8125rem; font-weight: 400;
    color: rgba(240, 243, 249, 0.5);
    line-height: 1.5;
}
.stat-divider {
    width: 1px; background: rgba(240, 243, 249, 0.1);
}
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-image img { height: 360px; }
    .about-stats { flex-wrap: wrap; gap: 24px; }
}

/* ── Products ── */
.products { background: rgba(240, 243, 249, 0.015); }
.section-header { text-align: center; max-width: 560px; margin: 0 auto 72px; }
.section-header .thin-line { margin: 0 auto 32px; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.product-card {
    border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(240, 243, 249, 0.06);
    background: rgba(240, 243, 249, 0.02);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    border-color: rgba(52, 212, 168, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.product-card-image {
    position: relative; overflow: hidden;
    aspect-ratio: 4/3;
}
.product-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-overlay {
    position: absolute; inset: 0;
    background: rgba(6, 14, 28, 0.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.product-card:hover .product-card-overlay { opacity: 1; }
.product-card-overlay svg { color: #f0f3f9; }
.product-card-body { padding: 28px; }
.product-card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 400; font-size: 1.25rem;
    color: #f0f3f9; margin-bottom: 10px;
}
.product-card-desc {
    font-size: 0.9375rem; font-weight: 300;
    line-height: 1.7; color: rgba(240, 243, 249, 0.5);
}
@media (max-width: 640px) {
    .products-grid { grid-template-columns: 1fr; }
}

/* ── Gallery ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-item {
    border-radius: 8px; overflow: hidden;
    aspect-ratio: 5/4;
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* ── Visit ── */
.visit-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: start;
}
.visit-detail {
    display: flex; gap: 20px; margin-bottom: 32px;
}
.visit-detail-icon {
    flex-shrink: 0; width: 44px; height: 44px;
    border-radius: 10px;
    background: rgba(52, 212, 168, 0.08);
    border: 1px solid rgba(52, 212, 168, 0.15);
    display: flex; align-items: center; justify-content: center;
    color: #34d4a8;
}
.visit-detail-label {
    font-size: 0.6875rem; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(240, 243, 249, 0.4); margin-bottom: 4px;
}
.visit-detail-value {
    font-size: 1rem; font-weight: 300;
    line-height: 1.7; color: rgba(240, 243, 249, 0.8);
}
.visit-detail-value a {
    color: #34d4a8; transition: color 0.2s;
}
.visit-detail-value a:hover { color: #5dd4b0; }
.visit-map { position: relative; }
.map-placeholder {
    border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(240, 243, 249, 0.06);
    aspect-ratio: 4/3;
    background:
        linear-gradient(135deg, rgba(10, 22, 40, 0.9), rgba(15, 38, 80, 0.9)),
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(52, 212, 168, 0.03) 40px, rgba(52, 212, 168, 0.03) 41px),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(52, 212, 168, 0.03) 40px, rgba(52, 212, 168, 0.03) 41px);
}
.map-placeholder-inner {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 16px; text-align: center; padding: 32px;
}
.map-pin-icon { color: #34d4a8; opacity: 0.6; }
.map-address {
    font-family: 'Outfit', sans-serif;
    font-weight: 300; font-size: 1.125rem;
    color: #f0f3f9; line-height: 1.6;
}
.map-link {
    font-size: 0.8125rem; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: #34d4a8; padding: 10px 24px;
    border: 1px solid rgba(52, 212, 168, 0.4);
    border-radius: 100px;
    transition: background 0.2s, border-color 0.2s;
}
.map-link:hover {
    background: rgba(52, 212, 168, 0.1);
    border-color: #34d4a8;
}
@media (max-width: 900px) {
    .visit-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ── Contact ── */
.contact { background: rgba(240, 243, 249, 0.015); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
}
.contact-text {
    font-size: 1rem; font-weight: 300;
    line-height: 1.8; color: rgba(240, 243, 249, 0.55);
    margin-bottom: 32px;
}
.contact-direct { display: flex; flex-direction: column; gap: 16px; }
.contact-direct-item {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 1rem; font-weight: 300;
    color: rgba(240, 243, 249, 0.7);
    transition: color 0.2s;
}
.contact-direct-item:hover { color: #34d4a8; }
.contact-direct-item svg { color: #34d4a8; opacity: 0.7; }
.contact-form-wrap { }

.form-group { margin-bottom: 24px; }
.form-label {
    display: block;
    font-size: 0.75rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(240, 243, 249, 0.4); margin-bottom: 8px;
}
.form-input {
    width: 100%; padding: 14px 16px;
    background: rgba(240, 243, 249, 0.04);
    border: 1px solid rgba(240, 243, 249, 0.1);
    border-radius: 8px; color: #f0f3f9;
    font-size: 0.9375rem; font-weight: 300;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
}
.form-input::placeholder { color: rgba(240, 243, 249, 0.25); }
.form-input:focus {
    border-color: rgba(52, 212, 168, 0.5);
    background: rgba(52, 212, 168, 0.04);
}
.form-textarea { resize: vertical; min-height: 140px; }

.form-success {
    text-align: center; padding: 48px 24px;
}
.form-success-icon { color: #34d4a8; margin-bottom: 20px; }
.form-success-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 400; font-size: 1.5rem;
    color: #f0f3f9; margin-bottom: 10px;
}
.form-success-text {
    font-size: 0.9375rem; font-weight: 300;
    color: rgba(240, 243, 249, 0.5); line-height: 1.7;
}
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ── Footer ── */
.footer {
    padding: 80px 24px 40px;
    border-top: 1px solid rgba(240, 243, 249, 0.06);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px; margin-bottom: 64px;
}
.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-tagline {
    font-size: 0.9375rem; font-weight: 300;
    line-height: 1.7; color: rgba(240, 243, 249, 0.4);
    max-width: 280px;
}
.footer-nav-label {
    font-size: 0.6875rem; font-weight: 500;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(240, 243, 249, 0.3); margin-bottom: 20px;
}
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
    font-size: 0.9375rem; font-weight: 300;
    color: rgba(240, 243, 249, 0.55);
    transition: color 0.2s;
}
.footer-nav a:hover { color: #34d4a8; }
.footer-contact {
    display: flex; flex-direction: column; gap: 12px;
}
.footer-contact a {
    font-size: 0.9375rem; font-weight: 300;
    color: #34d4a8; transition: color 0.2s;
}
.footer-contact a:hover { color: #5dd4b0; }
.footer-contact span {
    font-size: 0.9375rem; font-weight: 300;
    color: rgba(240, 243, 249, 0.4);
}
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(240, 243, 249, 0.06);
    font-size: 0.8125rem; font-weight: 300;
    color: rgba(240, 243, 249, 0.3);
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── Scroll reveal (below-fold only, progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal-card, .reveal-item {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
}
@media (prefers-reduced-motion: reduce) {
    .reveal-card, .reveal-item { opacity: 1; transform: none; }
}
