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

:root {
    --primary: #5B4A8A;
    --primary-light: #7B6BA8;
    --primary-soft: rgba(91,74,138,0.08);
    --accent: #D4756B;
    --accent-soft: rgba(212,117,107,0.10);
    --dark: #1E1E2E;
    --text: #3A3A52;
    --gray: #8888A0;
    --gray-light: #E8E8EF;
    --bg: #F6F5FA;
    --white: #FFFFFF;
    --warm: #FDF8F6;
    --gradient: linear-gradient(135deg, #5B4A8A, #7B6BA8);
    --gradient-warm: linear-gradient(135deg, #D4756B, #E8A398);
    --shadow-sm: 0 2px 12px rgba(30,30,46,0.04);
    --shadow-md: 0 8px 30px rgba(30,30,46,0.07);
    --shadow-lg: 0 20px 50px rgba(30,30,46,0.10);
    --radius: 16px;
    --radius-lg: 24px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Be Vietnam Pro', 'Noto Sans JP', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.75;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 6px; }

/* ===== NAV ===== */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 0.8rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
    transition: all 0.4s ease;
}

nav.scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

.nav-logo {
    font-size: 1.3rem; font-weight: 700;
    text-decoration: none; color: var(--dark);
    display: flex; align-items: center; gap: 0.5rem;
}

.nav-logo .logo-mark {
    width: 38px; height: 38px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 0.85rem; font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-logo-img {
    width: 38px; height: 38px;
    border-radius: 12px;
}

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

.nav-links a {
    text-decoration: none; color: var(--text);
    font-weight: 500; font-size: 0.88rem;
    padding: 0.5rem 1rem; border-radius: 10px;
    transition: all 0.25s;
}

.nav-links a:hover { background: var(--primary-soft); color: var(--primary); }

.nav-cta {
    background: var(--primary) !important;
    color: white !important;
    padding: 0.55rem 1.4rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--primary-light) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(91,74,138,0.25) !important;
}

.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, var(--bg) 0%, var(--warm) 50%, var(--bg) 100%);
    padding-top: 80px;
}

.hero-bg-shape {
    position: absolute; border-radius: 50%;
    filter: blur(100px); opacity: 0.25;
    pointer-events: none;
}

.hero-bg-shape.s1 { width: 600px; height: 600px; background: var(--primary-light); top: -15%; right: -10%; }
.hero-bg-shape.s2 { width: 400px; height: 400px; background: var(--accent); bottom: -10%; left: -5%; opacity: 0.15; }

.hero-content {
    max-width: 1140px; margin: 0 auto; padding: 2rem;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
    position: relative; z-index: 2;
}

.hero-chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: var(--white);
    padding: 0.4rem 1rem; border-radius: 50px;
    font-size: 0.82rem; font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--gray-light);
    margin-bottom: 1.5rem;
    animation: fadeUp .6s ease forwards; opacity: 0;
}

.hero-chip .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

.hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    font-weight: 700; line-height: 1.25;
    color: var(--dark); margin-bottom: 1.2rem;
    animation: fadeUp .6s ease .12s forwards; opacity: 0;
}

.hero h1 .text-accent { color: var(--primary); position: relative; }

.hero-desc {
    font-size: 1.05rem; color: var(--gray);
    max-width: 460px; margin-bottom: 2rem;
    animation: fadeUp .6s ease .24s forwards; opacity: 0;
}

.hero-buttons {
    display: flex; gap: 0.8rem; flex-wrap: wrap;
    animation: fadeUp .6s ease .36s forwards; opacity: 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.8rem 1.8rem; border-radius: 50px;
    font-size: 0.95rem; font-weight: 600;
    text-decoration: none; transition: all 0.3s;
    cursor: pointer; border: none; font-family: inherit;
}

.btn-primary {
    background: var(--primary); color: white;
    box-shadow: 0 4px 18px rgba(91,74,138,0.25);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(91,74,138,0.3);
}

.btn-outline {
    background: transparent; color: var(--text);
    border: 1.5px solid var(--gray-light);
}

.btn-outline:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.1rem; font-size: 0.8rem;
    border-radius: 50px; font-weight: 600;
    text-decoration: none; transition: all 0.3s;
    cursor: pointer; border: none; font-family: inherit;
    background: var(--primary); color: white;
}

.btn-sm:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(91,74,138,0.2); }

.btn-white {
    background: white; color: var(--primary);
    padding: 0.85rem 2.2rem; font-weight: 700;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    position: relative;
}

.btn-white:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ===== BENTO GRID ===== */
.hero-visual {
    animation: fadeRight .8s ease .3s forwards; opacity: 0;
}

.bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bento-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius);
    padding: 1.3rem;
    transition: all 0.3s;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.bento-card.span-2 { grid-column: span 2; }

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

.avatar-circle {
    width: 80px; height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.7rem;
    color: white; font-size: 1.8rem; font-weight: 700;
    box-shadow: 0 6px 20px rgba(91,74,138,0.2);
}

.avatar-img {
    object-fit: cover;
    object-position: center top;
    border: 3px solid rgba(255,255,255,0.4);
}

.about-main-card .avatar-img {
    width: 110px; height: 110px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid rgba(255,255,255,0.4);
    display: block;
}

.bento-avatar h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); }
.bento-avatar p { font-size: 0.78rem; color: var(--gray); }

.bento-stat .stat-icon { font-size: 1.5rem; margin-bottom: 0.3rem; }
.bento-stat .stat-value { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.bento-stat .stat-label { font-size: 0.72rem; color: var(--gray); font-weight: 500; }

.bento-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.bento-tag {
    padding: 0.35rem 0.8rem; border-radius: 50px;
    font-size: 0.73rem; font-weight: 600;
    background: var(--primary-soft); color: var(--primary);
}

.bento-tag.tag-warm { background: var(--accent-soft); color: var(--accent); }

.bento-review .stars { color: #E5A946; font-size: 0.82rem; margin-bottom: 0.3rem; }
.bento-review .review-text { font-size: 0.78rem; color: var(--gray); font-style: italic; line-height: 1.6; }
.bento-review .reviewer { font-size: 0.72rem; font-weight: 600; color: var(--text); margin-top: 0.3rem; }

/* ===== MARQUEE ===== */
.marquee-section {
    padding: 1rem 0;
    background: var(--dark);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    animation: marquee 35s linear infinite;
    width: max-content;
}

.marquee-item {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem; font-weight: 500;
    white-space: nowrap; padding: 0 2rem;
    display: flex; align-items: center; gap: 0.5rem;
}

.marquee-item .sep { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; opacity: 0.7; }

/* ===== QUIZ ===== */
.quiz-section { background: var(--white); }

.quiz-container {
    max-width: 580px; margin: 0 auto;
}

.quiz-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-light);
}

.quiz-progress {
    height: 4px; background: var(--gray-light);
    border-radius: 4px; margin-bottom: 1.2rem;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%; background: var(--gradient);
    border-radius: 4px;
    transition: width 0.4s ease;
}

.quiz-meta {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem;
}

.quiz-counter {
    font-size: 0.78rem; font-weight: 600;
    color: var(--gray);
}

.quiz-level-badge {
    font-size: 0.7rem; font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    background: var(--primary-soft);
    color: var(--primary);
    letter-spacing: 0.03em;
}

.result-score {
    font-size: 0.85rem; color: var(--gray);
    margin-top: 0.8rem; line-height: 1.6;
}

.quiz-question {
    font-size: 1.15rem; font-weight: 700;
    color: var(--dark); margin-bottom: 1.5rem;
    line-height: 1.5;
}

.quiz-options { display: flex; flex-direction: column; gap: 0.6rem; }

.quiz-option {
    width: 100%; padding: 0.9rem 1.2rem;
    background: var(--white);
    border: 1.5px solid var(--gray-light);
    border-radius: 14px;
    font-family: inherit; font-size: 0.9rem;
    font-weight: 500; color: var(--text);
    cursor: pointer; transition: all 0.25s;
    text-align: left;
}

.quiz-option:hover {
    border-color: var(--primary-light);
    background: var(--primary-soft);
    color: var(--primary);
}

.quiz-option.correct {
    border-color: #00946D; background: rgba(0,148,109,0.08);
    color: #00946D;
}

.quiz-option.wrong {
    border-color: var(--accent); background: var(--accent-soft);
    color: var(--accent);
}

.quiz-option:disabled { cursor: default; opacity: 0.85; }

.quiz-result {
    text-align: center;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    border: 1px solid var(--gray-light);
}

.result-icon { font-size: 3rem; margin-bottom: 1rem; }

.quiz-result h3 {
    font-size: 1.3rem; font-weight: 700;
    color: var(--dark); margin-bottom: 0.5rem;
}

.quiz-result p {
    color: var(--gray); font-size: 0.92rem;
    max-width: 400px; margin: 0 auto;
    line-height: 1.6;
}

/* ===== SECTIONS ===== */
section { padding: 5.5rem 2rem; }

.section-header { text-align: center; max-width: 560px; margin: 0 auto 3.5rem; }

.section-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem; border-radius: 50px;
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.5px; margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.tag-purple { background: var(--primary-soft); color: var(--primary); }
.tag-warm { background: var(--accent-soft); color: var(--accent); }

.section-title {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 700; color: var(--dark);
    margin-bottom: 0.7rem;
}

.section-desc { color: var(--gray); font-size: 0.95rem; }

/* ===== ABOUT ===== */
.about { background: var(--white); }

.about-grid {
    max-width: 1060px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.3fr;
    gap: 4rem; align-items: center;
}

.about-visual { position: relative; }

.about-main-card {
    background: var(--gradient);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    color: white; text-align: center;
    box-shadow: 0 16px 50px rgba(91,74,138,0.2);
}

.about-main-card .avatar-lg {
    width: 100px; height: 100px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.8rem;
    margin: 0 auto 1rem;
    border: 3px solid rgba(255,255,255,0.3);
}

.about-cert-img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.about-certs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.about-cert-item {
    text-align: center;
}

.about-cert-item span {
    display: block;
    font-size: 0.72rem;
    color: var(--gray);
    margin-top: 0.4rem;
    font-weight: 500;
}

/* Fullscreen image overlay */
.cert-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cert-overlay.active { display: flex; }

.cert-overlay img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    object-fit: contain;
}

.about-main-card h3 { font-size: 1.3rem; margin-bottom: 0.2rem; }
.about-main-card .subtitle { opacity: 0.85; font-size: 0.85rem; }
.about-main-card .quote {
    margin-top: 1rem; font-size: 0.85rem;
    opacity: 0.8; font-style: italic; line-height: 1.6;
}

.about-float {
    position: absolute;
    background: var(--white);
    border-radius: 14px;
    padding: 0.8rem 1rem;
    box-shadow: var(--shadow-md);
    z-index: 3;
    animation: gentleFloat 5s ease-in-out infinite;
}

.about-float.f1 { top: -15px; right: -25px; animation-delay: 0s; }
.about-float.f2 { bottom: -10px; left: -20px; animation-delay: 2.5s; }

.about-float .f-label { font-size: 0.73rem; font-weight: 700; color: var(--dark); }
.about-float .f-sub { font-size: 0.65rem; color: var(--gray); }

.about-content h3 { font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem; }
.about-content p { color: var(--gray); font-size: 0.92rem; margin-bottom: 1.2rem; }

.about-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }

.about-badge {
    display: flex; align-items: center; gap: 0.7rem;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border-radius: 14px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.about-badge:hover {
    border-color: var(--gray-light);
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.about-badge .b-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}

.b-icon.i1 { background: var(--primary-soft); }
.b-icon.i2 { background: var(--accent-soft); }

.about-badge h4 { font-size: 0.82rem; font-weight: 700; color: var(--dark); }
.about-badge span { font-size: 0.7rem; color: var(--gray); }

/* ===== COURSES ===== */
.courses { background: var(--bg); }

.courses-grid {
    max-width: 1060px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.8rem;
    border: 1.5px solid var(--gray-light);
    transition: all 0.35s;
    position: relative;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.course-card.featured { border-color: var(--primary-light); }

.featured-tag {
    position: absolute; top: 14px; right: 14px;
    background: var(--gradient);
    color: white; font-size: 0.68rem;
    font-weight: 700; padding: 0.25rem 0.7rem;
    border-radius: 50px;
}

.course-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1rem;
}

.ci-1 { background: rgba(0,180,150,0.08); }
.ci-2 { background: var(--primary-soft); }
.ci-3 { background: var(--accent-soft); }

.course-level {
    display: inline-block;
    padding: 0.25rem 0.7rem; border-radius: 50px;
    font-size: 0.7rem; font-weight: 700;
    margin-bottom: 0.6rem;
}

.cl-easy { background: rgba(0,180,150,0.08); color: #00946D; }
.cl-mid { background: var(--primary-soft); color: var(--primary); }
.cl-hard { background: var(--accent-soft); color: var(--accent); }

.course-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; }
.course-card > p { font-size: 0.82rem; color: var(--gray); margin-bottom: 1.2rem; line-height: 1.6; }

.course-features { list-style: none; margin-bottom: 1.4rem; }
.course-features li {
    padding: 0.3rem 0; font-size: 0.82rem;
    display: flex; align-items: center; gap: 0.5rem;
}

.course-features li::before {
    content: ''; width: 18px; height: 18px;
    border-radius: 50%; flex-shrink: 0;
    background: var(--primary-soft);
    display: flex; align-items: center; justify-content: center;
}

.course-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 1.2rem;
    border-top: 1px solid var(--gray-light);
}

.course-price { font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.course-price span { font-size: 0.78rem; color: var(--gray); font-weight: 400; }

/* ===== METHOD ===== */
.method { background: var(--white); }

.method-grid {
    max-width: 1000px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.method-card {
    text-align: center; padding: 2rem 1.2rem;
    border-radius: var(--radius-lg);
    background: var(--bg);
    border: 1px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.method-card:hover {
    background: var(--white);
    border-color: var(--gray-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.method-num {
    position: absolute; top: 14px; left: 16px;
    font-size: 0.7rem; font-weight: 700;
    color: var(--primary-light); opacity: 0.5;
}

.method-icon {
    width: 60px; height: 60px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1rem;
    background: var(--primary-soft);
}

.method-card h4 { font-size: 0.92rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; }
.method-card p { font-size: 0.78rem; color: var(--gray); line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--dark); color: white; position: relative; overflow: hidden; }

.testimonials::before {
    content: '口コミ';
    position: absolute; right: 3%; top: 10%;
    font-size: 10rem; font-weight: 800;
    color: rgba(255,255,255,0.02);
    writing-mode: vertical-rl;
    pointer-events: none;
}

.testimonials .section-tag { background: rgba(212,117,107,0.15); color: #E8A398; }
.testimonials .section-title { color: white; }
.testimonials .section-desc { color: rgba(255,255,255,0.45); }

.testimonials-grid {
    max-width: 1060px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.t-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    transition: all 0.3s;
}

.t-card:hover {
    background: rgba(255,255,255,0.07);
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.1);
}

.t-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }

.t-avatar {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 0.85rem;
}

.t-name { font-weight: 700; font-size: 0.9rem; }
.t-role { font-size: 0.72rem; color: rgba(255,255,255,0.4); }
.t-stars { color: #E5A946; font-size: 0.8rem; margin-bottom: 0.7rem; }

.t-card blockquote {
    font-size: 0.88rem; line-height: 1.75;
    color: rgba(255,255,255,0.7);
    font-style: italic;
}

.t-tag {
    display: inline-block; margin-top: 1rem;
    padding: 0.25rem 0.7rem; border-radius: 50px;
    font-size: 0.68rem; font-weight: 600;
    background: rgba(91,74,138,0.2);
    color: rgba(255,255,255,0.6);
}

/* ===== CTA ===== */
.cta { padding: 5rem 2rem; background: var(--bg); }

.cta-box {
    max-width: 860px; margin: 0 auto;
    background: var(--gradient);
    border-radius: 28px;
    padding: 3.5rem 3rem;
    text-align: center; color: white;
    position: relative; overflow: hidden;
    box-shadow: 0 20px 60px rgba(91,74,138,0.25);
}

.cta-box::before {
    content: ''; position: absolute;
    width: 250px; height: 250px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    top: -80px; right: -60px;
}

.cta-box h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700; margin-bottom: 0.8rem;
    position: relative;
}

.cta-box p {
    font-size: 0.95rem; opacity: 0.85;
    max-width: 480px; margin: 0 auto 2rem;
    position: relative;
}

/* ===== CONTACT ===== */
.contact { background: var(--white); }

.contact-grid {
    max-width: 860px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.3fr;
    gap: 3rem; align-items: start;
}

.contact-cards { display: flex; flex-direction: column; gap: 0.8rem; }

.contact-card {
    display: flex; gap: 1rem; align-items: center;
    padding: 1.1rem;
    background: var(--bg);
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.contact-card:hover {
    background: var(--white);
    border-color: var(--gray-light);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
    background: var(--primary-soft);
}

.contact-card h4 { font-size: 0.85rem; font-weight: 700; color: var(--dark); }
.contact-card p { font-size: 0.8rem; color: var(--gray); margin: 0; }

.contact-form {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    display: flex; flex-direction: column; gap: 0.8rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%; padding: 0.85rem 1.1rem;
    border: 1.5px solid var(--gray-light);
    border-radius: 12px;
    font-family: inherit; font-size: 0.88rem;
    background: var(--white);
    transition: all 0.3s; outline: none;
    resize: vertical; color: var(--text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.contact-form textarea { min-height: 90px; }
.contact-form .btn-primary { width: 100%; justify-content: center; }

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.35);
    padding: 2rem 2rem;
}

.footer-inner {
    max-width: 1060px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
}

.footer-logo { color: rgba(255,255,255,0.7); font-weight: 700; font-size: 1rem; }

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 0.82rem; transition: color 0.3s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }

.footer-copy {
    width: 100%; text-align: center;
    margin-top: 1.2rem; padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.78rem;
}

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeRight {
    from { opacity: 0; transform: translateX(35px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; }
    .hero-visual { max-width: 480px; margin: 2rem auto 0; }
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { order: -1; max-width: 360px; margin: 0 auto; }
    .courses-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid .t-card[style*="span 3"] { grid-column: span 2; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0;
        width: 100%; background: white;
        padding: 1rem 2rem; gap: 0.3rem;
        box-shadow: var(--shadow-md);
        border-radius: 0 0 16px 16px;
    }
    .courses-grid { grid-template-columns: 1fr; max-width: 380px; }
    .method-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 420px; }
    .testimonials-grid .t-card[style*="span 3"] { grid-column: span 1; }
    .contact-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .about-badges { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    section { padding: 3.5rem 1.2rem; }
    .bento { gap: 8px; }
    .footer-inner { justify-content: center; text-align: center; }
    .footer-links { justify-content: center; }
}
