/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-italian: #009246;
    --white-italian: #ffffff;
    --red-italian: #CE2B37;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --radius: 24px;
    --header-height: 72px;
    --glass: rgba(255,255,255,0.06);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1400px;
    background: rgba(255, 255, 255, 0.2);   
    border-radius: 24px;
    padding: 10px 40px;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.header.hide {
    transform: translateX(-50%) translateY(-120%);
    opacity: 0;
}

.header.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--green-italian);
}

.nav {
    display: flex;
    gap: 40px;
    align-items: center; /* Align items vertically */
}

/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 10px;
    margin-right: 0px;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--dark);
    padding: 5px 15px;
    border-radius: 20px;
    cursor: none; /* Match custom cursor */
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    color: var(--dark);
}

.lang-btn:hover, .lang-btn.active {
    background: var(--dark);
    color: white;
}

.lang-flag {
    display: none;
    width: 24px;
    height: auto;
    vertical-align: middle;
}

.lang-text {
    display: inline-block;
}

.nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--green-italian);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: calc(100vh - 40px);
    min-height: 640px;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 10;
    background: #0f1115; /* Fallback */
}

.hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 1;
    filter: contrast(0.75) saturate(0.75);
}

/* overlay with italian colors gradient */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: #0000007b;
    opacity: 0;
    transition: opacity 2s ease;
}

.hero.loaded::before {
    opacity: 1;
}

.hero-inner {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 24px;
    display: flex;
    align-items: center;
}

.hero-content {
    width: 50%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    opacity: 0;
    transition: opacity 2s ease;
}

.hero.loaded .hero-content {
    opacity: 1;
}

.hero h1 {

    font-size: clamp(28px, 4.5vw, 48px);
    line-height: 1.05;
    font-weight: 500;
    font-style: italic;
    letter-spacing: -0.02em;
    text-shadow: #0f1115 2px 2px 8px;
}

.hero p {
    color: rgba(255,255,255,0.9);   
    margin: 40px 0px;
    font-size: 18px;
    text-shadow: #0f1115 2px 2px 8px;
}

.btn {
    display: inline-block;
    padding: 5px 24px;
    background: rgba(0,0,0,0.85);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    font-size: 1.5rem;
    cursor: none;
}

.btn:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ============================================
   CARDS SECTION
   ============================================ */
.cards-section {
    background: white;
    position: relative;
    padding-bottom: 40px;
}

.cards-title {
    position: absolute; /* Sacamos el contenedor del flujo para que no empuje las cards */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Ocupa toda la sección para permitir el sticky interno */
    pointer-events: none;
    z-index: 10;
}

.cards-title h2 {
    position: sticky; /* El título se pega dentro de su contenedor absoluto */
    top: 60px;
    margin-left: 160px; /* Ajuste de posición horizontal */
    font-size: 72px;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
    color: var(--dark);
    text-shadow: 2px 2px 0px rgba(162, 162, 162, 0.5);
    padding-bottom: 470px;
}

.text-italia {
    background: linear-gradient(90deg, #009246 33%, #dcdcdc 33%, #dcdcdc 66%, #ce2b37 66%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.title-right {
    display: block;
    margin-left: 120px;
    font-style: italic;
    position: relative;
}


/* Contenedor Sticky */
.cards-container {
    position: relative;
    width: 100%;
    padding-top: 0px; /* Espacio visual para que las cards no tapen el título inmediatamente */
}

.cards-wrapper {
    position: relative;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column; 
}

.card {
    width: 50vw;   
    height: 100vh; /* Altura completa del viewport */
    border-radius: 0px;
    overflow: hidden;
    position: sticky; /* La magia del sticky */
    top: 0px; /* Se pegan a esta altura del viewport */
    cursor: none;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);

}

.italiana {
    margin-top: 40vh;
    margin-left: 0vw;
    z-index: 1;
}

.adicionales {
    margin-left: 50vw;
    margin-top: 20vh; /* Espacio vertical antes de aparecer */
    z-index: 3;
}



.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: all 2s ease;
}

.card:hover img {
    filter: brightness(0.7);
    transform: scale(1.1);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px   0px 80px 20px;
    color: white;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.card-content h3 {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 40px;
    font-family: 'Playfair Display', serif;
    text-shadow: #1a1a1a 2px 2px 8px;
}

.card-content p {
    font-size: 1.5rem;
    opacity: 0.9;
    line-height: 1.5;
    margin-bottom: 80px;
    text-shadow: #1a1a1a 2px 2px 8px;
}

.card-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.card-btn:hover {
    background: white;
    color: var(--dark);
    border-color: white;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -80px;  
    background-image: url('https://images.unsplash.com/photo-1529154036614-a60975f5c760?w=1600&q=80');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    color: white;
    padding: 80px 20px;
    z-index: 20;
}

.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for readability */
    z-index: 1;
}

.about-content {
    position: relative;
    max-width: 800px;
    z-index: 2;
}

.about-content h2 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    color: var(--green-italian);
    margin-bottom: 20px;    
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.about-content h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.about-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.whoButton{
    padding: 12px 28px;
    background: var(--green-italian);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: none;
    transition: background 0.3s ease;
    text-decoration: none;
}

.team-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.team-member img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--green-italian);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}


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

.team-member h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
body {
    cursor: none; /* Hide default cursor */
}


.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(90deg, #009246 33%, #ffffff 33%, #ffffff 66%, #ce2b37 66%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transition: width 0.2s, height 0.2s;

}

/* Hover effect for cursor */
body.hovering .custom-cursor {
    width: 40px;
    height: 40px;
    opacity: 1;
}

/* ============================================
   SERVICES DETAIL SECTION
   ============================================ */
.services-detail-section {
    padding: 40px 20px;
    background: white;
    text-align: center;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    margin-bottom: 20px;
}

.section-header p {
    font-size: 18px;
    color: #666;
}

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

.service-card {
    background: white;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: none;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--green-italian);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: bottom;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--green-italian);
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--green-italian);
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 100px;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

/* ============================================
   TESTIMONIALS & CONTACT SECTION
   ============================================ */
.testimonials-contact-section {
    padding: 40px 20px;
    background: white;
    overflow: hidden;
}

.container-split {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Testimonials Column */
.section-header-left {
    margin-bottom: 40px;
    text-align: left;
}

.section-header-left h2 {
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    margin-bottom: 10px;
}

.section-header-left p {
    font-size: 18px;
    color: #666;
}

.testimonial-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial-card {
    min-width: 100%;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 24px;
    text-align: left;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.quote {
    font-size: 20px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #444;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--green-italian), var(--red-italian));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: white;
}

.info h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--dark);
    font-weight: 700;
}

.info span {
    font-size: 14px;
    color: #888;
}

/* Contact Column */
.contact-card {
    background: white;
    padding: 50px;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.03);
}

.contact-card h3 {
    font-size: 32px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 30px;
    color: var(--dark);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.full-width, 
.submit-btn {
    grid-column: span 2;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background: #fcfcfc;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-italian);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 146, 70, 0.1);
}

.submit-btn {
    padding: 18px;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: none;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--green-italian);
    transform: translateY(-2px);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 120px 20px;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

details {
    padding: 20px 0;
    cursor: none;
}

summary {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
}

details p {
    margin-top: 15px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0f1115;
    color: white;
    padding: 20px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo.white {
    color: white;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    max-width: 300px;
}

.footer-links, .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255,255,255,0.6);
}

.socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.socials span {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: none;
    transition: background 0.3s ease;
}

.socials span:hover {
    background: var(--green-italian);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}

/* ============================================
RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .header {
        width: calc(100% - 40px);
        padding: 15px 25px;
        top: 10px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .nav a {
        font-size: 14px;
    }
    
    .hero-content {
        padding: 0 30px;
    }
    
    .hero-text h1 {
        font-size: 48px;
    }
    
    .cta-button {
        padding: 15px 40px;
        font-size: 16px;
    }
    
    
    .cards-title h2 {
        font-size: 40px;
    }
    
    .title-right {
        margin-left: 60px;
    }
    
    .cards-wrapper {
        padding: 0 20px;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .card {
        width: 100%;
        height: 400px;
    }

    .about-card {
        width: 100%;
        height: auto;
        padding: 40px;
    }
    
    .about-content h2 {
        font-size: 40px;
    }

    .process-steps {
        flex-direction: column;
        gap: 30px;
    }

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

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-links, .footer-contact {
        align-items: center;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .full-width, .submit-btn {
        grid-column: span 1;
    }
}

/* ============================================
   MOBILE (MAX-WIDTH: 480px)
   ============================================ */
@media (max-width: 480px) {
    /* Header */
    .header {
        width: calc(100% - 20px);
        padding: 10px 15px;
        top: 10px;
    }

    .header-content {
        justify-content: space-between;
    }

    .nav {
        display: flex;
        gap: 0;
    }

    .nav a {
        display: none;
    }

    .lang-switch {
        gap: 5px;
    }

    .lang-text {
        display: none;
    }

    .lang-flag {
        display: block;
        width: 32px; /* Un poco más grande para móvil */
    }

    .lang-btn {
        border: none;
        padding: 4px;
        background: transparent !important; /* Forzar transparencia */
    }
    
    .logo {
        font-size: 20px; /* Ajuste para que quepa bien */
    }

    /* Hero */
    .hero {
        min-height: 400px;
    }

    .hero-content {
        width: 100%;
        padding: 0 0px;
        text-align: center;
        align-items: center;
        gap: 40px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 22px;
    }
    .btn {
        font-size: 1.5rem;
        padding: 10px 30px;
    }

    /* Cards Section */
    .cards-title {
        margin-top: 20px;
        margin-bottom: 30px;
        text-align: center;
    }

    .cards-title h2 {
        margin-left: 0;
        font-size: 36px;
        padding-bottom: 450px;
        top: 40px;
    }

    .title-right {
        margin-left: 0;
        display: block;
    }

    .cards-container {
        padding-top: 20px;
    }

    .card {
        width: 100% !important;
        height: 500px !important; /* Altura fija para que la imagen cubra todo */
        margin-left: 0 !important;
        margin-top: 20px !important;
        position: sticky; /* Disable sticky on mobile */
        top: 20px;
        border-radius: 24px;
    }

    .italiana {
        margin-top: 100px !important;
    }
    .adicionales {
        margin-top: 20px !important;
    }

    .card-content {
        padding: 20px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .card-content h3 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    /* About Section */
    .about-section {
        min-height: 60vh;
        margin-top: 0;
        padding: 10px;
    }

    .about-card {
        width: 100%;
        height: auto;
        border-radius: 24px;
        padding: 10px 10px;
    }

    .about-card::before {
        width: 100%;
        height: 200px;
        top: auto;
        bottom: 0;
        opacity: 0.3;
        mask-image: linear-gradient(to top, black 0%, transparent 100%);
        -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
    }

    .about-content h2 {
        font-size: 24px;
    }

    .about-content h3 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .about-content p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    /* Services */
    .services-detail-section {
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 32px;
        word-wrap: break-word; /* Evita desbordes en palabras largas */
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%; /* Asegura que no exceda el contenedor */
    }

    .service-card {
        padding: 30px 20px;
        width: 100%; /* Asegura que no exceda el grid */
        position: sticky;
        top: 20px;
    }
    .custom-cursor{
        display: none;
    }

    /* Testimonials & Contact */
    .testimonials-contact-section {
        padding: 60px 20px;
    }

    .container-split {
        grid-template-columns: 1fr;
        gap: 40px;
        width: 100%;
    }

    .section-header-left h2 {
        font-size: 32px;
        word-wrap: break-word;
    }

    .testimonial-carousel {
        width: 100%;
        max-width: 90vw; /* Previene desbordes del slider */
    }

    .testimonial-card {
        padding: 20px;
        width: 100%;
    }

    .contact-card {
        padding: 30px 20px;
        width: 100%;
    }

    .contact-card h3 {
        font-size: 24px;
    }

    /* Footer */
    .footer {
        padding: 40px 20px;
    }

    .footer-content {
        gap: 30px;
    }
}

/* ============================================
   MAP & ANIMATIONS
   ============================================ */
.map-container {
    margin-top: 40px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.5s ease-out, transform 2.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items if needed, but JS observer handles individual entry well. 
   We can add specific delays for children if we want a cascade effect. */
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    cursor: none; /* Match custom cursor */
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
}

/* ============================================
   SLOGAN SECTION
   ============================================ */
.slogan-container {
    text-align: center;
    padding: 80px 20px;
    background: white;
}

.slogan-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    font-style: italic;
    background: linear-gradient(90deg, #009246 33%, #000000 33%, #000000 66%, #ce2b37 66%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   MAP FIXES
   ============================================ */
.map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    background: #f0f0f0; /* Provide a background while loading */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.slogan-flag {
    height: 0.8em;
    width: auto;
    vertical-align: middle;
    margin-left: 10px;
    display: inline-block;
}

.card-btn {
    text-decoration: none;
    display: inline-block;
}
