/* Styles for schemaparaseo.com */

:root {
    --glfw-base: white;
    --glfw-contrast: #1a1a1a;
    --glfw-accent: #62ff62;
    --glfw-accent-hover: #88fc88;
    --glfw-accent-soft: #c7ffe1;
    --glfw-accent-text: #000002;
    --glfw-accent-text-hover: #000003;
    --glfw-accent-secondary: #340fa0;
    --glfw-accent-secondary-hover: #5a34a0;
    --glfw-accent-secondary-soft: #e1c7ff;
    --glfw-accent-secondary-text: #ffffff;
    --glfw-accent-secondary-text-hover: #ffffff;
    --glfw-bg: #f8f8ff;
    --glfw-bg-alt: #efefff;
    --glfw-surface: #ffffff;
    --glfw-surface-subtle: #f9fafb;
    --glfw-border: #e2e8f0;
    --glfw-border-mid: #cbd5e1;
    --glfw-text: #1a1a1a;
    --glfw-text-secondary: #111827;
    --glfw-text-body: #4b5563;
    --glfw-text-muted: #6b7280;
    --glfw-text-subtle: #9ca3af;
    --glfw-text-faint: #d1d5db;
    --glfw-primary-font: 'Host Grotesk', sans-serif;
    --glfw-secondary-font: 'Playfair Display', serif;
    --glfw-transition-easing: cubic-bezier(0.165, 0.84, 0.44, 1);
    --glfw-btn: var(--glfw-accent);
    --glfw-btn-hover: var(--glfw-accent-hover);
    --glfw-btn-soft: var(--glfw-accent-soft);
    --glfw-btn-text: var(--glfw-accent-text);
    --glfw-btn-text-hover: var(--glfw-accent-text-hover);
    --glfw--spacing--side: min(4vw, 32px);
    --glfw--style--global--wide-size: 1280px;

    /* Theme-specific shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Resets & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--glfw-primary-font);
    background-color: var(--glfw-bg);
    color: var(--glfw-text);
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Ocultar encabezado predeterminado de Greenshift / WordPress */
#header,
#header[role="banner"],
header[role="banner"],
#masthead,
header.site-header,
.site-header,
div[role="banner"] {
    display: none !important;
}

/* Header (Floating Navbar) */
.glfw-header {
    top: 16px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    padding: 0 var(--glfw--spacing--side);
}

body.admin-bar .glfw-header {
    top: 48px !important;
}

.glfw-nav-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.glfw-nav-inner {
    width: 100%;
    max-width: 1024px;
}

.glfw-nav-pill {
    background-color: var(--glfw-contrast);
    color: var(--glfw-surface);
    border-radius: 9999px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glfw-logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
}

.glfw-logo-text {
    font-family: var(--glfw-primary-font);
    font-weight: 800;
    font-size: 20px;
    color: var(--glfw-base);
    letter-spacing: -0.05em;
}

.glfw-logo-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--glfw-accent);
    display: inline-block;
    margin-bottom: -4px;
}

.glfw-nav-links {
    display: none;
    gap: 24px;
}

@media (min-width: 768px) {
    .glfw-nav-links {
        display: flex;
        align-items: center;
    }
}

.glfw-nav-link {
    color: var(--glfw-text-faint);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.glfw-nav-link:hover {
    color: var(--glfw-base);
}

.glfw-nav-actions {
    display: flex;
    align-items: center;
}

.glfw-btn-nav-cta {
    background-color: var(--glfw-btn);
    color: var(--glfw-btn-text);
    padding: 8px 18px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}

.glfw-btn-nav-cta:hover {
    background-color: var(--glfw-btn-hover);
    transform: scale(1.05);
}

/* Sections Grid Wrapper */
.glfw-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: var(--glfw--spacing--side);
    padding-right: var(--glfw--spacing--side);
    position: relative !important;
    width: 100%;
}

.glfw-content-wrap {
    width: 100%;
    max-width: var(--glfw--style--global--wide-size);
}

/* Hero Section */
.glfw-hero {
    overflow: hidden;
    background-color: var(--glfw-bg-alt);
    background-image: radial-gradient(var(--glfw-accent-secondary-soft) 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    background-position: center;
    padding-top: 140px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--glfw-border);
}

.glfw-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glfw-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background-color: var(--glfw-surface);
    border: 1px solid var(--glfw-border-mid);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--glfw-accent-secondary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.glfw-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--glfw-accent-secondary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.8;
    }
}

.glfw-title {
    font-size: 40px;
    line-height: 1.05;
    font-weight: 800;
    color: var(--glfw-text);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

@media (min-width: 768px) {
    .glfw-title {
        font-size: 64px;
        line-height: 1.02;
    }
}

.glfw-title-italic {
    font-family: var(--glfw-secondary-font);
    font-style: italic;
    font-weight: 400;
    color: var(--glfw-accent-secondary);
}

.glfw-subtitle {
    font-size: 16px;
    color: var(--glfw-text-body);
    max-width: 600px;
    margin-bottom: 32px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .glfw-subtitle {
        font-size: 18px;
    }
}

.glfw-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
}

@media (min-width: 640px) {
    .glfw-cta-group {
        flex-direction: row;
        max-width: none;
        justify-content: center;
    }
}

.glfw-btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.glfw-btn-primary {
    background-color: var(--glfw-btn);
    color: var(--glfw-btn-text);
    box-shadow: 0 4px 12px rgba(98, 255, 98, 0.25);
}

.glfw-btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: glfw-shimmer 4s infinite linear;
    filter: blur(2px);
    pointer-events: none;
}

@keyframes glfw-shimmer {
    0% {
        transform: translateX(-150%) skewX(-25deg);
    }

    20% {
        transform: translateX(150%) skewX(-25deg);
    }

    100% {
        transform: translateX(150%) skewX(-25deg);
    }
}

.glfw-btn-primary:hover {
    background-color: var(--glfw-btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(98, 255, 98, 0.4);
}

.glfw-btn-secondary {
    background-color: var(--glfw-contrast);
    color: var(--glfw-surface);
    box-shadow: var(--shadow-md);
}

.glfw-btn-secondary:hover {
    background-color: #27272a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.glfw-btn svg {
    transition: transform 0.2s ease;
}

.glfw-btn:hover svg {
    transform: translateX(4px);
}

/* Generator Application Layout */
.generator-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.generator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .generator-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

/* Form Styles */
.generator-card {
    background-color: var(--glfw-surface);
    border: 1px solid var(--glfw-border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.generator-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--glfw-text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.generator-card-desc {
    font-size: 14px;
    color: var(--glfw-text-muted);
    margin-bottom: 24px;
}

.form-group-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--glfw-accent-secondary);
    margin: 20px 0 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--glfw-border);
    letter-spacing: 0.05em;
}

.form-group-title:first-of-type {
    margin-top: 0;
}

.grid-cols-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .grid-cols-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.form-field {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--glfw-text-secondary);
}

.form-input,
.form-select {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--glfw-border-mid);
    font-family: inherit;
    font-size: 14px;
    background-color: var(--glfw-surface);
    color: var(--glfw-text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.form-input::placeholder {
    color: var(--glfw-text-subtle);
}

.form-input:focus,
.form-select:focus {
    border-color: var(--glfw-accent-secondary);
    box-shadow: 0 0 0 3px rgba(52, 15, 160, 0.15);
}

/* Custom Checkbox/Toggle Switch */
.toggle-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--glfw-surface-subtle);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px dashed var(--glfw-border-mid);
    margin-bottom: 16px;
    cursor: pointer;
    user-select: none;
}

.toggle-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toggle-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--glfw-text-secondary);
}

.toggle-desc {
    font-size: 11px;
    color: var(--glfw-text-muted);
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: var(--glfw-text-faint);
    transition: 0.3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--glfw-surface);
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

input:checked+.slider {
    background-color: var(--glfw-accent-secondary);
}

input:checked+.slider:before {
    transform: translateX(20px);
}

/* Custom Collapsible Accordion (Advanced Fields) */
.accordion {
    border: 1px solid var(--glfw-border);
    border-radius: 10px;
    margin-top: 24px;
    overflow: hidden;
}

.accordion-header {
    background-color: var(--glfw-surface-subtle);
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s;
}

.accordion-header:hover {
    background-color: var(--glfw-bg-alt);
}

.accordion-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--glfw-accent-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.accordion-icon {
    width: 16px;
    height: 16px;
    stroke: var(--glfw-accent-secondary);
    transition: transform 0.3s var(--glfw-transition-easing);
}

.accordion.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--glfw-transition-easing);
    background-color: var(--glfw-surface);
}

.accordion.active .accordion-content {
    max-height: 1200px;
    /* high limit to fit contents */
    border-top: 1px solid var(--glfw-border);
}

.accordion-body {
    padding: 20px;
}

/* Schedule Selector Styling */
.schedule-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.day-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    padding: 8px;
    border-radius: 6px;
    background-color: var(--glfw-surface-subtle);
}

.day-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.day-checkbox input {
    accent-color: var(--glfw-accent-secondary);
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.day-times {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.2s;
}

.day-row.active .day-times {
    opacity: 1;
    pointer-events: auto;
}

.time-input {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--glfw-border-mid);
    font-size: 12px;
    outline: none;
    font-family: inherit;
}

.day-times span {
    font-size: 12px;
    color: var(--glfw-text-muted);
}

/* Code Viewer Section (Dark IDE) */
.code-viewer-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: sticky;
    top: 96px;
}

.code-card {
    background-color: var(--glfw-contrast);
    color: #f8fafc;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 480px;
}

.code-card-header {
    background-color: #0f0f11;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--glfw-accent);
}

.code-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--glfw-text-faint);
    text-transform: uppercase;
}

.code-badge {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--glfw-text-faint);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
}

.code-body {
    flex-grow: 1;
    padding: 20px;
    overflow: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    line-height: 1.5;
    background-color: #0b0b0d;
    position: relative;
}

.code-pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
    color: #e2e8f0;
}

/* Syntax Highlighting */
.json-key {
    color: #818cf8;
}

/* Blue for keys */
.json-string {
    color: #34d399;
}

/* Green for strings */
.json-value {
    color: #f472b6;
}

/* Pink for numbers/booleans */
.json-tag {
    color: #fbbf24;
}

/* Yellow for HTML tags */

.code-actions {
    background-color: #0f0f11;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 480px) {
    .code-actions {
        flex-direction: row;
    }
}

.btn-copy {
    background-color: var(--glfw-accent);
    color: var(--glfw-accent-text);
    flex-grow: 1;
    justify-content: center;
}

.btn-copy:hover {
    background-color: var(--glfw-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(98, 255, 98, 0.3);
}

/* Validation Buttons and Links */
.validation-group {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.validation-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--glfw-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.validation-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 480px) {
    .validation-buttons {
        grid-template-columns: 1fr 1fr;
    }
}

.btn-val {
    border: 1px solid var(--glfw-border-mid);
    background-color: var(--glfw-surface);
    color: var(--glfw-text-secondary);
    font-size: 13px;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-val:hover {
    background-color: var(--glfw-surface-subtle);
    border-color: var(--glfw-accent-secondary);
    color: var(--glfw-accent-secondary);
}

.btn-val svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
}

/* Popover Toast Notification (Persistent Native Toast) */
.glfw-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--glfw-contrast);
    color: var(--glfw-surface);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    font-size: 14px;
    font-weight: 500;

    /* Animation attributes */
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--glfw-transition-easing), opacity 0.4s var(--glfw-transition-easing);
}

.glfw-toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.glfw-toast-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--glfw-accent);
    color: var(--glfw-accent-text);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.glfw-toast-close {
    background: none;
    border: none;
    color: var(--glfw-text-subtle);
    cursor: pointer;
    font-size: 16px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    transition: color 0.2s;
}

.glfw-toast-close:hover {
    color: var(--glfw-base);
}

/* Feature Cards Section */
.features-section {
    background-color: var(--glfw-bg);
    border-top: 1px solid var(--glfw-border);
    border-bottom: 1px solid var(--glfw-border);
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--glfw-accent-secondary);
    letter-spacing: 0.1em;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--glfw-text);
    line-height: 1.1;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 44px;
    }
}

.section-desc {
    font-size: 15px;
    color: var(--glfw-text-muted);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: var(--glfw-surface);
    border: 1px solid var(--glfw-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s var(--glfw-transition-easing), box-shadow 0.3s var(--glfw-transition-easing), border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--glfw-accent-secondary);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: var(--glfw-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s, color 0.3s;
    color: var(--glfw-text);
}

.feature-card:hover .feature-icon {
    background-color: var(--glfw-accent-secondary);
    color: var(--glfw-base);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--glfw-text-secondary);
}

.feature-desc {
    font-size: 14px;
    color: var(--glfw-text-muted);
    line-height: 1.5;
}

/* FAQ / Guide Section */
.faq-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--glfw-surface);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    border-bottom: 1px solid var(--glfw-border);
    padding-bottom: 24px;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-q {
    font-size: 17px;
    font-weight: 700;
    color: var(--glfw-text-secondary);
    margin-bottom: 12px;
}

.faq-a {
    font-size: 14px;
    color: var(--glfw-text-body);
    line-height: 1.6;
}

.faq-a p {
    margin-bottom: 12px;
}

.faq-a p:last-child {
    margin-bottom: 0;
}

.faq-a code {
    background-color: var(--glfw-bg-alt);
    color: var(--glfw-accent-secondary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 13px;
}

/* Footer Section */
.glfw-footer {
    background-color: var(--glfw-contrast);
    color: var(--glfw-text-faint);
    padding-top: 48px;
    padding-bottom: 48px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 2px;
    text-decoration: none;
}

.footer-copyright {
    font-size: 13px;
    color: var(--glfw-text-muted);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-link {
    color: var(--glfw-text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--glfw-surface);
}

/* Helper Utilities */
.hidden {
    display: none !important;
}

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

/* ==========================================================================
   Blog & Article Page Styles (single-articulo.php)
   ========================================================================== */

.article-hero {
    padding-top: 140px;
    padding-bottom: 48px;
    background-color: var(--glfw-bg-alt);
    background-image: radial-gradient(var(--glfw-accent-secondary-soft) 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    background-position: center;
    border-bottom: 1px solid var(--glfw-border);
}

.article-meta-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    font-size: 14px;
    color: var(--glfw-text-muted);
    flex-wrap: wrap;
}

.article-author-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--glfw-text);
}

.article-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--glfw-surface);
    box-shadow: var(--shadow-sm);
}

.article-meta-divider {
    color: var(--glfw-border-mid);
}

.article-reading-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-container {
    max-width: 840px;
    margin: 0 auto;
    padding: 48px var(--glfw--spacing--side);
}

.article-featured-image-wrap {
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--glfw-border);
}

.article-featured-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 480px;
}

/* Article Content Typography */
.article-entry-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--glfw-text-body);
}

.article-entry-content p {
    margin-bottom: 24px;
}

.article-entry-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--glfw-text);
    margin-top: 48px;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.article-entry-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--glfw-text-secondary);
    margin-top: 36px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.article-entry-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--glfw-text);
    margin-top: 28px;
    margin-bottom: 12px;
}

.article-entry-content ul,
.article-entry-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-entry-content li {
    margin-bottom: 8px;
}

.article-entry-content blockquote {
    border-left: 4px solid var(--glfw-accent-secondary);
    background-color: var(--glfw-bg-alt);
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin: 32px 0;
    font-family: var(--glfw-secondary-font);
    font-style: italic;
    font-size: 19px;
    color: var(--glfw-text);
}

.article-entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.article-entry-content pre,
.article-entry-content code {
    font-family: monospace;
    background-color: var(--glfw-contrast);
    color: #f8fafc;
    border-radius: 8px;
}

.article-entry-content pre {
    padding: 20px;
    overflow-x: auto;
    margin: 24px 0;
}

.article-entry-content code {
    padding: 3px 6px;
    font-size: 14px;
}

.article-entry-content pre code {
    padding: 0;
    background: none;
}

/* Callout Box / Highlight Banner inside content */
.article-callout-box {
    background-color: var(--glfw-surface);
    border: 1px solid var(--glfw-border-mid);
    border-left: 4px solid var(--glfw-accent);
    padding: 24px;
    border-radius: 12px;
    margin: 36px 0;
    box-shadow: var(--shadow-sm);
}

.article-callout-box h4 {
    margin-top: 0;
    font-size: 17px;
    color: var(--glfw-accent-secondary);
}

/* Author Card at End of Article */
.article-author-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--glfw-surface);
    border: 1px solid var(--glfw-border);
    padding: 28px;
    border-radius: 16px;
    margin-top: 56px;
    box-shadow: var(--shadow-md);
}

.article-author-avatar-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.article-author-details h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--glfw-text);
    margin-bottom: 4px;
}

.article-author-details p {
    font-size: 14px;
    color: var(--glfw-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Article CTA Footer Box */
.article-cta-box {
    background: linear-gradient(135deg, var(--glfw-contrast) 0%, #2a1568 100%);
    color: #ffffff;
    padding: 40px 32px;
    border-radius: 20px;
    margin-top: 48px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.article-cta-box h3 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
}

.article-cta-box p {
    color: var(--glfw-text-faint);
    font-size: 16px;
    margin-bottom: 24px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.article-cta-box .glfw-btn {
    display: inline-flex;
    margin: 0 auto;
}

/* Related Articles Grid */
.article-related-section {
    background-color: var(--glfw-bg);
    padding: 64px var(--glfw--spacing--side);
    border-top: 1px solid var(--glfw-border);
}

.article-related-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 36px;
    color: var(--glfw-text);
}

.article-card-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}