/* ==========================================================================
   Variables, Reset & Base Styles
   ========================================================================== */
:root {
    --primary-color: #0A2540;     /* Deep Blue Premium */
    --secondary-color: #D4AF37;   /* Gold Accent */
    --primary-light: #163659;     /* Deep Blue Lighter */
    --gold-hover: #bfa030;        /* Gold Darker */
    --accent-color: #0070F3;      /* Tech Blue */
    --text-color: #2D3748;        /* Off-black */
    --text-light: #718096;        /* Slate Grey */
    --bg-light: #F7FAFC;          /* Premium Warm White */
    --white: #FFFFFF;
    --border-radius-lg: 16px;
    --border-radius-md: 8px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(10, 37, 64, 0.08), 0 10px 10px -5px rgba(10, 37, 64, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Typography & Headers (Plus Jakarta Sans)
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.25;
}

.section-header {
    max-width: 900px;
    margin: 0 auto 1.75rem; /* Highly compact bottom margin */
}

.section-title {
    font-size: 2.75rem;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.text-center .section-title::after {
    margin: 0.75rem auto 0;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.15rem;
    font-weight: 400;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--secondary-color);
}

.uppercase {
    text-transform: uppercase;
}

.tracking {
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    font-weight: 700;
}

.block-mb {
    display: block;
    margin-bottom: 1rem;
}

.section {
    padding: 2.25rem 0; /* Sleek, highly compact proportional spacing */
}

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

/* ==========================================================================
   Buttons (Premium CTAs)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(10, 37, 64, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 37, 64, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-gold {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-whatsapp-cta {
    background-color: #25D366;
    color: var(--white);
    font-size: 1.05rem;
    padding: 1.1rem 2.2rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-cta:hover {
    background-color: #1ebd5b;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.w-100 {
    width: 100%;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

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

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    z-index: 1000;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(10, 37, 64, 0.05);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary-color);
}

.logo-avatar-container {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.logo-avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.3); /* Zoom past the black corners of the jpeg */
    transition: var(--transition);
}

.logo:hover .logo-avatar-container {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.footer-avatar {
    width: 60px;
    height: 60px;
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

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

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a.btn-primary {
    color: var(--white);
    padding: 0.65rem 1.25rem;
    border-radius: var(--border-radius-md);
}

.nav-links a.btn-primary:hover {
    color: var(--white);
}

.nav-links a.btn-primary::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.65rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--secondary-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 95vh;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
}

.hero-content {
    max-width: 820px;
}

.hero h1 {
    color: var(--white);
    font-size: 3.75rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 720px;
}

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

/* ==========================================================================
   Pain Cards Section (Tarjetas de Dolor)
   ========================================================================== */
.pain-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.25rem 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(10, 37, 64, 0.05);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    opacity: 0.8;
}

.pain-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.2);
}

.pain-card:hover::before {
    background: var(--secondary-color);
}

.pain-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(10, 37, 64, 0.04);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.pain-card:hover .pain-icon-wrapper {
    background: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
}

.pain-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.pain-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.65;
}

.badge-gold {
    align-self: flex-start;
    background: rgba(212, 175, 55, 0.15);
    color: #a37c1a;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    text-transform: uppercase;
    margin-top: 1.5rem;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Sobre Mí Section (Sobre Mauro)
   ========================================================================== */
.sobre-mi-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 3rem;
    align-items: center;
}

.sobre-mi-img {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--secondary-color);
    background-color: var(--primary-color);
}

.sobre-mi-img img {
    width: 100%;
    border-radius: 0;
    object-fit: cover;
    aspect-ratio: 1/1; /* Perfect square crop */
    transform: scale(1.22); /* Zoom past the black/grey outer corners */
    transition: var(--transition);
}

.sobre-mi-img:hover img {
    transform: scale(1.28);
}

.profile-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 1.25rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--secondary-color);
}

.profile-badge i {
    font-size: 1.75rem;
    color: var(--secondary-color);
}

.profile-badge span {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.sobre-mi-info h2 {
    font-size: 2.5rem;
    margin: 0.5rem 0 1.25rem;
    letter-spacing: -0.02em;
}

.subtitle-profile {
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.profile-desc {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.profile-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    background: rgba(212, 175, 55, 0.1);
    padding: 12px;
    border-radius: 12px;
}

.feature-item h4 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Servicios (Portafolio Renovado)
   ========================================================================== */
.service-card {
    background: var(--white);
    padding: 2.25rem 1.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(10, 37, 64, 0.03);
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    border-bottom-color: var(--secondary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card i {
    font-size: 2.75rem;
    color: var(--secondary-color);
    background: rgba(212, 175, 55, 0.08);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.service-card:hover i {
    background: var(--secondary-color);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ==========================================================================
   El Gran Diferencial
   ========================================================================== */
.bg-gradient-dark {
    background: linear-gradient(135deg, #0A2540 0%, #06192d 100%);
    position: relative;
    overflow: hidden;
}

.bg-gradient-dark::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.differential-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.differential-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0 auto 4rem;
}

.max-width-700 {
    max-width: 850px;
}

.text-white {
    color: var(--white);
}

.text-white-opacity {
    color: rgba(255, 255, 255, 0.85);
}

.differential-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap;
}

.diff-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.diff-icon-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.05);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.25);
    transition: var(--transition);
}

.diff-icon-card:hover i {
    transform: scale(1.1);
    background: var(--secondary-color);
    color: var(--primary-color);
}

.diff-icon-card h4 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
}

/* ==========================================================================
   Agendamiento (Calendario de Citas)
   ========================================================================== */
.scheduler-container {
    display: flex;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 820px;
    margin: 0 auto;
    border: 1px solid rgba(10, 37, 64, 0.05);
}

.calendar-panel {
    flex: 1.25;
    padding: 2rem;
    background: var(--white);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-header h3 {
    font-size: 1.2rem;
    margin: 0;
}

.calendar-header button {
    background: rgba(10, 37, 64, 0.05);
    border: none;
    font-size: 1.1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.calendar-header button:hover {
    background: var(--primary-color);
    color: var(--white);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}

.day-header {
    font-weight: 700;
    color: var(--text-light);
    font-size: 0.8rem;
    padding-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.day-cell {
    padding: 9px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
}

.day-cell:hover:not(.disabled):not(.active) {
    background: rgba(10, 37, 64, 0.05);
    color: var(--primary-color);
}

.day-cell.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(10, 37, 64, 0.3);
}

.day-cell.disabled {
    color: #CBD5E0;
    cursor: not-allowed;
    pointer-events: none;
}

.time-slots-panel {
    flex: 0.85;
    padding: 2rem;
    background: var(--bg-light);
    border-left: 1px solid rgba(10, 37, 64, 0.05);
    display: flex;
    flex-direction: column;
}

.time-slots-panel h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(10, 37, 64, 0.05);
    padding-bottom: 8px;
}

.slots-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Custom Scrollbar for Time Slots */
.slots-grid::-webkit-scrollbar {
    width: 6px;
}

.slots-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
}

.slots-grid::-webkit-scrollbar-thumb {
    background: rgba(10, 37, 64, 0.15);
    border-radius: 10px;
}

.time-slot {
    background: var(--white);
    border: 1px solid rgba(10, 37, 64, 0.15);
    color: var(--primary-color);
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.time-slot:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

#agendamiento {
    padding: 2.25rem 0 !important; /* Matches overall compact section spacing */
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 460px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(10, 37, 64, 0.05);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.modal-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

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

.modal-content input {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1.5px solid rgba(10, 37, 64, 0.15);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.modal-content input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.08);
}

/* ==========================================================================
   Comentarios / Testimonios
   ========================================================================== */
.comments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem; /* Large margin instead of hr */
}

.comment-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(10, 37, 64, 0.03);
    position: relative;
    transition: var(--transition);
}

.comment-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.comment-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1rem;
}

.comment-card h4 {
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 700;
}

.add-comment-section {
    max-width: 650px;
    margin: 0 auto;
    background: var(--white);
    padding: 3.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(10, 37, 64, 0.05);
}

.add-comment-section h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    text-align: center;
}

.add-comment-section form {
    display: flex;
    flex-direction: column;
}

.rating-select {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-select label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.add-comment-section input,
.add-comment-section select,
.add-comment-section textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1.5px solid rgba(10, 37, 64, 0.15);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-color);
    transition: var(--transition);
}

.add-comment-section input:focus,
.add-comment-section select:focus,
.add-comment-section textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.08);
}

/* ==========================================================================
   Blog & Videos
   ========================================================================== */
.blog-card {
    padding: 0;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.blog-img-placeholder {
    height: 240px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transition: var(--transition);
}

.blog-card:hover .blog-img-placeholder {
    transform: scale(1.03);
}

.video-container {
    height: 240px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-placeholder i {
    font-size: 4.5rem;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.video-placeholder i:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.blog-content {
    padding: 2.25rem;
}

.blog-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--accent-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.read-more:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

/* ==========================================================================
   Floating Buttons
   ========================================================================== */
.floating-socials {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    font-size: 1.35rem;
    border: 1px solid rgba(10, 37, 64, 0.05);
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.floating-whatsapp {
    position: fixed;
    right: 40px;
    bottom: 40px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    z-index: 100;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 0;
    border-top: 3px solid var(--secondary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem; /* Spacing before lower footer */
}

.footer-logo img {
    height: 80px;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.footer-col ul a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-col p i {
    color: var(--secondary-color);
    width: 25px;
    font-size: 1.05rem;
}

.footer-col .footer-logo + p {
    margin-bottom: 0;
}

.footer-col p {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    background: #051424;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1100px) {
    .nav-links {
        gap: 1.15rem;
    }
}

@media (max-width: 1024px) {
    .sobre-mi-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .sobre-mi-img {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 1.75rem 0;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo img {
        height: 50px;
    }

    .nav-links {
        display: none; /* JS will toggle open class */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        border-top: 1px solid rgba(10, 37, 64, 0.05);
    }
    
    .nav-links.open {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 1.25rem;
        border-bottom: 1px solid rgba(10, 37, 64, 0.03);
    }
    
    .nav-links a.btn-primary {
        margin: 1rem auto;
        width: 80%;
    }

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

    .hero {
        min-height: 80vh;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .scheduler-container {
        flex-direction: column;
    }

    .time-slots-panel {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(10, 37, 64, 0.05);
        padding: 2.5rem 2rem;
    }
    
    .calendar-panel {
        padding: 2.5rem 2rem;
    }

    .floating-socials {
        display: none; /* Hide side floating on small screens */
    }
    
    .floating-whatsapp {
        right: 25px;
        bottom: 25px;
        width: 55px;
        height: 55px;
        font-size: 1.85rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================================================
   Announcement Bar (Top Banner Alert)
   ========================================================================== */
.announcement-bar {
    background-color: #E53E3E; /* Red Alert Season */
    color: var(--white);
    padding: 0.65rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.announcement-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.announcement-badge {
    background-color: var(--white);
    color: #E53E3E;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.announcement-text {
    color: var(--white);
}

.announcement-link {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 700;
    margin-left: 5px;
    transition: var(--transition);
}

.announcement-link:hover {
    color: var(--white);
}

/* Adjust fixed headers for top bar */
body {
    padding-top: 135px; /* Offset for announcement-bar + navbar */
}

.navbar {
    top: 38px; /* Fixed navbar placed right under top banner */
}

@media (max-width: 768px) {
    body {
        padding-top: 165px;
    }
    .navbar {
        top: 62px;
    }
    .announcement-bar {
        padding: 0.5rem 0;
    }
    .announcement-container {
        flex-direction: column;
        gap: 6px;
    }
}

/* Navigation Highlighting */
.nav-links a.nav-season-highlight {
    color: var(--secondary-color) !important;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 8px;
    padding: 0.5rem 0.85rem !important;
    border: 1px dashed rgba(212, 175, 55, 0.35);
}

.nav-links a.nav-season-highlight:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--white) !important;
    border-style: solid;
}

.nav-links a.nav-season-highlight::after {
    display: none;
}

/* Hero Callout */
.hero-callout {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    padding: 0.55rem 1.35rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    animation: calloutPulse 2.5s infinite alternate;
}

.hero-callout .badge-gold {
    align-self: auto;
    margin-top: 0;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
}

.hero-callout a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.hero-callout a:hover {
    color: var(--secondary-color);
}

@keyframes calloutPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.2);
        transform: translateY(0);
    }
    100% {
        box-shadow: 0 0 0 8px rgba(212, 175, 55, 0);
        transform: translateY(-2px);
    }
}

/* ==========================================================================
   Season Section Layout (Temporada Fiscal)
   ========================================================================== */
.bg-season-accent {
    background: linear-gradient(135deg, #0A2540 0%, #031222 100%);
    position: relative;
    overflow: hidden;
}

.bg-season-accent::before {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(229, 62, 62, 0.04) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.text-white-title {
    color: var(--white) !important;
}

.text-white-sub {
    color: rgba(255, 255, 255, 0.8) !important;
}

.season-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2rem;
    margin-top: 0.5rem; /* Reduced top margin to align with section-header margin */
}

.card-season {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius-lg);
    padding: 2.25rem 2rem;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-season h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    border-left: 4px solid var(--secondary-color);
    padding-left: 15px;
}

.panel-intro-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

/* Topes list */
.topes-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tope-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 1.15rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition);
}

.tope-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.25);
    transform: translateX(4px);
}

.tope-val {
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 55%;
    line-height: 1.4;
}

.tope-limit {
    text-align: right;
    font-size: 1.05rem;
    color: var(--white);
    line-height: 1.3;
}

.tope-limit b {
    color: var(--secondary-color);
}

.tope-limit span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    display: block;
    margin-top: 4px;
}

.season-panel-footer {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

.source-info {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.source-info a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* NIT Calculator Widget */
.highlight-panel {
    background: rgba(10, 37, 64, 0.35);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.nit-calculator-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2.25rem 2rem;
    border-radius: 14px;
    margin-bottom: 1rem;
}

.nit-calculator-card label {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
    color: #FF5252; /* Rojo premium para alto impacto y legibilidad */
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.nit-input-row {
    display: flex;
    gap: 12px;
    margin-bottom: 1rem;
}

.nit-input-row input {
    flex: 1;
    background: rgba(0, 0, 0, 0.25);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    font-family: inherit;
    transition: var(--transition);
}

.nit-input-row input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.nit-input-row button {
    padding: 0 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

.nit-input-row button:hover {
    background-color: #e8c248;
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nit-input-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
}

/* Result Box */
.nit-result-box {
    margin-top: 1.75rem;
    background: rgba(37, 211, 102, 0.05);
    border: 1.5px solid rgba(37, 211, 102, 0.35);
    border-radius: 10px;
    padding: 1.75rem;
    text-align: center;
    animation: searchFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.result-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: #25D366;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.result-date {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.01em;
}

.result-warning {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* PDF Download Card */
.pdf-download-card {
    display: flex;
    gap: 1.35rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.75rem;
    border-radius: 14px;
    align-items: center;
    transition: var(--transition);
}

.pdf-download-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.pdf-icon {
    font-size: 2.5rem;
    color: #E53E3E; /* PDF Red */
}

.pdf-details h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.pdf-details p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-bottom: 0.85rem;
    line-height: 1.4;
}

.btn-download-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.btn-download-link:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive seasonal section */
@media (max-width: 992px) {
    .season-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.announcement-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 6px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .announcement-separator {
        display: none; /* Hide separator on mobile where links stack */
    }
}

/* Cross navigation links in seasonal panels */
.cross-nav-link {
    display: block;
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-top: 1.25rem;
    text-align: center;
    transition: var(--transition);
    padding: 0.65rem 1.25rem;
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cross-nav-link:hover {
    color: var(--white);
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

/* Sancion Alerta Box in season panel */
.sancion-alerta-box {
    background: rgba(229, 62, 62, 0.08);
    border: 1px dashed rgba(229, 62, 62, 0.35);
    border-radius: 8px;
    padding: 0.85rem 1.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.5;
}

.sancion-alerta-box i {
    font-size: 1.35rem;
    color: #FF5252;
}

.sancion-alerta-box b {
    color: #FF5252;
}

/* Renta Dedicated Hero Section Spacing Fix */
.renta-hero {
    min-height: auto !important;
    padding-top: 20px !important;
    padding-bottom: 40px !important;
}

@media (max-width: 768px) {
    .renta-hero {
        padding-top: 15px !important;
        padding-bottom: 30px !important;
    }
}

