/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #050505;
    color: white;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

/* Navbar */
.navbar {
    position: fixed; /* This makes it stay static on the screen */
    top: 0;
    left: 0;
    width: 100%; /* Ensures it spans the full width */
    z-index: 1000; /* Keeps it on top of all other sections */
    
    /* Optional: Add a subtle background blur so it looks modern over content */
    background-color: rgba(5, 5, 5, 0.8); 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    transition: 0.3s ease;
}

.logo {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo strong { color: #1a66ff; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover { color: white; }

.btn-contact {
    background-color: #1a66ff;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.badge {
    color: #1a66ff;
    background: rgba(26, 102, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 1px;
    
    /* Agrega esto para bajarlo */
    display: inline-block; /* Necesario para que el margen funcione bien */
    margin-top: 60px;      /* Esto lo empuja hacia abajo desde el tope */
    margin-bottom: 20px;   /* Esto separa el badge del h1 */
}

.hero-text h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin: 20px 0;
}

.blue-text { color: #1a66ff; }

.hero-text p {
    font-size: 1.1rem;
    color: #aaa;
    max-width: 500px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-blue {
    background-color: #1a66ff;
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    border: 1px solid #333;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

/* Image Card */
.hero-image-container {
    display: flex;
    justify-content: flex-end;
}

.main-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
}

.main-card img {
    width: 100%;
    display: block;
}

.card-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 70%;
    right: 80px; /* Ajustado para que se note el movimiento a la izquierda */
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px; /* Los hice redondos para que se vean más modernos */
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Esta es la clase que el JS debe activar */
.dot.active { 
    background: #1a66ff; 
    width: 30px; /* Se alarga cuando está activa */
    border-radius: 5px;
}

/* FAB */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #ffffff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    overflow: hidden;
    text-decoration: none; /* Quita subrayados si los hubiera */
    transition: all 0.3s ease;
}

.fab img {
    width: 55px;
    height: 55px;
    display: block;
    object-fit: contain;
    /* Tu ajuste manual de centrado */
    transform: translate(7px, 7px);
    transition: transform 0.3s ease;
}

/* El efecto de "brinco" al pasar el mouse */
.fab:hover {
    transform: translateY(-10px); /* El botón entero sube un poco */
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.fab:hover img {
    /* Mantenemos tu compensación de 7px pero podemos 
       ajustar el segundo valor si quieres que el logo 
       se mueva internamente también */
    transform: translate(7px, 7px);
}

/* About Section Styles */
.about-section {
    position: relative;
    z-index: 10;
    background-color: #050505; /* O el color que prefieras */
    padding: 100px 8%;
    display: block; /* Asegúrate que sea block para que ocupe su lugar */
}

.container-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.about-subtitle {
    color: #1a66ff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.about-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #ffffff;
}

.about-description {
    font-size: 1.1rem;
    color: #888;
    max-width: 480px;
    line-height: 1.6;
}

/* Gallery Staggered Grid */
.about-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gallery-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Positioning columns to create the staggered effect */
.gallery-column:nth-child(2) {
    margin-top: -40px;
}

.gallery-item {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%); /* B&W effect from image */
    transition: 0.5s ease;
}

.gallery-item img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Height variations */
.item-tall { height: 350px; }
.item-short { height: 280px; }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .container-about {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-description { margin: 0 auto; }
    .about-gallery { margin-top: 50px; }
    .gallery-column:nth-child(2) { margin-top: 0; }
}

/* Asegura que las fotos tengan presencia */
.item-tall { height: 400px; }
.item-short { height: 280px; }

/* Evita que el contenedor de la galería se rompa */
.gallery-item {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255,255,255,0.05); /* Un borde sutil para que resalte en el fondo negro */
}

/* Methodology Section Styles */
.methodology-section {
    padding: 100px 8%;
    background-color: #050505;
}

.method-header {
    margin-bottom: 60px;
}

.method-subtitle {
    color: #1a66ff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.method-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.method-intro {
    color: #888;
    font-size: 1.2rem;
    max-width: 600px;
}

/* Grid and Cards */
.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.method-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: 0.4s ease;
}

.method-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #1a66ff;
    transform: translateY(-10px);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.icon-box {
    width: 45px;
    height: 45px;
    background: rgba(26, 102, 255, 0.1);
    border: 1px solid rgba(26, 102, 255, 0.3);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1a66ff;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.method-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.method-card p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Sectors Section Styles */
.sectors-section {
    padding: 100px 8%;
    background-color: #050505;
}

.sectors-subtitle {
    color: #1a66ff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.sectors-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 50px;
}

/* Sectors Grid */
.sectors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.sector-card {
    position: relative;
    height: 350px;
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    background-size: cover;
    background-position: center;
    transition: 0.5s ease;
}

/* Background Images - Replace with your actual file names */
.card-inmobiliaria { background-image: url('inmobiliaria-bg.jpg'); }
.card-corporativa { background-image: url('corporativa-bg.jpg'); }
.card-industrial { background-image: url('industrial-bg.jpg'); }
.card-turismo { background-image: url('turismo-bg.jpg'); }

.sector-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.sector-content {
    position: relative;
    z-index: 2;
}

.sector-icon {
    width: 40px;
    height: 40px;
    background: #1a66ff;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: white;
}

.sector-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.sector-card p {
    color: #ccc;
    font-size: 1rem;
    max-width: 350px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.btn-text {
    color: #1a66ff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.sector-card:hover {
    transform: scale(1.02);
}

@media (max-width: 850px) {
    .sectors-grid { grid-template-columns: 1fr; }
}

/* Metrics Section Styles */
.metrics-section {
    padding: 100px 8%;
    background-color: #0047d4; /* The signature Realium Blue */
    color: white;
}

.container-metrics {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.metrics-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.8;
    display: block;
    margin-bottom: 15px;
}

.metrics-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.metrics-description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 400px;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1); /* Subtle glass effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    transition: 0.3s ease;
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.metric-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.metric-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.85;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .container-metrics {
        grid-template-columns: 1fr;
    }
    .metrics-text {
        text-align: center;
        margin-bottom: 40px;
    }
    .metrics-description {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* Solutions Section Styles */
.solutions-section {
    padding: 100px 8%;
    background-color: #050505;
}

.sol-subtitle {
    color: #1a66ff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.sol-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.sol-intro {
    color: #888;
    max-width: 600px;
    margin-bottom: 50px;
}

/* Bento Grid Layout */
.solutions-bento-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-item {
    background: #111;
    border: 1px solid #222;
    border-radius: 24px;
    padding: 40px;
    transition: 0.3s ease;
}

.bento-item:hover {
    border-color: rgba(26, 102, 255, 0.4);
}

.main-feature {
    grid-row: span 2;
}

/* Feature Content */
.icon-circle {
    width: 50px;
    height: 50px;
    background: #1a66ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.bento-item h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.feature-tags span {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    text-align: center;
    color: #ccc;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    color: #888;
    padding: 8px 0;
    border-bottom: 1px solid #222;
    font-size: 0.95rem;
}

/* CTA Card Special Styling */
.cta-card {
    background: linear-gradient(135deg, #111 0%, #050505 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-consultar {
    display: inline-block;
    margin-top: 25px;
    background: white;
    color: black;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-consultar:hover {
    background: #1a66ff;
    color: white;
}

/* Responsive */
@media (max-width: 900px) {
    .solutions-bento-grid {
        grid-template-columns: 1fr;
    }
    .main-feature { grid-row: auto; }
}

/* Gallery Section Styles */
.gallery-section {
    padding: 100px 8%;
    background-color: #0d0d0d;
}

.gal-subtitle {
    color: #1a66ff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.gal-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.gal-intro {
    color: #888;
    margin-bottom: 50px;
}

/* Project Cards */
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.project-card {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
}

/* Backgrounds - match your image assets */
.card-inmuebles { background-image: url('inmuebles-gal.jpg'); }
.card-corp-gallery { background-image: url('corp-gal.jpg'); }
.card-ind-gallery { background-image: url('ind-gal.jpg'); }
.card-tur-gallery { background-image: url('tur-gal.jpg'); }

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2));
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-tag {
    color: #1a66ff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.project-card h3 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif; /* Or any elegant serif font */
    margin-bottom: 30px;
}

.prototype-btns {
    display: flex;
    gap: 40px;
}

.btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.btn-group span {
    font-size: 0.65rem;
    font-weight: 700;
    color: #888;
}

.btn-expand {
    width: 50px;
    height: 50px;
    background: #1a66ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s;
}

.btn-expand:hover {
    transform: scale(1.1);
    background: #0052ff;
}

@media (max-width: 900px) {
    .project-grid { grid-template-columns: 1fr; }
}

/* Pricing Section Styles */
.pricing-section {
    padding: 100px 8%;
    background-color: #050505;
}

.price-subtitle {
    color: #1a66ff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.price-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 50px;
}

/* Table Design */
.table-wrapper {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    border: 1px solid #222;
    padding: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    color: white;
    text-align: center;
}

.comparison-table th, .comparison-table td {
    padding: 25px 15px;
    border-bottom: 1px solid #1a1a1a;
    font-size: 0.9rem;
}

.feature-col {
    text-align: left;
    color: #888;
    font-weight: 500;
}

/* Highlighting the Professional column */
.highlight {
    color: #1a66ff;
    background: rgba(26, 102, 255, 0.05);
}

.comparison-table thead th {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    border-bottom: 2px solid #333;
}

/* Icons */
.icon-check.active {
    color: #1a66ff;
    font-weight: bold;
}

.icon-cross {
    color: #333;
    opacity: 0.5;
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .price-title { font-size: 2.5rem; }
}

/* FAQ Section Styles */
.faq-section {
    padding: 100px 8%;
    background-color: #050505;
}

.container-faq {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.faq-subtitle {
    color: #1a66ff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.faq-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.faq-intro {
    color: #888;
    font-size: 1.1rem;
    max-width: 400px;
}

/* Accordion Styling */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #222;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
}

.faq-icon {
    font-size: 1.5rem;
    color: #1a66ff;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: rgba(255, 255, 255, 0.01);
}

.faq-answer p {
    padding: 0 30px 25px 30px;
    color: #888;
    line-height: 1.6;
}

/* Active State */
.faq-item.active {
    border-color: #1a66ff;
    background: rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Adjust as needed */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); /* Turns + into x */
}

@media (max-width: 992px) {
    .container-faq { grid-template-columns: 1fr; }
}

/* Footer Styles */
.main-footer {
    background-color: #050505;
    padding: 80px 8% 40px 8%;
    border-top: 1px solid #111;
    color: white;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-tagline {
    color: #888;
    line-height: 1.6;
    max-width: 320px;
}

.main-footer h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #444; /* Muted gray for headers */
    margin-bottom: 25px;
}

.footer-links, .contact-list {
    list-style: none;
    padding: 0;
}

.footer-links li, .contact-list li {
    margin-bottom: 15px;
    color: #888;
    font-size: 0.95rem;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #1a66ff;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom {
    border-top: 1px solid #111;
    padding-top: 30px;
    text-align: center;
    color: #444;
    font-size: 0.8rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand, .footer-tagline {
        margin: 0 auto;
    }
    .footer-brand .logo {
        justify-content: center;
    }
    .contact-list li {
        justify-content: center;
    }
}

/* Target the logo image specifically */
.logo img {
    height: 35px; /* Adjust this number (30px to 45px) until you like the size */
    width: auto;  /* This ensures the logo doesn't look stretched */
    display: block;
}

/* Ensure the container doesn't force it to grow */
.logo {
    display: flex;
    align-items: center;
    max-height: 40px; 
}

/* Contenedor principal */
.slideshow-container {
    position: relative;
    width: 105%;
    aspect-ratio: 16 / 9; /* This maintains the native quality of most camera shots */
    height: auto; /* Let the aspect-ratio define the height */
    border-radius: 30px;
    overflow: hidden;
    background-color: #111; /* Prevents white flashes while loading */
}

/* Ocultar imágenes por defecto */
.mySlides {
    display: none;
    height: 100%;
    width: 100%;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animación de desvanecimiento (Fade) */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from { opacity: .4 } 
    to { opacity: 1 }
}

/* Dots / Indicadores */
.slider-dots {
    text-align: center;
    margin-top: 15px;
}

.dot {
    height: 8px;
    width: 8px;
    margin: 0 5px;
    background-color: #333;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active-dot {
    background-color: #1a66ff;
    width: 20px; /* Efecto de píldora para el activo */
    border-radius: 10px;
}

.mySlides img {
    width: 100%;
    height: 100%;
    /* This is the secret for quality: */
    object-fit: cover; 
    object-position: center;
    image-rendering: -webkit-optimize-contrast; /* Improves sharpness in Chrome/Safari */
    image-rendering: crisp-edges;
    
    /* Ensure no low-quality scaling */
    transform: translateZ(0); 
    backface-visibility: hidden;
}

/* Clase que activa el script al hacer scroll */
.visible { 
    opacity: 1 !important; 
    transform: translateY(0) !important; 
}

/* Asegura que el círculo azul sea flexible para centrar el icono */
.icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #1a66ff;
    border-radius: 50%;
    margin-bottom: 20px;
}

/* Estilo para el icono de Font Awesome */
.icon-box i {
    color: white; /* Color del icono */
    font-size: 1.6rem; /* Tamaño del icono */
}

/* Efecto opcional: un pulso suave al pasar el mouse */
.method-card:hover .icon-box {
    transform: scale(1.1);
    transition: 0.3s ease;
    box-shadow: 0 0 20px rgba(26, 102, 255, 0.4);
}

.sector-card {
    position: relative;
    min-height: 350px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

/* La capa oscura para que el texto resalte */
.sector-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
    transition: background 0.3s ease;
}

.sector-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* Vincular las fotos (Asegúrate de tener estas imágenes en tu carpeta) */
.card-inmobiliaria { background-image: url('house.jpg'); }
.card-corporativa { background-image: url('office.jpg'); }
.card-industrial { background-image: url('facility.jpg'); }
.card-turismo { background-image: url('trip.jpg'); }

/* Efecto al pasar el mouse */
.sector-card:hover {
    transform: translateY(-10px);
}
.sector-card:hover .sector-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(26,102,255,0.7) 100%); /* Tinte azul al hover */
}

.sector-card {
    position: relative;
    min-height: 350px;
    border-radius: 20px;
    overflow: hidden; /* Importante: recorta el zoom de la foto */
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: transform 0.3s ease;
}

/* El nuevo contenedor de la imagen */
.sector-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease; /* Velocidad del zoom */
    z-index: 0;
}

/* Asigna las fotos al nuevo div .sector-bg */
.card-inmobiliaria .sector-bg { background-image: url('inmobiliaria.jpg'); }
.card-corporativa .sector-bg { background-image: url('corporativa.jpg'); }
.card-industrial .sector-bg { background-image: url('industrial.jpg'); }
.card-turismo .sector-bg { background-image: url('turismo.jpg'); }

.sector-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Un gradiente un poco más oscuro por defecto */
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.sector-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* EFECTOS AL PASAR EL MOUSE (HOVER) */

/* 1. Zoom a la foto */
.sector-card:hover .sector-bg {
    transform: scale(1.1); /* Aumenta un 10% el tamaño */
}

/* 2. Iluminación (Aclara un poco el overlay) */
.sector-card:hover .sector-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    /* El cambio de 0.8 a 0.6 en la opacidad hace que se "ilumine" */
}

/* 3. Elevación suave de la tarjeta */
.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.sector-card {
    position: relative;
    overflow: hidden; /* Esto es lo más importante: actúa como un marco */
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Vamos a usar un "pseudo-elemento" para la imagen. 
   Esto crea una capa interna sin tocar tu HTML */
.sector-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Mueve aquí tus background-images del .sector-card a este bloque */
    background-size: cover;
    background-position: center;
    
    transition: transform 0.6s ease; /* Aquí se controla la suavidad del zoom */
    z-index: -1; /* Se queda atrás del texto */
}

/* Copia esto para cada clase de sector que tengas */
.card-inmobiliaria::after { background-image: url('house.jpg'); }
.card-corporativa::after { background-image: url('office.jpg'); }
.card-industrial::after { background-image: url('facility.jpg'); }
.card-turismo::after { background-image: url('trip.jpg'); }

/* EFECTO HOVER */

/* 1. Zoom a la foto (capa ::after) */
.sector-card:hover::after {
    transform: scale(1.07); /* Aquí ocurre la magia del zoom */
}

/* 2. Iluminación (Ajusta tu overlay actual) */
.sector-card:hover .sector-overlay {
    background: rgba(0, 0, 0, 0.4); /* Cambia el 0.8 que tengas por 0.4 para que brille */
}

/* Contenedor del icono principal (el rayo) */
.icon-circle {
    width: 60px;
    height: 60px;
    background: #1a66ff; /* Tu azul */
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(26, 102, 255, 0.4);
}

.icon-circle i {
    color: white;
    font-size: 24px;
}

/* Título y Texto */
.main-feature h3 {
    font-family: 'Inter', sans-serif;
    font-style: italic; /* Como en la imagen */
    font-weight: 900;
    font-size: 2.2rem;
    color: white;
    margin-bottom: 20px;
}

.main-feature p {
    color: #a0a0a0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Cuadrícula de Tags (Acceso Remoto, etc) */
.feature-tags {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas como en la imagen */
    gap: 15px;
}

.tag-item {
    background: rgba(255, 255, 255, 0.05); /* Fondo muy sutil */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borde gris suave */
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

/* Iconos de los tags en azul */
.tag-item i {
    color: #1a66ff;
    font-size: 1.1rem;
}

/* Texto de los tags */
.tag-item span {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Efecto hover igual que la imagen */
.tag-item:hover {
    border-color: #1a66ff;
    background: rgba(26, 102, 255, 0.05);
    transform: translateY(-2px);
}

/* Contenedor principal en 4 columnas */
.solutions-vertical-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales */
    gap: 25px;
    margin-top: 50px;
}

.bento-item {
    background: #0f1218; /* Fondo oscuro sólido */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    min-height: 450px; /* Asegura que todos tengan la misma altura */
    transition: all 0.3s ease;
}

.bento-item:hover {
    border-color: #1a66ff;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Títulos uniformes */
.bento-item h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Listas internas */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    color: #a0a0a0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

/* Iconos (usando tu azul) */
.icon-circle {
    width: 50px;
    height: 50px;
    background: #1a66ff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.icon-circle i {
    color: white;
    font-size: 20px;
}

/* Ajuste Responsivo: en tablets 2 y 2, en móviles 1 sola columna */
@media (max-width: 1024px) {
    .solutions-vertical-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .solutions-vertical-grid { grid-template-columns: 1fr; }
}

.solutions-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales */
    gap: 20px;
    margin-top: 40px;
}

.bento-item {
    background: #0f1218;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

/* LA MAGIA: El rectángulo de abajo */
.full-width-cta {
    grid-column: span 3; /* Ocupa las 3 columnas */
    background: linear-gradient(90deg, #0f1218 0%, #1a66ff22 100%); /* Un toque de azul al final */
    border: 1px solid rgba(26, 102, 255, 0.3);
}

.cta-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-text h3 { margin-bottom: 5px; }
.cta-text p { color: #a0a0a0; margin: 0; }

/* Estilo del Botón en el rectángulo */
.btn-consultar {
    background: #1a66ff;
    color: white;
    padding: 15px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap; /* Evita que el texto del botón se rompa */
    transition: 0.3s;
}

.btn-consultar:hover {
    background: #0052cc;
    transform: scale(1.05);
}

/* Responsivo para móviles */
@media (max-width: 900px) {
    .solutions-grid-layout { grid-template-columns: 1fr; }
    .full-width-cta { grid-column: span 1; }
    .cta-flex-container { flex-direction: column; text-align: center; }
}

.sol-intro {
    color: #a0a0a0;
    font-size: 1.2rem;
    max-width: 700px;
    line-height: 1.6;
}

.italic-title {
    font-style: italic;
    font-weight: 900;
}

.feature-description {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
}

/* Asegura que todos los contenedores de tags sean iguales */
.feature-tags-vertical {
    display: flex;
    flex-direction: column; /* Lista vertical de botones */
    gap: 10px;
    margin-top: 15px;
}

.tag-item {
    background: rgba(255, 255, 255, 0.05); /* El fondo oscuro de la imagen */
    border: 1px solid rgba(255, 255, 255, 0.1); /* El borde sutil */
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.tag-item:hover {
    border-color: #1a66ff;
    background: rgba(26, 102, 255, 0.05);
    transform: translateX(5px); /* Se mueve un poquito al pasar el mouse */
}

.tag-item span {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: #fff;
}

.tag-item i {
    color: #1a66ff; /* El azul icónico */
    font-size: 1rem;
}

.full-width-cta {
    grid-column: span 3;
    margin-top: 30px;
    
    /* AJUSTE DE ALTURA: 20px arriba/abajo y 40px a los lados */
    padding: 30px 40px; 
    
    background: rgba(26, 102, 255, 0.05);
    border: 1px solid #1a66ff;
    border-radius: 15px;
    
    /* Esto asegura que el contenido no se estire de más */
    display: flex;
    align-items: center; 
    min-height: auto; /* Quitamos cualquier altura mínima que tenga */
}

.cta-flex-container {
    display: flex;
    justify-content: space-between; /* Texto a la izquierda, botón a la derecha */
    align-items: center;
    width: 100%;
}


.full-width-cta {
    grid-column: span 3;
    
    /* 1. ACERCAR A LOS CUADROS: Reducimos el margen superior */
    margin-top: -5px; /* Prueba con valores negativos si quieres pegarlo más */
    
    /* 2. RECORTAR ALTURA: Un padding simétrico para que sea delgado */
    padding: 25px 40px; 
    
    background: rgba(26, 102, 255, 0.05);
    border: 1px solid #1a66ff;
    border-radius: 15px;
    
    /* 3. CENTRADO VERTICAL: La clave para el botón */
    display: flex;
    align-items: center; /* Centra verticalmente todo el contenido interno */
    min-height: auto; 
}

.cta-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Asegura que el texto y el botón compartan el mismo eje central */
    width: 100%;
}

.cta-text h3 {
    margin: 0 0 5px 0; /* Quitamos márgenes extraños */
}

.cta-text p {
    margin: 0;
}

.btn-consultar {
    /* Nos aseguramos de que el botón no tenga márgenes que lo empujen */
    margin: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-consultar {
    display: inline-flex; /* Alinea hijos en línea */
    align-items: center;  /* Centrado vertical perfecto */
    justify-content: center;
    gap: 12px;            /* Espacio exacto entre texto y flecha */
    background: #1a66ff;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Estilo específico para la flecha para que no se vea "rara" */
.btn-consultar i {
    font-size: 0.9rem;    /* Un poquito más pequeña que el texto suele verse mejor */
    line-height: 1;       /* Elimina espacios extra arriba/abajo del icono */
    display: flex;
    align-items: center;
}

/* Efecto Pro: la flecha se mueve un poquito al pasar el mouse */
.btn-consultar:hover i {
    transform: translateX(5px);
}

/* Estilo general de la tarjeta editada */
.project-card.card-inmobiliaria {
    background-image: url('inmobiliaria-bg.jpg'); /* Tu imagen de fondo */
    background-size: cover;
    background-position: center;
    min-height: 450px; /* Un poco más de altura para que quepa todo el texto */
    display: flex;
    flex-direction: column;
}

.category-header {
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #1a66ff; /* El azul Realium X */
    margin-bottom: 20px;
}

.target-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.target-list li {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

/* El check o punto antes de cada ítem */
.target-list li::before {
    content: "•";
    color: #1a66ff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.card-footer {
    margin-top: auto; /* Empuja el beneficio hacia abajo */
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-footer p {
    font-size: 0.9rem;
    font-style: italic;
    color: #d1d1d1;
    line-height: 1.4;
}

/* Ajuste de la tarjeta para albergar dos columnas */
.expanded-card .project-overlay {
    display: flex;
    flex-direction: row; /* Divide en dos columnas */
    gap: 30px;
    padding: 30px;
    align-items: center;
}

.card-text-side {
    flex: 1; /* Ocupa el 50% aprox */
    text-align: left;
}

.card-previews-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Estilo de los mini recorridos */
.mini-tour {
    width: 100%;
    height: 160px; /* Tamaño mini */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(26, 102, 255, 0.3);
    transition: transform 0.3s ease;
}

.mini-tour iframe {
    width: 100%;
    height: 100%;
}

.mini-tour span {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 0.7rem;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 8px;
    border-radius: 4px;
    pointer-events: none; /* No interfiere con el clic del iframe */
}

.mini-tour:hover {
    transform: scale(1.02);
    border-color: #1a66ff;
}

/* Ajuste para móviles: se ponen uno encima de otro */
@media (max-width: 768px) {
    .expanded-card .project-overlay {
        flex-direction: column;
    }
}

/* Layout de la tarjeta */
.expanded-card .project-overlay {
    display: flex;
    flex-direction: row;
    gap: 40px; /* Más espacio entre texto y videos */
    padding: 40px;
    align-items: flex-start; /* Alinea arriba para que el texto mande */
}

/* Columna de Texto */
.card-text-side {
    flex: 0 0 40%; /* El texto ocupa el 40% fijo */
    text-align: left;
}

.perfect-for {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.benefit-text {
    font-size: 0.9rem;
    font-style: italic;
    color: #d1d1d1;
    line-height: 1.6; /* Más espacio entre líneas */
    max-width: 300px; /* Forzamos el ancho para que rompa en renglones */
}

/* Fila de Recorridos */
.card-previews-row {
    flex: 1;
    display: flex;
    flex-direction: row; /* Uno al lado del otro */
    gap: 15px;
    margin-top: 20px; /* Lo bajamos un poco para alinear visualmente con el inicio de la lista */
}

.mini-tour {
    flex: 1;
    height: 220px; /* Altura ajustada para el formato cuadrado/horizontal */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(26, 102, 255, 0.2);
    transition: all 0.3s ease;
}

.mini-tour:hover {
    border-color: #1a66ff;
    box-shadow: 0 0 15px rgba(26, 102, 255, 0.3);
}

/* Responsivo para móviles */
@media (max-width: 992px) {
    .expanded-card .project-overlay {
        flex-direction: column;
    }
    .card-text-side {
        flex: 1;
    }
    .card-previews-row {
        width: 100%;
    }
}

.card-previews-slider {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-viewport {
    flex: 1;
    height: 300px; /* Ajusta según prefieras */
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(26, 102, 255, 0.3);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide iframe {
    width: 100%;
    height: 100%;
}

/* Estilo de las Flechas */
.slider-arrow {
    background: rgba(26, 102, 255, 0.2);
    border: 1px solid #1a66ff;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.slider-arrow:hover {
    background: #1a66ff;
    transform: scale(1.1);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Crea las dos columnas */
    gap: 40px; /* Espacio entre los cuadros */
    padding-top: 30px;
}

.category-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: #1a66ff;
    background: rgba(26, 102, 255, 0.05);
}

.category-title {
    color: #1a66ff;
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
}

/* Carrusel */
.card-previews-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider-viewport {
    flex: 1;
    height: 350px; /* Altura ideal para ver bien el recorrido */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide iframe {
    width: 100%;
    height: 100%;
}

.slider-arrow {
    background: #1a66ff;
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.slider-arrow:hover {
    transform: scale(1.2);
}

/* Responsivo para celulares */
@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: 1fr; /* En pantallas pequeñas, uno debajo del otro */
    }
}

.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Espacio entre filas */
}

.benefit-row {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    background: rgba(255, 255, 255, 0.03);
    padding: 18px 25px;
    border-radius: 12px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
}

.benefit-row:hover {
    background: rgba(255, 255, 255, 0.06);
}

.benefit-name {
    color: #efefef;
    font-size: 0.95rem;
    font-weight: 500;
}

.benefit-value {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.highlight-blue { color: #1a66ff; }
.highlight-cyan { color: #00d4ff; }

/* Iconos Estilo Imagen */
.benefit-status {
    text-align: center;
    display: flex;
    justify-content: center;
}

.dot-off {
    color: #333;
    font-size: 0.8rem;
}

.check-circle {
    width: 22px;
    height: 22px;
    border: 2px solid #1a66ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #1a66ff;
}

.benefit-status.active .check-circle {
    box-shadow: 0 0 10px rgba(26, 102, 255, 0.2);
}

/* Encabezado de tabla (opcional) */
.table-header {
    background: transparent;
    border: none;
    font-weight: bold;
    color: #666;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Estilo para la columna resaltada */
.col-highlight {
    background: rgba(26, 102, 255, 0.1); /* Fondo azul traslúcido */
    color: #fff !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
    border-radius: 4px;
}

/* Aseguramos que el botón del Plan Corporativo mantenga su color único al activarse */
.plan-btn.highlight.active {
    color: #00d4ff;
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.plan-btn.active {
    color: #1a66ff;
    border-color: #1a66ff;
    box-shadow: 0 0 15px rgba(26, 102, 255, 0.2);
}

/* Contenedor principal */
.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Alineación de los botones superiores con las columnas */
.plan-selectors {
    display: grid;
    /* 2.5 partes para el espacio vacío a la izquierda, luego 4 columnas iguales */
    grid-template-columns: 2.5fr repeat(4, 1fr); 
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

/* Estilo de las filas */
.benefit-row {
    display: grid;
    grid-template-columns: 2.5fr repeat(4, 1fr);
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
    transition: all 0.3s ease;
}

/* Resaltado de columna */
.col-active {
    background: rgba(26, 102, 255, 0.1) !important;
    border-color: rgba(26, 102, 255, 0.3) !important;
}

/* Estilos de texto y estados */
.benefit-name { color: #aaa; text-align: left; }
.benefit-value, .benefit-status { text-align: center; color: #fff; }
.dot-off { opacity: 0.2; }
.check-circle { color: #1a66ff; border: 2px solid #1a66ff; border-radius: 50%; padding: 2px 5px; font-size: 0.7rem; }
.highlight-cyan { color: #00d4ff; font-weight: bold; }

/* Estructura de la Sección */
.benefits-section {
    padding: 60px 0;
    background: #000;
}

/* El secreto: Definimos 5 columnas (1 ancha para el nombre, 4 iguales para datos) */
.plan-selectors, .benefit-row {
    display: grid;
    grid-template-columns: 2.5fr repeat(4, 1fr); 
    gap: 10px;
    align-items: center;
}

/* Selectores Superiores */
.plan-selectors {
    margin-bottom: 30px;
}

.plan-btn {
    background: #111;
    border: 1px solid #222;
    color: #666;
    padding: 15px 5px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.plan-btn.active { border-color: #1a66ff; color: #1a66ff; background: rgba(26, 102, 255, 0.05); }
.plan-btn.highlight { border-color: #00d4ff; color: #00d4ff; }

/* Filas de la Tabla */
.benefit-row {
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 6px;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-name {
    color: #aaa;
    font-size: 0.9rem;
    text-align: left;
}

/* Estilo de los valores y estados */
.benefit-value, .benefit-status {
    text-align: center;
    color: #fff;
    font-weight: 600;
}

/* Resaltado de celda (Efecto que pediste) */
.highlight-cell {
    background: rgba(26, 102, 255, 0.15);
    border-radius: 6px;
    transform: scale(1.05);
    color: #fff !important;
}

/* Iconos */
.check-circle { color: #1a66ff; border: 2px solid #1a66ff; border-radius: 50%; padding: 2px 5px; font-size: 0.7rem; }
.dot-off { opacity: 0.2; color: #555; }
/* Contenedor de la sección */
.benefits-section {
    background-color: #000;
    padding: 80px 20px;
    color: white;
}

/* LA CLAVE: Definimos 5 columnas (1 ancha para el texto, 4 iguales para los planes) */
.plan-selectors, .benefit-row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr; 
    gap: 15px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Selectores de arriba */
.plan-selectors {
    margin-bottom: 30px;
}

.plan-btn {
    background: #111;
    border: 1px solid #222;
    padding: 15px 10px;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.plan-btn.active { border-color: #1a66ff; color: #1a66ff; }
.plan-btn.highlight { border-color: #00d4ff; color: #00d4ff; }

/* Filas de beneficios */
.benefit-row {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 8px;
}

.benefit-name {
    color: #aaa;
    font-size: 0.95rem;
}

.benefit-value, .benefit-status {
    text-align: center;
    font-weight: 600;
}

/* Resaltado de columna vertical */
.col-highlight {
    background: rgba(26, 102, 255, 0.1) !important;
    border-radius: 8px;
    color: #fff !important;
}

/* Iconos de Check y X */
.check-circle { 
    color: #1a66ff; 
    border: 2px solid #1a66ff; 
    border-radius: 50%; 
    padding: 2px 5px; 
    font-size: 0.7rem; 
}
.dot-off { opacity: 0.2; color: #555; }

/* Contenedor General */
.benefits-section {
    background-color: #000;
    padding: 60px 20px;
    color: white;
}

/* LA CLAVE: Forzamos la misma rejilla en selectores y filas */
.plan-selectors, .benefit-row {
    display: grid;
    /* 2.5 partes para el nombre, y 1 parte igual para cada uno de los 4 planes */
    grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr; 
    gap: 10px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Ajuste de los botones superiores */
.plan-selectors {
    margin-bottom: 25px;
}

/* Añadimos un espacio invisible antes de los botones para que 
   se alineen con las columnas de valores */
.plan-selectors::before {
    content: ""; /* Este elemento ocupa el lugar de "Beneficio" */
}

.plan-btn {
    background: #111;
    border: 1px solid #222;
    padding: 12px 5px;
    border-radius: 8px;
    text-align: center;
    font-weight: 800;
    font-size: 0.75rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-btn.active { border-color: #1a66ff; color: #1a66ff; background: rgba(26, 102, 255, 0.05); }
.plan-btn.highlight { border-color: #00d4ff; color: #00d4ff; }

/* Estilo de las Filas de la Tabla */
.benefit-row {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 6px;
}

.benefit-name {
    color: #aaa;
    font-size: 0.9rem;
    text-align: left;
}

.benefit-value, .benefit-status, .val-head {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Colores de Resaltado */
.highlight-blue { color: #1a66ff; }
.highlight-cyan { color: #00d4ff; }

/* Iconos de Check y X */
.check-circle { 
    color: #1a66ff; 
    border: 1.5px solid #1a66ff; 
    border-radius: 50%; 
    padding: 1px 4px; 
    font-size: 0.7rem; 
}
.dot-off { opacity: 0.2; color: #555; }

/* Ocultar el Header de la tabla en móviles si se ve muy lleno */
@media (max-width: 768px) {
    .table-header { display: none; }
    .plan-selectors { grid-template-columns: 1fr 1fr; }
}

/* --- SECCIÓN PLANES Y BENEFICIOS --- */

.benefits-section {
    padding: 100px 8%;
    background-color: #050505;
}

.benefits-header {
    text-align: center;
    margin-bottom: 50px;
}

/* LA CLAVE: Definimos 5 columnas exactas para TODO */
/* 2.5 unidades para el nombre, 1 unidad para cada plan */
.plan-selectors, .benefit-row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr; 
    gap: 15px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Botones de Selección */
.plan-selectors {
    margin-bottom: 30px;
}

/* Este truco crea el espacio vacío a la izquierda de los botones */
.plan-selectors::before {
    content: ""; 
}

.plan-btn {
    background: #111;
    border: 1px solid #222;
    padding: 15px 10px;
    border-radius: 10px;
    text-align: center;
    font-weight: 800;
    font-size: 0.75rem;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

/* Estados de los botones */
.plan-btn.active { 
    border-color: #1a66ff; 
    color: #1a66ff; 
    background: rgba(26, 102, 255, 0.05); 
}
.plan-btn.highlight { 
    border-color: #00d4ff; 
    color: #00d4ff; 
}

/* Filas de la Tabla */
.benefit-row {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 8px;
    transition: background 0.3s ease;
}

.table-header {
    background: transparent;
    border: none;
    margin-bottom: 15px;
}

.val-head {
    text-align: center;
    font-weight: bold;
    color: #444;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.benefit-name {
    color: #aaa;
    font-size: 0.95rem;
    text-align: left;
}

.benefit-value, .benefit-status {
    text-align: center;
    font-weight: 600;
    color: #fff;
}

/* Iconos y resaltados internos del HTML */
.check-circle { 
    color: #1a66ff; 
    border: 2px solid #1a66ff; 
    border-radius: 50%; 
    padding: 2px 5px; 
    font-size: 0.7rem; 
}
.dot-off { opacity: 0.2; color: #555; }
.highlight-blue { color: #1a66ff; }
.highlight-cyan { color: #00d4ff; }

/* Resaltado de columna activa (vía JS) */
.active-column-cell {
    background: rgba(26, 102, 255, 0.1);
    border-radius: 6px;
}
/* Layout General */
.pricing-section {
    padding: 100px 8%;
    background-color: #050505;
}

/* Selectores superiores (Tabs) */
.plan-selectors {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; /* 5 columnas coincidiendo con la tabla */
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.plan-btn {
    background: #111;
    border: 1px solid #222;
    color: #666;
    padding: 20px;
    border-radius: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.plan-btn.active {
    border-color: #1a66ff;
    color: #1a66ff;
    box-shadow: 0 0 20px rgba(26, 102, 255, 0.2);
}

/* La Tabla Comparativa */
.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grid-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; /* 1 columna ancha, 4 de valores */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    align-items: center;
    transition: 0.3s;
}

.grid-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.feature-label {
    padding: 25px;
    color: #ccc;
    font-weight: 500;
}

.feature-value {
    padding: 25px;
    text-align: center;
    color: #fff;
    font-weight: 700;
    border-left: 1px solid rgba(255, 255, 255, 0.03);
}

/* Resaltado de columna seleccionada (opcional) */
.feature-value.highlight {
    background: rgba(26, 102, 255, 0.03);
    color: #1a66ff;
}

/* Iconos */
.icon-check::before { content: '✔'; color: #1a66ff; }
.icon-cross::before { content: '✖'; color: #333; }

/* Responsive móvil: Convertir a lista vertical */
@media (max-width: 900px) {
    .plan-selectors { display: none; } /* En móvil se maneja distinto */
    .grid-row {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .feature-value { border-left: none; text-align: left; padding-top: 0; }
}

:root {
    --blue-accent: #007bff;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
}

.pricing-section {
    background: #000;
    color: white;
    padding: 60px 5%;
}

/* Definimos el mismo grid para el header y las filas */
.pricing-grid-header, .pricing-row {
    display: grid;
    /* 1.5 partes para el nombre, 1 parte igual para cada plan */
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; 
    gap: 15px;
    align-items: center;
}

/* Estilo de los Botones Superiores */
.pricing-grid-header {
    margin-bottom: 20px;
}

.plan-tab {
    background: #111;
    border: 1px solid var(--border-color);
    padding: 15px;
    text-align: center;
    border-radius: 12px;
    font-weight: bold;
    color: #666;
    font-size: 0.8rem;
}

.plan-tab.active {
    border-color: var(--blue-accent);
    color: var(--blue-accent);
}

/* Estilo de las Filas de la Tabla */
.pricing-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-row {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: 0.3s ease;
}

.pricing-row:hover {
    background: rgba(255, 255, 255, 0.06);
}

.feature-name {
    padding: 20px;
    font-size: 0.9rem;
    color: #ccc;
}

.value {
    text-align: center;
    padding: 20px;
    font-weight: bold;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

/* Resaltar la columna activa */
.value.highlight {
    color: var(--blue-accent);
}

.icon-check { color: var(--blue-accent); }
.icon-x { color: #333; }

/* Responsive: Para que no se rompa en móvil */
@media (max-width: 768px) {
    .pricing-grid-header { display: none; }
    .pricing-row {
        grid-template-columns: 1fr; /* Una sola columna en móvil */
        text-align: left;
    }
    .value { border-left: none; text-align: left; padding: 10px 20px; }
}

/* Layout General */
.pricing-section {
    background-color: #000;
    color: white;
    padding: 80px 5%;
}

.pricing-top-bar {
    display: flex;
    justify-content: space-between; /* Título a un lado, botones al otro */
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 30px;
}

.pricing-info { max-width: 500px; }

.pricing-subtitle {
    color: #1a66ff;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
}

.pricing-title {
    font-size: 48px;
    margin: 10px 0;
    font-weight: 800;
}

/* Contenedor de Botones (Estilo original) */
.plan-selectors-wrapper {
    display: flex;
    gap: 15px;
}

.plan-tab {
    background: #111;
    border: 1px solid #222;
    color: #666;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.plan-tab.active {
    border-color: #1a66ff;
    color: #1a66ff;
    background: rgba(26, 102, 255, 0.05);
}

/* La Tabla con el Grid que te gustó */
.comparison-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.table-row {
    display: grid;
    /* Mantenemos la proporción de la tabla */
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr; 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    align-items: center;
}

.cell-label {
    padding: 25px;
    color: #ccc;
    font-weight: 500;
}

.cell-val {
    padding: 25px;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.03);
    font-weight: 700;
}

.cell-val.highlight {
    color: #1a66ff;
    background: rgba(26, 102, 255, 0.02);
}

/* Responsive para que no explote */
@media (max-width: 1024px) {
    .pricing-top-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .plan-selectors-wrapper {
        width: 100%;
        overflow-x: auto; /* Scroll si no caben los botones */
        padding-bottom: 10px;
    }
}

/* Espaciado y alineación de los botones con la tabla */
.plan-selectors-grid {
    display: grid;
    /* IMPORTANTE: Debe ser igual al de .table-row abajo */
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr; 
    gap: 15px;
    margin-top: 40px; /* Espacio para que no pegue con el título */
    margin-bottom: 20px; /* Espacio antes de que empiece la tabla */
    align-items: center;
}

.plan-tab {
    background: #111;
    border: 1px solid #222;
    color: #666;
    padding: 15px 10px; /* Ajustado para que quepan bien */
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.75rem; /* Un poco más pequeño para evitar saltos de línea */
    cursor: pointer;
    transition: 0.3s ease;
    text-align: center;
}

.plan-tab.active {
    border-color: #1a66ff;
    color: #1a66ff;
    background: rgba(26, 102, 255, 0.05);
}

/* La Tabla (Mantenemos la misma proporción) */
.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr; 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 10px;
}

.cell-label {
    padding: 20px 25px;
    color: #ccc;
}

.cell-val {
    padding: 20px;
    text-align: center;
    font-weight: 700;
    border-left: 1px solid rgba(255, 255, 255, 0.03);
}

/* Contenedor de los títulos/botones */
.plan-selectors-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr; 
    gap: 15px;
    margin-top: 50px;
    margin-bottom: 25px;
    align-items: center;
}

/* Estilo base para todos los títulos de los planes */
.plan-tab {
    background: #111;
    border: 1px solid #222;
    padding: 18px 10px; /* Un poco más de padding vertical */
    border-radius: 12px;
    font-weight: 700; /* Más negrita */
    font-size: 1rem;  /* Letra más grande */
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
}

/* Colores específicos para cada botón */

/* ALIADO: Gris claro / Blanco hueso */
.plan-tab:nth-child(2) {
    color: #A0A0A0;
}
.plan-tab:nth-child(2).active {
    border-color: #A0A0A0;
    box-shadow: 0 0 15px rgba(160, 160, 160, 0.1);
}

/* PROFESIONAL: Azul vibrante */
.plan-tab:nth-child(3) {
    color: #1a66ff;
}
.plan-tab:nth-child(3).active {
    border-color: #1a66ff;
    background: rgba(26, 102, 255, 0.05);
    box-shadow: 0 0 15px rgba(26, 102, 255, 0.2);
}

/* ESTRATÉGICO: Azul acero / Cyan oscuro */
.plan-tab:nth-child(4) {
    color: #3a86ff;
}
.plan-tab:nth-child(4).active {
    border-color: #3a86ff;
    box-shadow: 0 0 15px rgba(58, 134, 255, 0.1);
}

/* CORPORATIVO: Cyan brillante / Turquesa */
.plan-tab:nth-child(5) {
    color: #00d1ff;
}
.plan-tab:nth-child(5).active {
    border-color: #00d1ff;
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.2);
}

/* Efecto hover general */
.plan-tab:hover {
    background: #161616;
    transform: translateY(-2px);
}

/* Estilo base de los valores (apagados) */
.cell-val {
    padding: 20px;
    text-align: center;
    font-weight: 700;
    color: #444; /* Color apagado por defecto */
    border-left: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s ease; /* Transición suave para la iluminación */
}

/* Estado Iluminado (Se activa con el JS) */
.cell-val.highlight {
    color: #fff; /* La letra se vuelve blanca o del color del plan */
    background: rgba(255, 255, 255, 0.05); /* Fondo sutil */
    position: relative;
}

/* Línea de brillo opcional a los lados de la columna resaltada */
.cell-val.highlight {
    border-left: 1px solid rgba(26, 102, 255, 0.2);
    border-right: 1px solid rgba(26, 102, 255, 0.2);
}

/* Para que los iconos también se iluminen */
.cell-val.highlight .icon-check {
    filter: drop-shadow(0 0 8px rgba(26, 102, 255, 0.8));
    color: #fff;
}

/* Si el botón activo es Profesional (3er hijo del grid), ilumina en azul */
.plan-tab:nth-child(3).active ~ .comparison-table .cell-val.highlight {
    color: #1a66ff;
    background: rgba(26, 102, 255, 0.07);
}

/* Si es Corporativo (5to hijo), ilumina en Cyan */
.plan-tab:nth-child(5).active ~ .comparison-table .cell-val.highlight {
    color: #00d1ff;
    background: rgba(0, 209, 255, 0.07);
}

/* Estilo para las equis apagadas */
.cell-val {
    color: rgba(255, 255, 255, 0.2); /* Color grisáceo para lo que no está incluido */
}

/* Color para los checks o textos de valor */
.cell-val.highlight {
    color: #fff; /* O el color del plan que definimos antes */
}

/* Si el texto es una equis específica, la apagamos más */
.cell-val:contains('×') {
    opacity: 0.3;
}

.faq-section {
    background-color: #000;
    padding: 100px 5%;
    color: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.faq-item[open] {
    border-color: #1a66ff; /* El azul que venimos usando */
    background: rgba(26, 102, 255, 0.02);
}

summary {
    padding: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    list-style: none; /* Quita la flecha por defecto */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

summary::-webkit-details-marker {
    display: none; /* Para Safari */
}

.faq-icon {
    font-size: 1.5rem;
    color: #1a66ff;
    transition: 0.3s;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg); /* Se convierte en una X */
    color: #ff4d4d; /* Cambia a rojo suave al cerrar si quieres */
}

.faq-content {
    padding: 0 25px 25px 25px;
    color: #aaa;
    line-height: 1.6;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-section {
    background-color: #000;
    padding: 100px 8%;
    color: white;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Divide la pantalla en dos */
    gap: 80px;
    align-items: start;
}

/* Estilo de la columna izquierda */
.faq-info {
    position: sticky; /* Se queda fijo mientras haces scroll en las preguntas */
    top: 120px;
}

.faq-title {
    font-size: 64px; /* Grande como en la foto */
    font-weight: 800;
    line-height: 1.1;
    margin: 20px 0;
}

.faq-desc {
    color: #888;
    font-size: 1.2rem;
    max-width: 400px;
}

/* Estilo de la columna derecha (Preguntas) */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #111; /* Color oscuro de la foto */
    border: 1px solid #222;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: #1a66ff;
    background: #161616;
}

summary {
    padding: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker { display: none; }

.faq-icon {
    font-size: 1.4rem;
    color: #fff;
    transition: transform 0.4s ease;
    background: rgba(255,255,255,0.05);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    color: #1a66ff;
}

.faq-content {
    padding: 0 30px 30px 30px;
    color: #888;
    line-height: 1.6;
}

/* Responsive para móvil */
@media (max-width: 1024px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .faq-title { font-size: 40px; }
}
.faq-section {
    background-color: #000;
    padding: 100px 8%;
    color: white;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Relación de columnas equilibrada */
    gap: 60px;
    align-items: flex-start; /* Alinea al inicio pero sin seguir el scroll */
}

/* Columna Izquierda - Ahora es estática */
.faq-info {
    text-align: left;
}

.faq-title {
    font-size: clamp(40px, 5vw, 64px); /* Se adapta al tamaño de pantalla */
    font-weight: 800;
    line-height: 1;
    margin: 20px 0;
    letter-spacing: -2px;
}

.faq-desc {
    color: #666;
    font-size: 1.1rem;
    max-width: 380px;
    line-height: 1.5;
}

/* Columna Derecha - Las Cajas */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #0a0a0a; /* Negro muy profundo */
    border: 1px solid #1a1a1a;
    border-radius: 24px; /* Bordes extra redondeados como la imagen */
    transition: all 0.3s ease-in-out;
}

.faq-item[open] {
    border-color: #1a66ff;
    background: #111;
}

summary {
    padding: 32px;
    font-size: 1.15rem;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker { display: none; }

/* El círculo del + que gira */
.faq-icon {
    font-size: 1.2rem;
    color: #fff;
    background: #1a1a1a;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: #1a66ff;
    color: #fff;
}

.faq-content {
    padding: 0 32px 32px 32px;
    color: #888;
    font-size: 1rem;
    line-height: 1.6;
}

/* Ajuste móvil */
@media (max-width: 900px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .faq-title { font-size: 48px; }
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    /* ESTO ES LO QUE EVITA QUE EL TÍTULO SE MUEVA */
    align-items: start; 
    align-content: start;
}

.faq-info {
    /* Quitamos cualquier margen automático y forzamos posición superior */
    margin: 0;
    padding: 0;
    display: block; /* Asegura que no se comporte como flex/grid interno */
}

.faq-title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1;
    margin: 0 0 20px 0; /* Solo margen abajo */
    letter-spacing: -2px;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    /* Alineación vertical al inicio absoluto */
    align-items: start; 
    /* Evita que el grid cree filas fantasma que empujen el contenido */
    grid-template-rows: auto; 
}

.faq-info {
    /* Forzamos que la caja de texto no crezca ni se centre */
    align-self: start; 
    justify-self: start;
    height: fit-content; /* Solo ocupa lo que mide el texto */
    margin: 0;
    padding: 0;
}

.faq-list {
    /* Las preguntas crecen hacia abajo sin afectar la fila de la izquierda */
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: start;
}
.faq-container {
    display: flex; /* Flex es menos "celoso" con las alturas de las columnas */
    justify-content: space-between;
    gap: 60px;
    align-items: flex-start; /* Esto clava el título arriba */
}

.faq-info {
    flex: 1; /* Ocupa su espacio a la izquierda */
    max-width: 450px;
}

.faq-list {
    flex: 1.2; /* Las preguntas a la derecha */
}

html {
    scroll-behavior: smooth;
}

.hero-actions a {
    text-decoration: none; /* Elimina el subrayado de link */
    display: inline-block; /* Permite que el padding y height funcionen como en los botones */
    text-align: center;
    transition: all 0.3s ease;
}

/* Si tus clases se llaman exactamente btn-blue y btn-outline */
.btn-blue {
    background-color: #1a66ff;
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid #333;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
}

.pricing-desc {
    color: #888; /* El gris sutil de la metodología */
    font-size: 1.1rem; /* Tamaño equilibrado */
    line-height: 1.6; /* Espaciado para mejor lectura */
    max-width: 600px; /* Evita que la línea sea demasiado larga */
    margin-top: 15px; /* Separación del título */
    font-weight: 400; /* Letra ligera, no negrita */
}

/* Opcional: Si quieres que el título de planes también herede el espaciado de RPE */
.pricing-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 10px;
}