/* --- ESTILOS GENERALES Y VARIABLES --- */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #750808;
    --dark-bg: #1a1e3a;
    --light-text: #ffffff;
    --dark-text: #333333;
    --font-body: 'Roboto', sans-serif;
    --font-heading: 'Roboto Slab', serif;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--dark-text);
    background-color: #f4f4f9;
}

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

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--dark-bg);
}

h1 {
    font-size: 2.8rem;
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

p {
    line-height: 1.6;
    font-size: 1rem;
}

/* --- ESTILOS DE BOTONES --- */
.cta-button {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px 5px 10px 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--light-text);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.open-popup-btn {
    background-color: var(--primary-color);
}

.open-popup-btn:hover {
    background-color: #2563eb;
}

.phone-button {
    background-color: var(--secondary-color);
}

.phone-button:hover {
    background-color: #930a0a;
}

/* --- DISEÑO DE SECCIONES --- */
.hero-section {
    background: linear-gradient(rgba(26, 30, 58, 0.7), rgba(26, 30, 58, 0.7)), url('https://videntebuenayeconomicaportelefono.com/img/videntebuenayeconomicaportelefono.jpg') no-repeat center center/cover;
    padding: 60px 0;
    text-align: center;
    color: var(--light-text);
}

.hero-section .subtitle {
    font-size: 1.4rem;
    margin-top: 10px;
}

.intro-section, .bio-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.two-columns {
    display: flex;
    align-items: center;
    gap: 40px;
}

.two-columns .column-text, .two-columns .column-image {
    flex: 1;
}

.two-columns .column-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.bio-image {
    border-radius: 50%;
}

.highlight {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark-bg);
}

.info {
    font-style: italic;
    color: #555;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    margin: 20px 0;
}

.legal-text {
    font-size: 0.8rem;
    color: #777;
    margin-top: 20px;
}

.concerns-section {
    background: url('https://videntebuenayeconomicaportelefono.com/img/videntebuenayeconomicaportelefono.jpg') no-repeat center center/cover;
    position: relative;
    padding: 60px 0;
    text-align: center;
    color: var(--light-text);
}

.concerns-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(40, 20, 60, 0.85);
}

.concerns-section .container {
    position: relative;
    z-index: 2;
}

.concerns-section h2, .concerns-section .highlight {
    color: var(--light-text);
}

.pricing-section {
    padding: 40px 0;
}

.price-tier {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

footer {
    background-color: var(--dark-bg);
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* --- ESTILOS DE LA VENTANA EMERGENTE (POPUP/MODAL) --- */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
}

.country-buttons .country-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 500;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.country-buttons .country-btn:hover {
    background-color: #e0e0e0;
}

.flag {
    width: 28px;
    margin-right: 12px;
}

.action-buttons {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.action-buttons.show {
    max-height: 300px; /* Suficiente para mostrar el contenido */
}

.action-text-label {
    font-size: 0.9rem;
    color: #555;
    margin: 15px 0 5px 0;
}

.action-btn {
    display: block;
    width: 100%;
    text-decoration: none;
    color: white;
    padding: 12px;
    border-radius: 8px;
    margin-top: 8px;
    font-weight: 500;
}

.action-btn.call-btn {
    background-color: #28a745;
}

.action-btn.payment-btn {
    background-color: #007bff;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .two-columns {
        flex-direction: column;
    }

    .intro-section .two-columns {
        flex-direction: column-reverse; /* Imagen arriba, texto abajo */
    }
}
