/* CSS Variables */
:root {
    --primary-color: #5865F2;
    --primary-gradient: linear-gradient(135deg, #5865F2 0%, #7C3AED 100%);
    --secondary-color: #7C3AED;
    --accent-green: #10B981;
    --accent-red: #EF4444;
    --accent-orange: #F59E0B;
    --accent-pink: #EC4899;
    --accent-blue: #3B82F6;
    --accent-cyan: #06B6D4;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --layout-max-width: 1200px;
    --layout-gutter: 20px;
    --section-padding-y: 80px;
    --section-padding-y-lg: 120px;
    --layout-grid-gap: 32px;
    --layout-grid-columns: 2;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

body.menu-open {
    overflow: hidden;
}


.container {
    width: min(100%, var(--layout-max-width));
    margin: 0 auto;
    padding: 0 var(--layout-gutter);
}

.page-wrapper {
    min-height: 100vh;
    background-color: var(--bg-white);
}

.section {
    padding: var(--section-padding-y) 0;
}

.section-condensed {
    padding: calc(var(--section-padding-y) * 0.75) 0;
}

.section-expanded {
    padding: var(--section-padding-y-lg) 0;
}

.section-light {
    background-color: var(--bg-light);
}

.section-dark {
    color: white;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.84) 100%);
}

.section-dark .section-title,
.section-dark .section-subtitle {
    -webkit-text-fill-color: initial;
    color: inherit;
    background: none;
}

.layout-grid {
    display: grid;
    gap: var(--layout-grid-gap);
    grid-template-columns: repeat(var(--layout-grid-columns), minmax(0, 1fr));
}

.layout-grid.layout-grid--single {
    grid-template-columns: 1fr;
}

.layout-grid.layout-grid--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.layout-stack {
    display: flex;
    flex-direction: column;
    gap: var(--layout-grid-gap);
}

@media (max-width: 991px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }

    .layout-grid.layout-grid--triple {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .section,
    .section-condensed,
    .section-expanded {
        padding: 56px 0;
    }

    .layout-grid.layout-grid--triple {
        grid-template-columns: 1fr;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    gap: 8px;
}

.btn-icon {
    font-size: 1.2rem;
    line-height: 1;
}
 
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.6);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Top Bar */
.top-bar {
    background: var(--primary-gradient);
    color: white;
    padding: 8px 0;
    font-size: 0.875rem;
}

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

.top-bar-text {
    font-weight: 500;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 640px) {
    .top-bar {
        padding: 6px 0;
    }

    .top-bar-content {
        justify-content: center;
        gap: 0.75rem;
    }

    .top-bar-text {
        display: none;
    }

    .top-bar-actions {
        width: 100%;
        justify-content: center;
        gap: 0.75rem;
    }

    .btn-top-cta {
        flex: 1;
        padding: 8px 12px;
        font-size: 0.8125rem;
        text-align: center;
    }

    .top-phone {
        font-size: 0.875rem;
        white-space: nowrap;
    }
}

.btn-top-cta {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-top-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.top-phone {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.top-phone:hover {
    opacity: 0.8;
}

/* Main Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Ensure logo link has no underline and inherits color */
.logo,
.logo * {
    text-decoration: none;
}
.logo {
    text-decoration: none;
}
.logo {
    color: inherit;
}

.logo-icon {
    font-size: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-title {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.logo-subtitle {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.nav {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
}

/* Цветные блоки для навигации */
.nav-programs { background: var(--accent-green); }
.nav-services { background: var(--accent-blue); }
.nav-process { background: var(--accent-orange); }
.nav-about { background: var(--accent-pink); }
.nav-studio { background: var(--accent-cyan); }
.nav-pricing { background: var(--accent-red); }
.nav-faq { background: var(--secondary-color); }
.nav-contacts { background: var(--accent-red); }

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #667eea;
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #4a5568;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23667eea" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23764ba2" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas:
        "title image"
        "description image"
        "features image"
        "actions image";
    gap: 2.5rem;
    align-items: center;
    justify-items: start;
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.hero-title {
    grid-area: title;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    /* margin-bottom: 1.5rem; */
    margin-top: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    grid-area: description;
    font-size: 1.25rem;
    color: #4a5568;
    /* margin-bottom: 2rem; */
    line-height: 1.6;
}

.hero-title,
.hero-description,
.hero-actions {
    max-width: 540px;
}

.hero-features {
    grid-area: features;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    /* margin-bottom: 2.5rem;   */
    max-width: 540px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

.hero-actions {
    grid-area: actions;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 540px;
}

.hero-image {
    grid-area: image;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: -15% 10% -20% 5%;
    background: radial-gradient(circle at 20% 20%, rgba(255, 172, 120, 0.45), transparent 65%),
                radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.25), transparent 70%);
    filter: blur(30px);
    z-index: 0;
}

.hero-image-surface {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 243, 232, 0.92) 0%, rgba(239, 246, 255, 0.95) 100%);
    border-radius: 36px;
    padding: 0;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(255, 183, 135, 0.35);
    overflow: hidden;
    max-width: 520px;
    width: 100%;
    aspect-ratio: 4 / 5;
}

.hero-image-surface::after {
    content: '';
    position: absolute;
    top: -35%;
    right: -30%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 164, 101, 0.35) 0%, transparent 70%);
    filter: blur(10px);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image-surface.is-visible {
    animation: heroImageReveal 0.8s ease 0.1s both;
}

/* Programs Section */
.programs {
    padding: 80px 0;
    background: white;
}

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

.program-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

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

.program-card.featured {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.program-badge {
    position: absolute;
    top: -10px;
    left: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.program-badge.popular {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.program-label {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 0.7rem;
    margin-top: 0.7rem;
}

.program-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.program-features {
    list-style: none;
    margin-bottom: 2rem;
}

.program-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    /* On mobile collapse credential text spacing for compact layout */
    .credential-text {
        line-height: 0;
    }
}

.service-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    padding: 20px;
}

.service-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.service-emoji {
    font-size: 4rem;
    color: white;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
     padding: 0.2rem 0; 
    position: relative;
    padding-left: 1.5rem;
    color: #4a5568;
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Process Section */
.process {
    padding: 80px 0;
    background: white;
}

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

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 20px;
    padding: 20px;
}

.step-icon img {
    width: 40px;
    height: 40px;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.step-description {
    color: #4a5568;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

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

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-name {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 1rem;
}

.about-description {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-credentials {
    margin-bottom: 2rem;
}

.credential-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.credential-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    border-radius: 10px;
    padding: 8px;
    font-size: 2rem;
}

.credential-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.credential-text {
    color: #4a5568;
    /*line-height: 2.5;*/
}

.about-approach h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.about-approach ul {
    list-style: none;
}

.about-approach li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #4a5568;
}

.about-approach li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

/* Studio Section */
.studio {
    padding: 80px 0;
    background: white;
}

.studio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.studio-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.studio-features {
    display: grid;
    gap: 2rem;
}

.studio-feature {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.studio-feature:hover {
    transform: translateX(10px);
}

.studio-feature .feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 15px;
    flex-shrink: 0;
}

.studio-feature .feature-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #4a5568;
    line-height: 1.5;
}

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

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

.pricing-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, var(--bg-light) 0%, #e0e7ff 100%);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-red);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.pricing-duration {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-dark);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.pricing-offers {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.offer-item {
    background: var(--bg-white);
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    color: var(--text-dark);
    font-weight: 500;
    border-left: 4px solid var(--accent-green);
}

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

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

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f7fafc;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
}

.faq-answer p {
    color: #4a5568;
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form {
    padding: 80px 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-description {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    flex-shrink: 0;
}

.contact-text {
    color: #4a5568;
    line-height: 1.5;
}

.contact-divider {
    margin: 0 0.5rem;
    color: rgba(100, 116, 139, 0.7);
}

.contact-text a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #764ba2;
}

.contact-form-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

#captcha-container {
    width: 100%;
    max-width: 320px;
    transform-origin: left top;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2d3748;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-privacy {
    font-size: 0.875rem;
    color: #718096;
    text-align: center;
    margin-top: 1rem;
}

.contact-map-card {
    grid-column: 1 / -1;
    background: white;
    border-radius: 28px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.16);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    min-height: 420px;
}

.contact-map-title {
    font-size: 1.5rem;
    color: #2d3748;
    margin: 0;
}

.contact-map-address {
    font-size: 1rem;
    color: #4a5568;
    margin: 0;
}

.map-frame-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
}

.map-frame {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-map {
    width: 100%;
    height: 100%;
}


.contact-map.map-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    background: #f8fafc;
    color: #475569;
    font-weight: 500;
    line-height: 1.5;
}


.policy-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.policy-subtitle {
    font-size: 1.2rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.policy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: #64748b;
}

.policy-content {
    padding: 60px 0 100px;
    background: var(--bg-light);
}

.policy-article {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.9);
    display: grid;
    gap: 2.5rem;
}

.policy-article h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.policy-article p {
    color: #4b5563;
    line-height: 1.7;
}

.policy-article ul {
    list-style: disc;
    padding-left: 1.5rem;
    display: grid;
    gap: 0.75rem;
    color: #4b5563;
}

.policy-article a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(102, 126, 234, 0.4);
    transition: border-color 0.3s ease, color 0.3s ease;
}

.policy-article a:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.policy-page .header {
    position: sticky;
}

.policy-page .hero::before {
    display: none;
}

.policy-page .floating-buttons {
    bottom: 20px;
}

@media (max-width: 1024px) {
    .policy-hero {
        padding: 130px 0 60px;
    }

    .policy-hero-card,
    .policy-article {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .policy-title {
        font-size: 2.2rem;
    }

    .policy-subtitle {
        font-size: 1.05rem;
    }

    .policy-meta {
        gap: 1rem;
    }

    .policy-article {
        padding: 2rem;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .policy-hero-card,
    .policy-article {
        padding: 1.5rem;
    }

    .policy-title {
        font-size: 1.9rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #1c2340 0%, #10172b 100%);
    color: #e2e8f0;
    padding: 60px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    align-items: flex-start;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.footer-logo-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    box-shadow: 0 18px 35px rgba(99, 102, 241, 0.35);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #f8fafc;
}

.footer-description {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.75);
}

.footer-heading {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 20px;
    color: #f8fafc;
    letter-spacing: 0.02em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: rgba(226, 232, 240, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-contact {
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: rgba(226, 232, 240, 0.75);
}

.footer-contact:last-child {
    margin-bottom: 0;
}

.footer-contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.footer-contact-link:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 48px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(226, 232, 240, 0.55);
    font-size: 0.85rem;
}

.footer-copy {
    margin: 0;
}

.footer-privacy {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-privacy:hover {
    color: #ffffff;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 48px 0 28px;
    }

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

    .footer-logo {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

.footer-legal {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}


/* Cookie Banner */
.cookie-banner {
    position: fixed;
    left: 24px;
    bottom: 24px;
    max-width: 320px;
    width: min(320px, calc(100% - 48px));
    background: rgba(17, 24, 39, 0.96);
    color: #f8fafc;
    padding: 18px 20px;
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.28);
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    z-index: 20000;
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.35s ease, transform 0.35s ease;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-banner--visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.cookie-banner--hidden {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    pointer-events: none;
}

.cookie-banner__text {
    margin: 0;
    color: inherit;
}

.cookie-banner__link {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner__link:hover {
    color: #a855f7;
}

.cookie-banner__actions {
    display: flex;
    justify-content: flex-start;
}

.cookie-banner__button {
    border: none;
    background: var(--primary-gradient);
    color: #ffffff;
    font-weight: 600;
    border-radius: 999px;
    padding: 10px 22px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cookie-banner__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(79, 70, 229, 0.4);
}

.cookie-banner__button:focus-visible {
    outline: 2px solid rgba(124, 58, 237, 0.9);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 50%;
        right: auto;
        bottom: 130px;
        width: min(360px, calc(100% - 32px));
        transform: translate3d(-50%, 20px, 0);
    }

    .cookie-banner--visible {
        transform: translate3d(-50%, 0, 0);
    }

    .cookie-banner--hidden {
        transform: translate3d(-50%, 20px, 0);
    }

    .cookie-banner__actions {
        justify-content: center;
    }

    .cookie-banner__button {
        width: 100%;
    }
}

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

@keyframes heroImageReveal {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(24px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "description"
            "image"
            "features"
            "actions";
        gap: 2.5rem;
        text-align: center;
        justify-items: center;
    }

    .hero-title {
        font-size: 2.5rem;
        max-width: 100%;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-image {
        justify-content: center;
        padding-right: 0;
        width: 100%;
    }

    .hero-image-surface {
        max-width: 420px;
        width: 100%;
        aspect-ratio: auto;
    }

    .hero-features {
        max-width: 100%;
    }

    .hero-actions {
        max-width: 100%;
        justify-content: center;
    }

    .about-content,
    .studio-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-map-card {
        min-height: 320px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .programs-grid,
    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .pricing-offers {
        flex-direction: column;
        align-items: center;
    }

    .contact-map-card {
        min-height: 260px;
    }

    .header-actions .phone-link {
        display: none;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .map-frame-wrapper {
        aspect-ratio: 16 / 9;
        max-height: 240px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .program-card,
    .service-card,
    .pricing-card {
        padding: 1.5rem;
    }
    
    .contact-form-form {
        padding: 1.5rem;
    }

    #captcha-container {
        transform: scale(0.9);
        height: 90px !important;
    }

    .contact-map-card {
        min-height: 220px;
    }
}


/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.floating-btn {
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.floating-btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.floating-btn-whatsapp {
    background: #25d366;
    color: white;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
}



/* Studio Feature Cards */
.studio-feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.studio-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.studio-feature-icon {
    font-size: 3rem;
    margin-bottom: 0.2rem;
    display: block;
}

.studio-feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.studio-feature-description {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Process Step Cards */
.process-step-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem 2.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.process-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.process-step-number {
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.process-step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.process-step-description {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-top: auto;
}

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

@media (min-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.75rem;
    }
}

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


.form-privacy-link {
    position: relative;
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.form-privacy-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    opacity: 0.45;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.form-privacy-link:hover {
    color: var(--secondary-color);
}

.form-privacy-link:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.form-privacy-link:focus-visible {
    outline: none;
    color: var(--secondary-color);
}

.form-privacy-link:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Final mobile-specific overrides: placed at EOF to ensure cascade wins */
@media (max-width: 768px) {
    .credential-text {
        line-height: 1.7;
    }
}
@media (max-width: 768px) {
    .footer-legal {
        margin-left: 0;
        justify-content: center;
        margin-top: 8px;
    }
}

