/* Modal base */
.modal { display: none; position: fixed; inset: 0; z-index: 1100; }
.modal.show { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.modal-dialog { position: relative; max-width: 620px; margin: 6vh auto; background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); padding: 24px; }
.modal-close { position: absolute; top: 10px; right: 12px; background: transparent; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: #666; }
.modal-title { margin: 0 0 10px; font-size: 1.25rem; color: #222; }
.modal-subtitle { margin: 0 0 16px; color: #555; }
.modal-question { font-size: 1.05rem; margin: 10px 0 18px; color: #333; }
.modal-actions { 
    display: flex; 
    gap: 10px; 
    flex-wrap: wrap; 
    justify-content: space-between;
    align-items: stretch;
}

.modal-progress { margin-top: 10px; color: #666; font-size: 0.95rem; }
.modal-result h4 { margin: 0 0 10px; font-size: 1.2rem; color: #222; }
.modal-result p { margin: 0 0 12px; color: #444; }
.modal-redirect { color: #0088cc; font-weight: 500; }

/* Modal buttons reuse existing btn classes */
.modal .btn { 
    padding: 10px 14px; 
    border-radius: 10px; 
    flex: 1;
    min-width: 0;
    text-align: center;
}
.modal .btn-primary { background: #0088cc; color: #fff; border: 0; }
.modal .btn-primary:hover { background: #0077b3; }
.modal .btn-secondary { background: #eef6fb; color: #0a6fa0; border: 1px solid #cfe6f3; }
.modal .btn-secondary:hover { background: #e2f0f8; }

/* Mobile styles for modal */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 4vh 16px;
        padding: 20px;
        max-width: none;
        border-radius: 12px;
    }
    
    .modal-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .modal-subtitle {
        font-size: 0.95rem;
    }
    
    .modal-question {
        font-size: 1rem;
        line-height: 1.4;
        margin: 12px 0 20px;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .modal .btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
        flex: none !important; /* Override flex: 1 for mobile */
    }
    
    .modal-close {
        top: 8px;
        right: 8px;
        font-size: 24px;
    }
    
    .modal-progress {
        text-align: center;
        margin-top: 16px;
    }
    
    .modal-result h4 {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .modal-result p {
        text-align: center;
        line-height: 1.4;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .modal-dialog {
        margin: 2vh 12px;
        padding: 16px;
    }
    
    .modal-title {
        font-size: 1rem;
    }
    
    .modal-question {
        font-size: 0.95rem;
        margin: 10px 0 16px;
    }
    
    .modal .btn {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #667eea;
    font-weight: 700;
    font-size: 1.5rem;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: 2;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #fff;
    color: #667eea;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
    border-color: #fff;
}

/* Hero button specific styles */
.hero .btn-secondary {
    font-size: 1.1rem;
    padding: 14px 32px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg);
}

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

/* Sections */
section {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

/* Services Section */
.services {
    background: #fff;
}

.services-cta {
    text-align: center;
    padding: 3rem 0;
}

.services-description {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.services-grid .service-cta-card {
    grid-column: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.service-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: left;
    transition: all 0.3s ease;
    border: 2px solid #74abce;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    color: #333;
    line-height: 1.4;
}

.service-cta-card {
    background: #0088cc; /* filled blue */
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #74abce;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none; /* remove underline */
    color: #fff; /* white text */
}

.service-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.25);
    background: #0077b3; /* darker on hover */
}

.service-cta-card {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-cta-card span {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    color: #fff; /* ensure white text */
}

/* Digital Nomad Card Styles */
.digital-nomad-card {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin: 1rem 0;
    text-align: center;
}

.service-includes {
    margin: 1.5rem 0;
}

.service-includes h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.service-includes ul {
    list-style: none;
    padding: 0;
}

.service-includes li {
    padding: 0.3rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.service-includes li::before {
    content: "✓";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-note {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin-top: 1rem;
}

.service-note p {
    margin: 0;
    color: #555;
    font-size: 0.9rem;
}

/* Spain Section */
.spain {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

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

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

.spain-feature {
    margin-bottom: 2rem;
}

.spain-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.spain-feature p {
    opacity: 0.9;
    line-height: 1.6;
}

.spain-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Contacts Section */
.contacts {
    background: #f8f9fa;
}

.contacts-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #667eea;
    border-radius: 50%;
    color: white;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item p {
    color: #666;
}

.contact-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    max-width: 600px;
    width: 100%;
}

.contact-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-cta .btn {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
}

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

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    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;
}

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

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Airplane Canvas */
#airplaneCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(30, 50, 80, 0.3) 0%, rgba(50, 80, 50, 0.2) 100%);
}

/* Spain Page Styles */
.spain-hero {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    height: 60vh;
    min-height: 400px;
}

.spain-info {
    background: #fff;
    padding: 5rem 0;
}

.overview-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem;
    border-radius: 20px;
    border-left: 5px solid #f093fb;
    margin: 2rem 0;
    text-align: center;
}

.overview-card h3 {
    color: #f093fb;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.overview-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

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

.challenge-item {
    background: #fff3cd;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #ffc107;
}

.challenge-item h4 {
    color: #856404;
    font-weight: 600;
    margin-bottom: 1rem;
}

.challenge-item p {
    color: #6c757d;
    line-height: 1.6;
}

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

.climate-zone {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease;
}

.climate-zone:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.climate-zone h4 {
    color: #f093fb;
    font-weight: 600;
    margin-bottom: 1rem;
}

.climate-zone p {
    color: #555;
    margin: 0.5rem 0;
    line-height: 1.5;
}

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

.stat-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-card h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.quality-indicators {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.indicator {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.indicator:last-child {
    margin-bottom: 0;
}

.indicator-label {
    min-width: 150px;
    font-weight: 500;
    color: #333;
}

.indicator-bar {
    flex: 1;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.indicator-fill {
    height: 100%;
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
    border-radius: 10px;
    transition: width 0.8s ease;
}

.info-section {
    margin-bottom: 4rem;
}

.info-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

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

.info-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease;
}

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

.info-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 1rem;
}

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

.cost-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.cost-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.cost-item ul {
    list-style: none;
    padding: 0;
}

.cost-item li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid #e9ecef;
}

.cost-item li:last-child {
    border-bottom: none;
}

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

.region-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.region-card:hover {
    transform: translateY(-5px);
}

.region-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.tax-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #e9ecef;
}

.tax-item h4 {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.visa-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.visa-item h4 {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.city-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease;
}

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

.city-card h4 {
    color: #667eea;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 3rem;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Money Page Styles */
.money-hero {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    height: 60vh;
    min-height: 400px;
}

.money-info {
    background: #fff;
    padding: 5rem 0;
}

.warning-card {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 5px solid #ffc107;
}

.warning-card h4 {
    color: #856404;
    font-weight: 600;
    margin-bottom: 1rem;
}

.warning-card p {
    color: #6c757d;
    margin: 0;
}

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

.bank-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease;
}

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

.bank-card h4 {
    color: #fcb69f;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.bank-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.documents-list {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.documents-list h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.documents-list ul {
    list-style: none;
    padding: 0;
}

.documents-list li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.documents-list li::before {
    content: "📄";
    position: absolute;
    left: 0;
}

.banking-help {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    padding: 2.5rem;
    border-radius: 20px;
    margin: 2rem 0;
    border-left: 5px solid #4caf50;
    text-align: center;
}

.banking-help h4 {
    color: #2e7d32;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.banking-help p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

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

.help-feature:hover {
    transform: translateY(-3px);
}

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

.help-feature span:last-child {
    color: #333;
    font-weight: 500;
}

.btn-secondary {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    color: white;
    text-decoration: none;
}

/* Floating Telegram Button */
.telegram-float-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(100px);
}

.telegram-float-btn.show {
    opacity: 1;
    transform: translateY(0);
}

.telegram-link {
    display: flex;
    align-items: center;
    background: #0088cc;
    color: white;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 13px;
    min-width: 100px;
    justify-content: center;
    gap: 6px;
    height: 40px;
}

.telegram-link:hover {
    background: #006699;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 136, 204, 0.4);
    color: white;
    text-decoration: none;
}

.telegram-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.telegram-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.telegram-text {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

/* Mobile styles for floating button */
@media (max-width: 768px) {
    .telegram-float-btn {
        bottom: 15px;
        right: 15px;
    }
    
    .telegram-link {
        padding: 8px 12px;
        min-width: 90px;
        font-size: 12px;
        height: 36px;
    }
    
    .telegram-text {
        font-size: 12px;
    }
    
    .telegram-icon {
        width: 16px;
        height: 16px;
    }
    
    .telegram-icon svg {
        width: 14px;
        height: 14px;
    }
}

/* Cookie banner */
#cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 -8px 30px rgba(0,0,0,0.1);
    backdrop-filter: saturate(120%) blur(6px);
}

#cookie-banner .cookie-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

#cookie-banner .cookie-text {
    flex: 1;
    color: #333;
}

#cookie-banner .cookie-actions {
    display: flex;
    gap: 10px;
}

.tax-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tax-category {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease;
}

.tax-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tax-category h4 {
    color: #fcb69f;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.tax-details p {
    color: #555;
    margin: 0.8rem 0;
    line-height: 1.6;
}

.tax-details strong {
    color: #333;
    font-weight: 600;
}

.note {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid #2196f3;
}

.note p {
    margin: 0;
    color: #1565c0;
    font-size: 0.9rem;
}

.residency-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 5px solid #fcb69f;
}

.residency-info h4 {
    color: #fcb69f;
    font-weight: 600;
    margin-bottom: 1rem;
}

.residency-info ul {
    list-style: none;
    padding: 0;
}

.residency-info li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.residency-info li::before {
    content: "✓";
    color: #fcb69f;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.double-taxation {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.double-taxation h4 {
    color: #fcb69f;
    font-weight: 600;
    margin-bottom: 1rem;
}

.crypto-info {
    margin: 2rem 0;
}

.crypto-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border-left: 5px solid #fcb69f;
}

.crypto-card h4 {
    color: #fcb69f;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.requirement-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease;
}

.requirement-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.requirement-item h5 {
    color: #fcb69f;
    font-weight: 600;
    margin-bottom: 1rem;
}

.requirement-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.crypto-regulation {
    background: #e8f5e8;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 5px solid #4caf50;
}

.crypto-regulation h4 {
    color: #2e7d32;
    font-weight: 600;
    margin-bottom: 1rem;
}

.crypto-regulation p {
    color: #555;
    line-height: 1.6;
    margin: 0.8rem 0;
}

/* Rent Page Styles */
.rent-hero {
    background: linear-gradient(135deg, #4facfe 0%, #8e54e9 100%);
    height: 60vh;
    min-height: 400px;
}

.rent-info {
    background: #fff;
    padding: 5rem 0;
}

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

.doc-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #4facfe;
}

.doc-item h4 {
    color: #4facfe;
    font-weight: 600;
    margin-bottom: 1rem;
}

.doc-item ul {
    list-style: none;
    padding: 0;
}

.doc-item li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.doc-item li::before {
    content: "✓";
    color: #4facfe;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.law-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.law-warning h4 {
    color: #856404;
    font-weight: 600;
    margin-bottom: 1rem;
}

.law-requirements {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.law-requirements h5 {
    color: #333;
    margin-bottom: 1rem;
}

.law-requirements ul {
    list-style: none;
    padding: 0;
}

.law-requirements li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.law-requirements li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

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

.city-item {
    background: linear-gradient(135deg, #4facfe 0%, #8e54e9 100%);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.city-item:hover {
    transform: translateY(-3px);
}

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

.price-category {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.price-category h4 {
    color: #4facfe;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.price-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.price-item:last-child {
    border-bottom: none;
}

.price-label {
    color: #555;
    font-weight: 500;
}

.price-value {
    color: #4facfe;
    font-weight: 600;
    font-size: 1.1rem;
}

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

.website-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease;
    text-align: center;
}

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

.website-card h4 {
    color: #4facfe;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.website-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid .service-cta-card {
        grid-column: 1 / 3;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .services-grid .service-cta-card {
        grid-column: 1;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Visa Page Styles */
.visa-hero {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.visa-info {
    padding: 80px 0;
}

.visa-info .section-title {
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.visa-info .info-section {
    margin-bottom: 60px;
}

.visa-info .info-section h3 {
    color: #667eea;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.visa-info .overview-card {
    background: #f8f9ff;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #667eea;
    margin-bottom: 30px;
}

.visa-info .overview-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.visa-info .warning-card {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.visa-info .warning-card h4 {
    color: #856404;
    margin-bottom: 15px;
}

.visa-info .warning-card p {
    color: #856404;
    margin: 0;
}

.visa-info .warning-card a {
    color: #667eea;
    text-decoration: none;
}

.visa-info .warning-card a:hover {
    text-decoration: underline;
}

.visa-info .changes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.visa-info .change-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #667eea;
}

.visa-info .change-item h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.visa-info .change-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.visa-info .change-item a {
    color: #667eea;
    text-decoration: none;
}

.visa-info .change-item a:hover {
    text-decoration: underline;
}

.visa-info .note {
    background: #e8f5e8;
    border: 1px solid #c3e6c3;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
}

.visa-info .note h4 {
    color: #2d5a2d;
    margin-bottom: 15px;
}

.visa-info .note p {
    color: #2d5a2d;
    margin: 0;
}

.visa-info .countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.visa-info .country-item {
    background: #667eea;
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.visa-info .country-item:hover {
    transform: translateY(-2px);
}

.visa-info .stats-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
}

.visa-info .stats-card h4 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.visa-info .stat-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.visa-info .stats-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.visa-info .documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.visa-info .doc-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 4px solid #667eea;
}

.visa-info .doc-item h4 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.visa-info .doc-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.visa-info .doc-item li {
    position: relative;
    padding: 8px 0 8px 1.6em;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.visa-info .doc-item li:last-child {
    border-bottom: none;
}

.visa-info .doc-item li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2em;
    color: #667eea;
    font-weight: bold;
    text-align: center;
}

.visa-info .spain-visa-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.visa-info .spain-visa-info .info-card {
    background: #f8f9ff;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #f093fb;
}

.visa-info .spain-visa-info .info-card h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.visa-info .spain-visa-info .info-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.visa-info .spain-visa-info .info-card a {
    color: #667eea;
    text-decoration: none;
}

.visa-info .spain-visa-info .info-card a:hover {
    text-decoration: underline;
}

.visa-info .legal-info {
    background: #f8f9ff;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #667eea;
}

.visa-info .legal-info p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.visa-info .legal-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.visa-info .legal-info li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.visa-info .legal-info li:last-child {
    border-bottom: none;
}

.visa-info .legal-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.visa-info .legal-info a:hover {
    text-decoration: underline;
}
