/* ==========================================================================
   KIDS R LOVED DAYCARE - MAIN STYLESHEET
   Soft Pastel Color Palette inspired by the logo
   ========================================================================== */

:root {
    /* Soft Pastel Palette inspired by Logo */
    --primary-mint: #82b39a;
    --primary-mint-dark: #63927b;
    --pastel-pink: #f8a8a3;
    --pastel-coral: #f17b70;
    --pastel-yellow: #f8d06b;
    --pastel-purple: #a18ab8;
    --pastel-blue: #a3c9e2;
    --pastel-bg: #fffcf8;
    --pastel-card-bg: #fbf6f0;
    
    /* Text Colors */
    --text-dark: #3a4740;
    --text-muted: #66756e;
    --text-light: #ffffff;

    /* Spacing & Borders */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 35px rgba(130, 179, 154, 0.15);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   PREVENCIÓN DE SCROLL HORIZONTAL Y RESET
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-dark);
    background-color: var(--pastel-bg);
    line-height: 1.6;
}

/* Base Elements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', cursive;
    color: var(--text-dark);
    font-weight: 600;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.text-pink { color: var(--pastel-coral); }
.text-yellow { color: #d89614; }

/* Buttons & Badges */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    font-family: 'Fredoka', cursive;
    font-size: 1.05rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-mint);
    color: white;
    box-shadow: 0 6px 18px rgba(130, 179, 154, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-mint-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(130, 179, 154, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--text-dark);
    border: 2px solid #e0eae5;
}

.btn-secondary:hover {
    background-color: #f2f7f4;
    border-color: var(--primary-mint);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1.15rem;
}

.btn-block {
    width: 100%;
}

.btn-whatsapp-submit {
    background-color: #25D366;
    color: white;
    font-size: 1.1rem;
    padding: 14px 20px;
}

.btn-whatsapp-submit:hover {
    background-color: #1eb757;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(130, 179, 154, 0.15);
    color: var(--primary-mint-dark);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-mint-dark);
    font-family: 'Fredoka', cursive;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.section-tag.light {
    color: var(--pastel-yellow);
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
    background-color: var(--pastel-pink);
    color: white;
    font-size: 0.85rem;
    padding: 8px 0;
}

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

.top-info {
    display: flex;
    gap: 20px;
}

.top-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-social {
    display: flex;
    gap: 12px;
}

.top-social a {
    color: white;
    font-size: 1rem;
}

.top-social a:hover {
    color: var(--pastel-yellow);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.header {
    background: rgba(255, 252, 248, 0.95);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 10px 0;
}

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

/* Logo circular que sobresale del header */
.site-logo {
    height: 130px;                  /* Incrementamos un poco el tamaño */
    width: 130px;                   /* Mismo ancho para hacer un círculo perfecto */
    object-fit: contain;
    background-color: var(--pastel-bg); /* Fondo acorde a la paleta */
    border-radius: 50%;            /* Lo convierte en círculo */
    padding: 10px;                 /* Espacio interno para que no pegue a los bordes */
    border: 0px solid var(--primary-mint); /* Borde decorativo */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); /* Sombra para dar efecto flotante */
    margin-bottom: -40px;          /* Hace que sobresalga hacia abajo del header */
    position: relative;
    z-index: 10;
    transition: var(--transition);
}

.site-logo:hover {
    transform: scale(1.05);        /* Micro-interacción al pasar el cursor */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-family: 'Fredoka', cursive;
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--pastel-coral);
    border-radius: 3px;
    transition: var(--transition);
}

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

.nav-cta-mobile {
    display: none;
}

/* Hamburger Menu Icon */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    padding: 70px 0;
    background: linear-gradient(180deg, rgba(255,252,248,1) 0%, rgba(248,232,228,0.3) 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
}

.hero-text h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.25;
    margin-bottom: 18px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero-text h1 span {
    color: var(--pastel-coral);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.h-badge {
    background-color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    gap: 6px;
}

.h-badge i {
    color: var(--primary-mint);
}

/* Hero Image & Floating elements */
.hero-image-wrapper {
    position: relative;
    text-align: center;
    width: 100%;
}

.image-frame {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.hero-img-main {
    width: 100%;
    max-width: 380px;
    height: 380px;                 /* Para asegurar proporción 1:1 */
    object-fit: contain;
    border-radius: 50%;            /* Marco circular */
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    background: white;
    padding: 25px;
    margin: 0 auto;
    display: block;
    border: 4px dashed var(--pastel-pink); /* Borde festivo opcional */
}

.floating-card {
    position: absolute;
    background: white;
    padding: 12px 18px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.floating-card i {
    font-size: 1.6rem;
}

.card-1 {
    top: 20px;
    left: -20px;
}

.card-2 {
    bottom: 30px;
    right: -20px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Animated shapes */
.hero-bg-shapes .shape {
    position: absolute;
    opacity: 0.25;
    color: var(--primary-mint);
    animation: spinSlow 20s linear infinite;
    pointer-events: none;
}

.shape.cloud-1 { top: 10%; left: 3%; font-size: 3rem; color: var(--pastel-blue); }
.shape.cloud-2 { bottom: 15%; left: 45%; font-size: 4rem; color: var(--pastel-purple); }
.shape.sun { top: 8%; right: 5%; font-size: 4rem; color: var(--pastel-yellow); opacity: 0.4; }
.shape.star-1 { top: 50%; left: 2%; font-size: 1.8rem; color: var(--pastel-coral); }
.shape.star-2 { bottom: 10%; right: 5%; font-size: 2rem; color: var(--pastel-pink); }

/* ==========================================================================
   STATS / HIGHLIGHTS RIBBON
   ========================================================================== */
.stats-ribbon {
    background-color: var(--primary-mint);
    color: white;
    padding: 35px 0;
}

.ribbon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

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

.ribbon-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.ribbon-text h3 {
    color: white;
    font-size: 1.2rem;
}

.ribbon-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
    padding: 90px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.about-main-box {
    background-color: var(--pastel-card-bg);
    border: 2px dashed var(--primary-mint);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.feature-big-icon {
    font-size: 3.5rem;
    color: var(--pastel-coral);
    margin-bottom: 15px;
}

.about-content-side h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.3rem);
    margin-bottom: 15px;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.about-content-side p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.value-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.v-bullet {
    background: white;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 4px solid var(--primary-mint);
}

.v-bullet i {
    color: var(--primary-mint);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services {
    padding: 90px 0;
    background-color: #f7f9f8;
}

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

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid #edf2ef;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: white;
}

.bg-pink { background-color: var(--pastel-pink); }
.bg-blue { background-color: var(--pastel-blue); }
.bg-green { background-color: var(--primary-mint); }
.bg-yellow { background-color: var(--pastel-yellow); }
.bg-orange { background-color: var(--pastel-coral); }
.bg-purple { background-color: var(--pastel-purple); }
.bg-teal { background-color: #62c2b3; }

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-us {
    padding: 90px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.why-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.3rem);
    margin-bottom: 15px;
}

.why-text > p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.f-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background-color: rgba(130, 179, 154, 0.15);
    color: var(--primary-mint-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.quote-card {
    background: linear-gradient(135deg, var(--pastel-pink) 0%, var(--pastel-purple) 100%);
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    position: relative;
}

.stars {
    color: var(--pastel-yellow);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.quote-body {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 25px;
    font-family: 'Quicksand', sans-serif;
}

.quote-author strong {
    display: block;
    font-family: 'Fredoka', cursive;
    font-size: 1.1rem;
}

.quote-author span {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ==========================================================================
   CONTACT & FORM SECTION
   ========================================================================== */
.contact-section {
    padding: 90px 0;
    background-color: var(--text-dark);
    color: white;
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-side h2 {
    color: white;
    font-size: clamp(1.8rem, 3.5vw, 2.3rem);
    margin-bottom: 15px;
}

.contact-info-side p {
    color: #b0c0b7;
    margin-bottom: 30px;
}

.c-info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.c-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pastel-yellow);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.c-info-card strong {
    display: block;
    font-size: 0.9rem;
    color: #c5d4cd;
}

.c-info-card p, .c-info-card a {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.c-social {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.c-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.c-social a:hover {
    background: var(--primary-mint);
}

.contact-form-side {
    background: white;
    color: var(--text-dark);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.form-header {
    margin-bottom: 25px;
}

.form-header h3 {
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.inquiry-form .form-group {
    margin-bottom: 18px;
}

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

.inquiry-form label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.inquiry-form label i {
    color: var(--primary-mint);
    margin-right: 4px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8e4;
    border-radius: var(--radius-sm);
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-mint);
    box-shadow: 0 0 0 3px rgba(130, 179, 154, 0.2);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a4740' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #2b3631;
    color: white;
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 60px;
    width: auto;
    background: white;
    padding: 6px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #9eb0a7;
    font-size: 0.9rem;
}

.footer h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #9eb0a7;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--pastel-yellow);
    padding-left: 5px;
}

.footer-contact p {
    color: #9eb0a7;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact p i {
    color: var(--primary-mint);
}

.footer-bottom {
    background-color: #202925;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #7b8f85;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulseGlow 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1eb757;
}

.float-tooltip {
    position: absolute;
    right: 70px;
    background-color: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-float:hover .float-tooltip {
    opacity: 1;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Pulse button animation */
.pulse-btn {
    animation: btnPulse 3s infinite;
}

@keyframes btnPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .desktop-only { display: none !important; }
    
    .hamburger-menu { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition);
        z-index: 1050;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 30px;
    }

    .nav-cta-mobile {
        display: block;
        width: 100%;
    }

    .hero-grid,
    .about-grid,
    .why-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-buttons, .hero-badges {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 92%;
    }

    .site-logo {
        height: 100px;
        width: 100px;
        padding: 6px;
        margin-bottom: -35px; /* Sobresale de forma proporcional en celular */
    }

    .top-bar {
        
        background-color: var(--pastel-pink); /* Fondo crema claro inspirado en el logo */
        color: var(--text-dark);
        padding: 10px 0;
    }

    .top-bar a, 
    .top-bar-content {
        color:white;
    }

    
    .top-info {
        flex-direction: column;
        gap: 6px;
        align-items: left;
        text-align: left;
    }

    .top-info span {
        font-size: 0.82rem;
        line-height: 1.3;
        justify-content: left;
    }
    
    .hero {
        padding: 40px 0;
    }

    .hero-text h1 {
        font-size: 1.85rem;
    }

    .hero-img-main {
        max-width: 100%;
        padding: 12px;
    }

    .form-row, .value-bullets {
        grid-template-columns: 1fr;
    }

    /* Corrección de tarjetas flotantes para evitar desbordamiento lateral */
    .card-1, .card-2 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 12px auto;
        display: inline-flex;
        width: fit-content;
    }

    .contact-form-side {
        padding: 22px;
    }

    .about-main-box {
        padding: 22px;
    }
}
/* Botón de cierre dentro del menú móvil */
.close-menu {
    display: none;
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
}

@media (max-width: 992px) {
    .close-menu {
        display: block; /* Visible solo en móviles/tablets */
    }
}

/* Fondo oscuro tapiz al abrir el menú */
/* Overlay oscuro independiente */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040; /* Queda debajo del menú */
    opacity: 0;
    pointer-events: none; /* No interfiere cuando está oculto */
    transition: opacity 0.3s ease;
}

/* Estado activo del overlay */
.menu-overlay.active {
    opacity: 1;
    pointer-events: auto; /* Permite clics cuando está activo */
}

/* El menú debe asegurar un z-index superior */
.nav-menu {
    z-index: 1050; /* Superior al overlay (1040) */
}
/* Developer link in footer */
.developer-link {
    color: var(--pastel-yellow);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.developer-link:hover {
    color: var(--primary-mint);
    text-decoration: underline;
}

/* Prevenir desalineación en animaciones con anclas */
#tour-form {
    scroll-margin-top: 100px; /* Evita que la barra fija tape la parte superior del formulario */
}

@media (max-width: 992px) {
    /* Desactiva desplazamientos laterales en la entrada para móviles */
    .fade-in-right, 
    .fade-in-left {
        transform: none !important;
        opacity: 1 !important;
    }
}