/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ffffff;
    --primary-light: #2d8659;
    --primary-dark: #1f1f1f;
    --secondary-color: #ffffff;
    --accent-color: #00ff88;
    --text-primary: #ffffff;
    --text-secondary: #fff;
    --text-muted: #999999;
    --background-dark: #1f1f1f;
    --background-section: #1e1e1e;
    --background-card: rgba(139, 92, 246, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-light: rgba(255, 255, 255, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-hero: linear-gradient(135deg, #000000 0%, #1a5c3a 50%, transparent 100%);
    --font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
    --border-radius: 12px;
    --border-radius-small: 8px;
    --border-radius-large: 20px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-family);
    background: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navegación */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    /*background: #04040b;*/
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    transform: translateY(-100%);
    transition: all var(--transition-normal);
    max-width: 100vw;
    overflow: hidden;
}

.nav.visible {
    transform: translateY(0);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-nav {
    height: 32px;
    width: 32px;
    object-fit: contain;
    transition: all var(--transition-normal);
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    display: flex;
    gap: 8px;
    background: var(--background-card);
    padding: 4px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
    font-family: var(--font-family);
    text-decoration: none;
}

.lang-btn:hover {
    color: var(--text-primary);
    background: var(--background-card);
}

.lang-btn.active {
    background: #c084fc;/*var(--gradient-primary);*/
    color: black;/*var(--text-primary);*/
    box-shadow: 0 2px 8px rgba(26, 92, 58, 0.3);
}
/* HERO SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #121414;
    overflow: hidden;
}

/* Canvas para efectos */
#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Logo de fondo */
.hero-background-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

.hero-background-logo img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

/* Contenido principal */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    height: 100%;
}

/* Barra del título */
.hero-titlebar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.hero-inline-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.hero-inline-title {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

/* Subtítulo */
.hero-subtitle {
    font-size: 1.3rem;
    color: #b8b8b8;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 600px;
    line-height: 1.6;
}

/* Botón CTA */
.hero-cta {
    margin-bottom: 2rem;
}

.cta-button {
    background: #c084fc;/*linear-gradient(135deg, var(--primary-color), var(--primary-light));*/
    color: black;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(26, 92, 58, 0.3);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.cta-button.secondary {
    background: #c084fc;/*linear-gradient(135deg, var(--primary-color), var(--primary-light));*/
    box-shadow: 0 8px 25px rgba(26, 92, 58, 0.3);
}

.cta-button.secondary:hover {
    box-shadow: 0 12px 35px rgba(26, 92, 58, 0.4);
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #b8b8b8;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 2;
}


/* Responsive Hero */
@media (max-width: 768px) {
    .hero-titlebar {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 1.5rem;
    }

    .hero-inline-logo {
        width: 60px;
    }

    .hero-inline-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-background-logo {
        transform: translate(-50%, -50%) scale(1.2);
    }

    .hero-background-logo img {
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-inline-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Secciones */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    position: relative;
}

.section:nth-child(even) {
    background: var(--background-section);
}

.section-blog {
  background: linear-gradient(135deg, #642b79, #320941) !important;
}


.section:nth-child(odd):not(.hero) {
    background: var(--background-dark);
}

.section-content,.section-content-blog {
    max-width: 1200px;
    text-align: center;
    width: 100%;
}

.section-icon {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 30px;
    background: #c084fc;/*linear-gradient(135deg, var(--text-primary), var(--primary-light));*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.section p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid de características */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  justify-content: center;
}



.feature-card {
    background: var(--background-card);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-dark);
    border-color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #c084fc;/*var(--primary-light);*/
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}


.button-group-wrapper {
  padding: 2rem;
  border-radius: 12px;
  background-color: #121214;
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.blog-button {
  padding: 10px 20px;
  border: 2px solid #c084fc;
  border-radius: 8px;
  color: white;
  background: transparent;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
    font-size: 1.1rem;
}

.blog-button:hover {
  background: #c084fc;
  color: black;
}

/* Formulario de contacto */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

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

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #c084fc;/*var(--primary-light);*/
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    background: var(--background-card);
    color: var(--text-primary);
    font-size: 16px;
    font-family: var(--font-family);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 92, 58, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: none;
    min-height: 120px;
}

.form-success {
  color: var(--success-color, #3cb371); /* o un verde elegante */
  font-weight: 600;
  margin-top: 1rem;
  font-size: 16px;
}

.form-error {
  color: var(--danger-color, #e74c3c); /* o un rojo elegante */
  font-weight: 600;
  margin-top: 1rem;
  font-size: 16px;
}

/* Footer */
#footer {
    background: var(--background-section);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

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

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

.col1 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.name-footer {
    font-size: 2.7rem;
    font-weight: 700;
    color: var(--text-primary);
}

.social-icons {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-icons .whatsapp {
    background: #25d366;
}

.social-icons .telegram {
    background: #0088cc;
}

.social-icons .instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #aaa;
}

/* Menú flotante */
#floatingMenu {
    opacity: 0;
    pointer-events: auto;
    transition: all var(--transition-fast);
}

#floatingMenu.visible {
    opacity: 1;
    pointer-events: auto;
}

.btn-EkamDasha {
    position: fixed;
    width: 60px;
    height: 60px;
    line-height: 63px;
    bottom: 15px;
    left: 15px;
    color: #FFF;
    border: 3px solid #fff;
    text-align: center;
    font-size: 35px;
    z-index: 1000;
    transition: all 300ms ease;
}

.btn-EkamDasha img {
    max-width: 100%;
    object-fit: contain;
    padding: 5px;
}

.dd-m-whatsapp {
    position: fixed;
    bottom: 10px;
    right: 15px;
    width: 50px;
    height: 50px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #25d366;
    transition: 0.3s all ease;
    cursor: pointer;
    text-decoration: none;
    color: #25d366;
}

.dd-m-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px 2px rgba(37, 211, 102, 0.3);
}

.dd-m-whatsapp .icon {
    width: 70%;
    height: 70%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 39 39'%3E%3Cpath d='M10.7 32.8l.6.3c2.5 1.5 5.3 2.2 8.1 2.2 8.8 0 16-7.2 16-16 0-4.2-1.7-8.3-4.7-11.3s-7-4.7-11.3-4.7c-8.8 0-16 7.2-15.9 16.1 0 3 .9 5.9 2.4 8.4l.4.6-1.6 5.9 6-1.5z' fill='%2325d366'/%3E%3Cpath d='M32.4 6.4C29 2.9 24.3 1 19.5 1 9.3 1 1.1 9.3 1.2 19.4c0 3.2.9 6.3 2.4 9.1L1 38l9.7-2.5c2.7 1.5 5.7 2.2 8.7 2.2 10.1 0 18.3-8.3 18.3-18.4 0-4.9-1.9-9.5-5.3-12.9zM19.5 34.6c-2.7 0-5.4-.7-7.7-2.1l-.6-.3-5.8 1.5L6.9 28l-.4-.6c-4.4-7.1-2.3-16.5 4.9-20.9s16.5-2.3 20.9 4.9 2.3 16.5-4.9 20.9c-2.3 1.5-5.1 2.3-7.9 2.3zm8.8-11.1l-1.1-.5s-1.6-.7-2.6-1.2c-.1 0-.2-.1-.3-.1-.3 0-.5.1-.7.2 0 0-.1.1-1.5 1.7-.1.2-.3.3-.5.3h-.1c-.1 0-.3-.1-.4-.2l-.5-.2c-1.1-.5-2.1-1.1-2.9-1.9-.2-.2-.5-.4-.7-.6-.7-.7-1.4-1.5-1.9-2.4l-.1-.2c-.1-.1-.1-.2-.2-.4 0-.2 0-.4.1-.5 0 0 .4-.5.7-.8.2-.2.3-.5.5-.7.2-.3.3-.7.2-1-.1-.5-1.3-3.2-1.6-3.8-.2-.3-.4-.4-.7-.5h-1.1c-.2 0-.4.1-.6.1l-.1.1c-.2.1-.4.3-.6.4-.2.2-.3.4-.5.6-.7.9-1.1 2-1.1 3.1 0 .8.2 1.6.5 2.3l.1.3c.9 1.9 2.1 3.6 3.7 5.1l.4.4c.3.3.6.5.8.8 2.1 1.8 4.5 3.1 7.2 3.8.3.1.7.1 1 .2h1c.5 0 1.1-.2 1.5-.4.3-.2.5-.2.7-.4l.2-.2c.2-.2.4-.3.6-.5s.4-.4.5-.6c.2-.4.3-.9.4-1.4v-.7s-.1-.1-.3-.2z' fill='%23fff'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
}

.dd-m-code {
    position: fixed;
    bottom: 10px;
    right: 75px;
    width: 50px;
    height: 50px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #752360;
    transition: 0.3s all ease;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
}

.dd-m-code:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px 2px rgba(37, 211, 102, 0.3);
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--background-card);
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
}

.cookie-banner button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.cookie-banner button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 92, 58, 0.3);
}

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

    .row {
        flex-direction: column;
        gap: 1rem;
    }

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

    .dd-m-whatsapp {
        bottom: 20px;
        right: 10px;
    }

    .dd-m-code {
        bottom: 20px;
        right: 65px;
    }

    .btn-EkamDasha {
        bottom: 20px;
    }
}


/* BLOG Card*/
.blog-section {

  padding: 0 0 0 0;
  text-align: center;
}

.blog-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: bold;
  color: #fff; /* Título en blanco */
}

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

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: #0a0a1a; /* Fondo ligeramente más claro */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0.3em rgb(255, 255, 255);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%; /* Asegura que la card se ajuste al tamaño del grid */
  max-width: 400px; /* Limita el tamaño máximo de cada card */
  margin: 0 auto;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.blog-image {
  width: 100%;
  height: 300px;
  object-fit: contain;
}

.blog-content {
  padding: 0 0 1.5rem 0;
  color: #ccc; /* Texto más claro */
}

.blog-card-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #fff; /* Título de la card */
}

.blog-description {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #c084fc; /* Botón llamativo */
  color: #121414; /* Contraste con el texto */
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.blog-button:hover {
  background-color: #007bff; /* Cambio en hover */
}

.fecha_publicacion_card{
    color: #fff;
    text-align: center;
    padding: 5px;
}

.fecha_publicacion_card .blog-date{
    color:yellow;
    text-decoration: none;
}