/* ============================================
   C&S Locksmith - Modern Glassmorphism Design
   ============================================ */

:root {
    /* Color Palette */
    --color-primary: #1e3a5f;
    --color-primary-light: #2d5380;
    --color-primary-dark: #152a45;
    --color-accent: #d4a574;
    --color-accent-light: #e6c29a;
    --color-accent-dark: #b8894d;

    /* Backgrounds */
    --color-bg-main: #f8f9fb;
    --color-bg-light: #ffffff;
    --color-glass-bg: rgba(255, 255, 255, 0.7);
    --color-glass-border: rgba(255, 255, 255, 0.3);

    /* Text Colors */
    --color-text-primary: #1a2332;
    --color-text-secondary: #4a5568;
    --color-text-muted: #718096;
    --color-text-inverse: #ffffff;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 50%, #c5d9e8 100%);
    --gradient-accent: linear-gradient(135deg, #d4a574 0%, #b8894d 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(30, 58, 95, 0.06);
    --shadow-md: 0 4px 16px rgba(30, 58, 95, 0.08);
    --shadow-lg: 0 8px 32px rgba(30, 58, 95, 0.12);
    --shadow-xl: 0 16px 48px rgba(30, 58, 95, 0.16);
    --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.15);

    /* Typography */
    --font-heading: 'Outfit', -apple-system, system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;

    /* Spacing */
    --spacing-unit: 8px;

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

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-primary);
    background: var(--gradient-hero);
    background-attachment: fixed;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-accent);
}

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

/* ============================================
   Container & Layout
   ============================================ */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 48px;
    }
}

/* ============================================
   Navigation
   ============================================ */

.nav-glass {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-glass-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo svg {
    color: var(--color-accent);
}

.logo-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: none;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-primary);
    transition: color var(--transition-base);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width var(--transition-base);
}

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

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

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

/* Mobile Menu Overlay */
.nav-links::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100vw - 280px);
    height: 100vh;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links.active::before {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Menu Styles */
@media (max-width: 1023px) {
    .nav-links {
        display: flex !important;
        position: fixed;
        top: 80px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background: #ffffff !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        flex-direction: column;
        padding: 40px 24px;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        margin-bottom: 0;
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid rgba(30, 58, 95, 0.1);
        font-size: 1.1rem;
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1000;
    }

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

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

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: all var(--transition-base);
    border-radius: 2px;
}

.mobile-menu-toggle:hover span {
    background: var(--color-accent);
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* CTA button in nav - mobile adjustments */
@media (max-width: 1023px) {
    .nav-container {
        gap: 12px;
    }

    .nav-container .cta-button {
        order: 2;
        padding: 10px;
        border-radius: 50%;
        font-size: 0;
        line-height: 0;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .nav-container .cta-button svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .mobile-menu-toggle {
        order: 3;
    }

    .logo {
        flex: 0 1 auto;
        min-width: 0;
    }
}

/* ============================================
   Buttons
   ============================================ */

.btn-primary,
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-inverse);
    background: var(--gradient-accent);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary:hover,
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--color-text-inverse);
}

.btn-primary:active,
.cta-button:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
    background: var(--color-bg-light);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0 120px;
}

.hero-text {
    max-width: 800px;
}

.hero-centered {
    justify-content: center !important;
}

.hero-centered .hero-content {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-centered .container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-centered .hero-text {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 900px;
    text-align: center;
    width: 100%;
}

.hero-centered .hero-title {
    text-align: center;
}

.hero-centered .title-line {
    display: block;
    text-align: center;
}

.hero-centered .title-accent {
    display: block;
    text-align: center;
}

.hero-centered .hero-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-centered .hero-cta-group {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-centered .hero-badges {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    margin-bottom: 24px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

.title-line {
    display: block;
    line-height: 1.1;
}

.title-accent {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 12px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s backwards;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s backwards;
}

.badge-glass {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--color-glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-primary);
    box-shadow: var(--shadow-sm);
}

.badge-glass svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

/* Floating Background Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, rgba(212, 165, 116, 0.05) 50%, transparent 100%);
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 20%;
    left: -50px;
    animation-delay: -7s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 20%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }
    75% {
        transform: translate(20px, 30px) rotate(270deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.section-title {
    margin-bottom: 16px;
    color: var(--color-primary);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   Services Section
   ============================================ */

.services-section {
    background: var(--color-bg-light);
}

.services-section .section-title,
.services-section .section-subtitle,
.services-section h2,
.services-section h3,
.services-section h4,
.services-section p {
    color: var(--color-text-primary) !important;
}

.areas-section .section-title,
.areas-section .section-subtitle,
.areas-section h2,
.areas-section h3,
.areas-section h4,
.areas-section p,
.areas-section strong {
    color: var(--color-text-primary) !important;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    position: relative;
    padding: 32px 24px;
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent-light);
}

.service-card-featured {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15) 0%, rgba(255,255,255,0.9) 100%);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    color: var(--color-accent);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.service-description {
    flex-grow: 1;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-accent-dark);
    transition: gap var(--transition-base);
}

.service-card:hover .service-link {
    gap: 12px;
}

.service-link svg {
    transition: transform var(--transition-base);
}

.service-card:hover .service-link svg {
    transform: translateX(4px);
}

/* ============================================
   Why Section
   ============================================ */

.why-section {
    background: transparent;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.why-card {
    padding: 40px 32px;
    background: var(--color-glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.85);
}

.why-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.why-card p {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* ============================================
   Areas Section
   ============================================ */

.areas-section {
    background: var(--color-bg-light);
}

.areas-content {
    display: grid;
    gap: 48px;
}

@media (min-width: 1024px) {
    .areas-content {
        grid-template-columns: 2fr 1fr;
        gap: 64px;
    }
}

.areas-text h3 {
    font-size: 1.75rem;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.areas-text p {
    margin-bottom: 20px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.areas-text strong {
    color: var(--color-primary);
    font-weight: 600;
}

.areas-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.city-tag {
    padding: 8px 16px;
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-primary);
    transition: all var(--transition-base);
}

.city-tag:hover {
    background: var(--color-accent);
    color: var(--color-text-inverse);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.areas-card-glass {
    padding: 40px 32px;
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.areas-card-glass h4 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.areas-card-glass p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ============================================
   Content Section
   ============================================ */

.content-section {
    background: transparent;
}

.content-layout {
    display: grid;
    gap: 48px;
}

@media (min-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr 350px;
        gap: 64px;
    }
}

.main-content {
    background: var(--color-glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow-md);
}

.main-content h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--color-primary);
    line-height: 1.3;
}

.main-content h3 {
    font-size: 1.6rem;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.main-content p {
    margin-bottom: 20px;
    color: var(--color-text-secondary);
    line-height: 1.9;
}

.main-content strong {
    color: var(--color-primary);
    font-weight: 600;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    padding: 32px 28px;
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.sidebar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--color-primary) !important;
}

.sidebar-card p {
    color: var(--color-text-secondary) !important;
    line-height: 1.7;
    font-size: 0.95rem;
}

.sidebar-card .footer-links {
    list-style: none;
}

.sidebar-card .footer-links li {
    margin-bottom: 12px;
}

.sidebar-card .footer-links a {
    color: var(--color-text-primary) !important;
    transition: color var(--transition-base);
}

.sidebar-card .footer-links a:hover {
    color: var(--color-accent-dark) !important;
}

.sidebar-card .service-area-item {
    color: var(--color-text-primary) !important;
}

.sidebar-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    color: var(--color-text-inverse);
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.sidebar-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--color-text-inverse);
}

.sidebar-cta svg {
    flex-shrink: 0;
}

.sidebar-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

.sidebar-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(30, 58, 95, 0.1);
}

.hours-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-list span {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.hours-list strong {
    color: var(--color-primary);
    font-weight: 600;
    font-family: var(--font-heading);
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    color: var(--color-text-inverse);
    text-align: center;
    padding: 100px 0;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-text-inverse);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-inverse);
    margin-bottom: 20px;
}

.footer-logo svg {
    color: var(--color-accent);
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent-light);
}

.footer-phone svg {
    flex-shrink: 0;
}

.footer-phone a {
    color: var(--color-accent-light);
}

.footer-phone a:hover {
    color: var(--color-accent);
}

.footer h4 {
    font-size: 1.1rem;
    color: var(--color-text-inverse);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-accent-light);
    padding-left: 4px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        text-align: left;
    }
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 12px;
}

.footer-badge {
    padding: 6px 14px;
    background: rgba(212, 165, 116, 0.2);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-accent-light);
}

/* ============================================
   Content Break Elements
   ============================================ */

.content-callout {
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: 32px;
    margin: 48px 0;
    box-shadow: var(--shadow-md);
}

.content-callout h3 {
    color: var(--color-accent-dark);
    margin-bottom: 16px;
}

.content-callout p {
    margin-bottom: 0;
}

.content-divider {
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 64px auto;
    border-radius: 2px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.stat-box {
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-box-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-box-label {
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(212, 165, 116, 0.05) 100%);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin: 32px 0;
}

.highlight-box p {
    margin-bottom: 0;
    font-size: 1.05rem;
    font-weight: 500;
}

/* ============================================
   Responsive Utilities
   ============================================ */

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .hero-content {
        padding: 40px 0 80px;
    }

    .main-content {
        padding: 32px 24px;
    }

    .sidebar {
        width: 100%;
    }

    .sidebar-card {
        position: static;
        width: 100%;
    }

    .areas-card-glass {
        position: static;
        width: 100%;
    }

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

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

    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .service-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 24px 20px;
        margin: 0;
    }

    .service-icon {
        width: 56px;
        height: 56px;
    }

    .service-title {
        font-size: 1.2rem;
    }

    .service-description {
        font-size: 0.95rem;
    }

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

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

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group a {
        width: 100%;
        justify-content: center;
    }

    .hero-badges {
        flex-direction: column;
        width: 100%;
    }

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

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

    .footer {
        padding: 48px 0 24px;
    }

    .footer-bottom {
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-badges {
        flex-wrap: wrap;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons a {
        width: 100%;
        justify-content: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.35rem;
    }

    .container {
        padding: 0 20px;
    }

    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
        width: 100%;
    }

    *:not(.nav-glass):not(.nav-links):not(.cta-button):not(.mobile-menu-toggle) {
        max-width: 100%;
        box-sizing: border-box;
    }

    .section-title,
    .section-subtitle {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .service-section,
    .services-section,
    .content-section,
    .why-section,
    .areas-section {
        overflow-x: hidden;
        width: 100%;
    }
}