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

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: #1a1a2e;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ── Section Utilities ────────────────────────────── */
.section {
    padding: 120px 0;
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9333ea;
    margin-bottom: 16px;
}

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

.section-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    color: #1a1a2e;
    margin-bottom: 32px;
    max-width: 560px;
}

.text-plum-700 { color: #7e22ce; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #7e22ce;
    color: #fff;
    border: 1.5px solid #7e22ce;
}

.btn-primary:hover {
    background: #6b1fbf;
    border-color: #6b1fbf;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(126, 34, 206, 0.25);
}

.btn-ghost {
    background: transparent;
    color: #1a1a2e;
    border: 1.5px solid rgba(26, 26, 46, 0.2);
}

.btn-ghost:hover {
    border-color: #7e22ce;
    color: #7e22ce;
    transform: translateY(-1px);
}

.btn-map {
    margin-top: 32px;
}

/* ── Navigation ───────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 0 rgba(126, 34, 206, 0.1);
    backdrop-filter: blur(8px);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.nav-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #7e22ce;
    color: #fbbf24;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.nav-logo:hover .nav-logo-mark { transform: rotate(-8deg) scale(1.05); }

.nav-logo-text {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 18px;
    color: #1a1a2e;
    letter-spacing: -0.01em;
}

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

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #4a4a6a;
    transition: color 0.25s ease;
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #7e22ce;
    transition: width 0.3s ease;
}

.nav-links a:not(.nav-cta):hover { color: #7e22ce; }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #7e22ce !important;
    border: 1.5px solid #7e22ce;
    padding: 8px 18px;
    border-radius: 100px;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: #7e22ce !important;
    color: #fff !important;
}

.nav-cta::after { display: none !important; }

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #1a1a2e;
    transition: background 0.2s ease;
}

.nav-toggle:hover { background: rgba(126, 34, 206, 0.06); }

/* ── Mobile Nav Overlay ───────────────────────────── */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(250, 245, 255, 0.98);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.nav-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.nav-overlay-link {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 32px;
    color: #1a1a2e;
    transition: color 0.25s ease;
}

.nav-overlay-link:hover { color: #7e22ce; }

.nav-overlay-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #7e22ce;
    margin-top: 8px;
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        145deg,
        #581c87 0%,
        #7e22ce 25%,
        #a855f7 45%,
        #d97706 72%,
        #fbbf24 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.2) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 28px;
}

.hero-accent {
    font-style: italic;
    color: #fde68a;
}

.hero-desc {
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    background: #fff;
    border-color: #fff;
    color: #7e22ce;
}

.hero-actions .btn-primary:hover {
    background: #f3e8ff;
    border-color: #f3e8ff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn-ghost {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.hero-actions .btn-ghost:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ── About ────────────────────────────────────────── */
.about {
    background: #fff;
}

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

.about-text p {
    font-size: 15px;
    line-height: 1.85;
    color: #4a4a6a;
    margin-bottom: 20px;
}

.about-text p:last-child { margin-bottom: 0; }

.about-image {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 56/70;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover img { transform: scale(1.03); }

/* ── Products ─────────────────────────────────────── */
.products {
    background: #faf5ff;
}

.products .section-title {
    margin-left: auto;
    margin-right: auto;
}

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

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(126, 34, 206, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(126, 34, 206, 0.1);
}

.product-card-img {
    overflow: hidden;
    aspect-ratio: 48/36;
}

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

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

.product-card-body {
    padding: 28px 28px 32px;
}

.product-card-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.product-card-desc {
    font-size: 14px;
    line-height: 1.75;
    color: #6b6b8a;
    font-weight: 300;
}

/* ── Visit ────────────────────────────────────────── */
.visit {
    background: #fff;
}

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

.visit-info .section-title { max-width: none; }

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 48px;
}

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

.visit-detail svg {
    color: #7e22ce;
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.visit-detail p {
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a6a;
    font-weight: 300;
}

.visit-detail a {
    color: #7e22ce;
    border-bottom: 1px solid rgba(126, 34, 206, 0.25);
    transition: border-color 0.25s ease;
}

.visit-detail a:hover { border-color: #7e22ce; }

.visit-map {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 8px 32px rgba(126, 34, 206, 0.08);
}

.visit-map iframe { width: 100%; height: 100%; }

/* ── Footer ───────────────────────────────────────── */
.footer {
    background: #1a1a2e;
    padding: 56px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #7e22ce;
    color: #fbbf24;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-text {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 17px;
    color: #fff;
}

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    font-weight: 300;
}

.footer-copy a {
    color: #d8b4fe;
    border-bottom: 1px solid rgba(216, 180, 254, 0.3);
    transition: border-color 0.25s ease;
}

.footer-copy a:hover { border-color: #d8b4fe; }

.footer-legal {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

/* ── Reveal Animations (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
    .about-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image { order: -1; aspect-ratio: 4/3; }

    .products-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 640px) {
    .section { padding: 80px 0; }

    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .hero-title { font-size: clamp(32px, 10vw, 52px); }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }

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

    .visit-grid { gap: 40px; }
}
