/* Google Fonts moved to index.html for performance */

:root {
    /* Backgrounds */
    --bg-primary: #000000;
    --bg-secondary: #09090B;
    --bg-tertiary: #18181B;

    /* Primary Accent - Neon Green */
    --primary-50: #f0fdf4;
    --primary-100: #dcfce7;
    --primary-200: #bbf7d0;
    --primary-300: #86efac;
    --primary-400: #4ade80;
    --primary-500: #22c55e; /* Base */
    --primary-600: #16a34a;
    --primary-700: #15803d;
    --primary-800: #166534;
    --primary-900: #14532d;
    --primary-rgb: 34, 197, 94;

    /* Secondary Accent - Pink */
    --secondary-500: #ec4899;
    --secondary-rgb: 236, 72, 153;

    /* Texts */
    --text-primary: #FFFFFF;
    --text-secondary: #E4E4E7;
    --text-tertiary: #A1A1AA;
    --text-quaternary: #71717A;

    /* Status */
    --success: #22C55E;
    --info: #3B82F6;
    --warning: #F59E0B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default; /* Cursor flecha por defecto en todo */
    user-select: none; /* Evita la selección de texto en todo el sitio */
}

/* Permitir interacción normal en inputs y áreas de texto */
input, textarea, select {
    cursor: text;
    user-select: text;
}

/* Forzar puntero en elementos clickeables */
a, button, .service-card-flip, .btn-lang, .mobile-menu-toggle {
    cursor: pointer;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}

h1, h2, h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    padding: 16px 0;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.5));
}

.brand-name {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, var(--primary-500));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: color 0.3s ease;
    user-select: none;
}

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

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-lang {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    user-select: none;
}

.btn-lang:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary-500);
    color: var(--primary-500);
}

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- Mobile Nav Overlay --- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

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

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.mobile-link {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    user-select: none;
}

.mobile-link:hover {
    color: var(--primary-500);
}

.mobile-nav-footer {
    margin-top: 40px;
    width: 100%;
    padding: 0 40px;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(var(--primary-rgb), 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(var(--secondary-rgb), 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-content {
    z-index: 10;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 100px;
    color: var(--primary-400);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    opacity: 0;
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    user-select: none;
}

.hero-title {
    font-size: clamp(32px, 8vw, 76px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    opacity: 0;
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    word-wrap: break-word;
    word-break: break-word;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--secondary-500) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.btn-group {
    display: flex;
    gap: 16px;
    opacity: 0;
    animation: scale-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.6s forwards;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
}

.hero-img {
    width: 100%;
    filter: drop-shadow(0 0 30px rgba(var(--primary-rgb), 0.3));
}

.glow-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    user-select: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 30%, var(--primary-400) 60%, var(--primary-500) 100%);
    background-size: 200% 200%;
    color: #fff;
    border: none;
    box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.5), 0 4px 24px rgba(var(--primary-rgb), 0.4);
    animation: gradient-shift 4s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.8), 0 8px 40px rgba(var(--primary-rgb), 0.6);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

/* --- Sections --- */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-500);
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-tertiary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Social Proof --- */
.social-proof {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.metric-item h4 {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.metric-item p {
    font-size: 14px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Services Flip Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card-flip {
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.service-card-flip:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
}

.service-card-front {
    background-color: var(--bg-tertiary);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-flip:hover .service-image {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.service-title-front {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.service-card-back {
    background: var(--bg-tertiary);
    transform: rotateY(180deg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    box-shadow: inset 0 0 20px rgba(var(--primary-rgb), 0.05);
}

/* Glass effect for back card and forms */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.service-title-back {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-400);
    margin-bottom: 16px;
}

.service-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--text-tertiary);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-container {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-tertiary), #000);
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.about-img-container::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, var(--primary-500) 0%, transparent 70%);
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

.about-image {
    width: 80%;
    height: 80%;
    object-fit: contain;
    z-index: 2;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.stat-item {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.stat-val {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-400);
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* --- CTA Final --- */
.cta-final {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, #000 100%);
    border-radius: 40px;
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.pulse-button {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* --- Footer --- */
footer {
    padding: 80px 0 40px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand p {
    color: var(--text-tertiary);
    margin-top: 20px;
    max-width: 300px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    color: var(--text-quaternary);
    font-size: 14px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: all 0.3s ease;
}

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

.social-link svg {
    display: block;
    width: 20px;
    height: 20px;
}

/* --- Particle System --- */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-500);
    border-radius: 50%;
    opacity: 0.3;
}

/* --- Animations --- */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.5), 0 4px 24px rgba(var(--primary-rgb), 0.4), 0 0 60px rgba(var(--primary-rgb), 0.3);
    }
    50% {
        box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.8), 0 8px 40px rgba(var(--primary-rgb), 0.6), 0 0 80px rgba(var(--primary-rgb), 0.5);
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Reveal on Scroll --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- Process Section --- */
.process {
    padding: 120px 0;
    position: relative;
    background: var(--bg-primary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    margin-top: 60px;
}

/* Horizontal Connector Line */
.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(var(--primary-rgb), 0.2) 20%, 
        rgba(var(--primary-rgb), 0.2) 80%, 
        transparent 100%
    );
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--bg-tertiary);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-500);
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.process-step:hover .step-num {
    background: var(--primary-500);
    color: var(--bg-primary);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.4);
    border-color: var(--primary-500);
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #fff;
    transition: color 0.3s ease;
}

.process-step:hover h3 {
    color: var(--primary-500);
}

.step-content p {
    font-size: 15px;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* --- Responsive --- */
/* --- Responsive Overhaul --- */

/* Laptops & Tablets Landscape (up to 1200px) */
@media (max-width: 1200px) {
    .container { max-width: 100%; padding: 0 32px; }
    .hero-title { font-size: clamp(40px, 7vw, 64px); }
    .hero-grid { gap: 32px; }
}

/* Tablets Portrait & Small Laptops (up to 1024px) - MOVE MOBILE MENU TRIGGER HERE */
@media (max-width: 1024px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    
    .hero { height: auto; min-height: 100vh; padding: 140px 0 80px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 60px; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-subtitle { margin: 0 auto 32px; }
    .btn-group { justify-content: center; }
    .hero-visual { max-width: 450px; margin: 0 auto; }
    
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    /* Process Vertical Line */
    .process-steps { grid-template-columns: 1fr; gap: 40px; padding-left: 30px; }
    .process-steps::before {
        width: 1px;
        height: 100%;
        left: 0;
        top: 0;
        background: linear-gradient(180deg, transparent 0%, rgba(var(--primary-rgb), 0.2) 20%, rgba(var(--primary-rgb), 0.2) 80%, transparent 100%);
    }
    .process-step { display: flex; gap: 24px; align-items: flex-start; text-align: left; }
    .step-num { flex-shrink: 0; margin-bottom: 0; }

    /* About Section Overhaul */
    .about-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .about-visual { order: 2; width: 100%; max-width: 400px; margin: 0 auto; }
    .about-content { order: 1; display: flex; flex-direction: column; align-items: center; }
    .about-stats { grid-template-columns: 1fr 1fr; width: 100%; }
}

/* Tablets (up to 768px) */
@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .hero-title { font-size: clamp(36px, 10vw, 52px); }
    .section-title { font-size: clamp(28px, 8vw, 40px); }
}

/* Mobile Large (up to 640px) */
@media (max-width: 640px) {
    section { padding: 60px 0; }
    .metrics-grid { grid-template-columns: 1fr; gap: 24px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card-flip { height: 350px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
}

/* Mobile Small (up to 425px) */
@media (max-width: 425px) {
    .container { padding: 0 20px; }
    .hero { padding-top: 100px; padding-bottom: 40px; }
    .hero-title { font-size: 32px; word-break: break-word; line-height: 1.2; }
    .hero-subtitle { font-size: 15px; width: 100%; margin-bottom: 30px; }
    .btn-group { flex-direction: column; width: 100%; gap: 12px; }
    .btn { width: 100%; }
    
    .hero-visual { width: 100%; margin-top: 40px; }
    .hero-img-container { max-width: 240px; margin: 0 auto; overflow: visible; }
    .glow-overlay { width: 100%; height: 100%; }
    
    .about-visual { max-width: 220px; margin: 0 auto; }
    .stat-item { padding: 12px; }
    .stat-val { font-size: 24px; }
    
    .cta-box { padding: 40px 20px; }
    .cta-title { font-size: 26px; }
}
/* --- Contact Section --- */
.contact {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    background: rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.btn-full {
    width: 100%;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
}

.info-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-card h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: #fff;
}

.info-card p {
    font-size: 16px;
    color: var(--text-tertiary);
}

.info-text-container {
    display: flex;
    flex-direction: column;
}

.copy-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.copy-btn {
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    color: var(--primary-400);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.copy-btn:hover {
    background: var(--primary-500);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.copy-btn.copied {
    border-color: var(--success);
    color: var(--success);
    background: rgba(34, 197, 94, 0.2);
}

.copy-btn.copied:hover {
    background: var(--success);
    color: #fff;
}

/* Responsive Contact */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}
