/* =========================
   RESET BÁSICO
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
}

/* =========================
   BASE
========================= */
body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

button,
input,
textarea,
select {
    font: inherit;
}

/* =========================
   LAYOUT GENERAL
========================= */
.container {
    width: 100%;
    max-width: calc(var(--container-width) + (var(--container-padding) * 2));
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section {
    padding: var(--space-4xl) 0;
}

.section-light {
    background-color: var(--color-bg-soft);
}

.section-red {
    background-color: var(--color-primary);
    color: var(--color-white);
}


.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

/* =========================
   TIPOGRAFÍA
========================= */
h1,
h2,
h3 {
    color: var(--color-black);
    line-height: 1.15;
    font-weight: 800;
}

.section-red h1,
.section-red h2,
.section-red h3 {
    color: var(--color-white);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-soft);
}

.section-red p {
    color: rgba(255, 255, 255, 0.92);
}

.lead {
    font-size: var(--text-md);
    max-width: 760px;
}

.section-tag {
    display: inline-block;
    margin-bottom: var(--space-md);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
}

.section-tag-light {
    color: var(--color-secondary);
}

/* =========================
   BOTONES
========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 24px;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-weight: 700;
    font-size: var(--text-sm);
    transition: var(--transition-base);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-black);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background-color: var(--color-secondary-dark);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.92);
    color: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    background-color: var(--color-white);
}

.btn-full {
    width: 100%;
}

/* =========================
   CAJAS E IMÁGENES
========================= */
.image-box {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card,
.benefit-card,
.register-copy,
.register-form {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

/* =========================
   FOOTER BASE
========================= */
.site-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: var(--space-xl) 0;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.75);
}