﻿/* Reset y Variables */
:root {
    --bg-color: #0d1117;
    --bg-darker: #010409;
    --text-color: #e6edf3;
    --text-muted: #8b949e;
    --card-bg: #161b22;
    --border-color: #30363d;
    
    /* Colores del logo */
    --cyan: #00d2ff;
    --red: #e63946;
    --yellow: #ffb703;
    
    --font-main: Arial, Helvetica, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

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

/* Contenedor del logo blanco para que resalte en fondo oscuro */
.logo-container {
    background-color: white;
    padding: 5px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.logo {
    height: 50px; /* Ajustá este valor según el tamaño de tu logo */
    width: auto;
    display: block;
}

.nav a {
    margin-left: 20px;
    font-weight: bold;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--cyan);
}

/* Botones */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), #0077ff);
    color: #000;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.btn-full {
    width: 100%;
}

/* Hero */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    background: radial-gradient(circle at center, #1b2735 0%, var(--bg-color) 70%);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Secciones */
.section {
    padding: 80px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

/* Grid de Servicios */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan);
}

.card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Colores de iconos */
.icon-cyan { color: var(--cyan); }
.icon-red { color: var(--red); }
.icon-yellow { color: var(--yellow); }

/* Proceso */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.process-step {
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--cyan);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contacto */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--card-bg);
    padding: 50px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list a:hover {
    color: var(--cyan);
}

/* Formulario */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    font-family: var(--font-main);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 5px rgba(0, 210, 255, 0.3);
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-tagline {
    font-weight: bold;
    color: var(--text-color);
}

/* Animaciones al hacer Scroll */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav a {
        margin: 0 10px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .footer-content {
        flex-direction: column;
    }
}

/* =========================================
   NUEVA SECCIÓN DE CONTACTO (PLACA)
   ========================================= */

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.3);
}

.contact-card-header {
    background: linear-gradient(135deg, #161b22 0%, #0d1117 100%);
    padding: 40px 30px 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.contact-card-header i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.contact-card-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-card-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.contact-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background-color: var(--bg-color);
    border-radius: 10px;
    border: 1px solid transparent;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.contact-item:hover {
    border-color: var(--border-color);
    background-color: rgba(255, 255, 255, 0.02);
}

.contact-icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 210, 255, 0.1);
    color: var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

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

.contact-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 3px;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.contact-value:hover {
    color: var(--cyan);
}

.contact-card-footer {
    padding: 0 30px 30px;
    text-align: center;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background-color: #25D366; /* Color oficial de WhatsApp */
    color: #000;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
    transform: scale(1.02);
}

.btn-whatsapp i {
    font-size: 1.4rem;
}