body { font-family: Arial, sans-serif; margin: 0; padding: 0; background: #f8f9fa; color: #222; }
header {
    background: #fff;
    color: #444;
    padding: 0.75rem 1.2rem;
    border-bottom: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: none;
    border: 1px solid #ececec;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #444;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav */
nav {
    margin: 0;
    position: relative;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}
nav ul > li {
    display: flex;
    align-items: center;
}
nav a, .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #444;
    text-decoration: none;
    font-weight: bold;
    background: #f7f7f7;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    border: 1px solid #ececec;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
    min-height: 44px;
}
.menu-alert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    margin-left: 0.45rem;
    border-radius: 999px;
    background: #f2c200;
    color: #1a1a1a;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    vertical-align: middle;
}
nav a:hover, nav a:focus,
.dropdown-toggle:hover, .dropdown-toggle:focus {
    background: #f0f0f0;
    color: #222;
}
nav a.is-active,
.dropdown.is-active .dropdown-toggle,
.dropdown-menu a.is-active {
    background: #444;
    color: #fff;
    border-color: #444;
}
.dropdown {
    display: inline-block;
    position: relative;
}
.dropdown-toggle {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #ececec;
    background: #f7f7f7;
}
.dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 110%;
    min-width: 180px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    z-index: 100;
    list-style: none;
    padding: 0;
    margin: 0;
}
.dropdown-menu li {
    display: block;
    width: 100%;
}
.dropdown-menu a {
    display: block;
    width: 100%;
    padding: 0.7rem 1.2rem;
    color: #444;
    background: #fff;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    font-weight: normal;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu a:hover, .dropdown-menu a:focus { background: #f7f7f7; color: #222; }
.dropdown-menu a.is-active:hover, .dropdown-menu a.is-active:focus,
.dropdown.is-active .dropdown-toggle:hover, .dropdown.is-active .dropdown-toggle:focus,
nav a.is-active:hover, nav a.is-active:focus { background: #333; color: #fff; }
.dropdown.open .dropdown-menu { display: block; }
.container { max-width: 900px; margin: 2rem auto; background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.07); }
section { margin-bottom: 2.5rem; }
h1, h2 { color: #444; }
.site-title,
a.site-title {
    color: #444;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    margin: 0;
}
a.site-title:hover,
a.site-title:focus {
    color: #222;
}
.cta { background: #fafafa; padding: 1.5rem; border-radius: 6px; text-align: center; border: 1px solid #ececec; }
.cta a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.85rem 1.4rem; border-radius: 999px; background: #1f2b22; color: #fff; text-decoration: none; font-weight: 700; border: 1px solid #1f2b22; transition: transform 0.2s, background 0.2s, color 0.2s; }
.cta a:hover, .cta a:focus { transform: translateY(-2px); background: #111813; color: #fff; }
.cta-tel { background: none !important; border: none !important; padding: 0 !important; border-radius: 0 !important; color: #9b6b3d !important; font-weight: 600 !important; text-decoration: underline; transition: color 0.2s; display: inline !important; }
.cta-tel:hover, .cta-tel:focus { background: none !important; color: #7a5230 !important; }
footer { text-align: center; color: #888; padding: 1.5rem 0 0.5rem 0; font-size: 0.95rem; background: #fafafa; border-top: 1px solid #ececec; }
@media (max-width: 600px) { .container { padding: 1rem; } }

@media (max-width: 760px) {
    .nav-toggle {
        display: flex;
    }
    nav {
        display: none;
        width: 100%;
        order: 3;
    }
    nav.is-open {
        display: block;
    }
    nav ul {
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 0;
        gap: 0.2rem;
    }
    nav ul > li {
        display: block;
    }
    nav a,
    .dropdown-toggle {
        display: block;
        width: 100%;
        text-align: left;
        white-space: normal;
    }
    .dropdown {
        display: block;
        width: 100%;
    }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-left: 3px solid #ececec;
        border-radius: 0;
        margin-left: 1rem;
        background: transparent;
        min-width: 0;
    }
    .dropdown-menu a {
        padding: 0.55rem 0.9rem;
        background: transparent;
        white-space: normal;
    }
    .dropdown-menu a:hover,
    .dropdown-menu a:focus {
        background: #f0f0f0;
    }
}

.home-page {
    --home-bg: #ebe7de;
    --home-surface: rgba(255, 252, 245, 0.82);
    --home-panel: rgba(255, 255, 255, 0.78);
    --home-ink: #1f2b22;
    --home-muted: #5f695e;
    --home-accent: #9b6b3d;
    --home-line: rgba(31, 43, 34, 0.12);
    background:
        radial-gradient(circle at top left, rgba(155, 107, 61, 0.18), transparent 30%),
        radial-gradient(circle at bottom right, rgba(57, 93, 67, 0.18), transparent 28%),
        var(--home-bg);
    color: var(--home-ink);
    font-family: 'Manrope', 'Segoe UI', sans-serif;
}

.home-page .homepage-container {
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.home-page .homepage-section {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: clamp(2rem, 6vw, 5rem);
    margin-bottom: 0;
    border-bottom: 1px solid var(--home-line);
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

.home-page .homepage-section:nth-child(odd) {
    background: rgba(255, 252, 248, 0.6);
}

.home-page .homepage-section:nth-child(even) {
    background: rgba(249, 245, 238, 0.66);
}

.home-page .homepage-section h1,
.home-page .homepage-section h2,
.home-page .homepage-section h3 {
    font-family: 'Fraunces', Georgia, serif;
}

.home-page .homepage-section h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 12ch;
}

.home-page .homepage-section p,
.home-page .homepage-section ul,
.home-page .homepage-section .card-grid {
    max-width: 1100px;
}

.home-page .homepage-section p,
.home-page .homepage-section li {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.7;
}

.home-page .homepage-eyebrow,
.home-page .section-kicker,
.home-page .highlight-label,
.home-page .service-index,
.home-page .contact-card span,
.home-page .process-grid span {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--home-accent);
}

.home-page .homepage-hero::before,
.home-page .homepage-process::before {
    content: '';
    position: absolute;
    width: 32rem;
    height: 32rem;
    border-radius: 50%;
    background: rgba(155, 107, 61, 0.09);
    filter: blur(10px);
}

.home-page .homepage-hero::before {
    top: -8rem;
    right: -10rem;
}

.home-page .homepage-process::before {
    bottom: -12rem;
    left: -8rem;
}

.home-page .homepage-hero-grid,
.home-page .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.8fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    justify-items: center;
    width: 100%;
    max-width: 1200px;
}

.home-page .homepage-hero-copy h1 {
    font-size: clamp(3.2rem, 7vw, 6.4rem);
    line-height: 0.96;
    margin: 0 0 1.5rem;
    max-width: 9ch;
}

.home-page .homepage-lead {
    max-width: 38rem;
    color: var(--home-muted);
    margin-bottom: 2rem;
}

.home-page .homepage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.home-page .homepage-actions a,
.home-page .service-panel a,
.home-page .contact-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    background: var(--home-ink);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--home-ink);
    transition: transform 0.2s, background 0.2s, color 0.2s;
}

.home-page .homepage-actions a:hover,
.home-page .homepage-actions a:focus,
.home-page .service-panel a:hover,
.home-page .service-panel a:focus,
.home-page .contact-card a:hover,
.home-page .contact-card a:focus {
    transform: translateY(-2px);
    background: #111813;
    color: #fff;
}

.summer-notice-trigger {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 58px;
    height: 58px;
    border: 2px solid #111;
    border-radius: 999px;
    background: #f2c200;
    color: #1a1a1a;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.summer-notice-trigger:hover,
.summer-notice-trigger:focus {
    background: #ffd32f;
}

.summer-notice-trigger-icon {
    width: 28px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.summer-notice-trigger-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.summer-notice-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.summer-notice-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.summer-notice-panel {
    position: relative;
    z-index: 1;
    width: min(92vw, 560px);
    box-sizing: border-box;
    margin: 12vh auto 0;
    padding: 1.5rem 1.5rem 1.2rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
    color: #222;
}

.summer-notice-panel h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #222;
}

.summer-notice-panel p {
    margin: 0;
    line-height: 1.6;
}

.summer-notice-close {
    position: absolute;
    top: 0.35rem;
    right: 0.55rem;
    border: none;
    background: transparent;
    color: #555;
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
}

body.summer-notice-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .summer-notice-trigger {
        width: 54px;
        height: 54px;
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .summer-notice-trigger-icon {
        width: 25px;
        height: 20px;
    }

    .summer-notice-panel {
        width: calc(100vw - 1.2rem);
        max-height: calc(100vh - 1.2rem);
        margin-top: 10vh;
        padding: 1.15rem 1rem 1rem;
    }

    .summer-notice-panel h2 {
        font-size: 1.2rem;
        padding-right: 1.5rem;
    }
}

.home-page .secondary-action {
    background: transparent;
    color: var(--home-ink);
    border-color: rgba(31, 43, 34, 0.2);
}

.home-page .secondary-action:hover,
.home-page .secondary-action:focus {
    background: rgba(31, 43, 34, 0.06);
    color: var(--home-ink);
}

.home-page .homepage-highlight-card,
.home-page .service-panel,
.home-page .contact-card,
.home-page .process-grid article {
    position: relative;
    background: var(--home-panel);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 28px;
    padding: 1.6rem;
    box-shadow: 0 24px 60px rgba(23, 32, 26, 0.08);
    backdrop-filter: blur(18px);
}

.home-page .homepage-highlight-card {
    width: min(100%, 34rem);
    max-width: 100%;
    box-sizing: border-box;
}

.home-page .highlight-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.home-page .highlight-list li {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--home-line);
}

.home-page .highlight-list li:last-child {
    border-bottom: none;
}

.home-page .homepage-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.home-page .homepage-stats strong {
    display: block;
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.45rem, 5.8vw, 2.2rem);
    line-height: 1;
}

.home-page .homepage-stats span {
    display: block;
    color: var(--home-muted);
    margin-top: 0.45rem;
    font-size: clamp(0.9rem, 2.9vw, 1rem);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.home-page .homepage-section-intro {
    max-width: 760px;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.home-page .homepage-section-intro p:last-child {
    color: var(--home-muted);
}

.home-page .service-rail,
.home-page .process-grid,
.home-page .contact-grid,
.home-page .card-grid {
    position: relative;
    z-index: 1;
}

.home-page .service-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    justify-items: center;
}

.home-page .service-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.home-page .service-panel h3,
.home-page .process-grid h3,
.home-page .contact-card a,
.home-page .contact-card p {
    margin: 0;
}

.home-page .service-panel p,
.home-page .process-grid p,
.home-page .contact-card p {
    color: var(--home-muted);
    margin: 0;
}

.home-page .service-panel a {
    margin-top: auto;
    width: fit-content;
}

.home-page .homepage-section ul {
    padding-left: 1.4rem;
}

.home-page .card-grid {
    width: 100%;
    max-width: 1200px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
}

.home-page .problem-card {
    background: var(--home-surface);
    border-radius: 24px;
    border-color: rgba(255, 255, 255, 0.7);
    min-height: 220px;
    text-align: center;
}

.home-page .problem-card p {
    color: var(--home-muted);
}

.home-page .featured-problem-card {
    background: #243127;
    border-color: #243127;
}

.home-page .featured-problem-card h3,
.home-page .featured-problem-card p {
    color: #fff;
}

.home-page .process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    justify-items: center;
}

.home-page .process-grid article {
    min-height: 280px;
    text-align: center;
}

.home-page .process-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(155, 107, 61, 0.12);
    margin-bottom: 1.2rem;
}

.home-page .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.home-page .contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.home-page .homepage-cta {
    background:
        linear-gradient(135deg, rgba(12, 20, 15, 0.86) 0%, rgba(18, 31, 22, 0.92) 45%, rgba(58, 76, 59, 0.96) 100%),
        radial-gradient(circle at top right, rgba(196, 151, 92, 0.28), transparent 28%);
    color: #fff;
    border-bottom: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    align-items: center;
}

.home-page .homepage-cta-panel {
    width: min(100%, 780px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: clamp(2rem, 4vw, 3.4rem);
    box-sizing: border-box;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(11, 16, 13, 0.82) 0%, rgba(17, 24, 20, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    text-align: center;
}

.home-page .homepage-cta p {
    font-size: clamp(1.4rem, 2.8vw, 2.6rem);
    line-height: 1.3;
    max-width: 18ch;
    margin: 0 auto 1.5rem;
    color: #fff;
    text-shadow: none;
}

.home-page .homepage-cta a {
    background: #fffdf8;
    color: #172219;
    border-color: #fffdf8;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.home-page .homepage-cta .light-action {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: none;
}

.home-page .homepage-cta a:hover,
.home-page .homepage-cta a:focus {
    background: #ffffff;
    color: #101813;
}

.home-page .homepage-cta .light-action:hover,
.home-page .homepage-cta .light-action:focus {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.home-page .homepage-contact {
    min-height: auto;
}

@media (max-width: 600px) {
    .home-page .homepage-section {
        min-height: auto;
        padding: 2rem 1rem;
    }

    .home-page .homepage-section h2 {
        max-width: none;
    }

    .home-page .homepage-stats {
        gap: 0.8rem;
    }
}

@media (max-width: 430px) {
    .home-page .homepage-hero-grid {
        width: 100%;
        max-width: 100%;
    }

    .home-page .homepage-hero-grid > * {
        width: 100%;
        min-width: 0;
    }

    .home-page .homepage-highlight-card {
        width: 100%;
        max-width: 100%;
        padding: 1.2rem 1rem;
        border-radius: 22px;
    }

    .home-page .homepage-section {
        padding-inline: 0.75rem;
    }

    .home-page .homepage-cta-panel {
        width: 100%;
        max-width: 100%;
        padding: 1.4rem 1rem;
        border-radius: 24px;
    }

    .home-page .homepage-stats {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .home-page .homepage-stats strong {
        font-size: 1.5rem;
    }

    .home-page .homepage-stats span {
        margin-top: 0.2rem;
        font-size: 0.92rem;
    }
}

@media (max-width: 960px) {
    .home-page .homepage-hero-grid,
    .home-page .service-rail,
    .home-page .process-grid,
    .home-page .contact-grid,
    .home-page .card-grid {
        grid-template-columns: 1fr;
    }

    .home-page .homepage-hero-grid {
        justify-items: stretch;
    }

    .home-page .homepage-hero-copy h1,
    .home-page .homepage-section h2 {
        max-width: none;
    }

    .home-page .homepage-hero::before,
    .home-page .homepage-process::before {
        display: none;
    }
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 0 0;
}
.problem-card {
    background: #f7f7f7;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 1.2rem 1rem 1.2rem 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
}
.problem-card h3 {
    margin-top: 0;
    color: #444;
    font-size: 1.1rem;
}
.problem-card p {
    margin-bottom: 0;
    color: #333;
    font-size: 0.98rem;
}
.problem-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.price-table th,
.price-table td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #ececec;
}

.price-table th {
    background: #f7f7f7;
    color: #444;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table td:last-child {
    font-weight: bold;
    white-space: nowrap;
}

.price-note {
    font-size: 0.92rem;
    color: #888;
    margin-top: 0.5rem;
}

.team-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 2rem;
    align-items: center;
    padding: 1rem 0 2rem;
}

.team-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8b6b47;
}

.team-lead {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #555;
    max-width: 48rem;
}

.team-hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.team-hero-stats div {
    background: linear-gradient(180deg, #fbfaf7 0%, #f2efe8 100%);
    border: 1px solid #ece6dc;
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.team-hero-stats strong {
    display: block;
    font-size: 2rem;
    color: #2a312b;
    line-height: 1;
}

.team-hero-stats span {
    display: block;
    margin-top: 0.35rem;
    color: #666;
}

.instructor-grid-section {
    margin-top: 2rem;
}

.instructor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.instructor-card {
    background: linear-gradient(180deg, #fbfbfa 0%, #f5f5f2 100%);
    border: 1px solid #ece9e2;
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

.instructor-card h2 {
    font-size: 1.5rem;
    margin-top: 0.4rem;
    margin-bottom: 0.8rem;
}

.instructor-avatar {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1rem;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, #253428 0%, #8b6b47 100%);
    box-shadow: 0 10px 24px rgba(37, 52, 40, 0.18);
}

.instructor-role {
    margin: 0;
    color: #888;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: bold;
}

.instructor-summary {
    color: #555;
    line-height: 1.7;
}

.instructor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 0.8rem;
}

.instructor-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #ebe6dc;
    color: #5a4a34;
    font-size: 0.86rem;
    font-weight: 700;
}

.instructor-card ul {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
}

.instructor-card li {
    margin-bottom: 0.45rem;
}

.instructor-note {
    margin: 1rem 0 0;
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
}

.team-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1.4rem;
}

.team-values-grid article {
    background: #faf8f4;
    border: 1px solid #eee7db;
    border-radius: 14px;
    padding: 1.25rem;
}

.team-values-grid h3 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    color: #444;
}

.team-values-grid p {
    margin: 0;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 760px) {
    .team-hero {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #444;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1px solid #ececec;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    color: #222;
    background: #fafafa;
    box-sizing: border-box;
    transition: border 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #aaa;
    background: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #c0392b;
}

.field-error {
    color: #c0392b;
    font-size: 0.88rem;
    margin-top: 0.3rem;
    display: block;
}

.alert {
    padding: 1rem 1.2rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #f0faf0;
    border: 1px solid #b2dfb2;
    color: #2d662d;
}

.alert-error {
    background: #fdf0f0;
    border: 1px solid #f5c6cb;
    color: #7a1c1c;
}

.required-note {
    font-size: 0.88rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.form-submit {
    display: inline-block;
    background: #f7f7f7;
    color: #444;
    padding: 0.7rem 2rem;
    border-radius: 4px;
    border: 1px solid #ececec;
    font-size: 1rem;
    font-weight: bold;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.form-submit:hover,
.form-submit:focus {
    background: #f0f0f0;
    color: #222;
}

/* ================================================================
   GALÉRIA – nyilvános oldal
================================================================ */

.galeria-container {
    max-width: 1100px;
}

/* Visszalink az albumoldalon */
.galeria-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    margin-bottom: 1.5rem;
}
.galeria-back:hover { text-decoration: underline; color: #222; }

/* Album lista oldal – fejléc */
.galeria-hero-copy {
    margin-bottom: 1.75rem;
}
.galeria-hero-copy h1 {
    margin-bottom: 0.4rem;
}
.galeria-lead {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* Üres állapot */
.galeria-empty {
    color: #888;
    font-size: 0.97rem;
    padding: 2rem 0;
}

/* ---- Album kártyák ---- */
.galeria-album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.galeria-album-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.18s, transform 0.15s;
}
.galeria-album-card:hover,
.galeria-album-card:focus {
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    outline: none;
}

.galeria-album-thumb-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f0f2f5;
}
.galeria-album-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s;
}
.galeria-album-card:hover .galeria-album-thumb-wrap img {
    transform: scale(1.04);
}
.galeria-album-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galeria-album-info {
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.galeria-album-name {
    font-weight: 700;
    font-size: 0.97rem;
    color: #222;
}
.galeria-album-desc {
    font-size: 0.83rem;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* ---- Album banner (részletoldal fejléc) ---- */
.galeria-album-banner {
    position: relative;
    width: calc(100% + 4rem);
    margin-left: -2rem;
    margin-right: -2rem;
    margin-bottom: 2.5rem;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    background-color: #1f2b22;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.galeria-album-banner--no-img {
    background: linear-gradient(135deg, #1f2b22 0%, #3a4f3c 50%, #2d3d2e 100%);
    border-left: 5px solid #9b6b3d;
}

.galeria-album-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 16, 11, 0.85) 0%,
        rgba(10, 16, 11, 0.4) 50%,
        rgba(10, 16, 11, 0.1) 100%
    );
    pointer-events: none;
}

.galeria-album-banner--no-img .galeria-album-banner-overlay {
    display: none;
}

@media (max-width: 600px) {
    .galeria-album-banner {
        width: calc(100% + 2rem);
        margin-left: -1rem;
        margin-right: -1rem;
    }
}

.galeria-album-banner-content {
    position: relative;
    z-index: 1;
    padding: 2rem 2.25rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.galeria-album-banner-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.galeria-album-banner-desc {
    font-size: 0.97rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
    margin: 0;
    max-width: 65ch;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.galeria-album-kep-szam {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #e8c49a;
    margin-top: 0.25rem;
}

/* ---- Képrács ---- */
.galeria-kep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.galeria-kep-item {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.galeria-kep-btn {
    display: block;
    width: 100%;
    border: none;
    padding: 0;
    background: none;
    cursor: zoom-in;
    position: relative;
    overflow: hidden;
}

.galeria-kep-btn img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.galeria-kep-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,16,11,0.82) 0%,
        rgba(10,16,11,0.35) 55%,
        rgba(10,16,11,0) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.85rem;
    opacity: 0;
    transition: opacity 0.28s ease;
    gap: 0.2rem;
}

.galeria-kep-btn:hover .galeria-kep-overlay,
.galeria-kep-btn:focus-visible .galeria-kep-overlay {
    opacity: 1;
}

.galeria-kep-btn:hover img,
.galeria-kep-btn:focus-visible img {
    transform: scale(1.06);
    filter: brightness(0.88);
}

.galeria-kep-btn:focus-visible {
    outline: 2px solid #9b6b3d;
    outline-offset: 2px;
}

.galeria-kep-overlay-cim {
    font-size: 0.87rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.galeria-kep-overlay-leiras {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.galeria-kep-overlay-icon {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    color: rgba(255,255,255,0.9);
    background: rgba(0,0,0,0.35);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

/* ---- Lightbox ---- */
.galeria-lightbox-open {
    overflow: hidden;
}

.galeria-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.galeria-lightbox[hidden] {
    display: none;
}

.galeria-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 11, 0.92);
    backdrop-filter: blur(6px);
}

.galeria-lightbox-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    z-index: 10;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 2.6rem;
    height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.18s;
}

.galeria-lightbox-close:hover {
    background: rgba(255,255,255,0.22);
}

.galeria-lightbox-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: min(90vw, 1100px);
    max-height: 90vh;
}

.galeria-lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.6);
}

.galeria-lightbox-info {
    text-align: center;
    color: rgba(255,255,255,0.9);
}

.galeria-lightbox-info strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.galeria-lightbox-info p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.5;
}

/* Reszponzív */
@media (max-width: 700px) {
    .galeria-album-banner {
        width: calc(100% + 2rem);
        margin-left: -1rem;
        margin-right: -1rem;
        min-height: 220px;
    }
    .galeria-album-banner-content {
        padding: 1.25rem 1.1rem;
    }
    .galeria-kep-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.6rem;
    }
}
