/* ===========================
   MIAMI CRISPY — Design System
   =========================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
    /* Brand Colors */
    --orange: #E8711A;
    --orange-light: #F5912E;
    --orange-dark: #C45E10;
    --charcoal: #1E1E1E;
    --charcoal-light: #2D2D2D;
    --dark-grey: #3A3A3A;
    --red-accent: #C0392B;
    --red-hot: #E74C3C;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-grey: #F0F0F0;
    --medium-grey: #999999;
    --text-dark: #1A1A1A;
    --text-muted: #777777;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    --fw-black: 900;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 30px rgba(232, 113, 26, 0.3);

    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 200ms var(--ease-smooth);
    --transition-normal: 300ms var(--ease-smooth);
    --transition-slow: 500ms var(--ease-smooth);

    /* Container */
    --max-width: 1200px;
    --container-padding: 1.5rem;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--fw-regular);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

/* --- Utility --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-4xl) 0;
}

.text-center {
    text-align: center;
}

.text-orange {
    color: var(--orange);
}

.text-white {
    color: var(--white);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--fw-bold);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: var(--fw-black);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: var(--fw-extrabold);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: var(--fw-bold);
}

p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--orange);
    background: rgba(232, 113, 26, 0.1);
    padding: 0.4em 1em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
    font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.85em 2em;
    font-weight: var(--fw-semibold);
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(232, 113, 26, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232, 113, 26, 0.6);
}

.btn-order,
.nav-links .btn-order {
    background: var(--white);
    color: var(--orange);
    font-weight: var(--fw-bold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 1;
    /* Override any nav link opacity */
}

.btn-order:hover,
.nav-links .btn-order:hover {
    background: var(--off-white);
    color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 113, 26, 0.3);
}

.nav-links .btn-order::after {
    display: none;
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(232, 113, 26, 0.4);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 990;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(232, 113, 26, 0.5);
}

/* --- Franchise Page Styles --- */
.franchise-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    position: relative;
    counter-reset: step;
}

.process-step {
    text-align: center;
    position: relative;
    padding: var(--space-lg);
    background: var(--off-white);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.process-step::before {
    counter-increment: step;
    content: counter(step);
    width: 40px;
    height: 40px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--fw-bold);
    margin: 0 auto var(--space-md);
    box-shadow: 0 4px 10px rgba(232, 113, 26, 0.3);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.process-step h3 {
    margin-bottom: var(--space-sm);
    color: var(--charcoal);
}

.financials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.financial-card {
    background: var(--charcoal);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.financial-card h3 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.financial-value {
    color: var(--orange);
    font-size: 2.5rem;
    font-weight: var(--fw-black);
    margin-bottom: var(--space-xs);
}

.financial-note {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

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

.support-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.support-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(232, 113, 26, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
}

.support-content h3 {
    margin-bottom: var(--space-xs);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--charcoal);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-dark:hover {
    background: var(--dark-grey);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.btn-outline-orange {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
}

.btn-outline-orange:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    padding: 0.6rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    transition: transform var(--transition-normal);
}

.navbar.scrolled .nav-logo img {
    height: 40px;
    width: 40px;
}

.nav-logo:hover img {
    transform: rotate(-8deg) scale(1.05);
}

.nav-logo-text {
    font-size: 1.3rem;
    font-weight: var(--fw-extrabold);
    color: var(--white);
    letter-spacing: -0.01em;
}

.nav-logo-text span {
    color: var(--orange);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: var(--fw-medium);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 0.25em 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    transition: width var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all var(--transition-fast);
}

.nav-socials a:hover {
    background: var(--orange);
    transform: translateY(-2px);
}

.nav-socials svg {
    width: 18px;
    height: 18px;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav + overlay: hidden on desktop */
.nav-mobile,
.nav-overlay {
    display: none;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(165deg, var(--charcoal) 0%, #111 60%, var(--charcoal-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(232, 113, 26, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    background: rgba(232, 113, 26, 0.15);
    border: 1px solid rgba(232, 113, 26, 0.3);
    color: var(--orange-light);
    font-size: 0.8rem;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5em 1.2em;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(232, 113, 26, 0.2);
    }

    50% {
        box-shadow: 0 0 20px 4px rgba(232, 113, 26, 0.15);
    }
}

.hero h1 {
    color: var(--white);
    margin-bottom: 0.15em;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: var(--fw-semibold);
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-xl);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 500px;
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Floating food images */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 550px;
    z-index: 2;
}

.hero-visual img {
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Decorative elements */
.hero-decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-decor-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 113, 26, 0.1), transparent);
    bottom: 20%;
    left: -5%;
    animation: float 8s ease-in-out infinite;
}

.hero-decor-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(192, 57, 43, 0.08), transparent);
    top: 15%;
    right: 30%;
    animation: float 10s ease-in-out infinite reverse;
}

/* --- Features / USP Section --- */
.features {
    background: var(--white);
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--red-hot));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(232, 113, 26, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(232, 113, 26, 0.1), rgba(232, 113, 26, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    box-shadow: var(--shadow-glow);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--orange);
    transition: color var(--transition-fast);
}

.feature-card:hover .feature-icon svg {
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1.05rem;
}

.feature-card p {
    font-size: 0.92rem;
    line-height: 1.65;
}

/* --- Menu Highlights / Favorites --- */
.favorites {
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.favorites::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(232, 113, 26, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(192, 57, 43, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.favorites .section-label {
    background: rgba(232, 113, 26, 0.15);
}

.favorites .section-title {
    color: var(--white);
}

.favorites .section-subtitle {
    color: rgba(255, 255, 255, 0.5);
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.favorite-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.favorite-card:hover {
    transform: translateY(-6px);
    border-color: rgba(232, 113, 26, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.favorite-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--dark-grey);
}

.favorite-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.favorite-card:hover .favorite-card-img img {
    transform: scale(1.08);
}

.favorite-card-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--orange);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35em 0.8em;
    border-radius: var(--radius-full);
}

.favorite-card-body {
    padding: var(--space-lg);
}

.favorite-card-body h3 {
    color: var(--white);
    margin-bottom: 0.3em;
    font-size: 1.15rem;
}

.favorite-card-body p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.88rem;
}

/* --- Spice Level Section --- */
.spice-section {
    background: var(--off-white);
    position: relative;
}

.spice-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.spice-content h2 {
    margin-bottom: var(--space-md);
}

.spice-content p {
    margin-bottom: var(--space-xl);
    font-size: 1.05rem;
}

.spice-levels {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.spice-level {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--light-grey);
    transition: all var(--transition-normal);
}

.spice-level:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.spice-level-dots {
    display: flex;
    gap: 4px;
}

.spice-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-grey);
}

.spice-dot.active {
    background: var(--orange);
}

.spice-dot.hot {
    background: var(--red-accent);
}

.spice-level-name {
    font-weight: var(--fw-semibold);
    font-size: 0.95rem;
}

.spice-image {
    position: relative;
}

.spice-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* --- Franchise CTA Banner --- */
.franchise-cta {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    position: relative;
    overflow: hidden;
}

.franchise-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.franchise-cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.franchise-cta h2 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.franchise-cta p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    font-size: 1.05rem;
}

.franchise-cta .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
}

.franchise-cta .btn-secondary:hover {
    background: var(--white);
    color: var(--orange);
    border-color: var(--white);
}

/* --- Careers CTA --- */
.careers-cta {
    background: var(--white);
}

.careers-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--charcoal);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.careers-cta .container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(232, 113, 26, 0.1), transparent);
    pointer-events: none;
}

.careers-cta-content {
    position: relative;
    z-index: 1;
    max-width: 550px;
}

.careers-cta-content h2 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.careers-cta-content p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-xl);
}

/* --- Footer --- */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-brand img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    max-width: 280px;
}

.footer-brand-name {
    font-size: 1.2rem;
    font-weight: var(--fw-bold);
    color: var(--white);
}

.footer-brand-name span {
    color: var(--orange);
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-col a:hover {
    color: var(--orange);
    padding-left: 4px;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: var(--space-md);
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
}

.footer-socials a:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-socials svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
    color: var(--orange);
}

/* --- Page Heroes (inner pages) --- */
.page-hero {
    background: linear-gradient(165deg, var(--charcoal) 0%, #111 100%);
    padding: 10rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(232, 113, 26, 0.08), transparent 60%);
    pointer-events: none;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* --- Location Cards --- */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.location-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--light-grey);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--orange), var(--orange-dark));
    transform: scaleY(0);
    transition: transform var(--transition-normal);
    transform-origin: top;
}

.location-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.location-card:hover::before {
    transform: scaleY(1);
}

.location-card-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.location-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(232, 113, 26, 0.1), rgba(232, 113, 26, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-card-icon svg {
    width: 22px;
    height: 22px;
    color: var(--orange);
}

.location-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.2em;
}

.location-card .address {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.location-card .hours {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: var(--space-lg);
}

.location-card .hours span {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.location-card .hours .label {
    font-weight: var(--fw-semibold);
    color: var(--text-dark);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Forms --- */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: var(--off-white);
    border: 2px solid var(--light-grey);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232, 113, 26, 0.1);
    background: var(--white);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

/* Contact page layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(232, 113, 26, 0.1), rgba(232, 113, 26, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-icon svg {
    width: 22px;
    height: 22px;
    color: var(--orange);
}

.contact-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2em;
}

.contact-item p,
.contact-item a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-item a:hover {
    color: var(--orange);
}

/* --- Scroll Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 {
    transition-delay: 0.1s;
}

.fade-up-delay-2 {
    transition-delay: 0.2s;
}

.fade-up-delay-3 {
    transition-delay: 0.3s;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-visual {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto var(--space-2xl);
    }

    .hero-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .spice-section .container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .spice-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .careers-cta .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-socials {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile nav overlay */
    .nav-mobile {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(30, 30, 30, 0.98);
        backdrop-filter: blur(20px);
        z-index: 999;
        padding: 5rem 2rem 2rem;
        transition: right var(--transition-normal);
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
    }

    .nav-mobile.open {
        right: 0;
    }

    .nav-mobile a {
        display: block;
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.1rem;
        font-weight: var(--fw-medium);
        padding: var(--space-md) 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: all var(--transition-fast);
    }

    .nav-mobile a:hover {
        color: var(--orange);
        padding-left: var(--space-md);
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }

    .nav-overlay.open {
        opacity: 1;
        visibility: visible;
    }

    .hero {
        min-height: 90vh;
        padding: 6rem 0 4rem;
    }

    .hero-badge {
        font-size: 0.7rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .franchise-form-container {
        padding: var(--space-xl) !important;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Franchise Form Container --- */
.franchise-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-grey);
}

.franchise-form-container h3 {
    margin-bottom: var(--space-xl);
    text-align: center;
}

/* --- Original Recipe Section --- */
.origin-section {
    background: var(--white);
    position: relative;
}

.origin-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.origin-text h2 {
    margin-bottom: var(--space-md);
}

.origin-text p {
    font-size: 1.05rem;
    margin-bottom: var(--space-lg);
}

.origin-year {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(232, 113, 26, 0.1);
    color: var(--orange);
    font-weight: var(--fw-bold);
    font-size: 0.95rem;
    padding: 0.5em 1.2em;
    border-radius: var(--radius-full);
}

.origin-image {
    position: relative;
}

.origin-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
    .origin-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .origin-image {
        max-width: 400px;
        margin: 0 auto;
    }
}