:root {
    --primary-teal: #000000;
    --dark-teal: #111111;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #333333;
    --text-muted: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

html, body {
    background-color: #ffffff; 
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white) !important;
}

.btn-primary {
    background-color: var(--primary-teal);
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    border: 1px solid #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #222222;
    color: #ffffff !important;
}

.btn-secondary {
    background: var(--white);
    color: #000000 !important;
    border: 1px solid #000000;
}

.section-tag {
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag-center {
    justify-content: center;
}

.section-title {
    font-size: 36px;
    color: var(--dark-teal);
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title span {
    color: #000000;
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 15px;
}

.space-top {
    margin-top: 15px;
}

.top-bar {
    background-color: #000000 !important;
    color: var(--white);
    font-size: 13px;
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-socials {
    display: flex;
    gap: 15px;
}

.top-info {
    display: flex;
    gap: 20px;
}

.top-info span i {
    color: var(--white);
    margin-right: 5px;
}

.header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark-teal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: #000000;
}

.nav-menu {
    display: flex;
    gap: 25px;
    font-weight: 500;
    color: var(--dark-teal);
}

.nav-menu a:hover {
    color: #000000;
}

.nav-menu .active-nav {
    color: #000000;
}

.nav-menu a i {
    font-size: 10px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-icon {
    color: var(--dark-teal);
    cursor: pointer;
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('imgi/img3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Opcional: le da un efecto sutil de desplazamiento */
    padding: 100px 0; /* Ajusta el espaciado interno si es necesario */
}

.hero-sub {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 54px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #ffffff !important;
}

.hero p {
    max-width: 600px;
    font-size: 15px;
    margin-bottom: 35px;
    color: #ffffff;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.booking-section {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    margin-bottom: 100px;
}

.booking-form {
    background: #000000;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: center;
}

.booking-form input, .booking-form select {
    width: 100%;
    padding: 14px 20px;
    border-radius: 30px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #000000;
}

.booking-form .btn-submit {
    background-color: #ffffff;
    color: #000000;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.booking-form .btn-submit:hover {
    background-color: #eeeeee;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.feature-card {
    background: var(--dark-teal);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    background: #ffffff;
    color: #000000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-info p {
    font-size: 13px;
    color: #cbd5e0;
}

.about-section {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-images {
    position: relative;
    display: flex;
    gap: 15px;
}

.img-large {
    border-radius: 30px;
    width: 65%;
    object-fit: cover;
}

.img-small {
    border-radius: 30px;
    width: 35%;
    object-fit: cover;
    align-self: flex-end;
}

.experience-badge {
    position: absolute;
    top: -20px;
    right: 20px;
    background: #000000;
    color: var(--white);
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-list-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    background: #f7fafc;
    padding: 15px;
    border-radius: 10px;
}

.about-list-item i {
    color: #000000;
    font-size: 22px;
}

.about-item-desc {
    font-size: 13px; 
    color: var(--text-muted);
}

.services-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('imgi/img3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0; /* Ajusta el espaciado si lo necesitas */
}
.services-header .section-tag,
.services-header .section-title,
.services-header .section-title span,
.services-header .services-subdesc {
    color: #ffffff !important;
}

.services-header {
    max-width: 500px;
    margin-bottom: 50px;
}

.services-header .section-title {
    color: var(--white);
}

.services-subdesc {
    font-size: 14px; 
    opacity: 0.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-box {
    background: var(--white);
    color: var(--text-dark);
    padding: 40px 25px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.service-box:hover {
    transform: translateY(-5px);
}

.service-box .s-icon {
    background: #eeeeee;
    color: #000000;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px auto;
    transform: rotate(45deg);
}

.service-box .s-icon i {
    transform: rotate(-45deg);
}

.service-box h3 {
    font-size: 18px;
    color: var(--dark-teal);
    margin-bottom: 15px;
}

.service-box p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-arrow {
    width: 40px;
    height: 40px;
    background: #000000;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
}

.video-section {
    padding: 80px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.video-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.3);
}

.pricing-section {
    background-image: url('imgi/img3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0; /* Para mantener el espaciado arriba y abajo */
}
/* Cambia a blanco el texto superior, el título principal y la descripción corta */
.pricing-section .section-tag,
.pricing-section .section-title,
.pricing-section .section-title span,
.pricing-section .pricing-subdesc {
    color: #ffffff !important;
}
.pricing-subdesc {
    max-width: 600px; 
    margin: 0 auto 40px auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60px; height: 60px;
    background: #000000;
    border-radius: 0 0 0 100%;
}

.pricing-card h3 {
    font-size: 22px;
    color: var(--dark-teal);
    text-align: left;
    margin-bottom: 10px;
}

.price {
    font-size: 38px;
    font-weight: 700;
    color: var(--dark-teal);
    text-align: left;
    margin-bottom: 5px;
}

.price-period {
    font-size: 13px;
    color: var(--text-muted);
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: #000000;
}

.full-width-btn {
    width: 100%; 
    justify-content: center;
}

.why-section {
    padding: 80px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-list-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.why-icon {
    background: #232d3a;
    color: var(--white);
    width: 55px;
    height: 55px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.why-icon.green-variant {
    background: #000000;
}

.why-info h4 {
    font-size: 18px;
    color: var(--dark-teal);
    margin-bottom: 5px;
}

.why-info p {
    font-size: 14px;
    color: var(--text-muted);
}

.why-images {
    display: flex;
    gap: 20px;
}

.why-img-1 {
    border-radius: 120px 120px 0 120px;
    width: 50%;
    object-fit: cover;
}

.why-img-2 {
    border-radius: 120px 0 120px 120px;
    width: 50%;
    object-fit: cover;
    margin-top: 40px;
}

.cta-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('imgi/img3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0; /* Asegura un buen espacio arriba y abajo */
}
/* Fuerza a que todos los textos del banner se mantengan en blanco */
.cta-banner h2,
.cta-banner h2 span,
.cta-banner .cta-desc,
.cta-banner .cta-phone {
    color: #ffffff !important;
}
.cta-banner h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-banner h2 span {
    color: #ffffff !important;
}

.cta-desc {
    margin-bottom: 20px; 
    opacity: 0.9; 
    font-size: 14px; 
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto;
}

.cta-phone {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.stats-bar {
    background: #000000;
    padding: 25px 40px;
    border-radius: 50px;
    margin: -35px auto 0 auto;
    max-width: 1000px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stat-item {
    text-align: center;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    background: rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
}

.stat-label {
    font-size: 13px;
    opacity: 0.9;
}

.gallery-section {
    padding: 80px 0;
    text-align: center;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    background: #edf2f7;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
}

.filter-btn.active {
    background: #000000;
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.g-span-row {
    grid-row: span 2;
}

.team-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('imgi/img3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0; /* Mantiene un espaciado limpio arriba y abajo */
}
/* Centra por completo la cabecera de la sección de equipo y asegura el color blanco */
.team-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-section .section-tag.tag-center,
.team-section .section-title {
    text-align: center;
    width: 100%;
    color: #ffffff !important;
}
.team-grid {
    display: flex;
    justify-content: center; 
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
}

.team-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    text-align: center;
}

.team-img-wrapper {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    overflow: hidden;
    border: 4px solid #edf2f7;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    font-size: 18px;
    color: var(--dark-teal);
}

.team-card span {
    font-size: 13px;
    color: #000000;
    display: block;
    margin-bottom: 15px;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-socials a {
    width: 35px;
    height: 35px;
    background: #000000;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.testimonials-section {
    background-color: #ffffff;
    padding: 60px 20px;
}

.titles-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 40px;
}

.titles-container h2 {
    color: #000000;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.testimonials-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial-card {
    background-color: #222521;
    border-radius: 24px;
    padding: 30px;
    max-width: 350px;
    flex: 1 1 300px;
    box-sizing: border-box;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
}

.client-info h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.1rem;
}

.role {
    color: #a0a0a0;
    margin: 2px 0 0 0;
    font-size: 0.85rem;
}

.testimonial-text {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 20px;
}

.stars {
    color: #ff9800;
    font-size: 1.2rem;
}

.faq-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('imgi/img3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0; /* Mantiene un espaciado limpio */
}

/* 2. Pasar a color blanco los textos informativos del fondo */
.faq-section .section-tag,
.faq-section .section-title,
.faq-section .section-desc {
    color: #ffffff !important;
}

/* 3. Asegurar que las preguntas del acordeón también sean legibles si es necesario */
.faq-section .faq-question {
    color: #ffffff !important;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.faq-image-box {
    width: 100%;
    max-width: 550px; /* Evita que la imagen se estire demasiado */
    height: 400px; /* Ajusta la altura para equilibrarla con el acordeón */
    background-image: url('imgi/img6.jpg'); /* Pon aquí la ruta real de tu imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px; /* Aplica las esquinas redondeadas premium */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Añade profundidad sobre el fondo */
    justify-self: center; /* Asegura que se centre en su columna si la pantalla es grande */
}
/* Cambia el texto de las preguntas del FAQ a color negro */
.faq-section .faq-question,
.faq-section .accordion-button,
.faq-section .accordion-header button {
    color: #000000 !important;
}
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #f7fafc;
    border-radius: 30px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question {
    font-weight: 600;
    color: var(--dark-teal);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-q-icon {
    color: #000000;
}

.faq-icon-box {
    background: #000000;
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.blog-section {
    padding: 80px 0;
    background: #ffffff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.blog-img-wrapper {
    position: relative;
    height: 220px;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #000000;
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.blog-meta span i {
    color: #000000;
    margin-right: 5px;
}

.blog-content h3 {
    font-size: 18px;
    color: var(--dark-teal);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}

.blog-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.read-more-btn {
    color: #000000;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer {
    background-color: #111111;
    color: #cbd5e0;
    padding: 80px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 50px;
}

.logo-white {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-contact-info p {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-info p i {
    color: #ffffff;
}

.footer-links h3, .footer-newsletter h3 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.footer-links h3::after, .footer-newsletter h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: #ffffff;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-newsletter p {
    font-size: 14px;
    margin-bottom: 20px;
}

.newsletter-form input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 30px;
    border: none;
    outline: none;
    margin-bottom: 15px;
    background: #ffffff;
}

.btn-subscribe {
    width: 100%;
    background: #000000;
    color: var(--white);
    border: 1px solid #ffffff;
    padding: 14px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    padding: 20px 0;
    border-top: 1px solid #222222;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

@media(max-width: 992px) {
    .features-grid, .services-grid, .pricing-grid, .team-grid, .about-grid, .why-grid, .video-grid, .faq-grid, .testimonials-grid, .blog-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .g-span-row { 
        grid-row: span 1; 
    }
    .hero h1 { 
        font-size: 38px; 
    }
    .stats-bar {
        flex-direction: column;
        border-radius: 20px;
        gap: 20px;
        align-items: flex-start;
    }
    .nav-menu {
        display: none;
    }
}
/* ==========================================================================
   NUEVAS REGLAS PARA LA PÁGINA INDIVIDUAL DEL BLOG (INTERNA)
   ========================================================================== */

.blog-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.main-post-thumb img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.post-paragraph {
    color: #555555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.blog-quote {
    background: #f8f9fa;
    border-left: 4px solid #000000;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 20px 20px 0;
}

.blog-quote p {
    font-style: italic;
    font-size: 16px;
    color: #222222;
    line-height: 1.6;
    margin-bottom: 10px;
}

.blog-quote cite {
    font-weight: 600;
    font-size: 14px;
    color: #000000;
}

.post-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.post-gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
}

.post-tags-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
    padding-bottom: 25px;
    border-bottom: 1px solid #eeeeee;
}

.tag-badge {
    background: #edf2f7;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

/* Caja del Autor */
.author-box {
    display: flex;
    gap: 25px;
    background: #fdfdfd;
    border: 1px solid #eeeeee;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 50px;
    align-items: center;
}

.author-avatar-wrapper {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    font-weight: 600;
}

.author-info h3 {
    font-size: 20px;
    color: #111;
    margin-bottom: 8px;
}

.author-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.author-socials {
    display: flex;
    gap: 12px;
}

.author-socials a {
    color: #444;
    font-size: 14px;
}

.author-socials a:hover {
    color: #000;
}

/* Hilo de Comentarios */
.comments-section {
    margin-bottom: 50px;
}

.comments-heading {
    font-size: 22px;
    margin-bottom: 30px;
    border-bottom: 2px solid #111;
    display: inline-block;
    padding-bottom: 5px;
}

.comment-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-body h4 {
    font-size: 16px;
    color: #111;
}

.comment-date {
    font-size: 12px;
    color: #999;
    display: block;
    margin-bottom: 10px;
}

.comment-body p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}

.reply-link {
    font-size: 13px;
    font-weight: 600;
    color: #000000;
}

/* Formulario Comentarios */
.leave-comment-box {
    background: #ffffff;
    border: 1px solid #eeeeee;
    padding: 35px;
    border-radius: 24px;
}

.leave-comment-box h3 {
    font-size: 22px;
    margin-bottom: 25px;
}

.comment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.comment-form input, .comment-form textarea {
    width: 100%;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    padding: 15px 20px;
    border-radius: 10px;
    outline: none;
    font-size: 14px;
    font-family: inherit;
}

.comment-form textarea {
    margin-bottom: 20px;
    resize: vertical;
}

/* Estilos de la Barra Lateral Widget */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid #eeeeee;
    padding: 30px;
    border-radius: 20px;
}

.sidebar-widget h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
    color: #111;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background: #000;
}

.sidebar-search-box {
    position: relative;
}

.sidebar-search-box input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border-radius: 30px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    outline: none;
}

.sidebar-search-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    cursor: pointer;
}

.sidebar-categories li {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
}

.sidebar-categories li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-categories li a {
    color: #444;
    font-weight: 500;
}

.sidebar-categories li a:hover {
    color: #000;
}

.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.recent-post-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.recent-post-item a {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-item span {
    font-size: 11px;
    color: #999;
    display: block;
    margin-top: 4px;
}

.sidebar-social-icons {
    display: flex;
    gap: 10px;
}

.sidebar-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    transition: all 0.3s;
}

.sidebar-social-icons a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.sidebar-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-tags-grid a {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    color: #444;
}

.sidebar-tags-grid a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Ajuste Responsivo */
@media(max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    .comment-form-row {
        grid-template-columns: 1fr;
    }
}
/* Estilos específicos para el Formulario de Contacto */
.contact-form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-container .form-row {
    display: flex;
    gap: 20px;
}

.contact-form-container .form-row input {
    flex: 1;
}

.contact-form-container input, 
.contact-form-container textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 10px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.contact-form-container input:focus, 
.contact-form-container textarea:focus {
    border-color: #01a3a4; /* Color de enfoque */
    background: #ffffff;
}

@media(max-width: 768px) {
    .contact-form-container .form-row {
        flex-direction: column;
        gap: 20px;
    }
}
/* ==========================================================================
   ESTILOS DE LA GALERÍA INTERACTIVA ANTES Y DESPUÉS
   ========================================================================== */

.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.ba-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.ba-card:hover {
    transform: translateY(-5px);
}

.ba-slider-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    user-select: none;
}

.ba-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Contenedor de la capa superior ("Antes") */
.ba-before-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.ba-before-img {
    width: 100%;
    height: 100%;
    max-width: none; /* Crucial para evitar que la imagen se encoja al redimensionar el contenedor */
}

/* Etiquetas flotantes */
.ba-label {
    position: absolute;
    bottom: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1px;
    z-index: 4;
    pointer-events: none;
}

.ba-label-before { left: 15px; }
.ba-label-after { right: 15px; }

/* Input de Rango Invisible Superpuesto */
.ba-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 5;
}

/* Línea Divisoria Centrada */
.ba-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #ffffff;
    z-index: 3;
    pointer-events: none;
    transform: translateX(-50%);
}

/* Tirador / Círculo Central */
.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: #000000;
    color: #ffffff;
    border: 3px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Información del Proyecto */
.ba-info {
    padding: 25px;
}

.ba-info h3 {
    font-size: 18px;
    color: #111111;
    margin-bottom: 10px;
    font-weight: 700;
}

.ba-info p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* Adaptabilidad para Dispositivos Móviles */
@media (max-width: 992px) {
    .before-after-grid {
        grid-template-columns: 1fr;
    }
    .ba-slider-container {
        height: 280px;
    }
}
/* ==========================================================================
   SISTEMA DE ACORDEÓN INDEPENDIENTE (FAQ PAGE)
   ========================================================================== */

.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.faq-accordion-item {
    background: #f7fafc;
    border-radius: 30px;
    overflow: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.faq-accordion-button {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #111111 !important;
    cursor: pointer;
    outline: none;
}

.faq-accordion-icon {
    background: #000000;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-accordion-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 30px;
}

.faq-accordion-answer p {
    color: #555555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding-bottom: 20px;
}

/* Clases de activación controladas mediante JS */
.faq-accordion-item.active {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.faq-accordion-item.active .faq-accordion-icon {
    transform: rotate(180deg);
}

.faq-accordion-item.active .faq-accordion-answer {
    max-height: 250px; /* Altura máxima preventiva para textos largos */
}