:root {
    --ink: #111417;
    --ink-soft: #24282c;
    --paper: #f3efe6;
    --paper-light: #fbf8f1;
    --red: #b5222b;
    --red-dark: #83171d;
    --indigo: #18334b;
    --indigo-2: #244d6b;
    --gold: #b79255;
    --muted: #706b63;
    --line: rgba(17, 20, 23, 0.14);
    --max: 1180px;
    --shadow: 0 28px 75px rgba(18, 24, 30, 0.14);
    --shadow-soft: 0 14px 36px rgba(18, 24, 30, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 20% 0%, rgba(183, 146, 85, 0.08), transparent 27rem),
        var(--paper);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.68;
    overflow-x: hidden;
}

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

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

.container {
    width: min(var(--max), calc(100% - 44px));
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--red);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 26px;
    height: 2px;
    content: "";
    background: currentColor;
}

h1,
h2,
h3 {
    margin: 0 0 0.72em;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.05;
}

h1 {
    font-size: clamp(3.4rem, 7vw, 7rem);
}

h2 {
    font-size: clamp(2.35rem, 4.4vw, 4.25rem);
}

h3 {
    font-size: 1.55rem;
}

p {
    margin-top: 0;
}

.lead {
    max-width: 730px;
    color: #3c3935;
    font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0.85rem 1.2rem;
    overflow: hidden;
    border: 1px solid var(--ink);
    font-weight: 760;
    transition: transform 0.24s ease, color 0.24s ease, background 0.24s ease;
}

.btn::after {
    position: absolute;
    right: -24px;
    bottom: -24px;
    width: 52px;
    height: 52px;
    border: 1px solid currentColor;
    border-radius: 50%;
    content: "";
    opacity: 0.25;
}

.btn:hover {
    color: #fff;
    background: var(--ink);
    transform: translateY(-2px);
}

.btn.red {
    color: #fff;
    border-color: var(--red);
    background: var(--red);
}

.btn.red:hover {
    background: var(--red-dark);
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(17, 20, 23, 0.08);
    background: rgba(248, 245, 238, 0.9);
    backdrop-filter: blur(18px);
}

.nav {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.14rem;
    font-weight: 700;
}

.brand img {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(17, 20, 23, 0.12);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 7px 20px rgba(17, 20, 23, 0.08);
}

.menu {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 0.91rem;
    font-weight: 700;
}

.menu a {
    position: relative;
    padding: 8px 0;
}

.menu a::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
}

.menu a:hover::after,
.menu a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.mobile-toggle {
    display: none;
    padding: 7px 9px;
    border: 1px solid var(--line);
    background: transparent;
    font-size: 1.35rem;
}

/* HERO HOME */
.hero {
    position: relative;
    min-height: calc(100vh - 82px);
    display: grid;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 252, 245, 0.98) 0%, rgba(255, 252, 245, 0.88) 42%, rgba(255, 252, 245, 0.25) 100%),
        var(--paper-light);
}

.hero::before {
    position: absolute;
    top: -200px;
    right: -170px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    content: "";
    background: var(--red);
    opacity: 0.94;
}

.hero::after {
    position: absolute;
    right: -40px;
    bottom: -105px;
    width: 710px;
    height: 280px;
    content: "";
    background-image:
        radial-gradient(circle at 50% 100%, transparent 0 41px, rgba(24, 51, 75, 0.24) 42px 45px, transparent 46px),
        radial-gradient(circle at 0% 100%, transparent 0 41px, rgba(24, 51, 75, 0.16) 42px 45px, transparent 46px);
    background-position: 0 0, 46px 0;
    background-size: 92px 92px;
    opacity: 0.8;
    transform: rotate(-4deg);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 58px;
    padding: 70px 0 90px;
}

.hero-copy {
    position: relative;
    z-index: 3;
}

.hero-copy h1 {
    max-width: 760px;
    letter-spacing: -0.035em;
}

.hero-copy h1 span {
    display: block;
    color: var(--red);
    font-style: italic;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 2rem;
}

.hero-image {
    position: relative;
    min-height: 660px;
}

.hero-image::before {
    position: absolute;
    top: 24px;
    right: -38px;
    bottom: -28px;
    left: 36px;
    border: 1px solid rgba(183, 146, 85, 0.75);
    content: "";
    transform: rotate(2.5deg);
}

.hero-image::after {
    position: absolute;
    top: -25px;
    left: -45px;
    width: 170px;
    height: 14px;
    content: "";
    background: var(--ink);
    box-shadow: 18px 17px 0 -5px rgba(17, 20, 23, 0.48), 5px 32px 0 -8px rgba(17, 20, 23, 0.28);
    transform: rotate(-7deg);
}

.hero-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 650px;
    border-radius: 180px 180px 18px 18px;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.72) contrast(1.04);
    box-shadow: var(--shadow);
}

.wave {
    position: absolute;
    z-index: 3;
    right: -84px;
    bottom: -45px;
    width: 600px;
    height: 260px;
    opacity: 0.18;
}

.wave path {
    fill: none;
    stroke: #fff;
    stroke-width: 4;
}

.kanji {
    position: absolute;
    left: -0.12em;
    bottom: -0.18em;
    color: rgba(181, 34, 43, 0.07);
    font-family: serif;
    font-size: clamp(6rem, 16vw, 13rem);
    line-height: 1;
}

/* STRIP */
.strip {
    position: relative;
    z-index: 4;
    padding: 30px 0;
    color: #fff;
    background: var(--indigo);
    box-shadow: 0 20px 50px rgba(24, 51, 75, 0.15);
}

.strip::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image:
        radial-gradient(circle at 50% 100%, transparent 0 21px, rgba(255, 255, 255, 0.12) 22px 24px, transparent 25px),
        radial-gradient(circle at 0% 100%, transparent 0 21px, rgba(255, 255, 255, 0.08) 22px 24px, transparent 25px);
    background-position: 0 0, 23px 0;
    background-size: 46px 46px;
    opacity: 0.55;
}

.strip-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 42px;
}

.strip-grid > div {
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.strip strong {
    display: block;
    margin-bottom: 2px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.38rem;
}

.strip span {
    color: #d7e0e8;
    font-size: 0.92rem;
}

section {
    position: relative;
    padding: 112px 0;
}

/* INTRO */
.intro-grid {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 95px;
}

.intro-grid::before {
    position: absolute;
    left: max(20px, calc((100vw - var(--max)) / 2));
    bottom: 36px;
    width: 240px;
    height: 240px;
    border: 2px solid rgba(181, 34, 43, 0.12);
    border-radius: 50%;
    content: "";
}

.vertical {
    position: sticky;
    top: 120px;
    width: fit-content;
    color: var(--red);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    letter-spacing: 0.19em;
    writing-mode: vertical-rl;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 48px;
}

.card {
    position: relative;
    min-height: 260px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(17, 20, 23, 0.11);
    background: rgba(255, 253, 248, 0.9);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card::after {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 95px;
    height: 95px;
    border: 1px solid rgba(181, 34, 43, 0.24);
    border-radius: 50%;
    content: "";
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-soft);
}

.card .num {
    margin-bottom: 16px;
    color: var(--red);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.2rem;
    line-height: 1;
    opacity: 0.78;
}

/* NEWS */
.news-section {
    overflow: hidden;
    padding-top: 35px;
    background: var(--paper-light);
}

.news-section::before {
    position: absolute;
    top: 22px;
    left: -65px;
    width: 340px;
    height: 70px;
    content: "";
    background: linear-gradient(176deg, transparent 0 26%, rgba(17, 20, 23, 0.09) 27% 38%, transparent 39% 49%, rgba(17, 20, 23, 0.05) 50% 58%, transparent 59%);
    transform: rotate(-6deg);
}

.news-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.news-heading h2 {
    margin-bottom: 0;
}

.news-heading > p {
    max-width: 510px;
    margin-bottom: 8px;
    color: var(--muted);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fffdf8;
    box-shadow: 0 10px 28px rgba(18, 24, 30, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card::before {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 56px;
    height: 5px;
    content: "";
    background: var(--red);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.news-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--indigo);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.035);
}

.news-content {
    padding: 26px 27px 29px;
}

.news-content h3 {
    margin-bottom: 9px;
}

.news-subtitle {
    min-height: 3.2em;
    margin: 0 0 22px;
    color: var(--muted);
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--red);
    font-size: 0.92rem;
    font-weight: 800;
}

.news-link span {
    transition: transform 0.2s ease;
}

.news-link:hover span {
    transform: translateX(4px);
}

/* DARK DOJO SECTION */
.dark {
    overflow: hidden;
    color: #fff;
    background: var(--ink);
}

.dark::before {
    position: absolute;
    top: -210px;
    right: -160px;
    width: 520px;
    height: 520px;
    border: 52px solid rgba(181, 34, 43, 0.28);
    border-radius: 50%;
    content: "";
}

.dark::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    height: 180px;
    content: "";
    background-image:
        radial-gradient(circle at 50% 100%, transparent 0 36px, rgba(255, 255, 255, 0.07) 37px 39px, transparent 40px),
        radial-gradient(circle at 0% 100%, transparent 0 36px, rgba(255, 255, 255, 0.05) 37px 39px, transparent 40px);
    background-position: 0 0, 39px 0;
    background-size: 78px 78px;
}

.dark .split {
    position: relative;
    z-index: 2;
}

.dark p {
    color: #d8d4cc;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.image-frame {
    position: relative;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.25) contrast(1.04);
}

.image-frame::before {
    position: absolute;
    z-index: 2;
    top: -18px;
    left: -18px;
    width: 90px;
    height: 90px;
    border-top: 4px solid var(--red);
    border-left: 4px solid var(--red);
    content: "";
}

.image-frame::after {
    position: absolute;
    z-index: -1;
    inset: 20px -20px -20px 20px;
    border: 1px solid var(--gold);
    content: "";
}

.quote {
    margin: 1.25em 0 0.6em;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 3vw, 2.8rem);
    line-height: 1.3;
}

.small {
    color: var(--muted);
    font-size: 0.9rem;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    grid-template-rows: 280px 280px;
    gap: 14px;
    margin-top: 34px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(17, 20, 23, 0.08);
    object-fit: cover;
    filter: saturate(0.85);
    transition: filter 0.25s ease, transform 0.25s ease;
}

.gallery-grid img:hover {
    z-index: 2;
    filter: saturate(1.05);
    transform: scale(1.012);
}

.gallery-grid img:first-child {
    grid-row: 1 / 3;
}

/* CTA */
.cta {
    overflow: hidden;
    padding: 80px 0;
    color: #fff;
    background: var(--red);
}

.cta::before {
    position: absolute;
    top: -160px;
    right: 7%;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.035), 0 0 0 70px rgba(255, 255, 255, 0.025);
}

.cta-grid {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.cta .btn {
    color: #fff;
    border-color: #fff;
}

.cta .btn:hover {
    color: var(--red);
    background: #fff;
}

/* INNER PAGES */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 105px 0 76px;
    border-bottom: 1px solid var(--line);
    background: var(--paper-light);
}

.page-hero::before {
    position: absolute;
    top: -180px;
    right: -90px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    content: "";
    background: var(--red);
    opacity: 0.93;
}

.page-hero::after {
    position: absolute;
    right: 10%;
    bottom: -95px;
    width: 440px;
    height: 170px;
    content: "";
    background-image:
        radial-gradient(circle at 50% 100%, transparent 0 31px, rgba(24, 51, 75, 0.22) 32px 34px, transparent 35px),
        radial-gradient(circle at 0% 100%, transparent 0 31px, rgba(24, 51, 75, 0.15) 32px 34px, transparent 35px);
    background-position: 0 0, 34px 0;
    background-size: 68px 68px;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    max-width: 850px;
    margin-top: 12px;
    margin-bottom: 0.24em;
    font-size: clamp(3.4rem, 6vw, 5.9rem);
    letter-spacing: -0.035em;
}

.page-hero .lead {
    margin-bottom: 0;
}

.content {
    max-width: 880px;
}

.content > p {
    font-size: 1.08rem;
}

.content > p:first-child::first-letter {
    float: left;
    margin: 0.06em 0.1em 0 0;
    color: var(--red);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.3rem;
    line-height: 0.8;
}

.content h2 {
    margin-top: 1.45em;
}

.content .split {
    max-width: 1120px;
}

.content .split img {
    width: 100%;
    max-height: 640px;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 38px 0;
}

.fact {
    position: relative;
    min-height: 125px;
    padding: 22px 22px 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper-light);
}

.fact::after {
    position: absolute;
    right: -18px;
    bottom: -18px;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(181, 34, 43, 0.3);
    border-radius: 50%;
    content: "";
}

.notice,
.contact-card {
    position: relative;
    margin: 34px 0;
    padding: 28px 30px;
    border: 1px solid rgba(181, 34, 43, 0.38);
    background: #fffaf3;
    box-shadow: var(--shadow-soft);
}

.notice::before,
.contact-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 72px;
    height: 5px;
    content: "";
    background: var(--red);
}

.contact-card h3 {
    margin-bottom: 0.55em;
}

/* FOOTER */
.footer {
    position: relative;
    overflow: hidden;
    padding: 64px 0 26px;
    color: #d8d8d8;
    background: #0c0f12;
}

.footer::before {
    position: absolute;
    top: -150px;
    right: -70px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(181, 34, 43, 0.32);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 24px rgba(181, 34, 43, 0.04), 0 0 0 50px rgba(181, 34, 43, 0.025);
}

.footer-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 58px;
}

.footer h3 {
    color: #fff;
}

.footer a {
    color: #c8c6c2;
}

.footer a:hover {
    color: #fff;
}

.footer small {
    display: block;
    margin-top: 46px;
    padding-top: 20px;
    border-top: 1px solid #2b2f33;
    color: #888;
}

@media (max-width: 900px) {
    .menu {
        position: absolute;
        top: 82px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 22px 28px;
        border-bottom: 1px solid var(--line);
        background: rgba(248, 245, 238, 0.98);
    }

    .menu.open {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        min-height: auto;
    }

    .hero::before {
        top: 190px;
        right: -280px;
        width: 500px;
        height: 500px;
    }

    .hero-grid,
    .intro-grid,
    .split {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 52px;
        padding: 58px 0 78px;
    }

    .hero-image {
        min-height: 500px;
    }

    .hero-image img {
        height: 500px;
    }

    .intro-grid {
        gap: 32px;
    }

    .vertical {
        position: static;
        writing-mode: horizontal-tb;
    }

    .strip-grid,
    .cards,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .news-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 240px 240px;
    }

    .gallery-grid img:first-child {
        grid-row: auto;
        grid-column: 1 / 3;
    }

    .cta-grid {
        align-items: flex-start;
        flex-direction: column;
    }

    .facts {
        grid-template-columns: 1fr;
    }

    section {
        padding: 82px 0;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(var(--max), calc(100% - 28px));
    }

    .brand span {
        font-size: 1rem;
    }

    .hero-grid {
        padding-top: 45px;
    }

    .hero-image,
    .hero-image img {
        min-height: 400px;
        height: 400px;
    }

    .hero-image img {
        border-radius: 120px 120px 14px 14px;
    }

    .cards,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-subtitle {
        min-height: auto;
    }

    .gallery-grid {
        display: block;
    }

    .gallery-grid img {
        height: 250px;
        margin-bottom: 10px;
    }

    .page-hero::before {
        top: -135px;
        right: -210px;
        width: 360px;
        height: 360px;
    }
}

/* ORARI CORSI - BOX COMPATTO HOME */
.schedule-bar-wrap {
    position: relative;
    z-index: 6;
    margin-top: 18px;
    padding: 0 0 18px;
}

.schedule-bar {
    display: grid;
    grid-template-columns: 0.85fr 1fr 1fr 1fr;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(17, 20, 23, 0.12);
    background: var(--indigo);
    color: #fff;
    box-shadow: 0 18px 42px rgba(24, 51, 75, 0.18);
}

.schedule-bar-title,
.schedule-bar-item {
    min-width: 0;
    padding: 18px 22px;
}

.schedule-bar-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--red);
}

.schedule-bar-kicker {
    margin-bottom: 3px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.8;
}

.schedule-bar-title strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.15;
}

.schedule-bar-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.schedule-bar-item span {
    margin-bottom: 1px;
    color: #d7e0e8;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.schedule-bar-item strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.38rem;
    font-weight: 500;
    line-height: 1.2;
}

.schedule-bar-item small {
    margin-top: 3px;
    color: #d7e0e8;
    font-size: 0.78rem;
    line-height: 1.35;
}

.schedule-bar-item-kids::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 4px;
    content: "";
    background: var(--gold);
}

/* CONTENUTO APPROFONDITO AIKIDO */
.aikido-story {
    max-width: 940px;
}

.aikido-story a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.aikido-emphasis {
    margin: 38px 0;
    padding: 26px 30px;
    border-left: 4px solid var(--red);
    background: var(--paper-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem !important;
}

.aikido-photo-placeholder {
    margin: 48px 0;
}

.aikido-photo-placeholder img {
    width: 100%;
    aspect-ratio: 5 / 3;
    border: 1px solid rgba(17, 20, 23, 0.16);
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.aikido-photo-placeholder figcaption {
    margin-top: 9px;
    color: var(--muted);
    font-size: 0.82rem;
    text-align: right;
}

.aikido-facts .fact {
    min-height: 190px;
}

.aikido-quote {
    margin: 50px 0 0;
    padding: 34px 38px;
    border-left: 4px solid var(--red);
    background: var(--ink);
    color: #fff;
}

.aikido-quote p {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    line-height: 1.75;
}

@media (max-width: 900px) {
    .schedule-bar-wrap {
        margin-top: 0;
        padding: 18px 0 0;
        background: var(--paper);
    }

    .schedule-bar {
        grid-template-columns: 1fr 1fr;
    }

    .schedule-bar-title {
        grid-column: 1 / -1;
    }

    .schedule-bar-item:nth-child(2) {
        border-left: 0;
    }
}

@media (max-width: 620px) {
    .schedule-bar {
        grid-template-columns: 1fr;
    }

    .schedule-bar-title,
    .schedule-bar-item {
        padding: 16px 18px;
    }

    .schedule-bar-item {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        border-left: 0;
    }

    .aikido-photo-placeholder {
        margin: 34px 0;
    }

    .aikido-quote {
        padding: 28px 24px;
    }
}

/* DOJO - PERCORSO DI CRESCITA */
.dojo-story {
    max-width: 1080px;
}

.dojo-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 58px;
    align-items: center;
}

.dojo-intro-grid h2,
.dojo-growth-heading h2,
.dojo-start h2 {
    margin-top: 12px;
}

.dojo-opening {
    max-width: 760px;
    margin-bottom: 28px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1.45;
}

.dojo-photo-placeholder {
    margin: 0;
}

.dojo-photo-placeholder img {
    width: 100%;
    border: 1px solid rgba(17, 20, 23, 0.14);
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.dojo-photo-placeholder figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.dojo-photo-placeholder-large img {
    aspect-ratio: 4 / 3;
}

.dojo-growth-heading {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    margin: 92px 0 38px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.dojo-jp {
    color: var(--red);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
    font-size: clamp(5rem, 10vw, 8rem);
    line-height: 0.9;
    opacity: 0.9;
}

.dojo-growth-grid {
    display: grid;
    gap: 28px;
}

.dojo-growth-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.95fr);
    min-height: 410px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper-light);
    box-shadow: var(--shadow-soft);
}

.dojo-growth-card-reverse .dojo-growth-copy {
    order: 2;
}

.dojo-growth-card-reverse .dojo-card-photo {
    order: 1;
}

.dojo-growth-copy {
    position: relative;
    padding: 52px 54px 46px;
}

.dojo-growth-copy h3 {
    margin: 9px 0 22px;
    font-size: clamp(2rem, 3.2vw, 3rem);
}

.dojo-growth-copy p:last-child {
    margin-bottom: 0;
}

.dojo-card-number {
    color: var(--red);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.dojo-card-photo,
.dojo-card-photo img {
    height: 100%;
    min-height: 410px;
}

.dojo-card-photo {
    position: relative;
}

.dojo-card-photo img {
    box-shadow: none;
}

.dojo-card-photo figcaption {
    position: absolute;
    right: 13px;
    bottom: 11px;
    left: 13px;
    margin: 0;
    padding: 7px 10px;
    color: #fff;
    background: rgba(17, 20, 23, 0.74);
    font-size: 0.7rem;
}

.dojo-everyone {
    position: relative;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    margin: 64px 0;
    padding: 38px 44px;
    overflow: hidden;
    background: var(--indigo);
    color: #fff;
}

.dojo-everyone::after {
    position: absolute;
    right: -65px;
    bottom: -88px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    content: "";
}

.dojo-everyone-mark {
    color: #fff;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
    font-size: 6rem;
    line-height: 1;
    opacity: 0.16;
}

.dojo-everyone p {
    position: relative;
    z-index: 1;
}

.dojo-everyone-title {
    margin: 12px 0 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.dojo-start {
    margin-top: 74px;
    padding: 56px;
    border-top: 5px solid var(--red);
    background: #ebe3d3;
}

.dojo-start-head {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 46px;
    align-items: end;
    margin-bottom: 34px;
}

.dojo-start-head h2 {
    margin-bottom: 0;
}

.dojo-start-lead {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 2vw, 1.48rem);
    line-height: 1.5;
}

.dojo-trial-banner {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0 0 38px;
    padding: 16px 22px;
    background: var(--red);
    color: #fff;
}

.dojo-trial-banner span {
    padding-right: 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dojo-trial-banner strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 500;
}

.dojo-start-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 44px;
    align-items: stretch;
}

.dojo-start-photo img {
    height: 100%;
    min-height: 390px;
}

.dojo-start-info {
    padding: 10px 0;
}

.dojo-checks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 34px;
    background: rgba(17, 20, 23, 0.13);
}

.dojo-checks > div {
    min-height: 150px;
    padding: 20px;
    background: var(--paper-light);
}

.dojo-checks span {
    display: block;
    margin-bottom: 18px;
    color: var(--red);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.dojo-checks strong,
.dojo-checks small {
    display: block;
}

.dojo-checks strong {
    margin-bottom: 7px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
}

.dojo-checks small {
    color: var(--muted);
    line-height: 1.45;
}

.dojo-notice {
    margin-top: 54px;
}

@media (max-width: 900px) {
    .dojo-intro-grid,
    .dojo-growth-card,
    .dojo-start-grid,
    .dojo-start-head {
        grid-template-columns: 1fr;
    }

    .dojo-growth-card-reverse .dojo-growth-copy,
    .dojo-growth-card-reverse .dojo-card-photo {
        order: initial;
    }

    .dojo-card-photo,
    .dojo-card-photo img {
        min-height: 340px;
        height: 340px;
    }

    .dojo-growth-heading {
        grid-template-columns: 100px minmax(0, 1fr);
        margin-top: 68px;
    }

    .dojo-jp {
        font-size: 5rem;
    }

    .dojo-start {
        padding: 42px 36px;
    }

    .dojo-start-head {
        gap: 14px;
    }

    .dojo-start-photo img {
        min-height: 340px;
    }
}

@media (max-width: 620px) {
    .dojo-growth-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dojo-jp {
        font-size: 4rem;
    }

    .dojo-growth-copy {
        padding: 34px 26px 30px;
    }

    .dojo-everyone {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 30px 25px;
    }

    .dojo-everyone-mark {
        position: absolute;
        right: 20px;
        bottom: 8px;
        font-size: 7rem;
    }

    .dojo-start {
        margin-right: -14px;
        margin-left: -14px;
        padding: 34px 24px;
    }

    .dojo-trial-banner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .dojo-trial-banner span {
        padding-right: 0;
        border-right: 0;
    }

    .dojo-checks {
        grid-template-columns: 1fr;
    }
}

/* Insegnante */
.teacher-profile h2 { margin-top: 8px; }
.teacher-intro { align-items: center; }
.teacher-intro img { width: 100%; max-height: 560px; object-fit: cover; }
.teacher-badge { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; color: var(--red); font-size: 2rem; font-family: Georgia, serif; }
.teacher-badge span { color: var(--muted); font: 700 .72rem/1.3 Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.teacher-grades { display: grid; grid-template-columns: repeat(4,1fr); margin: 64px 0; border-top: 1px solid rgba(20,30,45,.16); border-bottom: 1px solid rgba(20,30,45,.16); }
.teacher-grades div { padding: 28px 22px; border-right: 1px solid rgba(20,30,45,.16); }
.teacher-grades div:last-child { border-right: 0; }
.teacher-grades span,.teacher-grades strong,.teacher-grades small { display:block; }
.teacher-grades span { color: var(--red); font-weight: 800; letter-spacing: .12em; }
.teacher-grades strong { margin: 7px 0; font-family: Georgia, serif; font-size: 1.05rem; }
.teacher-grades small { color: var(--muted); }
.teacher-story { display:grid; grid-template-columns: 1.7fr .8fr; gap: 50px; align-items:center; margin: 70px 0; }
.teacher-callout { position:relative; overflow:hidden; padding: 42px 34px; background: var(--ink); color:#fff; }
.teacher-callout span { display:block; margin-bottom:12px; color:var(--red); font-size:4rem; font-family:Georgia,serif; }
.teacher-callout p { position:relative; margin:0; font-family:Georgia,serif; font-size:1.2rem; line-height:1.55; }
.teacher-japan { display:grid; grid-template-columns: 1.2fr 1fr; gap:46px; align-items:stretch; margin:70px 0; padding:48px; background:rgba(22,55,82,.07); }
.teacher-photo-placeholder { min-height:310px; display:flex; flex-direction:column; align-items:center; justify-content:center; border:1px dashed rgba(20,30,45,.35); background:rgba(255,255,255,.55); text-align:center; }
.teacher-photo-placeholder span { color:var(--red); font: 3.4rem Georgia,serif; }
.teacher-photo-placeholder strong { margin:10px 0 5px; }
.teacher-photo-placeholder small { color:var(--muted); }
.teacher-education { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin-top:70px; background:rgba(20,30,45,.15); }
.teacher-education > div { padding:34px 30px; background:var(--paper); }
.teacher-number { color:var(--red); font-weight:800; letter-spacing:.15em; }
.teacher-education h3 { margin:10px 0 14px; }
@media(max-width:900px){.teacher-grades{grid-template-columns:repeat(2,1fr)}.teacher-grades div:nth-child(2){border-right:0}.teacher-story,.teacher-japan{grid-template-columns:1fr}.teacher-education{grid-template-columns:1fr}.teacher-japan{padding:34px}}
@media(max-width:560px){.teacher-grades{grid-template-columns:1fr}.teacher-grades div{border-right:0;border-bottom:1px solid rgba(20,30,45,.12)}.teacher-grades div:last-child{border-bottom:0}.teacher-japan{margin-left:-14px;margin-right:-14px;padding:30px 24px}}


/* AGGIORNAMENTI 18-08: SOCIAL, CORSI E CONTATTI */
.menu-social-separator {
    color: rgba(17, 20, 23, 0.35);
    font-size: 0.75rem;
}

.menu a.menu-social {
    color: var(--red);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.menu a.menu-social::after {
    background: var(--indigo);
}

.courses-intro {
    max-width: 780px;
    margin-bottom: 34px;
    font-size: 1.08rem;
}

.courses-schedule {
    margin: 10px 0 48px;
}

.course-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 0 0 42px;
}

.course-info-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--line);
    background: var(--paper-light);
}

.course-info-card .num {
    margin-bottom: 14px;
    color: var(--red);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.course-info-card h2 {
    margin: 0 0 12px;
    font-size: 1.5rem;
}

.enrollment-box {
    display: grid;
    grid-template-columns: 0.85fr 1.4fr;
    gap: 36px;
    align-items: center;
    margin-top: 34px;
    padding: 34px 38px;
    background: var(--indigo);
    color: #fff;
    box-shadow: 0 18px 42px rgba(24, 51, 75, 0.18);
}

.enrollment-box h2 {
    color: #fff;
    margin: 6px 0 10px;
}

.enrollment-box p {
    color: #d7e0e8;
    margin: 0;
}

.enrollment-contacts {
    display: grid;
    gap: 10px;
}

.enrollment-contacts a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
}

.enrollment-contacts a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.enrollment-contacts span {
    color: #bfcbd6;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.enrollment-contacts strong {
    text-align: right;
}

.contacts-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
    gap: 28px;
    align-items: stretch;
}

.contact-card-main,
.map-card {
    min-height: 430px;
}

.contact-card-main {
    margin: 0;
    background: #fff;
}

.contact-links,
.social-contact-links {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

.contact-links a,
.social-contact-links a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
}

.contact-links a:hover,
.social-contact-links a:hover {
    border-color: rgba(181, 34, 43, 0.45);
}

.contact-links span,
.social-contact-links span {
    color: var(--red);
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-direct {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.map-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.map-heading {
    padding: 26px 28px 20px;
}

.map-heading h2 {
    margin: 4px 0 0;
}

.map-frame {
    position: relative;
    flex: 1;
    min-height: 330px;
    background: var(--paper-light);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 330px;
}

.contacts-secondary {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.contacts-secondary .contact-card {
    margin: 0;
    height: 100%;
}

.contact-location-card {
    display: flex;
    flex-direction: column;
}

.contact-location-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

.social-contact-card .social-contact-links {
    margin-bottom: 0;
}

@media (max-width: 1100px) {
    .menu {
        gap: 16px;
        font-size: 0.86rem;
    }

    .menu a.menu-social {
        font-size: 0.72rem;
    }
}

@media (max-width: 900px) {
    .menu-social-separator {
        display: none;
    }

    .menu a.menu-social {
        color: var(--red);
    }

    .courses-schedule {
        margin-top: 0;
    }

    .enrollment-box,
    .contacts-layout {
        grid-template-columns: 1fr;
    }

    .contact-card-main,
    .map-card {
        min-height: auto;
    }

    .contacts-secondary {
        grid-column: auto;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .course-info-grid {
        grid-template-columns: 1fr;
    }

    .enrollment-box {
        padding: 28px 22px;
    }

    .enrollment-contacts a {
        flex-direction: column;
        gap: 4px;
    }

    .enrollment-contacts strong {
        text-align: left;
        overflow-wrap: anywhere;
    }

    .map-heading {
        padding: 22px 20px 17px;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 420px;
        height: 420px;
    }
}


/* GALLERIA 2026 - mosaico fotografico */
.gallery-section {
    padding-top: 70px;
}
.gallery-intro {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(280px, 1.15fr);
    gap: 50px;
    align-items: end;
    margin-bottom: 34px;
}
.gallery-intro h2 {
    margin-bottom: 0;
}
.gallery-intro p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}
.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 220px;
    grid-auto-flow: dense;
    gap: 14px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(17, 20, 23, .09);
    background: #e9e4da;
}
.gallery-item::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(.88) contrast(1.02);
    transition: transform .45s ease, filter .35s ease;
}
.gallery-item:hover img {
    transform: scale(1.035);
    filter: saturate(1.04) contrast(1.02);
}
.gallery-item-featured {
    grid-column: span 2;
    grid-row: span 2;
}
.gallery-item-featured-small {
    grid-column: span 2;
}
.gallery-item-wide {
    grid-column: span 2;
}
.gallery-item-tall {
    grid-row: span 2;
}
.gallery-note {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: .88rem;
    text-align: right;
}
@media (max-width: 900px) {
    .gallery-intro {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .gallery-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 230px;
    }
}
@media (max-width: 620px) {
    .gallery-section {
        padding-top: 48px;
    }
    .gallery-mosaic {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 190px;
        gap: 9px;
    }
    .gallery-item,
    .gallery-item-featured,
    .gallery-item-featured-small,
    .gallery-item-wide,
    .gallery-item-tall {
        grid-column: span 1;
        grid-row: span 1;
        margin: 0;
    }
    .gallery-item-featured,
    .gallery-item-wide,
    .gallery-item-featured-small {
        grid-column: 1 / -1;
    }
    .gallery-item-featured {
        grid-row: span 2;
    }
    .gallery-note {
        text-align: left;
    }
}
