/* ============================================================
   BET-WAY.COM.MX — Global Stylesheet
   Brand colors: #00B55A (green), #1a1a2e (dark), #ffffff
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Barlow+Condensed:wght@600;700;800&display=swap');

/* ── CSS Variables ── */
:root {
    --green: #00B55A;
    --green-dark: #007A3D;
    --green-light: #00D96A;
    --dark: #0d0d1a;
    --dark2: #141428;
    --dark3: #1e1e38;
    --card-bg: #1a1a30;
    --border: rgba(0, 181, 90, 0.2);
    --text: #e8e8f0;
    --text-muted: #8888aa;
    --white: #ffffff;
    --gold: #f0b429;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-green: 0 4px 24px rgba(0, 181, 90, 0.25);
    --transition: 0.25s ease;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Barlow Condensed', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--dark);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

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

a {
    color: var(--green);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--green-light);
}

ul {
    list-style: none;
}

/* ── Skip-to-content ── */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--green);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius);
    z-index: 9999;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 16px;
}

/* ── Container ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ════════════════════════════════════════════
   HEADER
════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 13, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.03em;
}

.logo img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
}

.logo span {
    color: var(--green);
}

/* Tracker CTA in header */
.header-tracker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 9px 22px;
    border-radius: 30px;
    white-space: nowrap;
    box-shadow: var(--shadow-green);
    transition: background var(--transition), transform var(--transition);
    text-decoration: none;
}

.header-tracker:hover {
    background: var(--green-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

.header-tracker::before {
    content: '🎰';
    font-size: 1rem;
}

/* Desktop nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--border);
    color: var(--green);
}

/* Burger menu button */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    aria-label: "Menú";
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.burger-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-btn.open span:nth-child(2) {
    opacity: 0;
}

.burger-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--dark2);
    border-top: 1px solid var(--border);
    padding: 16px 20px;
    gap: 4px;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 10px;
    transition: background var(--transition), color var(--transition);
}

.mobile-nav a:hover {
    background: var(--border);
    color: var(--green);
}

/* Tracker in mobile nav */
.mobile-tracker-wrap {
    padding: 12px 0 4px;
}

.mobile-tracker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--green);
    color: #fff !important;
    font-weight: 700;
    padding: 13px;
    border-radius: 12px;
    font-size: 1rem;
}

.mobile-tracker:hover {
    background: var(--green-dark);
    color: #fff !important;
}

/* ════════════════════════════════════════════
   PAGE HERO
════════════════════════════════════════════ */
.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 50px;
}

.page-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 26, 1) 0%, rgba(13, 13, 26, 0.5) 60%, transparent 100%);
}

.page-hero .hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.page-hero h1 em {
    color: var(--green);
    font-style: normal;
}

.page-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 28px;
}

/* ── Home hero (taller) ── */
.home-hero {
    min-height: 480px;
    padding-bottom: 60px;
}

/* ── Breadcrumbs ── */
.breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--green);
}

.breadcrumbs span {
    color: var(--text);
}

/* ════════════════════════════════════════════
   SECTION STYLES
════════════════════════════════════════════ */
.section {
    padding: 72px 0;
}

.section-sm {
    padding: 48px 0;
}

.section-alt {
    background: var(--dark2);
}

.section-header {
    margin-bottom: 44px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-header h2 em {
    color: var(--green);
    font-style: normal;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 620px;
}

.section-header.center {
    text-align: center;
}

.section-header.center p {
    margin: 0 auto;
}

/* Divider accent */
.accent-line {
    width: 60px;
    height: 4px;
    background: var(--green);
    border-radius: 2px;
    margin-bottom: 14px;
}

.center .accent-line {
    margin: 0 auto 14px;
}

/* ════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--green-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 181, 90, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
}

.btn-outline:hover {
    background: var(--green);
    color: #fff;
}

.btn-gold {
    background: var(--gold);
    color: #1a1a2e;
}

.btn-gold:hover {
    background: #d9a020;
    color: #1a1a2e;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ════════════════════════════════════════════
   CARDS
════════════════════════════════════════════ */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    border-color: rgba(0, 181, 90, 0.5);
    transform: translateY(-4px);
    box-shadow: var(--shadow-green);
}

.card-icon {
    width: 54px;
    height: 54px;
    background: rgba(0, 181, 90, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.card p {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ════════════════════════════════════════════
   GRIDS
════════════════════════════════════════════ */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

/* ════════════════════════════════════════════
   TABLES — each with caption for SEO
════════════════════════════════════════════ */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin: 32px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
}

caption {
    caption-side: top;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--green);
    text-align: left;
    padding: 16px 20px 10px;
    background: var(--dark3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

thead th {
    background: var(--dark3);
    color: var(--white);
    font-weight: 600;
    padding: 13px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

tbody td {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text);
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

tbody tr:hover {
    background: rgba(0, 181, 90, 0.06);
}

.td-green {
    color: var(--green);
    font-weight: 600;
}

.td-gold {
    color: var(--gold);
    font-weight: 600;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

.badge-green {
    background: rgba(0, 181, 90, 0.2);
    color: var(--green);
}

.badge-gold {
    background: rgba(240, 180, 41, 0.2);
    color: var(--gold);
}

.badge-gray {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

/* ════════════════════════════════════════════
   CHARTS — CSS-based bar & donut charts
════════════════════════════════════════════ */
.chart-section {
    padding: 48px 0;
}

.chart-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 22px;
    background: var(--green);
    border-radius: 2px;
}

/* Bar chart */
.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bar-label {
    width: 140px;
    font-size: 0.88rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.bar-track {
    flex: 1;
    height: 28px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    border-radius: 14px;
    background: linear-gradient(90deg, var(--green-dark), var(--green));
    display: flex;
    align-items: center;
    padding-left: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    transition: width 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.bar-fill.gold {
    background: linear-gradient(90deg, #c8860a, var(--gold));
}

/* Donut chart (SVG-based) */
.donut-wrap {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.donut-svg {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.donut-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.donut-dot {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* Stat boxes */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.stat-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: border-color var(--transition);
}

.stat-box:hover {
    border-color: var(--green);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ════════════════════════════════════════════
   TEXT CONTENT / SEO SECTIONS
════════════════════════════════════════════ */
.seo-content {
    background: var(--dark2);
    padding: 64px 0;
}

.seo-article h2 {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-top: 36px;
}

.seo-article h2:first-child {
    margin-top: 0;
}

.seo-article h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 12px;
    margin-top: 28px;
}

.seo-article p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 18px;
}

.seo-article strong {
    color: var(--text);
}

.text-link {
    color: var(--green);
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3px;
}

.text-link:hover {
    color: var(--green-light);
}

/* Related pages grid */
.related-pages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.related-pages a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}

.related-pages a:hover {
    border-color: var(--green);
    color: var(--green);
    background: rgba(0, 181, 90, 0.06);
}

.related-pages a .rp-icon {
    font-size: 1.2rem;
}

/* ════════════════════════════════════════════
   FAQ ACCORDION
════════════════════════════════════════════ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    text-align: left;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    gap: 12px;
    transition: background var(--transition);
}

.faq-q:hover {
    background: rgba(0, 181, 90, 0.06);
}

.faq-q .faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--green);
    transition: transform 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-a {
    display: none;
    padding: 0 22px 18px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-item.open .faq-a {
    display: block;
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.site-footer {
    background: #090914;
    border-top: 1px solid var(--border);
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-legal {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-disclaimer {
    font-size: 0.76rem;
    color: rgba(136, 136, 170, 0.6);
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ════════════════════════════════════════════
   SPECIAL COMPONENTS
════════════════════════════════════════════ */
/* Tag chips */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    background: rgba(0, 181, 90, 0.12);
    color: var(--green);
    border: 1px solid rgba(0, 181, 90, 0.25);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Feature checklist */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.feature-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text h4 {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Info panels */
.info-panel {
    background: linear-gradient(135deg, rgba(0, 181, 90, 0.08), rgba(0, 181, 90, 0.02));
    border: 1px solid rgba(0, 181, 90, 0.25);
    border-left: 4px solid var(--green);
    border-radius: var(--radius);
    padding: 20px 22px;
    margin: 24px 0;
}

.info-panel p {
    font-size: 0.93rem;
    color: var(--text);
    margin: 0;
}

.info-panel strong {
    color: var(--green);
}

/* Step indicators */
.steps-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    position: relative;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: rgba(0, 181, 90, 0.2);
    position: absolute;
    top: 14px;
    right: 18px;
    line-height: 1;
}

.step-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* rating stars */
.stars {
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 0.95rem;
}

/* ════════════════════════════════════════════
   AUTHOR BOX — E-E-A-T блок автора
════════════════════════════════════════════ */
.author-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: linear-gradient(135deg, var(--card-bg), rgba(0, 181, 90, 0.04));
    border: 1px solid rgba(0, 181, 90, 0.3);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin: 40px 0 0;
}

.author-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--green);
    box-shadow: 0 0 0 4px rgba(0, 181, 90, 0.15);
}

.author-info {
    flex: 1;
}

.author-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--green);
    margin-bottom: 4px;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.author-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.author-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.author-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 181, 90, 0.1);
    border: 1px solid rgba(0, 181, 90, 0.2);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--green);
}

@media (max-width: 600px) {
    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-meta {
        justify-content: center;
    }
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    .header-tracker {
        display: inline-flex;
        /* visible on mobile between logo and burger */
        font-size: 0.72rem;
        padding: 7px 12px;
        gap: 4px;
    }

    .header-tracker::before {
        font-size: 0.8rem;
    }

    .page-hero {
        min-height: 300px;
        padding-bottom: 36px;
    }

    .home-hero {
        min-height: 340px;
    }

    .section {
        padding: 48px 0;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .donut-wrap {
        justify-content: center;
    }

    .bar-label {
        width: 100px;
        font-size: 0.8rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .steps-wrap {
        grid-template-columns: 1fr;
    }

    .related-pages {
        grid-template-columns: 1fr;
    }
}