/* ============================================
   RefreshingHaus - Custom Styles
   Built on Bootstrap 5.3.3
   ============================================ */

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
    /* Brand Colors */
    --rh-green-dark: #1B5E3B;
    --rh-green: #2D7A50;
    --rh-green-light: #52B788;
    --rh-white: #ffffff;
    --rh-gray-100: #f8f9fa;
    --rh-gray-200: #e9ecef;
    --rh-gray-300: #dee2e6;
    --rh-gray-500: #6c757d;
    --rh-gray-700: #495057;
    --rh-gray-900: #212529;

    /* Gradients */
    --rh-gradient-primary: linear-gradient(135deg, var(--rh-green-dark) 0%, var(--rh-green) 100%);
    --rh-gradient-light: linear-gradient(180deg, var(--rh-gray-100) 0%, var(--rh-white) 100%);

    /* Shadows */
    --rh-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --rh-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --rh-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --rh-shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --rh-transition: all 0.3s ease;
    --rh-transition-fast: all 0.15s ease;

    /* Border Radius */
    --rh-radius-sm: 0.5rem;
    --rh-radius: 1rem;
    --rh-radius-lg: 1.5rem;
    --rh-radius-xl: 2rem;
}

/* ============================================
   Base Styles
   ============================================ */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--rh-gray-900);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 3px solid var(--rh-green);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: var(--rh-green-light);
    color: var(--rh-white);
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--rh-gray-900);
    line-height: 1.3;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--rh-gray-500);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.text-green {
    color: var(--rh-green) !important;
}

.text-green-dark {
    color: var(--rh-green-dark) !important;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--rh-shadow-sm);
    transition: var(--rh-transition);
    padding: 0.75rem 0;
}

.navbar.scrolled {
    box-shadow: var(--rh-shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--rh-green-dark) !important;
}

.navbar-brand img {
    height: 55px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--rh-gray-700) !important;
    padding: 0.5rem 1rem !important;
    transition: var(--rh-transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--rh-green) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--rh-green);
    transition: var(--rh-transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 70%;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem;
    background: var(--rh-gray-100);
    border-radius: var(--rh-radius-sm);
}

.lang-switch a {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--rh-gray-500);
    border-radius: 0.35rem;
    transition: var(--rh-transition-fast);
}

.lang-switch a:hover {
    color: var(--rh-green);
}

.lang-switch a.active {
    background: var(--rh-white);
    color: var(--rh-green-dark);
    box-shadow: var(--rh-shadow-sm);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--rh-radius-sm);
    transition: var(--rh-transition);
    text-transform: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--rh-gradient-primary);
    border: none;
    color: var(--rh-white);
    box-shadow: 0 4px 15px rgba(26, 71, 42, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--rh-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 71, 42, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--rh-green);
    color: var(--rh-green);
    background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--rh-green);
    border-color: var(--rh-green);
    color: var(--rh-white);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--rh-white);
    color: var(--rh-green-dark);
    border: none;
}

.btn-light:hover {
    background: var(--rh-gray-100);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.1rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon i {
    font-size: 1.1em;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    background: var(--rh-gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 100px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-50px) rotate(5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--rh-white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero .lead {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--rh-white);
    margin-bottom: 1.5rem;
}

.hero-badge i {
    color: #ffc107;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: var(--rh-radius-lg);
    box-shadow: var(--rh-shadow-xl);
    max-width: 100%;
    height: auto;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.trust-item i {
    color: #ffc107;
    font-size: 1.1rem;
}

/* ============================================
   Sections General
   ============================================ */
section {
    padding: 5rem 0;
}

.section-light {
    background: var(--rh-gray-100);
}

.section-dark {
    background: var(--rh-gradient-primary);
    color: var(--rh-white);
}

.section-dark .section-title,
.section-dark h3 {
    color: var(--rh-white);
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   About Section
   ============================================ */
.about-image {
    position: relative;
    border-radius: var(--rh-radius-lg);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--rh-transition);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--rh-white);
    padding: 1rem 1.5rem;
    border-radius: var(--rh-radius);
    box-shadow: var(--rh-shadow-lg);
}

.about-badge h4 {
    font-size: 2rem;
    color: var(--rh-green);
    margin: 0;
}

.about-badge span {
    font-size: 0.9rem;
    color: var(--rh-gray-500);
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-list li i {
    color: var(--rh-green);
    font-size: 1.25rem;
    margin-top: 0.15rem;
}

/* ============================================
   Services Section
   ============================================ */
.service-card {
    background: var(--rh-white);
    border-radius: var(--rh-radius);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--rh-shadow);
    transition: var(--rh-transition);
    border: 1px solid var(--rh-gray-200);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--rh-gradient-primary);
    transform: scaleX(0);
    transition: var(--rh-transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--rh-shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--rh-gradient-primary);
    border-radius: var(--rh-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--rh-white);
}

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

.service-card p {
    color: var(--rh-gray-500);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.service-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--rh-gray-700);
    margin-bottom: 0.5rem;
}

.service-benefits li i {
    color: var(--rh-green);
    font-size: 0.85rem;
}

/* ============================================
   Benefits Section
   ============================================ */
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--rh-white);
    border-radius: var(--rh-radius);
    box-shadow: var(--rh-shadow-sm);
    height: 100%;
    transition: var(--rh-transition);
}

.benefit-item:hover {
    box-shadow: var(--rh-shadow);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(26, 71, 42, 0.1);
    border-radius: var(--rh-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--rh-green);
}

.benefit-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--rh-gray-500);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   Process Section
   ============================================ */
.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--rh-green-light), transparent);
    z-index: 0;
}

.process-step:last-child::after {
    display: none;
}

@media (max-width: 767.98px) {
    .process-step::after {
        display: none;
    }
}

.process-number {
    width: 80px;
    height: 80px;
    background: var(--rh-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.process-number span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--rh-white);
}

.process-step h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--rh-gray-500);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-item {
    position: relative;
    border-radius: var(--rh-radius);
    overflow: hidden;
    box-shadow: var(--rh-shadow);
    height: 350px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--rh-transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--rh-white);
}

.gallery-overlay h5 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--rh-white);
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.gallery-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--rh-green);
    color: var(--rh-white);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Before/After Slider */
.ba-slider {
    position: relative;
    height: 350px;
    border-radius: var(--rh-radius);
    overflow: hidden;
    box-shadow: var(--rh-shadow);
}

.ba-slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-slider .ba-before {
    clip-path: inset(0 50% 0 0);
}

.ba-slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--rh-white);
    cursor: ew-resize;
    z-index: 10;
    transform: translateX(-50%);
}

.ba-slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--rh-white);
    border-radius: 50%;
    box-shadow: var(--rh-shadow);
}

.ba-slider-handle i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--rh-green);
    font-size: 1.25rem;
    z-index: 1;
}

.ba-label {
    position: absolute;
    bottom: 1rem;
    padding: 0.35rem 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--rh-white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ba-label.before {
    left: 1rem;
}

.ba-label.after {
    right: 1rem;
}

/* ============================================
   Why Us Section
   ============================================ */
.why-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--rh-radius);
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--rh-transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--rh-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.why-icon i {
    font-size: 1.5rem;
    color: var(--rh-white);
}

.why-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--rh-white);
}

.why-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-accordion .accordion-item {
    background: var(--rh-white);
    border: 1px solid var(--rh-gray-200);
    border-radius: var(--rh-radius) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    background: var(--rh-white);
    color: var(--rh-gray-900);
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--rh-gray-100);
    color: var(--rh-green-dark);
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a472a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
    padding: 0 1.5rem 1.25rem;
    color: var(--rh-gray-700);
    line-height: 1.7;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonial-card {
    background: var(--rh-white);
    border-radius: var(--rh-radius);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--rh-shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--rh-gray-200);
    line-height: 1;
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--rh-gray-700);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--rh-gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rh-white);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-info h5 {
    font-size: 1rem;
    margin: 0;
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--rh-gray-500);
}

/* Optional indicator */
.testimonial-optional {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--rh-gray-200);
    color: var(--rh-gray-500);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-info-card {
    background: var(--rh-white);
    border-radius: var(--rh-radius);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--rh-shadow);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-method:last-child {
    margin-bottom: 0;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--rh-gradient-primary);
    border-radius: var(--rh-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method-icon i {
    font-size: 1.25rem;
    color: var(--rh-white);
}

.contact-method h5 {
    font-size: 0.9rem;
    color: var(--rh-gray-500);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.contact-method a,
.contact-method p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--rh-gray-900);
    text-decoration: none;
    margin: 0;
    transition: var(--rh-transition-fast);
}

.contact-method a:hover {
    color: var(--rh-green);
}

.contact-form-card {
    background: var(--rh-white);
    border-radius: var(--rh-radius);
    padding: 2.5rem;
    box-shadow: var(--rh-shadow-lg);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--rh-gray-700);
}

.form-control,
.form-select {
    padding: 0.875rem 1rem;
    border: 1px solid var(--rh-gray-300);
    border-radius: var(--rh-radius-sm);
    font-size: 1rem;
    transition: var(--rh-transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--rh-green);
    box-shadow: 0 0 0 3px rgba(26, 71, 42, 0.15);
}

.form-check-input:checked {
    background-color: var(--rh-green);
    border-color: var(--rh-green);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(26, 71, 42, 0.15);
}

/* Honeypot field - hidden from users */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.service-area-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--rh-gray-100);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--rh-gray-700);
    margin: 0.25rem;
}

.service-area-tag i {
    color: var(--rh-green);
}

/* Form submission states */
.form-message {
    padding: 1rem 1.25rem;
    border-radius: var(--rh-radius-sm);
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    background: rgba(45, 106, 79, 0.1);
    color: var(--rh-green-dark);
    border: 1px solid var(--rh-green-light);
}

.form-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}

/* File Upload Area */
.file-upload-area {
    position: relative;
    border: 2px dashed var(--rh-gray-300);
    border-radius: var(--rh-radius-sm);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--rh-transition);
    background: var(--rh-gray-100);
}

.file-upload-area:hover,
.file-upload-area.drag-over {
    border-color: var(--rh-green);
    background: rgba(45, 122, 80, 0.05);
}

.file-upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content p {
    margin-bottom: 0;
    color: var(--rh-gray-600);
}

.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.file-preview-item {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: var(--rh-radius-sm);
    overflow: hidden;
    border: 2px solid var(--rh-gray-200);
    box-shadow: var(--rh-shadow-sm);
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview-item .remove-file {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 22px;
    height: 22px;
    background: rgba(220, 53, 69, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: var(--rh-transition);
}

.file-preview-item .remove-file:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.file-preview-item .file-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 4px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--rh-gray-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer h5 {
    color: var(--rh-white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-brand svg,
.footer-brand img {
    height: 80px;
    width: auto;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--rh-transition-fast);
}

.footer-links a:hover {
    color: var(--rh-white);
    padding-left: 0.25rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--rh-green-light);
    font-size: 1.1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--rh-transition-fast);
}

.footer-contact a:hover {
    color: var(--rh-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--rh-transition-fast);
}

.footer-bottom a:hover {
    color: var(--rh-white);
}

.powered-by {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.powered-by:hover {
    opacity: 1;
}

.powered-by img {
    height: 24px;
    width: auto;
}

/* ============================================
   Mobile Sticky CTA
   ============================================ */
.mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--rh-white);
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1040;
    display: none;
    gap: 0.75rem;
}

@media (max-width: 991.98px) {
    .mobile-cta {
        display: flex;
    }

    .footer {
        padding-bottom: 80px;
    }
}

.mobile-cta .btn {
    flex: 1;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1030;
    transition: var(--rh-transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    font-size: 2rem;
    color: var(--rh-white);
}

@media (min-width: 992px) {
    .whatsapp-float {
        bottom: 2rem;
    }
}

/* ============================================
   Skip Link (Accessibility)
   ============================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--rh-green-dark);
    color: var(--rh-white);
    padding: 0.75rem 1.5rem;
    z-index: 9999;
    text-decoration: none;
    font-weight: 600;
    transition: var(--rh-transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   Utilities
   ============================================ */
.bg-pattern {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="32" fill="none" stroke="rgba(26,71,42,0.05)" stroke-width="0.5"/></svg>');
    background-size: 80px;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--rh-gradient-primary);
    border-radius: 2px;
    margin: 1rem auto;
}

.img-placeholder {
    background: linear-gradient(135deg, var(--rh-gray-200) 0%, var(--rh-gray-300) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rh-gray-500);
    font-size: 3rem;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

.animate-delay-5 {
    animation-delay: 0.5s;
}

/* ============================================
   Loading Spinner
   ============================================ */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--rh-white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn.loading .spinner {
    display: inline-block;
}

.btn.loading .btn-text {
    opacity: 0;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {

    .navbar,
    .mobile-cta,
    .whatsapp-float,
    .btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    section {
        page-break-inside: avoid;
    }
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-content {
    line-height: 1.8;
}

.legal-content h2 {
    color: var(--rh-gray-900);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--rh-green-light);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--rh-green-dark);
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--rh-gray-700);
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
    color: var(--rh-gray-700);
}

.legal-content a {
    color: var(--rh-green);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--rh-green-dark);
}

.legal-content hr {
    border: none;
    border-top: 1px solid var(--rh-gray-200);
    margin: 2rem 0;
}

.legal-content strong {
    color: var(--rh-gray-900);
}