/* Validacarga - Modern Landing Page Styles */
/* Optimized for Hostinger - Minimal IOPS */

/* CSS Custom Properties (Design Tokens) */
:root {
    /* Colors */
    --primary: #aa0000;
    --primary-dark: #7a0000;
    --primary-light: #d10000;
    --secondary: #141722;
    --secondary-light: #1c2233;
    --accent: #666666;
    --accent-light: #8a8a8a;
    --bg: #0a0a12;
    --bg-elevated: #12121c;
    --bg-card: #1a1a28;
    --text: #ffffff;
    --text-muted: #a0a0b0;
    --text-subtle: #6a6a80;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(170, 0, 0, 0.28);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* UI */
    --nav-bg: rgba(10, 10, 18, 0.9);
}

/* Light theme tokens */
html[data-theme="light"] {
    --bg: #f6f7fb;
    --bg-elevated: #ffffff;
    --bg-card: #ffffff;
    --text: #0e1222;
    --text-muted: rgba(14, 18, 34, 0.72);
    --text-subtle: rgba(14, 18, 34, 0.55);
    --border: rgba(14, 18, 34, 0.12);
    --shadow: 0 10px 20px rgba(14, 18, 34, 0.08);
    --shadow-lg: 0 25px 50px rgba(14, 18, 34, 0.12);
    --shadow-glow: 0 0 40px rgba(170, 0, 0, 0.16);
    --nav-bg: rgba(246, 247, 251, 0.86);
}

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

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

html[data-theme="light"] body {
    background:
        radial-gradient(900px 600px at 70% 20%, rgba(170, 0, 0, 0.12), transparent 60%),
        radial-gradient(800px 520px at 15% 70%, rgba(102, 102, 102, 0.10), transparent 55%),
        var(--bg);
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
}

/* Aurora Background Canvas */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

html[data-theme="light"] .aurora-bg {
    opacity: 0.22;
    filter: saturate(1.1) contrast(1.05);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: background var(--transition-base), backdrop-filter var(--transition-base);
}

.nav.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 34px;
    width: auto;
}

.logo-svg {
    height: 36px;
    width: auto;
}

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

.theme-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
}

html[data-theme="light"] .theme-toggle {
    background: rgba(14, 18, 34, 0.04);
}

.theme-toggle:hover {
    transform: translateY(-2px);
    border-color: rgba(170, 0, 0, 0.35);
    box-shadow: var(--shadow);
}

.theme-toggle:focus-visible {
    outline: 2px solid rgba(170, 0, 0, 0.65);
    outline-offset: 4px;
}

.theme-icon {
    width: 18px;
    height: 18px;
}

/* Show the icon for the next theme */
html[data-theme="dark"] .theme-icon--moon { display: none; }
html[data-theme="light"] .theme-icon--sun { display: none; }

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:focus-visible {
    outline: 2px solid rgba(170, 0, 0, 0.55);
    outline-offset: 4px;
    border-radius: 6px;
}

.nav-link[aria-current="true"] {
    color: var(--text);
}

.nav-link[aria-current="true"]::after {
    width: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--text);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link--cta {
    background: var(--primary);
    color: white !important;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--space-4xl) + 60px) 0 var(--space-4xl);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    width: 100%;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    width: fit-content;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 62ch;
    margin-bottom: var(--space-2xl);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.hero-client {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    margin-top: calc(var(--space-md) * -1);
    margin-bottom: var(--space-xl);
}

.hero-client-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-client-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.hero-client-link:hover {
    color: var(--accent-light);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
    outline: 2px solid rgba(170, 0, 0, 0.65);
    outline-offset: 4px;
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: var(--primary);
    color: white;
}

.btn--primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn--secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn--secondary:hover {
    background: var(--bg-card);
    border-color: var(--primary);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(170, 0, 0, 0.28) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    animation: float-card 4s ease-in-out infinite;
}

.floating-card span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

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

.card-2 {
    top: 40%;
    right: 0;
    animation-delay: 1s;
}

.card-3 {
    bottom: 15%;
    left: 10%;
    animation-delay: 2s;
}

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

/* Section Styles */
.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

/* Validation Section - PRINCIPAL */
.validation {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(170, 0, 0, 0.03) 50%, transparent 100%);
}

.validation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.validation-content .section-title {
    margin-bottom: var(--space-lg);
}

.validation-lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.validation-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.validation-feature {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.validation-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.validation-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.validation-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--space-xs);
}

.validation-text p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.validation-cta {
    display: flex;
    gap: var(--space-md);
}

/* Validation Visual */
.validation-visual {
    position: relative;
}

.validation-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

html[data-theme="light"] .validation-card {
    background: rgba(255, 255, 255, 0.92);
}

.validation-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    background: linear-gradient(135deg, rgba(170, 0, 0, 0.10) 0%, rgba(102, 102, 102, 0.10) 100%);
    border-bottom: 1px solid var(--border);
}

.validation-status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-success {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.validation-id {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.validation-card-body {
    padding: var(--space-xl);
}

.validation-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border);
}

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

.validation-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.validation-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.validation-value--success {
    color: #10b981;
}

.validation-card-footer {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: rgba(16, 185, 129, 0.1);
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.75rem;
    color: #10b981;
}

.validation-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

html[data-theme="light"] .validation-stats {
    background: rgba(255, 255, 255, 0.92);
}

.vstat {
    text-align: center;
}

.vstat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.vstat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.vstat-divider {
    width: 1px;
    background: var(--border);
}

/* Services Section */
.services {
    padding: var(--space-4xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

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

.service-card--highlight {
    border: 2px solid var(--primary);
    position: relative;
}

.service-badge {
    position: absolute;
    top: -1px;
    right: var(--space-lg);
    background: var(--primary);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.service-icon--large {
    width: 72px;
    height: 72px;
}

.service-icon--large svg {
    width: 36px;
    height: 36px;
}

.service-list {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.service-list li {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

html[data-theme="light"] .service-card {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

html[data-theme="light"] .service-card:hover {
    box-shadow: var(--shadow-lg);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(170, 0, 0, 0.3);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(170, 0, 0, 0.10) 0%, rgba(102, 102, 102, 0.10) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

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

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: var(--space-sm);
}

.service-link svg {
    width: 16px;
    height: 16px;
}

/* About Section */
.about {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(170, 0, 0, 0.03) 50%, transparent 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    height: 500px;
}

.about-image {
    position: absolute;
    border-radius: var(--radius-xl);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}

.about-image--1 {
    width: 70%;
    height: 70%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    z-index: 1;
}

.about-image--2 {
    width: 60%;
    height: 60%;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    z-index: 2;
}

.about-badge {
    position: absolute;
    bottom: 20%;
    left: 10%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    text-align: center;
    z-index: 3;
    box-shadow: var(--shadow-lg);
}

.about-badge-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.about-badge-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-content .section-title {
    margin-bottom: var(--space-xl);
}

.about-text {
    margin-bottom: var(--space-xl);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.about-text strong {
    color: var(--text);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--text);
}

.about-feature svg {
    flex-shrink: 0;
}

/* Contact Section */
.contact {
    padding: var(--space-4xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.contact-description {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    max-width: 400px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.contact-value {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.5;
}

.contact-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.contact-visual {
    height: 100%;
    min-height: 400px;
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
}

html[data-theme="light"] .contact-map {
    background: rgba(255, 255, 255, 0.92);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.3) contrast(1.1);
}

/* Footer */
.footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: var(--space-md);
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-bottom: var(--space-md);
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.9375rem;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: var(--space-sm);
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

.footer-copy {
    color: var(--text-subtle);
    font-size: 0.875rem;
}

.footer-endorsements {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    padding: 12px 14px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

html[data-theme="light"] .footer-endorsements {
    background: rgba(14, 18, 34, 0.03);
}

.footer-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 700;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

html[data-theme="light"] .footer-linkedin {
    background: rgba(255, 255, 255, 0.72);
}

.footer-linkedin:hover {
    transform: translateY(-2px);
    border-color: rgba(170, 0, 0, 0.25);
    box-shadow: var(--shadow);
}

.footer-linkedin:focus-visible {
    outline: 2px solid rgba(170, 0, 0, 0.55);
    outline-offset: 4px;
}

.powered-by {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-subtle);
    font-size: 0.875rem;
}

.powered-by-label {
    color: var(--text-subtle);
}

.powered-by-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    min-height: 44px;
    box-shadow: 0 0 0 rgba(170, 0, 0, 0);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

html[data-theme="light"] .powered-by-link {
    background: rgba(255, 255, 255, 0.72);
}

.powered-by-link img {
    height: 22px;
    width: auto;
    display: block;
    opacity: 1;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.powered-by-link:hover img {
    opacity: 1;
    transform: translateY(-1px);
}

.powered-by-link:hover {
    transform: translateY(-2px);
    border-color: rgba(170, 0, 0, 0.25);
    box-shadow: 0 0 0 6px rgba(170, 0, 0, 0.08);
}

.powered-by-link:focus-visible {
    outline: 2px solid rgba(170, 0, 0, 0.55);
    outline-offset: 4px;
    border-radius: 6px;
}

html[data-theme="dark"] .powered-by-link {
    color: #ffffff;
}

/* Scroll Reveal Animation */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(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;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    [data-reveal] {
        opacity: 1;
        transform: none;
    }
    
    .aurora-bg {
        display: none;
    }
}

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

    .hero-copy {
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .services-grid,
    .services-grid--secondary {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .validation-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }
    
    .validation-visual {
        order: -1;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        order: 2;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-elevated);
        flex-direction: column;
        padding: calc(var(--space-4xl) + 60px) var(--space-xl) var(--space-xl);
        gap: var(--space-lg);
        transition: right var(--transition-base);
        border-left: 1px solid var(--border);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .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);
    }
    
    .services-grid,
    .services-grid--secondary {
        grid-template-columns: 1fr;
    }
    
    .validation-features {
        gap: var(--space-md);
    }
    
    .validation-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .validation-icon {
        margin: 0 auto;
    }
    
    .validation-cta {
        flex-direction: column;
    }
    
    .validation-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .vstat-divider {
        width: 100%;
        height: 1px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-endorsements {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        text-align: center;
    }

    .footer-linkedin,
    .powered-by-link {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-actions {
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    .aurora-bg,
    .nav,
    .hero-visual,
    .contact-visual,
    .powered-by {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    a {
        text-decoration: underline;
    }
}
