/* ═══════════════════════════════════════════════════════════════
   Nurelia SEO — Diseño de páginas locales
   Paleta: #0a0e1a (negro), #f0a500 (ámbar), #25d366 (WA), #fff
   ═══════════════════════════════════════════════════════════════ */

/* ── Ocultar título del tema en estas páginas ─────────────────── */
body.nurelia-seo-page .entry-title,
body.nurelia-seo-page .page-title,
body.nurelia-seo-page .page-header,
body.nurelia-seo-page h1.entry-title {
    display: none !important;
}

/* ── Reset ────────────────────────────────────────────────────── */
.ns-page *, .ns-page *::before, .ns-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Variables ────────────────────────────────────────────────── */
.ns-page {
    --c-dark:    #0a0e1a;
    --c-navy:    #0f1e35;
    --c-amber:   #f0a500;
    --c-amber-d: #c98b00;
    --c-wa:      #25d366;
    --c-wa-d:    #1da851;
    --c-white:   #ffffff;
    --c-gray-50: #f7f8fa;
    --c-gray-100:#eef0f4;
    --c-gray-400:#94a3b8;
    --c-gray-600:#4b5563;
    --c-text:    #1a1f2e;
    --radius:    12px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
    --shadow-md: 0 6px 24px rgba(0,0,0,.12);

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--c-text);
    line-height: 1.7;

    /* Breakout de cualquier contenedor del tema */
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow-x: hidden;
    margin-top: 0;
    margin-bottom: 0;
}

/* ── Contenedor ───────────────────────────────────────────────── */
.ns-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Breadcrumb ───────────────────────────────────────────────── */
.ns-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,.45);
    margin-bottom: 1.5rem;
    letter-spacing: .01em;
}
.ns-breadcrumb a {
    color: rgba(255,255,255,.45);
    text-decoration: none;
    transition: color .2s;
}
.ns-breadcrumb a:hover { color: rgba(255,255,255,.8); }
.ns-breadcrumb span[aria-current] { color: rgba(255,255,255,.7); }

/* ── Badge sobre el H1 ────────────────────────────────────────── */
.ns-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-amber);
    background: rgba(240,165,0,.12);
    border: 1px solid rgba(240,165,0,.3);
    border-radius: 99px;
    padding: .35rem 1rem;
    margin-bottom: 1.25rem;
}

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
.ns-hero {
    background: var(--c-dark);
    background-image:
        radial-gradient(ellipse 70% 50% at 30% 50%, rgba(240,165,0,.07) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 100% 0%, rgba(15,30,53,.9) 0%, transparent 60%);
    padding: 6rem 0 7rem;
    position: relative;
    overflow: hidden;
}

.ns-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--c-white);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.ns-h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--c-white);
    margin-bottom: 1.25rem;
    letter-spacing: -.03em;
}

.ns-lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    max-width: 580px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ── Botones ──────────────────────────────────────────────────── */
.ns-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.ns-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .95rem;
    font-weight: 700;
    padding: .75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: transform .15s, box-shadow .15s, filter .15s;
}
.ns-btn:hover { transform: translateY(-2px); }
.ns-btn:active { transform: translateY(0); }

.ns-btn--wa {
    background: var(--c-wa);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37,211,102,.35);
}
.ns-btn--wa:hover {
    color: #fff;
    background: var(--c-wa-d);
    box-shadow: 0 6px 20px rgba(37,211,102,.45);
}

.ns-btn--outline {
    background: transparent;
    color: rgba(255,255,255,.75);
    border: 1.5px solid rgba(255,255,255,.25);
}
.ns-btn--outline:hover {
    color: #fff;
    border-color: rgba(255,255,255,.6);
    background: rgba(255,255,255,.05);
}

.ns-btn--lg {
    font-size: 1.05rem;
    padding: .9rem 2rem;
    border-radius: 10px;
}

/* ════════════════════════════════════════════════════════════════
   SECCIÓN BLANCA — Bloques de servicio
   ════════════════════════════════════════════════════════════════ */
.ns-section-white {
    background: var(--c-white);
    padding: 6rem 0;
}

.ns-section-faq {
    background: var(--c-gray-50);
}

/* ── H2 claro ──────────────────────────────────────────────────── */
.ns-h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    font-weight: 800;
    color: var(--c-text);
    line-height: 1.25;
    margin-bottom: .75rem;
    letter-spacing: -.01em;
}

/* ── Label de sección ─────────────────────────────────────────── */
.ns-section-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-amber);
    margin-bottom: .6rem;
}
.ns-section-label--dark { color: var(--c-navy); }

/* ── Bloques ──────────────────────────────────────────────────── */
.ns-bloques {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ns-bloque {
    border-radius: var(--radius);
    border: 1px solid var(--c-gray-100);
    background: var(--c-white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

.ns-bloque:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.ns-bloque-inner {
    display: flex;
    gap: 0;
}

.ns-bloque-num {
    font-size: 4rem;
    font-weight: 900;
    color: var(--c-amber);
    line-height: 1;
    padding: 2rem 1.75rem;
    background: var(--c-dark);
    min-width: 100px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    letter-spacing: -.05em;
    flex-shrink: 0;
}

.ns-bloque-body {
    padding: 1.75rem 2rem;
}

.ns-bloque-body p {
    color: var(--c-gray-600);
    font-size: .97rem;
    margin-top: .5rem;
}

.ns-lista {
    list-style: none;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.ns-lista li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .93rem;
    color: var(--c-gray-600);
    padding: .5rem .75rem;
    background: var(--c-gray-50);
    border-radius: 6px;
}

.ns-lista li::before {
    content: '✓';
    color: var(--c-wa);
    font-weight: 900;
    font-size: .85rem;
    flex-shrink: 0;
    margin-top: .1rem;
}

/* ════════════════════════════════════════════════════════════════
   SECCIÓN OSCURA — Zona geográfica
   ════════════════════════════════════════════════════════════════ */
.ns-section-dark {
    background: var(--c-dark);
    background-image: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(15,30,53,.7) 0%, transparent 70%);
    padding: 6rem 0;
    position: relative;
}

.ns-h2-light {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--c-white);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -.02em;
}

.ns-zona-text {
    color: rgba(255,255,255,.65);
    max-width: 580px;
    font-size: .97rem;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.ns-geo-links {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.ns-geo-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--c-amber);
    text-decoration: none;
    background: rgba(240,165,0,.1);
    border: 1.5px solid rgba(240,165,0,.25);
    border-radius: 99px;
    padding: .55rem 1.1rem;
    transition: background .2s, border-color .2s, color .2s;
}

.ns-geo-link:hover {
    background: rgba(240,165,0,.2);
    border-color: rgba(240,165,0,.6);
    color: var(--c-amber);
}

.ns-geo-link svg { flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════════ */
.ns-accordion {
    margin-top: 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--c-gray-100);
    box-shadow: var(--shadow-sm);
    background: var(--c-white);
}

.ns-faq-item {
    border-bottom: 1px solid var(--c-gray-100);
}
.ns-faq-item:last-child { border-bottom: none; }

.ns-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: .97rem;
    color: var(--c-text);
    list-style: none;
    user-select: none;
    transition: background .15s;
}
.ns-faq-question::-webkit-details-marker { display: none; }
.ns-faq-question span { flex: 1; }
.ns-faq-question:hover { background: var(--c-gray-50); }

.ns-faq-icon {
    flex-shrink: 0;
    color: var(--c-amber);
    transition: transform .25s ease;
}

.ns-faq-item[open] > .ns-faq-question {
    background: var(--c-dark);
    color: var(--c-white);
}
.ns-faq-item[open] > .ns-faq-question .ns-faq-icon {
    transform: rotate(180deg);
    color: var(--c-amber);
}

.ns-faq-answer {
    padding: 1.25rem 1.5rem;
    color: var(--c-gray-600);
    font-size: .95rem;
    border-top: 1px solid var(--c-gray-100);
    line-height: 1.75;
}
.ns-faq-answer p { margin: 0; }

/* ════════════════════════════════════════════════════════════════
   CTA FINAL
   ════════════════════════════════════════════════════════════════ */
.ns-cta-final {
    background: var(--c-dark);
    background-image: radial-gradient(ellipse 70% 80% at 50% 120%, rgba(240,165,0,.1) 0%, transparent 70%);
    padding: 6rem 0 7rem;
    text-align: center;
}

.ns-cta-inner {
    max-width: 560px;
    margin: 0 auto;
}

.ns-cta-final .ns-section-label {
    color: rgba(240,165,0,.8);
}

.ns-cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--c-white);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -.02em;
}

.ns-cta-title em {
    font-style: normal;
    color: var(--c-amber);
}

.ns-cta-text {
    color: rgba(255,255,255,.6);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 640px) {
    .ns-hero { padding: 4rem 0 5rem; }
    .ns-section-white, .ns-section-dark, .ns-section-faq { padding: 4rem 0; }
    .ns-cta-final { padding: 5rem 0 6rem; }
    .ns-btn--lg { width: 100%; justify-content: center; }
    .ns-btn--outline { display: none; }
    .ns-bloque-inner { flex-direction: column; }
    .ns-bloque-num {
        font-size: 2rem;
        padding: .75rem 1.25rem;
        min-width: auto;
        flex-direction: row;
        gap: .5rem;
    }
    .ns-h1 { font-size: 1.75rem; }
    .ns-geo-links { flex-direction: column; }
}
