/* ============================================
   MIMAAMAKIMM - Modern Design System
   ============================================ */

/* Design Tokens */
:root {
    /* Brand Colors - Based on Logo */
    --brand-900: #065f5b;
    --brand-800: #087a75;
    --brand-700: #0d9488;
    --brand-600: #0f9fa1;
    --brand-500: #14b8a6;
    --brand-400: #2dd4bf;
    --brand-300: #22d3ee;
    --brand-200: #67e8f9;
    --brand-100: #a5f3fc;
    
    /* Accent - Lime Yellow */
    --accent-600: #9cb820;
    --accent-500: #c7d92b;
    --accent-400: #d4e157;
    --accent-300: #e6ee9c;
    
    /* Neutrals */
    --ink: #0b1f24;
    --text: #1f2937;
    --text-secondary: #4b5563;
    --muted: #6b7280;
    --border: #d1d5db;
    --border-light: #e5e7eb;
    
    /* Surfaces */
    --bg: #f0fdf9;
    --bg-alt: #ecfeff;
    --surface: #ffffff;
    --surface-elevated: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.7);
    --surface-glass-dark: rgba(13, 148, 136, 0.08);
    
    /* Typography */
    --font-display: 'Heebo', 'Segoe UI', sans-serif;
    --font-body: 'Assistant', 'Segoe UI', sans-serif;
    --font-accent: 'Rubik', 'Segoe UI', sans-serif;
    
    /* Type Scale */
    --fs-display: clamp(2.5rem, 5vw, 4rem);
    --fs-h1: clamp(2rem, 4vw, 3rem);
    --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
    --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
    --fs-h4: 1.125rem;
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    --fs-xs: 0.75rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --space-9: 6rem;
    --space-10: 8rem;
    
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 40px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(20, 184, 166, 0.15);
    --shadow-glow-accent: 0 0 40px rgba(199, 217, 43, 0.2);
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --duration-slow: 400ms;
    --duration-slower: 600ms;
    
    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-500) 50%, var(--brand-300) 100%);
    --gradient-brand-vertical: linear-gradient(180deg, var(--brand-700) 0%, var(--brand-400) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-400) 100%);
    --gradient-hero: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(34, 211, 238, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(199, 217, 43, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 80% at 50% 80%, rgba(13, 148, 136, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--brand-800) 0%, var(--brand-600) 35%, var(--brand-400) 70%, var(--brand-300) 100%);
    --gradient-surface: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 253, 249, 0.9) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    --gradient-section: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
    --gradient-section-alt: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
    
    /* Patterns */
    --pattern-dots: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='%2314b8a6' fill-opacity='0.08'/%3E%3C/svg%3E");
    --pattern-grid: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40L40 0M0 0L40 40' stroke='%2314b8a6' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    direction: rtl;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ============================================
   Utilities
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.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;
}

.skip-to-content {
    position: absolute;
    top: -100%;
    right: var(--space-4);
    background: var(--brand-700);
    color: white;
    padding: var(--space-3) var(--space-5);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    z-index: 10000;
    transition: top var(--duration-fast) var(--ease-out);
}

.skip-to-content:focus {
    top: 0;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes blob {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

/* Reveal animations for scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ============================================
   Header
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-3) 0;
    transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-6);
}

.logo img {
    height: 52px;
    width: auto;
    transition: transform var(--duration-normal) var(--ease-out);
}

.logo:hover img {
    transform: scale(1.03);
}

.nav-list {
    display: flex;
    gap: var(--space-1);
    align-items: center;
}

.nav-list a {
    display: block;
    padding: var(--space-2) var(--space-4);
    font-weight: 600;
    font-size: var(--fs-small);
    color: var(--text);
    border-radius: var(--radius-full);
    transition: all var(--duration-fast) var(--ease-out);
    position: relative;
}

.nav-list a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-brand);
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--duration-fast) var(--ease-out);
    z-index: -1;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--brand-700);
}

.nav-list a:hover::before {
    opacity: 0.08;
}

.header-contact .phone-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--accent-500);
    color: var(--ink);
    font-weight: 700;
    font-size: var(--fs-small);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm), 0 0 0 0 rgba(199, 217, 43, 0.4);
    transition: all var(--duration-normal) var(--ease-out);
}

.header-contact .phone-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 20px rgba(199, 217, 43, 0.3);
}

.header-contact .phone-link svg {
    width: 16px;
    height: 16px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--brand-700);
    border-radius: 2px;
    transition: all var(--duration-normal) var(--ease-out);
}

.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(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding: var(--space-10) 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--pattern-dots);
    opacity: 0.5;
}

/* Decorative blobs */
.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: rgba(199, 217, 43, 0.15);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    filter: blur(60px);
    animation: blob 15s ease-in-out infinite;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
}

.hero-copy {
    animation: fadeInUp var(--duration-slower) var(--ease-out);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: white;
    font-weight: 600;
    font-size: var(--fs-small);
}

.hero-title {
    font-size: var(--fs-display);
    color: white;
    margin: var(--space-5) 0 var(--space-4);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: var(--fs-h4);
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.hero-stats {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-7);
    flex-wrap: wrap;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    min-width: 140px;
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out);
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.hero-stat strong {
    display: block;
    font-size: var(--fs-h2);
    font-weight: 800;
    color: white;
    font-family: var(--font-display);
}

.hero-stat span {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.85);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-5);
    animation: fadeIn var(--duration-slower) var(--ease-out) 200ms both;
}

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

.hero-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-5) var(--space-6);
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    max-width: 360px;
}

.hero-card p {
    margin-bottom: var(--space-2);
}

.hero-card p:last-child {
    margin-bottom: 0;
    font-size: var(--fs-small);
    opacity: 0.85;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary,
.btn-secondary,
.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-weight: 700;
    font-size: var(--fs-body);
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-out);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-500);
    color: var(--ink);
    box-shadow: var(--shadow-md), 0 0 0 0 rgba(199, 217, 43, 0.4);
}

.btn-primary:hover {
    background: var(--accent-600);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(199, 217, 43, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--brand-700);
    border: 2px solid var(--brand-700);
}

.btn-secondary:hover {
    background: var(--brand-700);
    color: white;
    transform: translateY(-2px);
}

/* Hero button variant */
.hero .btn-primary {
    background: var(--accent-500);
    color: var(--ink);
}

/* ============================================
   Quote Section
   ============================================ */
.quote-section {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, rgba(199, 217, 43, 0.1) 50%, rgba(34, 211, 238, 0.08) 100%);
    padding: var(--space-7) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 10%;
    font-size: 200px;
    font-family: serif;
    color: var(--brand-500);
    opacity: 0.08;
    line-height: 1;
}

.quote {
    font-size: var(--fs-h3);
    font-style: italic;
    color: var(--brand-800);
    font-family: var(--font-display);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: var(--space-9) 0;
    position: relative;
}

.section--alt {
    background: var(--gradient-section);
}

.section--soft {
    background: var(--gradient-section-alt);
}

.section--soft-reverse {
    background: linear-gradient(180deg, rgba(199, 217, 43, 0.05) 0%, rgba(34, 211, 238, 0.05) 50%, rgba(13, 148, 136, 0.05) 100%);
}

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

.section-header h2 {
    font-size: var(--fs-h2);
    color: var(--brand-800);
    margin-bottom: var(--space-4);
}

.section-header p {
    font-size: var(--fs-h4);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.section-title {
    font-size: var(--fs-h2);
    color: var(--brand-800);
    text-align: center;
    margin-bottom: var(--space-6);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-brand);
    margin: var(--space-4) auto 0;
    border-radius: var(--radius-full);
}

/* ============================================
   Cards - Glass Morphism
   ============================================ */
.card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

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

.card h3 {
    font-size: var(--fs-h3);
    color: var(--brand-800);
    margin-bottom: var(--space-3);
}

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

/* Grid Layouts */
.grid {
    display: grid;
    gap: var(--space-6);
}

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

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

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

/* Values List */
.values-list {
    margin-top: var(--space-5);
}

.values-list li {
    padding: var(--space-3) 0;
    padding-right: var(--space-6);
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent-500);
    font-weight: 700;
    font-size: 1.2em;
}

/* Gender Segregation Note */
.gender-segregation-note {
    margin-top: var(--space-7);
    background: linear-gradient(135deg, rgba(199, 217, 43, 0.1) 0%, rgba(34, 211, 238, 0.08) 100%);
    border: 1px solid rgba(199, 217, 43, 0.2);
    text-align: center;
}

/* ============================================
   Pills / Tags
   ============================================ */
.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
}

.pill {
    padding: var(--space-3) var(--space-5);
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--brand-700);
    box-shadow: var(--shadow-xs);
    transition: all var(--duration-fast) var(--ease-out);
}

.pill:hover {
    background: var(--brand-700);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Service Cards
   ============================================ */
.service-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.service-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

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

.service-card .service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(34, 211, 238, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    transition: all var(--duration-normal) var(--ease-out);
}

.service-card:hover .service-icon {
    background: var(--gradient-brand);
    transform: scale(1.1) rotate(-5deg);
}

.service-card .service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--brand-700);
    transition: color var(--duration-fast) var(--ease-out);
}

.service-card:hover .service-icon svg {
    color: white;
}

.service-card h3 {
    font-size: var(--fs-h3);
    color: var(--brand-800);
    margin-bottom: var(--space-3);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-5);
    line-height: 1.7;
}

/* ============================================
   Steps Section
   ============================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-6);
    counter-reset: step;
}

.step-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--border-light);
    text-align: center;
    position: relative;
    transition: all var(--duration-normal) var(--ease-out);
}

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

.step-number {
    width: 56px;
    height: 56px;
    background: var(--gradient-brand);
    color: white;
    font-size: var(--fs-h3);
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    box-shadow: var(--shadow-md);
}

.step-card h3 {
    font-size: var(--fs-h4);
    color: var(--brand-800);
    margin-bottom: var(--space-3);
}

.step-card p {
    color: var(--text-secondary);
    font-size: var(--fs-small);
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, rgba(199, 217, 43, 0.08) 100%);
    border: 1px solid rgba(13, 148, 136, 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-6);
    align-items: center;
}

.cta-banner h3 {
    font-size: var(--fs-h3);
    color: var(--brand-800);
    margin-bottom: var(--space-2);
}

.cta-banner p {
    color: var(--text-secondary);
}

/* ============================================
   Testimonials - 3D Card Flip Design
   ============================================ */
.testimonials-section {
    padding: var(--space-9) 0;
    background: var(--gradient-section-alt);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--pattern-grid);
    opacity: 0.3;
}

/* Testimonials Carousel Container */
.testimonials-carousel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 3D Card Row Container */
.testimonials-stack {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    perspective: 1500px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* Individual Flip Card */
.flip-card {
    position: relative;
    width: 100%;
    min-height: 320px;
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    cursor: default;
    will-change: transform, opacity;
    display: none;
    opacity: 0;
    transform: rotateY(90deg) scale(0.8);
}

/* Active cards - visible in current view */
.flip-card.active {
    display: block;
    opacity: 1;
    transform: rotateY(0deg) scale(1);
}

/* Staggered entrance animation for 3D effect */
.flip-card.active:nth-child(3n+1) {
    transition-delay: 0ms;
}

.flip-card.active:nth-child(3n+2) {
    transition-delay: 150ms;
}

.flip-card.active:nth-child(3n) {
    transition-delay: 300ms;
}

/* Card flipping out to the left (next direction) */
.flip-card.flip-out-next {
    display: block;
    opacity: 0;
    transform: translateX(50px) rotateY(-90deg) scale(0.8);
}

/* Card flipping out to the right (prev direction) */
.flip-card.flip-out-prev {
    display: block;
    opacity: 0;
    transform: translateX(-50px) rotateY(90deg) scale(0.8);
}

/* Card flipping in from right (next direction) */
.flip-card.flip-in-next {
    display: block;
    opacity: 0;
    transform: translateX(-50px) rotateY(90deg) scale(0.8);
}

/* Card flipping in from left (prev direction) */
.flip-card.flip-in-prev {
    display: block;
    opacity: 0;
    transform: translateX(50px) rotateY(-90deg) scale(0.8);
}

/* Flip Card Inner Container */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* Card Front Face */
.flip-card-front {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
    backface-visibility: hidden;
    background: var(--surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    border: 1px solid var(--border-light);
    box-shadow: 
        0 15px 35px -10px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.flip-card:hover .flip-card-front {
    box-shadow: 
        0 20px 45px -12px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    transform: translateY(-4px);
}

/* Decorative gradient overlay */
.flip-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-brand);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

/* Quote Icon */
.card-quote-icon {
    position: absolute;
    top: var(--space-3);
    right: var(--space-4);
    font-size: 80px;
    font-family: 'Georgia', serif;
    color: var(--accent-500);
    opacity: 0.15;
    line-height: 0.8;
    pointer-events: none;
    z-index: 0;
}

/* Testimonial Text */
.flip-card .testimonial-text {
    font-size: var(--fs-body);
    color: var(--text);
    line-height: 1.8;
    font-style: italic;
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-4);
    text-align: right;
    flex: 1;
    font-family: var(--font-body);
}

/* Testimonial Author */
.flip-card .testimonial-author {
    font-weight: 700;
    color: var(--brand-700);
    font-size: var(--fs-small);
    text-align: right;
    padding-top: var(--space-3);
    border-top: 2px solid var(--accent-400);
    margin-top: auto;
    font-family: var(--font-display);
}

/* Card Number Indicator */
.card-number {
    position: absolute;
    bottom: var(--space-3);
    left: var(--space-4);
    font-size: var(--fs-xs);
    color: var(--muted);
    font-weight: 500;
}

.card-number .current {
    color: var(--brand-600);
    font-weight: 700;
}

/* Navigation Arrows - Positioned for single card */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: var(--surface);
    border: 2px solid var(--accent-500);
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

.testimonial-nav:hover {
    background: var(--accent-500);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 10px 30px rgba(199, 217, 43, 0.4);
}

.testimonial-nav:hover .nav-arrow {
    border-color: var(--ink);
}

.testimonial-nav:active {
    transform: translateY(-50%) scale(1.05);
}

.testimonial-nav-prev {
    right: -80px;
}

.testimonial-nav-next {
    left: -80px;
}

.nav-arrow {
    width: 14px;
    height: 14px;
    border-style: solid;
    border-width: 3px 3px 0 0;
    border-color: var(--accent-600);
    transition: border-color 0.3s ease;
}

.testimonial-nav-prev .nav-arrow {
    transform: rotate(45deg);
    margin-left: -4px;
}

.testimonial-nav-next .nav-arrow {
    transform: rotate(-135deg);
    margin-right: -4px;
}

/* Testimonials Indicators */
.testimonials-indicators {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-7);
}

.testimonial-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.testimonial-indicator:hover {
    background: var(--brand-400);
    transform: scale(1.3);
}

.testimonial-indicator.active {
    background: var(--accent-500);
    transform: scale(1.4);
    box-shadow: 0 0 12px rgba(199, 217, 43, 0.6);
}

/* Pause indicator on hover */
.testimonials-carousel:hover .flip-card {
    /* Pauses JS autoplay via event listener */
}

/* Flip animation keyframes */
@keyframes flipCardOut {
    0% {
        transform: translateY(0) scale(1) rotateY(0deg);
        opacity: 1;
    }
    100% {
        transform: translateX(50px) scale(0.9) rotateY(-90deg);
        opacity: 0;
    }
}

@keyframes flipCardIn {
    0% {
        transform: translateX(-50px) scale(0.9) rotateY(90deg);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1) rotateY(0deg);
        opacity: 1;
    }
}

/* Progress bar for auto-advance */
.testimonials-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-light);
    border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
    overflow: hidden;
}

.testimonials-progress-bar {
    height: 100%;
    background: var(--gradient-brand);
    width: 0%;
    transition: width 0.1s linear;
}

/* ============================================
   Media Section
   ============================================ */
.media-section {
    padding: var(--space-9) 0;
    background: var(--gradient-section);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-5);
}

.media-item {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out);
}

.media-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-300);
}

.media-item a {
    display: block;
}

.media-title {
    font-size: var(--fs-body);
    color: var(--brand-800);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: var(--space-3);
}

.media-source {
    font-size: var(--fs-small);
    color: var(--brand-500);
    font-weight: 700;
}

/* ============================================
   Trust Section
   ============================================ */
.trust-section {
    padding: var(--space-9) 0;
    background: var(--gradient-section-alt);
}

.trust-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-5);
    margin-bottom: var(--space-7);
}

.metric-item {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all var(--duration-normal) var(--ease-out);
}

.metric-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.metric-number {
    font-size: var(--fs-display);
    font-weight: 800;
    font-family: var(--font-display);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: var(--space-2);
}

.certifications-note {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    border: 1px solid var(--border-light);
}

.certifications-note h3 {
    font-size: var(--fs-h3);
    color: var(--brand-800);
    margin-bottom: var(--space-3);
}

.certifications-note p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   Team Section
   ============================================ */
.team-section {
    padding: var(--space-9) 0;
    background: var(--gradient-section);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--pattern-dots);
    opacity: 0.5;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-5);
    position: relative;
    z-index: 1;
}

.team-member {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all var(--duration-normal) var(--ease-out);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.team-photo {
    width: 110px;
    height: 110px;
    margin: 0 auto var(--space-4);
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--brand-100);
    transition: all var(--duration-normal) var(--ease-out);
}

.team-member:hover .team-photo {
    border-color: var(--brand-400);
    transform: scale(1.05);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: var(--fs-body);
    color: var(--ink);
    margin-bottom: var(--space-2);
}

.team-member p {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    line-height: 1.5;
}

.team-cta {
    text-align: center;
    margin-top: var(--space-8);
    position: relative;
    z-index: 1;
}

.team-cta p {
    font-size: var(--fs-h4);
    color: var(--ink);
    margin-bottom: var(--space-5);
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-section {
    padding: var(--space-9) 0;
    background: var(--gradient-section-alt);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
    position: relative;
    min-height: 200px;
}

.gallery-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-secondary);
}

.gallery-loading.hidden {
    display: none;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.gallery-item:hover::after {
    opacity: 1;
}

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

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-lg);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--ink);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}

.lightbox-close:hover {
    background: var(--accent-500);
    transform: translateX(-50%) scale(1.1);
}

/* ============================================
   Business Info Section
   ============================================ */
.business-info-section {
    padding: var(--space-9) 0;
    background: var(--gradient-section);
}

.business-info-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.business-info-item {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--border-light);
}

.business-info-item h3 {
    font-size: var(--fs-h3);
    color: var(--brand-800);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--accent-500);
    display: inline-block;
}

.business-info-item p {
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.business-info-item a {
    color: var(--brand-700);
    font-weight: 500;
}

.business-info-item a:hover {
    color: var(--brand-500);
    text-decoration: underline;
}

.business-info-item .note {
    font-size: var(--fs-small);
    font-style: italic;
    color: var(--muted);
    margin-top: var(--space-3);
}

.map-placeholder {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    border: 1px solid var(--border-light);
}

.map-placeholder p {
    color: var(--brand-800);
    font-weight: 500;
}

.map-placeholder .note {
    font-size: var(--fs-small);
    color: var(--muted);
    margin-top: var(--space-2);
}

/* ============================================
   Accordion / FAQ
   ============================================ */
.accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.accordion-item {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.accordion-item:hover {
    border-color: var(--brand-300);
}

.accordion-item.open {
    box-shadow: var(--shadow-md);
    border-color: var(--brand-400);
}

.accordion-header {
    width: 100%;
    padding: var(--space-5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--fs-body);
    font-weight: 700;
    color: var(--brand-800);
    text-align: right;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
}

.accordion-header:hover {
    background: rgba(13, 148, 136, 0.04);
}

.accordion-header span {
    width: 28px;
    height: 28px;
    background: var(--brand-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--brand-700);
    transition: all var(--duration-normal) var(--ease-out);
    flex-shrink: 0;
}

.accordion-item.open .accordion-header span {
    background: var(--brand-500);
    color: white;
    transform: rotate(45deg);
}

.accordion-panel {
    padding: 0 var(--space-5) var(--space-5);
    color: var(--text-secondary);
    line-height: 1.8;
    display: none;
}

.accordion-item.open .accordion-panel {
    display: block;
    animation: fadeIn var(--duration-normal) var(--ease-out);
}

.accordion-panel ul {
    margin: var(--space-3) 0;
    padding-right: var(--space-5);
}

.accordion-panel li {
    margin-bottom: var(--space-2);
    position: relative;
}

.accordion-panel li::before {
    content: '•';
    position: absolute;
    right: calc(-1 * var(--space-4));
    color: var(--brand-500);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: var(--space-9) 0;
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--pattern-dots);
    opacity: 0.3;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-form-wrapper h2,
.contact-info h2 {
    font-size: var(--fs-h2);
    color: var(--accent-400);
    margin-bottom: var(--space-5);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: white;
    font-family: inherit;
    font-size: var(--fs-body);
    transition: all var(--duration-fast) var(--ease-out);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-400);
    box-shadow: 0 0 0 3px rgba(199, 217, 43, 0.2);
}

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

.contact-form .btn-primary {
    align-self: flex-start;
}

.contact-info p {
    font-size: var(--fs-body);
    line-height: 1.8;
    margin-bottom: var(--space-5);
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-normal) var(--ease-out);
}

.social-link svg {
    width: 22px;
    height: 22px;
    color: white;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.social-link.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
}

.social-link.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.social-link.email:hover {
    background: var(--accent-500);
    border-color: var(--accent-500);
}

.social-link.email:hover svg {
    color: var(--ink);
}

/* Form Messages */
.form-message {
    padding: var(--space-4);
    border-radius: var(--radius-md);
    margin-top: var(--space-4);
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--ink);
    color: white;
    padding: var(--space-7) 0 var(--space-5);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.footer-logo {
    height: 80px;
    width: auto;
}

.footer-contact {
    text-align: right;
}

.footer-contact p {
    margin-bottom: var(--space-2);
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
    color: var(--brand-300);
    transition: color var(--duration-fast) var(--ease-out);
}

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

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-normal) var(--ease-out);
}

.footer-social a:hover {
    background: var(--brand-500);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--fs-small);
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--duration-normal) var(--ease-out);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    color: white;
}

/* ============================================
   SUB-PAGE STYLES
   ============================================ */

/* Page Header - Stunning Hero for Sub-pages */
.page-header {
    position: relative;
    background: var(--gradient-hero);
    padding: var(--space-10) 0 var(--space-8);
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--pattern-dots);
    opacity: 0.4;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
    background: var(--bg);
    border-radius: 50%;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    animation: float 4s ease-in-out infinite;
}

.page-header-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.page-header h1 {
    font-size: var(--fs-h1);
    color: white;
    margin-bottom: var(--space-4);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.page-header-subtitle {
    font-size: var(--fs-h4);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-5);
    font-size: var(--fs-small);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--duration-fast) var(--ease-out);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-current {
    color: var(--accent-400);
}

/* Intro Section */
.intro-section {
    padding: var(--space-8) 0;
    background: var(--surface);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    font-size: var(--fs-h4);
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: var(--space-4);
}

.intro-content p:last-child {
    margin-bottom: 0;
}

/* Page Layout with Sidebar */
.page-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: var(--space-7);
    align-items: start;
}

.page-aside {
    position: relative;
}

.page-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-7);
}

/* Table of Contents */
.toc {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    position: sticky;
    top: 100px;
}

.toc-toggle {
    display: none;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--brand-800);
    padding: var(--space-3);
    cursor: pointer;
}

.toc h3 {
    font-size: var(--fs-body);
    color: var(--brand-800);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--accent-500);
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.toc-list a {
    display: block;
    padding: var(--space-2) var(--space-3);
    font-size: var(--fs-small);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast) var(--ease-out);
}

.toc-list a:hover,
.toc-list a.active {
    background: rgba(13, 148, 136, 0.08);
    color: var(--brand-700);
}

.toc-list a.active {
    font-weight: 600;
    border-right: 3px solid var(--brand-500);
}

/* Summary Cards Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-5);
}

.summary-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-brand);
}

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

.summary-card h3 {
    font-size: var(--fs-body);
    color: var(--brand-800);
    margin-bottom: var(--space-2);
}

.summary-card p {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Content Sections */
.content-section {
    scroll-margin-top: 100px;
}

.content-section h2 {
    font-size: var(--fs-h3);
    color: var(--brand-800);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--accent-500);
    display: inline-block;
}

.content-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.content-section ul {
    margin: var(--space-4) 0;
    padding-right: var(--space-5);
}

.content-section li {
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    position: relative;
}

.content-section li::before {
    content: '•';
    position: absolute;
    right: calc(-1 * var(--space-4));
    color: var(--brand-500);
    font-weight: 700;
}

/* Therapy Types Cards */
.therapy-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-5);
}

.therapy-type-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.therapy-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-brand-vertical);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.therapy-type-card:hover {
    transform: translateX(-8px);
    box-shadow: var(--shadow-lg);
}

.therapy-type-card:hover::before {
    opacity: 1;
}

.therapy-type-card h3 {
    font-size: var(--fs-h4);
    color: var(--brand-800);
    margin-bottom: var(--space-3);
}

.therapy-type-card p {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Feature Cards with Icons */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-5);
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.feature-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(34, 211, 238, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover .feature-card-icon {
    background: var(--gradient-brand);
    transform: scale(1.1) rotate(-5deg);
}

.feature-card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--brand-700);
    transition: color var(--duration-fast) var(--ease-out);
}

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

.feature-card h3 {
    font-size: var(--fs-h4);
    color: var(--brand-800);
    margin-bottom: var(--space-3);
}

.feature-card p {
    font-size: var(--fs-small);
    color: var(--text-secondary);
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    position: relative;
    padding-right: var(--space-8);
}

.process-steps::before {
    content: '';
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--brand-500), var(--brand-300));
    border-radius: var(--radius-full);
}

.process-step {
    display: flex;
    gap: var(--space-5);
    align-items: flex-start;
    position: relative;
}

.process-step-number {
    width: 44px;
    height: 44px;
    background: var(--gradient-brand);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--fs-h4);
    flex-shrink: 0;
    position: absolute;
    right: calc(-1 * var(--space-8) + 0px);
    box-shadow: var(--shadow-md);
}

.process-step-content {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    flex: 1;
}

.process-step-content h4 {
    font-size: var(--fs-body);
    color: var(--brand-800);
    margin-bottom: var(--space-2);
}

.process-step-content p {
    font-size: var(--fs-small);
    color: var(--text-secondary);
    margin: 0;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, rgba(199, 217, 43, 0.08) 100%);
    border: 1px solid rgba(13, 148, 136, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-7);
    text-align: center;
}

.cta-box h3 {
    font-size: var(--fs-h3);
    color: var(--brand-800);
    margin-bottom: var(--space-3);
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: var(--space-5);
}

/* ============================================
   Focus States (Accessibility)
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--accent-500);
    outline-offset: 2px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-logo {
        max-width: 220px;
    }
    
    .page-layout {
        grid-template-columns: 1fr;
    }
    
    .toc {
        position: static;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .cta-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-stack {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    .flip-card-front {
        min-height: 300px;
    }
    
    .testimonial-nav-prev {
        right: -50px;
    }
    
    .testimonial-nav-next {
        left: -50px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        padding: var(--space-10) var(--space-5) var(--space-5);
        gap: 0;
        box-shadow: var(--shadow-xl);
        z-index: 1000;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform var(--duration-normal) var(--ease-out);
    }
    
    .nav-list.active {
        display: flex;
        transform: translateX(0);
    }
    
    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-list a {
        padding: var(--space-4);
        border-radius: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-contact {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-8) 0;
    }
    
    .hero-card {
        display: none;
    }
    
    .section {
        padding: var(--space-8) 0;
    }
    
    .section-title {
        font-size: var(--fs-h3);
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .testimonials-stack {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        padding: 0;
    }
    
    .flip-card-front {
        min-height: 280px;
        padding: var(--space-5);
    }
    
    .card-quote-icon {
        font-size: 60px;
        right: var(--space-3);
    }
    
    .flip-card .testimonial-text {
        font-size: var(--fs-small);
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-nav-prev {
        right: 5px;
    }
    
    .testimonial-nav-next {
        left: 5px;
    }
    
    .nav-arrow {
        width: 10px;
        height: 10px;
    }
    
    .media-grid,
    .trust-metrics,
    .service-overview,
    .steps {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .page-header {
        padding: var(--space-8) 0 var(--space-6);
    }
    
    .page-header h1 {
        font-size: var(--fs-h2);
    }
    
    .toc-toggle {
        display: flex;
    }
    
    .toc-list {
        display: none;
        margin-top: var(--space-3);
    }
    
    .toc.open .toc-list {
        display: flex;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        padding-right: var(--space-6);
    }
    
    .process-steps::before {
        right: 16px;
    }
    
    .process-step-number {
        right: calc(-1 * var(--space-6) + 0px);
        width: 36px;
        height: 36px;
        font-size: var(--fs-small);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .hero-stat {
        min-width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .quote {
        font-size: var(--fs-body);
        padding: 0 var(--space-2);
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .hero-actions {
        flex-direction: column;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .header,
    .footer,
    .whatsapp-float,
    .mobile-menu-toggle {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        background: none;
        color: black;
        min-height: auto;
        padding: var(--space-4) 0;
    }
    
    .hero-title {
        color: black;
    }
}
