/* =========================================================
   VARIABLES
========================================================= */
:root {
    --max-layout-width: 1280px;
    --primary-red: #ea5045;
    --primary-red-hover: #d14036;
    --dark-blue: #1c2739;
    --dark-blue-btn: #141c29;
    --light-bg: #fdfdfd;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --number-blue: #3e8dc4;
    --border-color: #e5e5e5;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* =========================================================
   RESET & BASE
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================================
   LAYOUT
========================================================= */
.container {
    max-width: var(--max-layout-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.privacy{
    max-width: 900px !important;
}

.privacy h1{
    line-height: 30px;
    margin-bottom: 30px;
}

.privacy ul li{
    color: #b0b8c4;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.privacy a{
    color: #fff;
}

/* =========================================================
   COMPONENTES
========================================================= */

/* Botones */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: none;
}

.btn-red {
    background-color: var(--primary-red);
    color: #ffffff;
}

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

.btn-dark {
    background-color: var(--dark-blue-btn);
    color: #ffffff;
}

/* Utilidades */
.section-padding {
    padding: 3rem 0;
}

.placeholder-img {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    width: 100%;
}

/* =========================================================
   SECCIÓN 1: HERO
========================================================= */
.hero-block {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.hero-content .small-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-img {
    height: 400px;
    background: #fdf5e6;
    overflow: hidden;
}

/* =========================================================
   SECCIÓN 2: ABOUT
========================================================= */
.about-block {
    background-color: var(--dark-blue);
    color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-img {
    height: auto;
    border-radius: 24px;
    overflow: hidden;
    display: block;
}

.about-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 24px;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    text-align: center;
}

.about-content p {
    color: #b0b8c4;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.about-content p strong {
    color: #ffffff;
}

.about-tag {
    font-size: 0.75rem !important;
    letter-spacing: 1px;
    color: var(--number-blue);
    margin-bottom: 0.5rem;
    text-align: center;
}

.about-cta-wrapper {
    margin-top: 2.5rem;
    text-align: center;
}

/* =========================================================
   SECCIÓN 3: FEATURES
========================================================= */
.features-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 3rem;
}

.features-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.features-header p {
    color: var(--text-muted);
    max-width: 600px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.feature-item img {
    width: 25px;
    margin-bottom: 10px;
}

.feature-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.feature-tag {
    font-size: 0.75rem !important;
    letter-spacing: 1px;
    color: var(--number-blue);
    margin-bottom: 0.5rem;
}

/* =========================================================
   SECCIÓN 4: ADVANTAGES
========================================================= */
.advantages-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.advantages-header h2 {
    font-size: 2.5rem;
}

.advantage-item {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
    gap: 0.5rem;
}

.advantage-item:first-child {
    border-top: 1px solid var(--border-color);
}

.advantage-number {
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--number-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.advantage-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
}

.advantage-text p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================================
   SECCIÓN 5: CTA
========================================================= */
.bottom-cta-block {
    margin-bottom: 2rem;
}

.cta-wrapper {
    position: relative;
    background: #faf4ed;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cta-img-area {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-banner {
    background-color: var(--primary-red);
    color: #ffffff;
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-banner h2 {
    font-size: 2rem;
    margin: 0;
    line-height: 36px;
}

/* =========================================================
   SECCIÓN 6: FORMULARIO
========================================================= */
.contact-form-block {
    background-color: var(--dark-blue);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-container form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-block h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    line-height: 36px;
}

.contact-form-block p {
    color: #b0b8c4;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.form-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border: 1px solid transparent;
    background-color: #ffffff;
    font-size: 1rem;
    outline: none;
}

.form-container .form-check {
    display: flex;
    align-items: center;
}

.form-container .form-check input {
    margin-right: 0.5rem;
    width: 60px;
}

.required a {
    color: #fff;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 1rem;
    border-radius: 50px;
}

/* =========================================================
   SECCIÓN 7: FOOTER
========================================================= */
.footer-prosegur-wrapper {
    display: flex;
    justify-content: center;
}

.footer-prosegur-wrapper img {
    width: 400px;
    padding: 30px;
}

/* =========================================================
   MEDIA QUERIES
========================================================= */

/* Tablet */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .advantage-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .advantage-number {
        margin-bottom: 0;
        width: 60px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content {
        padding-right: 4rem;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-img img {
        max-width: 150% !important;
    }

    .cta-img-area img {
        max-width: 270% !important;
    }

    .placeholder-img {
        border-radius: 0px;
    }

    .advantages-header h2 {
        font-size: 2.5rem;
        text-align: center;
        line-height: normal;
    }

    .btn-red {
        margin: 0 auto;
    }

    .section-padding {
        padding: 2rem 0;
    }
}
