/* ══════════════════════════════════════════════════════════════
   IDENTIDAD — paleta propia de la marca "Siempre Invitados" (no la de
   ninguna invitación puntual). Playfair Display + Quicksand, mismas
   familias que ya usan las invitaciones reales, para que la landing se
   sienta parte de la misma marca cuando alguien llega desde un link
   compartido.
   ══════════════════════════════════════════════════════════════ */
:root {
    --si-primary: #e2694f;
    --si-primary-dark: #b74a34;
    --si-gold: #c9a659;
    --si-gold-deep: #a3803a;
    --si-bg: #fdf6f0;
    --si-bg-alt: #f7ece2;
    --si-surface: #ffffff;
    --si-text: #2b2320;
    --si-text-mute: #8a7d74;
    --si-border: #eee0d5;

    --si-shadow-sm: 0 2px 14px rgba(90, 60, 50, .08);
    --si-shadow: 0 10px 40px rgba(90, 60, 50, .14);
    --si-radius-lg: 24px;
    --si-radius-md: 16px;
}

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

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Quicksand', -apple-system, "Segoe UI", sans-serif;
    background: var(--si-bg);
    color: var(--si-text);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    line-height: 1.25;
}

a {
    color: inherit;
}

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

.eyebrow {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--si-gold-deep);
    margin-bottom: .5rem;
}

.hero .eyebrow {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin-bottom: 1rem;
}

.center {
    text-align: center;
}

.si-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 1.4rem;
    text-decoration: none;
    color: var(--si-text);
    letter-spacing: .01em;
}

.si-logo em {
    font-style: italic;
    color: var(--si-primary);
}

/* ── Botones ── */
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--si-primary);
    color: #fff;
    box-shadow: var(--si-shadow-sm);
}

.btn-primary:hover {
    background: var(--si-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--si-shadow);
}

.btn-outline {
    background: transparent;
    color: var(--si-text);
    border: 1.5px solid var(--si-border);
}

.btn-outline:hover {
    border-color: var(--si-primary);
    color: var(--si-primary);
}

/* ══════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════ */
.si-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--si-surface);
    box-shadow: var(--si-shadow-sm);
}

.si-header-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-toggle-input {
    display: none;
}

.nav-toggle-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.nav-toggle-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--si-text);
    border-radius: 2px;
}

.si-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.si-nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    color: var(--si-text);
}

.si-nav a:hover {
    color: var(--si-primary);
}

.btn-whatsapp-nav {
    background: var(--si-primary);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: .9rem !important;
}

.btn-whatsapp-nav:hover {
    background: var(--si-primary-dark);
    color: #fff !important;
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 24px 90px;
    text-align: center;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: .35;
    z-index: -1;
}

.hero::before {
    width: 320px;
    height: 320px;
    background: var(--si-primary);
    top: -140px;
    left: -100px;
}

.hero::after {
    width: 280px;
    height: 280px;
    background: var(--si-gold);
    bottom: -120px;
    right: -80px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 20px;
}

.hero-sub {
    max-width: 600px;
    margin: 0 auto 34px;
    color: var(--si-text-mute);
    font-size: 1.05rem;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hero-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--si-surface);
    padding: 10px 18px;
    border-radius: 999px;
    box-shadow: var(--si-shadow-sm);
    font-size: .9rem;
    font-weight: 600;
}

.hero-highlight-icon {
    font-size: 1.1rem;
}

/* ══════════════════════════════════════════════════════════════
   SECCIONES GENERALES
   ══════════════════════════════════════════════════════════════ */
.section {
    padding: 80px 24px;
    max-width: 1160px;
    margin: 0 auto;
}

.section.alt {
    max-width: none;
    background: var(--si-bg-alt);
}

.section.alt > * {
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    margin-bottom: 44px;
}

/* ── Servicios (checklist) ── */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--si-surface);
    border-radius: var(--si-radius-md);
    padding: 16px 20px;
    box-shadow: var(--si-shadow-sm);
}

.checklist-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.checklist-text {
    font-size: .92rem;
    font-weight: 600;
}

/* ── Precios ── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: var(--si-surface);
    border-radius: var(--si-radius-lg);
    padding: 34px 28px;
    box-shadow: var(--si-shadow-sm);
}

.pricing-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.pricing-desc {
    color: var(--si-text-mute);
    font-size: .9rem;
    flex: 1;
    margin-bottom: 20px;
}

.pricing-price {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--si-primary);
}

.pricing-price span {
    font-family: 'Quicksand', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    color: var(--si-text-mute);
}

.pricing-note {
    margin-top: 32px;
    color: var(--si-text-mute);
    font-size: .92rem;
}

/* ── Portafolio ── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.portfolio-card {
    --pf-color: var(--si-primary);
    display: block;
    background: var(--si-surface);
    border-radius: var(--si-radius-lg);
    padding: 30px 26px;
    text-decoration: none;
    color: var(--si-text);
    box-shadow: var(--si-shadow-sm);
    border-top: 5px solid var(--pf-color);
    transition: transform .2s ease, box-shadow .2s ease;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--si-shadow);
}

.portfolio-tag {
    display: inline-block;
    background: var(--pf-color);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.portfolio-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.portfolio-card p {
    color: var(--si-text-mute);
    font-size: .92rem;
    margin-bottom: 18px;
}

.portfolio-link {
    font-weight: 700;
    font-size: .9rem;
    color: var(--pf-color);
}

/* ── Cómo funciona ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 26px;
}

.step-card {
    text-align: center;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--si-primary);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--si-text-mute);
    font-size: .92rem;
}

/* ── CTA final ── */
.cta-final {
    text-align: center;
    padding: 90px 24px;
    background: linear-gradient(135deg, var(--si-primary), var(--si-primary-dark));
    color: #fff;
}

.cta-final h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin-bottom: 12px;
}

.cta-final p {
    opacity: .92;
    margin-bottom: 28px;
}

.cta-final .btn-primary {
    background: #fff;
    color: var(--si-primary-dark);
}

.cta-final .btn-primary:hover {
    background: var(--si-bg-alt);
    color: var(--si-primary-dark);
}

/* ── Footer ── */
.si-footer {
    text-align: center;
    padding: 50px 24px 40px;
    background: var(--si-text);
    color: #f2ebe4;
}

.si-footer .si-logo {
    color: #fff;
}

.si-footer .si-logo em {
    color: var(--si-gold);
}

.si-footer p {
    color: #cbbdb3;
    font-size: .9rem;
    margin: 10px 0;
}

.footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.35rem !important;
    color: var(--si-gold) !important;
    margin-top: 14px !important;
    margin-bottom: 4px !important;
}

.si-footer a {
    color: var(--si-gold);
    text-decoration: none;
    font-weight: 700;
}

.footer-copy {
    margin-top: 20px;
    font-size: .8rem !important;
}

/* ══════════════════════════════════════════════════════════════
   404
   ══════════════════════════════════════════════════════════════ */
.si-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.si-404-card {
    max-width: 460px;
    text-align: center;
    background: var(--si-surface);
    border-radius: var(--si-radius-lg);
    box-shadow: var(--si-shadow);
    padding: 48px 36px;
}

.si-404-card .si-logo {
    display: inline-block;
    margin-bottom: 28px;
}

.si-404-code {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--si-gold);
    line-height: 1;
    margin-bottom: 10px;
}

.si-404-card h1 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.si-404-card p {
    color: var(--si-text-mute);
    margin-bottom: 28px;
}

.si-404-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 800px) {
    .nav-toggle-btn {
        display: flex;
    }

    .si-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: var(--si-bg);
        border-bottom: 1px solid var(--si-border);
        max-height: 0;
        overflow: hidden;
        padding: 0 24px;
        transition: max-height .3s ease, padding .3s ease;
    }

    .si-nav a {
        width: 100%;
        padding: 12px 0;
    }

    .btn-whatsapp-nav {
        display: inline-block;
        margin: 8px 0 16px;
    }

    .nav-toggle-input:checked ~ .si-nav {
        max-height: 320px;
        padding: 8px 24px 20px;
        box-shadow: var(--si-shadow-sm);
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 70px 20px 60px;
    }

    .hero-highlights {
        margin-top: 28px;
        gap: 10px;
    }

    .hero-highlight {
        padding: 8px 14px;
        font-size: .85rem;
    }

    .section {
        padding: 56px 20px;
    }

    .section.alt > * {
        padding-left: 0;
        padding-right: 0;
    }
}
