/**
 * Raffaelli & Asociados - Main CSS v1.0.0
 */

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ra-font-body);
    color: var(--ra-gray-700);
    background: var(--ra-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--ra-font-heading);
    color: var(--ra-dark);
    line-height: 1.25;
}

h1 { font-size: var(--ra-text-5xl); font-weight: 700; }
h2 { font-size: var(--ra-text-4xl); font-weight: 700; }
h3 { font-size: var(--ra-text-2xl); font-weight: 600; }

a {
    color: var(--ra-primary);
    text-decoration: none;
    transition: color var(--ra-transition);
}
a:hover { color: var(--ra-accent); }

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

::selection {
    background: var(--ra-accent);
    color: var(--ra-white);
}

/* ============================================
   SPLASH SCREEN
   ============================================ */
.splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--ra-primary-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}
.splash-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.splash-logo {
    object-fit: contain;
    animation: splashPulse 1.8s ease-out forwards;
}
@keyframes splashPulse {
    0% { transform: scale(0.6); opacity: 0; }
    60% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* Windows 11 style spinner */
.splash-spinner {
    width: 40px;
    height: 40px;
    animation: splashFadeIn 0.6s ease 0.5s both;
}
@keyframes splashFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.splash-spinner-svg {
    width: 100%;
    height: 100%;
    animation: spinnerRotate 1.4s linear infinite;
}
.splash-spinner-svg circle {
    stroke: rgba(255,255,255,0.25);
    stroke-linecap: round;
    animation: spinnerDash 1.4s ease-in-out infinite;
}
@keyframes spinnerRotate {
    100% { transform: rotate(360deg); }
}
@keyframes spinnerDash {
    0% {
        stroke-dasharray: 1, 126;
        stroke-dashoffset: 0;
        stroke: rgba(255,255,255,0.3);
    }
    50% {
        stroke-dasharray: 90, 126;
        stroke-dashoffset: -35;
        stroke: var(--ra-accent);
    }
    100% {
        stroke-dasharray: 1, 126;
        stroke-dashoffset: -125;
        stroke: rgba(255,255,255,0.3);
    }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    padding: 0.75rem 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: all var(--ra-transition);
    z-index: 1040;
}
.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--ra-shadow);
}
.navbar-transparent {
    background: transparent;
    border-bottom-color: transparent;
}
.navbar-transparent.scrolled {
    background: rgba(255,255,255,0.97);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.brand-name {
    font-family: var(--ra-font-heading);
    font-weight: 700;
    font-size: var(--ra-text-lg);
    color: var(--ra-primary-dark);
    display: block;
    line-height: 1.2;
}
.brand-tagline {
    font-size: var(--ra-text-xs);
    color: var(--ra-gray-500);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
}

.navbar .nav-link {
    color: var(--ra-gray-700);
    font-weight: 500;
    font-size: var(--ra-text-sm);
    padding: 0.5rem 0.85rem;
    position: relative;
    transition: color var(--ra-transition);
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 0.85rem;
    right: 0.85rem;
    height: 2px;
    background: var(--ra-accent);
    transform: scaleX(0);
    transition: transform var(--ra-transition);
    transform-origin: left;
}
.navbar .nav-link:hover { color: var(--ra-primary); }
.navbar .nav-link:hover::after { transform: scaleX(1); }

.navbar-toggler {
    color: var(--ra-dark);
    padding: 0.4rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    background: var(--ra-primary);
    border-color: var(--ra-primary);
    border-radius: var(--ra-radius);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--ra-transition);
}
.btn-primary:hover {
    background: var(--ra-primary-dark);
    border-color: var(--ra-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--ra-primary-rgb), 0.3);
}

.btn-accent {
    background: var(--ra-accent);
    border: 1px solid var(--ra-accent);
    color: var(--ra-white);
    font-weight: 600;
    transition: all var(--ra-transition);
}
.btn-accent:hover {
    background: var(--ra-accent-dark);
    border-color: var(--ra-accent-dark);
    color: var(--ra-white);
    transform: translateY(-1px);
    box-shadow: var(--ra-shadow-accent);
}

.btn-outline-primary {
    color: var(--ra-primary);
    border-color: var(--ra-primary);
    border-radius: var(--ra-radius);
    font-weight: 600;
}
.btn-outline-primary:hover {
    background: var(--ra-primary);
    color: var(--ra-white);
}

/* ============================================
   HERO
   ============================================ */
.hero-section {
    position: relative;
    padding: 5rem 0 4rem;
    background: linear-gradient(160deg, var(--ra-off-white) 0%, var(--ra-white) 50%, rgba(var(--ra-accent-rgb), 0.04) 100%);
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--ra-accent-rgb), 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.text-accent {
    color: var(--ra-accent);
}

.hero-subtitle {
    font-size: var(--ra-text-lg);
    color: var(--ra-gray-500);
    max-width: 520px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: rgba(var(--ra-accent-rgb), 0.1);
    color: var(--ra-accent-dark);
    border-radius: var(--ra-radius-full);
    font-size: var(--ra-text-sm);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-carousel {
    border-radius: var(--ra-radius-xl);
    overflow: hidden;
    box-shadow: var(--ra-shadow-lg);
}
.hero-slide {
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
}
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-slide-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    width: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 100%);
}
.hero-slide-title {
    color: #fff;
    font-family: var(--ra-font-heading);
    font-size: var(--ra-text-2xl);
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hero-slide-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: var(--ra-text-sm);
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ra-gray-100);
}
.hero-stat-number {
    font-family: var(--ra-font-heading);
    font-size: var(--ra-text-3xl);
    font-weight: 700;
    color: var(--ra-primary);
    line-height: 1;
}
.hero-stat-label {
    font-size: var(--ra-text-sm);
    color: var(--ra-gray-500);
}

/* ============================================
   SECTIONS
   ============================================ */
.section-padding {
    padding: var(--ra-section-py) 0;
}
.section-light {
    background: var(--ra-off-white);
}
.section-dark {
    background: var(--ra-primary-dark);
    color: var(--ra-white);
}
.section-dark h2, .section-dark h3 {
    color: var(--ra-white);
}

.section-header {
    max-width: 640px;
    margin-bottom: 3rem;
}
.section-label {
    display: inline-block;
    font-size: var(--ra-text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ra-accent);
    margin-bottom: 0.75rem;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
    background: var(--ra-white);
    border: 1px solid var(--ra-gray-100);
    border-radius: var(--ra-radius-lg);
    padding: 1.75rem;
    transition: all var(--ra-transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ra-primary), var(--ra-accent));
    transform: scaleX(0);
    transition: transform var(--ra-transition);
    transform-origin: left;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ra-shadow-lg);
    border-color: transparent;
}
.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--ra-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--ra-primary-rgb), 0.08), rgba(var(--ra-accent-rgb), 0.08));
    color: var(--ra-primary);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    transition: all var(--ra-transition);
}
.service-card:hover .service-icon-wrap {
    background: var(--ra-primary);
    color: var(--ra-white);
}

.service-card h5 {
    font-family: var(--ra-font-heading);
    font-size: var(--ra-text-lg);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.service-list li {
    padding: 0.3rem 0;
    font-size: var(--ra-text-sm);
    color: var(--ra-gray-500);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.service-list li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ra-accent);
    flex-shrink: 0;
    margin-top: 0.45rem;
}

.service-card .btn-link {
    color: var(--ra-accent);
    font-weight: 600;
    font-size: var(--ra-text-sm);
    text-decoration: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1rem;
    transition: all var(--ra-transition);
}
.service-card .btn-link:hover {
    color: var(--ra-primary);
    gap: 0.5rem;
}

/* ============================================
   ABOUT / NOSOTROS
   ============================================ */
.about-img {
    border-radius: var(--ra-radius-xl);
    box-shadow: var(--ra-shadow-lg);
}
.about-feature {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.about-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(var(--ra-accent-rgb), 0.12);
    color: var(--ra-accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-accordion .accordion-item {
    border: 1px solid var(--ra-gray-100);
    border-radius: var(--ra-radius-lg) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.faq-accordion .accordion-button {
    font-family: var(--ra-font-body);
    font-weight: 600;
    font-size: var(--ra-text-base);
    color: var(--ra-dark);
    background: var(--ra-white);
    padding: 1.15rem 1.25rem;
    box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--ra-primary);
    background: rgba(var(--ra-primary-rgb), 0.03);
}
.faq-accordion .accordion-button::after {
    background-image: none;
    content: '\F282';
    font-family: 'bootstrap-icons';
    font-size: 0.85rem;
    color: var(--ra-accent);
    transition: transform var(--ra-transition);
}
.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}
.faq-accordion .accordion-body {
    color: var(--ra-gray-500);
    font-size: var(--ra-text-sm);
    padding: 0 1.25rem 1.25rem;
    line-height: 1.7;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.form-control, .form-select {
    border-radius: var(--ra-radius);
    border-color: var(--ra-gray-200);
    padding: 0.65rem 1rem;
    font-size: var(--ra-text-sm);
    transition: all var(--ra-transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--ra-accent);
    box-shadow: 0 0 0 3px rgba(var(--ra-accent-rgb), 0.12);
}
.form-label {
    font-weight: 500;
    font-size: var(--ra-text-sm);
    color: var(--ra-gray-700);
}

.contact-info-card {
    background: var(--ra-primary-dark);
    color: var(--ra-white);
    border-radius: var(--ra-radius-xl);
    padding: 2rem;
    height: 100%;
}
.contact-info-card h5 { color: var(--ra-white); }
.contact-info-card a { color: rgba(255,255,255,0.8); }
.contact-info-card a:hover { color: var(--ra-accent-light); }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0;
}
.contact-info-item i {
    color: var(--ra-accent);
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

/* ============================================
   MAP
   ============================================ */
.map-wrapper {
    border-radius: var(--ra-radius-xl);
    overflow: hidden;
    box-shadow: var(--ra-shadow);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--ra-dark);
    color: rgba(255,255,255,0.85);
}
.site-footer a {
    color: rgba(255,255,255,0.85);
    transition: color var(--ra-transition);
}
.site-footer a:hover {
    color: var(--ra-accent-light);
}
.site-footer p, .site-footer small {
    color: rgba(255,255,255,0.7);
}
/* Override Bootstrap .text-muted !important inside footer */
.site-footer .text-muted,
.site-footer .footer-muted {
    color: rgba(255,255,255,0.65) !important;
    --bs-secondary-color: rgba(255,255,255,0.65) !important;
    --bs-text-opacity: 1 !important;
}

.footer-heading {
    color: var(--ra-white);
    font-family: var(--ra-font-body);
    font-weight: 700;
    font-size: var(--ra-text-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}
.footer-links li {
    margin-bottom: 0.4rem;
}
.footer-links a {
    font-size: var(--ra-text-sm);
    color: rgba(255,255,255,0.8);
}
.footer-links a:hover {
    color: var(--ra-accent-light);
}
.footer-contact li {
    font-size: var(--ra-text-sm);
    display: flex;
    align-items: flex-start;
    gap: 0;
    color: rgba(255,255,255,0.85);
}
.footer-contact i {
    color: var(--ra-accent);
    flex-shrink: 0;
}

.footer-social {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all var(--ra-transition);
}
.footer-social:hover {
    background: var(--ra-accent);
    color: var(--ra-white) !important;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-bottom small, .footer-bottom .text-muted {
    color: rgba(255,255,255,0.6) !important;
}
.footer-bottom a {
    color: var(--ra-accent-light) !important;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(37,211,102,0.35);
    z-index: 1050;
    transition: all var(--ra-transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
}
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--ra-dark);
    color: var(--ra-white);
    padding: 0.35rem 0.85rem;
    border-radius: var(--ra-radius);
    font-size: var(--ra-text-sm);
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(5px);
    transition: all var(--ra-transition);
    pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   NOVEDADES / POSTS
   ============================================ */
.post-card {
    background: var(--ra-white);
    border: 1px solid var(--ra-gray-100);
    border-radius: var(--ra-radius-lg);
    overflow: hidden;
    transition: all var(--ra-transition);
    height: 100%;
}
.post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ra-shadow-lg);
}
.post-card-img {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
}
.post-card-body {
    padding: 1.25rem;
}
.post-card-category {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(var(--ra-accent-rgb), 0.1);
    color: var(--ra-accent-dark);
    border-radius: var(--ra-radius-full);
    font-size: var(--ra-text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}
.post-card-title {
    font-family: var(--ra-font-heading);
    font-size: var(--ra-text-lg);
    line-height: 1.35;
    margin-bottom: 0.5rem;
}
.post-card-title a {
    color: var(--ra-dark);
}
.post-card-title a:hover {
    color: var(--ra-primary);
}
.post-card-excerpt {
    font-size: var(--ra-text-sm);
    color: var(--ra-gray-500);
    line-height: 1.6;
}
.post-card-meta {
    font-size: var(--ra-text-xs);
    color: var(--ra-gray-300);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--ra-gray-100);
}

/* ============================================
   TOAST / ALERTS
   ============================================ */
.alert-toast {
    position: fixed;
    top: 5rem;
    right: 1rem;
    z-index: 1080;
    min-width: 280px;
    max-width: 400px;
    animation: slideInRight 0.4s ease;
}
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination .page-link {
    border-radius: var(--ra-radius);
    margin: 0 0.15rem;
    border: 1px solid var(--ra-gray-200);
    color: var(--ra-gray-700);
    font-size: var(--ra-text-sm);
    padding: 0.4rem 0.8rem;
}
.pagination .page-item.active .page-link {
    background: var(--ra-primary);
    border-color: var(--ra-primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    h1, .hero-title { font-size: var(--ra-text-3xl); }
    h2 { font-size: var(--ra-text-2xl); }
    .section-padding { padding: 3.5rem 0; }
    .hero-section { padding: 3rem 0 2.5rem; }
    .hero-slide { height: 300px !important; }
    .hero-slide-title { font-size: var(--ra-text-lg); }
    .hero-stats { gap: 1.5rem; }

    .navbar-collapse {
        background: var(--ra-white);
        border-radius: var(--ra-radius);
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: var(--ra-shadow);
    }
}

@media (max-width: 575.98px) {
    .hero-stats { flex-direction: column; gap: 1rem; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.3rem; }
    .whatsapp-tooltip { display: none; }
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 44px;
    height: 44px;
    background: var(--ra-primary);
    color: var(--ra-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--ra-transition);
    box-shadow: var(--ra-shadow);
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    background: var(--ra-accent);
    transform: translateY(-2px);
    box-shadow: var(--ra-shadow-lg);
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
    font-size: var(--ra-text-sm);
    font-weight: 500;
    text-align: center;
    position: relative;
    z-index: 1041;
    animation: slideDown 0.4s ease;
}
@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.announcement-text {
    flex: 0 1 auto;
}
.announcement-link {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}
.announcement-link:hover {
    opacity: 0.85;
}
.announcement-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    padding: 0 0.25rem;
    margin-left: 0.5rem;
}
.announcement-close:hover { opacity: 1; }

/* ============================================
   POPUP
   ============================================ */
.ra-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.3s ease;
}
.ra-popup-overlay.ra-popup-bottom-align {
    align-items: flex-end;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.ra-popup {
    border-radius: var(--ra-radius-xl);
    box-shadow: var(--ra-shadow-lg);
    overflow: hidden;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: popupSlide 0.4s ease;
}
@keyframes popupSlide {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.ra-popup-sm { width: 100%; max-width: 360px; }
.ra-popup-md { width: 100%; max-width: 500px; }
.ra-popup-lg { width: 100%; max-width: 680px; }
.ra-popup-xl { width: 100%; max-width: 860px; }
.ra-popup-bottom { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.ra-popup-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.1);
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all var(--ra-transition);
}
.ra-popup-close:hover {
    background: rgba(0,0,0,0.2);
}
.ra-popup-img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
}
.ra-popup-body {
    padding: 1.75rem;
}
.ra-popup-title {
    font-family: var(--ra-font-heading);
    font-size: var(--ra-text-2xl);
    margin-bottom: 0.75rem;
}
.ra-popup-content {
    color: var(--ra-gray-500);
    font-size: var(--ra-text-sm);
    line-height: 1.7;
}
