/* ==========================================================================

   1. RESET & BASE (Estilos base para todo el sitio)

   ========================================================================== */

* {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}



body {

  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  background-color: #f8fafc;

  color: #0f172a;

  line-height: 1.6;

  scroll-behavior: smooth;

}



a {

  text-decoration: none;

  color: inherit;

}



img {

  max-width: 100%;

  display: block;

}



.container {

  max-width: 1200px;

  margin: auto;

  padding: 60px 20px;

}



/* =============================================

   ROOT & BASICS

   ============================================= */

:root {
    

    --primary: #38bdf8; /* Cyan Tech */

    --accent: #0ea5e9;

    --bg-dark: #020617; /* Slate 950 Deep */

    --glass-bg: rgba(15, 23, 42, 0.8);

    --text-main: #f8fafc;

    --text-muted: #94a3b8;

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

}



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {
    font-family: 'Inter', sans-serif;
    background-color: #fafaf8; /* <--- CAMBIA ESTO. El tono #fafaf8 es el blanco-crema */
    color: #0f172a; 
    line-height: 1.6;
}
/* =============================================
   HEADER PRO - SIMETRÍA Y DESPLIEGUE
   ============================================= */
.site-header {
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 65px;
    display: flex;
    align-items: center;
}

.site-header .container {
    display: flex;
    justify-content: space-between; /* Logo a la izquierda, Botón a la derecha */
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative; /* Para que el menú se posicione respecto a esto */
}

.main-logo {
    height: 42px; /* Logo más grande como pediste */
    width: auto;
}

/* MENÚ PC */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu a {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

/* BOTÓN HAMBURGUESA - Visible solo en móvil */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
    padding: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: #38bdf8;
    transition: 0.3s;
}

/* =============================================
   ESTILOS MÓVIL (Dropdown sobre la página)
   ============================================= */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex; /* Aparece el botón */
    }

    .nav-menu {
        display: none; /* Oculto por defecto */
        flex-direction: column;
        position: absolute; /* Aparece sobre la página */
        top: 65px; /* Justo debajo del header */
        left: 0;
        width: 100%;
        background: #1e293b;
        padding: 20px 0;
        border-bottom: 3px solid #38bdf8;
        box-shadow: 0 15px 30px rgba(0,0,0,0.4);
        z-index: 1050;
    }

    /* Clase activa para mostrar el menú */
    .nav-menu.active {
        display: flex;
        animation: slideIn 0.3s ease-out;
    }

    .nav-menu a {
        padding: 15px 25px;
        width: 100%;
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Animación de la Hamburguesa a X */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================

   4. TOOLS GRID (Tarjetas de Herramientas)

   ========================================================================== */

.tools-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 30px;

  margin-top: 60px;

}



.tool-card {

  background: #ffffff;

  padding: 30px;

  border-radius: 20px;

  box-shadow: 0 12px 30px rgba(0,0,0,0.08);

  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s;

  cursor: pointer;

  overflow: hidden;

}



.tool-card:hover {

  transform: translateY(-10px) scale(1.03);

  box-shadow: 0 20px 40px rgba(0,0,0,0.15);

  filter: brightness(1.05);

}



.tool-card h3 {

  font-size: 1.4rem;

  margin-bottom: 10px;

  color: #1e293b;

  transition: color 0.3s;

}



.tool-card:hover h3 {

  color: #2563eb;

}



.tool-card p {

  font-size: 0.95rem;

  color: #475569;

  margin-bottom: 15px;

}



/* ==========================================================================

   5. BUTTONS & CTAs (Botones y Ofertas Especiales)

   ========================================================================== */

.btn-primary {

  padding: 15px 30px;

  background: #2563eb;

  color: white;

  border-radius: 12px;

  font-weight: 600;

  display: inline-block;

  transition: 0.3s;

  animation: bounceIn 1.5s ease forwards;

}



.btn-offer {

  display: inline-block;

  margin-top: 18px;

  padding: 13px 26px;

  background: linear-gradient(135deg, #ffe066, #ffb703);

  color: #1f2937;

  font-weight: 800;

  font-size: 0.9rem;

  border-radius: 999px;

  border: 2px solid #facc15;

  text-transform: uppercase;

  letter-spacing: 0.6px;

  box-shadow: 0 8px 22px rgba(255, 193, 7, 0.6);

  position: relative;

  animation: blinkGlow 1.4s infinite;

  transition: all 0.3s ease;

}



.btn-offer:hover {

  transform: scale(1.1);

  background: linear-gradient(135deg, #fff3a0, #ffc107);

  box-shadow: 0 14px 34px rgba(255, 193, 7, 0.9);

}



.btn-offer::after {

  content: "🔥 DISCOUNT";

  position: absolute;

  top: -12px;

  right: -14px;

  background: #dc2626;

  color: #fff;

  font-size: 0.65rem;

  padding: 4px 8px;

  border-radius: 999px;

  font-weight: 800;

  box-shadow: 0 4px 14px rgba(0,0,0,0.3);

}



.final-cta {

  background: linear-gradient(135deg,#2563eb,#1e40af);

  color: #fff;

  padding: 80px 30px;

  border-radius: 20px;

  text-align: center;

  margin-top: 100px;

}



/* =========================

   ABOUT PAGE - PRO STYLING

   ========================= */

/* ==========================================================================

   ABOUT PAGE - PROFESSIONAL ARCHITECTURE

   ========================================================================== */



/* 1. HERO SECTION: Visionary Design */

.about-hero-pro {

    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap: 80px;

    align-items: center;

    padding: 100px 0;

    min-height: 70vh;

}



.badge-tech {

    display: inline-block;

    padding: 8px 18px;

    background: rgba(37, 99, 235, 0.08);

    color: #2563eb;

    border-radius: 100px;

    font-size: 0.85rem;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    margin-bottom: 25px;

    border: 1px solid rgba(37, 99, 235, 0.15);

}



.about-content h1 {

    font-size: clamp(2.5rem, 5vw, 4rem);

    font-weight: 900;

    line-height: 1.05;

    color: #0f172a;

    margin-bottom: 30px;

    letter-spacing: -1.5px;

}



.text-gradient {

    background: linear-gradient(135deg, #2563eb, #38bdf8);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

}



.about-content p {

    font-size: 1.2rem;

    line-height: 1.8;

    color: #475569;

    max-width: 600px;

}



/* Imagen con efecto de profundidad (sin sombras pesadas) */

.about-image-wrapper {

    position: relative;

}



.about-image-pro {

    width: 100%;

    height: 550px;

    object-fit: cover;

    border-radius: 40px; /* Bordes muy redondeados */

    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05), 

               -20px -20px 60px rgba(255, 255, 255, 0.8);

    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

}



.about-image-pro:hover {

    transform: translateY(-10px) scale(1.02);

}



/* 2. MISSION SECTION: Balanced Grid */

.mission-pro {

    background: #ffffff;

    border: 1px solid rgba(226, 232, 240, 0.8);

    padding: 100px 60px;

    border-radius: 50px;

    margin-bottom: 100px;

}



.mission-grid {

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 60px;

    align-items: center;

}



.mission-text h2 {

    font-size: 2.8rem;

    font-weight: 800;

    margin-bottom: 25px;

    color: #0f172a;

}



.mission-text p {

    font-size: 1.15rem;

    color: #64748b;

    line-height: 1.8;

}



/* Stats Styling */

.mission-stats {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;

}



.stat-item {

    background: #f8fafc;

    padding: 35px 25px;

    border-radius: 30px;

    text-align: center;

    border: 1px solid #e2e8f0;

    transition: all 0.3s ease;

}



.stat-item:hover {

    background: #fff;

    border-color: #38bdf8;

    transform: translateY(-5px);

    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.1);

}



.stat-number {

    display: block;

    font-size: 2.5rem;

    font-weight: 900;

    color: #0f172a;

    margin-bottom: 5px;

}



.stat-item p {

    font-size: 0.9rem;

    font-weight: 600;

    color: #94a3b8;

    text-transform: uppercase;

    letter-spacing: 1px;

}



/* 3. TEAM SECTION: Simplified & Cinematic */

.team-simple {

    text-align: center;

    padding: 80px 0 120px;

}



.team-simple h2 {

    font-size: 3rem;

    font-weight: 800;

    margin-bottom: 20px;

}



.team-intro {

    font-size: 1.2rem;

    color: #64748b;

    max-width: 650px;

    margin: 0 auto 60px;

}



.team-brand-image {

    position: relative;

    max-width: 1100px;

    margin: 0 auto;

    border-radius: 40px;

    overflow: hidden;

    height: 500px;

}



.team-img-main {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 10s linear; /* Zoom lento infinito al estilo cine */

}



.team-brand-image:hover .team-img-main {

    transform: scale(1.15);

}



.team-overlay-text {

    position: absolute;

    inset: 0;

    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 10%, transparent 60%);

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 60px;

    text-align: left;

    color: #fff;

}



.team-overlay-text h3 {

    font-size: 2.2rem;

    font-weight: 700;

    margin-bottom: 10px;

}



.team-overlay-text p {

    font-size: 1.1rem;

    opacity: 0.9;

}



/* 4. RESPONSIVE OPTIMIZATION */

@media (max-width: 1024px) {

    .about-hero-pro, .mission-grid {

        grid-template-columns: 1fr;

        gap: 50px;

        text-align: center;

    }

    .about-content p, .mission-text p {

        margin: 0 auto;

    }

}



@media (max-width: 768px) {

    .mission-pro {

        padding: 60px 30px;

    }

    .mission-stats {

        grid-template-columns: 1fr;

    }

    .team-overlay-text {

        padding: 30px;

        text-align: center;

    }

}



/* Hero Section */

.about-hero-pro {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: center;

  padding: 80px 0;

}



.about-content h1 {

  font-size: 3.5rem;

  font-weight: 800;

  line-height: 1.1;

  margin-bottom: 25px;

  color: #0f172a;

}



.about-content p {

  font-size: 1.15rem;

  color: #475569;

  line-height: 1.8;

}



.about-image-pro {

  width: 100%;

  border-radius: 40px; /* Bordes redondeados como pediste */

  filter: brightness(0.9);

  transition: transform 0.5s ease;

}



/* Mission Section */

.mission-pro {

  background: #f1f5f9;

  padding: 80px 40px;

  border-radius: 40px;

  margin: 60px 0;

}



.mission-grid {

  display: grid;

  grid-template-columns: 2fr 1fr;

  gap: 40px;

  align-items: center;

}



.mission-text h2 {

  font-size: 2.5rem;

  margin-bottom: 20px;

}



.mission-stats {

  display: flex;

  flex-direction: column;

  gap: 20px;

}



.stat-item {

  background: #fff;

  padding: 20px;

  border-radius: 20px;

  text-align: center;

  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);

}



.stat-number {

  display: block;

  font-size: 2rem;

  font-weight: 800;

  color: #2563eb;

}



/* Simplified Team Section */

.team-simple {

  text-align: center;

  padding: 80px 0;

}



.team-brand-image {

  position: relative;

  max-width: 900px;

  margin: 40px auto;

  overflow: hidden;

  border-radius: 30px;

}



.team-img-main {

  width: 100%;

  height: 400px;

  object-fit: cover;

  display: block;

  filter: grayscale(30%);

}



.team-overlay-text {

  position: absolute;

  bottom: 0;

  left: 0;

  right: 0;

  padding: 40px;

  background: linear-gradient(to top, rgba(15,23,42,0.9), transparent);

  color: #fff;

}



/* Responsive */

@media (max-width: 768px) {

  .about-hero-pro, .mission-grid {

    grid-template-columns: 1fr;

    text-align: center;

  }

  .about-hero-pro { padding: 40px 0; }

  .about-content h1 { font-size: 2.5rem; }

}

/* ==========================================================================

   CONTACT PAGE - MODERN PROFESSIONAL

   ========================================================================== */



.contact-wrapper {

    display: grid;

    grid-template-columns: 1fr 1.1fr;

    gap: 80px;

    padding: 80px 0;

    align-items: center;

}



/* Lado Izquierdo */

.contact-details h1 {

    font-size: 3.2rem;

    font-weight: 800;

    line-height: 1.1;

    margin-bottom: 25px;

    color: #0f172a;

}



.contact-description {

    font-size: 1.15rem;

    color: #64748b;

    margin-bottom: 40px;

    line-height: 1.8;

}



.contact-info-list {

    display: flex;

    flex-direction: column;

    gap: 25px;

}



.info-item {

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 20px;

    background: #fff;

    border-radius: 20px;

    border: 1px solid #e2e8f0;

    transition: 0.3s ease;

}



.info-item:hover {

    border-color: #38bdf8;

    transform: translateX(10px);

}



.info-icon {

    font-size: 1.5rem;

    background: #f0f9ff;

    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

}



.info-text strong {

    display: block;

    color: #0f172a;

    font-size: 1rem;

}



.info-text span {

    color: #64748b;

}



/* Lado Derecho - El Formulario */

.contact-form-card {

    background: #ffffff;

    padding: 50px;

    border-radius: 40px;

    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);

    border: 1px solid #f1f5f9;

}



.pro-form {

    display: flex;

    flex-direction: column;

    gap: 20px;

}



.input-group {

    display: flex;

    flex-direction: column;

    gap: 8px;

}



.input-group label {

    font-weight: 700;

    font-size: 0.9rem;

    color: #334155;

    margin-left: 5px;

}



.pro-form input, 

.pro-form textarea {

    padding: 16px 20px;

    border-radius: 15px;

    border: 1px solid #e2e8f0;

    background: #f8fafc;

    font-size: 1rem;

    transition: all 0.3s ease;

}



.pro-form input:focus, 

.pro-form textarea:focus {

    outline: none;

    background: #fff;

    border-color: #2563eb;

    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);

}



.btn-submit-pro {

    margin-top: 10px;

    padding: 18px;

    background: #0f172a;

    color: #fff;

    border: none;

    border-radius: 15px;

    font-weight: 700;

    font-size: 1rem;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    cursor: pointer;

    transition: all 0.3s ease;

}



.btn-submit-pro:hover {

    background: #2563eb;

    transform: translateY(-2px);

    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);

}



/* Success Banner */

.success-banner {

    background: #f0fdf4;

    border: 1px solid #bbf7d0;

    padding: 20px;

    border-radius: 20px;

    display: flex;

    gap: 15px;

    align-items: center;

    margin-bottom: 30px;

}



.success-icon {

    background: #22c55e;

    color: #fff;

    width: 30px;

    height: 30px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: bold;

}



/* RESPONSIVE */

@media (max-width: 992px) {

    .contact-wrapper {

        grid-template-columns: 1fr;

        text-align: center;

    }

    .contact-info-list {

        align-items: center;

        margin-bottom: 40px;

    }

    .info-item { width: 100%; max-width: 400px; }

}



/* ==========================================================================

   7. FOOTER

   ========================================================================== */

.site-footer {

  background: #020617;

  color: #94a3b8;

  padding: 50px 20px;

  margin-top: 100px;

  text-align: center;

}



.site-footer a {

  color: #cbd5f5;

  transition: color 0.3s ease;

}



.site-footer a:hover {

  color: #2563eb;

}



/* ==========================================================================

   8. ANIMATIONS & RESPONSIVE

   ========================================================================== */



/* Keyframes */

@keyframes fadeInUp {

  from {opacity:0; transform: translateY(40px);}

  to {opacity:1; transform: translateY(0);}

}



@keyframes bounceIn {

  0% {transform: scale(0.5);}

  60% {transform: scale(1.05);}

  80% {transform: scale(0.95);}

  100% {transform: scale(1);}

}



@keyframes blinkGlow {

  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.8); opacity: 1; }

  50% { box-shadow: 0 0 18px 8px rgba(255, 193, 7, 0.9); opacity: 0.85; }

}





/* Media Queries */

@media (max-width: 1024px) {

  .hero h1 { font-size: 2.5rem; }

}



@media (max-width: 768px) {

  .site-header .container { flex-direction: column; gap: 15px; }

  .site-header nav { gap: 15px; flex-wrap: wrap; justify-content: center; }

  .tools-grid { grid-template-columns: 1fr; }

  .hero h1 { font-size: 2.1rem; }

  .final-cta h2 { font-size: 1.8rem; }

}



@media (max-width: 480px) {

  .hero p { font-size: 1rem; }

  .btn-primary { padding: 12px 24px; }

}

/* ==========================================================================

   HERO CLEAN & CLOUDY DESIGN

   ========================================================================== */



.hero-clean {

  position: relative;

  height: 85vh;

  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;

  background-color: #0a0f1a; /* Fondo de seguridad oscuro */

}



/* La imagen de fondo */

.hero-background-img {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background-size: cover;

  background-position: center;

  z-index: 1;

}



/* El efecto NUBLADO (Overlay de cristal esmerilado) */

.hero-glass-overlay {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  z-index: 2;

  /* El secreto: un color muy suave con desenfoque de fondo */

  background: rgba(15, 23, 42, 0.4); 

  backdrop-filter: blur(2px); /* Ajusta este número para más o menos "nube" */

  -webkit-backdrop-filter: blur(15px);

  display: flex;

  align-items: center;

  justify-content: center;

}



.hero-panel {

  max-width: 900px;

  text-align: center;

  padding: 40px;

  border-radius: 40px; /* Bordes muy redondeados */

  /* Borde blanco casi invisible para definir la forma sin usar sombras */

  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(255, 255, 255, 0.02);

}



/* Badge sutil */

.badge-tech {

  display: inline-block;

  padding: 6px 16px;

  background: rgba(56, 189, 248, 0.1);

  color: #38bdf8;

  border-radius: 100px;

  font-size: 0.8rem;

  font-weight: 700;

  letter-spacing: 1px;

  margin-bottom: 25px;

  text-transform: uppercase;

}



.hero-panel h1 {

  font-size: clamp(2.5rem, 6vw, 4.2rem);

  color: #ffffff;

  font-weight: 800;

  line-height: 1.1;

  margin-bottom: 20px;

}



.text-highlight {

  color: #1b2239; /* Color de tu marca */

}



.hero-panel p {

  font-size: 1.25rem;

  color: rgba(255, 255, 255, 0.8);

  max-width: 700px;

  margin: 0 auto 40px;

  line-height: 1.6;

}



/* Botones Estilo Minimalista */

.hero-button-group {

  display: flex;

  gap: 20px;

  justify-content: center;

}



.btn-main {

  padding: 18px 40px;

  background: #38bdf8;

  color: #0a0f1a;

  border-radius: 16px;

  font-weight: 700;

  text-decoration: none;

  transition: all 0.3s ease;

}



.btn-main:hover {

  background: #ffffff;

  transform: translateY(-2px);

}



.btn-outline {

  padding: 18px 40px;

  border: 2px solid rgba(255, 255, 255, 0.2);

  color: #ffffff;

  border-radius: 16px;

  font-weight: 700;

  text-decoration: none;

  transition: all 0.3s ease;

}



.btn-outline:hover {

  border-color: #ffffff;

  background: rgba(255, 255, 255, 0.05);

}



/* Responsive */

@media (max-width: 768px) {

  .hero-button-group {

    flex-direction: column;

  }

  .hero-panel {

    padding: 20px;

  }

}

