/* ============================================================
   Nicole — Landing all in one
   Estilos propios (sin frameworks)
   ============================================================ */

:root {
    --brand: #ee3f80;
    --brand-dark: #d42f6e;
    --brand-light: #ff8ab8;
    --brand-soft: #fff1f6;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
    --shadow-sm: 0 1px 2px rgb(17 24 39 / 0.06);
    --shadow-md: 0 10px 30px -12px rgb(17 24 39 / 0.15);
    --shadow-lg: 0 24px 50px -20px rgb(17 24 39 / 0.25);
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    --font-display: 'Fraunces', ui-serif, Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

section { scroll-margin-top: 5rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgb(255 255 255 / 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgb(17 24 39 / 0.06);
    transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -10px rgb(17 24 39 / 0.12); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
}
.brand {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    text-decoration: none;
}
.brand span { color: var(--brand); }
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 14px -4px rgb(238 63 128 / 0.45);
    transition: background 0.2s, transform 0.2s;
}
.header-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }
.header-cta svg { width: 1rem; height: 1rem; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(60rem 30rem at 85% -10%, rgb(238 63 128 / 0.35), transparent 60%),
                radial-gradient(50rem 26rem at 0% 110%, rgb(238 63 128 / 0.22), transparent 55%),
                linear-gradient(180deg, #171b26, #10131c);
    color: var(--white);
    text-align: center;
    padding: 6.5rem 1.25rem 5rem;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brand-light);
    border: 1px solid rgb(255 138 184 / 0.35);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.08;
    max-width: 18ch;
    margin: 0 auto;
}
.hero h1 em { color: var(--brand-light); font-style: normal; }
.hero p {
    margin: 1.4rem auto 0;
    max-width: 42rem;
    font-size: 1.12rem;
    color: rgb(255 255 255 / 0.82);
}
.hero-actions {
    margin-top: 2.4rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.95rem 1.9rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn svg { width: 1.15rem; height: 1.15rem; }
.btn-primary {
    background: linear-gradient(90deg, var(--brand), var(--brand-dark));
    color: var(--white);
    box-shadow: 0 14px 30px -10px rgb(238 63 128 / 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgb(238 63 128 / 0.6); }
.btn-ghost {
    border: 1px solid rgb(255 255 255 / 0.45);
    color: var(--white);
    background: transparent;
}
.btn-ghost:hover { background: var(--white); color: var(--gray-900); }
.hero-note {
    margin-top: 1.2rem;
    font-size: 0.85rem;
    color: rgb(255 255 255 / 0.5);
}

/* ---------- Secciones genéricas ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--gray-50); }
.section-soft { background: var(--brand-soft); }
.section-head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem;
}
.section-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 0.8rem;
}
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    line-height: 1.15;
}
.section-head p { margin-top: 0.9rem; font-size: 1.05rem; color: var(--gray-500); }

/* ---------- Ventajas ---------- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.4rem;
}
.card {
    background: var(--white);
    border: 1px solid rgb(17 24 39 / 0.06);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: var(--brand-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    color: var(--brand);
}
.card-icon svg { width: 1.5rem; height: 1.5rem; }
.card h3 { font-size: 1.05rem; font-weight: 600; color: var(--gray-900); margin-bottom: 0.45rem; }
.card p { font-size: 0.95rem; color: var(--gray-500); }

/* ---------- Info (páginas del sitio) ---------- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.4rem;
}
.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.8rem;
    text-decoration: none;
    display: block;
    border: 1px solid rgb(17 24 39 / 0.06);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--gray-900); }
.info-card p { margin-top: 0.5rem; font-size: 0.95rem; color: var(--gray-500); }
.info-card .arrow {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    color: var(--brand);
}
.info-card .arrow svg { width: 1.2rem; height: 1.2rem; }

/* ---------- Contacto ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 40rem;
    margin: 0 auto;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: var(--white);
    border: 1px solid rgb(17 24 39 / 0.06);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.3rem;
    text-decoration: none;
    color: var(--gray-700);
    transition: border-color 0.2s, transform 0.2s;
}
.contact-item:hover { border-color: var(--brand-light); transform: translateX(3px); }
.contact-icon {
    flex-shrink: 0;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.8rem;
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-icon svg { width: 1.3rem; height: 1.3rem; }
.contact-item strong { display: block; font-size: 0.95rem; color: var(--gray-900); }
.contact-item span { font-size: 0.88rem; color: var(--gray-500); }
.contact-cta {
    margin-top: 2rem;
    text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #10131c;
    color: var(--gray-400);
    text-align: center;
    padding: 2.5rem 1.25rem;
}
.site-footer .brand { color: var(--white); }
.site-footer p { margin-top: 0.6rem; font-size: 0.88rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Admin ---------- */
.admin-body { background: var(--gray-50); padding: 3rem 1.25rem; }
.admin-box {
    max-width: 34rem;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid rgb(17 24 39 / 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}
.admin-box.wide { max-width: 40rem; }
.admin-box h1 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 0.4rem;
}
.admin-box .sub { font-size: 0.92rem; color: var(--gray-500); margin-bottom: 1.6rem; }
.form-group { margin-bottom: 1.15rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 0.35rem; }
.form-group input,
.form-group textarea {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--gray-900);
    border: 1px solid rgb(17 24 39 / 0.15);
    border-radius: 0.7rem;
    padding: 0.65rem 0.85rem;
    background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus { outline: 2px solid var(--brand-light); border-color: var(--brand); }
.form-group textarea { resize: vertical; min-height: 5.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-block { width: 100%; border: none; cursor: pointer; }
.alert {
    border-radius: 0.7rem;
    padding: 0.8rem 1rem;
    font-size: 0.92rem;
    margin-bottom: 1.3rem;
}
.alert-ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.admin-links { margin-top: 1.4rem; font-size: 0.9rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.admin-links a { color: var(--brand); text-decoration: none; }
.admin-links a:hover { text-decoration: underline; }

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
    .hero { padding-top: 4.5rem; }
    .section { padding: 3.5rem 0; }
}
