/* ========================================
   2025 Glassmorphism Design System
   Columbus Detox Specialists
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
    /* Primary Gradients */
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --gradient-secondary: linear-gradient(135deg, #ff9a56 0%, #ffb347 100%);
    --gradient-tertiary: linear-gradient(135deg, #ff7f50 0%, #ffa07a 100%);
    --gradient-success: linear-gradient(135deg, #ff8c42 0%, #ff9a56 100%);

    /* Orange Color Palette */
    --orange-primary: #ff6b35;
    --orange-light: #ff8c42;
    --orange-lighter: #ffa07a;

    /* Glass Colors */
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-white-hover: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: rgba(0, 0, 0, 0.1);

    /* Text Colors */
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);

    /* Blur Effects */
    --blur-sm: 10px;
    --blur-md: 20px;
    --blur-lg: 40px;

    /* Spacing */
    --container-max: 1280px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background Elements */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
    animation: bgFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes bgFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* ========== CONTAINER ========== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

/* ========== GLASS CARD BASE ========== */
.glass-card {
    background: var(--glass-white);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px var(--glass-shadow);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.glass-card:hover {
    background: var(--glass-white-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
}

.glass-card:hover .card-glow {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ========== NAVIGATION ========== */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    background: var(--glass-white);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-glow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-glow::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.4;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

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

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-glass-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    backdrop-filter: blur(var(--blur-sm));
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-glass-primary:hover {
    background: var(--glass-white-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-info-glass {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur-sm));
    color: var(--text-light);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-info-glass:hover {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

/* ========== HERO SECTION ========== */
.hero-glass {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: calc(80px + var(--spacing-lg)) var(--spacing-md) var(--spacing-lg);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.85) 0%, rgba(42, 82, 152, 0.75) 50%, rgba(126, 34, 206, 0.85) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

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

.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--glass-white);
    backdrop-filter: blur(var(--blur-md));
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    margin-bottom: var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    to {
        left: 100%;
    }
}

.glass-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: 8px;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.btn-hero-glass {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--glass-white);
    backdrop-filter: blur(var(--blur-md));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all var(--transition-smooth);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transition: width 0.6s, height 0.6s;
}

.btn-hero-glass:hover .btn-glow {
    width: 300px;
    height: 300px;
}

.btn-hero-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
}

.btn-hero-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 28px;
    background: transparent;
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.btn-hero-info:hover {
    background: var(--glass-white);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
}

.trust-badges {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--glass-white);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
}

.trust-badge svg {
    opacity: 0.8;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-light);
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

/* ========== SECTIONS ========== */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== SERVICES SECTION ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    padding: var(--spacing-lg);
    text-align: center;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
}

.service-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

.service-description {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========== SUCCESS SECTION ========== */
.success-section {
    background: rgba(0, 0, 0, 0.1);
}

.success-content {
    padding: 0;
    overflow: hidden;
}

.success-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.success-image {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.success-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.4) 100%);
}

.success-text {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.success-title {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.success-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.success-quote {
    font-style: italic;
    color: var(--text-light);
    padding-left: var(--spacing-md);
    border-left: 3px solid rgba(102, 126, 234, 0.6);
    margin-bottom: var(--spacing-md);
}

.success-cta {
    display: flex;
    gap: 12px;
    margin-bottom: var(--spacing-md);
}

.success-disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* ========== GALLERY SECTION ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    padding: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-disclaimer {
    text-align: center;
    margin-top: var(--spacing-md);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-style: italic;
}

/* ========== TIMELINE SECTION ========== */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.timeline-item {
    padding: var(--spacing-lg);
    text-align: center;
    position: relative;
}

.timeline-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: 'Sora', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

.timeline-icon {
    margin: 0 auto var(--spacing-md);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

.timeline-description {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========== MAP SECTION ========== */
.map-content {
    padding: var(--spacing-lg);
}

.map-header {
    margin-bottom: var(--spacing-md);
}

.map-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.map-notice {
    color: var(--text-light);
    padding: 16px;
    background: rgba(255, 165, 0, 0.1);
    border-left: 3px solid rgba(255, 165, 0, 0.6);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.map-container iframe {
    display: block;
}

/* ========== FAQ SECTION ========== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.faq-item {
    padding: var(--spacing-md);
}

.faq-question {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

.faq-answer {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========== CTA SECTION ========== */
.cta-content {
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
}

.cta-title {
    font-family: 'Sora', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.cta-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.cta-notice {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ========== FOOTER ========== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-brand-name {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-contact {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 20px;
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-smooth);
}

.footer-phone:hover {
    background: var(--glass-white-hover);
    transform: translateY(-2px);
}

.footer-confidential {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

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

.footer-heading {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-menu a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--text-light);
}

.footer-disclaimer {
    padding: var(--spacing-md);
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-disclaimer a {
    color: var(--text-light);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

/* ========== MODAL ========== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    max-width: 600px;
    width: 100%;
    padding: var(--spacing-lg);
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
    color: var(--text-light);
}

.modal-close:hover {
    background: var(--gradient-primary);
    transform: rotate(90deg);
}

.modal-title {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.modal-body {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.modal-body p {
    margin-bottom: var(--spacing-sm);
}

.modal-body a {
    color: var(--text-light);
    text-decoration: underline;
}

.modal-body strong {
    color: var(--text-light);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .success-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--glass-white);
        backdrop-filter: blur(var(--blur-md));
        border-top: 1px solid var(--glass-border);
        flex-direction: column;
        padding: var(--spacing-md);
        gap: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-smooth);
    }

    .nav-menu.active {
        max-height: 300px;
    }

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

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

    .hero-title {
        font-size: 2.5rem;
    }

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

    .btn-hero-glass,
    .btn-hero-info {
        width: 100%;
        justify-content: center;
    }

    .trust-badges {
        flex-direction: column;
    }

    .services-grid,
    .timeline-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-main {
        flex-direction: column;
        text-align: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .glass-nav,
    .hero-scroll,
    .modal,
    .btn-info-glass {
        display: none !important;
    }
}
