:root {
    --primary: #e62e2d; /* Rojo de factureras.lat */
    --secondary: #1a1a1a;
    --primary-invert: #fff;
    --secondary-invert: #fff;

    --gradient-primary: linear-gradient(135deg, #e62e2d 0%, #ff4d4d 100%);
    --gradient-secondary: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);

    /* EXTRA COLORS */
    --Green: #28a745;
    --Yellow: #ffc107;
    --Blue: #007bff;
    --Purple: #6f42c1;

    /* DEFAULT COLOR OF TEXTS */
    --text-primary: #333333;

    /* FOR BUTTONS & INPUTS */
    --elements-roundness: 50px; /* Más redondeado como en el sitio de referencia */

    --space-between-blocks: 4rem;
    /* for mobiles */
    --space-between-blocks-small-screens: 2rem;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #ffffff;
}

@media only screen and (min-width: 992px) {
    .container {
        max-width: 1200px !important;
    }
}

.space-between-blocks {
    padding-top: var(--space-between-blocks-small-screens);
    padding-bottom: var(--space-between-blocks-small-screens);
}

@media (min-width: 992px) {
    .space-between-blocks {
        padding-top: var(--space-between-blocks);
        padding-bottom: var(--space-between-blocks);
    }
}

/* ----------------- BUTTONS ------------------- */

button {
    color: inherit;
    padding: 0;
    background: none;
    border: none;
}

button:focus {
    outline: none;
    box-shadow: none;
}

.btn {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: var(--elements-roundness);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 46, 45, 0.2);
}

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

.btn-secondary {
    background-color: transparent;
    color: white !important;
    border: 2px solid white;
}

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

/* ----------------- HERO SECTION ------------------- */

.hero {
    background: #0a0a0a;
    color: white;
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230, 46, 45, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero__paragraph {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

.hero__image-column {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* ----------------- NAVBAR ------------------- */

.fixed-nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}

.fixed-nav-container.sticky {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.hero-nav__link {
    color: white !important;
    font-weight: 500;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-nav__link:hover {
    color: var(--primary) !important;
}

/* ----------------- FEATURES ------------------- */

.block-1 {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.card-1 {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.card-1:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

.card-1 i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.card-1__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* ----------------- PRICING (Custom for this redesign) ------------------- */

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(230, 46, 45, 0.1);
}

.pricing-card__price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0;
}

/* ----------------- FOOTER ------------------- */

.block-44 {
    background: #0a0a0a;
    color: white;
    padding: 60px 0 30px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    color: white;
}
