﻿:root {
    --tb-red: #e63b3b;
    --tb-ink: #111;
    --tb-muted: #667085;
    --tb-line: #ececec;
    --tb-bg: #fff;
}

.tb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
}

/* TOP */
.tb-top {
    background: var(--tb-bg);
    border-bottom: 1px solid var(--tb-line);
}

.tb-topRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
}

.tb-brand {
    display: flex;
    align-items: center;
    gap: 66px; /* MÁS separación */
    min-width: 320px;
}

.tb-logo {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 5px solid var(--tb-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    color: var(--tb-red);
    letter-spacing: 1px;
}

.tb-brandName {
    font-size: 26px;
    letter-spacing: 10px;
    color: var(--tb-red);
    font-weight: 800;
}

.tb-brandSub {
    font-size: 12px;
    color: var(--tb-muted);
    margin-top: 6px;
    font-weight: 700;
    letter-spacing: .8px;
}

.tb-topInfo {
    display: flex;
    align-items: center;
    gap: 24px;
}

.tb-infoItem {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.tb-ico {
    font-size: 20px;
    color: var(--tb-red);
}

.tb-infoTitle {
    font-size: 12px;
    font-weight: 800;
    color: var(--tb-red);
    letter-spacing: .5px;
}

.tb-infoText {
    font-size: 12px;
    color: var(--tb-muted);
}

.tb-burger {
    display: none;
    border: 1px solid var(--tb-line);
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
}

/* NAV */
.tb-nav {
    border-top: 1px solid var(--tb-line);
}

.tb-navRow {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 10px 0;
    position: relative;
}

.tb-navLink {
    text-decoration: none;
    color: var(--tb-ink);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .4px;
    padding: 10px 0;
}

    .tb-navLink:hover {
        color: var(--tb-red);
    }

.tb-navRight {
    margin-left: auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.tb-inline {
    display: inline;
}

.tb-miniBtn {
    text-decoration: none;
    border: 1px solid var(--tb-line);
    background: #fff;
    color: var(--tb-ink);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

    .tb-miniBtn:hover {
        border-color: var(--tb-red);
        color: var(--tb-red);
    }

.tb-dd {
    position: relative;
}

.tb-ddMenu {
    position: absolute;
    top: 42px;
    left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--tb-line);
    box-shadow: 0 18px 50px rgba(0,0,0,.12);
    display: none;
    z-index: 50;
}

    .tb-ddMenu a {
        display: block;
        padding: 12px 14px;
        color: #111;
        text-decoration: none;
        border-bottom: 1px solid var(--tb-line);
        font-size: 13px;
        font-weight: 700;
    }

        .tb-ddMenu a:last-child {
            border-bottom: none;
        }

        .tb-ddMenu a:hover {
            background: #fafafa;
            color: var(--tb-red);
        }

.tb-dd.open .tb-ddMenu {
    display: block;
}

/* HERO */
.tb-hero {
    min-height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
}

    .tb-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.10));
    }

.tb-heroInner {
    position: relative;
    padding: 90px 0;
}

.tb-heroTitle {
    color: #fff;
    font-size: 64px;
    font-weight: 900;
    line-height: 1.0;
    max-width: 680px;
    margin: 0;
}

    .tb-heroTitle span {
        display: block;
        font-weight: 400;
        opacity: .95;
    }

.tb-heroBtns {
    margin-top: 26px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tb-btnPrimary {
    border: 0;
    background: var(--tb-red);
    color: #fff;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 900;
    letter-spacing: .5px;
    text-decoration: none;
    display: inline-block;
}

.tb-btnGhost {
    border: 2px solid rgba(255,255,255,.65);
    color: #fff;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 900;
    letter-spacing: .5px;
    text-decoration: none;
    display: inline-block;
}

/* CONTENT SECTIONS */
.tb-section {
    padding: 30px 0;
    background: #fff;
}

    .tb-section .tb-h2 {
        font-size: 26px;
        margin: 0 0 10px;
    }

    .tb-section .tb-p {
        color: var(--tb-muted);
        margin: 0;
        max-width: 780px;
    }
.tb-logoImg {
    width: 92px;
    height: 70px;
    object-fit: contain;
    display: block;
}
.tb-logoLink {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 70px;
    border-radius: 16px;
    text-decoration: none;
}
/* RESPONSIVE */
@media (max-width: 980px) {
    .tb-brand {
        min-width: auto;
        gap: 16px;
    }

    .tb-logoLink, .tb-logoImg {
        width: 70px;
        height: 70px;
    }

    .tb-brandName {
        font-size: 22px;
        letter-spacing: 10px; /* como screenshot */
        color: var(--tb-red);
        font-weight: 900;
    }
    .tb-topInfo {
        display: none;
    }

    .tb-burger {
        display: inline-flex;
    }

    .tb-nav {
        display: none;
    }

        .tb-nav.open {
            display: block;
        }

    .tb-navRow {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 0;
    }

    .tb-navRight {
        margin-left: 0;
    }

    .tb-ddMenu {
        position: static;
        min-width: 100%;
        box-shadow: none;
    }

    .tb-heroTitle {
        font-size: 44px;
    }
}
.tb-brandText {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    padding-top: 4px;
}
@media (max-width: 520px) {
    .tb-brandText {
        display: none;
    }
    /* móvil: solo logo */
    .tb-heroTitle {
        font-size: 36px;
    }

    .tb-brandName {
        font-size: 22px;
        letter-spacing: 8px;
    }
}
/* ===== Register page layout ===== */
.reg-wrap {
    padding: 36px 0;
    background: #fff;
}

.reg-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: start;
}

.reg-left {
    padding: 18px 6px;
}

.reg-title {
    font-size: 54px;
    line-height: 1.05;
    margin: 0 0 16px;
    color: #111;
}

.reg-sub {
    font-size: 18px;
    color: var(--tb-muted);
    margin: 0 0 22px;
    max-width: 620px;
}

.reg-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reg-point {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    color: #111;
    font-size: 16px;
    line-height: 1.6;
    max-width: 680px;
}

.reg-check {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(230, 59, 59, .14); /* usa el rojo del tema */
    color: var(--tb-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex: 0 0 34px;
    border: 1px solid rgba(230,59,59,.25);
}

.reg-right {
    display: flex;
    justify-content: flex-end;
}

.reg-card {
    width: 100%;
    max-width: 520px;
    border: 1px solid var(--tb-line);
    border-radius: 14px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 18px 50px rgba(0,0,0,.06);
}

.reg-cardTitle {
    margin: 0 0 6px;
    font-size: 18px;
    color: #111;
    font-weight: 900;
}

.reg-cardSub {
    margin: 0 0 14px;
    color: var(--tb-muted);
    font-size: 14px;
}

.reg-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reg-field label {
    display: block;
    font-size: 12px;
    color: #111;
    font-weight: 800;
    margin-bottom: 6px;
}

.reg-field input,
.reg-field select {
    width: 100%;
    padding: 12px 12px;
    border-radius: 10px;
    border: 1px solid #d7dbe3;
    outline: none;
    font-size: 14px;
    background: #fff;
}

    .reg-field input:focus,
    .reg-field select:focus {
        border-color: rgba(230,59,59,.55);
        box-shadow: 0 0 0 3px rgba(230,59,59,.10);
    }

.reg-privacy {
    margin-top: 6px;
}

.reg-checkline {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: #111;
    line-height: 1.45;
}

    .reg-checkline input {
        width: 18px;
        height: 18px;
        margin-top: 2px;
        accent-color: var(--tb-red);
    }

    .reg-checkline a {
        color: var(--tb-red);
        font-weight: 800;
        text-decoration: none;
    }

        .reg-checkline a:hover {
            text-decoration: underline;
        }

.reg-btn {
    margin-top: 6px;
    border: 0;
    background: var(--tb-red);
    color: #fff;
    font-weight: 900;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    width: 140px;
}

.reg-status {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(230,59,59,.08);
    border: 1px solid rgba(230,59,59,.18);
    color: #111;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 980px) {
    .reg-grid {
        grid-template-columns: 1fr;
    }

    .reg-right {
        justify-content: stretch;
    }

    .reg-card {
        max-width: 100%;
    }

    .reg-title {
        font-size: 40px;
    }
}

@media (max-width: 520px) {
    .reg-title {
        font-size: 34px;
    }

    .reg-btn {
        width: 100%;
    }
}
/* =========================
   TENSE PAGE STYLE
========================= */

/* fondo general */
body {
    background: #f1f3f6;
}

/* contenedor principal */
.tenses-container {
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px;
}

/* tarjetas */
.t-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #e3e6eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

    /* titulo */
    .t-card h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

/* tabla conjugaciones */
.table {
    width: 100%;
    border-collapse: collapse;
}

    .table th {
        text-align: left;
        padding: 12px;
        background: #f5f7fa;
        border-bottom: 1px solid #e3e6eb;
    }

    .table td {
        padding: 12px;
        border-bottom: 1px solid #eef1f5;
    }

/* columnas */
.cols {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* patron */
.p {
    font-weight: 600;
    color: #444;
}

/* ejemplos */
.ex {
    font-size: 15px;
}

/* etiquetas */
.tag {
    background: #eef3ff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
}

/* responsive */
@media (max-width:768px) {

    .cols {
        flex-direction: column;
    }

    .t-card {
        padding: 20px;
    }
}