/* =========================================================
   Ruthrathi Martial Arts Foundation
   Multi-page additions layered on top of style.css
   ========================================================= */

:root {
    --primary-dark: #8a0b29;
    --primary-soft: #fbeef1;
    --gold: #d4a53c;
    --gold-light: #f3d27a;
    --muted: #555555;
    --font-tamil: 'Noto Sans Tamil', var(--font-body);
}

.tamil {
    font-family: var(--font-tamil);
}

.section-sub {
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.split-layout > * {
    flex: 1;
}

.split-layout img {
    border-radius: 16px;
    width: 100%;
}

/* ---------- Navbar ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.1;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.logo small {
    display: block;
    font-size: 0.55rem;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.nav-links {
    align-items: center;
}

.nav-links a.nav-cta {
    background: var(--primary-color);
    color: #fff;
    padding: 9px 20px;
    border-radius: 50px;
}

.nav-links a.nav-cta:hover {
    background: var(--primary-dark);
    color: #fff;
}

@media (min-width: 901px) {
    .navbar {
        min-width: 0;
        width: max-content;
        max-width: calc(100% - 40px);
        padding: 8px 10px 8px 12px;
    }

    .nav-container {
        gap: 50px;
    }

    .nav-links {
        gap: 26px;
    }
}

@media (max-width: 900px) {
    .nav-links {
        gap: 26px;
    }
}

/* ---------- Home hero ---------- */
.hero-section .big-text {
    font-size: 12.4vw;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-section .hero-layers {
    gap: 110px;
}

.hero-tagline .tamil {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-section .hero-layers {
        gap: 60px;
    }

    .hero-section .big-text {
        font-size: 13vw;
    }

    .hero-img-container {
        width: 100vw;
        height: 64vh;
    }

    .hero-main-img {
        width: 100%;
    }

    .hero-tagline {
        left: 16px;
        right: 16px;
        background: rgba(244, 244, 244, 0.85);
        padding: 6px 14px;
        border-radius: 30px;
    }
}

/* ---------- Offer ribbon (scrolling banner) ---------- */
.offer-ribbon {
    background: var(--primary-dark);
    color: #fff;
    overflow: hidden;
    padding: 14px 0;
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
}

.offer-ribbon-track {
    display: flex;
    width: max-content;
    animation: scroll-left 40s linear infinite;
}

.offer-ribbon-track span {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-right: 32px;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.offer-ribbon-track span::after {
    content: '\2726';
    color: var(--gold-light);
}

.offer-ribbon-track strong {
    color: var(--gold-light);
}

/* ---------- Inner page hero ---------- */
.page-hero {
    position: relative;
    background-color: #f4f4f4;
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
}

.page-hero .top-label {
    margin-bottom: 16px;
}

.page-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(3rem, 11vw, 9rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.page-sub {
    max-width: 680px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 1.1rem;
}

.breadcrumb {
    margin-top: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
}

.breadcrumb a {
    color: var(--primary-color);
}

/* Founder hero variant (cut-out image beside the name) */
.founder-hero {
    text-align: left;
    padding: 140px 0 0;
}

.founder-hero .container {
    display: flex;
    align-items: flex-end;
    gap: 40px;
}

.founder-hero-text {
    flex: 1.2;
    padding-bottom: 80px;
}

.founder-hero-text .page-title {
    font-size: clamp(3rem, 8vw, 7rem);
}

.founder-hero-text .aka-title {
    margin-top: 18px;
}

.founder-hero-img {
    flex: 1;
}

.founder-hero-img img {
    max-height: 640px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

@media (max-width: 900px) {
    .founder-hero {
        text-align: center;
    }

    .founder-hero .container {
        flex-direction: column;
        align-items: center;
    }

    .founder-hero-text {
        padding-bottom: 0;
    }

    .founder-hero-img img {
        max-height: 420px;
    }
}

/* ---------- Buttons ---------- */
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.btn-outline {
    display: inline-block;
    padding: 10px 33px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-outline.light {
    border-color: #fff;
    color: #fff;
}

.btn-outline.light:hover {
    background: #fff;
    color: var(--primary-dark);
}

button.btn-modern {
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

/* ---------- Program cards (home) ---------- */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 30px;
    margin-top: 50px;
}

.program-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(177, 15, 54, 0.1);
}

.program-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.program-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 26px;
}

.program-body h3 {
    font-size: 1.3rem;
    color: #111;
    margin-bottom: 8px;
}

.program-tags {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.program-body p {
    color: var(--muted);
    font-size: 0.95rem;
    flex: 1;
}

.program-price {
    margin-top: 18px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: #111;
}

.program-price small {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: #777;
}

.program-link {
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.program-link:hover {
    letter-spacing: 2px;
}

/* ---------- Offers (Ruthrathi Warrior Offer) ---------- */
.offer-section {
    background: #0f0f0f;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.offer-section h2 {
    color: #fff;
}

.offer-section .section-label {
    color: var(--gold-light);
}

.offer-section .section-sub {
    color: rgba(255, 255, 255, 0.7);
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 24px;
    margin-top: 50px;
}

.offer-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 36px 26px;
    border-radius: 20px;
    background: linear-gradient(160deg, #b10f36 0%, #6d0820 100%);
    border: 1px solid rgba(243, 210, 122, 0.35);
    transition: transform 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-6px);
}

.offer-card::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    top: -70px;
    right: -70px;
    border-radius: 50%;
    border: 24px solid rgba(255, 255, 255, 0.06);
}

.offer-card.gold {
    background: linear-gradient(160deg, #f3d27a 0%, #c48f22 100%);
    color: #2b1505;
}

.offer-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 4rem;
    line-height: 1;
    color: var(--gold-light);
}

.offer-value small {
    font-size: 1.4rem;
}

.offer-card.gold .offer-value {
    color: var(--primary-dark);
}

.offer-card h3 {
    color: inherit;
    font-size: 1.05rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 14px 0 8px;
}

.offer-card p {
    font-size: 0.92rem;
    opacity: 0.85;
}

.offer-footnote {
    margin-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- Registration strip ---------- */
.reg-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
    padding: 26px 36px;
    border-radius: 20px;
    background: #fff8ea;
    border: 2px dashed var(--gold);
}

.reg-strip h3 {
    color: #111;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reg-strip p {
    color: var(--muted);
    font-size: 0.95rem;
}

.reg-fee {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1;
    color: var(--primary-color);
}

.reg-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---------- Pricing tables ---------- */
.price-block {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 44px;
    margin-top: 40px;
}

.price-block-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 30px;
}

.price-block-head h2 {
    margin-bottom: 10px;
}

.price-block-head p {
    color: var(--muted);
    max-width: 520px;
}

.discipline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.discipline-tags span {
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th,
.price-table td {
    padding: 16px 14px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.price-table thead th {
    background: var(--primary-color);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.price-table thead tr:first-child th {
    background: var(--primary-dark);
    font-size: 0.9rem;
}

.price-table thead tr:first-child th:first-child {
    border-radius: 14px 0 0 0;
}

.price-table thead tr:first-child th:last-child {
    border-radius: 0 14px 0 0;
}

.price-table thead small {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.8;
}

.price-table tbody th {
    text-align: left;
    font-family: var(--font-heading);
    color: #111;
    font-size: 1rem;
}

.price-table tbody th small {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    color: #888;
}

.price-table td {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: #111;
}

.price-table td.quarterly {
    background: #fdf6f7;
    color: var(--primary-color);
}

.price-table tbody tr:hover th,
.price-table tbody tr:hover td {
    background: #fbeef1;
}

.price-note {
    margin-top: 18px;
    font-size: 0.9rem;
    color: var(--muted);
}

.price-note strong {
    color: var(--primary-color);
}

@media (max-width: 760px) {
    .price-block {
        padding: 26px 18px;
    }

    .price-table thead {
        display: none;
    }

    .price-table,
    .price-table tbody,
    .price-table tr,
    .price-table th,
    .price-table td {
        display: block;
        width: 100%;
    }

    .price-table tr {
        border: 1px solid #eee;
        border-radius: 16px;
        overflow: hidden;
        margin-bottom: 16px;
    }

    .price-table tbody th {
        background: var(--primary-color);
        color: #fff;
        text-align: center;
    }

    .price-table tbody th small {
        color: rgba(255, 255, 255, 0.8);
    }

    .price-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        font-size: 1.1rem;
    }

    .price-table td::before {
        content: attr(data-label);
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 0.85rem;
        color: var(--muted);
        text-align: left;
    }
}

/* ---------- Special programs ---------- */
.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 30px;
    margin-top: 50px;
}

.special-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.special-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(177, 15, 54, 0.08);
}

.special-num {
    position: absolute;
    top: 18px;
    right: 26px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.4rem;
    color: rgba(177, 15, 54, 0.1);
}

.special-card h3 {
    color: #111;
    font-size: 1.35rem;
    padding-right: 60px;
    margin-bottom: 6px;
}

.special-meta {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.special-prices {
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid #eee;
}

.special-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.special-price-row span {
    color: var(--muted);
    font-size: 0.9rem;
}

.special-price-row strong {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #111;
    white-space: nowrap;
}

.check-list {
    margin-bottom: 10px;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
    color: #333;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Pranayama benefits ---------- */
.benefit-cols {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.benefit-col .check-list {
    columns: 2 170px;
    column-gap: 24px;
    margin-bottom: 0;
}

.benefit-col .check-list li {
    break-inside: avoid;
}

.benefit-col {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.benefit-col h3 {
    font-size: 1.1rem;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

/* ---------- Class timings ---------- */
.timings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 24px;
    margin-top: 40px;
}

.timing-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 20px;
    background: #fff;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.timing-card.ladies {
    background: var(--primary-soft);
}

.time-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.time {
    margin: 8px 0 4px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #111;
}

.timing-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* ---------- Highlights ---------- */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
    gap: 30px 24px;
    margin-top: 50px;
}

.highlight {
    text-align: center;
}

.highlight-icon {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.highlight-icon svg {
    width: 38px;
    height: 38px;
}

.highlight:hover .highlight-icon {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-4px);
}

.highlight h3 {
    font-size: 1rem;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlight p {
    margin-top: 6px;
    font-size: 0.88rem;
    color: #666;
}

/* ---------- Stats ---------- */
.stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    margin: 28px 0;
}

.stat strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--primary-color);
}

.stat span {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Motto band ---------- */
.motto-band {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 70px 0;
}

.motto-tamil {
    font-family: var(--font-tamil);
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    color: var(--gold-light);
}

.motto-band p {
    margin-top: 14px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.75;
}

.motto-band .motto-lines {
    margin-top: 26px;
    font-family: var(--font-tamil);
    font-size: 1.1rem;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.9;
}

/* ---------- Photo grid (founder page) ---------- */
.photo-grid {
    columns: 4 220px;
    column-gap: 12px;
    margin-top: 40px;
}

.photo-grid img {
    width: 100%;
    margin-bottom: 12px;
    border-radius: 10px;
    cursor: zoom-in;
    break-inside: avoid;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(15%);
}

.photo-grid img:hover {
    transform: scale(1.02);
    filter: none;
}

/* ---------- Brochure ---------- */
.brochure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 24px;
    max-width: 720px;
    margin: 40px auto 0;
}

.brochure-thumb {
    padding: 0;
    border: 0;
    background: none;
    border-radius: 16px;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.brochure-thumb:hover {
    transform: translateY(-6px);
}

.brochure-thumb img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top;
}

/* ---------- Contact page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-cards {
    display: grid;
    gap: 18px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.contact-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary-color);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-card h3 {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
    color: #111;
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--primary-color);
}

.enquiry-form {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.enquiry-form h2 {
    font-size: 2.2rem;
    color: #111;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.field label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #333;
}

.field input,
.field select,
.field textarea {
    font: inherit;
    padding: 13px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fafafa;
    color: #111;
    width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(177, 15, 54, 0.12);
    background: #fff;
}

.form-note {
    margin-top: 14px;
    font-size: 0.82rem;
    color: #777;
}

.map-wrap {
    margin-top: 60px;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .enquiry-form {
        padding: 26px;
    }
}

@media (max-width: 560px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .map-wrap {
        height: 320px;
    }
}

/* ---------- Footer ---------- */
.site-footer {
    background: #0d0d0d;
    color: rgba(255, 255, 255, 0.72);
    padding: 70px 0 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 40px;
}

.footer-brand img {
    width: 130px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.site-footer h4 {
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-links li {
    margin-bottom: 10px;
}

.site-footer a:hover {
    color: var(--gold-light);
}

.site-footer address {
    font-style: normal;
}

.footer-bottom {
    margin-top: 50px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Lightbox tweaks ---------- */
.lightbox {
    z-index: 3000;
}

.lightbox button {
    background: none;
    border: 0;
    font: inherit;
}

.lightbox-caption {
    color: #fff;
    margin-top: 14px;
    font-weight: 600;
}

/* ---------- Scroll reveal ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .reveal.in-view {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .gallery-track,
    .offer-ribbon-track {
        animation: none;
    }
}

/* Menu button is a <button> for accessibility */
button.mobile-menu-btn {
    background: none;
    border: 0;
    padding: 4px;
}

/* Extra bottom space for the CTA banner image to overlap into */
.overlap-above {
    padding-bottom: 180px;
}

@media (max-width: 900px) {
    .overlap-above {
        padding-bottom: 64px;
    }
}

/* Keep anchor targets clear of the fixed navbar */
html {
    scroll-padding-top: 100px;
}

/* Image fills the full height of the text column beside it */
.split-fill {
    align-items: stretch;
}

.split-fill .fill-img {
    position: relative;
    min-height: 380px;
    border-radius: 16px;
    overflow: hidden;
}

.split-fill .fill-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}

/* ---------- Button consistency ---------- */
.btn-modern,
.btn-outline,
.btn-primary-large,
.btn-clean-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}

.btn-row {
    align-items: center;
}

/* Outline button placed beside the large primary button matches its shape */
.btn-primary-large + .btn-outline {
    padding: 16px 38px;
    border-radius: 12px;
    font-size: 1.1rem;
    text-transform: none;
    letter-spacing: 0;
}

/* Brand-coloured label pill (was a blue tint) */
.cta-label {
    background-color: var(--primary-soft);
}

@media (max-width: 900px) {
    .contact-text-col .btn-row {
        justify-content: center;
    }
}

/* Timing card accent bar (flat, instead of a curved border) */
.timing-card {
    position: relative;
    overflow: hidden;
    border-top: 0;
}

.timing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

/* =========================================================
   Mobile optimisation
   ========================================================= */
.logo span {
    white-space: nowrap;
}

@media (max-width: 768px) {
    /* Hero: stack word / photo / word so both words stay readable */
    .hero-section {
        height: auto;
        min-height: 100svh;
        padding: 100px 0 40px;
    }

    .hero-section .hero-layers {
        gap: 0;
    }

    .hero-section .top-label {
        top: 0;
        margin-bottom: 12px;
        font-size: 0.75rem;
        letter-spacing: 3px;
    }

    .hero-section .hero-img-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: auto;
        height: 52svh;
        margin: -2svh 0 -3svh;
    }

    .hero-section .hero-main-img {
        width: auto;
        height: 100%;
        margin: 0 auto;
    }

    .hero-section .big-text {
        font-size: 13.5vw;
    }

    .hero-section .big-text.top {
        z-index: 3;
    }

    .hero-section .hero-tagline {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 28px;
        background: none;
        padding: 0 16px;
    }

    /* Navbar logo */
    .logo img {
        width: 34px;
        height: 34px;
    }

    .navbar .logo {
        font-size: 1rem;
    }

    .logo small {
        font-size: 0.5rem;
        letter-spacing: 1px;
    }

    /* Typography */
    .aka-title {
        font-size: 1.15rem;
    }

    .feature-content h2,
    .cta-heading-large {
        font-size: 2rem;
    }

    .page-hero {
        padding: 120px 0 56px;
    }

    .page-sub {
        font-size: 1rem;
    }

    /* Compact grids */
    .glass-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .glass-card {
        padding: 18px 12px;
    }

    .glass-card h3 {
        font-size: 0.95rem;
    }

    .glass-card p {
        font-size: 0.8rem;
    }

    .offer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .offer-card {
        padding: 24px 14px;
    }

    .offer-value {
        font-size: 2.6rem;
    }

    .offer-value small {
        font-size: 1rem;
    }

    .offer-card h3 {
        font-size: 0.8rem;
    }

    .offer-card p {
        font-size: 0.8rem;
    }

    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px 10px;
    }

    .highlight-icon {
        width: 64px;
        height: 64px;
    }

    .highlight-icon svg {
        width: 28px;
        height: 28px;
    }

    .highlight h3 {
        font-size: 0.75rem;
    }

    .highlight p {
        font-size: 0.75rem;
    }

    .stat-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .stat strong {
        font-size: 1.8rem;
    }

    .stat span {
        font-size: 0.68rem;
        letter-spacing: 0.5px;
    }

    .timings-grid {
        gap: 14px;
    }

    .timing-card {
        padding: 22px 18px;
    }

    .time {
        font-size: 1.3rem;
    }

    .info-grid {
        gap: 16px;
        margin-top: 30px;
    }

    .info-card {
        padding: 28px 22px;
    }

    .info-card h3 {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }

    .special-card {
        padding: 26px 22px;
    }

    .reg-strip {
        padding: 22px;
        text-align: center;
        justify-content: center;
    }

    .brochure-thumb img {
        height: 300px;
    }

    /* CTA banner */
    .cta-title {
        font-size: 3rem;
    }

    .cta-banner .cta-layout {
        padding-top: 20px;
    }

    .contact-cta-wrapper {
        padding: 20px;
        gap: 28px;
        border-radius: 22px;
    }

    .contact-image-col {
        height: 260px;
    }

    .section-padding {
        padding: 56px 0;
    }

    .program-grid,
    .special-grid {
        margin-top: 32px;
        gap: 20px;
    }
}

/* Comfortable tap targets */
button.mobile-menu-btn {
    padding: 12px 8px;
    margin: -8px -4px;
}

.program-link {
    display: inline-block;
    padding: 10px 0;
    margin-bottom: -10px;
}

.page-hero .top-label {
    top: 0;
}

/* ---------- Hero corner texts (kept clear of the photo) ---------- */
.hero-corner-left span {
    display: block;
    margin-top: 6px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: none;
    color: #777;
}

@media (min-width: 769px) {
    .hero-corner {
        position: absolute;
        bottom: 48px;
        top: auto;
        z-index: 10;
        max-width: 30vw;
        margin: 0;
    }

    .hero-corner-left {
        left: 5vw;
        right: auto;
        text-align: left;
        padding-left: 18px;
        border-left: 3px solid var(--primary-color);
        font-size: 0.85rem;
    }

    .hero-corner-right {
        right: 5vw;
        left: auto;
        text-align: right;
        padding-right: 18px;
        border-right: 3px solid var(--primary-color);
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .hero-corner-left {
        position: relative;
        margin-bottom: 12px;
    }

    .hero-corner-left span {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    .hero-corner {
        max-width: 25vw;
        bottom: 28px;
    }

    .hero-corner-right {
        font-size: 0.85rem;
    }
}

/* Short landscape screens: tighten the title so the corner texts stay clear */
@media (min-width: 769px) and (max-height: 650px) {
    .hero-section .hero-layers {
        gap: 70px;
    }

    .hero-corner {
        bottom: 16px;
    }
}

/* Contact page without a form: cards grid + direct actions */
.contact-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.contact-actions {
    margin-top: 40px;
    padding: 40px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-actions h2 {
    color: #111;
    font-size: 2.2rem;
}

.contact-actions p {
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
}

.contact-actions .btn-row {
    justify-content: center;
}

@media (max-width: 768px) {
    .contact-actions {
        padding: 28px 20px;
    }

    .contact-actions h2 {
        font-size: 1.7rem;
    }
}
