
/* =========================================================
   COZRUM PARTNER / FRANCHISE PAGE
   Optimized for browser zoom 100%
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --fr-primary: #004d63;
    --fr-primary-dark: #003c4e;
    --fr-orange: #c45310;
    --fr-orange-light: #fff0e7;
    --fr-blue-light: #edf4ff;
    --fr-bg: #f5f7fc;
    --fr-text: #183f4f;
    --fr-muted: #74858e;
    --fr-border: #e0e7ed;
    --fr-shadow: 0 8px 25px rgba(25, 63, 80, .08);
}

.franchise-page {
    min-height: 100vh;
    overflow: clip;
    background: var(--fr-bg);
    color: var(--fr-text);
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

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

.franchise-page a {
    color: inherit;
}

.franchise-page button,
.franchise-page input,
.franchise-page select,
.franchise-page textarea {
    font: inherit;
}

.franchise-page button {
    cursor: pointer;
}

.franchise-container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.franchise-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
    color: #87949b;
    font-size: 12px;
}

.franchise-breadcrumb b {
    color: #bdc6cb;
}

.franchise-breadcrumb strong {
    color: #536b76;
    font-weight: 600;
}

/* =========================================================
   HERO
========================================================= */

.franchise-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr);
    align-items: center;
    gap: 52px;
    padding: 22px 0 64px;
}

.franchise-hero-content {
    min-width: 0;
}

.franchise-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    padding: 7px 13px;
    border-radius: 24px;
    background: var(--fr-orange-light);
    color: var(--fr-orange);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.6;
}

.franchise-hero h1 {
    margin: 20px 0 16px;
    color: var(--fr-primary);
    font-size: clamp(30px, 3vw, 38px);
    line-height: 1.3;
    letter-spacing: -.7px;
}

.franchise-hero-content > p {
    max-width: 590px;
    margin: 0;
    color: #71828b;
    font-size: 15px;
    line-height: 1.9;
}

.franchise-main-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 50px;
    margin-top: 26px;
    padding: 13px 22px;
    border: 1px solid var(--fr-primary);
    border-radius: 28px;
    background: var(--fr-primary);
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 77, 99, .13);
    transition: background .2s ease, transform .2s ease;
}

.franchise-main-button:hover {
    transform: translateY(-2px);
    background: var(--fr-primary-dark);
}

.franchise-main-button span {
    font-size: 19px;
    line-height: 1;
}

.franchise-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 32px;
}

.franchise-stat {
    min-width: 0;
    padding: 15px 13px;
    border: 1px solid rgba(224, 231, 237, .8);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(20, 60, 80, .035);
}

.franchise-stat strong {
    display: block;
    margin-bottom: 7px;
    color: var(--fr-primary);
    font-size: 23px;
    line-height: 1.3;
}

.franchise-stat span {
    display: block;
    color: #829199;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.7;
}

.franchise-hero-image {
    position: relative;
    height: 390px;
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #e5edf0;
    box-shadow: var(--fr-shadow);
}

.franchise-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
}

.franchise-hero-image:hover img {
    transform: scale(1.025);
}

.hero-image-dot {
    position: absolute;
    z-index: 1;
    top: 18px;
    right: 18px;
    width: 13px;
    height: 13px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--fr-orange);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

/* =========================================================
   SECTION HEADING
========================================================= */

.franchise-section-heading {
    max-width: 780px;
    margin: 0 auto 38px;
    text-align: center;
}

.franchise-section-heading > span,
.projects-heading > div > span {
    display: inline-block;
    color: var(--fr-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.6;
}

.franchise-section-heading h2 {
    margin: 12px 0;
    color: var(--fr-primary);
    font-size: 30px;
    line-height: 1.4;
    letter-spacing: -.4px;
}

.franchise-section-heading p {
    max-width: 700px;
    margin: 0 auto;
    color: #788a92;
    font-size: 14px;
    line-height: 1.85;
}

/* =========================================================
   BUSINESS MODELS
========================================================= */

.franchise-model-section {
    padding: 68px 0 72px;
    background: #edf4ff;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}

.model-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    border: 1px solid rgba(224, 231, 237, .8);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(30, 70, 90, .045);
    transition: transform .2s ease, box-shadow .2s ease;
}

.model-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(30, 70, 90, .09);
}

.model-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 14px;
    background: #eaf2ff;
    color: var(--fr-primary);
    font-size: 24px;
}

.model-icon.dark {
    background: var(--fr-primary);
    color: #fff;
}

.model-label {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--fr-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .4px;
    line-height: 1.6;
}

.model-card h3 {
    margin: 0 0 5px;
    color: var(--fr-primary);
    font-size: 19px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.model-card > small {
    display: block;
    margin-bottom: 17px;
    color: #8a989e;
    font-size: 12px;
    line-height: 1.7;
}

.model-card > p {
    margin: 0 0 20px;
    color: #73858e;
    font-size: 14px;
    line-height: 1.85;
}

.model-card ul {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.model-card li {
    position: relative;
    padding-left: 25px;
    color: #526d78;
    font-size: 13px;
    line-height: 1.8;
}

.model-card li::before {
    position: absolute;
    top: 2px;
    left: 0;
    display: grid;
    width: 17px;
    height: 17px;
    place-items: center;
    border-radius: 50%;
    background: #e5f5ee;
    color: #168465;
    content: "✓";
    font-size: 11px;
    font-weight: 800;
}

.featured-model {
    border: 2px solid var(--fr-primary);
    box-shadow: 0 10px 28px rgba(0, 77, 99, .10);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 20px;
    max-width: calc(100% - 40px);
    padding: 7px 12px;
    transform: translateY(-1px);
    border-radius: 0 0 10px 10px;
    background: var(--fr-orange);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.5;
}

/* Keep the featured model icon clear of the badge */

.featured-model .model-icon {
    /* margin-top: 20px; */
}

/* =========================================================
   PROJECTS
========================================================= */

.projects-section {
    padding: 72px 0 78px;
}

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

.projects-heading > div {
    min-width: 0;
    flex: 1 1 60%;
}

.projects-heading h2 {
    margin: 11px 0 0;
    color: var(--fr-primary);
    font-size: 29px;
    line-height: 1.4;
    letter-spacing: -.4px;
}

.projects-heading > p {
    max-width: 380px;
    margin: 0;
    color: #788a92;
    font-size: 14px;
    line-height: 1.85;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}

.project-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--fr-border);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(25, 63, 80, .045);
    transition: transform .2s ease, box-shadow .2s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(25, 63, 80, .09);
}

.project-image {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #e5edf0;
}

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

.project-card:hover .project-image img {
    transform: scale(1.04);
}

.project-image > span {
    position: absolute;
    bottom: 14px;
    left: 14px;
    max-width: calc(100% - 28px);
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    color: var(--fr-primary);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    backdrop-filter: blur(8px);
}

.project-content {
    display: flex;
    min-height: 300px;
    flex-direction: column;
    padding: 23px;
}

.project-content h3 {
    margin: 0 0 5px;
    color: var(--fr-primary);
    font-size: 21px;
    line-height: 1.4;
}

.project-content > p:not(.project-description) {
    margin: 0;
    color: #89969d;
    font-size: 13px;
    line-height: 1.8;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
    padding: 16px 0;
    border-top: 1px solid #edf0f3;
    border-bottom: 1px solid #edf0f3;
}

.project-stats > div {
    min-width: 0;
}

.project-stats span {
    display: block;
    margin-bottom: 5px;
    color: #84939a;
    font-size: 11px;
    line-height: 1.6;
}

.project-stats strong {
    display: block;
    color: var(--fr-orange);
    font-size: 22px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.project-description {
    margin: auto 0 0;
    color: #71828b;
    font-size: 13px;
    line-height: 1.85;
}

/* =========================================================
   CONSULTATION SECTION
========================================================= */

.survey-section {
    padding: 76px 0;
    background: #edf4ff;
}

.survey-wrapper {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: stretch;
    gap: 48px;
}

.survey-intro {
    min-width: 0;
    padding: 14px 0;
}

.survey-label {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 20px;
    background: var(--fr-orange-light);
    color: var(--fr-orange);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.6;
}

.survey-intro h2 {
    margin: 19px 0 15px;
    color: var(--fr-primary);
    font-size: 31px;
    line-height: 1.4;
    letter-spacing: -.5px;
}

.survey-intro > p {
    margin: 0;
    color: #73858e;
    font-size: 14px;
    line-height: 1.9;
}

.survey-benefits {
    display: flex;
    flex-direction: column;
    gap: 23px;
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.survey-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.survey-benefits li > span {
    display: grid;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    background: #d9f2e7;
    color: #168465;
    font-size: 14px;
    font-weight: 800;
}

.survey-benefits li > div {
    min-width: 0;
}

.survey-benefits strong {
    display: block;
    margin-bottom: 5px;
    color: var(--fr-primary);
    font-size: 15px;
    line-height: 1.6;
}

.survey-benefits small {
    display: block;
    color: #7b8c94;
    font-size: 13px;
    line-height: 1.8;
}

.survey-contact {
    padding: 22px;
    border: 1px solid rgba(224, 231, 237, .8);
    border-radius: 15px;
    background: #fff;
}

.survey-contact > span {
    display: block;
    margin-bottom: 11px;
    color: #87959b;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.7;
}

.survey-contact > strong {
    display: block;
    margin-bottom: 12px;
    color: var(--fr-primary);
    font-size: 27px;
    line-height: 1.4;
}

.survey-contact > strong small {
    color: #87959b;
    font-size: 12px;
    font-weight: 500;
}

.survey-contact > p {
    margin: 7px 0 0;
    color: #71828b;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

/* =========================================================
   SURVEY FORM
========================================================= */

.survey-form-card {
    min-width: 0;
    padding: 32px;
    border: 1px solid rgba(224, 231, 237, .8);
    border-radius: 19px;
    background: #fff;
    box-shadow: var(--fr-shadow);
}

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

.form-field {
    min-width: 0;
    margin-bottom: 19px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: #536b76;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #e0e7ec;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #385764;
    font-size: 14px;
    line-height: 1.6;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field textarea {
    min-height: 125px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #a0adb3;
    opacity: 1;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #70a8b0;
    box-shadow: 0 0 0 3px rgba(0, 120, 130, .08);
}

.survey-submit {
    display: flex;
    width: 100%;
    min-height: 50px;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border: 0;
    border-radius: 26px;
    background: var(--fr-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.survey-submit:hover {
    transform: translateY(-1px);
    background: var(--fr-primary-dark);
}

.survey-submit span {
    font-size: 19px;
    line-height: 1;
}

.survey-security {
    margin: 14px 0 0;
    color: #89969d;
    font-size: 11px;
    line-height: 1.8;
}

/* =========================================================
   SUCCESS MODAL
========================================================= */

.franchise-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .48);
}

.franchise-modal.open {
    display: flex;
}

.franchise-modal-box {
    position: relative;
    width: min(100%, 450px);
    padding: 36px;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .17);
    animation: franchise-modal-in .22s ease-out;
}

.franchise-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f3f5f7;
    color: #73828a;
    font-size: 23px;
}

.franchise-success-icon {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e7f8f3;
    color: #008a7e;
    font-size: 29px;
    font-weight: 800;
}

.franchise-modal-box h3 {
    margin: 0 0 12px;
    color: var(--fr-primary);
    font-size: 23px;
    line-height: 1.5;
}

.franchise-modal-box p {
    margin: 0 0 24px;
    color: #7b8b92;
    font-size: 14px;
    line-height: 1.85;
}

.franchise-modal-ok {
    min-height: 44px;
    padding: 11px 30px;
    border: 0;
    border-radius: 24px;
    background: var(--fr-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.franchise-modal-ok:hover {
    background: var(--fr-primary-dark);
}

@keyframes franchise-modal-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {
    .franchise-container {
        width: min(760px, calc(100% - 36px));
    }

    .franchise-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-bottom: 48px;
    }

    .franchise-hero-image {
        height: 340px;
        order: -1;
    }

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

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

    .projects-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .projects-heading > p {
        max-width: 650px;
    }

    .survey-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .survey-intro {
        padding: 0;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
    .franchise-container {
        width: calc(100% - 32px);
    }

    .franchise-breadcrumb {
        gap: 7px;
        padding: 16px 0;
        font-size: 11px;
    }

    .franchise-hero {
        gap: 22px;
        padding: 12px 0 40px;
    }

    .franchise-hero-image {
        height: 230px;
        border-radius: 15px;
    }

    .franchise-label {
        font-size: 10px;
    }

    .franchise-hero h1 {
        margin: 16px 0 12px;
        font-size: 28px;
        letter-spacing: -.4px;
    }

    .franchise-hero-content > p {
        font-size: 14px;
        line-height: 1.85;
    }

    .franchise-main-button {
        width: 100%;
        gap: 12px;
        margin-top: 22px;
        padding: 12px 16px;
        font-size: 13px;
    }

    .franchise-stats {
        gap: 8px;
        margin-top: 22px;
    }

    .franchise-stat {
        padding: 12px 9px;
        border-radius: 11px;
    }

    .franchise-stat strong {
        font-size: 19px;
    }

    .franchise-stat span {
        font-size: 9px;
        overflow-wrap: anywhere;
    }

    .franchise-model-section,
    .projects-section,
    .survey-section {
        padding: 42px 0;
    }

    .franchise-section-heading {
        margin-bottom: 26px;
    }

    .franchise-section-heading h2,
    .projects-heading h2 {
        font-size: 24px;
    }

    .franchise-section-heading p,
    .projects-heading > p {
        font-size: 13px;
    }

    .model-grid,
    .project-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .model-card {
        padding: 24px;
        border-radius: 15px;
    }

    .model-card h3 {
        font-size: 19px;
    }

    .model-card > p {
        font-size: 13px;
    }

    .model-card li {
        font-size: 13px;
    }

    .featured-model .model-icon {
        margin-top: 24px;
    }

    .projects-heading {
        margin-bottom: 25px;
    }

    .projects-heading h2 {
        line-height: 1.45;
    }

    .project-image {
        height: 225px;
    }

    .project-content {
        min-height: 0;
        padding: 22px;
    }

    .project-content h3 {
        font-size: 21px;
    }

    .project-stats {
        margin: 18px 0;
    }

    .project-description {
        margin-top: 0;
    }

    .survey-intro h2 {
        font-size: 26px;
        line-height: 1.45;
    }

    .survey-intro > p {
        font-size: 13px;
    }

    .survey-benefits {
        gap: 20px;
        margin: 24px 0;
    }

    .survey-benefits strong {
        font-size: 14px;
    }

    .survey-benefits small {
        font-size: 12px;
    }

    .survey-contact {
        padding: 18px;
    }

    .survey-contact > strong {
        font-size: 25px;
    }

    .survey-form-card {
        padding: 23px 18px;
        border-radius: 15px;
    }

    .survey-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-field {
        margin-bottom: 16px;
    }

    .form-field label {
        font-size: 12px;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        font-size: 14px;
    }

    .survey-security {
        font-size: 10px;
    }

    .franchise-modal-box {
        padding: 32px 22px;
    }

    .franchise-modal-box h3 {
        font-size: 21px;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .franchise-page *,
    .franchise-page *::before,
    .franchise-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
