/* Mobile-First CSS - Actually Working Version */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background: #f8f9fa;
}

/* Mobile Header - Fixed and Working */
.mobile-header {
    background: #004D4F;
    color: white;
    padding: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.brand {
    font-size: 1.2rem;
    font-weight: bold;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: white;
    color: #004D4F;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu - Working Dropdown */
.mobile-menu {
    background: white;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav-link {
    display: block;
    padding: 0.8rem 0;
    color: #004D4F;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.mobile-menu .nav-link:hover {
    background: #f8f9fa;
    padding-left: 1rem;
    transition: all 0.3s ease;
}

/* Main Content - Proper Mobile Spacing */
.content {
    margin-top: 80px;
    padding: 0;
}

/* Hero Section - Mobile Optimized */
.hero-mobile {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 1.4rem;
    color: #004D4F;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 15px;
    margin: 1.5rem auto;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Stats - Mobile Grid */
.stats {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, #FF6B9D, #C44569);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 1.5rem 0;
    color: white;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 0.7rem;
    opacity: 0.9;
    margin-top: 0.2rem;
}

/* Buttons - Mobile Friendly */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #004D4F;
    color: white;
}

.btn-primary:hover {
    background: #003A3C;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #004D4F;
    border: 2px solid #004D4F;
}

.btn-outline {
    background: transparent;
    color: #004D4F;
    border: 1px solid #004D4F;
}

/* Story Section - Mobile Layout */
.story-section {
    background: white;
    padding: 2rem 1rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.5rem;
    color: #004D4F;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
}

.story-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 15px;
    margin: 1.5rem auto;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.story-blocks {
    margin: 2rem 0;
}

.story-block {
    background: #f8f9fa;
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 12px;
    border-left: 4px solid #004D4F;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.story-block h3 {
    color: #004D4F;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.story-block p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

.teatro-btn {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.teatro-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
}

.story-quote {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    font-style: italic;
    text-align: center;
}

.story-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Services Section - Mobile Cards */
.services-section {
    background: white;
    padding: 2rem 1rem;
    margin-bottom: 1rem;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-card.featured {
    border-color: #FF6B9D;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.service-badge {
    position: absolute;
    top: -10px;
    right: 1rem;
    background: #FF6B9D;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-title {
    color: #004D4F;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FF6B9D;
    margin-bottom: 0.3rem;
}

.service-period {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 1rem;
}

.service-desc {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

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

.service-features li {
    padding: 0.3rem 0;
    font-size: 0.8rem;
    color: #555;
    position: relative;
    padding-left: 1rem;
}

.service-features li:before {
    content: "✓";
    color: #004D4F;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Results Section */
.results-section {
    background: white;
    padding: 2rem 1rem;
    margin-bottom: 1rem;
}

.comparison-block {
    margin-top: 2rem;
}

.comparison-title {
    font-size: 1.2rem;
    color: #004D4F;
    text-align: center;
    margin-bottom: 0.5rem;
}

.comparison-subtitle {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.comparison-card {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.comparison-card.traditional {
    background: #f8f9fa;
    border: 2px solid #ddd;
}

.comparison-card.str {
    background: linear-gradient(135deg, #004D4F, #006B6F);
    color: white;
}

.comparison-card h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.comparison-price {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.comparison-features {
    list-style: none;
}

.comparison-features li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
}

.comparison-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: #004D4F;
    margin: 1rem 0;
}

.comparison-result {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #FF6B9D, #C44569);
    color: white;
    border-radius: 12px;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    background: white;
    padding: 2rem 1rem;
    margin-bottom: 1rem;
}

.contact-desc {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 400px;
    margin: 0 auto;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #004D4F;
    box-shadow: 0 0 0 2px rgba(0,77,79,0.1);
}

/* Footer */
.footer {
    background: #2C3E50;
    color: white;
    padding: 2rem 1rem 1rem;
}

.footer-content {
    text-align: center;
    margin-bottom: 1rem;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 0.5rem;
}

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

.footer-contact {
    margin-top: 1rem;
}

.footer-contact p {
    color: #bbb;
    font-size: 0.9rem;
    margin: 0.2rem 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #444;
    color: #bbb;
    font-size: 0.8rem;
}

/* Language Toggle Functionality */
.brand-en, .title-en, .desc-en, .btn-en, .block-title-en, .block-text-en,
.quote-en, .subtitle-en, .feature-en, .label-en, .period-en, .badge-en,
.card-title-en, .result-en, .option-en, .tagline-en, .nav-en, .note-en {
    display: none;
}

/* Responsive Improvements for larger screens */
@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .comparison-cards {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }
    
    .comparison-arrow {
        margin: 0;
    }
    
    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content {
        max-width: 1200px;
        margin: 80px auto 0;
    }
    
    .hero-mobile, .story-section, .services-section, .results-section, .contact-section {
        padding: 3rem 2rem;
    }
}


/* Investments Section - Mobile First */
.investments-section {
    background: linear-gradient(135deg, #004D4F 0%, #006B6F 100%);
    color: white;
    padding: 2rem 1rem;
    margin-bottom: 1rem;
}

.investments-section .section-title {
    color: white;
}

.investments-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.investment-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.investment-card.featured {
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
}

.investment-flag {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.investment-card h3 {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: white;
}

.investment-option {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.investment-option h4 {
    color: #FFD700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.option-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FF6B9D;
    margin-bottom: 0.5rem;
}

.option-note {
    font-size: 0.8rem;
    color: #ccc;
    font-style: italic;
}

.teatro-link {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: background 0.3s ease;
    font-size: 0.9rem;
}

.teatro-link:hover {
    background: rgba(255,255,255,0.3);
    color: white;
    text-decoration: none;
}

/* Language Toggle for New Sections */
body:not(.lang-en) .lang-en {
    display: none;
}

body.lang-en .lang-it {
    display: none;
}

/* Responsive for larger screens */
@media (min-width: 768px) {
    .investments-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .investments-section {
        padding: 3rem 2rem;
    }
    
    .investment-card {
        padding: 2rem;
    }
}


/* Contact Section Styles */
.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

.expert-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    position: sticky;
    top: 2rem;
}

.expert-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.expert-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.expert-title {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.expert-stats {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.expert-stats .stat {
    padding: 0.8rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    font-size: 0.9rem;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
}

.contact-form-container {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.ai-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 3rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.btn-full i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Language Toggle for Form */
.lang-en .lang-it {
    display: none;
}

.lang-it .lang-en {
    display: none;
}

body:not(.lang-en) .lang-en {
    display: none;
}

body.lang-en .lang-it {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .expert-card {
        position: static;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .expert-stats {
        flex-direction: column;
    }
    
    .expert-image {
        width: 100px;
        height: 100px;
    }
}

/* Form Animation */
.ai-form {
    animation: slideInUp 0.6s ease-out;
}

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

/* Success State */
.form-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
    color: white !important;
    transform: scale(1.02);
}

.form-success:hover {
    transform: scale(1.02);
}

