:root {
    --primary-blue: rgb(17, 84, 189);
    --primary-blue-dark: rgb(14, 70, 158);
    --secondary-text: #5f5f5f;
    /* Gris medio */
    --bg-light: #f7f9fb;
    --bg-dark: #111827;
    --max-width: 1280px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.main-section-home {
    flex-grow: 1;
}

/* MAIN CONTAINER */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    /* 16px */
    padding-right: 1rem;
    /* 16px */
}

/*HEADER STYLE*/

.header {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-decoration: none;
    color: inherit;
    transition: color 0.15s ease-in-out;
}

.logo a:hover {
    color: #e5e7eb;
}

.nav {
    display: none;
    gap: 1.5rem;
    /* 24px */
    font-size: 0.875rem;
    /* 14px */
    font-weight: 600;
}

.nav a {
    text-decoration: none;
    color: inherit;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s ease-in-out;
}

.nav a:hover {
    border-bottom-color: white;
}

.nav-button {
    background-color: white;
    color: var(--primary-blue);
    padding: 0.375rem 1rem;
    /* 6px 16px */
    border-radius: 9999px;
    /* rounded-full */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: background-color 0.15s ease-in-out;
}

.nav-button:hover {
    background-color: #f3f4f6;
}

.menu-button {
    display: block;
    padding: 0.5rem;
    border-radius: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    transition: background-color 0.15s ease-in-out;
}

.menu-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-button svg {
    width: 1.5rem;
    height: 1.5rem;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }

    .menu-button {
        display: none;
    }
}

/* MAIN CONTENT STYLE */

.main-content {
    padding-top: 3rem;
    /* 48px */
    padding-bottom: 5rem;
    /* 80px */
}

/* HERO SECTION */
.hero-section {
    text-align: center;
    margin-bottom: 4rem;
    /* 64px */
}

.hero-title {
    font-size: 2.25rem;
    /* 36px */
    line-height: 1.1;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
        /* 48px */
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    /* 18px */
    color: var(--secondary-text);
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}


.grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    /* 40px */
}

@media (min-width: 1024px) {
    .grid-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
        /* 64px */
    }
}

/* BASE CARD STYLE */
.card-home {
    background-color: white;
    padding: 1.5rem;
    /* 24px */
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    border-top: 4px solid;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card-first-view:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .card-first-view {
        padding: 2.5rem;
        /* 40px */
    }
}

.card-primary {
    border-top-color: var(--primary-blue);
}

.card-secondary {
    border-top-color: #9ca3af;
    /* Gris 400 */
}

.card-home-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    padding: 0.75rem;
    border-radius: 9999px;
}

.card-primary .card-icon {
    background-color: rgba(17, 84, 189, 0.1);
    color: var(--primary-blue);
}

.card-secondary .card-icon {
    background-color: rgba(156, 163, 175, 0.1);
    color: #6b7280;
}

.card-icon svg {
    width: 2rem;
    height: 2rem;
    stroke-width: 2;
}

.card-home-title {
    font-size: 1.875rem;
    /* 30px */
    font-weight: 700;
    color: #1f2937;
}

.card-home-body p {
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.key-points {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #374151;
}

.key-points li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.key-points .check-icon {
    color: var(--primary-blue);
    font-size: 1.25rem;
    font-weight: 700;
    margin-right: 0.5rem;
    line-height: 1;
}

.review-list {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-item {
    padding: 0.75rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    transition: background-color 0.15s ease-in-out;
    cursor: pointer;
}

.review-item:hover {
    background-color: #f3f4f6;
}

.review-item p:first-child {
    font-weight: 600;
    color: #1f2937;
}

.review-item p:last-child {
    font-size: 0.875rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
}

.review-item .stars {
    color: #f59e0b;
    margin-right: 0.25rem;
    font-size: 1rem;
}

.action-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.action-button:hover {
    transform: translateY(-2px);
}

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

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
}

.btn-secondary {
    background-color: #1f2937;
    color: white;
}

.btn-secondary:hover {
    background-color: #374151;
}

.link--post {
    text-decoration: none;
}

.main-section-home {
    margin-top: 20px !important;
}