/* ===== VARIABLES DE DISEÑO (TOKENS) ===== */
:root {
    --color-brand: #8ed3ed;
    --color-accent: #8dba09;
    --color-text-dark: #2d3748;
    --color-text-light: #e2e8f0;
    --color-text-muted: #a0aec0;
    --color-border: #e2e8f0;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --radius: 24px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-section: 0 20px 40px -10px rgba(45, 55, 72, 0.2);
}

/* ===== ESTILOS BASE Y RESET ===== */
body {
    background: #d0efff;
    color: var(--color-text-dark);
    font-family: var(--font-secondary);
    line-height: 1.5; /* Más compacto para ganar espacio vertical */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-brand);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #333;
}

.screen-reader-text {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	word-wrap: normal !important;
}

h1, h2, h3, h4, h5, .section-title {
    font-family: var(--font-primary);
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1.2;
    margin-top: 0;
    letter-spacing: -0.05em;
    text-shadow: 0 2px 8px rgba(45, 55, 72, 0.1);
    opacity: 0; /* Oculto inicialmente para la animación */
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

h1.visible, h2.visible, h3.visible, h4.visible, h5.visible, .section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

h1 { font-size: 2rem; } /* Reducido de 2.5rem */
h2 { font-size: 1.5rem; margin-bottom: 1rem; } /* Reducido de 2rem */
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; } /* Reducido de 1.5rem */

/* ===== LAYOUT Y CONTENEDORES ===== */
.container {
    width: min(1120px, 92%);
    margin-left: auto;
    margin-right: auto;
}

section {
    padding: 30px 0; /* Reducido de 60px a la mitad */
}

#header-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

#header-section.header-scrolled {
    background-color: rgba(255, 255, 255, 0.85); /* Fondo semi-transparente */
    backdrop-filter: blur(25px); /* Desenfoque más intenso */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Sombra suave */
}

#content {
    padding-top: 90px; /* Altura del header */
}

/* ===== COMPONENTES ===== */
/* --- Menú de Navegación --- */
.onepress-menu a { 
    font-weight: 600; 
    color: var(--color-text-dark); 
    display: inline-block; 
    position: relative;
    transition: transform 0.3s ease, color 0.2s ease; 
}

.onepress-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-accent);
    transition: width 0.3s ease-out;
}

.onepress-menu a:hover, .onepress-menu li.current-menu-item > a { 
    color: #000 !important; 
    transform: translateY(-3px); 
}

.onepress-menu a:hover::after, .onepress-menu li.current-menu-item > a::after {
    width: 100%;
}

#masthead .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    margin-right: 40px;
    flex-shrink: 0;
}
.onepress-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.onepress-menu li { margin: 0; }
#nav-toggle { display: none; }

/* --- Hero Section --- */
.hero-section {
    padding: 20px 0; /* Reducido */
    text-align: center;
    min-height: calc(100vh - 90px); /* Restamos header para centrar en el espacio visible real */
    min-height: calc(100dvh - 90px);
    display: flex;
    align-items: center; /* Centra verticalmente el contenido */
}
.hero-section .container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 40px 20px; /* Aumentado para dar más aire */
    border-radius: 24px; /* Bordes más redondeados para destacar */
    box-shadow: var(--shadow-section); /* Sombra más notoria */
}

.hero-section h1 {
    color: var(--color-text-dark);
    font-size: 2.2rem; /* Reducido de 3rem */
    font-weight: 800;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.hero-section h1 .highlight {
    color: var(--color-accent);
}

.hero-section h1 .subtitle {
    font-size: 1.1rem; /* Reducido de 1.5rem */
    font-weight: 700;
    color: #4a5568;
    letter-spacing: 2px;
    text-shadow: none;
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
}

.hero-section .hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    text-align: left;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.hero-feature-item {
    background: rgba(255, 255, 255, 0.6); /* Efecto Glass */
    backdrop-filter: blur(5px);
    padding: 20px; /* Reducido significativamente */
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.hero-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hero-feature-item h4 {
    color: var(--color-brand);
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.hero-feature-item p {
    color: #4a5568; /* Se cambia a texto oscuro */
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.hero-icon {
    font-size: 2rem;
    color: var(--color-brand);
    margin-bottom: 10px;
    display: inline-block;
}

.btn-cta {
    background-color: var(--color-accent);
    color: #fff;
    padding: 18px 48px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    animation: pulse-soft 2s infinite;
}

.btn-cta:hover {
    background-color: #7b9c08;
    transform: translateY(-3px);
    box-shadow: 0 15px 20px -10px rgba(139, 186, 9, 0.4);
    color: #fff;
    animation: none;
}

.btn-cta i {
    margin-left: 10px;
    animation: bounce-right 1.5s infinite ease-in-out;
}

/* --- Tabla de Precios --- */
.pricing-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    text-align: left;
    max-width: 850px;
    margin: 0 auto 2rem auto;
}
.pricing-intro .intro-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.pricing-intro:hover .intro-icon {
    transform: scale(1.1);
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-section);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.table-responsive.visible {
    opacity: 1;
    transform: translateY(0);
}

.mobile-scroll-hint {
    display: none;
    text-align: right;
    font-size: 0.85rem;
    color: var(--color-brand);
    margin-bottom: 8px;
    font-weight: 600;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.pricing-table th, .pricing-table td {
    padding: 10px 12px; /* Más compacto */
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    color: #4a5568;
    font-size: 0.95rem; /* Ligeramente más pequeño pero legible */
}

.pricing-table th {
    background-color: var(--color-brand);
    color: var(--color-text-dark);
    font-family: var(--font-primary);
    font-size: 1rem;
    vertical-align: middle;
}
.pricing-table th i {
    margin-right: 8px;
}

.pricing-table th.recommended {
    background-color: var(--color-accent);
    color: #fff;
    position: relative;
    border: 2px solid var(--color-accent);
    border-bottom: none;
    font-size: 1.1rem;
    padding-top: 15px;
    padding-bottom: 15px;
}

.pricing-table td:nth-child(3) {
    background-color: #f6ffed;
    border-left: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
    font-weight: 600;
}

.pricing-table tr:last-child td:nth-child(3) {
    border-bottom: 2px solid var(--color-accent);
}

.pricing-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 5; /* Asegura que el encabezado quede por encima */
}

.pricing-table td:first-child {
    text-align: left;
    font-weight: 700;
    color: var(--color-text-dark);
    background-color: #f8fafc;
        width: auto; /* Se ajusta al contenido */
        max-width: 120px; /* Fuerza el salto de línea en textos largos para ahorrar espacio */
        white-space: normal;
    position: sticky;
    left: 0;
    z-index: 4;
    box-shadow: 2px 0 10px -2px rgba(0,0,0,0.1); /* Sombra para separar visualmente */
    border-right: 1px solid var(--color-border);
}

.pricing-table .price-row td {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text-dark);
}

.pricing-table .action-row td {
    border-bottom: none;
    padding: 15px;
}

.pricing-table .fa-check {
    color: var(--color-accent);
}

.pricing-table .col-hover {
    background-color: #eef6fc;
    transition: background-color 0.2s ease;
}

.pricing-table td:nth-child(3).col-hover {
    background-color: #e9f5d5; /* Un verde ligeramente más oscuro para el recomendado */
}

.pricing-table th.col-hover {
    filter: brightness(1.1);
}

.btn-buy {
    background-color: var(--color-brand);
    color: var(--color-text-dark);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-buy:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
}

.pricing-table td:nth-child(3) .btn-buy {
    animation: pulse-soft 2s infinite;
}

.pricing-table td:nth-child(3) .btn-buy:hover {
    animation: none;
}

.badge-rec {
    display: block;
    font-size: 0.7rem;
    background: #fff;
    color: var(--color-text-dark);
    padding: 2px 8px;
    border-radius: 10px;
    width: fit-content;
    margin: 5px auto 0;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.badge-rec::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(141, 186, 9, 0.4) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: shimmer 3s infinite;
}

.info-btn {
    background: #cbd5e0;
    color: #4a5568;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    cursor: pointer;
    vertical-align: middle;
    transition: all 0.2s ease;
}

.info-btn:hover, .info-btn.active {
    background: var(--color-brand);
    color: #fff;
}

.feature-explanation {
    display: none;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 400;
    color: #718096;
    background: #f8fafc;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    line-height: 1.4;
}

.feature-explanation.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* --- Animaciones --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}
@keyframes pulse-soft {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(141, 186, 9, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(141, 186, 9, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(141, 186, 9, 0);
    }
}
@keyframes pulse-hint {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(5px); opacity: 1; }
}
@keyframes bounce-right {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* --- Componentes Generales (Cards, etc) --- */
.section-title .highlight {
    color: var(--color-accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius);
    padding: 20px; /* Reducido de 30px */
    box-shadow: var(--shadow-section);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

a.feature-card {
    text-decoration: none;
    color: var(--color-text-dark);
    display: block;
    /* height: 100%; Eliminado para evitar conflictos de altura en grid */
}

.feature-card:hover {
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.05), 0 30px 60px -12px rgba(45, 55, 72, 0.3);
    transform: translateY(-5px);
}

.feature-card img {
    max-width: 200px;
    height: auto;
    margin: 0 auto 1rem auto;
    display: block;
}

.feature-card h3 { 
    text-align: center;
    font-size: 1.1rem; /* Reducido */
    margin-bottom: 0.5rem;
}
.feature-card p {
    font-size: 0.9rem; /* Texto más compacto */
    line-height: 1.5;
}
.feature-card ul { list-style: none; padding-left: 0; }
.feature-card ul li { 
    padding: 3px 0; /* Menos espacio entre items de lista */
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* For smaller screens */
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem; /* Fuente de lista ligeramente más pequeña */
}

/* Empuja la etiqueta a la izquierda y el resto del contenido (valor + icono) a la derecha */
.feature-card ul li > strong {
    margin-right: auto;
}

.feature-card ul li:last-child {
    border-bottom: none;
}

/* --- Botones Flotantes --- */
#back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    line-height: 50px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-lg);
}
#back-to-top-btn.show {
    opacity: 0; /* Se inicia oculto para la animación */
    visibility: visible; /* Se hace visible para que la animación se vea */
    animation: fadeInUp 0.5s ease 0.5s forwards; /* Animación con 0.5s de retraso */
}

#back-to-top-btn:hover {
    background-color: #7b9c08;
    transform: translateY(-3px);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50px; /* Pill shape */
    display: flex;
    align-items: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 998;
    opacity: 0; /* Oculto inicialmente */
    animation: fadeInUp 0.5s ease 1s forwards; /* Animación con 1s de retraso */
    text-decoration: none;
}

.whatsapp-float i {
    min-width: 60px;
    text-align: center;
}

.whatsapp-float span {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    max-width: 0;
    opacity: 0;
    transition: max-width 0.3s ease-out, opacity 0.2s ease-out;
}

.whatsapp-float:hover {
    width: 200px;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 20px -10px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover span {
    max-width: 120px; /* Ancho del texto */
    opacity: 1;
    margin-right: 20px; /* Espacio al final */
    transition-delay: 0.1s;
}

/* --- Otros Componentes --- */
.payment-instruction {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background: #f7f7f7;
  border-radius: 8px;
}

/* --- Clases de Utilidad --- */
.protected-data {
    unicode-bidi: bidi-override;
    direction: rtl;
    display: inline-block;
}

.copy-icon {
    cursor: pointer;
    color: var(--color-text-muted);
    margin-left: 8px;
    font-size: 0.9em;
    transition: all 0.2s ease;
}

.copy-icon:hover {
    color: var(--color-brand);
    transform: scale(1.1);
}

.copy-icon.success {
    color: var(--color-accent);
}

.crypt-link {
    cursor: pointer;
    color: var(--color-brand); /* O el color que prefieras para enlaces */
}

.font-size-4rem { font-size: 4rem; }
.text-blue-dark { color: #0056b3; }
.text-blue { color: #3182ce; }
.text-orange { color: #f16028; }
.text-orange-light { color: #ff6c2c; }
.text-gray-dark { color: #4a5568; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-3 { margin-top: 3rem; }
.mt-1 { margin-top: 1rem; }
.max-w-800 { max-width: 800px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.list-disc-pl-20 { list-style: disc; padding-left: 20px; }
.pl-20 { padding-left: 20px; }
.btn-lg-custom { font-size: 1.1rem; padding: 12px 30px; }

/* ===== FORMULARIO RECLAMACIONES ===== */
.complaint-form {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-section);
    max-width: 800px;
    margin: 0 auto;
}

.form-section-title {
    font-size: 1.1rem;
    color: var(--color-brand);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
    margin-top: 30px;
}

.form-section-title:first-child {
    margin-top: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgba(142, 211, 237, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-group label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-submit {
    background-color: var(--color-accent);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.btn-submit:hover {
    background-color: #7b9c08;
    transform: translateY(-2px);
}

.provider-info {
    background-color: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.provider-details p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.legal-notes {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: #718096;
}

.legal-notes p {
    margin-bottom: 8px;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: #2d3748;
    color: #cbd5e0;
    padding: 1.5rem 0;
    margin: 2rem auto;
    width: min(1120px, 92%);
    border-radius: var(--radius);
    box-shadow: var(--shadow-section);
}

.site-footer .container {
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-widget {
    position: relative;
}

.footer-widget h3 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 8px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-widget h3 i {
    margin-right: 8px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease-out;
}

.footer-widget h3:hover::after {
    width: 100%;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.footer-widget ul li {
    margin-bottom: 6px;
}

.footer-widget a {
    color: #cbd5e0;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-widget a::before {
    content: '\f054';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7em;
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-right: 5px;
}

.footer-widget a:hover {
    color: #fff;
}

.footer-widget a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-widget .crypt-link {
    color: #cbd5e0;
    transition: color 0.3s ease;
}

.footer-widget .crypt-link:hover {
    color: #fff;
    text-decoration: underline;
}

.dns-list li {
    font-family: monospace;
    background: rgba(0,0,0,0.2);
    color: #cbd5e0;
    padding: 6px 10px;
    border-radius: 4px;
    display: block;
    margin-bottom: 6px;
    width: fit-content;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    font-size: 1.3rem;
    color: #cbd5e0;
}

.social-links a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.site-info {
    border-top: 1px solid #4a5568;
    padding-top: 15px;
    text-align: center;
    font-size: 0.85rem;
    color: #a0aec0;
}

.footer-book-img {
    width: 150px;
    margin: 15px auto 0;
    border-radius: 6px;
    transition: transform 0.3s ease;
    display: block;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.4rem; }
    .hero-section h1 { font-size: 1.8rem; }
    .section-title { font-size: 1.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    #content { padding-top: 75px; }

    .hero-section .hero-features {
        grid-template-columns: 1fr;
    }
    .hero-section .container {
        padding: 20px 15px;
    }
    .hero-section {
        min-height: calc(100vh - 75px);
        min-height: calc(100dvh - 75px);
    }
    .btn-cta {
        padding: 12px 24px;
        font-size: 1rem;
    }
    .pricing-intro {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .mobile-scroll-hint {
        display: block;
        animation: pulse-hint 2s infinite;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Header Mobile */
    #masthead .container { 
        flex-direction: row; 
        justify-content: space-between; 
        height: 70px;
    }
    .site-branding { 
        margin-right: 0; 
    }
    .site-logo-div img {
        max-height: 40px;
        width: auto;
    }
    #nav-toggle {
        display: block;
        font-size: 1.1rem;
        font-weight: 700;
        padding: 10px;
        border: 1px solid var(--color-border);
        border-radius: 6px;
    }
    .onepress-menu { 
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column; 
        align-items: center; 
        gap: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        border-top: 1px solid #eee;
        padding: 10px 0;
    }
    .onepress-menu.mobile-active {
        display: flex;
    }
    .onepress-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f7f7f7;
    }
    .onepress-menu a {
        display: block;
        padding: 10px;
        width: 100%;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
@media (min-width: 769px) {
    .footer-widget:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -20px;
        top: 10%;
        height: 80%;
        width: 1px;
        background-color: rgba(0, 0, 0, 0.05);
    }
}

/* Optimización de Tabla para Móviles (Sticky Column) */
@media (max-width: 991px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Scroll suave en iOS */
        padding-bottom: 5px;
    }
    .pricing-table {
        min-width: 750px; /* Fuerza un ancho real para que no se aplaste el texto */
    }
    /* Hace que la primera columna (Características) se quede fija */
    .pricing-table th:first-child,
    .pricing-table td:first-child {
        position: sticky;
        left: 0;
        background-color: #ffffff; /* Fondo blanco para tapar el contenido que pasa por debajo */
        z-index: 5;
        border-right: 1px solid #e5e5e5;
        box-shadow: 2px 0 5px rgba(0,0,0,0.05); /* Sombra sutil para dar profundidad */
    }
}

/* Maximizar ancho de tabla en móviles vertical (Edge-to-Edge) */
@media (max-width: 768px) and (orientation: portrait) {
    #planes .container {
        width: 100%;
        max-width: 100%;
    }
    #planes .pricing-intro {
        padding-left: 20px;
        padding-right: 20px; /* Mantiene el texto con margen para lectura */
    }
    #planes .table-responsive {
        border-radius: 0; /* Elimina bordes redondeados al tocar los extremos */
        border-left: none;
        border-right: none;
        width: 100%;
    }
    #planes .mobile-scroll-hint {
        padding-right: 20px;
    }
}