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

:root {
    --accent: #008080;
    --accent-dark: #005f5f;
    --accent-light: #e6f2f2;
    --glass-teal: rgba(0, 128, 128, 0.18);
    --graphite: #1E2A3A;
    --graphite-600: #4a5a6e;
    --graphite-400: #6f7d8f;
    --graphite-200: #b0b8c4;
    --graphite-100: #d5dae0;
    --white: #ffffff;
    --off-white: #f8fafc;
    --bg-page: #f8fafc;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 0px;
    --radius-lg: 0px;
    --shadow-sm: 0 2px 8px rgba(30, 42, 58, 0.04);
    --shadow-md: 0 12px 30px -10px rgba(0, 128, 128, 0.12), 0 4px 12px rgba(30, 42, 58, 0.03);
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    color: var(--graphite);
    background: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* HEADER */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}
.header.scrolled {
    border-bottom-color: var(--graphite-100);
    box-shadow: 0 2px 24px rgba(30, 42, 58, 0.06);
    background: rgba(255, 255, 255, 0.94);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
}
.logo { display: flex; align-items: center; gap: 0.05rem; text-decoration: none; color: var(--graphite); transition: var(--transition); flex-shrink: 0; }
.logo:hover { opacity: 0.8; }
.logo-image { display: block; width: 44px; height: 44px; flex-shrink: 0; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; font-size: 0.9rem; letter-spacing: -0.02em; color: var(--graphite); white-space: nowrap; margin-left: -0.05rem; }
.logo-text .part, .logo-text .part-accent { font-size: 0.9rem; color: var(--graphite); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-size: 0.9rem; font-weight: 500; color: var(--graphite-600); text-decoration: none; transition: var(--transition); position: relative; }
.nav a:hover { color: var(--accent); }
.nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; transition: var(--transition); }
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--graphite); transition: var(--transition); }

/* HERO */
.hero { padding: 8rem 0 4rem; background: var(--white); position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; }
.hero-background { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-background picture, .hero-background img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-overlay-dark { position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, 0.45); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 2; width: 100%; }
.hero-content { display: none; }
.hero-visual { display: flex; justify-content: flex-start; align-items: center; position: relative; grid-column: 1 / -1; width: 100%; }
.hero-overlay-content { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 2.5rem 0; text-align: left; color: var(--white); max-width: 65%; pointer-events: none; margin-left: 0; }
.hero-overlay-content .overlay-title { font-size: clamp(1.6rem, 3.2vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 0.5rem; color: var(--white); text-shadow: 0 2px 30px rgba(0, 0, 0, 0.7); }
.hero-overlay-content .overlay-title .accent { color: var(--white); }
.hero-overlay-content .overlay-sub { font-size: clamp(0.9rem, 1.2vw, 1.1rem); font-weight: 500; color: var(--white); margin-bottom: 0.3rem; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6); }
.hero-overlay-content .overlay-desc { font-size: clamp(0.85rem, 1vw, 1rem); color: var(--white); max-width: 90%; line-height: 1.6; margin-bottom: 1.2rem; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6); }
.hero-overlay-content .overlay-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-start; pointer-events: auto; }
.hero-overlay-content .btn { font-size: 0.85rem; padding: 0.6rem 1.6rem; border-radius: 0px; }
.hero-overlay-content .btn-primary { background: var(--accent); color: var(--white); border: none; }
.hero-overlay-content .btn-primary:hover { background: var(--accent-dark); }
.hero-overlay-content .btn-secondary { background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.25); color: var(--white); }
.hero-overlay-content .btn-secondary:hover { background: rgba(255, 255, 255, 0.3); border-color: rgba(255, 255, 255, 0.5); color: var(--white); }

/* BUTTONS */
.btn { display: inline-block; font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem; padding: 0.75rem 1.75rem; border-radius: 0; border: 1px solid transparent; cursor: pointer; text-decoration: none; text-align: center; transition: var(--transition); line-height: 1.2; }
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-secondary:hover { background: var(--accent-light); color: var(--accent-dark); border-color: var(--accent-dark); }

/* SECTION COMMON */
.section { padding: 4rem 0; }
.section-label { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); display: block; margin-bottom: 0.5rem; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--graphite); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 1.5rem; }
.section-title .accent { color: var(--accent); }
.section-description { font-size: 1.05rem; color: var(--graphite-600); max-width: 700px; margin-bottom: 2rem; }

/* ABOUT */
.about { background: var(--white); }
.about-text { font-size: 1.05rem; line-height: 1.8; color: var(--graphite-600); max-width: 850px; }
.about-text strong { color: var(--graphite); font-weight: 600; }
.about-text p:not(:last-child) { margin-bottom: 0.8rem; }

/* DIRECTIONS */
.directions { background: var(--bg-page); }
.directions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.direction-item { background: var(--white); border: 1px solid var(--graphite-100); padding: 2rem; transition: all var(--transition); cursor: default; position: relative; isolation: isolate; }
.direction-item:hover { background: var(--glass-teal); transform: translateY(-4px); box-shadow: 0 12px 30px -10px rgba(0, 128, 128, 0.20), inset 0 0 40px rgba(0, 160, 160, 0.04); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.direction-item:hover::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(0, 200, 200, 0.06), transparent 70%); pointer-events: none; z-index: 0; }
.direction-item:hover .direction-content { position: relative; z-index: 1; }
.direction-number { font-family: var(--font-mono); font-weight: 600; font-size: clamp(1.2rem, 1.8vw, 1.8rem); line-height: 1; color: var(--accent); margin-bottom: 0.6rem; display: block; opacity: 0.6; letter-spacing: -0.02em; }
.direction-content h3 { font-weight: 700; font-size: 1.1rem; color: var(--graphite); margin-bottom: 0.3rem; }
.direction-content p { color: var(--graphite-600); font-size: 0.95rem; line-height: 1.6; margin-bottom: 0.8rem; }
.direction-content ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; }
.direction-content ul li { font-size: 0.85rem; color: var(--graphite-400); position: relative; padding-left: 1.2rem; }
.direction-content ul li::before { content: "■"; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-size: 0.7rem; top: 0.1rem; }

/* CONTACT */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 2rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item .label { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--graphite-400); display: block; margin-bottom: 0.2rem; }
.contact-item .value { font-size: 1rem; font-weight: 500; color: var(--graphite); }
.contact-item .value a { color: var(--accent); text-decoration: none; transition: var(--transition); }
.contact-item .value a:hover { color: var(--accent-dark); }
.contact-item .value a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.contact-map { background: var(--off-white); border: 1px solid var(--graphite-100); padding: 0; display: flex; flex-direction: column; gap: 0; min-height: 300px; justify-content: center; align-items: center; color: var(--graphite-400); font-size: 0.95rem; overflow: hidden; position: relative; }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: none; filter: grayscale(100%) contrast(1.1); -webkit-filter: grayscale(100%) contrast(1.1); }
.contact-map .map-label { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 0.3rem 1.2rem; font-weight: 500; color: var(--graphite-600); font-size: 0.85rem; border: 1px solid var(--graphite-100); pointer-events: none; white-space: nowrap; z-index: 10; }

/* FOOTER */
.footer { background: var(--graphite); color: var(--graphite-200); padding: 3rem 0 2rem; }
.footer-inner { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.footer-logo { display: flex; align-items: center; gap: 0.05rem; text-decoration: none; color: var(--white); transition: var(--transition); flex-shrink: 0; }
.footer-logo:hover { opacity: 0.8; }
.footer-logo .logo-image { display: block; width: 44px; height: 44px; flex-shrink: 0; object-fit: contain; filter: brightness(0) invert(1); }
.footer-logo .logo-text { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; font-size: 0.9rem; letter-spacing: -0.02em; color: var(--white); white-space: nowrap; margin-left: -0.05rem; }
.footer-logo .logo-text .part, .footer-logo .logo-text .part-accent { font-size: 0.9rem; color: var(--white); }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: var(--graphite-200); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.footer-divider { border: none; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.8rem; color: var(--graphite-400); }

/* SCROLL TOP */
.scroll-top { position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; background: var(--accent); color: var(--white); border: none; cursor: pointer; font-size: 1.2rem; transition: all var(--transition); opacity: 0; visibility: hidden; transform: translateY(16px); z-index: 100; }
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--accent-dark); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.scroll-top:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ADAPTIVE */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 0; }
    .hero-visual { grid-column: 1; }
    .hero-overlay-content { max-width: 80%; padding: 2rem 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-map, .contact-map iframe { min-height: 250px; }
}
@media (max-width: 768px) {
    .header-inner { padding: 0 1rem; }
    .nav { display: none; flex-direction: column; gap: 1rem; padding: 1.5rem 0; width: 100%; background: var(--white); position: absolute; top: 100%; left: 0; right: 0; border-bottom: 1px solid var(--graphite-100); box-shadow: var(--shadow-sm); }
    .nav.open { display: flex; }
    .nav-toggle { display: flex; }
    .hero { padding: 6rem 0 3rem; min-height: auto; }
    .hero-overlay-content { max-width: 90%; padding: 1.5rem 0; }
    .directions-grid { grid-template-columns: 1fr; }
    .direction-item { padding: 1.5rem; }
    .footer-top { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .footer-links { gap: 1rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; }
    .contact-map, .contact-map iframe { min-height: 200px; }
    .contact-map .map-label { font-size: 0.7rem; padding: 0.2rem 0.8rem; bottom: 0.5rem; }
}
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .direction-item { padding: 1.2rem; }
    .contact-map, .contact-map iframe { min-height: 180px; }
    .logo-image { width: 36px; height: 36px; }
    .logo-text, .logo-text .part, .logo-text .part-accent { font-size: 0.75rem; }
    .footer-logo .logo-image { width: 36px; height: 36px; }
    .footer-logo .logo-text, .footer-logo .logo-text .part, .footer-logo .logo-text .part-accent { font-size: 0.75rem; }
    .hero-overlay-content { padding: 1rem 0; max-width: 95%; }
    .hero-overlay-content .overlay-title { font-size: 1.2rem; }
    .hero-overlay-content .overlay-desc { font-size: 0.75rem; }
    .hero-overlay-content .btn { font-size: 0.75rem; padding: 0.4rem 1rem; }
}

/* SCROLL REVEAL */
.scroll-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.scroll-reveal.revealed { opacity: 1; transform: translateY(0); }
.scroll-reveal.stagger { transition-delay: 0.05s; }
.scroll-reveal.stagger:nth-child(2) { transition-delay: 0.10s; }
.scroll-reveal.stagger:nth-child(3) { transition-delay: 0.15s; }
.scroll-reveal.stagger:nth-child(4) { transition-delay: 0.20s; }
.scroll-reveal.stagger:nth-child(5) { transition-delay: 0.25s; }
.scroll-reveal.stagger:nth-child(6) { transition-delay: 0.30s; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .scroll-reveal { opacity: 1 !important; transform: none !important; }
}
.no-script .scroll-reveal { opacity: 1 !important; transform: none !important; }
