:root {
    --fr-blue: #123c69;
    --fr-blue-dark: #081f38;
    --fr-blue-light: #2f75b3;
    --fr-gold: #d9b33e;
    --fr-red: #bd2630;
    --fr-ink: #17324d;
    --fr-muted: #647587;
    --fr-paper: #f5f9fc;
}

.franchise-page {
    color: var(--fr-ink);
    background: #ffffff;
}

.franchise-page .header {
    border-top: 3px solid var(--fr-gold);
}

.franchise-page main {
    overflow: hidden;
}

.franchise-hero {
    position: relative;
    overflow: hidden;
    min-height: 760px;
    padding: 165px 0 90px;
    color: #ffffff;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(130deg, #071d34 0%, #123c69 56%, #1c5688 100%);
    background-size: 42px 42px, 42px 42px, auto;
}

.franchise-hero::after {
    content: '';
    position: absolute;
    right: -10%;
    bottom: -46%;
    width: 760px;
    height: 760px;
    border: 1px solid rgba(233, 202, 90, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.015), 0 0 0 115px rgba(255, 255, 255, 0.012);
}

.franchise-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.glow-one {
    top: 80px;
    left: -120px;
    width: 330px;
    height: 330px;
    background: rgba(208, 40, 50, 0.13);
}

.glow-two {
    top: 150px;
    right: 18%;
    width: 280px;
    height: 280px;
    background: rgba(87, 184, 246, 0.15);
}

.franchise-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
    align-items: center;
    gap: 80px;
}

.franchise-eyebrow,
.franchise-small-label {
    display: inline-block;
    margin-bottom: 17px;
    color: var(--fr-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.franchise-hero-copy h1 {
    max-width: 720px;
    margin-bottom: 23px;
    color: #ffffff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(48px, 5.7vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.franchise-hero-copy h1 em {
    color: #efce60;
    font-style: normal;
}

.franchise-hero-copy > p {
    max-width: 650px;
    margin-bottom: 31px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
    line-height: 1.75;
}

.franchise-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-bottom: 35px;
}

.franchise-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 54px;
    padding: 13px 23px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.franchise-btn:hover {
    transform: translateY(-3px);
}

.franchise-btn-gold {
    color: #17334e;
    background: linear-gradient(135deg, #f0d267, #d4ab31);
    box-shadow: 0 13px 28px rgba(208, 168, 46, 0.22);
}

.franchise-btn-ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.07);
}

.franchise-trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.franchise-trust-line span {
    padding: 7px 11px;
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.franchise-hero-visual {
    position: relative;
    min-height: 450px;
}

.franchise-centre-card {
    position: absolute;
    inset: 36px 18px 42px;
    padding: 29px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 28px;
    box-shadow: 0 35px 80px rgba(0, 11, 24, 0.35);
    transform: rotate(2deg);
}

.centre-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 23px;
    border-bottom: 1px solid #dce6ef;
}

.centre-card-top img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.centre-card-top strong,
.centre-card-top span {
    display: block;
}

.centre-card-top strong {
    color: var(--fr-blue);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 23px;
}

.centre-card-top span {
    margin-top: 3px;
    color: var(--fr-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.centre-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 26px 0;
}

.centre-stat {
    padding: 21px 8px;
    text-align: center;
    background: #edf4f9;
    border-radius: 13px;
}

.centre-stat strong,
.centre-stat span {
    display: block;
}

.centre-stat strong {
    color: var(--fr-blue);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 25px;
}

.centre-stat span {
    margin-top: 4px;
    color: var(--fr-muted);
    font-size: 10px;
}

.centre-service-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 22px 14px;
    background: linear-gradient(135deg, #123c69, #1d5c91);
    border-radius: 15px;
}

.centre-service-row span {
    padding: 7px 10px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.hero-floating-note {
    position: absolute;
    z-index: 2;
    padding: 13px 16px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(0, 14, 29, 0.28);
    animation: franchiseNoteFloat 4s ease-in-out infinite;
}

.hero-floating-note strong,
.hero-floating-note span {
    display: block;
}

.hero-floating-note strong {
    color: var(--fr-blue);
    font-size: 12px;
}

.hero-floating-note span {
    margin-top: 3px;
    color: var(--fr-muted);
    font-size: 9px;
}

.note-support { top: 6px; right: -12px; }
.note-local { left: -22px; bottom: 8px; animation-delay: 1s; }

@keyframes franchiseNoteFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

.franchise-section {
    padding: 100px 0;
}

.franchise-section-head {
    max-width: 750px;
    margin: 0 auto 48px;
    text-align: center;
}

.franchise-section-head > span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--fr-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.franchise-section-head h2,
.franchise-fit-copy h2,
.franchise-enquiry-copy h2 {
    margin-bottom: 15px;
    color: var(--fr-blue-dark);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.12;
}

.franchise-section-head p,
.franchise-fit-copy > p,
.franchise-enquiry-copy > p {
    color: var(--fr-muted);
    font-size: 16px;
    line-height: 1.75;
}

.franchise-why {
    background: #ffffff;
}

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

.franchise-info-card {
    position: relative;
    overflow: hidden;
    min-height: 235px;
    padding: 30px;
    background: linear-gradient(145deg, #ffffff, #f4f8fb);
    border: 1px solid #e0e9f0;
    border-radius: 19px;
    box-shadow: 0 12px 34px rgba(17, 59, 95, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.franchise-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(17, 59, 95, 0.12);
}

.franchise-info-card b {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 25px;
    color: #ffffff;
    background: var(--fr-blue);
    border-radius: 11px;
    font-size: 11px;
}

.franchise-info-card h3,
.franchise-service-grid h3 {
    margin-bottom: 10px;
    color: var(--fr-blue-dark);
    font-size: 18px;
    line-height: 1.35;
}

.franchise-info-card p,
.franchise-service-grid p {
    color: var(--fr-muted);
    font-size: 13px;
    line-height: 1.65;
}

.franchise-services {
    color: #ffffff;
    background:
        radial-gradient(circle at 10% 0, rgba(191, 40, 50, 0.16), transparent 25%),
        linear-gradient(135deg, #071d34, #123d69);
}

.franchise-section-head.light h2 {
    color: #ffffff;
}

.franchise-section-head.light > span {
    color: #efd05e;
}

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

.franchise-service-grid article {
    min-height: 230px;
    padding: 29px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    backdrop-filter: blur(8px);
}

.franchise-service-grid i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    background: rgba(239, 208, 94, 0.14);
    border: 1px solid rgba(239, 208, 94, 0.28);
    border-radius: 13px;
    font-style: normal;
    font-size: 23px;
}

.franchise-service-grid h3 {
    color: #ffffff;
}

.franchise-service-grid p {
    color: rgba(255, 255, 255, 0.66);
}

.franchise-fit {
    background: var(--fr-paper);
}

.franchise-fit-grid,
.franchise-enquiry-grid,
.franchise-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
    align-items: center;
    gap: 78px;
}

.franchise-fit-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin-top: 30px;
}

.franchise-fit-list span {
    position: relative;
    padding: 13px 14px 13px 39px;
    color: var(--fr-blue);
    background: #ffffff;
    border: 1px solid #dfe9f1;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
}

.franchise-fit-list span::before {
    content: '\2713';
    position: absolute;
    left: 14px;
    color: #2f9548;
    font-weight: 900;
}

.franchise-model-card {
    position: relative;
    overflow: hidden;
    padding: 45px;
    color: #ffffff;
    background: linear-gradient(145deg, #123c69, #091f37);
    border-radius: 24px;
    box-shadow: 0 25px 55px rgba(13, 39, 68, 0.2);
}

.franchise-model-card::after {
    content: '';
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 190px;
    height: 190px;
    border: 35px solid rgba(217, 179, 62, 0.09);
    border-radius: 50%;
}

.franchise-model-card > span {
    color: #efd05e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.franchise-model-card h3 {
    margin: 14px 0;
    color: #ffffff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 34px;
    line-height: 1.15;
}

.franchise-model-card > p {
    color: rgba(255, 255, 255, 0.69);
    font-size: 14px;
    line-height: 1.7;
}

.model-note {
    margin: 24px 0;
    padding: 15px;
    color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.07);
    border-left: 3px solid var(--fr-gold);
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.6;
}

.franchise-model-card a {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #efd05e;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.franchise-process {
    background: #ffffff;
}

.franchise-process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.franchise-process-grid::before {
    content: '';
    position: absolute;
    top: 32px;
    right: 10%;
    left: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cfaa39, transparent);
}

.franchise-process-grid article {
    position: relative;
    z-index: 1;
    padding: 0 20px 25px;
    text-align: center;
}

.franchise-process-grid b {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: #ffffff;
    background: var(--fr-blue);
    border: 7px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #d8e2ea, 0 10px 23px rgba(16, 57, 92, 0.15);
    font-size: 12px;
}

.franchise-process-grid h3 {
    margin-bottom: 10px;
    color: var(--fr-blue-dark);
    font-size: 17px;
}

.franchise-process-grid p {
    color: var(--fr-muted);
    font-size: 12px;
    line-height: 1.65;
}

.franchise-faq {
    background: var(--fr-paper);
}

.franchise-section-head.align-left {
    margin: 0;
    text-align: left;
}

.franchise-faq-grid {
    align-items: start;
}

.franchise-accordions {
    display: grid;
    gap: 12px;
}

.franchise-accordions details {
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid #dfe8ef;
    border-radius: 13px;
    box-shadow: 0 7px 20px rgba(18, 60, 105, 0.04);
}

.franchise-accordions summary {
    color: var(--fr-blue-dark);
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
}

.franchise-accordions details p {
    padding-top: 13px;
    color: var(--fr-muted);
    font-size: 13px;
    line-height: 1.65;
}

.franchise-enquiry {
    background: #ffffff;
}

.franchise-enquiry-grid {
    align-items: start;
}

.franchise-enquiry-copy {
    position: sticky;
    top: 120px;
}

.enquiry-contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding: 18px 20px;
    background: var(--fr-paper);
    border: 1px solid #dfe9f1;
    border-radius: 13px;
}

.enquiry-contact-card span {
    color: var(--fr-muted);
    font-size: 12px;
    font-weight: 700;
}

.enquiry-contact-card a {
    color: #1b8f48;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.franchise-form {
    padding: 34px;
    background: #f8fbfd;
    border: 1px solid #dce7ef;
    border-radius: 22px;
    box-shadow: 0 22px 50px rgba(17, 58, 94, 0.1);
}

.franchise-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.franchise-form label {
    display: grid;
    gap: 7px;
    color: var(--fr-blue-dark);
    font-size: 12px;
    font-weight: 700;
}

.franchise-form label small {
    color: var(--fr-muted);
    font-weight: 500;
}

.franchise-form input,
.franchise-form select {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    color: var(--fr-ink);
    background: #ffffff;
    border: 1px solid #ccd9e3;
    border-radius: 9px;
    outline: none;
    font: inherit;
    font-weight: 500;
}

.franchise-form input:focus,
.franchise-form select:focus {
    border-color: var(--fr-blue-light);
    box-shadow: 0 0 0 3px rgba(47, 117, 179, 0.12);
}

.franchise-consent {
    display: flex !important;
    grid-template-columns: none;
    align-items: flex-start;
    gap: 10px !important;
    margin: 20px 0;
    color: var(--fr-muted) !important;
    line-height: 1.5;
}

.franchise-consent input {
    width: 16px;
    min-height: 16px;
    margin-top: 2px;
}

.franchise-form button {
    width: 100%;
    min-height: 54px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--fr-blue), #205f96);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.franchise-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(18, 60, 105, 0.22);
}

.franchise-form-status {
    min-height: 20px;
    margin-top: 12px;
    color: #287844;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.franchise-final-cta {
    padding: 95px 0;
    color: #ffffff;
    text-align: center;
    background:
        radial-gradient(circle at 50% 120%, rgba(53, 134, 194, 0.4), transparent 40%),
        linear-gradient(135deg, #071d34, #123c69);
}

.franchise-final-cta span {
    color: #efd05e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.franchise-final-cta h2 {
    max-width: 800px;
    margin: 15px auto 27px;
    color: #ffffff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(37px, 5vw, 58px);
    line-height: 1.1;
}

.franchise-final-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    color: #17334e;
    background: linear-gradient(135deg, #f1d36a, #d6ac32);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.franchise-footer-content {
    grid-template-columns: 1.5fr 0.75fr 0.85fr;
}

.franchise-page .footer-contact a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

@media (max-width: 1024px) {
    .franchise-hero-grid {
        grid-template-columns: 1fr 0.85fr;
        gap: 35px;
    }

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

    .franchise-fit-grid,
    .franchise-enquiry-grid,
    .franchise-faq-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .franchise-page .nav-list {
        gap: 14px;
    }

    .franchise-hero {
        min-height: 0;
        padding: 130px 0 70px;
    }

    .franchise-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .franchise-hero-copy h1 {
        font-size: 45px;
    }

    .franchise-hero-copy > p {
        font-size: 16px;
    }

    .franchise-hero-actions,
    .franchise-trust-line {
        justify-content: center;
    }

    .franchise-hero-visual {
        width: min(100%, 470px);
        min-height: 400px;
        margin: 0 auto;
    }

    .note-support { right: 0; }
    .note-local { left: 0; }

    .franchise-section {
        padding: 72px 0;
    }

    .franchise-benefit-grid,
    .franchise-service-grid,
    .franchise-fit-grid,
    .franchise-enquiry-grid,
    .franchise-faq-grid {
        grid-template-columns: 1fr;
    }

    .franchise-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 30px;
    }

    .franchise-process-grid::before {
        display: none;
    }

    .franchise-section-head.align-left,
    .franchise-fit-copy,
    .franchise-enquiry-copy {
        text-align: center;
    }

    .franchise-enquiry-copy {
        position: static;
    }

    .franchise-footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .franchise-hero-copy h1 {
        font-size: 39px;
    }

    .franchise-btn {
        width: 100%;
    }

    .franchise-hero-visual {
        min-height: 340px;
    }

    .franchise-centre-card {
        inset: 25px 0 35px;
        padding: 21px;
        transform: none;
    }

    .centre-card-top strong {
        font-size: 19px;
    }

    .centre-dashboard {
        gap: 6px;
    }

    .centre-stat {
        padding: 15px 3px;
    }

    .centre-stat strong {
        font-size: 21px;
    }

    .hero-floating-note {
        display: none;
    }

    .franchise-section-head h2,
    .franchise-fit-copy h2,
    .franchise-enquiry-copy h2 {
        font-size: 35px;
    }

    .franchise-benefit-grid,
    .franchise-service-grid,
    .franchise-fit-list,
    .franchise-process-grid,
    .franchise-form-grid {
        grid-template-columns: 1fr;
    }

    .franchise-info-card,
    .franchise-service-grid article {
        min-height: 0;
    }

    .franchise-model-card,
    .franchise-form {
        padding: 28px 22px;
    }

    .enquiry-contact-card {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-floating-note {
        animation: none;
    }
}
