@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --rp-primary: #FC0E0E;
    --rp-primary-hover: #D00000;
    --rp-dark: #111111;
    --rp-light: #F8F9FA;
    --rp-white: #FFFFFF;
    --rp-text-main: #333333;
    --rp-text-muted: #666666;
    --rp-font-heading: 'Poppins', sans-serif;
    --rp-font-body: 'Roboto', sans-serif;
}

body {
    font-family: var(--rp-font-body);
    color: var(--rp-text-main);
    background-color: var(--rp-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--rp-font-heading);
    font-weight: 700;
    color: var(--rp-dark);
}

/* === HEADER & NAVBAR === */
.site-header {
    background-color: var(--rp-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.site-header .nav-link {
    font-family: var(--rp-font-heading);
    font-weight: 600;
    color: var(--rp-dark);
    padding: 10px 20px !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.site-header .nav-link:hover {
    color: var(--rp-primary);
}

/* === BUTTONS === */
.btn-rp {
    background-color: var(--rp-primary);
    color: var(--rp-white) !important;
    font-family: var(--rp-font-heading);
    font-weight: 600;
    border: 2px solid var(--rp-primary);
    border-radius: 4px; /* Slightly rounded edges, very premium */
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-rp:hover {
    background-color: transparent;
    color: var(--rp-primary) !important;
}

.btn-rp-outline {
    background-color: transparent;
    color: var(--rp-primary) !important;
    font-family: var(--rp-font-heading);
    font-weight: 600;
    border: 2px solid var(--rp-primary);
    border-radius: 4px;
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-rp-outline:hover {
    background-color: var(--rp-primary);
    color: var(--rp-white) !important;
}

/* === BUTTONS SMALL (Para Menú) === */
.btn-rp-sm {
    background-color: var(--rp-primary);
    color: var(--rp-white) !important;
    font-family: var(--rp-font-heading);
    font-weight: 600;
    border: 2px solid var(--rp-primary);
    border-radius: 4px;
    padding: 6px 15px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-rp-sm:hover {
    background-color: transparent;
    color: var(--rp-primary) !important;
}

.btn-rp-outline-sm {
    background-color: transparent;
    color: var(--rp-primary) !important;
    font-family: var(--rp-font-heading);
    font-weight: 600;
    border: 2px solid var(--rp-primary);
    border-radius: 4px;
    padding: 6px 15px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-rp-outline-sm:hover {
    background-color: var(--rp-primary);
    color: var(--rp-white) !important;
}

/* === HERO SECTION === */
.hero-slider-item {
    position: relative;
    height: 80vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7)); /* Cinematic Dark Overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    color: var(--rp-white);
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content p {
    color: var(--rp-white);
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* === ICON BOXES (Tarjetas de Pasos/Servicios) === */
.rp-icon-box {
    background: var(--rp-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    border-bottom: 4px solid transparent;
}

.rp-icon-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom-color: var(--rp-primary);
}

.rp-icon-box .icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: rgba(252, 14, 14, 0.1);
    color: var(--rp-primary);
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.rp-icon-box:hover .icon-wrapper {
    background-color: var(--rp-primary);
    color: var(--rp-white);
}

.rp-icon-box h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.rp-icon-box p {
    color: var(--rp-text-muted);
    font-size: 0.95rem;
}

/* === SECTION TITLES === */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 20px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--rp-primary);
}
.section-title p {
    color: var(--rp-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* === FOOTER === */
.site-footer {
    background-color: var(--rp-dark);
    color: var(--rp-white);
    padding: 80px 0 30px;
}
.site-footer h5 {
    color: var(--rp-white);
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
}
.site-footer a {
    color: #999999;
    text-decoration: none;
    transition: color 0.3s ease;
}
.site-footer a:hover {
    color: var(--rp-primary);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    color: #777777;
    font-size: 0.9rem;
}
