/* ============================================
   paginawebbarata.cl - Styles
   Modern 2026 Design
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-900: #312e81;

    --accent: #06b6d4;
    --accent-dark: #0891b2;

    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

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

    --white: #ffffff;
    --black: #000000;

    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-text: linear-gradient(135deg, #6366f1 0%, #06b6d4 50%, #a855f7 100%);
    --gradient-dark: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --section-padding: clamp(4rem, 8vw, 7rem);

    /* Borders */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.04);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);
    --shadow-glow: 0 0 40px rgb(99 102 241 / 0.15);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

/* ---------- Skip Link ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    z-index: 10000;
    font-weight: 600;
    border-radius: 0 0 var(--radius-md) 0;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
    color: var(--white);
}

/* ---------- Container ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Section ---------- */
.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-dark);
    background: var(--primary-50);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.0625rem;
    color: var(--gray-500);
    line-height: 1.8;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgb(99 102 241 / 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgb(99 102 241 / 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--gray-800);
    border-color: var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}

.btn-white {
    background: var(--white);
    color: var(--gray-900);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--gray-900);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    flex-shrink: 0;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.25rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--gray-900);
    font-size: 1.125rem;
}

.logo:hover {
    color: var(--gray-900);
}

.logo-icon {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.logo-text strong {
    font-weight: 700;
}

.logo-dot {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
    background: var(--primary-50);
}

.nav-link.cta-link {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    margin-left: 0.5rem;
    border-radius: var(--radius-full);
}

.nav-link.cta-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgb(99 102 241 / 0.3);
    color: var(--white);
    background: var(--gradient-primary);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

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

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
    background: linear-gradient(180deg, var(--primary-50) 0%, var(--white) 100%);
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 40%, transparent 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--white);
    border: 1px solid var(--primary-100);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.price-highlight {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.price-highlight small {
    font-size: 0.45em;
    font-weight: 500;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
}

.trust-item svg {
    color: var(--success);
}

/* Browser Mockup */
.hero-visual {
    position: relative;
}

.browser-mockup {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transform: perspective(800px) rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-slow);
}

.browser-mockup:hover {
    transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--white);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    color: var(--gray-500);
    border: 1px solid var(--gray-200);
}

.browser-content {
    padding: 1.5rem;
    min-height: 280px;
    background: var(--white);
}

.mock-nav {
    height: 8px;
    width: 60%;
    background: var(--gray-100);
    border-radius: 4px;
    margin-bottom: 2rem;
}

.mock-hero {
    margin-bottom: 2rem;
}

.mock-title {
    height: 24px;
    width: 80%;
    background: var(--gradient-primary);
    border-radius: 4px;
    margin-bottom: 0.75rem;
    opacity: 0.3;
}

.mock-subtitle {
    height: 12px;
    width: 60%;
    background: var(--gray-200);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.mock-btn {
    height: 32px;
    width: 120px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    opacity: 0.7;
}

.mock-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.mock-card {
    height: 60px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-100);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    font-size: 0.8125rem;
    animation: float 6s ease-in-out infinite;
}

.floating-card strong {
    display: block;
    color: var(--gray-900);
    font-size: 0.875rem;
}

.floating-card span {
    color: var(--gray-500);
    font-size: 0.75rem;
}

.card-speed {
    bottom: 15%;
    left: -2rem;
    animation-delay: 0s;
}

.card-speed svg {
    color: var(--warning);
}

.card-seo {
    top: 10%;
    right: -1rem;
    animation-delay: -3s;
}

.card-seo svg {
    color: var(--success);
}

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

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-400);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--gray-300);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* ---------- Stats Bar ---------- */
.stats-bar {
    background: var(--gradient-dark);
    padding: 3rem 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- Services ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-4px);
}

.service-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, var(--primary-50) 0%, var(--white) 100%);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    background: var(--gradient-primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-lg);
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-size: 1.1875rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features li {
    font-size: 0.875rem;
    color: var(--gray-600);
    padding-left: 1.25rem;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* ---------- Why Us ---------- */
.why-us {
    background: var(--gray-50);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.why-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.why-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.why-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
}

.why-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ---------- Process ---------- */
.process-steps {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.step {
    display: grid;
    grid-template-columns: 4rem 1fr auto;
    gap: 1.5rem;
    align-items: start;
    padding: 2rem 0;
    position: relative;
}

.step-number {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 4px 15px rgb(99 102 241 / 0.3);
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--gray-500);
    line-height: 1.7;
}

.step-icon {
    color: var(--gray-300);
}

/* ---------- Pricing ---------- */
.pricing {
    background: var(--gray-50);
}

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

.plan-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
}

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

.plan-card.popular {
    border-color: var(--primary);
    border-width: 2px;
    transform: scale(1.03);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.plan-card.popular:hover {
    transform: scale(1.03) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    background: var(--gradient-primary);
    padding: 0.375rem 1.25rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.plan-header {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.plan-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.plan-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.125rem;
}

.plan-price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

.plan-price .amount {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.plan-price .period {
    font-size: 0.9375rem;
    color: var(--gray-500);
    font-weight: 500;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.plan-features li svg {
    flex-shrink: 0;
    color: var(--success);
    margin-top: 2px;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9375rem;
    color: var(--gray-500);
}

/* ---------- Technologies ---------- */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.tech-item:hover {
    border-color: var(--primary);
    background: var(--primary-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tech-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* ---------- Portfolio ---------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.portfolio-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--gray-700);
    transition: all var(--transition-base);
}

.portfolio-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    color: var(--primary);
}

.portfolio-item svg {
    flex-shrink: 0;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-item:hover svg {
    opacity: 1;
}

.portfolio-name {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ---------- Testimonials ---------- */
.testimonials {
    background: var(--gray-50);
}

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

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-base);
}

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

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
    color: var(--warning);
}

.testimonial-card blockquote p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

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

.author-info span {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.faq-item[open] {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform var(--transition-base);
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.faq-answer ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0.75rem 0;
}

.faq-answer li {
    margin-bottom: 0.375rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: var(--gradient-dark);
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-content > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-note {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-card {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-fast);
}

.contact-card:hover {
    border-color: var(--primary-light);
    background: var(--primary-50);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--primary);
    background: var(--white);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contact-card h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}

.contact-card a {
    font-size: 0.9375rem;
    font-weight: 500;
}

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

/* Contact Form */
.contact-form {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.required {
    color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    color: var(--gray-900);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgb(99 102 241 / 0.1);
    background: var(--white);
}

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

.form-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 0.75rem;
}

/* ---------- Blog Section ---------- */
.blog-section {
    background: var(--gray-50);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-base);
    color: inherit;
    text-decoration: none;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.blog-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    background: var(--primary-50);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--gray-950);
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

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

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

.footer .logo:hover {
    color: var(--white);
}

.footer .logo-icon {
    -webkit-text-fill-color: transparent;
}

.footer h4 {
    font-size: 0.9375rem;
    color: var(--white);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-nav ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-nav a,
.footer-contact a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-contact svg {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

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

.footer-seo {
    margin-top: 0.5rem;
    font-size: 0.6875rem !important;
    opacity: 0.3;
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 0.75rem);
    white-space: nowrap;
    background: var(--gray-900);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 999;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

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

.back-to-top:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ---------- Animations (scroll reveal) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        max-width: 100%;
    }

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

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-scroll-indicator {
        display: none;
    }

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

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

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

    .plan-card.popular {
        transform: none;
    }

    .plan-card.popular:hover {
        transform: translateY(-4px);
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

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

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

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

@media (max-width: 768px) {
    .hero-carousel-dots {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0.5rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right var(--transition-slow);
        overflow-y: auto;
    }

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

    .nav-link {
        width: 100%;
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .nav-link.cta-link {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        width: 100%;
    }

    .hero {
        min-height: auto;
        padding: 7rem 0 4rem;
    }

    .hero-title {
        font-size: clamp(1.875rem, 7vw, 2.75rem);
    }

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

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

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

    .step {
        grid-template-columns: 3rem 1fr;
    }

    .step-icon {
        display: none;
    }

    .process-steps::before {
        left: 1.5rem;
    }

    .step-number {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

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

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

    .plan-price .amount {
        font-size: 2.25rem;
    }

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

/* ---------- Print ---------- */
@media print {
    .header,
    .whatsapp-float,
    .back-to-top,
    .hero-visual,
    .hero-scroll-indicator {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }
}

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

/* ============================================
   DARK MODE TOGGLE BUTTON
   ============================================ */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--gray-200);
    background: transparent;
    cursor: pointer;
    color: var(--gray-600);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}

.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun  { display: block; }

[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: none; }

/* ============================================
   HERO CAROUSEL
   ============================================ */
.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    transform: scale(1);
}

.carousel-slide.active {
    opacity: 1;
    animation: carouselZoom 6s ease-out forwards;
}

@keyframes carouselZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(238, 242, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.94) 100%
    );
}

.hero-carousel-dots {
    position: absolute;
    bottom: 6rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(99, 102, 241, 0.3);
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-base);
}

.carousel-dot.active {
    background: var(--primary);
    height: 24px;
    border-radius: var(--radius-full);
}

/* ============================================
   TESTIMONIAL PHOTO AVATAR
   ============================================ */
.author-avatar-photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--primary-100);
}

/* ============================================
   EMPRENDEDORES SECTION
   ============================================ */
.emp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.emp-photo-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: var(--gray-200);
}

/* La imagen de fondo vive en el ::before para poder hacer zoom sin afectar el overlay */
.emp-photo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
    z-index: 0;
}

.emp-photo-card:hover::before {
    transform: scale(1.08);
}

.emp-photo-card.emp-tall {
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 300px;
}

.emp-photo-card.emp-wide {
    grid-column: span 2;
    aspect-ratio: 16/7;
}

.emp-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1rem 1.25rem;
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 1;
}

.emp-photo-card:hover .emp-photo-overlay {
    opacity: 1;
}

.emp-rubro {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    background: rgba(99, 102, 241, 0.85);
    padding: 0.25rem 0.875rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
    .emp-grid {
        grid-template-columns: 1fr 1fr;
    }
    .emp-photo-card.emp-tall {
        grid-row: span 1;
        aspect-ratio: 4/3;
    }
    .emp-photo-card.emp-wide {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .emp-grid {
        grid-template-columns: 1fr;
    }
    .emp-photo-card.emp-wide {
        grid-column: span 1;
    }
}

/* ============================================
   BLOG CARD WITH IMAGE
   ============================================ */
.blog-card-image {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    margin: -2rem -2rem 1.25rem;
    aspect-ratio: 2/1;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    display: block;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-body {
    flex: 1;
}

/* ============================================
   DARK MODE
   ============================================ */
[data-theme="dark"] body {
    background-color: #0f172a;
    color: #cbd5e1;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: #f1f5f9;
}

[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .logo {
    color: #f1f5f9;
}

[data-theme="dark"] .logo:hover {
    color: #f1f5f9;
}

[data-theme="dark"] .nav-link {
    color: #94a3b8;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: #818cf8;
    background: rgba(99, 102, 241, 0.15);
}

[data-theme="dark"] .nav-link.cta-link,
[data-theme="dark"] .nav-link.cta-link:hover {
    color: #ffffff;
}

[data-theme="dark"] .theme-toggle {
    border-color: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .theme-toggle:hover {
    border-color: #818cf8;
    color: #818cf8;
    background: rgba(99, 102, 241, 0.15);
}

[data-theme="dark"] .hamburger-line {
    background: #cbd5e1;
}

[data-theme="dark"] .hero {
    background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%);
}

[data-theme="dark"] .carousel-overlay {
    background: linear-gradient(
        180deg,
        rgba(30, 27, 75, 0.88) 0%,
        rgba(15, 23, 42, 0.94) 100%
    );
}

[data-theme="dark"] .hero-badge {
    background: #1e293b;
    border-color: rgba(99, 102, 241, 0.3);
    color: #818cf8;
}

[data-theme="dark"] .hero-description {
    color: #94a3b8;
}

[data-theme="dark"] .btn-outline {
    color: #e2e8f0;
    border-color: #475569;
}

[data-theme="dark"] .btn-outline:hover {
    color: #818cf8;
    border-color: #818cf8;
    background: rgba(99, 102, 241, 0.12);
}

[data-theme="dark"] .floating-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .floating-card strong {
    color: #f1f5f9;
}

[data-theme="dark"] .browser-mockup {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .browser-header {
    background: #0f172a;
    border-bottom-color: #334155;
}

[data-theme="dark"] .browser-url {
    background: #1e293b;
    border-color: #334155;
    color: #64748b;
}

[data-theme="dark"] .browser-content {
    background: #1e293b;
}

[data-theme="dark"] .mock-nav,
[data-theme="dark"] .mock-subtitle {
    background: #334155;
}

[data-theme="dark"] .mock-card {
    background: #0f172a;
    border-color: #334155;
}

[data-theme="dark"] .section-tag {
    background: rgba(99, 102, 241, 0.18);
    color: #818cf8;
}

[data-theme="dark"] .section-description {
    color: #64748b;
}

[data-theme="dark"] .trust-item {
    color: #94a3b8;
}

/* Services */
[data-theme="dark"] .service-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .service-card.featured {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, #1e293b 100%);
    border-color: #6366f1;
}

[data-theme="dark"] .service-card p,
[data-theme="dark"] .service-features li {
    color: #64748b;
}

[data-theme="dark"] .service-icon {
    background: rgba(99, 102, 241, 0.15);
}

/* Why Us */
[data-theme="dark"] .why-us {
    background: #0a1628;
}

[data-theme="dark"] .why-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .why-card p {
    color: #64748b;
}

/* Process */
[data-theme="dark"] .process-steps::before {
    background: #334155;
}

[data-theme="dark"] .step-content p {
    color: #64748b;
}

[data-theme="dark"] .step-icon {
    color: #334155;
}

/* Pricing */
[data-theme="dark"] .pricing {
    background: #0a1628;
}

[data-theme="dark"] .plan-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .plan-header {
    border-bottom-color: #334155;
}

[data-theme="dark"] .plan-price .currency,
[data-theme="dark"] .plan-price .amount {
    color: #f1f5f9;
}

[data-theme="dark"] .plan-features li {
    color: #64748b;
}

[data-theme="dark"] .pricing-note {
    color: #64748b;
}

[data-theme="dark"] .pricing-note a {
    color: #818cf8;
}

/* Technologies */
[data-theme="dark"] .tech-item {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .tech-item:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: #6366f1;
}

[data-theme="dark"] .tech-name {
    color: #cbd5e1;
}

/* Portfolio */
[data-theme="dark"] .portfolio-item {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .portfolio-item:hover {
    color: #818cf8;
    border-color: #818cf8;
}

/* Testimonials */
[data-theme="dark"] .testimonials {
    background: #0a1628;
}

[data-theme="dark"] .testimonial-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .testimonial-card blockquote p {
    color: #64748b;
}

[data-theme="dark"] .author-info span {
    color: #475569;
}

[data-theme="dark"] .author-avatar-photo {
    border-color: rgba(99, 102, 241, 0.3);
}

/* Emprendedores */
[data-theme="dark"] .emprendedores-section {
    background: #0f172a;
}

/* FAQ */
[data-theme="dark"] .faq-item {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .faq-answer {
    color: #64748b;
}

[data-theme="dark"] .faq-chevron {
    color: #475569;
}

/* Contact */
[data-theme="dark"] .contact-card {
    background: #131c2e;
    border-color: #1e293b;
}

[data-theme="dark"] .contact-card:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: #6366f1;
}

[data-theme="dark"] .contact-icon {
    background: #1e293b;
}

[data-theme="dark"] .contact-form {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .form-group label {
    color: #94a3b8;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: #475569;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: #6366f1;
    background: #1e293b;
}

[data-theme="dark"] .form-note {
    color: #475569;
}

/* Blog */
[data-theme="dark"] .blog-section {
    background: #0a1628;
}

[data-theme="dark"] .blog-card {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

[data-theme="dark"] .blog-card:hover {
    border-color: #6366f1;
    color: #cbd5e1;
}

[data-theme="dark"] .blog-card h3 {
    color: #f1f5f9;
}

[data-theme="dark"] .blog-card p {
    color: #64748b;
}

[data-theme="dark"] .blog-tag {
    background: rgba(99, 102, 241, 0.18);
    color: #818cf8;
}

/* Footer */
[data-theme="dark"] .footer {
    background: #030712;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: #1e293b;
}

/* Scroll indicator */
[data-theme="dark"] .scroll-line {
    background: #334155;
}

[data-theme="dark"] .hero-scroll-indicator {
    color: #475569;
}

/* Back to top & WhatsApp float */
[data-theme="dark"] .back-to-top {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}
