/* Enera V4.1 - Premium Redesign + Footer Fix + SVG Icons */
/* Deep Purple (#2E1A47) + Gold (#D4AF37) + Cream (#F9F5F0) */

:root {
    --primary: #4A148C;
    --primary-dark: #2E1A47;
    --primary-light: #7B1FA2;
    --accent: #D4AF37;
    --accent-hover: #F4C430;
    --cream: #F9F5F0;
    --bg-dark: #1A0F2E;
    --text-light: #FFFFFF;
    --text-muted: #C0C0C0;
    --text-dark: #1A1A1A;
    --text-body: #E8E8E8;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --shadow-card: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-gold: 0 0 20px rgba(212,175,55,0.3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.7;
}
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.enera-header {
    background: rgba(26, 15, 46, 0.95);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.logo-icon { font-size: 1.5rem; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
    color: var(--text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.2px;
    opacity: 0.85;
    padding: 8px 0;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
    background: var(--accent) !important;
    color: var(--primary-dark) !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    opacity: 1 !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; transform: translateY(-2px); }
.nav-cta::after { display: none !important; }
.mobile-toggle { display: none; background: none; border: none; color: var(--accent); font-size: 1.6rem; cursor: pointer; }
.mobile-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,0.06); padding: 20px;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 16px; }
.mobile-nav-links a { color: var(--text-light); font-size: 1rem; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.mobile-cta {
    background: var(--accent); color: var(--primary-dark); padding: 12px 24px;
    border-radius: 50px; text-align: center; font-weight: 700; margin-top: 10px; display: block;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 36px; border-radius: 50px; font-weight: 700;
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; border: 2px solid transparent; transition: all 0.3s ease;
}
.btn-gold { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); }
.btn-gold:hover { background: var(--accent-hover); transform: translateY(-3px); }
.btn-outline { border-color: var(--text-light); color: var(--text-light); background: transparent; }
.btn-outline:hover { background: var(--text-light); color: var(--primary-dark); transform: translateY(-3px); }
/* Outline button for light backgrounds */
.btn-outline-dark { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline-dark:hover { background: var(--primary); color: white; transform: translateY(-3px); }
.btn-lg { padding: 18px 44px; font-size: 1rem; }

/* ===== HERO ===== */
.hero-v4 {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 50%, #0D0616 100%);
    padding: 100px 0 140px; position: relative; overflow: hidden;
    min-height: 90vh; display: flex; align-items: center;
}
.hero-bg-image {
    position: absolute; inset: 0;
    background: url('/images/cosmic-energy.webp') center/cover no-repeat;
    opacity: 0.15; z-index: 0;
}
.hero-grid {
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem;
    align-items: center; position: relative; z-index: 2;
}
.hero-text h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1.5rem; line-height: 1.1; color: var(--text-light); }
.hero-text h1 span { color: var(--accent); display: block; }
.hero-sub { font-size: 1.2rem; color: var(--text-body); margin-bottom: 2.5rem; line-height: 1.8; max-width: 520px; }
.hero-cta { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hero-image-wrap { position: relative; display: flex; justify-content: center; }
.hero-portrait {
    width: 100%; max-width: 420px; border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5); position: relative; z-index: 2;
    object-fit: cover; aspect-ratio: 3/4;
}
.hero-glow {
    position: absolute; width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(212,175,55,0.2) 0%, transparent 70%);
    border-radius: 50%; top: 50%; left: 50%;
    transform: translate(-50%, -50%); z-index: 1;
    animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* ===== SECTIONS ===== */
.section-cream { background: var(--cream); padding: 100px 0; color: var(--text-dark); position: relative; }
.section-dark { background: var(--primary-dark); padding: 100px 0; color: var(--text-light); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--primary); margin-bottom: 1rem; }
.section-dark .section-header h2 { color: var(--accent); }
.section-header p { font-size: 1.1rem; color: #666; max-width: 600px; margin: 0 auto; }
.section-dark .section-header p { color: var(--text-muted); }
.divider { width: 60px; height: 3px; background: var(--accent); margin: 0 auto 1.5rem; }

/* ===== ABOUT IVETA ROW ===== */
.about-iveta-row {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: center;
}
.about-iveta-image { display: flex; justify-content: center; }
.iveta-frame {
    width: 280px; height: 350px; border-radius: 16px; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border: 4px solid var(--accent);
}
.iveta-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-iveta-text h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 0.5rem; }
.about-iveta-text .divider { margin: 0 0 1.5rem 0; }
.about-iveta-text p { font-size: 1.05rem; line-height: 1.9; color: #444; margin-bottom: 1.2rem; }

/* ===== FEATURES GRID ===== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.feature-item { text-align: center; padding: 2rem 1.5rem; transition: transform 0.3s ease; }
.feature-item:hover { transform: translateY(-6px); }
.feature-icon {
    width: 72px; height: 72px; margin: 0 auto 1.5rem;
    border-radius: 50%; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(74,20,140,0.25);
}
.feature-icon img { width: 100%; height: 100%; object-fit: cover; }
.feature-item h3 { font-size: 1rem; margin-bottom: 0.8rem; text-transform: uppercase; color: var(--primary); letter-spacing: 1px; }
.feature-item p { font-size: 0.9rem; color: #555; line-height: 1.6; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card {
    background: white; padding: 2.5rem 2rem; border-radius: 16px;
    box-shadow: var(--shadow-card); text-align: center; transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}
.service-card:hover { transform: translateY(-8px); }

/* Pillar icons (za-metoda page) - round */
.pillar-icon {
    width: 180px; height: 180px; margin: 0 auto 1.5rem;
    border-radius: 50%; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 30px rgba(74,20,140,0.2);
}
.pillar-icon img { width: 100%; height: 100%; object-fit: cover; }

/* Service card images (home page) - landscape */
.service-card-img {
    width: 100%; height: 200px; margin-bottom: 1.5rem;
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.service-card-img img { width: 100%; height: 100%; object-fit: cover; }

/* Keep .service-icon for backward compat (text fallback) */
.service-icon {
    width: 64px; height: 64px; margin: 0 auto 1.5rem;
    border-radius: 50%; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.service-icon img { width: 100%; height: 100%; object-fit: cover; }

.service-card h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--primary); }
.service-card p { font-size: 0.95rem; color: #666; margin-bottom: 1.5rem; line-height: 1.6; }
.service-card .price {
    font-family: var(--font-display); font-size: 1.5rem;
    color: var(--accent); font-weight: 700; margin-bottom: 1.5rem;
}

/* ===== PROCESS STEPS ===== */
.process-steps { max-width: 750px; margin: 0 auto; }
.process-step { display: flex; gap: 2rem; margin-bottom: 2.5rem; align-items: flex-start; }
.process-step:last-child { margin-bottom: 0; }
.process-step-number {
    display: flex; flex-direction: column; align-items: center; flex-shrink: 0;
}
.process-num {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--primary); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
    box-shadow: 0 8px 20px rgba(74,20,140,0.3);
    z-index: 2;
}
.process-line {
    width: 2px; flex: 1; min-height: 60px;
    background: linear-gradient(to bottom, var(--primary-light), #E0E0E0);
}
.process-step:last-child .process-line { display: none; }
.process-step-content {
    background: white; padding: 1.8rem 2rem; border-radius: 12px;
    box-shadow: var(--shadow-card); flex: 1;
    border-left: 4px solid var(--accent);
}
.process-step-img {
    width: 100%; height: 180px; margin-bottom: 1.2rem;
    border-radius: 10px; overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.process-step-img img { width: 100%; height: 100%; object-fit: cover; }
.process-step-content h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 0.5rem; }
.process-step-content p { font-size: 0.95rem; color: #555; line-height: 1.7; }

/* ===== SPLIT ===== */
.section-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.split-dark {
    background: var(--primary-dark); padding: 80px 5rem; color: white;
    display: flex; flex-direction: column; justify-content: center;
}
.split-light {
    background: var(--cream); padding: 80px 5rem; color: var(--text-dark);
    display: flex; flex-direction: column; justify-content: center;
}
.split-content { max-width: 480px; }
.split-content h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1.5rem; }
.split-dark .split-content h2 { color: var(--accent); }
.split-light .split-content h2 { color: var(--primary); }
.split-content p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; color: inherit; opacity: 0.9; }
.split-light .split-content p { color: #555; }

/* ===== TESTIMONIALS CAROUSEL ===== */
.testimonials-carousel {
    max-width: 600px; margin: 0 auto; position: relative;
}
.testimonial-slide {
    display: none; animation: fadeInUpReveal 0.4s ease forwards;
}
.testimonial-slide.active { display: block; }
.testimonial-card { text-align: center; padding: 1rem; }
.testimonial-photo {
    width: 100px; height: 100px; border-radius: 50%; overflow: hidden;
    margin: 0 auto 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 3px solid var(--accent);
}
.testimonial-photo img { width: 100%; height: 100%; object-fit: cover; }
.quote { font-family: var(--font-display); font-size: 1.4rem; font-style: italic; margin-bottom: 1.5rem; color: var(--primary); line-height: 1.5; }
.testimonial-author { font-weight: 600; color: var(--primary-light); }

.carousel-dots {
    display: flex; justify-content: center; gap: 10px; margin-top: 1.5rem;
}
.carousel-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: #DDD; border: none; cursor: pointer;
    transition: all 0.3s ease; padding: 0;
}
.carousel-dot.active { background: var(--primary); transform: scale(1.3); }
.carousel-dot:hover { background: var(--accent); }

/* ===== RESULT IMAGE ===== */
.result-image {
    width: 100%; max-width: 400px; height: 200px;
    border-radius: 12px; overflow: hidden; margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-card);
}
.result-image img { width: 100%; height: 100%; object-fit: cover; }

/* ===== TESTIMONIALS ===== */
.testimonial-box { max-width: 500px; margin: 0 auto; text-align: center; }
.testimonial-img {
    width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 2.2rem; font-weight: bold;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.quote { font-family: var(--font-display); font-size: 1.4rem; font-style: italic; margin-bottom: 1.5rem; color: var(--primary); line-height: 1.5; }
.testimonial-author { font-weight: 600; color: var(--primary-light); }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--bg-dark), var(--primary-dark));
    padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: url('/images/astrology-bg.webp') center/cover no-repeat; opacity: 0.1;
}
.cta-content { position: relative; z-index: 2; }
.cta-section h2 { font-size: clamp(2rem, 4vw, 3rem); color: white; margin-bottom: 1rem; }
.cta-section p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--bg-dark), var(--primary-dark));
    padding: 80px 0 60px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: url('/images/cosmic-energy.webp') center/cover no-repeat; opacity: 0.08;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); color: white; margin-bottom: 1rem; }
.page-hero h1 span { color: var(--accent); }
.page-hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item-icon {
    width: 48px; height: 48px; border-radius: 50%; background: var(--primary);
    color: white; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.contact-item h4 { font-size: 1rem; color: var(--primary); margin-bottom: 0.3rem; }
.contact-item p { font-size: 0.95rem; color: #555; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block; font-size: 0.9rem; font-weight: 600; color: var(--primary);
    margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.form-control {
    width: 100%; padding: 14px 18px; border: 2px solid #E0E0E0; border-radius: 8px;
    font-size: 1rem; font-family: var(--font-body); transition: border-color 0.3s ease; background: white;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212,175,55,0.15); }
textarea.form-control { min-height: 150px; resize: vertical; }

/* ===== DIAGNOSTIC TEST ===== */
.test-section {
    background: white; padding: 2rem; border-radius: 16px;
    margin-bottom: 2rem; box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,0.04);
}
.test-section-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 1.5rem; padding-bottom: 1rem;
    border-bottom: 2px solid rgba(212,175,55,0.15);
}
.test-section-icon { font-size: 2rem; line-height: 1; }
.test-section-header h2 {
    font-size: 1.3rem; color: var(--primary); margin: 0;
}
.test-items { display: flex; flex-direction: column; gap: 0.6rem; }

/* Custom checkbox */
.test-check-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 16px; border-radius: 0 10px 10px 0;
    cursor: pointer; transition: all 0.25s ease;
    font-size: 0.95rem; color: #333; line-height: 1.4;
    border-left: 3px solid transparent; margin-left: -3px;
}
.test-check-item:hover { background: rgba(74,20,140,0.03); }
.test-checkbox { display: none; }
.test-check-mark {
    width: 24px; height: 24px; border-radius: 6px;
    border: 2px solid #CCC; flex-shrink: 0;
    transition: all 0.25s ease; position: relative;
}
.test-checkbox:checked + .test-check-mark {
    background: var(--primary); border-color: var(--primary);
    animation: checkBounce 0.3s ease;
}
.test-checkbox:checked + .test-check-mark::after {
    content: ''; position: absolute; top: 3px; left: 7px;
    width: 6px; height: 12px; border: solid white;
    border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.test-check-item:has(.test-checkbox:checked) {
    background: rgba(74,20,140,0.04); font-weight: 500;
    border-left-color: var(--accent);
}

@keyframes checkBounce {
    0% { transform: scale(1); }
    30% { transform: scale(0.85); }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Section completion dot */
.test-section-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #DDD; margin-left: auto; flex-shrink: 0;
    transition: all 0.4s ease;
}
.test-section-dot.filled {
    background: var(--accent);
    box-shadow: 0 0 8px rgba(212,175,55,0.4);
}

/* Astrology atmosphere for test page */
.test-page-section {
    background: var(--cream);
    position: relative; overflow: hidden;
}
.test-page-section::before {
    content: ''; position: absolute; inset: 0;
    background: url('/images/astrology-bg.webp') center/cover no-repeat;
    opacity: 0.06; z-index: 0; pointer-events: none;
}
.test-page-section::after {
    content: '';
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        radial-gradient(1px 1px at 10% 15%, rgba(212,175,55,0.5), transparent),
        radial-gradient(1px 1px at 25% 35%, rgba(212,175,55,0.4), transparent),
        radial-gradient(1px 1px at 40% 10%, rgba(212,175,55,0.3), transparent),
        radial-gradient(1px 1px at 55% 50%, rgba(212,175,55,0.5), transparent),
        radial-gradient(1px 1px at 70% 20%, rgba(212,175,55,0.4), transparent),
        radial-gradient(1px 1px at 85% 40%, rgba(212,175,55,0.3), transparent),
        radial-gradient(1px 1px at 15% 70%, rgba(212,175,55,0.4), transparent),
        radial-gradient(1px 1px at 30% 85%, rgba(212,175,55,0.5), transparent),
        radial-gradient(1px 1px at 60% 75%, rgba(212,175,55,0.3), transparent),
        radial-gradient(1px 1px at 80% 65%, rgba(212,175,55,0.4), transparent),
        radial-gradient(1px 1px at 50% 90%, rgba(212,175,55,0.3), transparent),
        radial-gradient(1px 1px at 90% 80%, rgba(212,175,55,0.5), transparent);
    background-size: 300px 300px;
    animation: starTwinkle 4s ease-in-out infinite;
}
.test-page-section .container { position: relative; z-index: 1; }

@keyframes starTwinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.test-result-screen {
    display: none; text-align: center; padding: 2rem 1rem;
}
.test-result-screen.active { display: block; animation: fadeInUpReveal 0.5s ease forwards; }
.result-image {
    width: 100%; max-width: 400px; height: 200px;
    border-radius: 12px; overflow: hidden; margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-card);
}
.result-image img { width: 100%; height: 100%; object-fit: cover; }
.result-title {
    font-size: 1.8rem; color: var(--primary); margin-bottom: 0.5rem;
    font-family: var(--font-display);
}
.result-score { margin-bottom: 1rem; color: #666; font-size: 0.95rem; }
.result-desc {
    font-size: 1.05rem; color: #555; line-height: 1.8;
    max-width: 520px; margin: 0 auto 2rem;
}
.result-cta { margin-bottom: 1rem; }

/* ===== FOOTER - 4 COLUMN FIX ===== */
.enera-footer {
    background: var(--bg-dark);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}
.enera-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand { }
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--accent);
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 1.5rem; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); transition: all 0.3s ease;
}
.footer-social a svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-social a:hover { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); }
.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: var(--accent); transform: translateX(4px); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact-icon {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(212,175,55,0.1); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; flex-shrink: 0;
}
.footer-contact-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.footer-contact-text a { color: var(--text-muted); }
.footer-contact-text a:hover { color: var(--accent); }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== BOOKING MODAL ===== */
.booking-modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(10,6,20,0.85); backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.booking-modal-container {
    position: relative; background: var(--cream); border-radius: 20px;
    width: 100%; max-width: 680px; max-height: 92vh; overflow: hidden;
    box-shadow: 0 32px 80px rgba(26,15,46,0.45); display: flex; flex-direction: column;
}
.booking-modal-body { flex: 1; overflow-y: auto; background: var(--cream); }
.booking-modal-body iframe { width: 100%; height: 100%; min-height: 520px; border: none; display: block; }
.booking-modal-close {
    position: absolute; top: 14px; right: 14px; z-index: 20;
    background: rgba(26,15,46,0.5); border: none;
    color: white; width: 40px; height: 40px; border-radius: 50%;
    font-size: 1.2rem; cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
}
.booking-modal-close:hover { background: rgba(26,15,46,0.75); transform: scale(1.08); }

/* Modal Alpine transitions */
.modal-enter { transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.modal-enter-start { opacity: 0; }
.modal-enter-end { opacity: 1; }
.modal-leave { transition: all 0.2s ease-in; }
.modal-leave-start { opacity: 1; }
.modal-leave-end { opacity: 0; }

/* Inner container scale for enter (if desired via JS, keep simple for now) */

@media (max-width: 640px) {
    .booking-modal-overlay {
        padding: 0; align-items: flex-end;
        background: rgba(10,6,20,0.9);
    }
    .booking-modal-container {
        border-radius: 20px 20px 0 0; max-height: 94vh;
        box-shadow: 0 -8px 40px rgba(26,15,46,0.4);
    }
    .booking-modal-body iframe { min-height: 480px; }
    .booking-modal-close {
        top: 10px; right: 10px;
        width: 44px; height: 44px;
        background: rgba(26,15,46,0.6);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); }
    .hero-sub { margin: 0 auto 2.5rem; }
    .hero-cta { justify-content: center; }
    .hero-image-wrap { display: none; }
    .about-iveta-row { grid-template-columns: 1fr; text-align: center; }
    .about-iveta-image { order: -1; }
    .iveta-frame { width: 220px; height: 280px; }
    .about-iveta-text .divider { margin: 0 auto 1.5rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .section-split { grid-template-columns: 1fr; }
    .split-dark, .split-light { padding: 60px 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .pillar-icon { width: 140px; height: 140px; }
    .service-card-img { height: 160px; }
    .process-step { gap: 1.5rem; }
    .process-step-img { height: 150px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .hero-v4 { padding: 60px 0 80px; min-height: auto; }
    .iveta-frame { width: 180px; height: 240px; }
    .features-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .section-cream, .section-dark { padding: 60px 0; }
    .btn { padding: 14px 28px; font-size: 0.85rem; }
    .footer-container { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .pillar-icon { width: 130px; height: 130px; }
    .service-card-img { height: 140px; }
    .process-step { flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
    .process-line { display: none; }
    .process-step-content { border-left: none; border-top: 4px solid var(--accent); }
    .process-step-img { height: 140px; }
    .test-section { padding: 1.5rem; }
    .test-section-header h2 { font-size: 1.1rem; }
}

/* ===== ACCESSIBILITY ===== */
/* Skip to content link */
.skip-link:focus {
    left: 50% !important;
    top: 1rem !important;
    width: auto !important;
    height: auto !important;
    padding: 12px 24px !important;
    transform: translateX(-50%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Focus-visible states */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--accent) !important;
    outline-offset: 3px !important;
    border-radius: 4px;
}

/* Disable outline for mouse clicks, keep for keyboard */
a:focus:not(:focus-visible), button:focus:not(:focus-visible) {
    outline: none;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .orb { animation: none !important; }
    .hero-glow { animation: none !important; opacity: 0.8; }
}

/* ===== CSS-ONLY REVEAL ANIMATIONS (no JS observer) ===== */
.reveal {
    opacity: 0;
    animation: fadeInUpReveal 0.6s ease forwards;
}
.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.3s; }
.reveal-delay-3 { animation-delay: 0.5s; }
.reveal-delay-4 { animation-delay: 0.7s; }

/* ===== ENHANCED HOVER EFFECTS (GPU-accelerated) ===== */
@media (hover: hover) {
    .feature-item { will-change: transform; }
    .feature-item:hover { transform: translateY(-6px) scale(1.02); }

    .service-card { will-change: transform; }
    .service-card:hover {
        transform: translateY(-8px) scale(1.01);
    }

    .btn-gold { will-change: transform; }
    .btn-gold:hover {
        transform: translateY(-3px) scale(1.03);
    }

    .btn-outline { will-change: transform; }
    .btn-outline:hover {
        transform: translateY(-3px) scale(1.03);
    }

    .footer-social a { will-change: transform; }
    .footer-social a:hover {
        transform: scale(1.1);
    }

    .footer-col a:hover {
        transform: translateX(6px);
    }
}

/* Touch devices: disable hover effects */
@media (hover: none) {
    .feature-item:hover, .service-card:hover,
    .btn-gold:hover, .btn-outline:hover,
    .footer-social a:hover, .footer-col a:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}
/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeInUpReveal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(50px, -30px); }
    50% { transform: translate(-30px, 50px); }
    75% { transform: translate(30px, 30px); }
}
.animate-in { animation: fadeInUpReveal 0.8s ease forwards; }

.star-bg {
    position: fixed; inset: 0;
    background: radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.3), transparent),
                radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,0.2), transparent),
                radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.3), transparent),
                radial-gradient(1px 1px at 80% 50%, rgba(255,255,255,0.2), transparent);
    background-size: 200px 200px; z-index: -1; pointer-events: none;
}
.energy-orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.15; animation: float 20s ease-in-out infinite; }
.orb-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; left: -100px; }
.orb-2 { width: 300px; height: 300px; background: var(--accent); bottom: -50px; right: -50px; animation-delay: -7s; }
.orb-3 { width: 250px; height: 250px; background: var(--primary-light); top: 50%; left: 50%; animation-delay: -14s; }
