/* ===================================================
   TechRepair Paris — Premium Home Service Website
   Professional, trust-building, responsive design
   =================================================== */

/* ===== CSS VARIABLES / DESIGN TOKENS ===== */
:root {
    /* Primary Palette — Deep Navy / Electric Blue */
    --primary-900: #0a1628;
    --primary-800: #0d1f3c;
    --primary-700: #122b54;
    --primary-600: #1a3a6e;
    --primary-500: #2563eb;
    --primary-400: #3b82f6;
    --primary-300: #60a5fa;
    --primary-200: #93c5fd;
    --primary-100: #dbeafe;

    /* Accent — Cyan / Electric */
    --accent-500: #06b6d4;
    --accent-400: #22d3ee;
    --accent-300: #67e8f9;

    /* Success */
    --success-500: #10b981;
    --success-400: #34d399;

    /* Warning */
    --warning-500: #f59e0b;
    --warning-400: #fbbf24;

    /* Danger */
    --danger-500: #ef4444;

    /* Neutrals */
    --gray-950: #030712;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-500) 0%, var(--accent-500) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 40%, #0c1d3a 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    --gradient-text: linear-gradient(135deg, var(--primary-400) 0%, var(--accent-400) 100%);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.3);
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ===== UTILITIES ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

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

.text-success { color: var(--success-400) !important; }
.text-accent { color: var(--accent-400) !important; }
.text-warning { color: var(--warning-400) !important; }

.icon-xs { width: 16px; height: 16px; }
.icon-sm { width: 20px; height: 20px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

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

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

.btn-full {
    width: 100%;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo-city {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-400);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

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

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-400);
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-phone:hover {
    color: var(--accent-300);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

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

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

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

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

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-hero);
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 30%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success-400);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-subtitle strong {
    color: var(--success-400);
    font-weight: 700;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-mono);
}

.stat-suffix {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-400);
}

.stat-label {
    width: 100%;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    margin-left: auto;
}

.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

.hero-float-card .float-title {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-float-card .float-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
}

.hero-float-card .float-value.text-success {
    color: var(--success-400) !important;
}

.card-1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    right: -20px;
    animation-delay: 1.3s;
}

.card-3 {
    bottom: 5%;
    left: 10%;
    animation-delay: 2.6s;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    animation: bounce 2s infinite;
    z-index: 2;
}

/* ===== TRUST BANNER ===== */
.trust-banner {
    background: var(--primary-900);
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
}

.trust-item i {
    color: var(--accent-400);
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
}

.trust-item span {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-500);
    margin-bottom: 12px;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--primary-400);
    opacity: 0.5;
}

.section-tag::before { right: calc(100% + 12px); }
.section-tag::after { left: calc(100% + 12px); }

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== SERVICES ===== */
.services {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

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

.service-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--primary-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-base);
}

.service-card:hover .service-icon-wrap {
    background: var(--gradient-primary);
}

.service-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-500);
    transition: var(--transition-base);
}

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

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-list {
    margin-bottom: 20px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-600);
    padding: 4px 0;
}

.service-list li i {
    color: var(--success-500);
    flex-shrink: 0;
}

.service-price-tag {
    font-size: 0.9rem;
    color: var(--gray-500);
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.service-price-tag strong {
    font-size: 1.3rem;
    color: var(--primary-500);
    font-weight: 800;
}

/* ===== PRICING ===== */
.pricing {
    padding: var(--section-padding);
    background: var(--white);
}

.pricing-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-notice i {
    color: var(--success-500);
    flex-shrink: 0;
}

.pricing-notice p {
    font-size: 0.9rem;
    color: var(--gray-700);
}

.pricing-tables {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.price-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition-base);
    position: relative;
}

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

.price-table.featured {
    border-color: var(--primary-400);
    box-shadow: var(--shadow-glow);
    transform: scale(1.02);
}

.price-table.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.price-table-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-table-header {
    background: var(--primary-900);
    color: var(--white);
    padding: 28px;
    text-align: center;
}

.price-table-header i {
    color: var(--accent-400);
    margin-bottom: 12px;
}

.price-table-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.price-table-body {
    padding: 8px 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition-fast);
}

.price-row:last-child {
    border-bottom: none;
}

.price-row:hover {
    background: var(--gray-50);
}

.price-row.highlight {
    background: rgba(16, 185, 129, 0.05);
}

.price-service {
    font-size: 0.88rem;
    color: var(--gray-700);
}

.price-amount {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-600);
    white-space: nowrap;
}

.price-amount.free {
    color: var(--success-500);
    font-weight: 800;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: var(--section-padding);
    background: var(--primary-900);
    color: var(--white);
}

.how-it-works .section-title {
    color: var(--white);
}

.how-it-works .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.how-it-works .section-tag {
    color: var(--accent-400);
}

.how-it-works .section-tag::before,
.how-it-works .section-tag::after {
    background: var(--accent-400);
}

.steps-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 1;
    max-width: 260px;
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    position: relative;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
    font-family: var(--font-mono);
    position: absolute;
    top: 12px;
    right: 16px;
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.step-icon i {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    padding: 0 8px;
    color: rgba(255, 255, 255, 0.15);
}

.step-connector i {
    width: 24px;
    height: 24px;
}

/* ===== COVERAGE ===== */
.coverage {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.coverage-content .section-title {
    text-align: left;
}

.coverage-content .section-tag {
    display: inline-block;
}

.coverage-content .section-tag::before {
    display: none;
}

.coverage-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
}

.coverage-text strong {
    color: var(--success-500);
}

.coverage-zones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.zone-group {
    padding: 14px 18px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition-fast);
}

.zone-group:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-sm);
}

.zone-group h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.zone-group h4 i {
    color: var(--primary-500);
}

.zone-group p {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.coverage-map {
    position: relative;
}

.map-image {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.map-overlay {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
}

.map-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(16px);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

.map-badge i {
    color: var(--accent-400);
}

.map-badge strong {
    display: block;
    font-size: 1rem;
}

.map-badge span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: var(--section-padding);
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.testimonial-stars {
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.testimonial-text {
    font-size: 0.92rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 18px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-900);
}

.testimonial-author span {
    font-size: 0.78rem;
    color: var(--gray-400);
}

/* ===== FAQ ===== */
.faq {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item.active {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-500);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--gray-400);
    transition: var(--transition-base);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-500);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 18px;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition-fast);
}

.contact-card:hover {
    border-color: var(--primary-300);
    transform: translateX(4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    width: 22px;
    height: 22px;
    color: var(--primary-500);
}

.contact-icon.whatsapp {
    background: #dcfce7;
}

.contact-icon.whatsapp i {
    color: #16a34a;
}

.contact-icon.email {
    background: #fef3c7;
}

.contact-icon.email i {
    color: #d97706;
}

.contact-icon.location {
    background: #ede9fe;
}

.contact-icon.location i {
    color: #7c3aed;
}

.contact-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.contact-card a {
    font-size: 0.95rem;
    color: var(--primary-500);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--primary-400);
}

.contact-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.contact-social {
    margin-top: 8px;
}

.contact-social h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-link i {
    width: 20px;
    height: 20px;
    color: var(--gray-600);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
}

.social-link:hover i {
    color: var(--white);
}

/* Contact Form */
.contact-form {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--gray-800);
    background: var(--white);
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--gray-500);
}

.form-note i {
    color: var(--success-500);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-900);
    color: var(--white);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
    line-height: 1.7;
}

.footer-badges {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-badge i {
    color: var(--accent-400);
}

.footer-links-group h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-group li a,
.footer-links-group li span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

.footer-links-group li a:hover {
    color: var(--accent-400);
    transform: translateX(4px);
}

.footer-links-group li i {
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

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

/* ===== FLOATING CTA ===== */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-base);
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.float-whatsapp,
.float-phone {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.float-whatsapp {
    background: #25d366;
    color: var(--white);
}

.float-phone {
    background: var(--gradient-primary);
    color: var(--white);
}

.float-whatsapp:hover,
.float-phone:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.float-whatsapp i,
.float-phone i {
    width: 24px;
    height: 24px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-900);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-base);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-500);
    transform: translateY(-4px);
}

.back-to-top i {
    width: 20px;
    height: 20px;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40%, 43% { transform: translateX(-50%) translateY(-12px); }
    70% { transform: translateX(-50%) translateY(-6px); }
    90% { transform: translateX(-50%) translateY(-3px); }
}

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

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== RESPONSIVE ===== */

/* Tablet — 1024px */
@media (max-width: 1024px) {
    :root { --section-padding: 80px 0; }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }

    .hero-image {
        max-width: 420px;
        margin: 0 auto;
    }

    .hero-float-card.card-1 { left: 0; }
    .hero-float-card.card-2 { right: 0; }

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

    .pricing-tables {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .price-table.featured { transform: none; }
    .price-table.featured:hover { transform: translateY(-4px); }

    .steps-grid { flex-wrap: wrap; gap: 16px; }
    .step-connector { display: none; }
    .step-card { min-width: calc(50% - 8px); }

    .coverage-grid { grid-template-columns: 1fr; gap: 40px; }

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

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

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

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

    /* Admin dashboard responsive */
    .stats-summary { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile — 768px */
@media (max-width: 768px) {
    :root { --section-padding: 60px 0; }

    /* ---- NAV ---- */
    .nav-links {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        transform: translateX(100%);
        transition: var(--transition-base);
        z-index: 1000;
    }

    .nav-links.active { transform: translateX(0); }
    .nav-link { font-size: 1.2rem; padding: 12px 24px; }
    .nav-toggle { display: flex; }
    .nav-phone { display: none; }
    .nav-actions .btn { display: none; }

    /* ---- HERO ---- */
    .hero { padding-top: 100px; }
    .hero-title { font-size: 2rem; letter-spacing: -0.5px; }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .stat-divider { display: none; }
    .stat-item { text-align: center; min-width: 80px; }
    .stat-number { font-size: 1.8rem; }

    .hero-float-card { display: none; }

    /* ---- TRUST BANNER ---- */
    .trust-banner { padding: 20px 0; }
    .trust-items { grid-template-columns: 1fr 1fr; gap: 16px; }
    .trust-item { flex-direction: column; text-align: center; gap: 8px; }
    .trust-item strong { font-size: 0.85rem; }
    .trust-item span { font-size: 0.72rem; }

    /* ---- SERVICES ---- */
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card { padding: 24px 20px; }

    /* ---- PRICING ---- */
    .pricing-tables { max-width: 100%; }
    .price-row { padding: 10px 16px; }
    .price-service { font-size: 0.82rem; }
    .price-amount { font-size: 0.85rem; }

    /* ---- HOW IT WORKS ---- */
    .steps-grid { flex-direction: column; align-items: stretch; }
    .step-card { min-width: 100%; max-width: 100%; }

    /* ---- COVERAGE ---- */
    .coverage-zones { grid-template-columns: 1fr; }
    .coverage-text { font-size: 0.95rem; }

    /* ---- TESTIMONIALS ---- */
    .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }

    /* ---- CONTACT FORM ---- */
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 20px 16px; }
    .contact-grid { gap: 24px; }

    /* ---- FOOTER ---- */
    .footer { padding: 48px 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px; }

    /* ---- SECTION HEADERS ---- */
    .section-title { font-size: 1.7rem; }
    .section-subtitle { font-size: 0.95rem; }

    /* ---- FLOATING CTA ---- */
    .floating-cta { bottom: 16px; right: 16px; gap: 8px; }
    .float-whatsapp, .float-phone { width: 48px; height: 48px; }
    .float-whatsapp i, .float-phone i { width: 22px; height: 22px; }

    /* ---- ADMIN DASHBOARD ---- */
    .stats-summary { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-card { padding: 16px; gap: 10px; }
    .stat-info strong { font-size: 1.4rem; }
    .table-container { overflow-x: auto; }
    .appointments-table { min-width: 700px; }
    .dashboard-header { flex-direction: column; gap: 16px; align-items: flex-start; }
    .dashboard-header h1 { font-size: 1.6rem; }
    .admin-container { padding-top: 90px; }
}

/* Small Mobile — 480px */
@media (max-width: 480px) {
    .container { padding: 0 14px; }

    .hero-title { font-size: 1.7rem; }
    .section-title { font-size: 1.4rem; }

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

    /* Stats in a 3-column row */
    .hero-stats { gap: 12px; }
    .stat-number { font-size: 1.5rem; }

    /* Trust banner single col */
    .trust-items { grid-template-columns: 1fr; gap: 12px; }

    /* Pricing tighter */
    .price-row { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 14px; }
    .price-amount { font-size: 0.95rem; font-weight: 800; }

    /* Service card compact */
    .service-card { padding: 20px 16px; }
    .service-title { font-size: 1.1rem; }

    /* Nav phone show in menu */
    .nav-phone {
        display: flex;
        justify-content: center;
        font-size: 1.1rem;
        padding: 12px 0;
        color: var(--accent-400);
    }

    /* Contact info cards */
    .contact-card { padding: 14px 16px; }
    .contact-icon { width: 40px; height: 40px; }

    /* Admin */
    .stats-summary { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-card { padding: 12px; }
    .login-card { padding: 24px 20px; }

    /* Floating CTA closer to edge */
    .floating-cta { bottom: 12px; right: 12px; }

    /* Form */
    .contact-form { padding: 16px 14px; }
    .form-group label { font-size: 0.8rem; }
    .form-group input,
    .form-group select,
    .form-group textarea { padding: 10px 12px; font-size: 0.85rem; }

    /* Hero CTA full width */
    .btn-lg { padding: 13px 20px; font-size: 0.9rem; }

    /* Footer */
    .footer-bottom-links { flex-direction: column; gap: 8px; }
    .footer-badge { font-size: 0.72rem; }
}

/* ===== FORM SUCCESS STATE ===== */
.form-success {
    text-align: center;
    padding: 48px 24px;
}

.form-success .success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success .success-icon i {
    width: 36px;
    height: 36px;
    color: var(--success-500);
}

.form-success h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}
