:root {
    /* Logo Primary Colors */
    --primary-green: #5BC561;
    --primary-pink: #FF6BA6;
    --primary-orange: #FF9E5E;
    --primary-yellow: #FFE066;
    --primary-blue: #7DD3FF;
    --primary-purple: #B794F6;
    
    /* Pastel Variations for Backgrounds */
    --pastel-green: #E8F8E9;
    --pastel-pink: #FFE9F3;
    --pastel-orange: #FFF4EC;
    --pastel-yellow: #FFFBE6;
    --pastel-blue: #EBF8FF;
    --pastel-purple: #F3EFFF;
    
    /* Text Colors */
    --text-dark: #2D3748;
    --text-light: #718096;
    --bg-light: #FAFBFC;
    --white: #FFFFFF;
    
    /* Shadows with colored tints */
    --shadow: 0 2px 8px rgba(255, 107, 166, 0.1);
    --shadow-md: 0 4px 12px rgba(255, 107, 166, 0.12);
    --shadow-lg: 0 8px 24px rgba(255, 107, 166, 0.15);
    --shadow-xl: 0 12px 36px rgba(255, 107, 166, 0.18);
    
    /* N8N Chat Custom Theme - Pastel Colors */
    --chat--color-primary: #FF6BA6;
    --chat--color-primary-shade-50: #FF8FBD;
    --chat--color-primary-shade-100: #FF4583;
    --chat--color-secondary: #5BC561;
    --chat--color-secondary-shade-50: #6DD073;
    --chat--color-white: #ffffff;
    --chat--color-light: #FFFBE6;
    --chat--color-light-shade-50: #FFF4EC;
    --chat--color-light-shade-100: #FFE9F3;
    --chat--color-medium: #EBF8FF;
    --chat--color-dark: #2D3748;
    --chat--color-disabled: #E6E9F1;
    --chat--color-typing: #FFE066;

    --chat--spacing: 1rem;
    --chat--border-radius: 1rem;
    --chat--transition-duration: 0.3s;

    --chat--window--width: 400px;
    --chat--window--height: 600px;

    --chat--header-height: auto;
    --chat--header--padding: 1.2rem;
    --chat--header--background: linear-gradient(135deg, #EBF8FF, #FFE9F3);
    --chat--header--color: #2D3748;
    --chat--header--border-top: none;
    --chat--header--border-bottom: 2px solid #7DD3FF;
    --chat--heading--font-size: 1.5em;
    --chat--subtitle--font-size: 0.9em;
    --chat--subtitle--line-height: 1.4;

    --chat--textarea--height: 50px;

    --chat--message--font-size: 0.95rem;
    --chat--message--padding: 0.8rem 1rem;
    --chat--message--border-radius: 1rem;
    --chat--message-line-height: 1.6;
    --chat--message--bot--background: #E8F8E9;
    --chat--message--bot--color: #2D3748;
    --chat--message--bot--border: 2px solid #5BC561;
    --chat--message--user--background: #FFE9F3;
    --chat--message--user--color: #2D3748;
    --chat--message--user--border: 2px solid #FF6BA6;
    --chat--message--pre--background: rgba(123, 211, 255, 0.1);

    --chat--toggle--background: linear-gradient(135deg, #FF6BA6, #5BC561);
    --chat--toggle--hover--background: linear-gradient(135deg, #FF4583, #4AB150);
    --chat--toggle--active--background: linear-gradient(135deg, #FF8FBD, #6DD073);
    --chat--toggle--color: #ffffff;
    --chat--toggle--size: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Baloo 2', 'Nunito', 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(135deg, var(--pastel-pink) 0%, var(--pastel-yellow) 25%, var(--pastel-blue) 50%, var(--pastel-green) 75%, var(--pastel-orange) 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    max-height: 100px;
    height: 100px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: block;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #0a0a0a;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-pink), var(--primary-green));
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--pastel-blue) 0%, var(--pastel-pink) 50%, var(--pastel-yellow) 100%);
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    z-index: 0;
}

.geometric-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.15;
    filter: none;
}

.shape-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid var(--primary-yellow);
    background: transparent;
    top: 5%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
    transform: rotate(25deg);
}

.shape-2 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 85px solid var(--primary-pink);
    background: transparent;
    transform: rotate(-15deg);
    bottom: 15%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.shape-3 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid var(--primary-green);
    background: transparent;
    top: 50%;
    right: 10%;
    animation: float 7s ease-in-out infinite;
}

.shape-4 {
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-bottom: 78px solid var(--primary-orange);
    background: transparent;
    bottom: 20%;
    left: 20%;
    animation: float 9s ease-in-out infinite;
    transform: rotate(45deg);
}

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

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    color: var(--white);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    text-align: left;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.95);
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
    animation: fadeInUp 0.8s ease;
    line-height: 1.1;
    color: #2c3e50;
    text-shadow: none;
    letter-spacing: -1px;
    font-family: 'Baloo 2', 'Nunito', sans-serif;
}

.highlight {
    background: linear-gradient(90deg, var(--primary-pink), var(--primary-green));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    filter: brightness(1.1) contrast(1.2);
    text-shadow: none;
}

.hero-subtitle {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 1;
    animation: fadeInUp 1s ease;
    color: #5a6c7d;
    text-shadow: none;
    letter-spacing: 0px;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
}

.btn {
    padding: 14px 36px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(91, 197, 97, 0.3);
}

.btn-large {
    padding: 20px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(91, 197, 97, 0.4);
    background: #4AB150;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-pink);
    border-color: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.hero-image {
    animation: fadeIn 1.5s ease;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    display: block;
}

/* Modalidades Section */
.modalidades {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff5f5 0%, #f0feff 100%);
}

.modalidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.modalidad-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modalidad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.modalidad-card:hover::before {
    opacity: 0.05;
}

.modalidad-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.modalidad-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.modalidad-icon svg {
    color: var(--primary-pink);
    transition: transform 0.3s ease;
}

.modalidad-card:hover .modalidad-icon svg {
    transform: scale(1.1);
}

.modalidad-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: 'Baloo 2', 'Nunito', sans-serif;
    position: relative;
    z-index: 1;
}

.modalidad-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Services Preview Section */
.services-preview {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--pastel-blue) 0%, var(--pastel-green) 100%);
}

.age-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.age-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.age-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-pink), var(--primary-blue));
}

.age-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.age-card.featured {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.age-card.featured::before {
    height: 6px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-orange));
}

.age-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.age-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-orange));
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.age-icon {
    font-size: 2.5rem;
}

.age-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Baloo 2', 'Nunito', sans-serif;
}

.benefits-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.benefits-list li {
    padding: 0.5rem 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.card-link {
    display: inline-block;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: var(--primary-pink);
    transform: translateX(5px);
}

/* About Section */
.about {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(135deg, var(--pastel-pink) 0%, var(--pastel-yellow) 100%);
}

.about-logo-container {
    margin-bottom: 2rem;
}

.about-logo {
    max-width: 480px;
    width: 100%;
    height: auto;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-logo:hover {
    transform: scale(1.02);
}

.diagonal-bg {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--white);
    transform: skewY(-3deg);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    font-family: 'Baloo 2', 'Nunito', sans-serif;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-green));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    width: 100%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content {
    animation: fadeInLeft 0.8s ease;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-image {
    position: relative;
    animation: fadeInRight 0.8s ease;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

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

.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    padding: 10px 20px;
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCB045);
    color: var(--white);
    text-decoration: none;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.instagram-btn:hover {
    transform: translateY(-3px);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--pastel-orange) 0%, var(--pastel-pink) 100%);
    position: relative;
}

.features::before,
.features::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0.1;
}

.features::before {
    top: 10%;
    left: 2%;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid var(--primary-pink);
    transform: rotate(-25deg);
}

.features::after {
    bottom: 10%;
    right: 3%;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 105px solid var(--primary-green);
    transform: rotate(35deg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-pink), var(--primary-blue), var(--primary-green));
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--primary-pink);
    border-radius: 50%;
    animation: rotate 3s linear infinite;
}

.icon-triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid var(--primary-yellow);
    animation: bounce 2s ease-in-out infinite;
}

.icon-square {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    transform: rotate(45deg);
    animation: rotate 4s linear infinite reverse;
}

.icon-hexagon {
    width: 60px;
    height: 30px;
    background: var(--primary-green);
    position: relative;
}

.icon-hexagon::before,
.icon-hexagon::after {
    content: '';
    position: absolute;
    width: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
}

.icon-hexagon::before {
    bottom: 100%;
    border-bottom: 17px solid var(--primary-green);
}

.icon-hexagon::after {
    top: 100%;
    border-top: 17px solid var(--primary-green);
}

.icon-star {
    width: 60px;
    height: 60px;
    background: var(--primary-orange);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: spin 5s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: 'Baloo 2', 'Nunito', sans-serif;
    font-weight: 600;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.service-header {
    padding: 3rem 2rem;
    text-align: center;
    color: var(--white);
}

.service-icon {
    font-size: 3rem;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.languages-list {
    list-style: none;
    padding: 0;
}

.languages-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: var(--white);
}

/* Nuestro Espacio Section */
.espacio {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: -1.5rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

.espacio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.espacio-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.espacio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.espacio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.espacio-item:hover img {
    transform: scale(1.1);
}

.espacio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.espacio-item:hover .espacio-overlay {
    transform: translateY(0);
}

.espacio-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Baloo 2', 'Nunito', sans-serif;
}

.espacio-overlay p {
    font-size: 1rem;
    line-height: 1.4;
    opacity: 0.9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Bigger images for team section */
.gallery-grid--team {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-grid--team .gallery-item {
    aspect-ratio: 3/4;
}

.gallery-grid--team .gallery-item img {
    height: 400px;
    object-fit: cover;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 20px;
    background: rgba(255, 107, 157, 0.9);
    border-radius: 25px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.contact .section-title {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container,
.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-form-container h3,
.contact-info h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.btn-block {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-blue));
    color: var(--white);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Loading button styles */
#submit-btn {
    position: relative;
    min-height: 48px;
    transition: all 0.3s ease;
}

#submit-btn.loading {
    opacity: 0.8;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-loading.visible {
    display: block;
}

.spinner {
    animation: rotate 1s linear infinite;
}

.spinner .path {
    stroke: white;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Form message styles */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: none;
}

.form-message.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    background: linear-gradient(135deg, #4CAF50, #43e97b);
    color: white;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

.form-message.error {
    background: linear-gradient(135deg, #f44336, #e91e63);
    color: white;
    box-shadow: 0 4px 10px rgba(244, 67, 54, 0.3);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-pink);
}

.info-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--primary-pink);
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    border-radius: 10px;
}

.lightbox-caption {
    color: white;
    font-size: 1.2rem;
    text-align: center;
    padding: 15px;
    margin-top: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-pink) 50%, var(--primary-orange) 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.05;
}

.footer-shape {
    position: absolute;
}

.footer-shape-1 {
    width: 150px;
    height: 150px;
    background: var(--primary-pink);
    border-radius: 50%;
    top: -75px;
    left: 10%;
}

.footer-shape-2 {
    width: 100px;
    height: 100px;
    background: var(--primary-yellow);
    transform: rotate(45deg);
    bottom: 50px;
    right: 15%;
}

.footer-shape-3 {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 50%;
    left: 50%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    background: white;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.footer h3,
.footer h4 {
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 1;
}

.social-icon {
    display: inline-block;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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


/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 6px;  /* Reduced padding */
    z-index: 999;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.mobile-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;  /* Reduced gap */
    padding: 4px 12px;  /* Further reduced padding */
    background: transparent;
    border: none;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.7rem;  /* Even smaller font */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;  /* Slightly smaller radius */
}

.mobile-nav-btn.mobile-nav-primary {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-green));
    color: white;
    width: 100%;
    max-width: 200px;  /* Further reduced max width */
    margin: 0 auto;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(255, 107, 166, 0.25);
    padding: 6px 10px;  /* Smaller padding */
    border-radius: 20px;
}

.mobile-nav-btn:hover {
    transform: translateY(-2px);
}

.mobile-nav-btn svg {
    width: 18px;  /* Even smaller icon */
    height: 18px;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    /* Team gallery - 2 columns on tablets */
    .gallery-grid--team {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .gallery-grid--team .gallery-item img {
        height: 350px;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-menu a:focus,
.instagram-btn:focus,
.social-icon:focus,
.mobile-nav-btn:focus {
    outline: 3px solid #4A90E2;
    outline-offset: 2px;
}

input:focus,
textarea:focus {
    outline: 3px solid #4A90E2;
    outline-offset: 0;
}

/* Enhanced Button Focus States */
.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

.btn-primary:focus {
    outline: 3px solid var(--primary-pink);
    outline-offset: 2px;
}

.btn-secondary:focus {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Additional Hover Effects */
.nav-menu a:hover {
    color: var(--primary-pink);
}

.instagram-btn {
    box-shadow: 0 4px 12px rgba(131, 58, 180, 0.3);
}

.instagram-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(131, 58, 180, 0.4);
}

/* Input Field Improvements */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

/* Section Dividers */
.section-divider {
    display: block;
    width: 100%;
    height: auto;
    margin: -1px 0;
    position: relative;
    z-index: 1;
}

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

/* Trust Badges in Hero */
.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.1s ease;
}

.trust-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #4CAF50, #45B049);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

/* Enhanced CTA Buttons */
.btn-cta-primary {
    background: linear-gradient(135deg, #4CAF50, #45B049);
    color: white;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.5);
    background: linear-gradient(135deg, #45B049, #4CAF50);
}

.btn-cta-secondary {
    background: var(--primary-pink);
    color: var(--white);
    border: 2px solid var(--primary-pink);
    box-shadow: 0 4px 15px rgba(255, 107, 166, 0.3);
    font-weight: 700;
}

.btn-cta-secondary:hover {
    background: #FF4583;
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 166, 0.5);
}

/* Pulse Animation for Primary CTA */
.pulse-animation {
    animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
    0% {
        box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(76, 175, 80, 0.6);
    }
    100% {
        box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    padding: 2rem;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.stars {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.testimonial-author strong {
    color: #2c3e50;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    background: #bdc3c7;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #667eea;
    transform: scale(1.3);
}

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(135deg, #ff9a00 0%, #ff6b00 100%);
    padding: 20px 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(255, 154, 0, 0.3);
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.urgency-icon {
    font-size: 2rem;
    animation: flash 1s ease-in-out infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.urgency-content p {
    color: white;
    font-size: 1.1rem;
    margin: 0;
}

.btn-urgency {
    background: var(--primary-green);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(91, 197, 97, 0.3);
}

.btn-urgency:hover {
    transform: scale(1.05) translateY(-2px);
    background: #4AB150;
    box-shadow: 0 6px 20px rgba(91, 197, 97, 0.4);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.faq-icon {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #f8f9fa;
}

.faq-answer.active {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-answer p {
    color: #5a6c7d;
    line-height: 1.8;
    margin: 0;
}

/* Service Header Gradient Colors */
.service-header--violet {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-header--pink {
    background: linear-gradient(135deg, #FF6B9D 0%, #FF1493 100%);
}

.service-header--blue {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.service-header--green {
    background: linear-gradient(135deg, #4CAF50 0%, #45B049 100%);
}

.service-header--coral {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

/* Responsive Design - Tablet */
@media (max-width: 992px) {
    .age-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        gap: 1rem;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    /* Hero CTA button spacing fix */
    .hero-buttons {
        margin-top: 1.5rem;
    }
    
    .hero-text .btn-cta-secondary {
        margin-top: 0.5rem;
        border-top: 2px solid var(--primary-pink);
    }
    
    /* Modalidades responsive */
    .modalidades-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .modalidad-card {
        padding: 1.5rem;
    }
    
    .modalidad-icon {
        width: 60px;
        height: 60px;
    }
    
    .modalidad-card h3 {
        font-size: 1.2rem;
    }
    
    .modalidad-card p {
        font-size: 0.9rem;
    }
    
    /* Nuestro Espacio responsive */
    .espacio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .espacio-item {
        border-radius: 15px;
    }
    
    .espacio-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.7));
    }
    
    .espacio-overlay h3 {
        font-size: 1.2rem;
    }
    
    .espacio-overlay p {
        font-size: 0.9rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
        color: #2c3e50;
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 3vw, 1.4rem);
        color: #5a6c7d;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 15px;
    }
    
    .hero-text {
        text-align: center;
        padding: 2rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 2rem;
        padding: 0 15px;
    }
    
    .hero-image img {
        max-height: 350px;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-content p {
        text-align: left;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-grid--team {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-grid--team .gallery-item img {
        height: 300px;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Show mobile bottom navigation */
    .mobile-bottom-nav {
        display: flex;
    }
    
    /* Adjust padding for fixed bottom nav */
    body {
        padding-bottom: 60px;  /* Reduced for smaller nav */
    }
    
    /* Hero trust badges */
    .hero-trust-badges {
        justify-content: center;
    }
    
    .trust-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    /* Age cards */
    .age-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .age-card {
        margin-bottom: 0;
    }
    
    .age-card.featured {
        transform: scale(1);
    }
    
    /* FAQ items */
    .faq-question {
        font-size: 1rem;
        padding: 1.2rem;
    }
    
    /* Urgency banner */
    .urgency-content {
        text-align: center;
        padding: 0 1rem;
    }
    
    .urgency-content p {
        font-size: 0.95rem;
    }
    
    /* Testimonials */
    .testimonial-content {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn-large {
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    /* Section titles */
    .section-title {
        font-size: 2rem;
        padding: 0 15px;
    }
    
    /* Section spacing */
    .hero {
        padding: 110px 0 40px;
        min-height: auto;
    }
    
    .services-preview,
    .about,
    .features,
    .services,
    .testimonials,
    .faq,
    .gallery,
    .contact {
        padding: 60px 0;
    }
    
    /* Container padding adjustment */
    .container {
        padding: 0 15px;
    }
    
    /* Feature and service card adjustments */
    .feature-card,
    .service-card {
        padding: 1.5rem;
    }
    
    /* Contact form adjustments */
    .contact-form-container,
    .contact-info {
        padding: 2rem 1.5rem;
    }
    
    /* Footer adjustments */
    .footer-logo {
        max-width: 150px;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    /* About section image adjustments */
    .about-logo-container {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .about-logo {
        max-width: 360px;
        margin: 0 auto;
        padding: 25px;
        display: block;
    }
    
    .about-image {
        margin-top: 2rem;
    }
    
    .image-decoration {
        width: 60px;
        height: 60px;
        top: -10px;
        right: -10px;
    }
    
    /* Testimonial adjustments */
    .testimonial-card {
        min-height: auto;
    }
    
    /* Urgency banner on mobile */
    .urgency-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .urgency-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .hero {
        padding: 120px 0 40px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        color: #2c3e50;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        color: #5a6c7d;
    }
    
    .hero-text {
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(255, 255, 255, 1);
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        padding: 12px 24px;
    }
    
    .btn-large {
        padding: 16px 28px;
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .urgency-banner {
        position: relative;
        top: 0;
    }
    
    /* Navigation adjustments */
    .brand-text {
        font-size: 1.25rem;
    }
    
    /* Feature icon adjustments */
    .feature-icon > div {
        width: 50px;
        height: 50px;
    }
    
    /* Service card adjustments */
    .service-header {
        height: 120px;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    /* Age card adjustments */
    .age-icon {
        font-size: 2rem;
    }
    
    .age-badge {
        font-size: 0.85rem;
        padding: 5px 12px;
    }
    
    /* FAQ adjustments */
    .faq-question {
        font-size: 0.95rem;
        padding: 1rem;
    }
    
    /* Gallery adjustments */
    .gallery-item img {
        height: 180px;
    }
    
    /* Form adjustments */
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    /* Footer adjustments */
    .footer-content h4 {
        font-size: 1.1rem;
    }
    
    .footer-content p,
    .footer-content ul li {
        font-size: 0.9rem;
    }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap targets for mobile */
    .btn {
        min-height: 48px;
    }
    
    .nav-menu a {
        padding: 12px;
    }
    
    .faq-question {
        min-height: 60px;
    }
    
    /* Remove hover effects on touch devices */
    .service-card:hover,
    .feature-card:hover,
    .age-card:hover {
        transform: none;
    }
    
    /* Improve touch scrolling */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;  /* Changed from right to left */
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 166, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    transform: translateY(20px);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 166, 0.5);
}

.back-to-top:active {
    transform: translateY(-1px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Responsive adjustments for back to top button */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 70px; /* Above mobile bottom nav */
        left: 20px;  /* Changed from right to left */
        width: 45px;
        height: 45px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 70px 0 40px;
    }
    
    .hero-text {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-image img {
        max-height: 250px;
    }
}