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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --warm-50: #fffbeb;
    --warm-100: #fef3c7;
    --warm-200: #fde68a;
    --warm-500: #f59e0b;
    --warm-600: #d97706;

    --green-500: #22c55e;
    --green-600: #16a34a;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.16), 0 8px 20px rgba(15, 23, 42, 0.08);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Nunito', 'Segoe UI', sans-serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--slate-700);
    background: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ===== Typography ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--teal-500);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--slate-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

.text-center { text-align: center; }
.text-teal { color: var(--teal-600); }
.text-white { color: #ffffff; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-600);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
    background: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    color: #ffffff;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo {
    color: var(--slate-800);
}

.nav-logo-icon {
    color: var(--teal-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .nav-links a {
    color: var(--slate-600);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--teal-600);
    background: var(--teal-50);
}

.nav-cta {
    background: var(--teal-500) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.nav-cta:hover {
    background: var(--teal-600) !important;
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 4px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--slate-700);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, var(--teal-800) 0%, var(--teal-600) 40%, #0ea5a0 70%, var(--teal-400) 100%);
    padding: 120px 24px 80px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(13, 148, 136, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(45, 212, 191, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 60% 80%, rgba(15, 118, 110, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 28px;
}

.hero-badge svg {
    color: var(--warm-200);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 24px;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

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

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
}

.hero-image {
    position: absolute;
    right: -40px;
    bottom: 100px;
    z-index: 1;
    opacity: 0.18;
    pointer-events: none;
}

.hero-image-wrapper {
    width: 500px;
    height: 620px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 3;
    color: #ffffff;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ===== About ===== */
.about {
    padding: 100px 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -30px;
    width: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
}

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

.about-img-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--slate-700);
}

.about-img-badge svg {
    color: #ef4444;
    flex-shrink: 0;
}

.about-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--teal-100);
    border-radius: 50%;
    opacity: 0.5;
    z-index: -1;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    color: var(--slate-600);
    margin-bottom: 16px;
    font-size: 1.02rem;
    line-height: 1.85;
}

.about-features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
}

.about-feature strong {
    display: block;
    font-size: 0.95rem;
    color: var(--slate-800);
    margin-bottom: 2px;
}

.about-feature span {
    font-size: 0.88rem;
    color: var(--slate-500);
    line-height: 1.5;
}

/* ===== Products ===== */
.products {
    padding: 100px 0;
    background: var(--slate-50);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 56px;
}

.product-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.product-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 148, 136, 0.7), transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-card-overlay svg {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 10px;
}

.product-card-body {
    padding: 24px;
}

.product-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--slate-800);
    margin-bottom: 8px;
}

.product-card-body p {
    font-size: 0.92rem;
    color: var(--slate-500);
    line-height: 1.7;
}

.products-note {
    margin-top: 32px;
    font-size: 0.9rem;
    color: var(--slate-400);
}

/* ===== Community ===== */
.community {
    padding: 100px 0;
    background: linear-gradient(145deg, var(--slate-800), var(--slate-900));
    position: relative;
    overflow: hidden;
}

.community::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.community-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.community-text {
    color: var(--slate-300);
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 16px;
}

.community-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.value-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon.teal { background: rgba(13, 148, 136, 0.3); color: var(--teal-300); }
.value-icon.green { background: rgba(34, 197, 94, 0.2); color: var(--green-500); }
.value-icon.amber { background: rgba(245, 158, 11, 0.2); color: var(--warm-500); }

.community-visual {
    position: relative;
}

.community-img-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.community-img-group img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.community-img-group img:first-child {
    height: 240px;
}

.community-img-group img:last-child {
    height: 180px;
    margin-left: 40px;
}

.community-map-pin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--teal-300);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ===== Visit ===== */
.visit {
    padding: 100px 0;
    background: #ffffff;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.visit-text {
    color: var(--slate-500);
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 36px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.visit-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.detail-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
}

.visit-detail strong {
    display: block;
    font-size: 0.95rem;
    color: var(--slate-800);
    margin-bottom: 4px;
}

.visit-detail span,
.visit-detail a {
    font-size: 0.92rem;
    color: var(--slate-500);
    line-height: 1.6;
}

.visit-detail a:hover {
    color: var(--teal-600);
    text-decoration: underline;
}

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

.visit-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 440px;
}

/* ===== Footer ===== */
.footer {
    background: var(--slate-900);
    padding: 64px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--slate-400);
    max-width: 300px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links strong,
.footer-contact strong {
    color: #ffffff;
    font-size: 0.95rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    color: var(--slate-400);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--teal-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: var(--slate-500);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-responsible {
    font-size: 0.8rem !important;
    color: var(--slate-600) !important;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--teal-600);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--teal-700);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-image { display: none; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .about-img-secondary {
        right: 20px;
        width: 180px;
    }

    .community-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .visit-map {
        height: 320px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        color: var(--slate-700) !important;
        font-size: 1rem;
        padding: 12px 16px;
        width: 100%;
        border-radius: var(--radius-md);
    }

    .nav-links a:hover {
        background: var(--teal-50) !important;
        color: var(--teal-600) !important;
    }

    .nav-cta {
        background: var(--teal-600) !important;
        color: #ffffff !important;
        text-align: center;
        justify-content: center;
        margin-top: 12px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .hero {
        padding: 120px 20px 80px;
        min-height: auto;
    }

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

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

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

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

    .community-img-group img:last-child {
        margin-left: 0;
    }

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

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

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .visit-actions {
        flex-direction: column;
    }

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

    .about-img-secondary {
        width: 150px;
        right: 10px;
        bottom: -30px;
    }
}

/* Mobile nav overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
