.hero {
    position: relative;
    height: 70vh;
    background-image: url('../assets/imgs/inicio/hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 5%;
    padding: 60px 40px;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
}

.hero-content h1 {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-accent {
    width: 80px;
    height: 2px;
    background: linear-gradient(5deg, #BFA56A 0%, #D1B370 50%, #E3C57D 100%);
    margin: 20px 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.6s;
}

.hero-content p {
    max-width: 550px;
    margin-bottom: 35px;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1s;
}

.hero-cta {
    display: inline-flex;
    gap: 12px;
    color: #fff;
    background: linear-gradient(5deg, #BFA56A 0%, #D1B370 50%, #E3C57D 100%);
    width: fit-content;
    padding: 10px 25px;
    text-transform: uppercase;
    transition: box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1.4s;
}

.hero-cta:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 968px) {
    .hero {
        height: 50vh;
        min-height: 500px;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 450px;
    }

    .hero-content {
        padding: 30px 20px;
    }
}

.section-historia {
    align-items: center;
    padding: 4rem 2rem;
}

.historia-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.year {
    font-size: clamp(8rem, 18vw, 15rem);
    color: rgb(180, 135, 58, 0.6);
}

.titulo {
    margin-bottom: 1.5rem;
}

.descripcion {
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .section-historia {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 2rem;
        text-align: left;
    }

    .year {
        font-size: 10rem;
    }
}

.prevision-container {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.subtitle {
    text-transform: uppercase;
    color: var(--dorado);
    font-size: 1.2rem;
}

.title {
    margin: 20px 0;
}

.prevision-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.prevision-benefit-pill {
    background: #f5f5f5;
    color: #333333;
    padding: 12px 24px;
    border-radius: 50px;
}

.prevision-images {
    position: relative;
    height: 500px;
    width: 100%;
    max-width: 450px;
}

.prevision-image {
    overflow: hidden;
    box-shadow: 8px 8px 0 0 rgb(201, 162, 94);
}

.prevision-image.back {
    position: absolute;
    width: 300px;
    height: 400px;
    top: 100px;
    left: 200px;
    z-index: 1;
}

.prevision-image.front {
    position: absolute;
    width: 300px;
    height: 400px;
    top: 0;
    left: 0;
    z-index: 2;
}

.prevision-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 968px) {
    .prevision-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .prevision-images {
        height: 400px;
        margin: 0 auto;
        max-width: 500px;
    }
}

@media (max-width: 968px) {
    .prevision-images {
        height: 420px;
        max-width: 380px;
        margin: 0 auto;
    }

    .prevision-image.back {
        width: 250px;
        height: 340px;
        top: 80px;
        left: 120px;
    }

    .prevision-image.front {
        width: 250px;
        height: 340px;
        top: 0;
        left: 0;
    }
}

@media (max-width: 640px) {
    .prevision-images {
        height: 350px;
        max-width: 280px;
        margin: 0 auto;
    }

    .prevision-image.back {
        width: 200px;
        height: 280px;
        top: 40px;
        left: 80px;
    }

    .prevision-image.front {
        width: 200px;
        height: 280px;
        top: 0;
        left: 0;
    }
}

.img-section,
.img-section-alt {
    width: 100%;
    height: 40vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.img-section {
    background-image: url('../assets/imgs/inicio/fb_01.webp');
}

.img-section-alt {
    background-image: url('../assets/imgs/inicio/fb_02.webp');
}

@media (max-width: 1024px) {

    .img-section,
    .img-section-alt {
        background-attachment: scroll;
        background-position: center top;
    }
}

@media (max-width: 480px) {

    .img-section,
    .img-section-alt {
        height: 35vh;
        background-position: center center;
    }
}

.planes-section {
    padding: 4rem 2rem;
}

.planes-content {
    max-width: 1200px;
    margin: 0 auto;
}

.planes-intro {
    text-align: center;
    margin-bottom: 80px;
}

.disclaimer {
    color: #ababab;
    max-width: 600px;
    margin: 30px auto;
}

.planes-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.plan-card {
    overflow: hidden;
    border: 1px solid #e8e8ed;
    display: flex;
    flex-direction: column;
}

.plan-contenido {
    padding: 40px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.plan-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--dorado) 0%, #d4b976 100%);
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    border-radius: 20px;
    align-self: flex-start;
}

.plan-nombre {
    margin: 15px 0;
}

.plan-descripcion {
    color: #666;
    margin-bottom: 30px;
}

.plan-benefits {
    margin-bottom: 32px;
    flex: 1;
}

.plan-benefit-item {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f5;
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-benefit-item:last-child {
    border-bottom: none;
}

.plan-benefit-item::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--dorado);
    border-radius: 50%;
    flex-shrink: 0;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 14px 40px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    text-align: center;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.opciones-finales {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 80px;
}

.opcion-card {
    background: #f9f9f9;
    padding: 50px 40px;
    border-radius: 10px;
}

.opcion-descripcion {
    color: #666;
    margin-bottom: 30px;
}

@media (max-width: 1200px) {
    .planes-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .plan-card:last-child {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .planes-section {
        padding: 60px 20px;
    }

    .planes-container {
        grid-template-columns: 1fr;
    }

    .plan-card:last-child {
        max-width: 100%;
    }

    .plan-contenido {
        padding: 32px 24px;
    }

    .opciones-finales {
        grid-template-columns: 1fr;
    }
}

.cremapets {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.cremapets-intro {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
}

.cremapets-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cremapets-logo-img img {
    height: 200px;
}

.cremapets-content p {
    margin: 30px 0;
}

.cremapets-services {
    margin: 6rem 0;
}

.cremapets-services h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.cremapets-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.cremapets-service-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border: 1px solid #e8e8e8;
}

.cremapets-service-icon {
    font-size: 3em;
    margin-bottom: 25px;
}

.cremapets-service-text {
    color: #666;
}

.cremapets-gallery {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cremapets-gallery-content {
    flex: 1 1 400px;
    max-width: 500px;
}

.cremapets-gallery-description {
    margin: 25px 0;
}

.cremapets-gallery-images {
    flex: 1 1 500px;
    display: flex;
    gap: 15px;
    overflow-x: auto;
}

.cremapets-gallery-images img {
    height: 300px;
    flex-shrink: 0;
    object-fit: cover;
    scroll-snap-align: center;
}

@media (max-width: 900px) {
    .cremapets-gallery {
        flex-direction: column;
        align-items: flex-start;
    }

    .cremapets-gallery-images {
        width: 100%;
    }
}

@media (max-width: 968px) {
    .cremapets-intro {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 60px 5%;
    }

    .cremapets-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .cremapets-services-grid {
        grid-template-columns: 1fr;
    }
}

.ubicacion-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.intro-ubicacion {
    margin-bottom: 60px;
}

.ubicacion-descripcion {
    max-width: 700px;
}

.contenido-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.galeria-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.galeria-item {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mapa-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mapa-wrapper {
    overflow: hidden;
    height: 400px;
}

.mapa-wrapper iframe {
    width: 100%;
    height: 100%;
}

.info-detalle {
    padding: 30px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-titulo {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-titulo::before {
    content: '';
    width: 2px;
    height: 22px;
    background: var(--dorado);
}

.info-texto {
    margin-left: 14px;
}

.info-texto a:hover {
    text-decoration: underline;
}

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

    .galeria-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mapa-wrapper {
        height: 300px;
    }
}

.hours-badge {
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #34c759;
    color: white;
    padding: 5px 9px;
    border-radius: 20px;
}

.hours-badge::before {
    content: "●";
    font-size: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

.faq-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.faq-title {
    margin-bottom: 40px;
    text-align: center;
}

.faq-container {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 25px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #000;
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    color: #666;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-answer a {
    color: var(--dorado);
    text-decoration: none;
    border-bottom: 1px solid var(--dorado);
}