
/* =========================================================
   KYU AJIRA CLUB WEBSITE
   Main stylesheet: css/style.css
   Colours: Green, White, Charcoal and Red accents
   ========================================================= */

/* -------------------------
   1. GLOBAL VARIABLES
------------------------- */
:root {
    --primary: #087743;
    --primary-dark: #055b34;
    --primary-light: #eaf7ef;
    --primary-pale: #f5faf6;

    --accent: #e53946;
    --accent-dark: #c62836;

    --white: #ffffff;
    --black: #17231c;
    --text: #34443a;
    --muted: #647268;

    --border: #e0e8e2;
    --surface: #f7faf8;
    --footer: #153526;

    --shadow-sm: 0 3px 12px rgba(12, 55, 31, 0.07);
    --shadow-md: 0 10px 28px rgba(12, 55, 31, 0.12);
    --shadow-lg: 0 18px 45px rgba(12, 55, 31, 0.16);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --container: 1180px;
    --header-height: 82px;

    --transition: 0.25s ease;
}

/* -------------------------
   2. RESET AND BASE
------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-wrap: break-word;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    list-style-position: inside;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--black);
    line-height: 1.25;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

::selection {
    color: var(--white);
    background: var(--primary);
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding: 72px 0;
}

.section-heading {
    margin-bottom: 14px;
    color: var(--primary);
}

.section-description {
    max-width: 680px;
    margin: 0 auto;
    color: var(--muted);
}

.text-center {
    text-align: center;
}

.text-green {
    color: var(--primary);
}

.text-muted {
    color: var(--muted);
}

/* -------------------------
   3. BUTTONS
------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 23px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    color: var(--primary);
    background: transparent;
    border-color: var(--primary);
}

.btn-outline:hover {
    color: var(--white);
    background: var(--primary);
}

.btn-accent {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

/* -------------------------
   4. HEADER AND NAVIGATION
------------------------- */
#site-header {
    position: relative;
    z-index: 1000;
}

.site-header,
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.035);
}

.header-inner,
.navbar,
.main-nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    width: min(var(--container), calc(100% - 48px));
    min-height: var(--header-height);
    margin-inline: auto;
}

/* Logo and club name */
.site-brand,
.brand,
.navbar-brand,
.header-brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 11px;
    min-width: 0;
}

.site-logo,
.brand-logo,
.navbar-logo,
.header-logo,
.site-brand img,
.brand img,
.navbar-brand img,
.header-brand img {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    object-fit: contain;
    border-radius: 7px;
}

.brand-text,
.site-brand-text,
.navbar-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.brand-name,
.site-brand h1,
.site-brand h2,
.navbar-brand h1,
.navbar-brand h2 {
    margin: 0;
    color: var(--primary);
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.3;
}

.brand-tagline {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.3;
}

/* Centred navigation */
.site-nav,
.main-navigation,
.nav-links,
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a,
.main-navigation a,
.nav-links a,
.nav-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color var(--transition);
}

.site-nav a:hover,
.main-navigation a:hover,
.nav-links a:hover,
.nav-menu a:hover,
.site-nav a.active,
.main-navigation a.active,
.nav-links a.active,
.nav-menu a.active {
    color: var(--primary);
}

.site-nav a::after,
.main-navigation a::after,
.nav-links a::after,
.nav-menu a::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.site-nav a:hover::after,
.main-navigation a:hover::after,
.nav-links a:hover::after,
.nav-menu a:hover::after,
.site-nav a.active::after,
.main-navigation a.active::after,
.nav-links a.active::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

/* Join Us button on the far right */
.header-action,
.nav-action,
.header-cta {
    display: flex;
    align-items: center;
    justify-self: end;
}

.header-action .btn,
.nav-action .btn,
.header-cta .btn,
.header-action a,
.nav-action a,
.header-cta a {
    white-space: nowrap;
}

/* Mobile navigation toggle */
.menu-toggle,
.nav-toggle,
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1.5rem;
}

/* -------------------------
   5. MAIN PAGE INTRODUCTION
------------------------- */
.about-hero,
.club-about,
.about-section {
    padding: 68px 0;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(8, 119, 67, 0.07),
            transparent 34%
        ),
        var(--primary-pale);
}

.about-grid,
.club-about-grid,
.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    gap: 64px;
}

.about-content,
.club-about-content,
.about-text {
    min-width: 0;
}

.eyebrow,
.section-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.about-content h1,
.club-about-content h1,
.about-text h1 {
    margin-bottom: 22px;
    color: var(--primary-dark);
    letter-spacing: -1px;
}

.about-content h2,
.club-about-content h2,
.about-text h2 {
    margin-bottom: 18px;
    color: var(--primary-dark);
}

.about-content p,
.club-about-content p,
.about-text p {
    max-width: 650px;
    color: var(--text);
    font-size: 1.04rem;
    line-height: 1.9;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

/* Club logo or image on the right */
.about-image,
.club-about-image,
.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.about-image img,
.club-about-image img,
.about-visual img {
    width: 100%;
    max-width: 460px;
    max-height: 440px;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.about-image--photo img,
.club-about-image--photo img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.about-image--logo img,
.club-about-image--logo img {
    width: min(100%, 360px);
    aspect-ratio: 1;
    object-fit: contain;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

/* -------------------------
   6. PHOTO GALLERY
------------------------- */
.photo-gallery,
.gallery-section,
.club-gallery {
    padding: 64px 0 72px;
    background: var(--white);
}

.gallery-header {
    margin-bottom: 30px;
    text-align: center;
}

.gallery-header h2,
.photo-gallery h2,
.gallery-section h2,
.club-gallery h2 {
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.gallery-header p {
    max-width: 720px;
    margin-inline: auto;
    color: var(--muted);
}

/* Main slideshow container */
.gallery-slideshow,
.gallery-slider,
.photo-slideshow {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin-inline: auto;
    overflow: hidden;
    background: #edf2ee;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.gallery-slideshow img,
.gallery-slider img,
.photo-slideshow img,
.gallery-slide img {
    display: block;
    width: 100%;
    height: clamp(280px, 55vw, 560px);
    object-fit: cover;
    object-position: center;
}

/* Support individual slide elements */
.gallery-slide {
    position: relative;
    width: 100%;
}

.gallery-slide[hidden] {
    display: none !important;
}

.gallery-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 24px 26px;
    color: var(--white);
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.78)
    );
}

.gallery-caption h3 {
    margin-bottom: 5px;
    color: var(--white);
}

.gallery-caption p {
    margin: 0;
    color: #f2f6f3;
    font-size: 0.92rem;
}

/* Previous and next controls */
.gallery-control,
.gallery-prev,
.gallery-next,
.slideshow-prev,
.slideshow-next {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: var(--white);
    background: rgba(5, 91, 52, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    font-size: 1.4rem;
    transform: translateY(-50%);
    transition: background var(--transition);
}

.gallery-control:hover,
.gallery-prev:hover,
.gallery-next:hover,
.slideshow-prev:hover,
.slideshow-next:hover {
    background: var(--accent);
}

.gallery-prev,
.slideshow-prev {
    left: 16px;
}

.gallery-next,
.slideshow-next {
    right: 16px;
}

/* Slideshow progress and image counter */
.gallery-meta,
.gallery-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1000px;
    margin: 14px auto 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.gallery-dots,
.slideshow-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.gallery-dot,
.slideshow-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    background: #cbd5ce;
    border: none;
    border-radius: 50%;
    transition:
        width var(--transition),
        background var(--transition);
}

.gallery-dot.active,
.slideshow-dot.active {
    width: 24px;
    background: var(--primary);
    border-radius: 10px;
}

/* Optional small thumbnail strip */
.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    max-width: 1000px;
    margin: 20px auto 0;
}

.gallery-thumbnails img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition:
        border-color var(--transition),
        transform var(--transition);
}

.gallery-thumbnails img:hover,
.gallery-thumbnails img.active {
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* -------------------------
   7. FOOTER
------------------------- */
#site-footer {
    margin-top: 0;
}

.site-footer,
.main-footer,
.footer {
    color: #e5eee8;
    background: var(--footer);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 48px;
    padding-top: 54px;
    padding-bottom: 44px;
}

.footer-column,
.footer-col {
    min-width: 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-brand img,
.footer-brand__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    padding: 4px;
    background: var(--white);
    border-radius: var(--radius-sm);
}

.footer-brand h2,
.footer-brand h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.15rem;
}

.footer-column h3,
.footer-col h3,
.footer-heading {
    margin-bottom: 18px;
    color: var(--white);
    font-size: 1.08rem;
}

.footer-column p,
.footer-col p {
    color: #d1e2d7;
    font-size: 0.94rem;
    line-height: 1.8;
}

.footer-links {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: #d1e2d7;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: #8ee2af;
}

.footer-contact {
    display: grid;
    gap: 13px;
}

.footer-contact a,
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #e5eee8;
    overflow-wrap: anywhere;
}

.footer-contact a:hover {
    color: #8ee2af;
}

.footer-contact-icon {
    flex: 0 0 22px;
    color: #8ee2af;
}

/* Footer social links */
.footer-socials,
.social-links,
.footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.footer-socials a,
.social-links a,
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition:
        background var(--transition),
        transform var(--transition);
}

.footer-socials a:hover,
.social-links a:hover,
.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #d1e2d7;
    background: rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #a6e6bb;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* -------------------------
   8. FLOATING WHATSAPP BUTTON
------------------------- */
.whatsapp-float,
.whatsapp-button,
.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: var(--white);
    background: #168a4b;
    border: 2px solid var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition:
        background var(--transition),
        transform var(--transition);
}

.whatsapp-float:hover,
.whatsapp-button:hover,
.floating-whatsapp:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.whatsapp-float svg,
.whatsapp-button svg,
.floating-whatsapp svg {
    width: 27px;
    height: 27px;
}

/* -------------------------
   9. SHARED FORM ELEMENTS
------------------------- */
.form-group {
    display: grid;
    gap: 7px;
    margin-bottom: 18px;
}

.form-group label {
    color: var(--black);
    font-weight: 600;
}

.form-control,
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    color: var(--text);
    background: var(--white);
    border: 1px solid #cfdad1;
    border-radius: var(--radius-sm);
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-control:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(8, 119, 67, 0.12);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-message {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
}

.form-message.success {
    color: #075b34;
    background: #eaf7ef;
}

.form-message.error {
    color: #9f1c28;
    background: #fff0f1;
}

/* -------------------------
   10. ACCESSIBILITY
------------------------- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 2000;
    padding: 12px 18px;
    color: var(--white);
    background: var(--primary-dark);
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    top: 12px;
}

[hidden] {
    display: none !important;
}

/* -------------------------
   11. TABLET RESPONSIVENESS
------------------------- */
@media (max-width: 1024px) {
    :root {
        --header-height: 76px;
    }

    .header-inner,
    .navbar,
    .main-nav-container {
        gap: 15px;
        width: calc(100% - 32px);
    }

    .site-nav,
    .main-navigation,
    .nav-links,
    .nav-menu {
        gap: 15px;
    }

    .site-nav a,
    .main-navigation a,
    .nav-links a,
    .nav-menu a {
        font-size: 0.86rem;
    }

    .about-grid,
    .club-about-grid,
    .about-hero-grid {
        gap: 38px;
    }

    .footer-main {
        gap: 30px;
    }
}

/* -------------------------
   12. MOBILE RESPONSIVENESS
------------------------- */
@media (max-width: 768px) {
    .container {
        width: calc(100% - 32px);
    }

    .section {
        padding: 48px 0;
    }

    /* Keep logo, toggle and join action tidy */
    .header-inner,
    .navbar,
    .main-nav-container {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        width: calc(100% - 28px);
        min-height: 72px;
    }

    .site-brand,
    .brand,
    .navbar-brand,
    .header-brand {
        flex: 1 1 auto;
        gap: 8px;
    }

    .site-logo,
    .brand-logo,
    .navbar-logo,
    .header-logo,
    .site-brand img,
    .brand img,
    .navbar-brand img,
    .header-brand img {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .brand-name,
    .site-brand h1,
    .site-brand h2,
    .navbar-brand h1,
    .navbar-brand h2 {
        font-size: 0.98rem;
    }

    .brand-tagline {
        font-size: 0.68rem;
    }

    .menu-toggle,
    .nav-toggle,
    .mobile-menu-toggle {
        display: inline-flex;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
    }

    .header-action .btn,
    .nav-action .btn,
    .header-cta .btn,
    .header-action a,
    .nav-action a,
    .header-cta a {
        min-height: 40px;
        padding: 9px 13px;
        font-size: 0.85rem;
    }

    /* Mobile menu is controlled by the JS class "open" */
    .site-nav,
    .main-navigation,
    .nav-links,
    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 10px 20px 18px;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .site-nav.open,
    .main-navigation.open,
    .nav-links.open,
    .nav-menu.open,
    .site-nav.active,
    .main-navigation.active,
    .nav-links.active,
    .nav-menu.active {
        display: flex;
        flex-direction: column;
    }

    .site-nav a,
    .main-navigation a,
    .nav-links a,
    .nav-menu a {
        display: flex;
        min-height: 46px;
        padding: 10px 0;
        border-bottom: 1px solid #edf1ee;
        font-size: 0.95rem;
    }

    .site-nav a::after,
    .main-navigation a::after,
    .nav-links a::after,
    .nav-menu a::after {
        display: none;
    }

    /* About text first, image underneath */
    .about-hero,
    .club-about,
    .about-section {
        padding: 48px 0;
    }

    .about-grid,
    .club-about-grid,
    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content h1,
    .club-about-content h1,
    .about-text h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .about-content p,
    .club-about-content p,
    .about-text p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .about-image,
    .club-about-image,
    .about-visual {
        order: 2;
    }

    .about-image img,
    .club-about-image img,
    .about-visual img {
        max-height: 360px;
    }

    .about-image--logo img,
    .club-about-image--logo img {
        width: min(100%, 290px);
    }

    .about-actions {
        gap: 10px;
    }

    /* Gallery */
    .photo-gallery,
    .gallery-section,
    .club-gallery {
        padding: 46px 0 50px;
    }

    .gallery-header {
        margin-bottom: 22px;
    }

    .gallery-slideshow img,
    .gallery-slider img,
    .photo-slideshow img,
    .gallery-slide img {
        height: clamp(240px, 65vw, 420px);
    }

    .gallery-slideshow,
    .gallery-slider,
    .photo-slideshow {
        border-radius: var(--radius-md);
    }

    .gallery-prev,
    .slideshow-prev {
        left: 10px;
    }

    .gallery-next,
    .slideshow-next {
        right: 10px;
    }

    .gallery-control,
    .gallery-prev,
    .gallery-next,
    .slideshow-prev,
    .slideshow-next {
        width: 40px;
        height: 40px;
        font-size: 1.15rem;
    }

    .gallery-caption {
        padding: 20px 16px 16px;
    }

    .gallery-meta,
    .gallery-footer {
        flex-wrap: wrap;
        font-size: 0.82rem;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    /* Footer */
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px 24px;
        padding-top: 42px;
        padding-bottom: 34px;
    }

    .footer-column:first-child,
    .footer-col:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

/* -------------------------
   13. SMALL PHONES
------------------------- */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .container {
        width: calc(100% - 28px);
    }

    .header-inner,
    .navbar,
    .main-nav-container {
        width: calc(100% - 20px);
        gap: 7px;
        min-height: 66px;
    }

    .site-logo,
    .brand-logo,
    .navbar-logo,
    .header-logo,
    .site-brand img,
    .brand img,
    .navbar-brand img,
    .header-brand img {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .brand-name,
    .site-brand h1,
    .site-brand h2,
    .navbar-brand h1,
    .navbar-brand h2 {
        font-size: 0.86rem;
    }

    .brand-tagline {
        display: none;
    }

    .menu-toggle,
    .nav-toggle,
    .mobile-menu-toggle {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .header-action .btn,
    .nav-action .btn,
    .header-cta .btn,
    .header-action a,
    .nav-action a,
    .header-cta a {
        min-height: 36px;
        padding: 7px 10px;
        font-size: 0.77rem;
    }

    .about-hero,
    .club-about,
    .about-section {
        padding: 38px 0;
    }

    .about-content h1,
    .club-about-content h1,
    .about-text h1 {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    .about-content p,
    .club-about-content p,
    .about-text p {
        font-size: 0.96rem;
    }

    .btn {
        min-height: 43px;
        padding: 10px 15px;
        font-size: 0.88rem;
    }

    .gallery-slideshow img,
    .gallery-slider img,
    .photo-slideshow img,
    .gallery-slide img {
        height: 250px;
    }

    .gallery-caption h3 {
        font-size: 1rem;
    }

    .gallery-caption p {
        font-size: 0.82rem;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-top: 36px;
        padding-bottom: 30px;
    }

    .footer-column:first-child,
    .footer-col:first-child {
        grid-column: auto;
    }

    .footer-column h3,
    .footer-col h3,
    .footer-heading {
        margin-bottom: 12px;
    }

    .whatsapp-float,
    .whatsapp-button,
    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        width: 50px;
        height: 50px;
    }
}

/* -------------------------
   14. REDUCED MOTION
------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   ABOUT ONLINE WORK PAGE
   ========================================================= */

.online-work-page {
    overflow: hidden;
}

.ow-hero {
    padding: 76px 0;
    background:
        radial-gradient(circle at 90% 10%, rgba(8,119,67,.10), transparent 32%),
        var(--primary-pale);
}

.ow-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 54px;
}

.ow-hero-content h1 {
    margin-bottom: 22px;
    color: var(--primary-dark);
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -1.5px;
}

.ow-hero-content h1 span {
    display: block;
    color: var(--accent);
}

.ow-hero-content > p {
    max-width: 620px;
    font-size: 1.06rem;
    line-height: 1.9;
}

.ow-hero-note {
    margin-top: 22px;
    color: var(--primary);
    font-size: .92rem !important;
    font-weight: 700;
}

.ow-hero-visual {
    position: relative;
    min-width: 0;
}

.ow-hero-visual > img {
    width: 100%;
    height: 410px;
    object-fit: cover;
    border: 6px solid var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.ow-image-label {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: grid;
    gap: 4px;
    padding: 17px 20px;
    color: var(--white);
    background: rgba(5, 55, 31, .92);
    border-radius: var(--radius-md);
}

.ow-image-label strong {
    font-size: 1.05rem;
}

.ow-image-label span {
    color: #d8f0df;
    font-size: .88rem;
}

.ow-section {
    padding: 76px 0;
    background: var(--white);
}

.ow-section-soft {
    background: var(--surface);
}

.ow-section-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.ow-section-heading h2,
.ow-intro-grid h2,
.ow-safety-grid h2,
.ow-requirements-grid h2 {
    margin-bottom: 16px;
    color: var(--primary-dark);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.ow-section-heading p {
    color: var(--muted);
}

.ow-intro-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: start;
    gap: 60px;
}

.ow-intro-copy p {
    line-height: 1.9;
}

.ow-highlight {
    margin-top: 22px;
    padding: 19px 21px;
    color: var(--primary-dark);
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    line-height: 1.8;
}

.ow-opportunity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ow-card {
    padding: 27px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.ow-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.ow-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 14px;
    font-size: 1.6rem;
    font-weight: 700;
}

.ow-card h3 {
    margin-bottom: 12px;
    color: var(--primary-dark);
    font-size: 1.13rem;
}

.ow-card p {
    margin-bottom: 19px;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.8;
}

.ow-tag {
    display: inline-block;
    padding: 6px 10px;
    color: var(--primary-dark);
    background: var(--primary-light);
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 700;
}

.ow-disclaimer {
    margin-top: 26px;
    color: var(--muted);
    font-size: .88rem;
    text-align: center;
}

.ow-work-models {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.ow-model {
    padding: 25px 22px;
    background: var(--primary-pale);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.ow-model-number {
    display: inline-block;
    margin-bottom: 19px;
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 800;
}

.ow-model h3 {
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.ow-model p {
    color: var(--muted);
    font-size: .94rem;
    line-height: 1.8;
}

.ow-section-dark {
    color: #e5eee8;
    background: var(--footer);
}

.ow-skills-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: start;
    gap: 65px;
}

.ow-section-dark h2 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.ow-section-dark > .container > div > p {
    margin-bottom: 25px;
    color: #d1e2d7;
    line-height: 1.9;
}

.ow-section-dark .eyebrow {
    color: #9de5b5;
}

.btn-light {
    color: var(--primary-dark);
    background: var(--white);
    border-color: var(--white);
}

.btn-light:hover {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
}

.ow-skills-list {
    display: grid;
    gap: 22px;
}

.ow-skill {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.ow-skill-check {
    display: flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--footer);
    background: #9de5b5;
    border-radius: 50%;
    font-weight: 800;
}

.ow-skill h3 {
    margin-bottom: 5px;
    color: var(--white);
    font-size: 1.05rem;
}

.ow-skill p {
    margin: 0;
    color: #d1e2d7;
    font-size: .93rem;
}

.ow-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ow-step {
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.ow-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    margin-bottom: 18px;
    color: var(--white);
    background: var(--primary);
    border-radius: 12px;
    font-weight: 800;
}

.ow-step h3 {
    margin-bottom: 11px;
    color: var(--primary-dark);
}

.ow-step p {
    color: var(--muted);
    font-size: .94rem;
    line-height: 1.8;
}

.ow-requirements-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 60px;
}

.ow-requirements {
    display: grid;
    gap: 13px;
}

.ow-requirements > div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.ow-requirements > div span {
    color: var(--primary);
    font-weight: 800;
}

.ow-safety-grid {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: start;
    gap: 28px;
}

.ow-safety-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    color: var(--accent-dark);
    background: #fff0f1;
    border: 1px solid #f6c8cc;
    border-radius: 50%;
    font-size: 2.5rem;
    font-weight: 800;
}

.ow-safety-list {
    display: grid;
    gap: 12px;
    margin: 20px 0;
    padding-left: 20px;
    line-height: 1.8;
}

.ow-highlight-warning {
    color: #7f2029;
    background: #fff1f2;
    border-left-color: var(--accent);
}

.ow-cta {
    padding: 65px 0;
    color: var(--white);
    background: var(--primary);
}

.ow-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.ow-cta h2 {
    max-width: 680px;
    margin-bottom: 14px;
    color: var(--white);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.ow-cta p {
    max-width: 650px;
    margin: 0;
    color: #e0f3e6;
}

.ow-cta .eyebrow {
    color: #c2f0d0;
}

.ow-cta-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 12px;
}

.btn-cta-outline {
    color: var(--white);
    background: transparent;
    border-color: rgba(255,255,255,.7);
}

.btn-cta-outline:hover {
    color: var(--primary-dark);
    background: var(--white);
}

/* Tablet */
@media (max-width: 1000px) {
    .ow-hero-grid {
        gap: 32px;
    }

    .ow-opportunity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ow-work-models {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ow-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ow-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .ow-cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .ow-hero,
    .ow-section {
        padding: 48px 0;
    }

    .ow-hero-grid,
    .ow-intro-grid,
    .ow-skills-grid,
    .ow-requirements-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ow-hero-content h1 {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }

    .ow-hero-visual > img {
        height: 300px;
    }

    .ow-opportunity-grid,
    .ow-work-models,
    .ow-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ow-section-heading {
        margin-bottom: 28px;
        text-align: left;
    }

    .ow-safety-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ow-safety-symbol {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .ow-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .ow-cta-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .ow-card,
    .ow-model,
    .ow-step {
        padding: 21px;
    }

    .ow-hero-visual > img {
        height: 245px;
    }

    .ow-image-label {
        right: 10px;
        bottom: 10px;
        left: 10px;
        padding: 13px;
    }
}

/* =========================================
   TRAINING AND MENTORSHIP PAGE
========================================= */

.tm-container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.tm-page-intro {
  padding: 65px 0 45px;
  text-align: center;
  background: linear-gradient(135deg, #eaf7ef, #ffffff);
}

.tm-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #087743;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.tm-page-intro h1 {
  margin: 0 0 15px;
  color: #153526;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.tm-page-intro p {
  max-width: 720px;
  margin: 0 auto;
  color: #526158;
  font-size: 1.05rem;
  line-height: 1.8;
}

.tm-programmes {
  padding: 55px 0 70px;
}

.tm-programme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.tm-programme-card {
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e1ebe4;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(14, 63, 39, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tm-programme-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(14, 63, 39, 0.13);
}

/* Square photo frame: 1080 x 1080 ratio */
.tm-photo-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eaf7ef;
}

.tm-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tm-programme-content {
  padding: 28px;
}

.tm-card-label {
  color: #087743;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.tm-programme-content h2 {
  margin: 9px 0 12px;
  color: #153526;
  font-size: 1.8rem;
}

.tm-programme-content p {
  margin: 0 0 23px;
  color: #58645c;
  font-size: 0.98rem;
  line-height: 1.8;
}

.tm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  color: #ffffff;
  background: #087743;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}

.tm-button:hover {
  color: #ffffff;
  background: #055b34;
}

/* Blogs */
.tm-blogs {
  padding: 65px 0 80px;
  background: #f6faf7;
}

.tm-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}

.tm-section-heading h2 {
  margin: 0 0 10px;
  color: #153526;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.tm-section-heading p {
  margin: 0;
  color: #58645c;
  line-height: 1.7;
}

.tm-blog-home-link {
  flex-shrink: 0;
  color: #087743;
  font-weight: 700;
  text-decoration: none;
}

.tm-blog-home-link:hover {
  text-decoration: underline;
}

.tm-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.tm-blog-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e3ebe5;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(14, 63, 39, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tm-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(14, 63, 39, 0.11);
}

.tm-blog-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eaf7ef;
}

.tm-blog-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tm-blog-card:hover .tm-blog-image img {
  transform: scale(1.04);
}

.tm-blog-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.tm-blog-content h3 {
  margin: 0 0 18px;
  color: #153526;
  font-size: 1.05rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.tm-read-more {
  margin-top: auto;
  color: #087743;
  font-weight: 800;
  text-decoration: none;
}

.tm-read-more:hover {
  color: #055b34;
  text-decoration: underline;
}

.tm-blog-status {
  grid-column: 1 / -1;
  padding: 25px;
  color: #58645c;
  text-align: center;
  line-height: 1.7;
}

.tm-blog-status a {
  color: #087743;
  font-weight: 700;
}

/* Responsive layouts */
@media (max-width: 1000px) {
  .tm-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .tm-page-intro {
    padding: 45px 0 35px;
  }

  .tm-programmes {
    padding: 35px 0 45px;
  }

  .tm-programme-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tm-programme-content {
    padding: 22px;
  }

  .tm-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .tm-blogs {
    padding: 45px 0 55px;
  }
}

@media (max-width: 480px) {
  .tm-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tm-blog-content {
    padding: 18px;
  }
}

/* Footer social media icon buttons */
.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: #087743;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 19px;
  text-decoration: none;
  transition: background 0.25s ease,
              transform 0.25s ease;
}

.footer-socials a:hover {
  color: #ffffff;
  background: #e53946;
  transform: translateY(-3px);
}

.footer-socials a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* ==========================================================
   KYU AJIRA CLUB — CONTACT PAGE REDESIGN
   Add to the existing universal css/style.css
   No separate contact stylesheet required.
========================================================== */

/* Page-specific typography and colour accents */
.contact-page {
    --contact-green: #16a34a;
    --contact-green-dark: #087443;
    --contact-green-deep: #064e3b;
    --contact-lime: #c5f76a;
    --contact-ink: #10251b;
    --contact-muted: #64756b;
    --contact-line: #e3ece6;
    --contact-surface: #f5faf6;
    font-family: "DM Sans", sans-serif;
    color: var(--contact-ink);
}

.contact-page h1,
.contact-page h2,
.contact-page h3 {
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.035em;
}

.contact-page a {
    text-decoration: none;
}

.contact-page .container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

/* =========================
   HERO SECTION
========================= */

.contact-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 83% 25%,
            rgba(197, 247, 106, 0.17),
            transparent 28%
        ),
        linear-gradient(125deg, #064e3b 0%, #087443 56%, #16a34a 100%);
}

.contact-hero::before {
    position: absolute;
    z-index: -1;
    top: -180px;
    right: -110px;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
}

.contact-hero::after {
    position: absolute;
    z-index: -1;
    right: 12%;
    bottom: 80px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 35%;
    content: "";
    transform: rotate(25deg);
}

.contact-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 65px;
    min-height: 520px;
    padding-block: 75px 82px;
}

.contact-hero__content {
    max-width: 610px;
}

.contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.09);
    color: #e5ffce;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.contact-kicker__dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--contact-lime);
    box-shadow: 0 0 0 4px rgba(197, 247, 106, 0.15);
}

.contact-hero h1 {
    max-width: 650px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.8rem, 5.1vw, 4.8rem);
    font-weight: 700;
    line-height: 1.04;
}

.contact-hero h1 span {
    display: block;
    color: var(--contact-lime);
}

.contact-hero__content > p {
    max-width: 520px;
    margin: 25px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.85;
}

.contact-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 32px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 54px;
    padding: 0 22px;
    border: 1px solid var(--contact-lime);
    border-radius: 9px;
    background: var(--contact-lime);
    color: #123b23;
    font-weight: 800;
    transition:
        transform 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    background: #d5ff91;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.contact-hero__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
}

.contact-hero__link:hover {
    color: var(--contact-lime);
}

/* Hero visual card */

.contact-hero__visual {
    position: relative;
    display: grid;
    min-height: 345px;
    place-items: center;
}

.contact-visual__shape {
    position: absolute;
    border-radius: 28px;
}

.contact-visual__shape--one {
    top: 10px;
    right: 18px;
    width: 115px;
    height: 115px;
    background: var(--contact-lime);
    transform: rotate(14deg);
}

.contact-visual__shape--two {
    bottom: 9px;
    left: 12px;
    width: 90px;
    height: 90px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    transform: rotate(-15deg);
}

.contact-visual__card {
    position: relative;
    z-index: 1;
    width: min(100%, 390px);
    padding: 31px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 24px;
    background: #ffffff;
    color: var(--contact-ink);
    box-shadow: 0 25px 75px rgba(0, 35, 20, 0.24);
    transform: rotate(-2deg);
    transition: transform 200ms ease;
}

.contact-visual__card:hover {
    transform: rotate(0deg) translateY(-4px);
}

.contact-visual__icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border-radius: 16px;
    background: #dcfce7;
    color: var(--contact-green-dark);
    font-size: 1.5rem;
}

.contact-visual__eyebrow {
    display: block;
    margin-top: 25px;
    color: var(--contact-green-dark);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.contact-visual__card h2 {
    margin: 9px 0 10px;
    color: var(--contact-ink);
    font-size: 1.85rem;
    line-height: 1.15;
}

.contact-visual__card > p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 0.91rem;
    line-height: 1.75;
}

.contact-visual__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}

.contact-visual__tags span {
    padding: 7px 10px;
    border-radius: 6px;
    background: #f0fdf4;
    color: var(--contact-green-deep);
    font-size: 0.7rem;
    font-weight: 700;
}

.contact-visual__footer {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--contact-line);
}

.contact-visual__avatar {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    border-radius: 50%;
    background: var(--contact-green-deep);
    color: #ffffff;
}

.contact-visual__footer strong,
.contact-visual__footer small {
    display: block;
}

.contact-visual__footer strong {
    font-size: 0.84rem;
}

.contact-visual__footer small {
    margin-top: 4px;
    color: var(--contact-muted);
    font-size: 0.72rem;
}

.contact-visual__arrow {
    margin-left: auto;
    color: var(--contact-green);
}

.contact-visual__floating {
    position: absolute;
    z-index: 2;
    right: -4px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 11px;
    background: #ffffff;
    color: var(--contact-ink);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    font-size: 0.8rem;
    font-weight: 800;
}

.contact-visual__floating i {
    color: var(--contact-green);
    font-size: 1.1rem;
}

/* Hero bottom strip */

.contact-hero__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.17);
    background: rgba(0, 35, 20, 0.14);
}

.contact-hero__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    min-height: 68px;
}

.contact-hero__bottom-inner > span {
    color: #d4f8dd;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.contact-hero__bottom-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
}

.contact-hero__bottom-item i {
    color: var(--contact-lime);
}

/* =========================
   CONTACT MAIN SECTION
========================= */

.contact-main {
    padding-block: 90px;
    background: #ffffff;
}

.contact-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
    gap: 60px;
    margin-bottom: 46px;
}

.contact-section-label {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--contact-green-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.contact-section-heading h2 {
    max-width: 600px;
    margin: 0;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1.12;
}

.contact-section-heading h2 span {
    color: var(--contact-green);
}

.contact-section-heading > p {
    max-width: 470px;
    margin: 0 0 4px;
    color: var(--contact-muted);
    font-size: 0.98rem;
    line-height: 1.85;
}

/* Two-column contact layout */

.contact-page .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 32px;
}

/* Contact information */

.contact-page .contact-info {
    display: grid;
    gap: 14px;
}

.contact-info__heading {
    margin-bottom: 10px;
}

.contact-info__heading h3 {
    margin: 0 0 10px;
    font-size: 1.65rem;
    line-height: 1.2;
}

.contact-info__intro {
    max-width: 440px;
    margin: 0;
    color: var(--contact-muted);
    font-size: 0.94rem;
    line-height: 1.8;
}

.contact-page .contact-row {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    padding: 19px;
    border: 1px solid var(--contact-line);
    border-radius: 13px;
    background: #ffffff;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.contact-page .contact-row:hover {
    transform: translateY(-2px);
    border-color: #86efac;
    background: #f8fff9;
    box-shadow: 0 9px 24px rgba(6, 78, 59, 0.06);
}

.contact-page .contact-row__icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 12px;
    background: #dcfce7;
    color: var(--contact-green-dark);
    font-size: 1.15rem;
}

.contact-page .contact-row__icon--whatsapp {
    background: #d9fbe5;
    color: #128c48;
}

.contact-row__content {
    display: block;
    min-width: 0;
    flex: 1;
}

.contact-row__content small,
.contact-row__content strong,
.contact-row__content > span {
    display: block;
    overflow-wrap: anywhere;
}

.contact-row__content small {
    margin-bottom: 4px;
    color: var(--contact-muted);
    font-size: 0.75rem;
}

.contact-row__content strong {
    color: var(--contact-ink);
    font-size: 0.91rem;
    line-height: 1.5;
}

.contact-row__content > span {
    margin-top: 4px;
    color: var(--contact-muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

.contact-row__arrow {
    flex: 0 0 auto;
    color: #9aa99e;
    font-size: 0.8rem;
    transition: color 180ms ease, transform 180ms ease;
}

.contact-page .contact-row:hover .contact-row__arrow {
    color: var(--contact-green);
    transform: translate(2px, -2px);
}

.contact-social-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 19px 3px 6px;
}

.contact-social-strip > span {
    color: var(--contact-muted);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.contact-social-strip a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--contact-green-dark);
    font-size: 0.85rem;
    font-weight: 800;
}

.contact-social-strip a:hover {
    color: var(--contact-green);
}

.contact-info__note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 8px;
    padding: 18px;
    border: 1px solid #d9f4df;
    border-radius: 12px;
    background: #f1fbf3;
}

.contact-info__note > i {
    margin-top: 3px;
    color: var(--contact-green);
    font-size: 1.15rem;
}

.contact-info__note p {
    margin: 0;
    color: #476052;
    font-size: 0.84rem;
    line-height: 1.75;
}

.contact-info__note strong {
    display: block;
    margin-bottom: 3px;
    color: var(--contact-green-deep);
}

/* =========================
   MESSAGE FORM
========================= */

.contact-page .contact-panel {
    padding: 34px;
    border: 1px solid #e0ebe3;
    border-radius: 19px;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(6, 78, 59, 0.08);
}

.contact-panel__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--contact-line);
}

.contact-panel__top > div {
    min-width: 0;
}

.contact-panel__top .contact-section-label {
    margin-bottom: 9px;
}

.contact-panel__top h3 {
    margin: 0 0 10px;
    font-size: clamp(1.45rem, 2.5vw, 1.9rem);
    line-height: 1.2;
}

.contact-panel__top p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.contact-panel__icon {
    display: grid;
    width: 51px;
    height: 51px;
    flex: 0 0 51px;
    place-items: center;
    border-radius: 14px;
    background: var(--contact-green-deep);
    color: #ffffff;
    font-size: 1.2rem;
}

.contact-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.contact-page .form-group {
    min-width: 0;
    margin-bottom: 20px;
}

.contact-page .form-group label {
    display: block;
    margin-bottom: 9px;
    color: var(--contact-ink);
    font-size: 0.83rem;
    font-weight: 700;
}

.contact-page .form-group input,
.contact-page .form-group select,
.contact-page .form-group textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 51px;
    padding: 13px 14px;
    border: 1px solid #dce7df;
    border-radius: 9px;
    outline: none;
    background: #fbfdfb;
    color: var(--contact-ink);
    font: inherit;
    font-size: 0.88rem;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

.contact-page .form-group input::placeholder,
.contact-page .form-group textarea::placeholder {
    color: #94a39a;
}

.contact-page .form-group select {
    cursor: pointer;
}

.contact-page .form-group textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.7;
}

.contact-page .form-group input:focus,
.contact-page .form-group select:focus,
.contact-page .form-group textarea:focus {
    border-color: var(--contact-green);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
}

.contact-form__hint {
    display: block;
    margin-top: 8px;
    color: var(--contact-muted);
    font-size: 0.75rem;
    line-height: 1.6;
}

.contact-page .contact-submit {
    display: flex;
    width: 100%;
    min-height: 55px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border: 0;
    border-radius: 9px;
    background: var(--contact-green-dark);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 0.93rem;
    font-weight: 800;
    transition:
        background 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.contact-page .contact-submit:hover {
    transform: translateY(-2px);
    background: var(--contact-green-deep);
    box-shadow: 0 9px 22px rgba(6, 78, 59, 0.18);
}

.contact-page .contact-submit:focus-visible,
.contact-page .contact-btn:focus-visible,
.contact-page a:focus-visible {
    outline: 3px solid #a3e635;
    outline-offset: 4px;
}

.contact-page .contact-submit:active {
    transform: translateY(0);
}

.contact-form__privacy {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    margin: 15px 0 0;
    color: var(--contact-muted);
    font-size: 0.75rem;
    line-height: 1.6;
    text-align: center;
}

.contact-form__privacy i {
    margin-top: 3px;
    color: var(--contact-green-dark);
}

/* Form status messages */

.contact-page .form-message {
    margin: 0 0 15px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 0.85rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.contact-page .form-message:empty {
    display: none;
}

.contact-page .form-message--success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.contact-page .form-message--error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.contact-page .form-message--info {
    border-color: #d1fae5;
    background: #ecfdf5;
    color: #065f46;
}

/* =========================
   COMMUNITY CTA
========================= */

.contact-cta {
    padding-block: 60px;
    background: #f1f9f2;
}

.contact-cta__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 27px;
    padding: 34px;
    border: 1px solid #dceee0;
    border-radius: 19px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(6, 78, 59, 0.05);
}

.contact-cta__icon {
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    border-radius: 17px;
    background: var(--contact-green-deep);
    color: var(--contact-lime);
    font-size: 1.6rem;
}

.contact-cta__content > span {
    color: var(--contact-green-dark);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.contact-cta__content h2 {
    margin: 8px 0 9px;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.2;
}

.contact-cta__content p {
    max-width: 600px;
    margin: 0;
    color: var(--contact-muted);
    font-size: 0.88rem;
    line-height: 1.8;
}

.contact-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 9px;
    background: var(--contact-green-dark);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
    transition: background 180ms ease, transform 180ms ease;
}

.contact-cta__button:hover {
    transform: translateY(-2px);
    background: var(--contact-green-deep);
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 1050px) {
    .contact-hero__inner {
        gap: 35px;
    }

    .contact-hero h1 {
        font-size: clamp(2.65rem, 5.5vw, 4rem);
    }

    .contact-page .contact-grid {
        gap: 24px;
    }

    .contact-page .contact-panel {
        padding: 26px;
    }

    .contact-cta__inner {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .contact-cta__button {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 800px) {
    .contact-hero__inner {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-block: 65px 55px;
    }

    .contact-hero__content {
        max-width: 680px;
    }

    .contact-hero__visual {
        width: min(100%, 500px);
        min-height: 355px;
        margin-inline: auto;
    }

    .contact-hero__bottom-inner {
        gap: 18px 25px;
        padding-block: 19px;
    }

    .contact-section-heading {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 32px;
    }

    .contact-page .contact-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .contact-page .contact-info {
        max-width: 620px;
    }

    .contact-page .contact-panel {
        width: 100%;
    }

    .contact-main {
        padding-block: 65px;
    }
}

@media (max-width: 540px) {
    .contact-page .container {
        width: min(100% - 30px, 1160px);
    }

    .contact-hero__inner {
        padding-block: 48px 42px;
    }

    .contact-hero h1 {
        font-size: clamp(2.45rem, 11vw, 3.5rem);
    }

    .contact-hero__content > p {
        font-size: 0.96rem;
    }

    .contact-hero__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .contact-btn {
        width: 100%;
    }

    .contact-hero__visual {
        min-height: 335px;
    }

    .contact-visual__card {
        width: calc(100% - 24px);
        padding: 24px;
    }

    .contact-visual__shape--one {
        right: 0;
        width: 85px;
        height: 85px;
    }

    .contact-visual__shape--two {
        left: 0;
        width: 65px;
        height: 65px;
    }

    .contact-visual__floating {
        right: 0;
        bottom: 0;
        padding: 11px 12px;
        font-size: 0.74rem;
    }

    .contact-hero__bottom-inner {
        align-items: flex-start;
        gap: 14px 20px;
    }

    .contact-hero__bottom-inner > span {
        width: 100%;
    }

    .contact-hero__bottom-item {
        font-size: 0.74rem;
    }

    .contact-main {
        padding-block: 52px;
    }

    .contact-section-heading h2 {
        font-size: 2.15rem;
    }

    .contact-page .contact-row {
        gap: 11px;
        padding: 14px 12px;
    }

    .contact-page .contact-row__icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 1rem;
    }

    .contact-row__content strong {
        font-size: 0.81rem;
    }

    .contact-row__content > span {
        font-size: 0.71rem;
    }

    .contact-page .contact-panel {
        padding: 22px 17px;
        border-radius: 14px;
    }

    .contact-panel__top {
        gap: 12px;
        margin-bottom: 22px;
        padding-bottom: 20px;
    }

    .contact-panel__icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 1rem;
    }

    .contact-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-page .form-group {
        margin-bottom: 17px;
    }

    .contact-cta {
        padding-block: 35px;
    }

    .contact-cta__inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 20px;
    }

    .contact-cta__icon {
        width: 54px;
        height: 54px;
        font-size: 1.3rem;
    }

    .contact-cta__button {
        grid-column: auto;
        width: 100%;
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page *,
    .contact-page *::before,
    .contact-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Compact contact page heading */
.contact-page .contact-section-heading--compact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 35px;
    margin-bottom: 32px;
}

.contact-page .contact-section-heading--compact h1 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.contact-page .contact-section-heading--compact h1 span {
    color: var(--contact-green);
}

.contact-page .contact-section-heading--compact p {
    margin: 0;
}

@media (max-width: 800px) {
    .contact-page .contact-section-heading--compact {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ==========================================
   KYU AJIRA CLUB — JOIN US REGISTRATION
   Add to the existing universal style.css
========================================== */

.join-page {
    --join-green: #087443;
    --join-deep: #064e3b;
    --join-bright: #16a34a;
    --join-lime: #c5f76a;
    --join-ink: #10251b;
    --join-muted: #64756b;
    --join-border: #e0ebe3;
    background: #f5faf6;
    color: var(--join-ink);
    font-family: "DM Sans", sans-serif;
}

.join-page h1,
.join-page h2 {
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.035em;
}

.join-page .join-main {
    min-height: 60vh;
}

.join-page .join-section {
    padding: 65px 0 75px;
}

.join-page .join-container {
    max-width: 850px;
}

.join-heading {
    max-width: 680px;
    margin: 0 auto 32px;
    text-align: center;
}

.join-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    padding: 9px 13px;
    border: 1px solid #cdebd5;
    border-radius: 100px;
    background: #eaf9ee;
    color: var(--join-deep);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.join-heading h1 {
    margin: 0;
    color: var(--join-deep);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
}

.join-heading > p {
    max-width: 600px;
    margin: 16px auto 0;
    color: var(--join-muted);
    font-size: 0.98rem;
    line-height: 1.8;
}

.join-card {
    overflow: hidden;
    padding: 34px;
    border: 1px solid var(--join-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 55px rgba(6, 78, 59, 0.07);
}

.join-card__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--join-border);
}

.join-card__icon {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    place-items: center;
    border-radius: 14px;
    background: var(--join-deep);
    color: var(--join-lime);
    font-size: 1.3rem;
}

.join-card__header h2 {
    margin: 0 0 5px;
    font-size: 1.45rem;
}

.join-card__header p {
    margin: 0;
    color: var(--join-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.join-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
}

.join-page .form-group {
    min-width: 0;
    margin-bottom: 21px;
}

.join-page .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--join-ink);
    font-size: 0.84rem;
    font-weight: 700;
}

.join-page .form-group input,
.join-page .form-group select {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 12px 13px;
    border: 1px solid #d8e5dc;
    border-radius: 8px;
    outline: none;
    background: #fbfdfb;
    color: var(--join-ink);
    font: inherit;
    font-size: 0.88rem;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.join-page .form-group input::placeholder {
    color: #94a39a;
}

.join-page .form-group input:focus,
.join-page .form-group select:focus {
    border-color: var(--join-bright);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
}

.join-form-grid__full {
    grid-column: 1 / -1;
}

.join-field-hint {
    display: block;
    margin-top: 7px;
    color: var(--join-muted);
    font-size: 0.72rem;
    line-height: 1.55;
}

.join-privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 2px 0 22px;
    padding: 15px;
    border: 1px solid #dcefe0;
    border-radius: 9px;
    background: #f2fbf4;
}

.join-privacy-note > i {
    margin-top: 3px;
    color: var(--join-green);
}

.join-privacy-note p {
    margin: 0;
    color: #476052;
    font-size: 0.79rem;
    line-height: 1.75;
}

.join-submit {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border: 0;
    border-radius: 9px;
    background: var(--join-green);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    transition: background 180ms ease, transform 180ms ease;
}

.join-submit:hover {
    transform: translateY(-2px);
    background: var(--join-deep);
}

.join-submit:focus-visible,
.join-page a:focus-visible {
    outline: 3px solid #a3e635;
    outline-offset: 4px;
}

.join-help {
    margin: 23px 0 0;
    color: var(--join-muted);
    font-size: 0.87rem;
    text-align: center;
}

.join-help a {
    color: var(--join-green);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 600px) {
    .join-page .join-section {
        padding: 42px 0 50px;
    }

    .join-heading {
        margin-bottom: 25px;
    }

    .join-heading h1 {
        font-size: 2.25rem;
    }

    .join-card {
        padding: 23px 18px;
        border-radius: 13px;
    }

    .join-card__header {
        gap: 12px;
        margin-bottom: 23px;
        padding-bottom: 20px;
    }

    .join-card__icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        font-size: 1.1rem;
    }

    .join-card__header h2 {
        font-size: 1.2rem;
    }

    .join-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .join-form-grid__full {
        grid-column: auto;
    }
}
