@font-face {
    font-family: 'Ragile';
    src: url('../fonts/Ragile.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/********** Keyframe Animations **********/
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes float-flipped {
    0%, 100% {
        transform: scaleX(-1) translateY(0px);
    }
    50% {
        transform: scaleX(-1) translateY(-15px);
    }
}

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

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* Ensure AOS elements start invisible */
[data-aos] {
    opacity: 0;
}

/********** CSS Variables **********/
:root {
    /* Text Colors */
    --color-text-primary: #0A4553;
    --color-text-white: #f5f9e5;
    --color-text-secondary: #edf7be;
    --color-text-accent: #c2f2e4;
    
    /* Accent Colors */
    --color-accent-green: #bfe175;
    --color-accent-orange: #ffab6e;
    
    /* Background Colors */
    --color-bg-white: #f5f9e5;
    --color-bg-dark: #0A4553;
    --color-bg-soft: #35c8b4;
}

html {
    scroll-padding-top: 20px;
}

/********** Navigation **********/ 
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
}

.navbar-custom.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

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

.nav-logo img {
    height: 50px;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled .nav-logo img {
    height: 45px;
}

.logo-white {
    display: block;
}

.logo-blue {
    display: none;
}

.navbar-custom.scrolled .logo-white {
    display: none;
}

.navbar-custom.scrolled .logo-blue {
    display: block;
    filter: brightness(0) saturate(100%) invert(23%) sepia(98%) saturate(1844%) hue-rotate(192deg) brightness(94%) contrast(101%);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-custom.scrolled .nav-link {
    color: var(--color-text-primary);
}

.nav-link:hover {
    color: var(--color-text-primary);
}

.nav-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-whatsapp:hover {
    transform: scale(1.1);
    background: #128C7E;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #FFFFFF;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.navbar-custom.scrolled .hamburger span {
    background: var(--color-text-primary);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 960px) {
    .navbar-custom,
    .navbar-custom.scrolled {
        padding: 8px 0;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-logo img {
        height: 40px;
    }

    .navbar-custom.scrolled .nav-logo img {
        height: 36px;
    }

    .hamburger {
        display: flex;
        gap: 4px;
    }

    .hamburger span {
        width: 24px;
        height: 2px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-bg-white);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 20px;
        align-items: flex-start;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu .nav-link {
        color: var(--color-text-primary);
        font-size: 18px;
        width: 100%;
        padding: 12px 0;
    }
    
    .nav-menu .nav-whatsapp {
        margin-top: 10px;
    }
    
    .hamburger.active span {
        background: var(--color-text-primary);
    }
}

/********** Intro Section **********/
.intro-section {
    padding: 140px 20px 0;
    text-align: center;
    color: #FFFFFF;
}

.intro-title {
    font-family: 'Ragile', sans-serif;
    font-size: 60px;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro-subtitle-wrapper {
    display: block;
    position: relative;
    margin-bottom: 20px;
}

.intro-subtitle {
    font-family: 'Ubuntu', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
    line-height: 1.4;
}

.intro-heart {
    color: #FFFFFF;
    font-size: 24px;
    line-height: 1;
    margin: 0 0 22px;
    transition: color 0.3s ease, font-size 0.3s ease;
}

.intro-heart i {
    color: inherit;
    transition: color 0.3s ease, font-size 0.3s ease;
}

.intro-heart:hover,
.intro-heart:hover i {
    color: var(--color-accent-orange);
    font-size: 32px;
}

.title-underline {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

/********** common setting **********/ 

h2 {
    font-size: 2.8rem;
    font-weight: 700;
}

img {
    display: block;
    max-width: 100%;
}

a,
button {
    cursor: pointer;
}

body {
    background: var(--color-bg-white);
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Ragile', sans-serif;
}

h4 {
    font-weight: 500;
}

html,body{
    overflow-x: hidden;
    scroll-behavior: smooth;
}



.text-green {
    color: var(--color-accent-green);
    font-style: italic;
}

.text-title {
    color: var(--color-text-white);
}

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

.text-orange {
    color: var(--color-accent-orange) !important;
}

.jumbotron {
    margin-bottom: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
}

#banner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.atlas-cta {
    border-radius: 15px !important;
    padding: 12px 30px !important;
    font-weight: 700;
    transition: all 0.4s ease !important;
}

.atlas-cta:hover {
    text-decoration: none;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: var(--color-text-accent);
    color: var(--color-text-primary);
}

.atlas-cta-wide {
    width: 100%;
}

.cta-orange {
    background: var(--color-accent-orange);
    color: var(--color-text-primary);
}

.cta-orange:hover {
    background: var(--color-text-accent);
    color: var(--color-text-primary);
}

.cta-blue {
    background: var(--color-text-primary);
    color: var(--color-text-white);
}

.cta-blue:hover {
    background: var(--color-text-accent);
    color: var(--color-text-primary);
}

.cta-ghost {
    border: 2px solid var(--color-text-primary) !important;
    color: var(--color-text-primary);
    background: var(--color-bg-white)
}

.cta-ghost:hover {
    background: var(--color-text-accent);
    color: var(--color-text-primary);
}


#banner {
    background-image: url('../img/banner-bg3.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center bottom;
    padding-bottom: 0;
    min-height: clamp(620px, 92vh, 1120px);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to bottom, rgb(148, 204, 203) 0%, #89bab9ee 60%, rgba(137, 186, 185, 0) 80%);
    z-index: 0;
    pointer-events: none;
}

#banner .intro-section {
    position: relative;
    z-index: 1;
}

.border-radius {
    border-radius: 15px;
}

/********** banner **********/
#banner header {
    overflow: hidden;
}

#banner header img {
    max-width: 80px;
}

/********** feature (skew background) **********/
.feature img {
    width: 100%;
    max-width: 480px;
}

#feature-first {
    background: var(--color-bg-white);
}

#feature-last {
    background: var(--color-bg-white);
}

#feature-white {
    background: var(--color-bg-white);
}

/********** price table **********/
#price-table {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

#price-table__premium {
    background: var(--color-text-primary);
    color: var(--color-text-white);
}

#price-table ul li {
    padding: 5px 0;
}

/********** contact **********/
#contact {
    background-size: cover;
}

#contact ul li {
    padding: 3px 0;
}

#contact form {
    color: var(--color-accent-green);
}

#contact form input,
#contact form textarea {
    background: transparent;
    border: 1px solid var(--color-accent-green);
    color: var(--color-text-white);
}

/********** copyright **********/
#copyright {
    background: var(--color-text-primary);
    padding: 2rem 3rem;
}

#copyright #social-media a {
    width: 40px;
    height: 40px;
    border-radius: 99%;
    background: var(--color-bg-white);
    transition: .4s ease;
}

#copyright #social-media a i {
    color: var(--color-text-primary);
    font-size: 1.2rem;
    line-height: 40px;
}

#copyright #social-media a:hover {
    background: var(--color-accent-orange);
}

#copyright #social-media a:hover i {
    color: var(--color-text-white);
}

/********** RWD **********/
@media (max-width: 960px) {

    html, body {
        overflow-x: hidden;
    }

    .intro-title {
        font-size: 4rem;
    }

    #banner {
        background-image: url('../img/banner-bg3.png');
        background-size: cover;
        background-position: center bottom;
        min-height: 560px;
        padding-top: clamp(75px, 12vh, 130px);
    }

    .intro-section {
        padding-top: 0;
    }
}


@media (max-width: 470px) {
    .text-title {
        font-size: 300%;
    }
}

/********** NUESTRO PROPOSITO **********/
.section-proposito {
    background: var(--color-accent-green);
    padding: 50px 20px 20px;
    text-align: center;
}

.proposito-label {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-primary);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.proposito-title {
    font-family: 'Ragile', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.proposito-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.proposito-images {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.1fr) minmax(220px, 1fr);
    gap: 80px;
    align-items: center;
    width: 100%;
    padding: 0 8px;
    margin: 0 auto;
}

.proposito-img {
    width: 100%;
    height: auto;
    max-height: clamp(220px, 30vw, 320px);
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

.proposito-img:hover {
    transform: scale(1.05);
}

.proposito-img-2 {
    animation: float 12s ease-in-out infinite;
}

.proposito-img-1 {
    animation: float-flipped 8s ease-in-out infinite;
}

.proposito-images > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/********** COMO FUNCIONA **********/
.section-funciona {
    background: var(--color-bg-white);
    padding: 80px 20px;
    text-align: center;
}

.funciona-container {
    background: var(--color-bg-dark);
    border-radius: 20px;
    padding: 80px 40px 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.funciona-title {
    font-family: 'Ragile', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--color-text-accent);
    text-align: center;
    margin: -60px auto 60px;
    padding-top: 40px;
    line-height: 1.3;
}

.funciona-card {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 10px 30px 30px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.funciona-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.funciona-card-image {
    background: var(--color-accent-orange);
    border: none;
    padding: 0;
    min-height: 300px;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon img {
    width: 70px;
    height: 70px;
    transition: transform 0.3s ease;
}

.funciona-card:hover .card-icon img {
    transform: scale(1.1) rotate(5deg);
}

.funciona-card h4 {
    color: var(--color-text-primary);
    font-size: 18px;
    margin-bottom: 15px;
    font-family: 'Ragile', sans-serif;
}

.funciona-card p {
    color: var(--color-text-primary);
    font-size: 14px;
    line-height: 1.6;
}

.card-feature-image {
    width: 100%;
    max-width: 240px;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    border-radius: 15px;
}

/********** INDICACIONES **********/
.section-indicaciones {
    background: var(--color-accent-green);
    padding: 50px 20px 50px;
    text-align: center;
}

.indicaciones-title {
    font-family: 'Ragile', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.3;
}

.indicaciones-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.indicaciones-card {
    background: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.indicaciones-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.indicaciones-card p {
    margin: 0;
}

.indicaciones-paws {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-text-primary);
    font-size: 22px;
    flex-shrink: 0;
}

.indicaciones-paws i {
    display: inline-block;
    transform: none;
    padding: 0;
}

.indicaciones-paws i:nth-child(odd) {
    display: none;
}

/********** FAQ **********/
.section-faq {
    background: var(--color-bg-white);
    padding: 80px 20px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-content {
    text-align: left;
}

.faq-title {
    font-family: 'Ragile', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--color-text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.faq-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-primary);
    margin-bottom: 28px;
}

.faq-btn {
    border-radius: 25px !important;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-primary);
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    color: var(--color-text-primary);
    font-size: 18px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] summary i {
    transform: rotate(90deg);
}

.faq-item p {
    margin: 0;
    padding: 0 22px 18px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-primary);
}

/********** RESEÑAS **********/
.section-resenas {
    background: var(--color-accent-orange);
    padding: 80px 20px;
}

.resenas-title {
    font-family: 'Ragile', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.2;
}

.resenas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1800px;
    margin: 0 auto;
}

.resena-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px 24px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.resena-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-text-accent);
    opacity: 0;
    transition: opacity .4s ease-in-out;
    pointer-events: none;
}

.resena-card:hover {
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.resena-card:hover::before {
    opacity: 1;
}

.resena-card:hover * {
    text-decoration: none;
}

.resena-card > * {
    position: relative;
    z-index: 1;
}

.resena-name {
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 8px;
    padding-left: 0;
}

.resena-quote {
    font-size: 22px;
    color: var(--color-text-primary);
    line-height: 1;
    margin: 20px 0 10px;
    padding-left: 0;
}

.resena-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-primary);
    margin: 0;
    padding: 0;
}

.resena-arrow {
    margin-top: auto;
    align-self: flex-end;
    padding-top: 14px;
    color: var(--color-text-primary);
    font-size: 14px;
}

.resenas-button {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

.resenas-btn {
    border-radius: 25px !important;
}

/********** GALERÍA **********/
.section-galeria {
    background: var(--color-bg-white);
    padding: 80px 20px;
    text-align: center;
}

.galeria-title {
    font-family: 'Ragile', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.3;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.carousel-container {
    flex: 1;
    max-width: 900px;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 15px;
}

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

.carousel-arrow {
    background: transparent;
    border: none !important;
    border-radius: 50%;
    width: 85px;
    height: 85px;
    font-size: 70px;
    color: var(--color-text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    outline: none !important;
    box-shadow: none !important;
}

.carousel-arrow:hover {
    transform: scale(1.1);
    color: var(--color-accent-orange);
}

.carousel-arrow:focus,
.carousel-arrow:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Mobile carousel adjustments */
@media (max-width: 768px) {
    .carousel-container {
        aspect-ratio: 4 / 3;
        max-width: 500px;
    }
    
    .carousel-wrapper {
        max-width: 500px;
    }
    
    .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 32px;
        border: none !important; /* Remove border on mobile */
        background: transparent !important;
    }
}

/********** RECUERDOS PERSONALIZADOS **********/
.section-recuerdos {
    background: var(--color-bg-white);
    padding: 80px 20px;
    text-align: center;
}

.recuerdos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.recuerdos-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

.recuerdos-title {
    font-family: 'Ragile', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--color-text-primary);
    margin-bottom: 30px;
    line-height: 1.3;
}

.recuerdos-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-primary);
}

.recuerdos-image img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.recuerdos-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Estilos específicos para el carrusel de recuerdos */
.recuerdos-carousel {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.recuerdos-carousel .carousel-wrapper {
    gap: 15px;
}

.recuerdos-carousel .carousel-container {
    aspect-ratio: 1 / 1; /* Hace que sea cuadrado */
    max-width: 400px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.recuerdos-carousel .carousel-arrow {
    border: none !important;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 64px;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0;
}

.recuerdos-carousel .carousel-arrow:hover {
    transform: scale(1.1);
    color: var(--color-accent-orange);
}

.recuerdos-carousel .carousel-arrow:focus,
.recuerdos-carousel .carousel-arrow:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/********** EL ORIGEN DE KALMACAN **********/
.section-origen {
    background: var(--color-text-accent);
    padding: 80px 20px;
}

.origen-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 90px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.origen-image {
    max-width: 400px;
    justify-self: end;
}

.origen-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.origen-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.origen-image-caption {
    font-family: 'Ragile', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--color-text-primary);
    text-align: center;
    margin-top: 15px;
    opacity: 0.8;
}

.origen-image-quote {
    font-family: 'Ragile', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text-primary);
    text-align: center;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.7;
}

.origen-image-quote .fa-heart {
    color: var(--color-accent-orange);
    font-size: 16px;
}

.origen-content {
    text-align: center;
}

.origen-title {
    font-family: 'Ragile', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--color-text-primary);
    margin-bottom: 30px;
    line-height: 1.3;
}

.origen-text {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-primary);
}

.origen-text p {
    margin-bottom: 20px;
}

.origen-text p:last-child {
    margin-bottom: 0;
}

/* Mobile responsive for origen section */
@media (max-width: 960px) {
    .origen-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        display: flex;
        flex-direction: column;
    }
    
    .origen-image {
        max-width: 250px;
        justify-self: center;
        margin: 0 auto;
        order: 2; /* Imagen después del texto en móvil */
    }
    
    .origen-content {
        text-align: center;
        order: 1; /* Texto primero en móvil */
    }
    
    .origen-title {
        font-size: 36px;
        text-align: center;
    }
    
    .section-origen {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .origen-title {
        font-size: 30px;
    }
    
    .origen-text {
        font-size: 15px;
    }
    
    .section-origen {
        padding: 40px 20px;
    }
    
    .origen-image {
        max-width: 200px;
    }
}

/********** IMAGE POPUP MODAL **********/
.image-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    cursor: pointer;
}

.popup-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.popup-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: var(--color-accent-orange);
    transform: scale(1.1);
}

/* Mobile popup adjustments */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        top: 45%;
    }
    
    .popup-image {
        border-radius: 10px;
    }
    
    .popup-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
        width: 45px;
        height: 45px;
    }
}

/********** GALLERY IMAGE CAPTION **********/
.gallery-image-caption {
    font-family: 'Ragile', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text-primary);
    text-align: center;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.7;
}

.gallery-image-caption .fa-heart {
    color: var(--color-accent-orange);
    font-size: 16px;
}

/********** FOOTER **********/
.section-footer {
    background: var(--color-bg-dark);
    padding: 60px 20px;
    color: #FFFFFF;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.footer-left h3 {
    font-family: 'Ragile', sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.footer-horario {
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--color-text-accent);
    text-decoration: none;
}

.social-icon-whatsapp {
    background: #25D366;
    color: #FFFFFF;
}

.social-icon-whatsapp:hover {
    background: var(--color-text-accent);
    color: var(--color-text-primary);
    text-decoration: none;
}

.footer-button {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-btn {
    width: 100%;
    max-width: 100%;
    padding: 12px 20px !important;
    font-size: 16px;
    border-radius: 25px !important;
}

.footer-logo {
    display: flex;
    justify-content: flex-end;
}

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

/********** MOBILE RESPONSIVE **********/
@media (max-width: 1560px) and (min-width: 963px) {
    #banner {
        background-size: cover;
        background-position: center bottom;
    }
}

@media (max-width: 992px) and (min-width: 961px) {
    #banner {
        background-size: cover;
        background-position: center bottom;
    }

    .proposito-label {
        font-size: 14px;
    }

    .proposito-title {
        font-size: 24px !important;
    }

    .row .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .funciona-card {
        min-height: 350px;
    }

    .funciona-card-image {
        min-height: 350px;
    }

    .indicaciones-grid {
        flex-direction: column;
    }

    .indicaciones-paws {
        transform: rotate(90deg);
    }
}

/********** Wave Animation Styles **********/
.ondebox {
    position: relative;
    width: 100%;
    margin: -7px 0 0 0;
    overflow: hidden;
}

.ondebox-flip {
    transform: scaleY(-1);
}

.onde {
    position: relative;
    width: 100%;
    height: 8vh;
    margin-bottom: -7px;
    min-height: 50px;
    max-height: 80px;
}

.parallaxonde > use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallaxonde > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
    fill: var(--color-accent-green) !important;
    opacity: 0.6;
}

.parallaxonde > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
    fill: var(--color-accent-green) !important;
    opacity: 0.4;
}

.parallaxonde > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
    fill: var(--color-accent-green) !important;
    opacity: 0.1;
}

.parallaxonde > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
    fill: var(--color-accent-green) !important;
    opacity: 1;
}

/* Mobile wave adjustment */
@media (max-width: 768px) {
    .onde {
        height: 25px;
        min-height: 25px;
        max-height: 40px;
    }
}

/* Override color for origen waves */
.parallaxonde.origen-wave > use:nth-child(1) {
    fill: var(--color-text-accent) !important;
    opacity: 0.6;
}

.parallaxonde.origen-wave > use:nth-child(2) {
    fill: var(--color-text-accent) !important;
    opacity: 0.4;
}

.parallaxonde.origen-wave > use:nth-child(3) {
    fill: var(--color-text-accent) !important;
    opacity: 0.1;
}

.parallaxonde.origen-wave > use:nth-child(4) {
    fill: var(--color-text-accent) !important;
    opacity: 1;
}

@media (max-width: 960px) {

    #banner {
        min-height: 640px;
        padding-top: clamp(85px, 14vh, 150px);
    }

    .intro-title {
        font-size: 44px;
    }

    .intro-subtitle {
        font-size: 18px;
        padding: 0 36px;
    }

    .intro-section {
        padding-bottom: 0;
    }

    .section-proposito {
        padding-bottom: 20px;
    }

    .proposito-text {
        margin-bottom: 0 !important;
    }

    .proposito-img-1 {
        display: none;
    }

    .proposito-img-2 {
        width: 50%;
        margin: 0 auto;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .proposito-images {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10px;
    }

    .proposito-label {
        font-size: 12px;
    }

    .proposito-title {
        font-size: 20px !important;
    }

    .funciona-title {
        font-size: 30px;
        text-align: center;
        margin: -30px auto 30px;
        line-height: 1.2;
    }

    .section-indicaciones {
        padding-top: 60px;
    }

    .indicaciones-title {
        font-size: 30px;
        text-align: center;
        margin: 0 auto 30px;
        line-height: 1.2;
    }

    .galeria-title,
    .recuerdos-title,
    .faq-title,
    .resenas-title {
        font-size: 30px;
        line-height: 1.2;
    }

    .recuerdos-content,
    .recuerdos-title,
    .recuerdos-text,
    .faq-content,
    .faq-title,
    .faq-text {
        text-align: center;
    }

    .recuerdos-grid {
        gap: 20px;
    }

    .section-recuerdos {
        padding: 40px 20px;
    }

    .section-faq {
        padding: 40px 20px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .faq-btn {
        width: 100%;
    }

    .section-resenas {
        padding: 40px 20px;
    }

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

    .resena-card {
        min-height: auto;
    }

    .resenas-button {
        margin-top: 24px;
    }

    .galeria-title {
        margin-bottom: 20px;
    }

    .section-galeria {
        padding: 60px 10px;
    }

    .row .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .funciona-card {
        min-height: 300px;
    }

    .funciona-card-image {
        min-height: 300px;
    }

    .indicaciones-grid {
        flex-direction: column;
    }

    .carousel-container {
        aspect-ratio: 4 / 3; /* Balanceado pero más grande */
        max-width: 900px; /* Más grande */
        width: 100%;
    }

    .carousel-wrapper {
        gap: 15px; /* Igual que el de recuerdos */
    }

    .carousel-arrow {
        width: 30px; /* Igual que el de recuerdos */
        height: 30px; /* Igual que el de recuerdos */
        font-size: 64px; /* Igual que el de recuerdos */
        padding: 0;
        margin: 0;
    }

    .container {
        padding: 0;
    }

}

/* Visually hidden for SEO */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
