:root {
    --text: #ffffff;
    --background: #050000;
    --primary: #1a8f00;
    --secondary: #1a8f00;
    --accent: #1a8f00;
    --chatbot-color: #b34aed;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    overflow-x: hidden;
    overflow-y: visible;
}

@media (max-width: 768px) {
    html.embedded-preview,
    html.embedded-preview body {
        overflow: hidden !important;
        height: 100%;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    html.embedded-preview::-webkit-scrollbar,
    html.embedded-preview body::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }
}

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

section {
    padding: 80px 0;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text);
}

/* Header */
.header {
    background: var(--background);
    color: var(--text);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, rgba(5, 0, 0, 1), rgba(5, 0, 0, 0));
    pointer-events: none;
}

.header.scrolled::after {
    display: none;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav a:hover {
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.18);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    background: #000000;
    color: var(--text);
    padding: 20px 20px 40px;
    min-height: 80vh;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
    margin-top: 60px;
}

.hero-content {
    max-width: 45%;
    padding-right: 40px;
    position: relative;
}

.hero-video {
    display: none;
}

.hero-content-inner {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 520px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Playfair Display", serif;
    font-weight: 300;
    line-height: 1.6;
}

#heroModel {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
}

#heroModel canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: background 0.3s;
}

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

.btn-primary:hover {
    background: #23b800;
}

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

/* Card */
.card {
    background: rgba(255, 255, 255, 0.04);
    padding: 30px 24px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(26, 143, 0, 0.15);
}

.card h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

.card > p:not(.card-price) {
    flex: 1;
}

/* Tecnologias */
.tecnologias {
    background: #010000;
    padding: 50px 0;
}

.tecnologias-label {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.tech-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    cursor: default;
}

.tech-item img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.tech-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(26, 143, 0, 0.08);
    transform: translateY(-2px);
}

/* Quienes Somos */
.quienes-somos {
    background: #050000;
    padding: 80px 0;
}

.quienes-somos h2 {
    margin-bottom: 50px;
}

.quienes-somos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.fundador-imagen {
    text-align: center;
}

.fundador-imagen img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.fundador-info h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-family: "Playfair Display", serif;
}

.fundador-cargo {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 30px;
}

.fundador-descripcion {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .quienes-somos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Servicios */
.servicios {
    background: var(--background);
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.plan {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.plan-media,
.service-media {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.plan-media-img,
.service-media-img {
    width: 100%;
    height: 190px;
    display: block;
    object-fit: cover;
}

.plan:hover {
    transform: translateY(-4px);
}

.plan-basico:hover {
    border-color: #2fff00;
}

.plan-profesional:hover {
    border-color: #3b82f6;
}

.plan-premium:hover {
    border-color: #a855f7;
}

.plan-header {
    margin-bottom: 16px;
}

.plan-header h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin: 0;
}

.plan-desc {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    line-height: 1.5;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex: 1;
}

.plan-features li {
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    padding-left: 20px;
}

.plan-features li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.plan-price {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
}

.plan-price strong {
    color: var(--primary);
}

.plan-cta {
    width: 100%;
    margin-top: 18px;
    text-align: center;
}

.adicionales-title {
    margin-top: 40px;
}

.adicionales-sub {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 36px;
}

.card-price {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.card-price strong {
    color: var(--primary);
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
    text-align: left;
}

.card-list li {
    padding: 3px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    position: relative;
    padding-left: 16px;
}

.card-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.card-full {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
}

/* Antes y Despues */
.antes-despues {
    background: var(--background);
    padding: 80px 0;
}

.ad-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.ad-col {
    flex: 1;
    min-width: 260px;
    max-width: 360px;
    padding: 36px 32px;
    border-radius: 16px;
}

.ad-antes {
    background: rgba(255, 0, 0, 0.06);
    border: 1px solid rgba(255, 0, 0, 0.15);
}

.ad-antes h3 {
    text-align: center;
    font-size: 1.5rem;
    color: #ff4444;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.ad-antes ul {
    list-style: none;
    padding: 0;
}

.ad-antes li {
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ad-x {
    font-size: 1.1rem;
}

.ad-arrow {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.7;
}

.ad-despues {
    background: rgba(26, 143, 0, 0.06);
    border: 1px solid rgba(26, 143, 0, 0.15);
}

.ad-despues h3 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.ad-despues ul {
    list-style: none;
    padding: 0;
}

.ad-despues li {
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ad-check {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .ad-grid {
        flex-direction: column;
        gap: 20px;
    }

    .ad-arrow {
        transform: rotate(90deg);
    }
}

/* Estadisticas */
.estadisticas {
    background: rgba(179, 74, 237, 0.03);
    padding: 80px 0;
    border-top: 1px solid rgba(179, 74, 237, 0.08);
    border-bottom: 1px solid rgba(179, 74, 237, 0.08);
}

.stats-bars {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.stat-bar-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.stat-bar-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.stat-bar-value {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1rem;
}

.stat-bar-track {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--secondary), #d47bff);
    border-radius: 6px;
    transition: width 1.5s ease;
}

/* Blog */
.blog {
    background: var(--background);
    padding: 80px 0;
}

.blog-sub {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    margin-top: -20px;
    margin-bottom: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.blog-card-link {
    display: block;
    text-decoration: none;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
}

.blog-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-placeholder {
    font-size: 3rem;
}

.blog-body {
    padding: 20px;
}

.blog-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(179, 74, 237, 0.12);
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-body h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-body p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.blog-date {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
}

.blog-btn-wrap {
    text-align: center;
    margin-top: 40px;
}

/* Portafolio */
.portafolio {
    background: var(--background);
    padding: 80px 0;
}

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

.portafolio-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    text-decoration: none;
    display: block;
}

.portafolio-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.portafolio-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: top center;
}

.portafolio-body {
    padding: 20px;
}

.portafolio-body h3 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 10px;
}

.portafolio-body p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Boceto Gratis */
.boceto-gratis {
    background: rgba(255, 255, 255, 0.02);
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.boceto-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
}

.boceto-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

.boceto-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.boceto-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: left;
}

.boceto-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .plan-media-img,
    .service-media-img {
        height: 170px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .boceto-card {
        grid-template-columns: 1fr;
    }
    
    .boceto-content {
        padding: 30px 20px;
    }
}

/* Blog page */
.blog-page {
    padding: 120px 0 80px;
    background: var(--background);
    min-height: 80vh;
}

.blog-page h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 8px;
    color: var(--text);
    font-family: "Playfair Display", serif;
}

.blog-page .blog-sub {
    margin-bottom: 50px;
}

.article-page {
    padding: 120px 0 80px;
    background: var(--background);
    min-height: 100vh;
}

.article-hero {
    padding: 0 0 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 40px;
}

.article-category {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(26, 143, 0, 0.12);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.article-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 18px;
    font-family: "Playfair Display", serif;
}

.article-intro {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.article-meta span {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(280px, 0.9fr);
    gap: 36px;
    align-items: start;
}

.article-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.article-section,
.article-sidebar-card,
.article-cta {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 30px;
}

.article-section h2,
.article-sidebar-card h3,
.article-cta h2 {
    text-align: left;
    margin-bottom: 18px;
}

.article-section p,
.article-sidebar-card p,
.article-cta p {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.85;
}

.article-section p + p,
.article-sidebar-card p + p {
    margin-top: 16px;
}

.article-list,
.keyword-list {
    list-style: none;
    margin-top: 18px;
}

.article-list li,
.keyword-list li {
    color: rgba(255, 255, 255, 0.78);
    padding-left: 20px;
    position: relative;
}

.article-list li + li,
.keyword-list li + li {
    margin-top: 12px;
}

.article-list li::before,
.keyword-list li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.keyword-group + .keyword-group {
    margin-top: 24px;
}

.keyword-group h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 12px;
}

.article-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-cta {
    margin-top: 8px;
}

.article-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

@media (max-width: 900px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }

    .article-title {
        font-size: 2.3rem;
    }
}

/* Por que nosotros */
.porque-nosotros {
    background: rgba(255, 255, 255, 0.02);
}

/* Presentacion Video */
.presentacion-video {
    background: #050000;
}

.presentacion-video-head {
    max-width: 780px;
    margin: 0 auto 34px;
    text-align: center;
}

.presentacion-video-head p {
    color: rgba(255, 255, 255, 0.66);
}

.presentacion-video-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.3fr);
    gap: 28px;
    align-items: center;
    padding: 30px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.presentacion-video-copy {
    text-align: left;
}

.presentacion-video-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    background: rgba(26, 143, 0, 0.16);
    border: 1px solid rgba(26, 143, 0, 0.3);
    color: #d8ffd0;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.presentacion-video-copy h3 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 2rem;
}

.presentacion-video-copy p {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.8;
}

.presentacion-video-player-wrap {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: min(100%, 360px);
    margin: 0 auto;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.presentacion-video-player {
    width: 100%;
    display: block;
    aspect-ratio: 9 / 16;
    background: #000;
    object-fit: contain;
}

/* Contacto */
.contacto {
    background: var(--background);
    text-align: center;
}

.contacto-head {
    max-width: 760px;
    margin: 0 auto 42px;
}

.contacto-head p {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.6);
}

.contacto-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.2fr);
    gap: 30px;
    align-items: stretch;
}

.contacto-visual,
.contacto-card {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

.contacto-visual {
    position: relative;
    min-height: 100%;
}

.contacto-img {
    width: 100%;
    height: 100%;
    min-height: 640px;
    object-fit: cover;
    display: block;
    filter: brightness(0.72);
}

.contacto-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    background: linear-gradient(180deg, rgba(5, 0, 0, 0.08), rgba(5, 0, 0, 0.92));
    text-align: left;
}

.contacto-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    background: rgba(26, 143, 0, 0.2);
    color: #d8ffd0;
    border: 1px solid rgba(26, 143, 0, 0.35);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.contacto-overlay h3 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 2rem;
}

.contacto-overlay p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.78);
    max-width: none;
}

.contacto-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contacto-points li {
    position: relative;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.85);
}

.contacto-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(26, 143, 0, 0.12);
}

.contacto-card {
    padding: 32px;
    text-align: left;
}

.form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.form-contacto {
    max-width: none;
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

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

.form-group-full {
    grid-column: 1 / -1;
}

.form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text);
}

.form input,
.form textarea,
.form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.form textarea {
    resize: vertical;
    min-height: 150px;
}

.form select option {
    color: #111;
}

.form .btn {
    width: 100%;
    margin-top: 4px;
}

.form .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-note {
    margin: 20px 0 10px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.95rem;
}

.form-status {
    min-height: 24px;
    margin: 0 0 14px;
    font-size: 0.95rem;
    color: #dfffd6;
}

.form-status.error {
    color: #ffb6b6;
}

@media (max-width: 900px) {
    .presentacion-video-card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .presentacion-video-copy {
        text-align: center;
    }

    .presentacion-video-badge {
        justify-content: center;
    }

    .presentacion-video-copy h3 {
        font-size: 1.7rem;
    }

    .presentacion-video-player-wrap {
        width: min(100%, 340px);
        margin: 0 auto;
    }

    .contacto-layout {
        grid-template-columns: 1fr;
    }

    .contacto-img {
        min-height: 420px;
    }

    .contacto-card {
        padding: 24px;
    }

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

    .form-group-full {
        grid-column: auto;
    }
}

/* Footer */
/* Social Section */
.social-section {
    background: rgba(255, 255, 255, 0.02);
    padding: 60px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

.social-section h2 {
    margin-bottom: 30px;
    color: var(--text);
}

.social-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.social-btn svg {
    width: 28px;
    height: 28px;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.social-whatsapp:hover {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

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

.social-instagram:hover {
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.3);
}

.social-linkedin {
    background: #0077b5;
    border-color: #0077b5;
}

.social-linkedin:hover {
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.3);
}

.social-tiktok {
    background: #000;
    border-color: #fff;
}

.social-tiktok:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.footer {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(5, 0, 0, 0.98)),
        var(--background);
    color: rgba(255, 255, 255, 0.72);
    padding: 72px 20px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.footer-brand {
    max-width: 380px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.footer-description {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.8;
}

.footer-column h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 18px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-bottom {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.42);
}

/* Floating Buttons */
.floating-btns {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btns-mobile {
    display: none;
}

.float-btn {
    min-width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: #fff;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn svg {
    width: 28px;
    height: 28px;
}

.float-whatsapp {
    background: #25d366;
    width: 56px;
}

.float-whatsapp:hover {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.float-chatbot {
    background: var(--chatbot-color);
    order: -1;
}

.float-chatbot:hover {
    box-shadow: 0 4px 20px rgba(179, 74, 237, 0.4);
}

/* Chatbot Overlay */
.chatbot-overlay {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 340px;
    max-height: 460px;
    background: rgba(20, 20, 20, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.chatbot-overlay.open {
    display: flex;
}

.chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--chatbot-color);
    color: #fff;
    font-weight: 600;
}

.chatbot-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.chatbot-msg {
    padding: 12px 16px;
    margin: 8px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    max-width: 80%;
}

.chatbot-msg.bot {
    background: rgba(179, 74, 237, 0.15);
    color: rgba(255, 255, 255, 0.85);
    align-self: flex-start;
}

.chatbot-msg.user {
    background: rgba(26, 143, 0, 0.2);
    color: rgba(255, 255, 255, 0.85);
    align-self: flex-end;
}

.chatbot-msg.pending {
    opacity: 0.72;
}

.chatbot-input-wrap {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px;
    gap: 8px;
}

.chatbot-input-wrap input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
}

.chatbot-input-wrap input:focus {
    outline: none;
    border-color: var(--secondary);
}

.chatbot-input-wrap button {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    background: var(--secondary);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
}

.chatbot-input-wrap input:disabled,
.chatbot-input-wrap button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .floating-btns {
        display: none;
    }

    .floating-btns-mobile {
        position: fixed;
        left: 12px;
        bottom: 16px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        z-index: 999;
    }

    .chatbot-overlay {
        width: min(340px, calc(100vw - 24px));
        right: 12px;
        left: auto;
        bottom: 88px;
        max-height: min(460px, calc(100vh - 120px));
    }
}

@media (max-width: 480px) {
    .floating-btns-mobile {
        left: 12px;
        bottom: 16px;
    }

    .float-btn {
        min-width: 52px;
        width: 52px;
        height: 52px;
    }

    .float-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .chatbot-overlay {
        width: calc(100vw - 24px);
        right: 12px;
        bottom: 84px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 56px 20px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--background);
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav.open {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        gap: 12px;
    }

    .menu-toggle {
        display: block;
    }

    .hero-grid {
        flex-direction: column;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        padding-right: 0;
        width: 100%;
        display: block;
    }

    .hero-video {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        pointer-events: none;
    }

    .hero-content-inner {
        width: 100%;
        padding: 54px 24px 38px;
    }

    .hero::before {
        background: rgba(0, 0, 0, 0.58);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-grid {
        position: relative;
        z-index: 1;
    }

    #heroModel {
        display: none;
    }

    section {
        padding: 60px 0;
    }
}
