/* ============================================
   Campa Braverage — Global Styles
   Brand Colors: Purple, Red/Crimson, Gold
   ============================================ */

:root {
    --primary: #7B2D8E;
    --primary-dark: #5C1F6A;
    --primary-light: #9B4DB5;
    --secondary: #E52535;
    --secondary-dark: #C41D2D;
    --accent: #F4A623;
    --accent-light: #FFD166;
    --dark: #1A0A2E;
    --dark-alt: #120720;
    --light: #f5f0f8;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --text: #333333;
    --text-light: #333333;

    --font-main: 'Poppins', sans-serif;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(123, 45, 142, 0.08);
    --shadow-lg: 0 10px 40px rgba(123, 45, 142, 0.15);
    --transition: 0.3s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(26, 10, 46, 0.06);
    transition: var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 30px rgba(26, 10, 46, 0.12); }

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.logo img { height: 55px; width: auto; }

.nav-menu {
    display: flex;
    gap: 35px;
}
.nav-menu .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
    position: relative;
    padding: 5px 0;
}
.nav-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
    border-radius: 2px;
}
.nav-menu .nav-link:hover::after,
.nav-menu .nav-link.active::after { width: 100%; }
.nav-menu .nav-link:hover,
.nav-menu .nav-link.active { color: var(--primary); }

/* CTA Button */
.btn-cta {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: var(--font-main);
}
.btn-cta:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(123, 45, 142, 0.35);
    color: var(--white);
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; z-index: 1002; }
.hamburger span { width: 25px; height: 2.5px; background: var(--dark); transition: var(--transition); border-radius: 2px; }
.hamburger.active { display: none; }

/* Mobile nav extras — hidden on desktop */
.mobile-nav-header,
.mobile-nav-cta,
.mobile-nav-footer,
.mobile-nav-icon { display: none; }
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 10, 46, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-nav-overlay.active { display: block; opacity: 1; }

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider { position: relative; margin-top: 75px; }
.hero-slide-img { width: 100%; height: auto; display: block; }
.hero-slide-placeholder { width: 100%; aspect-ratio: 16/6; background: linear-gradient(135deg, var(--dark), var(--primary)); }
.hero-slider .swiper-pagination-bullet { background: var(--primary); opacity: 0.4; width: 10px; height: 10px; }
.hero-slider .swiper-pagination-bullet-active { opacity: 1; background: var(--accent); }
.hero-nav {
    color: var(--white);
    background: rgba(0,0,0,0.3);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}
.hero-nav::after { font-size: 1.2rem; }
.hero-nav:hover { background: var(--primary); }

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
    padding: 160px 0 80px;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    color: var(--white);
}
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 10, 46, 0.88), rgba(123, 45, 142, 0.5));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 10px; }
.page-hero p { font-size: 1.15rem; opacity: 0.9; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: var(--space-xl) 0; }
.section-light { background: var(--light); }
.section-title { font-size: 2.2rem; font-weight: 700; text-align: center; margin-bottom: 15px; color: var(--dark); }
.section-subtitle { text-align: center; color: var(--text); font-size: 1.05rem; max-width: 600px; margin: 0 auto var(--space-lg); }

/* About Snippet */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: center; }

/* Two images with overlap + badge */
.about-images {
    position: relative;
    padding: 20px 30px 20px 0;
}
.about-img-main {
    width: 75%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}
.about-img-main img { width: 100%; height: auto; display: block; }
.about-img-secondary {
    width: 55%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 5px solid var(--white);
}
.about-img-secondary img { width: 100%; height: auto; display: block; }

.about-badge {
    position: absolute;
    top: 0;
    right: 40px;
    z-index: 3;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 18px 22px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 8px 25px rgba(123, 45, 142, 0.4);
}
.badge-number {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    display: block;
}

/* About text */
.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 45px;
}
.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 2px;
    background: var(--primary);
}
.about-text h2 { font-size: 2.2rem; font-weight: 700; color: var(--dark); margin-bottom: 18px; line-height: 1.3; }
.about-text p { color: var(--text); line-height: 1.8; margin-bottom: 25px; }

.about-highlights { margin-bottom: 30px; }
.about-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
}
.about-highlight-item i {
    font-size: 1.2rem;
    color: var(--primary);
}

/* ============================================
   PRODUCT CAROUSEL (Multi-card, center active)
   ============================================ */
/* ============================================
   PRODUCT CAROUSEL (3 slides, center active)
   ============================================ */
.product-showcase {
    padding: var(--space-lg) 0;
    background: var(--dark);
}
.product-showcase .section-title { color: var(--white); }
.product-showcase .section-subtitle { color: rgba(255,255,255,0.6); }
.product-showcase .swiper { padding-bottom: 50px; }

.product-card {
    opacity: 1;
}
.product-card-inner {
    border-radius: 14px;
    padding: 12px;
    text-align: center;
}
.product-card-img {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 10px;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-card-info {
    color: var(--white);
    padding-top: 10px;
}
.product-card-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 3px;
}
.product-card-info p {
    font-size: 0.85rem;
    opacity: 0.65;
}
.product-showcase .swiper-pagination { bottom: 0 !important; }
.product-showcase .swiper-pagination-bullet {
    background: rgba(255,255,255,0.3);
    opacity: 1;
    width: 10px;
    height: 10px;
}
.product-showcase .swiper-pagination-bullet-active {
    background: var(--accent);
    width: 28px;
    border-radius: 5px;
}

/* Why Franchise Cards */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-bottom-color: var(--primary); }
.feature-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}
.feature-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; color: var(--dark); }
.feature-card p { color: var(--text); font-size: 0.95rem; }

/* Stats */
.stats-section {
    background: linear-gradient(135deg, var(--dark), var(--primary-dark));
    color: var(--white);
    padding: var(--space-lg) 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item h3 { font-size: 2.8rem; font-weight: 800; color: var(--accent); margin-bottom: 5px; }
.stat-item p { font-size: 1rem; opacity: 0.8; }

/* CTA Banner */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-align: center;
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -100px;
    right: -100px;
}
.cta-section h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 15px; }
.cta-section p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 30px; opacity: 0.9; }
.cta-section .btn-cta { background: var(--white); color: var(--primary); }
.cta-section .btn-cta:hover { background: var(--accent); color: var(--dark); box-shadow: 0 8px 25px rgba(244, 166, 35, 0.4); }

/* ============================================
   FRANCHISE APPLY SECTION (Home Page)
   ============================================ */
.franchise-apply-section { background: var(--light); }
.franchise-apply-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}
.franchise-apply-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.3;
}
.franchise-apply-info > p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 30px;
}
.franchise-apply-perks { display: flex; flex-direction: column; gap: 22px; }
.perk-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.perk-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.perk-item h4 { font-size: 1rem; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.perk-item p { font-size: 0.85rem; color: var(--text); margin: 0; }

.apply-form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--primary);
}
.apply-form-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}
.apply-form-card > p {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 25px;
}

/* ============================================
   FRANCHISE PAGE
   ============================================ */

/* Page hero enhancements */
.page-hero .section-tag, .hero-tag { color: var(--white); }
.page-hero .section-tag::before, .hero-tag::before { background: var(--white); }

/* Why Partner — Icon Card Grid */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.partner-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}
.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary);
}
.partner-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}
.partner-card:hover .partner-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}
.partner-card p { font-size: 0.9rem; color: var(--text); line-height: 1.5; }

/* Franchise Models — Enhanced Cards */
.franchise-models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.model-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 30px;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.model-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.model-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.model-card .model-investment { font-size: 1.1rem; font-weight: 600; color: var(--primary); margin-bottom: 10px; }
.model-card p { color: var(--text); margin-bottom: 8px; font-size: 0.95rem; }

/* Process Steps — Timeline with layout */
.process-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-lg);
    align-items: start;
}
.process-header .section-title { margin-bottom: 15px; }

.process-steps { position: relative; }
.process-step {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    position: relative;
}
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 25px;
    top: 65px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-light), var(--gray-light));
}
.step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(123, 45, 142, 0.3);
}
.step-text h4 { font-size: 0.85rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.step-text p { color: var(--text); font-size: 1rem; }

/* Form Layout — Side by Side */
.form-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-lg);
    align-items: start;
}
.form-info h2 { font-size: 2rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.form-info > p { color: var(--text); margin-bottom: 30px; line-height: 1.7; }
.form-info-items { display: flex; flex-direction: column; gap: 18px; }
.form-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--text);
}
.form-info-item i {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
}

/* ============================================
   FORMS (with validation styles)
   ============================================ */
.form-section { max-width: 700px; margin: 0 auto; }
.form-group { margin-bottom: 22px; position: relative; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; color: var(--dark); font-size: 0.95rem; }
.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
    background: var(--white);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(123, 45, 142, 0.1); }
.form-control.error { border-color: var(--secondary); background: #fff5f5; }
.form-control.error:focus { box-shadow: 0 0 0 3px rgba(229, 37, 53, 0.1); }
.form-control.valid { border-color: #28a745; }
.error-message {
    display: none;
    color: var(--secondary);
    font-size: 0.82rem;
    margin-top: 5px;
    font-weight: 500;
    padding-left: 2px;
}
.error-message.show { display: block; animation: fadeInDown 0.25s ease; }
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Form submit feedback */
.form-success {
    padding: 20px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    text-align: center;
    font-weight: 500;
    margin-bottom: 20px;
    animation: fadeInDown 0.4s ease;
}
.form-error-global {
    padding: 15px 20px;
    border-radius: var(--radius);
    background: #f8d7da;
    color: #721c24;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

/* Flash Messages */
.flash-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}
.flash-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.flash-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.mv-header { margin-bottom: 30px; }
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.mv-card {
    padding: 35px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}
.mv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.mv-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}
.mv-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.mv-card p { color: var(--text); line-height: 1.8; }

/* Why Grid (About page) */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 30px; }
.why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    position: relative;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-bottom-color: var(--primary); }
.why-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 12px;
}
.why-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.why-card p { font-size: 0.9rem; color: var(--text); line-height: 1.6; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}
.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}
.contact-card:hover { transform: translateY(-5px); }
.contact-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}
.contact-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.contact-card p { font-size: 0.9rem; color: var(--text); line-height: 1.6; }

/* Contact Main Grid */
.contact-main-grid {
    max-width: 800px;
    margin: 0 auto;
}
.contact-form-wrap h2 { font-size: 2rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }

.contact-side { display: flex; flex-direction: column; gap: 25px; }
.contact-side-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}
.contact-side-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.9rem;
    color: var(--text);
}
.hours-list li:last-child { border-bottom: none; }
.hours-list li span:first-child { font-weight: 500; color: var(--text); }

.contact-socials { display: flex; gap: 10px; }
.contact-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
}
.contact-socials a:hover { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: var(--white); }

/* Full width map */
.map-section { padding: 0; }
.map-container-full { width: 100%; }
.map-container-full iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-xl) 0 0;
}
.footer-logo img { height: 50px; width: auto; margin-bottom: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-col h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 20px; }
.footer-desc { margin-top: 10px; font-size: 0.95rem; line-height: 1.7; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { opacity: 0.8; transition: var(--transition); color: rgba(255,255,255,0.8); }
.footer-col ul li a:hover { opacity: 1; color: var(--accent); }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list li i { color: var(--accent); margin-top: 4px; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: var(--white); }
.footer-bottom {
    text-align: center;
    padding: 25px 0;
    margin-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ============================================
   LOADING SPINNER (inline button)
   ============================================ */
.btn-cta .spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   FULLSCREEN LOADER OVERLAY
   ============================================ */
#formLoader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(26, 10, 46, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
#formLoader.active {
    opacity: 1;
    pointer-events: all;
}
.loader-content {
    text-align: center;
    color: #fff;
}
.loader-content p {
    margin-top: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.85;
    animation: loaderPulse 1.5s ease infinite;
}
@keyframes loaderPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
.loader-spinner {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border: 4px solid rgba(255,255,255,0.15);
    border-top-color: var(--accent, #F4A623);
    border-right-color: var(--primary, #7B2D8E);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .franchise-models { grid-template-columns: 1fr; }
    .partner-grid { grid-template-columns: repeat(3, 1fr); }
    .process-layout { grid-template-columns: 1fr; }
    .form-layout { grid-template-columns: 1fr; }
    .franchise-apply-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 1.8rem; }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {
    /* Nav */
    .hamburger { display: flex; }
    .header-cta { display: none; }
    .mobile-nav-icon { display: inline; margin-right: 10px; font-size: 1.15rem; vertical-align: middle; }
    .mobile-nav-header { display: flex !important; align-items: center; justify-content: space-between; padding: 0 0 20px; margin-bottom: 10px; border-bottom: 1px solid var(--gray-light); }
    .mobile-nav-logo img { height: 38px; }
    .mobile-nav-close { background: none; border: none; font-size: 1.6rem; color: var(--text); cursor: pointer; padding: 5px; transition: var(--transition); }
    .mobile-nav-close:hover { color: var(--secondary); }
    .mobile-nav-cta { display: block !important; padding: 20px 0 10px; }
    .mobile-nav-footer {
        display: block !important;
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid var(--gray-light);
    }
    .mobile-nav-footer p { font-size: 0.82rem; color: var(--text); margin-bottom: 5px; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        padding: 25px;
        gap: 0;
        box-shadow: -10px 0 40px rgba(26, 10, 46, 0.2);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
        transform: translateX(100%);
        right: 0;
    }
    .nav-menu.active { transform: translateX(0); }

    .nav-menu li { list-style: none; }
    .nav-menu .nav-link {
        padding: 14px 12px;
        border-radius: 10px;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        border-bottom: none;
        transition: var(--transition);
    }
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: var(--light);
        color: var(--primary);
    }
    .nav-menu .nav-link::after { display: none; }
    .nav-menu .nav-link.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 20px;
        background: var(--primary);
        border-radius: 0 3px 3px 0;
    }
    .nav-menu .nav-link { position: relative; }

    .logo img { height: 42px; }

    /* Typography — 50% smaller headings */
    .section-title { font-size: 1.3rem; }
    .section-subtitle { font-size: 0.88rem; margin-bottom: var(--space-md); }
    .page-hero { padding: 120px 0 50px; }
    .page-hero h1 { font-size: 1.5rem; }
    .page-hero p { font-size: 0.9rem; }
    .section-tag { font-size: 0.75rem; padding-left: 30px; }
    .section-tag::before { width: 22px; }
    .section { padding: var(--space-lg) 0; }
    .container { padding: 0 15px; }

    /* Hero slider */
    .hero-slider { margin-top: 62px; }
    .hero-nav { width: 36px; height: 36px; }
    .hero-nav::after { font-size: 0.9rem; }

    /* About section — full width stacked */
    .about-grid { grid-template-columns: 1fr; gap: var(--space-sm); }
    .about-text { order: 1; }
    .about-images { order: 2; padding: 0 0 40px 0; position: relative; }
    .about-img-main { width: 65%; }
    .about-img-secondary { width: 50%; position: absolute; bottom: 0; right: 0; border: 4px solid var(--white); }
    .about-badge { top: auto; bottom: 45px; right: auto; left: 0; padding: 12px 16px; }
    .badge-number { font-size: 0.82rem; }
    .about-text h2 { font-size: 1.3rem; }
    .about-text p { font-size: 0.88rem; margin-bottom: 15px; }
    .about-highlight-item { font-size: 0.85rem; gap: 8px; }
    .about-highlight-item i { font-size: 1rem; }

    /* Feature cards — 2x2 grid */
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .feature-card { padding: 25px 15px; }
    .feature-card .icon { width: 50px; height: 50px; font-size: 1.3rem; margin-bottom: 12px; }
    .feature-card h3 { font-size: 0.9rem; }
    .feature-card p { font-size: 0.8rem; }

    /* Stats — 2x2 */
    .stats-section { padding: var(--space-md) 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .stat-item h3 { font-size: 1.8rem; }
    .stat-item p { font-size: 0.8rem; }

    /* Product carousel */
    .product-showcase { padding: var(--space-md) 0; }
    .product-card-info h3 { font-size: 0.82rem; }
    .product-card-info p { font-size: 0.72rem; }
    .product-card-inner { padding: 8px 8px 10px; border-radius: 10px; }

    /* Why cards (about page) — 2x2 */
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .why-card { padding: 20px 15px; }
    .why-num { font-size: 1.8rem; margin-bottom: 8px; }
    .why-card h4 { font-size: 0.9rem; }
    .why-card p { font-size: 0.8rem; }

    /* Partner cards (franchise) — 2x2 + 1 */
    .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .partner-card { padding: 20px 12px; }
    .partner-card-icon { width: 45px; height: 45px; font-size: 1.2rem; margin-bottom: 10px; }
    .partner-card p { font-size: 0.8rem; }

    /* Franchise models — stack */
    .franchise-models { grid-template-columns: 1fr; gap: 15px; }
    .model-card { padding: 25px 20px; }
    .model-card h3 { font-size: 1.1rem; }

    /* Process steps */
    .process-layout { grid-template-columns: 1fr; gap: var(--space-md); }
    .process-step { gap: 15px; padding: 15px 0; }
    .step-number { width: 40px; height: 40px; min-width: 40px; font-size: 1rem; }
    .step-text h4 { font-size: 0.75rem; }
    .step-text p { font-size: 0.88rem; }
    .process-step:not(:last-child)::after { left: 20px; top: 55px; }

    /* Mission/Vision */
    .mission-vision { grid-template-columns: 1fr; gap: 15px; }
    .mv-card { padding: 25px 20px; }
    .mv-icon { width: 45px; height: 45px; font-size: 1.2rem; margin-bottom: 12px; }
    .mv-card h3 { font-size: 1.1rem; }
    .mv-card p { font-size: 0.88rem; }

    /* CTA section */
    .cta-section { padding: var(--space-lg) 0; }
    .cta-section h2 { font-size: 1.4rem; }
    .cta-section p { font-size: 0.88rem; }

    /* Franchise apply section */
    .franchise-apply-section { overflow: hidden; }
    .franchise-apply-grid { grid-template-columns: 1fr; gap: var(--space-md); }
    .franchise-apply-info h2 { font-size: 1.3rem; }
    .franchise-apply-info > p { font-size: 0.88rem; margin-bottom: 20px; }
    .franchise-apply-perks { gap: 15px; }
    .perk-item { gap: 12px; }
    .perk-icon { width: 38px; height: 38px; min-width: 38px; font-size: 1rem; border-radius: 8px; }
    .perk-item h4 { font-size: 0.85rem; }
    .perk-item p { font-size: 0.75rem; }
    .apply-form-card { padding: 22px 15px; }
    .apply-form-card h3 { font-size: 1.1rem; }
    .apply-form-card > p { font-size: 0.82rem; }

    /* Contact page */
    .contact-cards { grid-template-columns: 1fr; margin-top: -30px; gap: 12px; }
    .contact-card { padding: 25px 20px; }
    .contact-card-icon { width: 48px; height: 48px; font-size: 1.2rem; }
    .contact-card h4 { font-size: 0.95rem; }
    .contact-card p { font-size: 0.82rem; }
    .contact-main-grid { max-width: 100%; }
    .contact-form-wrap h2 { font-size: 1.3rem; }

    /* Forms */
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-group label { font-size: 0.85rem; }
    .form-control { padding: 12px 14px; font-size: 0.88rem; }
    .btn-cta { padding: 12px 24px; font-size: 0.88rem; }
    .form-layout { grid-template-columns: 1fr; }
    .form-info h2 { font-size: 1.3rem; }
    .form-info-item { font-size: 0.85rem; }
    .form-info-item i { width: 36px; height: 36px; min-width: 36px; font-size: 0.95rem; }
    .form-section { max-width: 100%; }
    .form-section .form-control { border-radius: 8px; }
    .form-section .btn-cta { border-radius: 8px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .footer-col h4 { font-size: 1rem; margin-bottom: 12px; }
    .footer-desc { font-size: 0.85rem; }
    .footer-logo img { height: 40px; }
    .footer-bottom { font-size: 0.78rem; padding: 18px 0; margin-top: var(--space-md); }
}

/* Small mobile */
@media (max-width: 400px) {
    .section-title { font-size: 1.15rem; }
    .page-hero h1 { font-size: 1.3rem; }
    .features-grid,
    .why-grid,
    .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .feature-card { padding: 18px 10px; }
    .feature-card .icon { width: 42px; height: 42px; font-size: 1.1rem; }
    .feature-card h3 { font-size: 0.82rem; }
    .feature-card p { font-size: 0.72rem; }
    .stat-item h3 { font-size: 1.5rem; }
    .cta-section h2 { font-size: 1.2rem; }
    .about-text h2 { font-size: 1.15rem; }
    .franchise-apply-info h2 { font-size: 1.15rem; }
}
