/* ============================================================
   CUSTOM STYLES — Dr. Luis Eduardo Casasola
   Cirugía Hepato-Pancreato-Biliar
   ============================================================ */

/* --- Proyecto A: Elegancia Quirúrgica --- */
.propuesta-a .hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.propuesta-a .hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: linear-gradient(180deg, rgba(26,58,74,0.03) 0%, rgba(26,58,74,0.06) 100%);
    transform: rotate(-12deg);
    border-radius: 80px;
}
.propuesta-a .navbar-hero {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    z-index: 1030;
}
.propuesta-a .navbar-hero.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
}
.propuesta-a .hero-img {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(26,58,74,0.15);
}
.propuesta-a .hero-img::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    width: 100%;
    height: 100%;
    border: 3px solid #c9a96e;
    border-radius: 24px;
    z-index: -1;
}
.propuesta-a .text-brand {
    color: #1a3a4a;
}
.propuesta-a .text-accent {
    color: #c9a96e;
}
.propuesta-a .bg-brand {
    background-color: #1a3a4a;
}
.propuesta-a .bg-accent {
    background-color: #c9a96e;
}
.propuesta-a .bg-soft {
    background-color: #f8f9fa;
}
.propuesta-a .bg-sky {
    background-color: #e8f4f8;
}
.propuesta-a .btn-brand {
    background: #1a3a4a;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.propuesta-a .btn-brand:hover {
    background: #122a36;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26,58,74,0.3);
}
.propuesta-a .btn-accent {
    background: #c9a96e;
    color: #1a3a4a;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.propuesta-a .btn-accent:hover {
    background: #b8944f;
    color: #1a3a4a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,169,110,0.4);
}
.propuesta-a .btn-outline-brand {
    border: 2px solid #1a3a4a;
    color: #1a3a4a;
    background: transparent;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.propuesta-a .btn-outline-brand:hover {
    background: #1a3a4a;
    color: #fff;
}
.propuesta-a .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #c9a96e;
}
.propuesta-a .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #1a3a4a;
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 32px;
}
.propuesta-a .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #c9a96e;
}
.propuesta-a .section-title.text-start::after {
    left: 0;
    transform: none;
}
.propuesta-a .service-card {
    border: none;
    border-radius: 12px;
    padding: 40px 24px;
    text-align: center;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.4s ease;
    cursor: default;
    height: 100%;
}
.propuesta-a .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 2px solid #c9a96e;
    padding: 38px 22px;
}
.propuesta-a .service-card .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e8f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: #1a3a4a;
    transition: all 0.3s ease;
}
.propuesta-a .service-card:hover .icon-circle {
    background: #c9a96e;
    color: #fff;
}
.propuesta-a .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 16px;
}
.propuesta-a .gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.propuesta-a .gallery-item:hover img {
    transform: scale(1.08);
}
.propuesta-a .gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,58,74,0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.propuesta-a .gallery-item:hover .overlay {
    opacity: 1;
}
.propuesta-a .gallery-item .overlay i {
    color: #fff;
    font-size: 2rem;
}
.propuesta-a .blog-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.4s ease;
    height: 100%;
}
.propuesta-a .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.propuesta-a .blog-card img {
    height: 200px;
    object-fit: cover;
}
.propuesta-a .blog-card .card-body {
    padding: 20px;
}
.propuesta-a .blog-card .date {
    font-size: 0.8rem;
    color: #c9a96e;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.propuesta-a .cta-section {
    background: #1a3a4a;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.propuesta-a .contact-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    padding: 40px;
}
.propuesta-a .whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse-wa 2s infinite;
}
.propuesta-a .whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 6px 30px rgba(37,211,102,0.7); }
}

/* --- Propuesta B: Estilo Competencia --- */
.propuesta-b .top-bar {
    background: #0d3b66;
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
}
.propuesta-b .top-bar a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
}
.propuesta-b .top-bar a:hover {
    color: #fff;
}
.propuesta-b .navbar-med {
    background: #0d3b66;
    padding: 12px 0;
}
.propuesta-b .navbar-med .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: color 0.2s;
}
.propuesta-b .navbar-med .nav-link:hover {
    color: #e8b90b !important;
}
.propuesta-b .navbar-med .btn-cta {
    background: #e8b90b;
    color: #0d3b66;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s;
}
.propuesta-b .navbar-med .btn-cta:hover {
    background: #f0cc30;
    transform: translateY(-1px);
}
.propuesta-b .hero-med {
    background: linear-gradient(180deg, #0d3b66 0%, #1b6ca8 100%);
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
}
.propuesta-b .hero-med h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
}
.propuesta-b .hero-med .doctor-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    margin-bottom: 24px;
}
.propuesta-b .btn-wa {
    background: #25d366;
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    transition: all 0.3s;
}
.propuesta-b .btn-wa:hover {
    background: #1ea851;
    color: #fff;
    transform: translateY(-2px);
}
.propuesta-b .btn-call {
    background: #fff;
    color: #0d3b66;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    transition: all 0.3s;
}
.propuesta-b .btn-call:hover {
    background: #f0f2f5;
    transform: translateY(-2px);
}
.propuesta-b .btn-doctoralia {
    background: #00b8ce;
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    transition: all 0.3s;
}
.propuesta-b .btn-doctoralia:hover {
    background: #0097aa;
    color: #fff;
    transform: translateY(-2px);
}
.propuesta-b .section-bg-gray {
    background: #f0f2f5;
}
.propuesta-b .section-title-b {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #0d3b66;
    margin-bottom: 12px;
}
.propuesta-b .section-divider {
    width: 60px;
    height: 4px;
    background: #1b6ca8;
    margin: 0 auto 32px;
    border-radius: 2px;
}
.propuesta-b .stat-box {
    text-align: center;
    padding: 30px 20px;
}
.propuesta-b .stat-box .stat-icon {
    font-size: 2.5rem;
    color: #e8b90b;
    margin-bottom: 12px;
}
.propuesta-b .stat-box .stat-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}
.propuesta-b .stat-box .stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}
.propuesta-b .service-card-b {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s;
    height: 100%;
}
.propuesta-b .service-card-b:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.propuesta-b .service-card-b img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.propuesta-b .service-card-b .card-body {
    padding: 20px;
}
.propuesta-b .benefit-card {
    text-align: center;
    padding: 30px 20px;
}
.propuesta-b .benefit-card .benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(13,59,102,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 30px;
    color: #1b6ca8;
}
.propuesta-b .insurances-row img {
    max-height: 40px;
    margin: 8px 16px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}
.propuesta-b .insurances-row img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
.propuesta-b .testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin: 0 10px;
}
.propuesta-b .testimonial-card .stars {
    color: #e8b90b;
    margin-bottom: 12px;
}
.propuesta-b .testimonial-card .quote {
    font-style: italic;
    color: #555;
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
}
.propuesta-b .testimonial-card .author {
    font-weight: 600;
    color: #0d3b66;
}
.propuesta-b .footer-med {
    background: #0d3b66;
    color: rgba(255,255,255,0.8);
    padding: 50px 0 20px;
}
.propuesta-b .footer-med h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 16px;
}
.propuesta-b .footer-med a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}
.propuesta-b .footer-med a:hover {
    color: #e8b90b;
}
.propuesta-b .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 30px;
    font-size: 0.85rem;
}

/* --- Shared --- */
.smooth-scroll {
    scroll-behavior: smooth;
}
.section-padding {
    padding: 80px 0;
}
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
    .section-title, .propuesta-a .section-title {
        font-size: 1.8rem;
    }
    .hero-med h1 {
        font-size: 2rem;
    }
}
