/* --- RESET & BASICS --- */
/* --- ANIMATION UTILITIES --- */
/* Base class for animated elements */
.animate-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Individual animation types */
.fade-in-up {
    transform: translateY(30px);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

.scale-in {
    transform: scale(0.9);
}

/* Visible state (applied by JS) */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

/* Helper to stagger animations for lists/grids */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* Keep existing base styles below... */
:root {
    --primary-color: #3BB9E3;
    /* El azul cian principal */
    --primary-dark: #2A8CB0;
    --secondary-color: #F8F9FA;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --footer-bg: #111e18;
    /* Verde muy oscuro/negro del footer */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.logo img {
    height: 90px;
    /* Increased from ~50px to 90px */
    width: auto;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fff;
    scroll-behavior: smooth;
}

/* --- ANIMATIONS --- */
.hidden-el {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.show-el {
    opacity: 1;
    transform: translateY(0);
}

.center-text {
    text-align: center;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

h1,
h2,
h3,
h4 {
    margin-bottom: 15px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
}

.btn-outline-dark {
    background-color: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-dark);
}

.subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* --- HEADER --- */
header {
    padding: 20px 0;
    background: var(--white);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* For absolute mobile menu positioning */
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: 0.3s;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a:hover {
    color: var(--primary-color);
}

/* --- HERO SECTION --- */
.hero {
    background: url('assets/herobanner.png') no-repeat center center/cover;
    padding: 80px 0;
    min-height: 800px;
    /* Increased height for impact */
    display: flex;
    align-items: flex-start;
    /* Align to top */
    padding-top: 140px;
    /* Reduced top padding to move it up, but clear header */
    position: relative;
}

/* Optional overlay to ensure text readability if needed, usually on the left */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align to left */
}

.hero-text {
    width: 60%;
    /* Wider text area */
    max-width: 800px;
    margin-left: 0;
    /* Force left */
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Ensure text colors are white on image */
.hero-text h1,
.hero-text p,
.hero-text .subtitle {
    color: var(--white);
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.hero-buttons .btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.hero-buttons .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.hero-buttons .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.hero-buttons .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* --- SERVICES REDESIGN --- */
.services {
    padding: 80px 0;
    overflow: hidden;
    /* Hide overflow from slider */
}

.services-top-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.services-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 50px;
}

.services-title-col {
    flex: 1;
}

.services-title-col h2 {
    font-size: 3rem;
    line-height: 1.1;
    color: #111;
}

.services-desc-col {
    flex: 1;
}

.services-desc-col h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.services-divider {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin-bottom: 50px;
}

/* Slider */
.services-slider-container {
    position: relative;
}

.services-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    /* Space for scrollbar if any */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.services-slider::-webkit-scrollbar {
    display: none;
}

.service-card {
    width: 380px;
    /* Adjusted to fit 3 in a row */
    min-width: 380px;
    background: transparent;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
}

.card-img {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
    height: 380px;
    /* Square-ish aspect ratio */
    width: 100%;
    display: block;
}

.card-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* Fill area without spaces */
    object-position: center;
    display: block;
    transition: transform 0.3s;
}

.service-card:hover .card-img img {
    transform: scale(1.35);
    /* Zoom slightly more on hover */
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #111;
}

.service-detail {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
    min-height: 120px;
    /* Align buttons roughly */
}

.btn-book {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #ccc;
    color: #333;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-book:hover {
    background: #f0f0f0;
}

.btn-book-blue {
    background-color: #4DBCE6;
    border-color: #4DBCE6;
    color: #fff;
}

.btn-book-blue:hover {
    background-color: #39aace;
    border-color: #39aace;
}

/* Slider Arrow */
.slider-arrow {
    position: absolute;
    right: -20px;
    /* Hang slightly off container */
    top: 35%;
    /* Center roughly on image */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4DBCE6;
    color: white;
    font-size: 1.8rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: transform 0.2s;
}

.slider-arrow:hover {
    transform: scale(1.1);
}

/* --- WHY CHOOSE US --- */
.about {
    padding: 100px 0;
    overflow: visible;
    /* Allow images to pop out if needed */
}

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
    /* More space between text and images */
}

.about-text {
    flex: 1;
}

.about-text .subtitle {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.about-text h2 {
    font-size: 2.5rem;
    /* Match hero size logic */
    margin-bottom: 30px;
    color: #111;
}

.about-text p {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.6;
}

.about-text strong {
    color: #333;
    font-weight: 600;
}

.btn-quote {
    display: inline-block;
    padding: 12px 35px;
    background-color: #4DBCE6;
    /* Light cyan blue from image */
    color: white;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-quote:hover {
    background-color: #39aace;
    color: white;
}

/* Image Collage */
.about-image-collage {
    flex: 1;
    position: relative;
    height: 500px;
    /* Define height for absolute positioning */
}

.collage-img-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    /* Cyan border effect roughly based on image */
    box-shadow: 15px -15px 0px #4DBCE6;
}

.collage-img-1 img {
    width: 100%;
    display: block;
}

.collage-img-2 {
    position: absolute;
    bottom: 80px;
    /* Moved up to overlap the top image */
    left: 0;
    width: 55%;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    /* Shadow to separate layers */
}

.collage-img-2 img {
    width: 100%;
    display: block;
}

/* --- PRICING --- */
/* --- PRICING --- */
.pricing {
    background: url('assets/Ourpricingbackground.png') no-repeat center center/cover;
    background-color: #4DBCE6;
    /* Fallback */
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(42, 140, 176, 0.85);
    /* Overlay for readability */
    z-index: 1;
}

.pricing .container {
    position: relative;
    z-index: 2;
}

.pricing-header h2 {
    color: var(--white);
    font-size: 2.5rem;
}

.subtitle-white {
    color: var(--white);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.pricing-grid {
    display: flex;
    /* Flex for side-by-side equal height */
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
    /* Responsive wrap */
    align-items: flex-start;
    /* Align top */
}

.price-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    min-width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.price-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    min-height: 40px;
    /* Align titles */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Featured card style */
.price-card.featured-blue {
    /* Optional scale or highlight */
}

.price-tag {
    background: #5BC2E7;
    /* The bright blue from reference */
    color: white;
    display: block;
    width: 100%;
    padding: 10px 0;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.price-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 30px;
    flex: 1;
    /* Push button down */
}

.price-card ul li {
    margin-bottom: 12px;
    padding-left: 15px;
    position: relative;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.price-card ul li::before {
    content: "•";
    color: #5BC2E7;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Pricing Buttons */
.btn-primary-pricing {
    background-color: #5BC2E7;
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: block;
    border: none;
    transition: background 0.3s;
}

.btn-primary-pricing:hover {
    background-color: #3bb2db;
}

.btn-outline-pricing {
    background-color: white;
    color: #333;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: block;
    border: 1px solid #ccc;
    transition: all 0.3s;
}

.btn-outline-pricing:hover {
    background-color: #f7f7f7;
    border-color: #bbb;
}

/* Pricing Details Section - Fresh Start */
.pricing-details-section {
    padding: 60px 0;
    background-color: white;
    /* Ensure clean white background */
}

/* Pricing Details Row */
.pricing-details-row {
    display: flex;
    gap: 20px;
    text-align: left;
    flex-wrap: wrap;
    align-items: stretch;
}

.detail-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    /* More rounded to match image */
    flex: 1;
    min-width: 300px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    /* Fancy border effect based on image reference (blue accent on left) */
    border-left: 6px solid #5BC2E7;
}

.detail-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.stars {
    color: #FFA500;
    margin-bottom: 15px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.detail-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}


/* --- TESTIMONIALS --- */
.testimonials {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}



/* --- QUOTE INTRO --- */
.quote-intro {
    padding: 100px 0 50px;
}

.quote-split {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.quote-left h2 {
    font-size: 3rem;
    color: #111;
    font-weight: 700;
}

.quote-right {
    max-width: 600px;
}

.quote-right h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

.quote-right p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.quote-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0;
}

/* --- CONTACT US NEW --- */
.contact-us {
    padding: 60px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    /* Right side slightly wider for form */
    gap: 80px;
}

/* Left: Find Us */
.contact-find-us h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #111;
}

.info-card {
    background: #F9FCFE;
    /* Very light blue tint card background */
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #5BC2E7;
    /* The blue accent */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #111;
}

.info-text p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* Right: Keep In Touch */
.contact-keep-touch .eyebrow {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.contact-keep-touch h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #111;
}

.contact-keep-touch .subtext {
    color: #666;
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 500px;
}

.clean-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.clean-form input,
.clean-form textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    /* Minimalist border bottom style */
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

/* Alternative: Box style if preferred, referencing image looks like clean boxes or lines. 
   Let's use clean layout with slight border box for robustness */
.clean-form input,
.clean-form textarea {
    background: white;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 6px;
}

.clean-form input:focus,
.clean-form textarea:focus {
    border-color: #5BC2E7;
}

.btn-send {
    background-color: #5BC2E7;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-send:hover {
    background-color: #3bb2db;
}

/* --- FOOTER --- */
footer {
    background-color: var(--footer-bg);
    color: #aaa;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    flex: 1;
}

.newsletter-form button {
    padding: 10px 20px;
    background: var(--primary-color);
    border: none;
    color: var(--white);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
}

/* --- RESPONSIVE BASICO --- */
/* --- RESPONSIVE BASICO --- */
@media (max-width: 768px) {

    .nav-container {
        /* Keep header items (logo, burger) in a row */
        flex-direction: row;
        justify-content: space-between;
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex;
        z-index: 100;
    }

    /* Hide the direct Get Quote button on mobile to save space, or move into menu */
    .nav-container .btn-primary {
        display: none;
    }

    /* Mobile Menu Styles */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s ease;
        z-index: 99;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .nav-menu ul li a {
        font-size: 1.1rem;
        display: block;
        padding: 10px 0;
    }

    /* Sections */
    .hero-content,
    .about-content,
    .contact-grid,
    .footer-grid,
    .section-header,
    .quote-split,
    .services-header-row {
        flex-direction: column;
        text-align: center;
    }

    .hero-text,
    .hero-image,
    .about-text,
    .about-image,
    .quote-left,
    .quote-right,
    .hero-content,
    .about-image-collage {
        width: 100%;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .quote-intro {
        text-align: center;
        padding-bottom: 20px;
    }

    .quote-split {
        gap: 20px;
    }

    .services-top-actions {
        justify-content: center;
        flex-direction: column;
        /* Stack buttons on mobile */
        gap: 15px;
        width: 100%;
    }

    .services-top-actions .btn {
        width: 100%;
        /* Full width for easier tapping */
        padding: 12px 0;
        /* Adjust padding */
        text-align: center;
    }

    .services-header-row {
        align-items: center;
    }

    .services-title-col,
    .services-desc-col {
        text-align: center;
        width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Adjust overlapping images for mobile */
    /* Adjust overlapping images for mobile */
    .about-image-collage {
        height: 650px;
        /* EXTRA TALL to absolutely accommodate vertical stacking of wide images */
        margin-top: 50px;
        position: relative;
        width: 100%;
        margin-bottom: 50px;
    }

    .collage-img-1 {
        width: 100%;
        /* Full width */
        right: 0;
        top: 0;
        position: relative;
        /* Change to relative to stack roughly? No keep abs for overlap feel but with height */
        /* Actually if we want to BE SURE, let's just make container huge */
        position: absolute;
    }

    .collage-img-2 {
        width: 85%;
        bottom: 0px;
        left: 0;
        position: absolute;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    /* Additional spacing */
    .about {
        padding-bottom: 120px;
        /* Massive padding at bottom of section */
    }

    .pricing {
        margin-top: 100px;
        /* Push pricing down explicitly */
        padding-top: 100px;
        /* Extra internal padding */
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .price-card,
    .detail-card {
        width: 100%;
    }
}