/* =============================================
   MOMONGA COFFEE — Premium Design System
   ============================================= */

/* --- CSS Custom Properties --- */
:root {
    /* Brand Colors */
    --color-sky: #5BB8D4;
    --color-sky-light: #A8DCE9;
    --color-sky-lighter: #E3F4F9;
    --color-navy: #1A2A4A;
    --color-navy-light: #2C3E6B;
    --color-cream: #FDF8F0;
    --color-warm-white: #FAFAF7;
    --color-brown: #6B4226;
    --color-brown-light: #8B6B4A;
    --color-gold: #C8A96E;
    --color-text: #2A2A2A;
    --color-text-mute: #6B6B6B;
    --color-border: rgba(0,0,0,0.06);

    /* Typography */
    --font-display: 'Cormorant Garamond', 'Noto Serif JP', serif;
    --font-body: 'Noto Sans JP', -apple-system, sans-serif;
    --font-serif-jp: 'Noto Serif JP', serif;

    /* Spacing */
    --section-padding: clamp(80px, 12vw, 160px);
    --container-width: 1200px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-warm-white);
    line-height: 1.8;
    overflow-x: hidden;
}

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

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

/* --- Loader --- */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-navy);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.loader-icon {
    font-size: 48px;
    animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 6px;
    color: var(--color-sky-light);
    margin-top: 16px;
    opacity: 0;
    animation: loaderFade 0.6s 0.3s forwards;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

@keyframes loaderFade {
    to { opacity: 1; }
}

/* --- Container --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.5s var(--ease-out-expo);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 12px 0;
    box-shadow: 0 1px 30px rgba(0,0,0,0.06);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    font-size: 28px;
    display: flex;
    align-items: center;
}

.logo-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 1.2;
    color: #fff;
    transition: color 0.5s;
}

.logo-text small {
    font-size: 10px;
    letter-spacing: 5px;
    font-weight: 300;
}

.navbar.scrolled .logo-text {
    color: var(--color-navy);
}

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

.nav-link {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s, opacity 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-sky);
    transition: width 0.4s var(--ease-out-expo);
}

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

.navbar.scrolled .nav-link {
    color: var(--color-navy);
}

.nav-link:hover {
    color: var(--color-sky);
}

.nav-cta {
    background: var(--color-sky);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 100px;
    transition: background 0.3s, transform 0.3s;
}

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

.nav-cta:hover {
    background: var(--color-sky-light);
    transform: translateY(-2px);
}

/* Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.4s var(--ease-out-expo);
}

.navbar.scrolled .nav-toggle span {
    background: var(--color-navy);
}

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

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

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 42, 74, 0.75) 0%,
        rgba(26, 42, 74, 0.4) 40%,
        rgba(91, 184, 212, 0.2) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-badge {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--color-sky-light);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(-20px);
}

.hero-badge.animate {
    animation: fadeDown 1s var(--ease-out-expo) forwards;
}

.hero-title {
    font-family: var(--font-serif-jp);
    font-weight: 300;
    color: #fff;
    margin-bottom: 24px;
}

.hero-title-line {
    display: block;
    font-size: clamp(36px, 7vw, 72px);
    line-height: 1.3;
    opacity: 0;
    transform: translateY(40px);
}

.hero-title-line.animate {
    animation: fadeUp 1s var(--ease-out-expo) forwards;
}

.hero-title-line:nth-child(2).animate { animation-delay: 0.15s; }
.hero-title-line:nth-child(3).animate { animation-delay: 0.3s; }

.hero-title-line.accent {
    color: var(--color-sky-light);
    font-weight: 400;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    letter-spacing: 3px;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle.animate {
    animation: fadeUp 1s 0.5s var(--ease-out-expo) forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
}

.hero-actions.animate {
    animation: fadeUp 1s 0.7s var(--ease-out-expo) forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 10px;
    letter-spacing: 3px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 3px;
    padding: 16px 36px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-sky);
    color: #fff;
}

.btn-primary:hover {
    background: #4AABC7;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(91, 184, 212, 0.35);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 20px 48px;
    font-size: 15px;
}

/* --- Marquee --- */
.marquee-section {
    background: var(--color-navy);
    padding: 18px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-track span {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--color-sky-light);
    opacity: 0.6;
    padding-right: 20px;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- Sections --- */
.section {
    padding: var(--section-padding) 0;
}

.section-header {
    margin-bottom: 64px;
}

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

.section-label {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 6px;
    color: var(--color-sky);
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif-jp);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 300;
    line-height: 1.4;
    color: var(--color-navy);
}

.text-accent {
    color: var(--color-sky);
    font-weight: 400;
}

/* --- Story --- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.12);
}

.story-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.story-image:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    letter-spacing: 2px;
}

.story-text {
    padding: 20px 0;
}

.story-quote {
    font-family: var(--font-serif-jp);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 300;
    color: var(--color-navy);
    margin-bottom: 32px;
    line-height: 1.5;
    position: relative;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 80px;
    color: var(--color-sky-light);
    position: absolute;
    top: -40px;
    left: -10px;
    opacity: 0.5;
    line-height: 1;
}

.story-text p {
    font-size: 15px;
    color: var(--color-text-mute);
    margin-bottom: 16px;
    line-height: 2;
}

.story-text strong {
    color: var(--color-sky);
    font-weight: 500;
}

.story-sign {
    font-family: var(--font-serif-jp);
    color: var(--color-brown-light) !important;
    font-style: italic;
    margin-top: 32px !important;
}

/* --- Commitment --- */
.commitment {
    background: var(--color-cream);
}

.commitment-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.commitment-card {
    background: #fff;
    border-radius: 20px;
    padding: 48px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s;
    border: 1px solid var(--color-border);
}

.commitment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}

.card-number {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 300;
    color: var(--color-sky-lighter);
    position: absolute;
    top: -8px;
    right: 16px;
    line-height: 1;
}

.card-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.card-title {
    font-family: var(--font-serif-jp);
    font-size: 22px;
    font-weight: 400;
    color: var(--color-navy);
    margin-bottom: 16px;
}

.card-desc {
    font-size: 14px;
    color: var(--color-text-mute);
    line-height: 1.9;
}

/* --- Parallax Break --- */
.parallax-break {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-img {
    position: absolute;
    inset: -10%;
    width: 120%;
    height: 120%;
    object-fit: cover;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 42, 74, 0.65);
}

.parallax-text {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.parallax-quote {
    font-family: var(--font-serif-jp);
    font-size: clamp(20px, 3.5vw, 36px);
    font-weight: 200;
    color: #fff;
    line-height: 1.8;
    letter-spacing: 3px;
}

/* --- Section Subtitle --- */
.section-subtitle {
    font-size: 14px;
    color: var(--color-text-mute);
    margin-top: 12px;
    letter-spacing: 1px;
}

/* --- Media --- */
.media {
    background: var(--color-cream);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.media-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s;
    position: relative;
}

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

.media-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--color-sky-lighter);
}

.media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

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

.media-info {
    padding: 20px 16px;
}

.media-date {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--color-sky);
    display: block;
    margin-bottom: 6px;
}

.media-name {
    font-family: var(--font-serif-jp);
    font-size: 15px;
    font-weight: 400;
    color: var(--color-navy);
    margin-bottom: 8px;
    line-height: 1.4;
}

.media-desc {
    font-size: 12px;
    color: var(--color-text-mute);
    line-height: 1.7;
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item.tall {
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 42, 74, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 2px;
    color: #fff;
}

/* --- Access --- */
.access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-sky-lighter);
    border-radius: 12px;
}

.info-item h4 {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--color-sky);
    margin-bottom: 4px;
}

.info-item p {
    font-size: 14px;
    color: var(--color-text-mute);
}

.info-item a {
    color: var(--color-sky);
    transition: color 0.3s;
}

.info-item a:hover {
    color: var(--color-navy);
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 12px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-sky-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-sky);
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--color-sky);
    color: #fff;
    transform: translateY(-3px);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid var(--color-border);
}

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

/* --- Diagnosis App --- */
.diagnosis-app {
    background: var(--color-warm-white);
    overflow: hidden;
}

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

.diagnosis-app-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(91, 184, 212, 0.15);
    border: 1px solid var(--color-border);
    transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s;
}

.diagnosis-app-image-wrapper:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 40px 100px rgba(91, 184, 212, 0.25);
}

.diagnosis-app-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s var(--ease-out-expo);
}

.diagnosis-app-image-wrapper:hover img {
    transform: scale(1.04);
}

.diagnosis-app-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-navy);
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.diagnosis-app-text {
    padding: 20px 0;
}

.diagnosis-app-desc {
    font-size: 15px;
    color: var(--color-text-mute);
    line-height: 2;
    margin-top: 24px;
    margin-bottom: 32px;
}

.diagnosis-app-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.diagnosis-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-cream);
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-navy);
    border: 1px solid var(--color-border);
    transition: background 0.3s, transform 0.3s;
}

.diagnosis-feature:hover {
    background: var(--color-sky-lighter);
    transform: translateY(-2px);
}

.diagnosis-feature-icon {
    font-size: 18px;
}

/* --- CTA --- */
.cta-section {
    position: relative;
    background: url('images/baseアソート.jpg') center center / cover no-repeat;
    padding: var(--section-padding) 0;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 42, 74, 0.82) 0%, rgba(44, 62, 107, 0.78) 100%);
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-serif-jp);
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 300;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 15px;
    color: var(--color-sky-light);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

/* --- Footer --- */
.footer {
    background: #0E1929;
    padding: 60px 0 32px;
    color: rgba(255,255,255,0.5);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-logo .logo-icon {
    font-size: 32px;
}

.footer-name {
    font-family: var(--font-serif-jp);
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    display: block;
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--color-sky);
    display: block;
}

.footer-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.footer-nav {
    display: flex;
    gap: 28px;
}

.footer-nav a {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--color-sky);
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
}

/* --- Animations --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .story-grid {
        gap: 48px;
    }
    
    .access-grid {
        gap: 48px;
    }

    .media-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .diagnosis-app-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .diagnosis-app-features {
        flex-wrap: wrap;
        gap: 12px;
    }

    .diagnosis-app-desc br {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-navy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.6s var(--ease-out-expo);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu .nav-link {
        font-size: 18px;
        color: rgba(255,255,255,0.85) !important;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background: #fff !important;
    }
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background: #fff !important;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-image img {
        height: 350px;
    }
    
    .commitment-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item.tall {
        grid-row: span 1;
    }
    
    .access-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 14px 28px;
        font-size: 12px;
    }
    
    .parallax-break {
        height: 50vh;
        min-height: 300px;
    }
    
    .commitment-card {
        padding: 36px 24px;
    }
}
