/* Frontend pÃºblico â€” mÃ³dulo website */
:root {
    --sfe-primary: #007BFF;
    --sfe-secondary: #2C7BE5;
    --sfe-teal: #0d9488;
    --sfe-teal-dark: #0f766e;
    --primary-dark: #0056CC;
}

.website-public {
    margin: 0;
    font-family: var(--site-font-body, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
    color: #1e293b;
    background: #f8fafc;
    line-height: 1.6;
}

.website-public h1,
.website-public h2,
.website-public h3,
.website-public h4,
.website-public .site-logo,
.website-public .hero h1,
.website-public .block-features h2 {
    font-family: var(--site-font-heading, var(--site-font-body, system-ui, sans-serif));
}

.site-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.5rem;
    gap: 1rem;
}

.site-logo {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--sfe-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    max-width: min(12rem, 42vw);
    flex-shrink: 0;
}

.site-logo-img {
    display: block;
    max-height: 2rem;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.site-nav a {
    color: #475569;
    text-decoration: none;
    font-size: 0.9375rem;
}

.site-nav a:hover {
    color: var(--sfe-secondary);
}

.site-nav a.site-signin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: 0.35rem;
    padding: 0.52rem 1.1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    color: #fff;
    background: linear-gradient(180deg, var(--sfe-secondary) 0%, var(--primary-dark) 100%);
    border: 1px solid var(--primary-dark);
    box-shadow: 0 2px 8px rgba(44, 123, 229, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease,
        box-shadow 0.18s ease, transform 0.12s ease;
}

.site-nav a.site-signin-link::before {
    content: "";
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    opacity: 0.95;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.site-nav a.site-signin-link:hover {
    color: #fff;
    background: linear-gradient(180deg, var(--primary-dark) 0%, #004499 100%);
    border-color: #004499;
    box-shadow: 0 6px 18px rgba(44, 123, 229, 0.38);
    transform: translateY(-1px);
}

.site-nav a.site-signin-link:focus-visible {
    outline: 2px solid var(--sfe-secondary);
    outline-offset: 2px;
}

.site-main {
    padding: 2rem 0 3rem;
    min-height: calc(100vh - 8rem);
}

.site-content {
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.site-content h1,
.site-content h2 {
    margin-top: 0;
    color: #0f172a;
}

.site-content .hero {
    text-align: center;
    padding: 2rem 0;
}

.site-not-found {
    text-align: center;
}

.site-footer {
    border-top: 1px solid #e2e8f0;
    padding: 1.25rem 0;
    color: #64748b;
    font-size: 0.875rem;
    background: #fff;
}

.website-public .btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
}

.website-public .btn:disabled,
.website-public .btn[disabled] {
    cursor: not-allowed;
}

.website-public .btn-primary {
    background: var(--sfe-secondary);
    color: #fff;
}

.website-public .btn-primary:hover {
    background: var(--primary-dark);
}

/* Bloques CMS */
.wb-hero { text-align: center; padding: 2.5rem 1rem; margin-bottom: 1.5rem; }
.wb-hero-sub { font-size: 1.125rem; color: var(--wb-muted); margin: 0.5rem 0 1rem; }
.wb-hero-body { max-width: 36rem; margin: 0 auto 1rem; }
.wb-features { margin: 2rem 0; }
.wb-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.wb-feature-card {
    background: var(--wb-card-alt);
    border-radius: 0.5rem;
    padding: 1.25rem;
    border: 1px solid var(--wb-border);
}
.wb-feature-card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.wb-cta {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 1.5rem;
    background: var(--wb-card-alt);
    border-radius: 0.75rem;
    border: 1px solid var(--wb-border);
}
.wb-cta-enhanced { padding: 2.5rem 1.25rem; }
.wb-cta-sub { color: var(--wb-muted); margin: 0.35rem 0 0.75rem; }
.wb-cta-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; margin-top: 1rem; }
.wb-cta-secondary {
    background: transparent !important;
    color: var(--wb-text) !important;
    border: 1px solid var(--wb-border);
}
.wb-text { margin: 1.5rem 0; max-width: 42rem; }
.wb-text-body { line-height: 1.65; color: var(--wb-text); }
.wb-image-text {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
    margin: 2rem 0;
}
.wb-image-text-media img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
    border: 1px solid var(--wb-border);
}
.wb-image-text-placeholder,
.wb-video-placeholder {
    min-height: 12rem;
    display: grid;
    place-items: center;
    background: var(--wb-card-alt);
    border: 1px dashed var(--wb-border);
    border-radius: 0.5rem;
    color: var(--wb-muted);
    font-size: 0.875rem;
    cursor: pointer;
}
.wb-columns { margin: 2rem 0; }
.wb-columns-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}
.wb-columns-2 .wb-columns-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wb-columns-3 .wb-columns-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wb-column-card {
    background: var(--wb-card-alt);
    border: 1px solid var(--wb-border);
    border-radius: 0.5rem;
    padding: 1.1rem;
}
.wb-column-card h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.wb-list { margin: 1.5rem 0; }
.wb-list-items { margin: 0.75rem 0 0; padding-left: 1.25rem; }
.wb-list-items li { margin: 0.4rem 0; }
.wb-list-items span { display: block; color: var(--wb-muted); font-size: 0.9rem; }
.wb-video { margin: 2rem 0; }
.wb-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    border-radius: 0.5rem;
    overflow: hidden;
}
.wb-video-frame iframe { width: 100%; height: 100%; border: 0; }
.wb-video-caption { margin-top: 0.65rem; color: var(--wb-muted); font-size: 0.9rem; }
.wb-contact-strip {
    margin: 2rem 0;
    padding: 1.25rem 1.35rem;
    background: linear-gradient(135deg, var(--wb-card-alt), var(--wb-card));
    border: 1px solid var(--wb-border);
    border-radius: 0.75rem;
}
.wb-contact-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.wb-contact-strip-sub { color: var(--wb-muted); margin: 0.25rem 0; }
.wb-spacer { margin: 0; padding: 0; }
.wb-spacer-sm { padding: 0.75rem 0; }
.wb-spacer-md { padding: 1.5rem 0; }
.wb-spacer-lg { padding: 2.5rem 0; }
.wb-spacer-xl { padding: 3.5rem 0; }
.wb-spacer-line {
    border: 0;
    border-top: 1px solid var(--wb-border);
    margin: 0;
}
.wb-spacer-dots .wb-spacer-line {
    border-top-style: dotted;
    border-top-width: 3px;
}
.wb-testimonials { margin: 2rem 0; }
.wb-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.wb-testimonial-card {
    margin: 0;
    padding: 1.1rem;
    background: var(--wb-card-alt);
    border: 1px solid var(--wb-border);
    border-radius: 0.5rem;
}
.wb-testimonial-card cite {
    display: block;
    margin-top: 0.65rem;
    font-style: normal;
    font-weight: 600;
    font-size: 0.875rem;
}

/* â€”â€” Snippets P1 + estilo de secciÃ³n â€”â€” */
.wb-section-wrap { border-radius: 0.35rem; }
.wb-pad-none { padding: 0; }
.wb-pad-sm { padding: 0.75rem 0; }
.wb-pad-md { padding: 1.25rem 0; }
.wb-pad-lg { padding: 2rem 0; }
.wb-pad-xl { padding: 3rem 0; }
.wb-align-left { text-align: left; }
.wb-align-center { text-align: center; }
.wb-align-right { text-align: right; }
.wb-section-wrap img {
    object-fit: var(--wb-img-fit, cover);
    object-position: var(--wb-img-pos, center);
}
@media (max-width: 640px) {
    .wb-hide-mobile { display: none !important; }
}
@media (min-width: 641px) {
    .wb-hide-desktop { display: none !important; }
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.wb-comparison { margin: 2rem 0; }
.wb-comparison-sub { color: var(--wb-muted); margin: 0.35rem 0 1rem; }
.wb-comparison-table {
    border: 1px solid var(--wb-border);
    border-radius: 0.65rem;
    overflow: hidden;
}
.wb-comparison-row {
    display: grid;
    grid-template-columns: minmax(7rem, 0.4fr) 1fr;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--wb-border);
}
.wb-comparison-row:last-child { border-bottom: 0; }
.wb-comparison-row:nth-child(odd) { background: var(--wb-card-alt, #f8fafc); }
.wb-comparison-label { font-weight: 700; }
.wb-comparison-value { color: var(--wb-muted); }

.wb-steps { margin: 2rem 0; }
.wb-steps-sub { color: var(--wb-muted); margin: 0.35rem 0 1.25rem; }
.wb-steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}
.wb-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
}
.wb-step-num {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: var(--wb-accent, #2563eb);
    color: #fff;
}
.wb-step-body h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.wb-step-body p { margin: 0; color: var(--wb-muted); }

.wb-newsletter {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 0.85rem;
    background: var(--wb-card-alt, #f1f5f9);
    border: 1px solid var(--wb-border);
}
.wb-newsletter-inner {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
}
.wb-newsletter-sub { color: var(--wb-muted); margin: 0.25rem 0; }
.wb-newsletter-form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.wb-newsletter-field { flex: 1; min-width: 10rem; }
.wb-newsletter-field input {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--wb-border);
    border-radius: 0.45rem;
}
@media (max-width: 720px) {
    .wb-newsletter-inner { grid-template-columns: 1fr; }
}

.wb-gallery { margin: 2rem 0; }
.wb-gallery-sub { color: var(--wb-muted); margin: 0.35rem 0 1rem; }
.wb-gallery-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.wb-gallery-item {
    margin: 0;
    border-radius: 0.65rem;
    overflow: hidden;
    border: 1px solid var(--wb-border);
    background: var(--wb-card, #fff);
}
.wb-gallery-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: var(--wb-img-fit, cover);
    object-position: var(--wb-img-pos, center);
}
.wb-gallery-placeholder {
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.85rem;
}
.wb-gallery-item figcaption {
    padding: 0.55rem 0.7rem;
    font-size: 0.8125rem;
    color: var(--wb-muted);
}

.wb-tabs { margin: 2rem 0; }
.wb-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid var(--wb-border);
    padding-bottom: 0.5rem;
}
.wb-tabs-btn {
    border: 0;
    background: transparent;
    color: var(--wb-muted);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0.4rem;
    cursor: pointer;
}
.wb-tabs-btn.is-active {
    background: var(--wb-accent, #2563eb);
    color: #fff;
}
.wb-tabs-panel {
    padding: 0.85rem 0.15rem;
    line-height: 1.55;
    color: var(--wb-text);
}
.wb-tabs-panel[hidden] { display: none !important; }
.sfe-we-editing .wb-tabs-panel { display: block !important; margin-bottom: 0.65rem; border-left: 2px solid #bfdbfe; padding-left: 0.75rem; }

.wb-cta-banner {
    margin: 2.5rem 0;
    padding: 3rem 1.5rem;
    border-radius: 0;
    background: #0f172a;
    color: #f8fafc;
    text-align: center;
}
.wb-section-wrap:has(.wb-cta-banner) {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
}
.wb-cta-banner-inner { max-width: 42rem; margin: 0 auto; }
.wb-cta-banner h2 { color: #fff; margin: 0 0 0.5rem; }
.wb-cta-banner-sub { color: #94a3b8; margin: 0 0 0.75rem; }
.wb-cta-banner-body { color: #cbd5e1; margin-bottom: 1.25rem; }
.wb-cta-banner-actions { display: flex; gap: 0.65rem; justify-content: center; flex-wrap: wrap; }
.wb-cta-banner-secondary {
    background: transparent !important;
    border: 1px solid #64748b !important;
    color: #e2e8f0 !important;
}

.wb-testimonials-carousel { margin: 2rem 0; text-align: center; }
.wb-testimonials-carousel-sub { color: var(--wb-muted); margin: 0.35rem 0 1rem; }
.wb-carousel-track { position: relative; min-height: 8rem; }
.wb-carousel-slide {
    display: none;
    margin: 0 auto;
    max-width: 36rem;
    padding: 1.25rem 1.5rem;
    background: var(--wb-card-alt);
    border: 1px solid var(--wb-border);
    border-radius: 0.75rem;
}
.wb-carousel-slide.is-active { display: block; }
.wb-carousel-slide cite {
    display: block;
    margin-top: 0.75rem;
    font-style: normal;
    font-weight: 700;
    font-size: 0.875rem;
}
.wb-carousel-nav { display: flex; gap: 0.5rem; justify-content: center; margin-top: 0.85rem; }
.wb-carousel-prev,
.wb-carousel-next {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid var(--wb-border);
    background: var(--wb-card, #fff);
    cursor: pointer;
    font-size: 1.15rem;
    line-height: 1;
}
.sfe-we-editing .wb-carousel-slide { display: block; margin-bottom: 0.65rem; }

.wb-cards-grid { margin: 2rem 0; }
.wb-cards-sub { color: var(--wb-muted); margin: 0.35rem 0 1rem; }
.wb-cards-grid-inner {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.wb-card {
    background: var(--wb-card, #fff);
    border: 1px solid var(--wb-border);
    border-radius: 0.65rem;
    padding: 1.15rem 1.2rem;
}
.wb-card h3 { margin: 0 0 0.45rem; font-size: 1.05rem; }
.wb-card p { margin: 0; color: var(--wb-muted); line-height: 1.5; }

.wb-counters { margin: 2rem 0; text-align: center; }
.wb-counters-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    margin-top: 1.25rem;
}
.wb-counter-value {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--wb-text);
}
.wb-counter-label { color: var(--wb-muted); font-size: 0.9rem; margin-top: 0.25rem; }

.wb-pricing { margin: 2rem 0; text-align: center; }
.wb-pricing-sub { color: var(--wb-muted); margin: 0.35rem 0 1.25rem; }
.wb-pricing-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: left;
}
.wb-pricing-card {
    background: var(--wb-card, #fff);
    border: 1px solid var(--wb-border);
    border-radius: 0.75rem;
    padding: 1.35rem 1.25rem;
}
.wb-pricing-card.is-featured {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.wb-pricing-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }

.wb-team-logos { margin: 2rem 0; text-align: center; }
.wb-team-logos-sub { color: var(--wb-muted); margin: 0.25rem 0 1rem; }
.wb-logos-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}
.wb-logo-chip {
    min-width: 6.5rem;
    padding: 0.7rem 1rem;
    background: var(--wb-card-alt);
    border: 1px solid var(--wb-border);
    border-radius: 0.5rem;
    font-weight: 700;
    color: var(--wb-muted);
    letter-spacing: 0.02em;
}

.wb-alert-banner {
    margin: 1.25rem 0;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    padding: 0.9rem 1.1rem;
}
.wb-alert-info { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.wb-alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.wb-alert-warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.wb-alert-danger { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.wb-alert-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem 1rem; }
.wb-alert-title { font-weight: 700; }
.wb-alert-body { flex: 1; min-width: 12rem; margin: 0; }
.wb-alert-body p { margin: 0; }
.wb-alert-link { font-weight: 700; text-decoration: underline; color: inherit; }
.wb-alert-tone-hint { width: 100%; font-size: 0.75rem; opacity: 0.8; margin: 0; }
.wb-muted { color: var(--wb-muted); }

.wb-quote {
    margin: 2rem auto;
    max-width: 40rem;
    padding: 1.5rem 1.25rem;
    border-left: 4px solid #94a3b8;
    background: var(--wb-card-alt);
    border-radius: 0 0.5rem 0.5rem 0;
}
.wb-quote-text { margin: 0; font-size: 1.15rem; line-height: 1.55; color: var(--wb-text); }
.wb-quote-text p { margin: 0; }
.wb-quote-lead { margin: 0.75rem 0 0.25rem; font-weight: 700; }
.wb-quote-cite { color: var(--wb-muted); font-size: 0.9rem; }

.wb-footer-cta {
    margin: 2.5rem 0 1rem;
    background: #0f172a;
    color: #f8fafc;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    text-align: center;
}
.wb-footer-cta h2 { color: #fff; margin: 0 0 0.35rem; }
.wb-footer-cta-sub { color: #94a3b8; margin: 0 0 0.75rem; }
.wb-footer-cta-body { max-width: 32rem; margin: 0 auto 1rem; color: #cbd5e1; }
.wb-footer-cta .btn-primary { background: #2563eb; }

.wb-faq-rich .wb-faq-intro { color: var(--wb-muted); max-width: 40rem; margin: 0.5rem 0 1rem; }
.wb-faq-answer { padding: 0.5rem 0 0.25rem; color: var(--wb-text); line-height: 1.55; }

@media (max-width: 720px) {
    .wb-image-text,
    .wb-columns-2 .wb-columns-grid,
    .wb-columns-3 .wb-columns-grid {
        grid-template-columns: 1fr;
    }
}
.wb-contact-form { margin-top: 1.5rem; max-width: 480px; }
.wb-contact-form .form-group { margin-bottom: 0.75rem; }
.wb-contact-form label { display: block; font-size: 0.875rem; margin-bottom: 0.25rem; }
.wb-contact-form .form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--wb-border);
    border-radius: 0.375rem;
    background: var(--wb-input-bg);
    color: var(--wb-text);
}
.wb-contact-form .form-captcha,
.wb-newsletter-form .form-captcha { margin: 0.75rem 0 1rem; }
.wb-contact-form .form-captcha-turnstile,
.wb-newsletter-form .form-captcha-turnstile { display: flex; justify-content: flex-start; }

/* Tema claro (default) */
.website-public.theme-light {
    --wb-bg: #f8fafc;
    --wb-text: #1e293b;
    --wb-muted: #64748b;
    --wb-border: #e2e8f0;
    --wb-card: #fff;
    --wb-card-alt: #f1f5f9;
    --wb-input-bg: #fff;
    --wb-header-bg: #fff;
    --wb-footer-bg: #fff;
}

/* Tema oscuro */
.website-public.theme-dark {
    --wb-bg: #0f172a;
    --wb-text: #e2e8f0;
    --wb-muted: #94a3b8;
    --wb-border: #334155;
    --wb-card: #1e293b;
    --wb-card-alt: #273449;
    --wb-input-bg: #0f172a;
    --wb-header-bg: #1e293b;
    --wb-footer-bg: #1e293b;
}

.website-public.theme-light,
.website-public.theme-dark {
    color: var(--wb-text);
    background: var(--wb-bg);
}

.website-public.theme-dark .site-header,
.website-public.theme-dark .site-footer {
    background: var(--wb-header-bg);
    border-color: var(--wb-border);
}

.website-public.theme-dark .site-nav a { color: var(--wb-muted); }
.website-public.theme-dark .site-nav a:hover { color: #c4b5fd; }

.website-public.theme-dark .site-content {
    background: var(--wb-card);
    box-shadow: none;
    border: 1px solid var(--wb-border);
}

.website-public.theme-light .site-content {
    background: var(--wb-card);
}

@media (max-width: 640px) {
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 0;
    }
}

/* eCommerce */
.shop-title { margin-bottom: 1.5rem; }
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}
.shop-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.shop-price { font-size: 1.125rem; font-weight: 700; color: var(--sfe-secondary); margin: 0.5rem 0; }
.shop-price-lg { font-size: 1.5rem; font-weight: 700; color: var(--sfe-secondary); }
.shop-desc { font-size: 0.875rem; color: #64748b; margin-bottom: 0.75rem; }
.shop-cart-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; background: #fff; border-radius: 0.5rem; overflow: hidden; }
.shop-cart-table th, .shop-cart-table td { padding: 0.75rem 1rem; border-bottom: 1px solid #e2e8f0; text-align: left; }
.shop-checkout { background: #fff; padding: 1.25rem; border-radius: 0.75rem; max-width: 480px; }
.shop-checkout-page .shop-checkout { max-width: none; }
.shop-checkout .form-group { margin-bottom: 0.75rem; }
.shop-checkout label { display: block; font-size: 0.875rem; margin-bottom: 0.25rem; }
.shop-checkout .form-control { width: 100%; padding: 0.5rem; border: 1px solid #cbd5e1; border-radius: 0.375rem; }
.shop-add-form { display: flex; gap: 0.75rem; align-items: flex-end; margin-top: 1rem; flex-wrap: wrap; }
.shop-flash { padding: 0.75rem 1rem; border-radius: 0.375rem; margin-bottom: 1rem; }
.shop-flash-error { background: #fee2e2; color: #991b1b; }
.shop-flash-success { background: #d1fae5; color: #065f46; }
.shop-variant-group { margin: 0.75rem 0; max-width: 320px; }
.shop-variant-hint { font-size: 0.875rem; color: #64748b; margin-top: 0.5rem; }
.shop-carriers, .shop-payment-methods { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.shop-carrier-option, .shop-payment-methods label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; }
.shop-bank-details { background: #f8fafc; padding: 1rem; border-radius: 0.5rem; margin: 1rem 0; font-size: 0.9375rem; }
.shop-bank-hint { color: #64748b; margin-bottom: 1rem; }
.shop-checkout { max-width: 560px; }
.shop-checkout-page .shop-checkout { max-width: none; }
.shop-checkout h2 { font-size: 1rem; margin: 1.25rem 0 0.75rem; color: #334155; }
.shop-checkout-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.25rem; align-items: center; }
.shop-checkout-summary { background: #f8fafc; padding: 1rem 1.25rem; border-radius: 0.5rem; margin-bottom: 1rem; max-width: 360px; }
/* Progress steps UI owned by website_sale.css (circles + labels; no stadium pills) */
.shop-checkout-steps { margin: 1rem 0 1.5rem; }
.shop-order-workflow { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-direction: column; gap: 0.35rem; max-width: 320px; }
.shop-order-workflow li { padding: 0.35rem 0.75rem; border-radius: 0.375rem; background: #f1f5f9; color: #64748b; font-size: 0.875rem; }
.shop-order-workflow li.is-done { background: #d1fae5; color: #065f46; }
.shop-order-pipeline { list-style: none; padding: 0; margin: 1rem 0 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; max-width: 420px; }
.shop-order-pipeline-step { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.5rem 0.85rem; border-radius: 0.5rem; background: #f8fafc; border: 1px solid #e2e8f0; font-size: 0.875rem; }
.shop-order-pipeline-step.is-done { background: #ecfdf5; border-color: #6ee7b7; color: #065f46; }
.shop-order-pipeline-hint { color: #64748b; font-size: 0.8125rem; }
.shop-order-pipeline-step.is-done .shop-order-pipeline-hint { color: #047857; }
.shop-coupon-form { display: flex; gap: 0.75rem; align-items: flex-end; margin: 0 0 1.25rem; flex-wrap: wrap; max-width: 420px; }
.shop-coupon-form label { flex: 1; min-width: 180px; font-size: 0.875rem; }
.shop-coupon-tag { display: inline-block; margin-left: 0.5rem; padding: 0.125rem 0.5rem; background: #ede9fe; color: #5b21b6; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.shop-coupon-remove { display: inline; margin-left: 0.5rem; }
.shop-coupon-remove .btn-link { background: none; border: none; color: #64748b; cursor: pointer; font-size: 0.8125rem; text-decoration: underline; padding: 0; }
.shop-wishlist-form { margin-top: 0.75rem; }
.shop-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    align-items: stretch;
    width: 100%;
    margin-top: auto;
}
.shop-card-actions .shop-card-cta { grid-column: 1 / -1; }
.shop-card-actions .inline-form { display: flex; width: 100%; margin: 0; }
.shop-card-actions .btn {
    width: 100%;
    min-height: 2.25rem;
    margin: 0;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.shop-card-actions .btn:disabled,
.shop-card-actions .btn[disabled] {
    cursor: not-allowed;
}
.shop-recommendations { margin: 2rem 0 1.5rem; padding-top: 1.5rem; border-top: 1px solid #e2e8f0; }
.shop-recommendations h2 { font-size: 1.125rem; margin: 0 0 1rem; color: #334155; }
.shop-recommendations h3 { font-size: 1rem; margin: 0 0 0.5rem; }
.shop-subscription-badge { display: inline-block; padding: 0.15rem 0.55rem; background: #ecfdf5; color: #047857; border-radius: 999px; font-size: 0.75rem; font-weight: 600; margin: 0.25rem 0 0.5rem; }
.shop-subscription-note { font-size: 0.875rem; color: #047857; margin: 0.35rem 0 0.75rem; }
.shop-price-period { font-size: 0.875rem; color: #64748b; margin-left: 0.25rem; }
.shop-subscription-list { margin: 0.5rem 0 1.25rem; padding-left: 1.25rem; color: #334155; }
.shop-subscription-list li { margin-bottom: 0.35rem; }
.shop-livechat {
    --shop-livechat-accent: var(--sfe-secondary, #2C7BE5);
    --shop-livechat-accent-deep: #1a5bb8;
    position: fixed;
    right: max(1.25rem, env(safe-area-inset-right));
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    z-index: 1100;
    font-family: var(--site-font-body, system-ui, sans-serif);
}
.shop-livechat-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid color-mix(in srgb, var(--shop-livechat-accent) 70%, #fff);
    color: #fff;
    background: linear-gradient(145deg, var(--shop-livechat-accent) 0%, var(--shop-livechat-accent-deep) 100%);
    border-radius: 999px;
    min-height: 3.25rem;
    padding: 0.75rem 1.15rem 0.75rem 0.95rem;
    font: 600 0.9375rem/1 var(--site-font-heading, inherit);
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow:
        0 10px 28px color-mix(in srgb, var(--shop-livechat-accent) 38%, transparent),
        0 2px 8px rgba(15, 23, 42, 0.12);
    transition: transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.22s ease, filter 0.18s ease;
}
.shop-livechat-toggle:hover {
    filter: brightness(1.05);
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 14px 34px color-mix(in srgb, var(--shop-livechat-accent) 42%, transparent),
        0 4px 12px rgba(15, 23, 42, 0.14);
}
.shop-livechat-toggle:active {
    transform: translateY(0) scale(0.98);
    filter: brightness(0.97);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--shop-livechat-accent) 30%, transparent);
}
.shop-livechat-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--shop-livechat-accent) 55%, transparent), 0 10px 28px rgba(15, 23, 42, 0.16);
}
.shop-livechat-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.22s ease;
}
.shop-livechat.is-open .shop-livechat-toggle-icon {
    transform: rotate(-8deg) scale(0.95);
}
.shop-livechat-toggle-icon svg { display: block; }
.shop-livechat-toggle-label { white-space: nowrap; }
.shop-livechat-badge {
    position: absolute;
    top: -0.2rem;
    right: -0.2rem;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.25rem;
    text-align: center;
    box-shadow: 0 0 0 2px #fff;
    animation: shop-livechat-badge-pop 0.35s ease;
}
@keyframes shop-livechat-badge-pop {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.shop-livechat.is-open .shop-livechat-toggle {
    box-shadow: 0 6px 18px color-mix(in srgb, var(--shop-livechat-accent) 28%, transparent);
}
.shop-livechat-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.85rem);
    width: min(380px, calc(100vw - 2rem));
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 22px 48px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    transform-origin: bottom right;
    animation: shop-livechat-panel-in 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes shop-livechat-panel-in {
    from { opacity: 0; transform: translateY(8px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.shop-livechat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    background: linear-gradient(135deg, var(--shop-livechat-accent) 0%, var(--shop-livechat-accent-deep) 100%);
    padding: 0.9rem 1rem;
    font-family: var(--site-font-heading, inherit);
}
.shop-livechat-header-main {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}
.shop-livechat-header-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #86efac;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
    flex-shrink: 0;
}
.shop-livechat-header strong {
    font-weight: 650;
    letter-spacing: 0.01em;
    font-size: 0.975rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shop-livechat-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin: -0.25rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 0.5rem;
    color: inherit;
    font-size: 1.35rem;
    cursor: pointer;
    line-height: 1;
    transition: background-color 0.15s ease, transform 0.15s ease;
}
.shop-livechat-close:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: scale(1.04);
}
.shop-livechat-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.shop-livechat-welcome {
    margin: 0;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #475569;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid #eef2f7;
}
.shop-livechat-frame {
    width: 100%;
    height: min(440px, 62vh);
    border: 0;
    display: block;
    background: #fff;
}
@media (max-width: 480px) {
    .shop-livechat {
        right: max(0.85rem, env(safe-area-inset-right));
        bottom: max(0.95rem, env(safe-area-inset-bottom));
    }
    .shop-livechat-panel {
        width: min(100vw - 1.5rem, 380px);
        bottom: calc(100% + 0.65rem);
    }
    .shop-livechat-toggle {
        min-width: 3.25rem;
        min-height: 3.25rem;
        padding: 0;
        border-radius: 50%;
    }
    .shop-livechat-toggle-label {
        position: absolute !important;
        width: 1px; height: 1px;
        padding: 0; margin: -1px;
        overflow: hidden; clip: rect(0, 0, 0, 0);
        white-space: nowrap; border: 0;
    }
    .shop-livechat-frame {
        height: min(420px, 58vh);
    }
}
.shop-carrier-api { font-size: 0.75rem; color: #64748b; margin-left: 0.35rem; }
.shop-save-cart-form { background: #f8fafc; padding: 1rem 1.25rem; border-radius: 0.75rem; margin-bottom: 1.25rem; max-width: 420px; }
.shop-save-cart-form h2 { font-size: 1rem; margin: 0 0 0.5rem; }
.shop-saved-cart-hint { font-size: 0.875rem; color: #475569; margin-bottom: 1rem; }
.shop-price-was { text-decoration: line-through; color: #94a3b8; font-weight: 400; font-size: 0.875em; margin-right: 0.35rem; }
.shop-price-from { font-size: 0.875rem; color: #64748b; margin-left: 0.25rem; }
.shop-b2b-badge { display: inline-block; padding: 0.2rem 0.55rem; background: #dbeafe; color: #1e40af; border-radius: 999px; font-size: 0.75rem; font-weight: 600; margin-right: 0.5rem; }
.shop-rating { display: inline-flex; align-items: center; gap: 0.15rem; color: #f59e0b; font-size: 0.875rem; margin: 0.25rem 0 0.5rem; }
.shop-rating-lg { font-size: 1.125rem; margin: 0.5rem 0 1rem; }
.shop-rating-count { color: #64748b; font-size: 0.8125rem; margin-left: 0.35rem; }
.shop-star { color: #e2e8f0; }
.shop-star.is-full { color: #f59e0b; }
.shop-star.is-half { background: linear-gradient(90deg, #f59e0b 50%, #e2e8f0 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shop-reviews { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #e2e8f0; }
.shop-review-list { list-style: none; padding: 0; margin: 1rem 0; }
.shop-review-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 0.5rem; padding: 1rem; margin-bottom: 0.75rem; }
.shop-review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-bottom: 0.5rem; font-size: 0.875rem; }
.shop-review-head time { color: #94a3b8; }
.shop-review-title { font-size: 0.9375rem; margin: 0 0 0.35rem; }
.shop-review-form { background: #f8fafc; padding: 1rem 1.25rem; border-radius: 0.75rem; max-width: 520px; margin-top: 1.25rem; }
.shop-review-form h3 { font-size: 1rem; margin: 0 0 0.75rem; }
.shop-rating-input { display: flex; flex-direction: column-reverse; gap: 0.25rem; }
.shop-rating-input label { font-size: 0.875rem; cursor: pointer; }
.shop-rating-input input { margin-right: 0.35rem; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.shop-breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem;
    font-size: 0.875rem; color: #64748b; margin: 0 0 1.25rem;
}
.shop-breadcrumb a { color: #0f766e; text-decoration: none; }
.shop-breadcrumb a:hover { text-decoration: underline; }

.shop-pdp {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}
@media (min-width: 900px) {
    .shop-pdp {
        grid-template-columns: minmax(18rem, 1.05fr) minmax(0, 1fr);
        gap: 2rem 2.25rem;
    }
}

.shop-pdp-gallery,
.shop-pdp-media { min-width: 0; }

.shop-pdp-buy,
.shop-pdp-info { min-width: 0; }

.shop-pdp-image-frame {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(145deg, #134e4a, #042f2e);
    aspect-ratio: 1 / 1;
    width: 100%;
    min-height: 16rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}
.shop-pdp-image-frame img {
    display: block; width: 100%; height: 100%;
    object-fit: cover;
}
.shop-pdp-badge {
    position: absolute; left: 0.85rem; bottom: 0.85rem;
    background: rgba(15, 23, 42, 0.72); color: #99f6e4;
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
    padding: 0.35rem 0.65rem; border-radius: 999px;
}
.shop-pdp-kicker {
    margin: 0 0 0.35rem; font-size: 0.8125rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em; color: #0f766e;
}
.shop-pdp-sku {
    margin: -0.35rem 0 0.75rem;
    font-size: 0.8125rem;
    color: #6b7280;
}
.shop-pdp-title {
    margin: 0 0 0.75rem; font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.2; color: #111827;
}
.shop-pdp-desc { color: #4b5563; line-height: 1.6; margin: 0.75rem 0 1.25rem; }
.shop-pdp-specs { margin: 0 0 1.5rem; }
.shop-pdp-specs h2 {
    margin: 0 0 0.75rem; font-size: 0.9375rem;
    text-transform: uppercase; letter-spacing: 0.04em; color: #374151;
}
.shop-specs-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem;
    margin: 0;
}
.shop-spec-item {
    background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 0.65rem;
    padding: 0.65rem 0.75rem;
}
.shop-spec-item dt {
    margin: 0; font-size: 0.7rem; text-transform: uppercase;
    letter-spacing: 0.04em; color: #6b7280;
}
.shop-spec-item dd {
    margin: 0.2rem 0 0; font-size: 0.9375rem; font-weight: 600; color: #111827;
}
.shop-pdp-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.25rem; }
.shop-pdp-actions .shop-add-form {
    display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem;
    margin-top: 0;
}
.shop-qty-label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.875rem; font-weight: 600; }
.shop-qty-input { width: 5.5rem; max-width: 100%; }
.shop-pdp-cta { min-height: 2.75rem; padding-inline: 1.25rem; font-weight: 600; }
.shop-wishlist-btn { align-self: flex-start; }

.shop-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.shop-card-media {
    display: block; position: relative; aspect-ratio: 1;
    background: #134e4a; overflow: hidden;
}
.shop-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.shop-card:hover .shop-card-media img { transform: scale(1.04); }
.shop-card-chip {
    position: absolute; top: 0.65rem; left: 0.65rem;
    background: rgba(15, 23, 42, 0.7); color: #99f6e4;
    font-size: 0.7rem; font-weight: 600; padding: 0.25rem 0.5rem; border-radius: 999px;
}
.shop-card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }

.shop-star-picker {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.15rem;
    margin: 0.25rem 0 0.75rem;
}
.shop-star-picker input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.shop-star-picker label {
    font-size: 1.55rem;
    line-height: 1;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.15s ease;
}
.shop-star-picker input:checked ~ label,
.shop-star-picker label:hover,
.shop-star-picker label:hover ~ label {
    color: #b45309;
}
.shop-star-picker input:focus-visible + label {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
    border-radius: 0.2rem;
}
.shop-rating-label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.15rem; }
.shop-review-fields {
    display: grid; grid-template-columns: 1fr; gap: 0.75rem;
}
@media (min-width: 640px) {
    .shop-review-fields { grid-template-columns: 1fr 1fr; }
    .shop-review-fields-full { grid-column: 1 / -1; }
}
.shop-reviews-head { margin-bottom: 1rem; }
.shop-review-form { max-width: 640px; }

.shop-catalog-head {
    display: flex; flex-wrap: wrap; justify-content: space-between;
    gap: 1rem 1.5rem; align-items: flex-end; margin-bottom: 1.5rem;
}
.shop-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.shop-filter-chip {
    border: 1px solid #d1d5db; background: #fff; color: #374151;
    border-radius: 999px; padding: 0.35rem 0.75rem; font-size: 0.8125rem;
    font-weight: 600; cursor: pointer;
}
.shop-filter-chip.is-active,
.shop-filter-chip:hover {
    background: #0f766e; border-color: #0f766e; color: #fff;
}
.shop-filter-empty { color: #6b7280; margin-top: 1rem; }
.shop-empty { padding: 2rem 0; color: #4b5563; }

.site-cart-link { font-weight: inherit; }
.site-cart-link.is-active,
.site-nav a.is-active { font-weight: 600; }

.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.875rem; }

/* Eventos â€” website_event */
.we-event-list { display: flex; flex-direction: column; gap: 1.25rem; }
.we-event-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.we-event-card h2 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.we-event-card h2 a { color: var(--sfe-secondary); text-decoration: none; }
.we-event-meta { list-style: none; margin: 0; padding: 0; font-size: 0.875rem; color: #64748b; }
.we-event-meta li { margin-bottom: 0.25rem; }
.we-event-detail h1 { margin-bottom: 0.75rem; }
.we-event-content { margin: 1.25rem 0; line-height: 1.6; }
.we-event-register { background: #f8fafc; padding: 1.25rem; border-radius: 0.75rem; margin: 1.5rem 0; max-width: 480px; }
.we-event-form label { display: block; margin-bottom: 0.75rem; font-size: 0.875rem; }
.we-event-form input, .we-event-form textarea {
    display: block; width: 100%; margin-top: 0.25rem; padding: 0.5rem;
    border: 1px solid #cbd5e1; border-radius: 0.375rem;
}
.we-event-alert { padding: 0.75rem 1rem; border-radius: 0.375rem; margin-bottom: 1rem; }
.we-event-success { background: #d1fae5; color: #065f46; }
.we-event-error { background: #fee2e2; color: #991b1b; }
.we-event-closed { color: #64748b; font-style: italic; }
.we-event-widget article { margin-bottom: 0.75rem; }
.we-event-widget-date { font-size: 0.8125rem; color: #64748b; margin: 0.25rem 0 0; }
.we-event-empty { color: #64748b; }
.we-event-tickets { border: 0; margin: 0 0 1rem; padding: 0; }
.we-event-tickets legend { font-weight: 600; margin-bottom: 0.5rem; }
.we-event-ticket-option { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding: 0.65rem 0.75rem; margin-bottom: 0.5rem; border: 1px solid #e2e8f0; border-radius: 0.5rem; cursor: pointer; }
.we-event-ticket-option.is-disabled { opacity: 0.5; cursor: not-allowed; }
.we-event-ticket-name { font-weight: 600; flex: 1; }
.we-event-ticket-price { color: #0f766e; font-weight: 600; }
.we-event-ticket-seats { font-size: 0.8125rem; color: #64748b; }
.we-event-form select { display: block; width: 100%; margin-top: 0.25rem; padding: 0.5rem; border: 1px solid #cbd5e1; border-radius: 0.375rem; }
.we-event-registration { max-width: 560px; margin: 0 auto; }
.we-event-bank { background: #f8fafc; padding: 1rem; border-radius: 0.5rem; margin: 1rem 0; font-size: 0.875rem; }
.we-event-hint { font-size: 0.8125rem; color: #64748b; }
.we-event-ticket { max-width: 420px; margin: 0 auto; text-align: center; }
.we-event-ticket h1 { font-size: 1.35rem; margin-bottom: 1rem; }
.we-event-qr-wrap { margin: 1.25rem auto; padding: 1rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 0.75rem; display: inline-block; }
.we-event-qr { display: block; margin: 0 auto; }
.we-event-qr-code { margin: 0.75rem 0 0; font-family: ui-monospace, monospace; letter-spacing: 0.15em; font-weight: 700; color: #334155; }
.we-event-ticket-meta { text-align: left; margin: 1.25rem 0; font-size: 0.9375rem; line-height: 1.5; }
.we-event-ticket-meta p { margin: 0.35rem 0; }

/* Appointments â€” appointment module */
.appt-list { display: flex; flex-direction: column; gap: 1.25rem; }
.appt-card {
    background: #fff; border-radius: 0.75rem; padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.appt-card h2 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.appt-card h2 a { color: var(--sfe-secondary); text-decoration: none; }
.appt-meta { list-style: none; margin: 0; padding: 0; font-size: 0.875rem; color: #64748b; }
.appt-meta li { margin-bottom: 0.25rem; }
.appt-detail h1 { margin-bottom: 0.75rem; }
.appt-description { margin: 1rem 0; line-height: 1.6; color: #334155; }
.appt-register { background: #f8fafc; padding: 1.25rem; border-radius: 0.75rem; margin: 1.5rem 0; max-width: 480px; }
.appt-form label { display: block; margin-bottom: 0.75rem; font-size: 0.875rem; }
.appt-form input, .appt-form textarea, .appt-form select {
    display: block; width: 100%; margin-top: 0.25rem; padding: 0.5rem;
    border: 1px solid #cbd5e1; border-radius: 0.375rem;
}
.appt-message { margin: 1rem 0; line-height: 1.55; color: #334155; }
.appt-hero-img, .appt-card-img { display: block; margin-bottom: 0.75rem; }
.appt-hero-img img, .appt-card-img img {
    width: 100%; max-height: 220px; object-fit: cover; border-radius: 0.75rem;
}
.appt-cancel-form { margin-top: 1rem; max-width: 480px; }
.appt-embed-help { margin: 1.5rem 0; max-width: 640px; }
.appt-alert { padding: 0.75rem 1rem; border-radius: 0.375rem; margin-bottom: 1rem; }

/* Website blocks FAQ / testimonials */
.site-faq-list { display: flex; flex-direction: column; gap: 0.5rem; margin: 1rem 0; }
.site-faq-item { background: #fff; border-radius: 0.5rem; padding: 0.75rem 1rem; border: 1px solid #e2e8f0; }
.site-faq-item summary { cursor: pointer; font-weight: 600; }
.site-testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin: 1rem 0; }
.site-testimonial { margin: 0; background: #fff; border-radius: 0.75rem; padding: 1rem; border-left: 3px solid var(--sfe-secondary, #2c7be5); }
.site-testimonial cite { display: block; margin-top: 0.5rem; font-size: 0.875rem; color: #64748b; }
.appt-success { background: #d1fae5; color: #065f46; }
.appt-error { background: #fee2e2; color: #991b1b; }

/* Jobs â€” hr_recruitment */
.jobs-list { display: flex; flex-direction: column; gap: 1.25rem; }
.jobs-card {
    background: #fff; border-radius: 0.75rem; padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.jobs-card h2 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.jobs-card h2 a { color: #008784; text-decoration: none; }
.jobs-meta { list-style: none; margin: 0; padding: 0; font-size: 0.875rem; color: #64748b; }
.jobs-meta li { margin-bottom: 0.25rem; }
.jobs-detail h1 { margin-bottom: 0.75rem; }
.jobs-description { margin: 1rem 0; line-height: 1.6; color: #334155; }
.jobs-apply { background: #f8fafc; padding: 1.25rem; border-radius: 0.75rem; margin: 1.5rem 0; max-width: 520px; }
.jobs-form label { display: block; margin-bottom: 0.75rem; font-size: 0.875rem; }
.jobs-form input, .jobs-form textarea {
    display: block; width: 100%; margin-top: 0.25rem; padding: 0.5rem;
    border: 1px solid #cbd5e1; border-radius: 0.375rem;
}
.jobs-alert { padding: 0.75rem 1rem; border-radius: 0.375rem; margin-bottom: 1rem; }
.jobs-success { background: #d1fae5; color: #065f46; }
.jobs-error { background: #fee2e2; color: #991b1b; }

/* eLearning â€” website_slides */
.ws-course-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.ws-course-card { background: #fff; border-radius: 0.75rem; padding: 1.25rem; border-top: 4px solid var(--ws-color, var(--sfe-secondary)); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08); }
.ws-course-card h2 { margin: 0 0 0.5rem; font-size: 1.125rem; }
.ws-course-card h2 a { color: var(--sfe-secondary); text-decoration: none; }
.ws-course-meta { font-size: 0.875rem; color: #64748b; margin: 0; }
.ws-lesson-list { margin: 1rem 0; padding-left: 1.25rem; }
.ws-lesson-list li { margin-bottom: 0.5rem; }
.ws-section-list { margin: 1.25rem 0; display: flex; flex-direction: column; gap: 0.5rem; }
.ws-section { background: #fff; border: 1px solid #e2e8f0; border-radius: 0.5rem; padding: 0.15rem 0.85rem 0.35rem; }
.ws-section-summary { cursor: pointer; font-weight: 600; color: #0f172a; padding: 0.65rem 0; list-style: none; display: flex; align-items: center; gap: 0.5rem; }
.ws-section-summary::-webkit-details-marker { display: none; }
.ws-section-summary::before { content: '▸'; color: #64748b; font-size: 0.85rem; }
.ws-section[open] > .ws-section-summary::before { content: '▾'; }
.ws-section-count { margin-left: auto; font-size: 0.75rem; font-weight: 500; color: #64748b; background: #f1f5f9; padding: 0.1rem 0.45rem; border-radius: 999px; }
.ws-presentation { margin: 1rem 0 1.25rem; padding: 1rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 0.5rem; }
.ws-presentation-title { margin: 0 0 0.75rem; font-size: 1rem; }
.ws-presentation-frame { width: 100%; min-height: 420px; background: #fff; border-radius: 0.375rem; overflow: hidden; border: 1px solid #e2e8f0; }
.ws-presentation-object, .ws-presentation-iframe { width: 100%; height: 480px; border: 0; display: block; }
.ws-presentation-actions { margin: 0.75rem 0 0; }
.ws-preview-badge { font-size: 0.75rem; background: #ede9fe; color: #5b21b6; padding: 0.1rem 0.4rem; border-radius: 0.25rem; }
.ws-lesson-video { position: relative; padding-bottom: 56.25%; height: 0; margin: 1rem 0; }
.ws-lesson-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: 0.5rem; }
.ws-course-widget article { margin-bottom: 0.75rem; }
.ws-course-empty { color: #64748b; }
.ws-course-badge { font-size: 0.8125rem; color: #5b21b6; margin: 0.35rem 0 0; }
.ws-course-price-badge { color: #0f766e; font-weight: 600; }
.ws-course-price { font-size: 1.5rem; font-weight: 700; color: #0f766e; margin: 0 0 0.75rem; }
.ws-purchase .ws-btn-primary { margin-top: 0.25rem; }
.ws-enroll-form select {
    display: block; width: 100%; margin-top: 0.25rem; padding: 0.5rem;
    border: 1px solid #cbd5e1; border-radius: 0.375rem;
}
.ws-course-order { max-width: 560px; margin: 0 auto; }
.ws-bank-details { background: #f8fafc; padding: 1rem; border-radius: 0.5rem; margin: 1rem 0; font-size: 0.875rem; line-height: 1.5; }
.ws-gamification { margin: 0.75rem 0 1rem; padding: 0.85rem 1rem; background: #faf5ff; border-radius: 0.5rem; border: 1px solid #e9d5ff; }
.ws-karma-row { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.ws-karma-points { font-weight: 700; color: var(--sfe-primary, #007BFF); font-size: 1rem; }
.ws-karma-rank { font-size: 0.8125rem; color: #64748b; }
.ws-badge-list { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ws-badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: color-mix(in srgb, var(--ws-badge-color, var(--sfe-secondary)) 12%, white); border: 1px solid color-mix(in srgb, var(--ws-badge-color, var(--sfe-secondary)) 35%, white); font-size: 0.8125rem; }
.ws-badge-icon { font-size: 1rem; }
.ws-gamification-link { margin: 0.5rem 0 0; font-size: 0.8125rem; }
.ws-ranking-link { margin-top: 1.25rem; text-align: center; }
.ws-ranking-page { max-width: 720px; margin: 0 auto; }
.ws-leaderboard-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.875rem; }
.ws-leaderboard-table th, .ws-leaderboard-table td { padding: 0.5rem 0.75rem; border-bottom: 1px solid #e2e8f0; text-align: left; }
.ws-leaderboard-table th { background: #f8fafc; font-weight: 600; }
.ws-enroll { background: #f8fafc; border-radius: 0.75rem; padding: 1.25rem; margin: 1.25rem 0; max-width: 480px; }
.ws-enroll h2 { margin: 0 0 0.75rem; font-size: 1.125rem; }
.ws-enroll-form label { display: block; margin-bottom: 0.75rem; font-size: 0.875rem; }
.ws-enroll-form input {
    display: block; width: 100%; margin-top: 0.25rem; padding: 0.5rem;
    border: 1px solid #cbd5e1; border-radius: 0.375rem;
}
.ws-enroll-hint { font-size: 0.8125rem; color: #64748b; margin: 0.75rem 0 0; }
.ws-btn {
    display: inline-block; padding: 0.5rem 1rem; border-radius: 0.375rem;
    font-size: 0.875rem; text-decoration: none; border: none; cursor: pointer;
}
.ws-btn-primary { background: var(--sfe-secondary); color: #fff; }
.ws-btn-secondary { background: #e2e8f0; color: #334155; }
.ws-btn-link { background: transparent; color: var(--sfe-secondary); padding-left: 0; }
.ws-alert { padding: 0.75rem 1rem; border-radius: 0.375rem; margin-bottom: 1rem; font-size: 0.875rem; }
.ws-alert-error { background: #fee2e2; color: #991b1b; }
.ws-alert-success { background: #d1fae5; color: #065f46; }
.ws-alert-warning { background: #fef3c7; color: #92400e; }
.ws-progress { margin: 1rem 0 1.25rem; }
.ws-progress-compact { margin: 0.75rem 0 1rem; }
.ws-progress-header { display: flex; justify-content: space-between; font-size: 0.875rem; margin-bottom: 0.35rem; color: #475569; }
.ws-progress-student { color: #64748b; }
.ws-progress-bar { height: 0.5rem; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.ws-progress-fill { height: 100%; background: var(--ws-color, var(--sfe-secondary)); border-radius: 999px; transition: width 0.3s ease; }
.ws-cert-ready { font-size: 0.875rem; margin: 0.75rem 0 0; }
.ws-lesson-list li.is-done a { color: #059669; }
.ws-done-badge { color: #059669; font-size: 0.75rem; }
.ws-lesson-done { color: #059669; font-weight: 600; margin-top: 1rem; }
.ws-complete-form { margin-top: 1.25rem; }
.ws-quiz { margin: 1rem 0; }
.ws-quiz-meta, .ws-quiz-attempts { font-size: 0.875rem; color: #64748b; margin: 0.35rem 0; }
.ws-quiz-form fieldset.ws-quiz-question {
    border: 1px solid #e2e8f0; border-radius: 0.5rem; padding: 0.85rem 1rem; margin: 0.75rem 0;
}
.ws-quiz-form legend { font-weight: 600; padding: 0 0.35rem; }
.ws-quiz-option { display: block; margin: 0.35rem 0; font-size: 0.9375rem; cursor: pointer; }
.ws-quiz-hint { font-size: 0.8125rem; color: #64748b; margin: 0.25rem 0 0.5rem; }
.ws-quiz-timer {
    display: inline-block; padding: 0.45rem 0.75rem; margin: 0.5rem 0 0.75rem;
    background: #fff7ed; border: 1px solid #fed7aa; border-radius: 0.375rem;
    font-size: 0.875rem; color: #9a3412;
}
.ws-quiz-timer.is-expired { background: #fee2e2; border-color: #fecaca; color: #991b1b; }
.ws-quiz-blank, .ws-quiz-open, .ws-quiz-order-row select, .ws-quiz-match-row select {
    display: block; width: 100%; max-width: 480px; margin-top: 0.35rem; padding: 0.5rem;
    border: 1px solid #cbd5e1; border-radius: 0.375rem; font-size: 0.9375rem;
}
.ws-quiz-open { max-width: 100%; min-height: 7rem; }
.ws-quiz-order-row, .ws-quiz-match-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
    margin: 0.45rem 0; font-size: 0.875rem;
}
.ws-quiz-match-left { min-width: 8rem; font-weight: 500; }
.ws-quiz-rubric { margin: 0.5rem 0 0; padding-left: 1.25rem; font-size: 0.8125rem; color: #64748b; }
.ws-assignment { margin: 1rem 0; }
.ws-assignment-form label { display: block; margin: 0.75rem 0; font-size: 0.875rem; }
.ws-assignment-form input[type="file"],
.ws-assignment-form textarea {
    display: block; width: 100%; max-width: 480px; margin-top: 0.35rem; padding: 0.5rem;
    border: 1px solid #cbd5e1; border-radius: 0.375rem;
}
.ws-assignment-status { background: #f8fafc; border-radius: 0.5rem; padding: 0.85rem 1rem; margin: 0.75rem 0; }
.ws-assignment-comment { font-size: 0.875rem; color: #475569; }
.ws-scorm-score { font-size: 0.875rem; color: #0f766e; font-weight: 600; }
.ws-scorm { margin: 1rem 0; }
.ws-scorm-hint { font-size: 0.875rem; color: #64748b; }
.ws-scorm-frame-wrap {
    position: relative; width: 100%; height: min(70vh, 640px); margin-top: 0.75rem;
    border: 1px solid #e2e8f0; border-radius: 0.5rem; overflow: hidden; background: #0f172a;
}
.ws-scorm-frame { width: 100%; height: 100%; border: 0; }
.ws-forum-link { margin: 1rem 0; }
.ws-forum-list { list-style: none; padding: 0; margin: 1rem 0; }
.ws-forum-list li {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
    padding: 0.75rem 0; border-bottom: 1px solid #e2e8f0;
}
.ws-forum-meta { font-size: 0.8125rem; color: #64748b; }
.ws-forum-post {
    background: #f8fafc; border-radius: 0.5rem; padding: 1rem; margin: 0.75rem 0;
}
.ws-forum-post.is-op { background: #faf5ff; border: 1px solid #e9d5ff; }
.ws-forum-post header { font-size: 0.875rem; margin-bottom: 0.5rem; color: #475569; }
.ws-forum-body { line-height: 1.55; color: #0f172a; }
.ws-forum-new { margin-top: 1.5rem; max-width: 560px; }
.ws-forum-new textarea {
    display: block; width: 100%; margin-top: 0.25rem; padding: 0.5rem;
    border: 1px solid #cbd5e1; border-radius: 0.375rem; min-height: 6rem;
}
.ws-forum-mod { margin-top: 1rem; font-size: 0.8125rem; }
.ws-certificate { max-width: 720px; margin: 0 auto; }
.ws-certificate-card {
    border: 3px solid var(--ws-color, var(--sfe-secondary));
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    background: #fff;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}
.ws-certificate-label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8125rem; color: #64748b; margin: 0 0 0.5rem; }
.ws-certificate-card h1 { margin: 0 0 0.75rem; font-size: 2rem; color: var(--ws-color, var(--sfe-secondary)); }
.ws-certificate-body, .ws-certificate-text { color: #475569; margin: 0.5rem 0; line-height: 1.5; }
.ws-certificate-course { font-size: 1.25rem; font-weight: 600; margin: 0.75rem 0; color: #0f172a; }
.ws-certificate-meta { font-size: 0.875rem; color: #64748b; margin: 1rem 0; }
.ws-certificate-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.25rem; }
@media print {
    .ws-certificate-actions, .ws-alert { display: none !important; }
    .ws-certificate-card { box-shadow: none; border-width: 2px; }
}

/* Blog â€” website_blog */
.wb-blog-list { display: flex; flex-direction: column; gap: 1.25rem; }
.wb-blog-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.wb-blog-card h2 { margin: 0 0 0.35rem; font-size: 1.25rem; }
.wb-blog-card h2 a { color: #0ea5e9; text-decoration: none; }
.wb-blog-post h1 { margin-bottom: 0.5rem; }
.wb-blog-meta { font-size: 0.875rem; color: #64748b; margin: 0 0 1rem; }
.wb-blog-content { line-height: 1.65; margin: 1rem 0 1.5rem; color: #334155; }
.wb-blog-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0 1.25rem;
}
.wb-blog-share-label { font-size: 0.875rem; color: #64748b; margin-right: 0.25rem; }
.wb-share-btn {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    text-decoration: none;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}
.wb-share-btn:hover { background: #e2e8f0; }
.wb-share-whatsapp { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.wb-share-facebook { background: #dbeafe; color: #1d4ed8; border-color: #bfdbfe; }
.wb-share-twitter { background: #f1f5f9; color: #0f172a; }
.wb-share-linkedin { background: #e0f2fe; color: #0369a1; border-color: #bae6fd; }
.wb-blog-comments {
    margin: 2rem 0 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}
.wb-blog-comment-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}
.wb-blog-comment {
    padding: 0.85rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.wb-blog-comment p { margin: 0.35rem 0 0; line-height: 1.5; }
.wb-blog-comment-form label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}
.wb-blog-comment-form input,
.wb-blog-comment-form textarea {
    display: block;
    width: 100%;
    max-width: 520px;
    margin-top: 0.25rem;
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
}
.wb-blog-alert { padding: 0.75rem 1rem; border-radius: 0.375rem; margin-bottom: 1rem; }
.wb-blog-success { background: #d1fae5; color: #065f46; }
.wb-blog-error { background: #fee2e2; color: #991b1b; }

/* Foro â€” website_forum */
.wb-forum-header { margin-bottom: 1.25rem; }
.wb-forum-categories { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.wb-forum-categories a {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    font-size: 0.875rem;
}
.wb-forum-categories a.is-active { background: var(--sfe-secondary); color: #fff; }
.wb-forum-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.wb-forum-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.wb-forum-card h2 { margin: 0 0 0.35rem; font-size: 1.125rem; }
.wb-forum-card h2 a { color: var(--sfe-secondary); text-decoration: none; }
.wb-forum-meta { font-size: 0.8125rem; color: #64748b; margin: 0; }
.wb-forum-ask, .wb-forum-reply {
    background: #f8fafc;
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
}
.wb-forum-form label { display: block; margin-bottom: 0.75rem; font-size: 0.875rem; }
.wb-forum-form input, .wb-forum-form textarea, .wb-forum-form select {
    display: block; width: 100%; margin-top: 0.25rem; padding: 0.5rem;
    border: 1px solid #cbd5e1; border-radius: 0.375rem;
}
.wb-forum-alert { padding: 0.75rem 1rem; border-radius: 0.375rem; margin-bottom: 1rem; }
.wb-forum-success { background: #d1fae5; color: #065f46; }
.wb-forum-error { background: #fee2e2; color: #991b1b; }
.wb-forum-detail h1 { margin-bottom: 0.5rem; }
.wb-forum-content { margin: 1rem 0 1.5rem; line-height: 1.6; }
.wb-forum-answers { margin: 1.5rem 0; }
.wb-forum-answer {
    border-left: 3px solid var(--sfe-secondary);
    padding-left: 1rem;
    margin-bottom: 1rem;
}
.wb-forum-closed { color: #64748b; font-style: italic; }
.wb-forum-vote {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.75rem;
}
.wb-forum-vote.is-compact { margin: 0 0 0.5rem; }
.wb-forum-vote-btn {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: var(--sfe-secondary);
    border-radius: 0.375rem;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1;
}
.wb-forum-vote-btn:hover { background: #f8fafc; }
.wb-forum-vote.is-voted .wb-forum-score { color: var(--sfe-secondary); }
.wb-forum-score { font-weight: 700; min-width: 1.25rem; text-align: center; }
.wb-forum-widget article { margin-bottom: 1rem; }
.wb-forum-widget h3 { margin: 0 0 0.25rem; font-size: 1rem; }
.wb-forum-widget h3 a { color: var(--sfe-secondary); text-decoration: none; }
.wb-forum-empty { color: #64748b; }

/* Embed iframe (live chat widget) — sin chrome del sitio */
.website-embed {
    margin: 0;
    min-height: 100%;
    background: #fff;
    overflow-x: hidden;
}
.website-embed .site-embed-main {
    padding: 0.85rem 0.95rem 1rem;
    box-sizing: border-box;
}
.website-embed .wb-livechat {
    max-width: none;
    margin: 0;
}
.website-embed .wb-livechat h1 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}
.website-embed .wb-livechat-start-form input,
.website-embed .wb-livechat-start-form textarea,
.website-embed .wb-livechat-send-form input {
    box-sizing: border-box;
    max-width: 100%;
}

/* Chat — website_livechat */
.wb-livechat {
    max-width: 640px;
    --wb-livechat-accent: var(--sfe-secondary, #2C7BE5);
}
.wb-livechat-agent-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.65rem 0.75rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--wb-livechat-accent) 10%, #fff) 0%, #fff 100%);
    border: 1px solid color-mix(in srgb, var(--wb-livechat-accent) 18%, #e2e8f0);
    border-radius: 0.85rem;
}
.wb-livechat-agent-bar h1 {
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.25;
    font-weight: 650;
    color: #0f172a;
}
.wb-livechat-agent-status {
    margin: 0.15rem 0 0;
    font-size: 0.75rem;
    color: #64748b;
}
.wb-livechat-agent-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px color-mix(in srgb, #22c55e 28%, transparent);
    flex-shrink: 0;
}
.wb-livechat-welcome {
    color: #475569;
    margin-bottom: 0.85rem;
    font-size: 0.875rem;
    line-height: 1.5;
}
.wb-livechat-start-form label { display: block; margin-bottom: 0.75rem; font-size: 0.875rem; }
.wb-livechat-start-form input, .wb-livechat-start-form textarea {
    display: block; width: 100%; margin-top: 0.25rem; padding: 0.55rem 0.65rem;
    border: 1px solid #cbd5e1; border-radius: 0.5rem;
    font-size: 0.9375rem;
}
.wb-livechat-window {
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}
.wb-livechat-messages {
    min-height: 280px;
    max-height: 420px;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    scroll-behavior: smooth;
}
.wb-livechat-bubble {
    max-width: 88%;
    padding: 0.7rem 0.9rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 0.9375rem;
    line-height: 1.45;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.wb-livechat-bubble p { margin: 0; }
.wb-livechat-bubble-meta {
    margin: 0 0 0.3rem;
    font-size: 0.6875rem;
    font-weight: 650;
    color: #64748b;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.wb-livechat-bubble.is-visitor {
    align-self: flex-start;
    border-bottom-left-radius: 0.35rem;
}
.wb-livechat-bubble.is-operator {
    align-self: flex-end;
    border-bottom-right-radius: 0.35rem;
    background: color-mix(in srgb, var(--wb-livechat-accent, #2C7BE5) 12%, #fff);
    border-color: color-mix(in srgb, var(--wb-livechat-accent, #2C7BE5) 35%, #e2e8f0);
}
.wb-livechat-bubble.is-bot {
    align-self: flex-end;
    border-bottom-right-radius: 0.35rem;
    background: color-mix(in srgb, var(--wb-livechat-accent, #2C7BE5) 10%, #fff);
    border-color: color-mix(in srgb, var(--wb-livechat-accent, #2C7BE5) 30%, #e2e8f0);
}
.wb-livechat-typing {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem 0.55rem;
    font-size: 0.78rem;
    color: #64748b;
}
.wb-livechat-typing[hidden] { display: none !important; }
.wb-livechat-typing-dots {
    width: 1.1rem;
    height: 0.55rem;
    background:
        radial-gradient(circle, currentColor 45%, transparent 46%) 0 50% / 0.28rem 0.28rem no-repeat,
        radial-gradient(circle, currentColor 45%, transparent 46%) 50% 50% / 0.28rem 0.28rem no-repeat,
        radial-gradient(circle, currentColor 45%, transparent 46%) 100% 50% / 0.28rem 0.28rem no-repeat;
    animation: wb-livechat-typing-pulse 1.1s ease-in-out infinite;
    opacity: 0.75;
}
@keyframes wb-livechat-typing-pulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}
.wb-livechat-send-form {
    display: flex;
    gap: 0.55rem;
    padding: 0.75rem;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}
.wb-livechat-send-form input {
    flex: 1;
    padding: 0.6rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    font-size: 0.9375rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.wb-livechat-send-form input:focus {
    outline: none;
    border-color: var(--wb-livechat-accent, #2C7BE5);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wb-livechat-accent, #2C7BE5) 22%, transparent);
}
.wb-livechat-send-form button {
    border-radius: 999px;
    padding-inline: 1rem;
    min-width: 5.5rem;
}
.wb-livechat-closed { padding: 0.75rem; color: #64748b; text-align: center; }
.wb-livechat-bootstrap-hint {
    margin: auto 0;
    padding: 1.25rem 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
    text-align: center;
}
.wb-livechat-alert { padding: 0.75rem 1rem; border-radius: 0.5rem; margin-bottom: 1rem; }
.wb-livechat-error { background: #fee2e2; color: #991b1b; }


/* Submenú header */
.site-nav-item.has-children { position: relative; display: inline-flex; }
.site-nav-sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 10rem;
    padding: 0.35rem 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    z-index: 40;
}
.site-nav-item.has-children:hover .site-nav-sub,
.site-nav-item.has-children:focus-within .site-nav-sub { display: flex; flex-direction: column; }
.site-nav-sub a { display: block; padding: 0.4rem 0.85rem; white-space: nowrap; }
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* â€”â€” Editor visual v4 (chrome Odoo-like) â€”â€” */
.sfe-we-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 9990;
}
.sfe-we-fab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    background: #111827;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.32);
    letter-spacing: 0.01em;
}
.sfe-we-fab-btn:hover { background: #1f2937; }

/* —— SFE Tecnonube landing (superpágina corporativa) —— */
.site-main:has(.sfe-landing) {
    padding: 0;
}

.site-main:has(.sfe-landing) > .site-container {
    max-width: none;
    padding: 0;
}

.site-content:has(.sfe-landing) {
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    overflow: visible;
}

.sfe-landing {
    --sfe-landing-hero-bg: linear-gradient(135deg, #071526 0%, #0c3d5c 38%, var(--sfe-secondary) 72%, var(--sfe-teal) 100%);
    --sfe-landing-muted: #64748b;
    --sfe-landing-border: #e2e8f0;
    --sfe-landing-card: #fff;
    --sfe-landing-accent: var(--sfe-teal);
    --sfe-landing-accent-soft: rgba(13, 148, 136, 0.12);
    color: #0f172a;
}

.sfe-landing-band {
    background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
    border-top: 1px solid var(--sfe-landing-border);
    border-bottom: 1px solid var(--sfe-landing-border);
}

.sfe-landing-band--modules {
    background: linear-gradient(180deg, #eef2ff 0%, #ecfeff 50%, #f0fdfa 100%);
}

.sfe-landing-wrap {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.sfe-landing-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.sfe-landing-hero-bg {
    position: absolute;
    inset: 0;
    background: var(--sfe-landing-hero-bg);
}

.sfe-landing-hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.sfe-landing-hero-glow {
    position: absolute;
    width: min(42rem, 80vw);
    height: min(42rem, 80vw);
    top: -12%;
    right: -8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.35) 0%, transparent 68%);
    pointer-events: none;
}

.sfe-landing-hero-inner,
.sfe-landing-hero-layout {
    position: relative;
    z-index: 1;
}

.sfe-landing-hero-inner {
    text-align: center;
    max-width: 46rem;
}

.sfe-landing-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(1.5rem, 4vw, 2.75rem);
    align-items: center;
}

.sfe-landing-hero-copy {
    text-align: left;
}

.sfe-landing-hero-panel {
    padding: 1.35rem 1.35rem 1.15rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.sfe-landing-hero-panel-kicker {
    margin: 0 0 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.sfe-landing-hero-panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.sfe-landing-hero-panel-list li {
    display: grid;
    gap: 0.15rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sfe-landing-hero-panel-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.sfe-landing-hero-panel-list strong {
    font-size: 0.975rem;
    color: #fff;
}

.sfe-landing-hero-panel-list span {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

.sfe-landing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0.35rem 0.85rem 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.sfe-landing-kicker-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #5eead4;
    box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.25);
    flex-shrink: 0;
}

.sfe-landing-title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.sfe-landing-lead {
    margin: 0 0 1.35rem;
    font-size: clamp(1rem, 2.2vw, 1.1875rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    max-width: 40rem;
}

.sfe-landing-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
}

.sfe-landing-hero-stat-chip {
    display: grid;
    gap: 0.1rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    min-width: 5.5rem;
}

.sfe-landing-hero-stat-chip strong {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.2;
}

.sfe-landing-hero-stat-chip span {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.sfe-landing-hero-copy .sfe-landing-lead {
    margin-left: 0;
    margin-right: 0;
}

.sfe-landing-hero-copy .sfe-landing-hero-badges {
    justify-content: flex-start;
}

.sfe-landing-hero-copy .sfe-landing-hero-actions {
    justify-content: flex-start;
}

.sfe-landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.sfe-landing-btn-primary {
    padding: 0.7rem 1.45rem;
    border-radius: 0.5rem;
    background: linear-gradient(180deg, #38bdf8 0%, var(--sfe-secondary) 45%, var(--sfe-teal-dark) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 28px rgba(13, 148, 136, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.12s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.sfe-landing-btn-primary:hover {
    background: linear-gradient(180deg, var(--sfe-secondary) 0%, var(--primary-dark) 55%, var(--sfe-teal-dark) 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(13, 148, 136, 0.42);
}

.sfe-landing-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #0b1f3a !important;
    background: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.sfe-landing-btn-secondary:hover {
    background: #f8fafc;
    border-color: #fff;
}

.sfe-landing-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    font-weight: 600;
}

.sfe-landing-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.5);
}

.sfe-landing-btn-ghost-light {
    border-color: rgba(255, 255, 255, 0.55);
}

.sfe-landing-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.78);
}

.sfe-landing-hero-badges li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.sfe-landing-trust {
    padding: 1.25rem 0;
    background: #fff;
    border-bottom: 1px solid var(--sfe-landing-border);
}

.sfe-landing-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.sfe-landing-trust-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem 0.95rem;
    border-radius: 0.75rem;
    background: #f8fafc;
    border: 1px solid var(--sfe-landing-border);
}

.sfe-landing-trust-icon {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: var(--sfe-landing-accent-soft);
    color: var(--sfe-teal-dark);
    font-size: 0.95rem;
    font-weight: 700;
}

.sfe-landing-trust-item strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.875rem;
    color: #0f172a;
}

.sfe-landing-trust-item span {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--sfe-landing-muted);
}

.sfe-landing-stats {
    margin-top: 0;
    position: relative;
    z-index: 2;
    padding: clamp(2.5rem, 5vw, 3.25rem) 0;
    background: #fff;
}

.sfe-landing-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.sfe-landing-stat {
    background: var(--sfe-landing-card);
    border: 1px solid var(--sfe-landing-border);
    border-radius: 0.85rem;
    padding: 1.35rem 1rem;
    text-align: center;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sfe-landing-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(13, 148, 136, 0.1);
}

.sfe-landing-stat strong {
    display: block;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--sfe-secondary), var(--sfe-teal-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.4rem;
}

.sfe-landing-stat span {
    font-size: 0.8125rem;
    color: var(--sfe-landing-muted);
    line-height: 1.4;
}

.sfe-landing-verticals {
    padding: clamp(2.75rem, 6vw, 3.5rem) 0;
}

.sfe-landing-verticals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.sfe-landing-vertical-card {
    padding: 1.35rem 1.25rem 1.25rem;
    border-radius: 0.85rem;
    border: 1px solid var(--sfe-landing-border);
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.sfe-landing-vertical-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(44, 123, 229, 0.1);
    border-color: rgba(44, 123, 229, 0.28);
}

.sfe-landing-vertical-icon {
    display: inline-grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    margin-bottom: 0.85rem;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, var(--sfe-secondary), var(--sfe-teal));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.22);
}

.sfe-landing-vertical-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    color: #0f172a;
}

.sfe-landing-vertical-card p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #475569;
}

.sfe-landing-vertical-card--stone {
    border-color: rgba(120, 113, 108, 0.28);
    background: linear-gradient(180deg, #fff 0%, #fafaf9 100%);
}

.sfe-landing-vertical-card--stone:hover {
    border-color: rgba(120, 113, 108, 0.45);
    box-shadow: 0 14px 32px rgba(120, 113, 108, 0.12);
}

.sfe-landing-vertical-icon--stone {
    background: linear-gradient(135deg, #78716c, #57534e);
    box-shadow: 0 6px 16px rgba(87, 83, 78, 0.24);
}

.sfe-landing-vertical-card--campus {
    border-color: rgba(79, 70, 229, 0.24);
    background: linear-gradient(180deg, #fff 0%, #eef2ff 100%);
}

.sfe-landing-vertical-card--campus:hover {
    border-color: rgba(79, 70, 229, 0.42);
    box-shadow: 0 14px 32px rgba(79, 70, 229, 0.12);
}

.sfe-landing-vertical-icon--campus {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.26);
}

.sfe-landing-vertical-card--tms {
    border-color: rgba(29, 78, 216, 0.24);
    background: linear-gradient(180deg, #fff 0%, #eff6ff 100%);
}

.sfe-landing-vertical-card--tms:hover {
    border-color: rgba(29, 78, 216, 0.42);
    box-shadow: 0 14px 32px rgba(29, 78, 216, 0.12);
}

.sfe-landing-vertical-icon--tms {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.26);
}

.sfe-landing-vertical-card--talent {
    border-color: rgba(219, 39, 119, 0.24);
    background: linear-gradient(180deg, #fff 0%, #fdf2f8 100%);
}

.sfe-landing-vertical-card--talent:hover {
    border-color: rgba(219, 39, 119, 0.42);
    box-shadow: 0 14px 32px rgba(219, 39, 119, 0.12);
}

.sfe-landing-vertical-icon--talent {
    background: linear-gradient(135deg, #ec4899, #db2777);
    box-shadow: 0 6px 16px rgba(219, 39, 119, 0.26);
}

.sfe-landing-about {
    padding: clamp(2.75rem, 6vw, 3.5rem) 0;
}

.sfe-landing-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    align-items: start;
}

.sfe-landing-about h2,
.sfe-landing-modules h2,
.sfe-landing-tech h2,
.sfe-landing-verticals h2,
.sfe-landing-stats h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.sfe-landing-about p {
    margin: 0 0 1rem;
    color: #334155;
    line-height: 1.7;
}

.sfe-landing-value-props {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.sfe-landing-value-props li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: #f8fafc;
    border: 1px solid var(--sfe-landing-border);
}

.sfe-landing-value-props strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #0f172a;
}

.sfe-landing-value-props p {
    margin: 0;
    font-size: 0.9375rem;
}

.sfe-landing-icon {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--sfe-secondary), var(--sfe-teal));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.sfe-landing-modules {
    padding: clamp(2.75rem, 6vw, 3.75rem) 0;
}

.sfe-landing-section-head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

.sfe-landing-section-head--compact {
    margin-bottom: 1.75rem;
}

.sfe-landing-section-head p {
    margin: 0;
    color: var(--sfe-landing-muted);
    line-height: 1.6;
}

.sfe-landing-module-group {
    margin-bottom: 2.25rem;
}

.sfe-landing-module-group-head {
    margin-bottom: 1rem;
}

.sfe-landing-module-group-title {
    margin: 0 0 0.35rem;
    font-size: 1.125rem;
    color: var(--sfe-secondary);
    letter-spacing: 0.02em;
}

.sfe-landing-module-group-count {
    font-weight: 600;
    color: var(--sfe-landing-muted);
    font-size: 0.925em;
}

.sfe-landing-module-group-desc {
    margin: 0;
    font-size: 0.875rem;
    color: var(--sfe-landing-muted);
    line-height: 1.55;
    max-width: 52rem;
}

.sfe-landing-ecosystem-intro {
    max-width: 46rem;
    margin: 0 auto 2rem;
    padding: 1rem 1.15rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--sfe-landing-border);
}

.sfe-landing-ecosystem-intro p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #334155;
}

.sfe-landing-module-toolbar {
    display: grid;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.sfe-landing-module-search {
    display: grid;
    gap: 0.35rem;
}

.sfe-landing-module-search-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
}

.sfe-landing-module-search input {
    width: 100%;
    padding: 0.75rem 0.95rem;
    border-radius: 0.65rem;
    border: 1px solid var(--sfe-landing-border);
    background: #fff;
    font: inherit;
    color: #0f172a;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sfe-landing-module-search input:focus {
    outline: 2px solid rgba(44, 123, 229, 0.35);
    outline-offset: 1px;
    border-color: rgba(44, 123, 229, 0.45);
}

.sfe-landing-module-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sfe-landing-module-filter {
    appearance: none;
    border: 1px solid var(--sfe-landing-border);
    background: rgba(255, 255, 255, 0.9);
    color: #334155;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sfe-landing-module-filter:hover {
    border-color: rgba(44, 123, 229, 0.35);
    color: var(--sfe-secondary);
}

.sfe-landing-module-filter.is-active {
    background: linear-gradient(135deg, var(--sfe-secondary), var(--sfe-teal-dark));
    border-color: var(--sfe-teal-dark);
    color: #fff;
}

.sfe-landing-module-result {
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    color: var(--sfe-landing-muted);
    min-height: 1.25rem;
}

.sfe-landing-module-empty {
    margin: 0 0 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px dashed var(--sfe-landing-border);
    color: #475569;
    text-align: center;
}

.sfe-landing-module-group--hidden {
    display: none !important;
}

.sfe-landing-module-card--hidden {
    display: none !important;
}

.sfe-landing-module-extra {
    margin-top: 0.85rem;
    border: 1px dashed var(--sfe-landing-border);
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.55);
    padding: 0.35rem 0.75rem 0.75rem;
}

.sfe-landing-module-extra summary {
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--sfe-secondary);
    padding: 0.45rem 0.15rem;
    list-style: none;
}

.sfe-landing-module-extra summary::-webkit-details-marker {
    display: none;
}

.sfe-landing-module-extra summary::before {
    content: "▸ ";
    display: inline-block;
    transition: transform 0.15s ease;
}

.sfe-landing-module-extra[open] summary::before {
    transform: rotate(90deg);
}

.sfe-landing-module-grid--extra,
.sfe-landing-module-grid--compact {
    margin-top: 0.65rem;
}

.sfe-landing-module-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.sfe-landing-module-group--l10n .sfe-landing-module-group-title,
.sfe-landing-module-group--tech .sfe-landing-module-group-title {
    color: #475569;
}

.sfe-landing-module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.sfe-landing-module-card {
    background: var(--sfe-landing-card);
    border: 1px solid var(--sfe-landing-border);
    border-radius: 0.75rem;
    padding: 1rem 1.1rem 1.15rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.sfe-landing-module-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(44, 123, 229, 0.12);
    border-color: rgba(44, 123, 229, 0.35);
}

.sfe-landing-module-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.sfe-landing-module-icon {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.45rem;
    background: rgba(44, 123, 229, 0.1);
    color: var(--sfe-secondary);
    font-size: 0.95rem;
    font-weight: 700;
}

.sfe-landing-module-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
}

.sfe-landing-module-badge--on {
    background: rgba(5, 150, 105, 0.12);
    color: #047857;
}

.sfe-landing-module-card h4 {
    margin: 0 0 0.4rem;
    font-size: 0.975rem;
    color: #0f172a;
}

.sfe-landing-module-card p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--sfe-landing-muted);
}

.sfe-landing-tech {
    padding: clamp(2.5rem, 5vw, 3.25rem) 0;
    background: #fff;
    border-top: 1px solid var(--sfe-landing-border);
}

.sfe-landing-tech-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.sfe-landing-tech-card {
    padding: 1.25rem;
    border-radius: 0.85rem;
    border: 1px solid var(--sfe-landing-border);
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sfe-landing-tech-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(13, 148, 136, 0.08);
}

.sfe-landing-tech-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: var(--sfe-teal-dark);
}

.sfe-landing-tech-card p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #475569;
}

.sfe-landing-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 4.5rem) 0;
    background: var(--sfe-landing-hero-bg);
    color: #fff;
}

.sfe-landing-cta-bg {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background:
        radial-gradient(circle at 20% 50%, rgba(13, 148, 136, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(44, 123, 229, 0.3) 0%, transparent 45%);
    pointer-events: none;
}

.sfe-landing-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 44rem;
}

.sfe-landing-cta-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.sfe-landing-cta h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.625rem, 4vw, 2.375rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.sfe-landing-cta p {
    margin: 0 0 1.75rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    font-size: clamp(1rem, 2vw, 1.125rem);
}

.sfe-landing-btn-secondary--cta {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    box-shadow: none;
}

.sfe-landing-btn-secondary--cta:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: #fff !important;
}

@media (max-width: 900px) {
    .sfe-landing-hero-layout {
        grid-template-columns: 1fr;
    }

    .sfe-landing-hero-copy {
        text-align: center;
    }

    .sfe-landing-hero-copy .sfe-landing-hero-actions,
    .sfe-landing-hero-copy .sfe-landing-hero-badges,
    .sfe-landing-hero-copy .sfe-landing-hero-stats {
        justify-content: center;
    }

    .sfe-landing-hero-copy .sfe-landing-hero-stats {
        display: flex;
    }

    .sfe-landing-trust-grid,
    .sfe-landing-verticals-grid,
    .sfe-landing-stats-grid,
    .sfe-landing-tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sfe-landing-about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .sfe-landing-trust-grid,
    .sfe-landing-verticals-grid,
    .sfe-landing-stats-grid,
    .sfe-landing-tech-grid {
        grid-template-columns: 1fr;
    }

    .sfe-landing-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sfe-landing-hero-actions .btn,
    .sfe-landing-btn-secondary,
    .sfe-landing-btn-ghost {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .sfe-landing-module-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.25rem;
        -webkit-overflow-scrolling: touch;
    }

    .sfe-landing-module-filter {
        flex: 0 0 auto;
    }
}

