/* =====================================================
   ナラティブ塾 — NARRATIVE JUKU
   design/smart-apple-925.css
   Based on DNA: template79.xml (Longhorn Steakhouse pattern)
   ===================================================== */

/* === GOOGLE FONTS IMPORT === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Oswald:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&family=Noto+Serif+JP:wght@400;700;900&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* === CSS VARIABLES === */
:root {
    --brand-primary: #8C0C04;
    --brand-primary-dark: #6a0903;
    --brand-black: #000000;
    --brand-white: #ffffff;
    --brand-accent: #D5C89E;
    --brand-cream: #f5f0e6;
    --brand-dark-bg: #1a1a1a;
    --brand-error: #ff6900;
    --text-main: #1a1a1a;
    --text-muted: #555;
    --font-serif: 'Playfair Display', 'Noto Serif JP', Georgia, serif;
    --font-condensed: 'Oswald', Impact, sans-serif;
    --font-body: 'Montserrat', 'Noto Sans JP', Arial, sans-serif;
    --font-jp: 'Noto Sans JP', 'Montserrat', Arial, sans-serif;
}

/* === RESET / BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-jp);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--brand-white);
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    text-decoration: none;
}

/* === BRAND UTILITIES === */
.text-burgundy {
    color: var(--brand-primary);
}

.text--burgundy {
    color: var(--brand-primary);
}

.bg-burgundy {
    background-color: var(--brand-primary);
}

.bg-black {
    background-color: var(--brand-black);
}

.bg--white-paper {
    background-color: var(--brand-cream);
}

.bg-ridged-glossy-black {
    background-color: var(--brand-dark-bg);
}

.text-white {
    color: #fff !important;
}

.text-black {
    color: #000 !important;
}

/* === FONTS === */
.font--playfair {
    font-family: var(--font-serif);
}

.font--condensed {
    font-family: var(--font-condensed);
}

.font--body {
    font-family: var(--font-body);
}

.font--jp {
    font-family: var(--font-jp);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0;
    transition: all .2s ease;
    cursor: pointer;
    border: none;
}

.btn--primary {
    background-color: var(--brand-primary);
    color: #fff;
    border: 2px solid var(--brand-primary);
    text-transform: uppercase;
    font-family: var(--font-jp);
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 12px 28px;
}

.btn--primary:hover {
    background-color: var(--brand-primary-dark);
    color: #fff;
    border-color: var(--brand-primary-dark);
}

.btn--white {
    background-color: #fff;
    color: var(--brand-primary);
    border: 2px solid #fff;
    text-transform: uppercase;
    font-weight: 700;
    padding: 12px 28px;
    font-family: var(--font-jp);
}

.btn--white:hover {
    background-color: var(--brand-cream);
    color: var(--brand-primary-dark);
}

.btn--outline {
    background-color: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    text-transform: uppercase;
    font-weight: 700;
    padding: 10px 24px;
    font-family: var(--font-jp);
}

.btn--outline:hover {
    background-color: var(--brand-primary);
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
}

/* === HEADER === */
.header {
    background-color: #000;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo-wrapper a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-wrapper svg {
    flex-shrink: 0;
}

/* Desktop nav */
.desktop-nav-wrapper {
    flex: 1;
    padding-left: 40px;
}

.desktop-nav {
    list-style: none;
    display: flex;
    gap: 28px;
    padding: 0;
    margin: 0;
}

.desktop-nav-item {
    position: relative;
}

.desktop-nav-link {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-family: var(--font-jp);
    transition: color .2s;
}

.desktop-nav-link:hover {
    color: var(--brand-accent);
}

.desktop-nav-link.active {
    color: var(--brand-accent);
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone {
    color: var(--brand-accent);
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-condensed);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.header-phone i {
    margin-right: 6px;
}

/* Hamburger (mobile) */
.hamburger-button {
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 26px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    transition: all .3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

.hamburger-button.is-active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger-button.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger-button.is-active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* Mobile nav */
.mobile-nav {
    display: none;
    background-color: #111;
    padding: 0;
    margin: 0;
    list-style: none;
    border-top: 1px solid #333;
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav li {
    border-bottom: 1px solid #222;
}

.mobile-nav a {
    display: block;
    padding: 14px 24px;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-family: var(--font-jp);
}

.mobile-nav a:hover {
    background-color: #222;
    color: var(--brand-accent);
}

/* === HERO === */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background-color: #0a0a0a;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.55;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(140, 12, 4, 0.25) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    padding: 0 24px;
}

.hero-title {
    line-height: 1.05;
    padding-bottom: 1.5rem;
    color: #fff;
    margin-bottom: 0;
}

.hero-title .line1 {
    font-family: var(--font-serif);
    font-size: 80px;
    font-weight: 900;
    display: block;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
    letter-spacing: -0.01em;
}

.hero-title .line2 {
    font-family: var(--font-condensed);
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    display: block;
    color: var(--brand-accent);
    margin-top: 4px;
}

.hero-subtitle {
    font-family: var(--font-jp);
    font-size: 18px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* === SECTION TITLES === */
.section-title {
    font-family: var(--font-condensed);
    font-size: 46px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    letter-spacing: 0.04em;
}

.section-title-jp {
    font-family: var(--font-jp);
    font-size: 14px;
    text-align: center;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--brand-primary);
    margin: 0 auto 2rem;
}

/* === LEAD CAPTURE SECTION === */
.lead-section {
    padding: 40px 0 32px;
    background: var(--brand-cream);
}

.lead-box {
    background-color: #000;
    border: 2px solid var(--brand-primary);
    padding: 28px 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.lead-box h2 {
    font-size: 32px;
    font-family: var(--font-condensed);
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    margin-bottom: 0;
    letter-spacing: 0.04em;
}

.lead-box .form-control {
    border: 0;
    border-radius: 0;
    font-size: 14px;
    padding: 10px 12px;
    color: #000;
    background: #fff;
    width: 100%;
}

.lead-box .form-control:focus {
    outline: 2px solid var(--brand-primary);
    box-shadow: none;
}

.lead-disclaimer {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
}

/* === COURSES CAROUSEL === */
.section-carousel {
    padding: 60px 0 50px;
}

.course--carousel {
    overflow: hidden;
    position: relative;
}

.course--track {
    display: flex;
    transition: transform 0.4s ease;
    gap: 0;
}

.course--item {
    padding: 8px 14px 0;
    flex: 0 0 auto;
    width: 33.333%;
}

.course--image {
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.course--image img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    margin-bottom: 0;
    transition: transform .4s ease;
}

.course--image:hover img {
    transform: scale(1.04);
}

.image-box-shadow {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.course--badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--brand-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.course--info {
    padding: 14px 4px 8px;
    border-bottom: 2px solid var(--brand-cream);
}

.course--name {
    text-transform: uppercase;
    font-weight: 700;
    font-family: var(--font-jp);
    font-size: 15px;
    margin: 0 0 6px;
    color: var(--text-main);
    line-height: 1.4;
}

.course--meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.course--meta i {
    margin-right: 4px;
    color: var(--brand-primary);
}

.course--price {
    font-family: var(--font-condensed);
    font-size: 22px;
    color: var(--brand-primary);
    font-weight: 700;
}

.course--footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 4px 0;
}

/* Carousel controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.carousel-prev,
.carousel-next {
    background: transparent;
    border: 2px solid var(--brand-primary);
    width: 44px;
    height: 44px;
    font-size: 20px;
    color: var(--brand-primary);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--brand-primary);
    color: #fff;
}

.carousel-counter {
    font-family: var(--font-condensed);
    font-size: 16px;
    color: var(--brand-primary);
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

/* === STORY / DARK SECTION === */
.story-section {
    color: #fff;
    padding: 80px 0 60px;
}

.story-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.story-title {
    font-family: var(--font-condensed);
    font-size: 52px;
    line-height: 1.05;
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.story-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-jp);
}

.story-image img {
    border: 3px solid var(--brand-primary);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* Quick-links row inside dark section */
.quick-links-row {
    padding: 40px 0 60px;
}

.quick-link-card {
    background: #fff;
    border-radius: 8px;
    padding: 24px 20px;
    text-align: center;
    height: 100%;
}

.quick-link-card .icon {
    font-size: 36px;
    color: var(--brand-primary);
    margin-bottom: 12px;
}

.quick-link-card h3 {
    font-family: var(--font-condensed);
    font-size: 20px;
    text-transform: uppercase;
    margin: 0 0 8px;
    color: var(--text-main);
}

.quick-link-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 12px;
    font-family: var(--font-jp);
}

.quick-link-card a {
    color: var(--brand-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.06em;
}

.quick-link-card a:hover {
    text-decoration: underline;
}

/* === PRICING SECTION === */
.pricing-section {
    padding: 80px 0;
}

.pricing-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 48px;
}

.pricing-card {
    background: #fff;
    border: 2px solid #e8e0d4;
    padding: 36px 28px 32px;
    flex: 1;
    min-width: 260px;
    max-width: 340px;
    position: relative;
    transition: box-shadow .3s, transform .3s;
}

.pricing-card:hover {
    box-shadow: 0 12px 40px rgba(140, 12, 4, 0.12);
    transform: translateY(-4px);
}

.pricing-card.is-featured {
    border-color: var(--brand-primary);
    border-width: 3px;
}

.pricing-card.is-featured::before {
    content: '人気';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    letter-spacing: 0.08em;
    font-family: var(--font-jp);
}

.plan-name {
    font-family: var(--font-condensed);
    font-size: 24px;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 4px;
    letter-spacing: 0.04em;
}

.plan-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-family: var(--font-jp);
    min-height: 36px;
}

.plan-price {
    font-family: var(--font-condensed);
    font-size: 48px;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.plan-price sup {
    font-size: 24px;
    vertical-align: super;
}

.plan-period {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-family: var(--font-jp);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.plan-features li {
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #f0ebe2;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--font-jp);
    color: var(--text-main);
}

.plan-features li i {
    color: var(--brand-primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.plan-features li.disabled {
    color: #bbb;
}

.plan-features li.disabled i {
    color: #ccc;
}

/* === BENEFITS SECTION === */
.benefits-section {
    padding: 80px 0;
    background: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.benefit-card {
    text-align: center;
    padding: 8px 16px;
}

.benefit-icon {
    width: 72px;
    height: 72px;
    background-color: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 28px;
    color: #fff;
}

.benefit-card h3 {
    font-family: var(--font-jp);
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--text-main);
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-muted);
    font-family: var(--font-jp);
    line-height: 1.7;
    margin: 0;
}

/* === TESTIMONIALS === */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 48px;
}

.testimonial-card {
    background: #fff;
    padding: 28px 24px;
    border-left: 4px solid var(--brand-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-main);
    font-family: var(--font-jp);
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-text::before {
    content: '「';
}

.testimonial-text::after {
    content: '」';
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-condensed);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    flex-shrink: 0;
}

.testimonial-author .name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-main);
    font-family: var(--font-jp);
}

.testimonial-author .role {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-jp);
}

.stars {
    color: var(--brand-primary);
    font-size: 14px;
    margin-bottom: 4px;
}

/* === CONTACT / FORM SECTION === */
.contact-section {
    padding: 80px 0;
}

.contact-section .section-title {
    color: #fff;
}

.contact-section .section-title-jp {
    color: var(--brand-accent);
}

.contact-section .section-divider {
    background-color: var(--brand-accent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
    margin-top: 48px;
}

.contact-info h3 {
    font-family: var(--font-condensed);
    font-size: 24px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.contact-info-item i {
    font-size: 18px;
    color: var(--brand-primary);
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px;
}

.contact-info-item p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-jp);
    margin: 0;
    line-height: 1.6;
}

.contact-info-item a {
    color: var(--brand-accent);
    font-size: 15px;
    font-family: var(--font-jp);
}

.contact-info-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 36px 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6px;
    letter-spacing: 0.04em;
    font-family: var(--font-jp);
    text-transform: uppercase;
}

.form-group label .required {
    color: var(--brand-primary);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: var(--font-jp);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-radius: 0;
    transition: border-color .2s;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: rgba(255, 255, 255, 0.09);
}

.form-control.is-invalid {
    border-color: var(--brand-error);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control option {
    background: #1a1a1a;
    color: #fff;
}

.form-error {
    font-size: 12px;
    color: var(--brand-error);
    margin-top: 4px;
    display: none;
    font-family: var(--font-jp);
}

.form-error.show {
    display: block;
}

/* === FOOTER === */
.footer {
    background: var(--brand-cream);
    padding: 48px 24px 24px;
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid #ddd6c8;
    margin-bottom: 28px;
}

.footer-brand .logo-text {
    font-family: var(--font-condensed);
    font-size: 24px;
    text-transform: uppercase;
    color: var(--text-main);
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-jp);
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-col h4 {
    font-family: var(--font-condensed);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-main);
    margin-bottom: 14px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--text-muted);
    font-family: var(--font-jp);
    transition: color .2s;
}

.footer-nav a:hover {
    color: var(--brand-primary);
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.footer-contact-item i {
    color: var(--brand-primary);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item span {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-jp);
    line-height: 1.5;
}

.footer-contact-item a {
    color: var(--text-muted);
    font-size: 13px;
    font-family: var(--font-jp);
}

.footer-contact-item a:hover {
    color: var(--brand-primary);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    background-color: var(--brand-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    transition: background-color .2s;
}

.social-link:hover {
    background-color: var(--brand-primary);
    color: #fff;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-legal-nav {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding: 0;
    margin: 0;
}

.footer-legal-nav a {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-jp);
}

.footer-legal-nav a:hover {
    color: var(--brand-primary);
}

.copyright {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-jp);
}

/* === GDPR COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    color: #fff;
    padding: 18px 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 3px solid var(--brand-primary);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform .4s ease;
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner p {
    font-size: 13px;
    font-family: var(--font-jp);
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    flex: 1;
    min-width: 240px;
    line-height: 1.6;
}

.cookie-banner a {
    color: var(--brand-accent);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-accept {
    background: var(--brand-primary);
    color: #fff;
    border: none;
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-jp);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background .2s;
}

.cookie-accept:hover {
    background: var(--brand-primary-dark);
}

.cookie-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 9px 18px;
    font-size: 13px;
    cursor: pointer;
    font-family: var(--font-jp);
    transition: all .2s;
}

.cookie-decline:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

/* === PAGE HERO (inner pages) === */
.page-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 80px 24px 60px;
    text-align: center;
    border-bottom: 3px solid var(--brand-primary);
}

.page-hero h1 {
    font-family: var(--font-condensed);
    font-size: 52px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.page-hero .breadcrumb-nav {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-jp);
}

.page-hero .breadcrumb-nav a {
    color: var(--brand-accent);
}

.page-hero .breadcrumb-nav a:hover {
    text-decoration: underline;
}

/* === INNER PAGE CONTENT === */
.inner-content {
    padding: 60px 0 80px;
}

.inner-content .container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.inner-content h2 {
    font-family: var(--font-jp);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin: 36px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--brand-primary);
}

.inner-content h3 {
    font-family: var(--font-jp);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin: 24px 0 10px;
}

.inner-content p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-main);
    font-family: var(--font-jp);
    margin-bottom: 16px;
}

.inner-content ul,
.inner-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.inner-content li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-main);
    font-family: var(--font-jp);
    margin-bottom: 6px;
}

.inner-content a {
    color: var(--brand-primary);
}

.inner-content a:hover {
    text-decoration: underline;
}

.info-box {
    background: var(--brand-cream);
    border-left: 4px solid var(--brand-primary);
    padding: 20px 24px;
    margin: 24px 0;
    font-size: 14px;
    font-family: var(--font-jp);
    line-height: 1.8;
    color: var(--text-main);
}

/* === FAQ / KNOWLEDGE BASE === */
.faq-item {
    border-bottom: 1px solid #e8e0d4;
    padding: 0;
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 0;
    text-align: left;
    font-family: var(--font-jp);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color .2s;
}

.faq-question:hover {
    color: var(--brand-primary);
}

.faq-question i {
    color: var(--brand-primary);
    font-size: 14px;
    transition: transform .3s;
    flex-shrink: 0;
}

.faq-item.is-open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s;
    padding: 0;
}

.faq-item.is-open .faq-answer {
    max-height: 800px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    font-family: var(--font-jp);
    margin: 0;
}

/* === ABOUT PAGE === */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 48px 0;
}

.stat-box {
    text-align: center;
    padding: 24px 16px;
    background: var(--brand-cream);
}

.stat-number {
    font-family: var(--font-condensed);
    font-size: 52px;
    color: var(--brand-primary);
    line-height: 1;
    font-weight: 700;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-jp);
    margin-top: 6px;
}

/* Team cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.team-card {
    text-align: center;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid var(--brand-primary);
    background-color: var(--brand-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-photo i {
    font-size: 48px;
    color: var(--text-muted);
}

.team-name {
    font-family: var(--font-jp);
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text-main);
}

.team-role {
    font-size: 13px;
    color: var(--brand-primary);
    font-family: var(--font-jp);
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.team-bio {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-jp);
    line-height: 1.7;
}

/* === CONTACTS PAGE === */
.contacts-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.map-placeholder {
    background: #e8e0d4;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d4c9b8;
}

.map-placeholder p {
    color: var(--text-muted);
    font-family: var(--font-jp);
    font-size: 14px;
}

/* === SEND.PHP SUCCESS === */
.send-result {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    text-align: center;
}

.send-result .icon {
    font-size: 64px;
    color: var(--brand-primary);
    margin-bottom: 24px;
}

.send-result h1 {
    font-family: var(--font-jp);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
}

.send-result p {
    font-size: 16px;
    color: var(--text-muted);
    font-family: var(--font-jp);
    margin-bottom: 28px;
}

/* === UTILITIES === */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-fluid {
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 12px;
}

.col-md-4 {
    padding: 0 12px;
}

.col-md-6 {
    padding: 0 12px;
}

.col-lg-4 {
    padding: 0 12px;
}

.w-100 {
    width: 100%;
}

.position-relative {
    position: relative;
}

/* === RESPONSIVE === */
@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .d-md-none {
        display: none !important;
    }

    .d-md-block {
        display: block !important;
    }

    .d-md-flex {
        display: flex !important;
    }

    .course--item {
        width: 50%;
    }

    .contact-grid {
        grid-template-columns: 1fr 1.6fr;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .d-lg-none {
        display: none !important;
    }

    .d-lg-block {
        display: block !important;
    }

    .d-lg-flex {
        display: flex !important;
    }

    .course--item {
        width: 33.333%;
    }
}

@media (max-width: 991px) {
    .desktop-nav-wrapper {
        display: none;
    }

    .hero-title .line1 {
        font-size: 56px;
    }

    .hero-title .line2 {
        font-size: 34px;
    }

    .section-title {
        font-size: 34px;
    }

    .story-title {
        font-size: 38px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 480px;
    }

    .hero-title .line1 {
        font-size: 42px;
    }

    .hero-title .line2 {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .lead-box {
        padding: 24px 18px;
    }

    .lead-box h2 {
        font-size: 22px;
        white-space: normal;
    }

    .course--item {
        width: 86%;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-section {
        padding: 60px 0 40px;
    }

    .contact-form {
        padding: 24px 20px;
    }
}

@media (max-width: 575px) {
    .hero-title .line1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 200px;
    }

    .cookie-banner {
        flex-direction: column;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}