/* ========================================================================
   RYNODE THEME — Main Stylesheet
   Brand: Rynode (hosting potente, confiable y moderno)
   Palette: #2563EB (primary), #0B0F19 (bg), #1F2937 (surface),
            #F9FAFB (text), #38BDF8 (accent)
   Typography: Inter
   ======================================================================== */

/* === 1. CSS VARIABLES & RESET ============================================ */
:root {
    --ry-primary: #2563EB;
    --ry-primary-hover: #1d4fd8;
    --ry-accent: #38BDF8;
    --ry-bg: #0B0F19;
    --ry-surface: #1F2937;
    --ry-surface-hover: #273242;
    --ry-border: rgba(255, 255, 255, 0.08);
    --ry-border-strong: rgba(255, 255, 255, 0.16);
    --ry-text: #F9FAFB;
    --ry-text-muted: #9CA3AF;
    --ry-text-dim: #6B7280;

    --ry-radius-sm: 6px;
    --ry-radius: 8px;
    --ry-radius-lg: 12px;
    --ry-radius-xl: 16px;

    --ry-container: 1200px;
    --ry-container-narrow: 840px;

    --ry-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--ry-font);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ry-text);
    background: var(--ry-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--ry-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--ry-primary);
}

/* === 2. TYPOGRAPHY ======================================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ry-font);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: var(--ry-text);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1rem; color: var(--ry-text-muted); }
p.lead { font-size: 1.125rem; color: var(--ry-text-muted); }

/* === 3. LAYOUT =========================================================== */
.ry-container {
    width: 100%;
    max-width: var(--ry-container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ry-container-narrow {
    max-width: var(--ry-container-narrow);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ry-section {
    padding: 5rem 0;
}

.ry-section-sm {
    padding: 3rem 0;
}

.ry-section-lg {
    padding: 7rem 0;
}

/* === 4. HEADER & NAV ===================================================== */
.ry-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ry-border);
}

.ry-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.rynode-logo-default {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.rynode-logo-default img {
    height: 36px;
    width: auto;
    display: block;
}

.rynode-logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ry-text);
}

.rynode-logo-fallback:hover {
    color: var(--ry-text);
}

.rynode-logo-mark {
    width: 32px;
    height: 32px;
    background: var(--ry-primary);
    border-radius: var(--ry-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ry-text);
    font-weight: 700;
    font-size: 16px;
}

.rynode-logo-text {
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: -0.01em;
}

.custom-logo {
    max-height: 40px;
    width: auto;
}

.ry-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.ry-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.75rem;
}

.ry-nav a {
    color: var(--ry-text-muted);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ry-nav a:hover {
    color: var(--ry-text);
}

.ry-nav .current-menu-item > a {
    color: var(--ry-text);
}

.ry-nav-cta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.ry-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--ry-text);
    cursor: pointer;
    padding: 0.5rem;
}

/* === 5. BUTTONS ========================================================== */
.ry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--ry-radius);
    font-family: var(--ry-font);
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ry-btn-primary {
    background: var(--ry-primary);
    color: var(--ry-text);
    border-color: var(--ry-primary);
}

.ry-btn-primary:hover {
    background: var(--ry-primary-hover);
    color: var(--ry-text);
    transform: translateY(-1px);
}

.ry-btn-secondary {
    background: transparent;
    color: var(--ry-text);
    border-color: var(--ry-border-strong);
}

.ry-btn-secondary:hover {
    background: var(--ry-surface);
    color: var(--ry-text);
    border-color: rgba(255, 255, 255, 0.3);
}

.ry-btn-ghost {
    background: transparent;
    color: var(--ry-accent);
    padding: 0.5rem 1rem;
}

.ry-btn-ghost:hover {
    color: var(--ry-text);
}

.ry-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.ry-btn-lg {
    padding: 0.9375rem 1.875rem;
    font-size: 1rem;
}

.ry-btn-block {
    width: 100%;
}

.ry-btn-whatsapp {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.ry-btn-whatsapp:hover {
    background: #1ebe5d;
    color: #fff;
}

/* === 6. HERO ============================================================= */
.ry-hero {
    position: relative;
    padding: 6rem 0 5rem;
    text-align: center;
    overflow: hidden;
}

.ry-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.ry-hero > * {
    position: relative;
    z-index: 1;
}

.ry-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--ry-accent);
    padding: 0.375rem 0.875rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.ry-hero h1 {
    max-width: 780px;
    margin: 0 auto 1.25rem;
}

.ry-hero .ry-hero-sub {
    max-width: 560px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
    color: var(--ry-text-muted);
}

.ry-hero-cta {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ry-hero-small {
    padding: 4rem 0 3rem;
}

.ry-hero-small h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 0.75rem;
}

/* === 7. FEATURE STRIPS & CARDS =========================================== */
.ry-feature-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--ry-border);
    border-bottom: 1px solid var(--ry-border);
}

.ry-feature-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.ry-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--ry-radius);
    background: rgba(37, 99, 235, 0.12);
    color: var(--ry-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ry-feature-icon svg {
    width: 20px;
    height: 20px;
}

.ry-feature-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ry-text);
    margin: 0;
}

.ry-feature-desc {
    font-size: 0.8125rem;
    color: var(--ry-text-muted);
    margin: 0;
}

/* Feature cards grid */
.ry-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

.ry-card {
    background: var(--ry-surface);
    border: 1px solid var(--ry-border);
    border-radius: var(--ry-radius-lg);
    padding: 1.75rem;
    transition: all 0.25s ease;
}

.ry-card:hover {
    border-color: var(--ry-border-strong);
    transform: translateY(-2px);
}

.ry-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--ry-radius);
    background: rgba(37, 99, 235, 0.12);
    color: var(--ry-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.ry-card-icon svg {
    width: 22px;
    height: 22px;
}

.ry-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.ry-card p {
    font-size: 0.9375rem;
    margin: 0;
}

/* Section heading */
.ry-section-head {
    text-align: center;
    margin-bottom: 3rem;
}

.ry-section-head .ry-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    color: var(--ry-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.ry-section-head h2 {
    margin-bottom: 0.75rem;
}

.ry-section-head p {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
}

/* === 8. PRICING ========================================================== */
.ry-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

.ry-pricing-card {
    background: var(--ry-surface);
    border: 1px solid var(--ry-border);
    border-radius: var(--ry-radius-lg);
    padding: 2rem 1.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ry-pricing-card.featured {
    border: 2px solid var(--ry-primary);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.1), 0 10px 40px -10px rgba(37, 99, 235, 0.3);
}

.ry-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ry-primary);
    color: var(--ry-text);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

.ry-pricing-name {
    font-size: 0.875rem;
    color: var(--ry-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.ry-pricing-card.featured .ry-pricing-name {
    color: var(--ry-accent);
}

.ry-pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.ry-pricing-price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ry-text);
    letter-spacing: -0.02em;
    line-height: 1;
}

.ry-pricing-price-period {
    font-size: 0.9375rem;
    color: var(--ry-text-muted);
}

.ry-pricing-tagline {
    color: var(--ry-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.ry-pricing-divider {
    height: 1px;
    background: var(--ry-border);
    margin: 1.25rem 0;
}

.ry-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    flex: 1;
}

.ry-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.375rem 0;
    font-size: 0.9375rem;
    color: var(--ry-text);
}

.ry-pricing-features li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338BDF8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* === 9. COMPARISON TABLE ================================================= */
.ry-compare-wrap {
    overflow-x: auto;
    margin: 3rem 0;
    border: 1px solid var(--ry-border);
    border-radius: var(--ry-radius-lg);
}

.ry-compare {
    width: 100%;
    border-collapse: collapse;
    background: var(--ry-surface);
    min-width: 640px;
}

.ry-compare th,
.ry-compare td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--ry-border);
    font-size: 0.9375rem;
}

.ry-compare th {
    background: rgba(255, 255, 255, 0.02);
    font-weight: 600;
    color: var(--ry-text);
}

.ry-compare td {
    color: var(--ry-text-muted);
}

.ry-compare td:first-child {
    color: var(--ry-text);
    font-weight: 500;
}

.ry-compare tr:last-child th,
.ry-compare tr:last-child td {
    border-bottom: none;
}

.ry-compare-check {
    color: var(--ry-accent);
    font-weight: 700;
}

.ry-compare-dash {
    color: var(--ry-text-dim);
}

/* === 10. FAQ ============================================================= */
.ry-faq {
    max-width: 760px;
    margin: 3rem auto 0;
}

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

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

.ry-faq-q {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--ry-text);
    font-family: var(--ry-font);
    font-size: 1.0625rem;
    font-weight: 600;
    text-align: left;
    padding: 1.25rem 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ry-faq-q::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--ry-text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.ry-faq-item.open .ry-faq-q::after {
    transform: rotate(45deg);
}

.ry-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--ry-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.ry-faq-item.open .ry-faq-a {
    max-height: 500px;
    padding-bottom: 1.25rem;
}

/* === 11. CTA BAND ======================================================== */
.ry-cta-band {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(56, 189, 248, 0.06) 100%);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: var(--ry-radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.ry-cta-band h2 {
    margin-bottom: 0.75rem;
}

.ry-cta-band p {
    max-width: 520px;
    margin: 0 auto 1.75rem;
}

/* === 12. CONTACT / FORMS ================================================= */
.ry-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.ry-contact-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.ry-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--ry-border);
}

.ry-contact-item:last-child {
    border-bottom: none;
}

.ry-contact-item-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--ry-radius);
    background: rgba(37, 99, 235, 0.12);
    color: var(--ry-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ry-contact-item-icon svg { width: 18px; height: 18px; }

.ry-contact-label {
    font-size: 0.8125rem;
    color: var(--ry-text-muted);
    margin-bottom: 0.125rem;
}

.ry-contact-value {
    color: var(--ry-text);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
}

.ry-contact-value:hover {
    color: var(--ry-accent);
}

.ry-form {
    background: var(--ry-surface);
    border: 1px solid var(--ry-border);
    border-radius: var(--ry-radius-lg);
    padding: 1.75rem;
}

.ry-form-row {
    margin-bottom: 1rem;
}

.ry-form label {
    display: block;
    font-size: 0.8125rem;
    color: var(--ry-text-muted);
    margin-bottom: 0.375rem;
    font-weight: 500;
}

.ry-form input,
.ry-form textarea,
.ry-form select {
    width: 100%;
    background: var(--ry-bg);
    border: 1px solid var(--ry-border);
    border-radius: var(--ry-radius);
    padding: 0.75rem 0.875rem;
    color: var(--ry-text);
    font-family: var(--ry-font);
    font-size: 0.9375rem;
    transition: border-color 0.2s ease;
}

.ry-form input:focus,
.ry-form textarea:focus,
.ry-form select:focus {
    outline: none;
    border-color: var(--ry-primary);
}

.ry-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* === 13. FOOTER ========================================================== */
.ry-footer {
    border-top: 1px solid var(--ry-border);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.ry-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.ry-footer-brand p {
    font-size: 0.9375rem;
    margin-top: 1rem;
    max-width: 320px;
}

.ry-footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ry-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.ry-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ry-footer-col li {
    padding: 0.375rem 0;
}

.ry-footer-col a {
    color: var(--ry-text-muted);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ry-footer-col a:hover {
    color: var(--ry-text);
}

.ry-footer-bottom {
    border-top: 1px solid var(--ry-border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.ry-footer-copy {
    font-size: 0.8125rem;
    color: var(--ry-text-dim);
    margin: 0;
}

.ry-footer-social {
    display: flex;
    gap: 0.75rem;
}

.ry-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--ry-radius);
    background: var(--ry-surface);
    border: 1px solid var(--ry-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ry-text-muted);
    transition: all 0.2s ease;
}

.ry-footer-social a:hover {
    color: var(--ry-accent);
    border-color: var(--ry-border-strong);
}

.ry-footer-social svg { width: 16px; height: 16px; }

/* === 13.5 LIGHT SECTIONS (for visual rhythm) ============================= */
.ry-section-light {
    background: #FFFFFF;
    color: #0B0F19;
}

.ry-section-light h1,
.ry-section-light h2,
.ry-section-light h3,
.ry-section-light h4 {
    color: #0B0F19;
}

.ry-section-light p {
    color: #4B5563;
}

.ry-section-light .ry-section-head p {
    color: #6B7280;
}

/* Cards inside light sections */
.ry-section-light .ry-card {
    background: #F9FAFB;
    border-color: #E5E7EB;
}

.ry-section-light .ry-card:hover {
    background: #FFFFFF;
    border-color: #D1D5DB;
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.1);
}

.ry-section-light .ry-card h3 {
    color: #0B0F19;
}

.ry-section-light .ry-card p {
    color: #6B7280;
}

.ry-section-light .ry-card-icon {
    background: rgba(37, 99, 235, 0.08);
    color: var(--ry-primary);
}

/* FAQ on light */
.ry-section-light .ry-faq-item {
    border-color: #E5E7EB;
}

.ry-section-light .ry-faq-q {
    color: #0B0F19;
}

.ry-section-light .ry-faq-q::after {
    color: #6B7280;
}

.ry-section-light .ry-faq-a {
    color: #4B5563;
}

/* Comparison table on light */
.ry-section-light .ry-compare-wrap {
    border-color: #E5E7EB;
}

.ry-section-light .ry-compare {
    background: #FFFFFF;
}

.ry-section-light .ry-compare th {
    background: #F9FAFB;
    color: #0B0F19;
    border-color: #E5E7EB;
}

.ry-section-light .ry-compare td {
    color: #4B5563;
    border-color: #E5E7EB;
}

.ry-section-light .ry-compare td:first-child {
    color: #0B0F19;
}

.ry-section-light .ry-compare-check {
    color: var(--ry-primary);
}

.ry-section-light .ry-compare-dash {
    color: #D1D5DB;
}

/* Forms on light */
.ry-section-light .ry-form {
    background: #F9FAFB;
    border-color: #E5E7EB;
}

.ry-section-light .ry-form label {
    color: #4B5563;
}

.ry-section-light .ry-form input,
.ry-section-light .ry-form textarea,
.ry-section-light .ry-form select {
    background: #FFFFFF;
    border-color: #D1D5DB;
    color: #0B0F19;
}

.ry-section-light .ry-form input:focus,
.ry-section-light .ry-form textarea:focus,
.ry-section-light .ry-form select:focus {
    border-color: var(--ry-primary);
}

.ry-section-light .ry-contact-info h2,
.ry-section-light .ry-contact-info h3 {
    color: #0B0F19;
}

.ry-section-light .ry-contact-item {
    border-color: #E5E7EB;
}

.ry-section-light .ry-contact-value {
    color: #0B0F19;
}

.ry-section-light .ry-contact-label {
    color: #6B7280;
}

.ry-section-light .ry-contact-item-icon {
    background: rgba(37, 99, 235, 0.08);
    color: var(--ry-primary);
}

/* Light content prose */
.ry-section-light .ry-content p,
.ry-section-light .ry-content li {
    color: #374151;
}

.ry-section-light .ry-content strong {
    color: #0B0F19;
}

/* Secondary button on light bg */
.ry-section-light .ry-btn-secondary {
    color: #0B0F19;
    border-color: #D1D5DB;
}

.ry-section-light .ry-btn-secondary:hover {
    background: #F3F4F6;
    color: #0B0F19;
    border-color: #9CA3AF;
}

/* === 13.6 DASHBOARD / ACCOUNT ============================================ */
.ry-account-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.ry-account-sidebar {
    background: var(--ry-surface);
    border: 1px solid var(--ry-border);
    border-radius: var(--ry-radius-lg);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 80px;
}

.ry-account-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ry-border);
    margin-bottom: 1rem;
}

.ry-account-avatar {
    width: 44px;
    height: 44px;
    background: var(--ry-primary);
    color: var(--ry-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.ry-account-user-name {
    font-weight: 600;
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.2;
}

.ry-account-user-email {
    font-size: 0.8125rem;
    color: var(--ry-text-muted);
    margin: 2px 0 0;
    word-break: break-all;
}

.ry-account-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.ry-account-nav li {
    margin-bottom: 2px;
}

.ry-account-nav a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--ry-radius-sm);
    color: var(--ry-text-muted);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.ry-account-nav a:hover,
.ry-account-nav a.is-active {
    background: rgba(37, 99, 235, 0.12);
    color: var(--ry-text);
}

.ry-account-nav svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ry-account-logout {
    color: #F87171;
}

.ry-account-logout:hover {
    background: rgba(248, 113, 113, 0.12) !important;
    color: #FCA5A5 !important;
}

/* Dashboard content area */
.ry-account-content {
    min-height: 300px;
}

.ry-account-welcome {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(56, 189, 248, 0.06) 100%);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: var(--ry-radius-lg);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.ry-account-welcome h2 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.ry-account-welcome p {
    margin: 0;
    color: var(--ry-text);
}

.ry-account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ry-stat-card {
    background: var(--ry-surface);
    border: 1px solid var(--ry-border);
    border-radius: var(--ry-radius-lg);
    padding: 1.25rem;
}

.ry-stat-label {
    font-size: 0.8125rem;
    color: var(--ry-text-muted);
    margin: 0 0 0.375rem;
}

.ry-stat-value {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--ry-text);
    margin: 0;
}

.ry-stat-meta {
    font-size: 0.75rem;
    color: var(--ry-text-muted);
    margin: 0.25rem 0 0;
}

/* Auth box (login/register when logged out) */
.ry-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 860px;
    margin: 0 auto;
}

.ry-auth-box {
    background: var(--ry-surface);
    border: 1px solid var(--ry-border);
    border-radius: var(--ry-radius-lg);
    padding: 2rem;
}

.ry-auth-box h2 {
    margin-bottom: 0.5rem;
    font-size: 1.375rem;
}

.ry-auth-box > p {
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

/* Override default WP login form styles */
.ry-auth-box .login-username,
.ry-auth-box .login-password,
.ry-auth-box .login-submit,
.ry-auth-box p {
    margin-bottom: 1rem;
}

.ry-auth-box label {
    display: block;
    font-size: 0.8125rem;
    color: var(--ry-text-muted);
    margin-bottom: 0.375rem;
    font-weight: 500;
}

.ry-auth-box input[type="text"],
.ry-auth-box input[type="email"],
.ry-auth-box input[type="password"] {
    width: 100%;
    background: var(--ry-bg);
    border: 1px solid var(--ry-border);
    border-radius: var(--ry-radius);
    padding: 0.75rem 0.875rem;
    color: var(--ry-text);
    font-family: var(--ry-font);
    font-size: 0.9375rem;
}

.ry-auth-box input:focus {
    outline: none;
    border-color: var(--ry-primary);
}

.ry-auth-box .forgetmenot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--ry-text-muted);
}

.ry-auth-box .forgetmenot label {
    display: inline;
    margin: 0;
    font-size: 0.875rem;
}

.ry-auth-box input[type="submit"],
.ry-auth-box .button-primary {
    width: 100%;
    background: var(--ry-primary);
    color: var(--ry-text);
    border: none;
    padding: 0.75rem;
    border-radius: var(--ry-radius);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ry-auth-box input[type="submit"]:hover,
.ry-auth-box .button-primary:hover {
    background: var(--ry-primary-hover);
}

.ry-auth-footer {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--ry-text-muted);
}

.ry-auth-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #F87171;
    padding: 0.75rem 1rem;
    border-radius: var(--ry-radius);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.ry-auth-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ADE80;
    padding: 0.75rem 1rem;
    border-radius: var(--ry-radius);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

@media (max-width: 900px) {
    .ry-account-grid {
        grid-template-columns: 1fr;
    }
    .ry-account-sidebar {
        position: static;
    }
    .ry-auth-grid {
        grid-template-columns: 1fr;
    }
}

/* === 14. CONTENT (single/page fallback) ================================== */
.ry-content {
    padding: 4rem 0;
    max-width: 760px;
    margin: 0 auto;
}

.ry-content h1 { margin-bottom: 1rem; }
.ry-content h2 { margin-top: 2.5rem; }
.ry-content h3 { margin-top: 2rem; }
.ry-content p, .ry-content li { color: var(--ry-text); }
.ry-content ul, .ry-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.ry-content blockquote {
    border-left: 3px solid var(--ry-primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: var(--ry-text-muted);
    font-style: italic;
}
.ry-content pre {
    background: var(--ry-surface);
    border: 1px solid var(--ry-border);
    border-radius: var(--ry-radius);
    padding: 1rem;
    overflow-x: auto;
    font-size: 0.875rem;
}
.ry-content code {
    background: var(--ry-surface);
    padding: 0.125rem 0.375rem;
    border-radius: var(--ry-radius-sm);
    font-size: 0.875rem;
}
.ry-content img {
    border-radius: var(--ry-radius-lg);
    margin: 1.5rem 0;
}

/* Blog archive */
.ry-post-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.ry-post-card {
    background: var(--ry-surface);
    border: 1px solid var(--ry-border);
    border-radius: var(--ry-radius-lg);
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.ry-post-card:hover {
    border-color: var(--ry-border-strong);
    transform: translateY(-2px);
}

.ry-post-meta {
    font-size: 0.8125rem;
    color: var(--ry-text-muted);
    margin-bottom: 0.5rem;
}

.ry-post-card h3 a {
    color: var(--ry-text);
    text-decoration: none;
}

.ry-post-card h3 a:hover {
    color: var(--ry-accent);
}

.ry-post-card p {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* === 15. UTILITIES ======================================================= */
.ry-text-center { text-align: center; }
.ry-mt-0 { margin-top: 0; }
.ry-mb-0 { margin-bottom: 0; }

/* === 16. RESPONSIVE ====================================================== */
@media (max-width: 900px) {
    .ry-nav {
        display: none;
    }

    .ry-nav.is-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--ry-bg);
        border-bottom: 1px solid var(--ry-border);
        padding: 1rem 1.5rem 1.5rem;
    }

    .ry-nav.is-open ul {
        flex-direction: column;
        gap: 0;
    }

    .ry-nav.is-open ul li {
        padding: 0.625rem 0;
        border-bottom: 1px solid var(--ry-border);
    }

    .ry-nav.is-open .ry-nav-cta {
        margin-top: 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .ry-mobile-toggle {
        display: block;
    }

    .ry-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .ry-contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .ry-section { padding: 3.5rem 0; }
    .ry-section-lg { padding: 5rem 0; }
    .ry-hero { padding: 4rem 0 3rem; }
    .ry-footer-grid { grid-template-columns: 1fr; }
    .ry-hero-cta { flex-direction: column; align-items: stretch; }
    .ry-hero-cta .ry-btn { justify-content: center; }
    .ry-cta-band { padding: 2rem 1.25rem; }
}
