/* ============================================
   GestuHome - Estilos principales
   Autor: Miguel Martorell Garí
   Paleta: Verde (#2D8C4E), neutros, blanco
   ============================================ */

/* --- NAVBAR --- */
.navbar {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: saturate(160%) blur(8px);
}
.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 1rem;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.25rem;
    color: var(--color-text);
}
.brand-icon { font-size: 1.5rem; }
.brand-text { color: var(--color-text); }
.brand-text strong { color: var(--color-primary); }

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-link {
    padding: 0.5rem 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    border-radius: 0;
    transition: var(--transition);
}
.nav-link:hover { color: var(--color-primary); background: var(--color-primary-light); }
.nav-link.is-disabled { cursor: default; }
.nav-link.is-disabled:hover { color: var(--color-text-muted); background: transparent; }

/* User dropdown */
.nav-user { position: relative; }
.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 0;
    padding: 4px 12px 4px 4px;
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.85rem;
    transition: var(--transition);
}
.nav-user-btn:hover { border-color: var(--color-primary); }
.nav-avatar, .nav-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 0;
    object-fit: cover;
}
.nav-avatar-placeholder {
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}
.nav-username { color: var(--color-text); }
.nav-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    overflow: hidden;
}
.nav-dropdown.active { display: block; }
.nav-dropdown a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--color-text);
    font-size: 0.85rem;
}
.nav-dropdown a:hover { background: var(--color-bg); }
.nav-dropdown hr { border: none; border-top: 1px solid var(--color-border); margin: 0; }
.nav-dropdown .logout-link { color: var(--color-danger); }

/* Mobile toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.navbar-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 0;
    transition: var(--transition);
}

.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    font-size: 0.94rem;
    font-family: var(--font);
    border: 1px solid var(--color-border);
    border-radius: 0;
    background: var(--color-white);
    transition: var(--transition);
    color: var(--color-text);
}
.form-textarea {
    min-height: 120px;
    resize: vertical;
}
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 140, 78, 0.14);
}

/* --- BOTONES --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font);
    border-radius: 0;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--color-primary); color: white; }
.btn-primary:hover { background: var(--color-primary-dark); color: white; }
.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary-light); }
.btn-danger { background: var(--color-danger); color: white; }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.82rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-google {
    background: var(--color-white);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    font-weight: 400;
}
.btn-google:hover { background: var(--color-bg); color: var(--color-text); }
.btn-google img { width: 18px; height: 18px; }

/* --- FORMULARIOS --- */
.form-group { margin-bottom: 1rem; }
.form-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
}
.form-input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    font-family: var(--font);
    border: 1px solid var(--color-border);
    border-radius: 0;
    background: var(--color-white);
    transition: var(--transition);
    color: var(--color-text);
}
.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 140, 78, 0.15);
}
.form-input.error { border-color: var(--color-danger); }
.form-hint { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 0.25rem; }
.form-feedback-live {
    font-size: 0.78rem;
    color: var(--color-danger);
    margin-top: 0.28rem;
    min-height: 1.05rem;
}
.form-error { font-size: 0.78rem; color: var(--color-danger); margin-top: 0.25rem; }
.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}
.form-check input { width: 16px; height: 16px; accent-color: var(--color-primary); }

/* Divider "o" */
.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

/* --- ALERTAS --- */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 0;
    font-size: 0.875rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.alert-error { background: var(--color-danger-light); color: var(--color-danger); border: 1px solid #f5c6cb; }
.alert-success { background: var(--color-success-light); color: var(--color-primary-dark); border: 1px solid #c3e6cb; }
.alert-warning { background: var(--color-warning-light); color: #856404; border: 1px solid #ffeeba; }
.alert-close { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: inherit; padding: 0; line-height: 1; }

/* --- CARDS --- */
.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 0;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.gh-page-shell {
    max-width: 1360px;
    margin: 0 auto;
}

.gh-dashboard-page .gh-page-shell,
.gh-plan-page .gh-page-shell {
    max-width: 1180px;
}
.gh-page-header {
    display: grid;
    gap: 1rem;
    justify-items: center;
    text-align: center;
    margin-bottom: 1.65rem;
}
.gh-page-header h1 {
    font-size: clamp(3rem, 4.9vw, 4.4rem);
    line-height: 0.96;
    margin: 0;
    letter-spacing: -0.04em;
    max-width: 100%;
    width: 100%;
}
.gh-page-header p {
    margin: 0.6rem 0 0;
    color: var(--color-text-muted);
    max-width: 62rem;
    margin-inline: auto;
}
.gh-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border: 1px solid #dde5de;
    border-top: 2px solid var(--color-primary);
    border-radius: 0;
    padding: 1.25rem 1.4rem;
    margin-bottom: 1.5rem;
    box-shadow: none;
}
.gh-actions-bar-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}
.gh-dashboard-grid,
.gh-dashboard-stack {
    display: grid;
    gap: 1rem;
}
.gh-dashboard-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.gh-surface-card {
    background: #fff;
    border: 1px solid #e3e7e4;
    border-radius: 0;
    padding: 1.7rem;
    box-shadow: none;
}
.gh-surface-card h2,
.gh-surface-card h3 {
    margin: 0 0 0.35rem;
}
.gh-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-primary);
}
.gh-metric {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    margin: 0.35rem 0 0.7rem;
    color: #101828;
}
.gh-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--color-primary);
    font-weight: 700;
}
.gh-link-arrow::after {
    content: "\2192";
}
.gh-spotlight-card {
    background: linear-gradient(160deg, #0d7d45 0%, #0a6c3b 100%);
    color: #fff;
    border-radius: 0;
    padding: 1.8rem;
    min-height: 100%;
    box-shadow: none;
}
.gh-spotlight-card h2 {
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 1rem;
}
.gh-spotlight-list {
    margin: 1.25rem 0 0;
    display: grid;
    gap: 0.75rem;
}
.gh-spotlight-item {
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.09);
    border-radius: 0;
    padding: 0.85rem 0.95rem;
    font-weight: 600;
}
.gh-property-layout {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}
.gh-property-list {
    display: grid;
    gap: 1rem;
}
.gh-property-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8e3;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.gh-property-thumb {
    width: 96px;
    height: 96px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff7f1;
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 800;
}
.gh-property-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.gh-plan-mini {
    background: #f3f5f3;
    border: 1px solid #e2e8e3;
    border-radius: 0;
    padding: 1.5rem;
    box-shadow: none;
}
.gh-ticket-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 340px;
    gap: 1.25rem;
    align-items: start;
}
.gh-ticket-side {
    display: grid;
    gap: 1rem;
}
.gh-ticket-help-card {
    background: linear-gradient(180deg, #32c978 0%, #24b565 100%);
    color: #0d3b22;
    border-radius: 0;
    padding: 1.35rem;
    box-shadow: none;
}
.gh-ticket-help-card h3 {
    margin: 0 0 0.5rem;
    color: #08371f;
}
.gh-ticket-list-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    border-radius: 0;
    padding: 1.15rem;
    box-shadow: none;
}
.gh-ticket-list-card + .gh-ticket-list-card {
    margin-top: 0.85rem;
}

.gh-dash-hero {
    margin-bottom: 1.4rem;
    text-align: center;
    width: 100%;
}

.gh-dash-hero h1 {
    font-size: clamp(3rem, 4.9vw, 4.4rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    text-wrap: balance;
}

.gh-dash-hero h1 .gh-accent {
    color: var(--color-primary);
}

.gh-top-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-top: 2px solid var(--color-primary);
    background: #fff;
    padding: 1.25rem 1.4rem;
    margin-bottom: 1.5rem;
}

.gh-top-actions-buttons {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
}

.gh-panel-grid {
    display: grid;
    grid-template-columns: 1.2fr .65fr;
    gap: 1rem;
}

.gh-panel-main {
    display: grid;
    gap: 1rem;
}

.gh-panel-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.gh-card {
    background: #fff;
    border: 1px solid #e3e7e4;
    padding: 1.6rem 1.7rem;
    min-height: 220px;
}

.gh-card h2,
.gh-card h3 {
    margin: 0;
}

.gh-card-muted {
    background: #f1f4f1;
}

.gh-card-soft {
    background: #f7f8f7;
}

.gh-card-dark {
    background: #111519;
    color: #fff;
    border-top: 3px solid var(--color-primary);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

.gh-card-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(7, 24, 14, 0.18);
    border-top-color: #006D37;
    background: #006D37;
}

.gh-card-dark p {
    color: rgba(255,255,255,.78) !important;
}

.gh-card-dark .gh-feature-pill {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
}

.gh-card-dark:hover .gh-feature-pill {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.18);
}

.gh-feature-pill {
    display: inline-flex;
    align-items: center;
    padding: .8rem 1rem;
    min-height: 48px;
    font-size: .92rem;
    font-weight: 600;
}

.gh-card-spotlight .gh-feature-pill::before {
    content: "\2713";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    margin-right: .6rem;
    color: #37cf71;
    font-size: .92rem;
    font-weight: 800;
}

.gh-feature-list {
    display: grid;
    gap: .8rem;
    margin-top: 1.35rem;
}

.gh-card-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 1rem;
}

.gh-card-link::after {
    content: "\2192";
}

.gh-summary-stat {
    font-size: 3rem;
    line-height: 1;
    font-weight: 800;
    margin: 1rem 0 .3rem;
    letter-spacing: -.04em;
}

.gh-square-form {
    border-left: 3px solid #31c76d;
    background: #fff;
    padding: 1.8rem;
}

.gh-square-form .form-input,
.gh-square-form .form-select,
.gh-square-form .form-textarea {
    border-radius: 0;
    background: #f5f7f6;
    box-shadow: none;
}

.gh-square-form .form-input:focus,
.gh-square-form .form-select:focus,
.gh-square-form .form-textarea:focus {
    box-shadow: none;
}

.gh-square-list-card {
    display: grid;
    grid-template-columns: 122px minmax(0,1fr) auto;
    background: #fff;
    border: 1px solid #e3e7e4;
    min-height: 122px;
}

.gh-square-list-thumb {
    width: 122px;
    height: 122px;
    background: #eef4ef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 2.7rem;
    font-weight: 800;
    overflow: hidden;
}

.gh-square-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gh-square-list-content {
    padding: 1.4rem 1.2rem;
}

.gh-square-list-actions {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 1.25rem;
}

.gh-badge-rect {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: .3rem .8rem;
    background: var(--color-primary);
    color: #fff;
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.gh-support-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 320px;
    gap: 1rem;
}

.gh-support-form {
    background: #fff;
    border-top: 3px solid #b76645;
    padding: 2rem;
}

.gh-support-form .form-input,
.gh-support-form .form-select,
.gh-support-form .form-textarea {
    border-radius: 0;
    background: #f5f7f6;
    box-shadow: none;
}

.gh-support-side {
    display: grid;
    gap: 1rem;
}

.gh-ticket-mini {
    background: #fff;
    padding: 1rem;
    border-left: 3px solid var(--color-primary);
}

.gh-plan-hero {
    margin-bottom: 1.8rem;
    text-align: center;
    width: 100%;
}

.gh-plan-hero h1 {
    font-size: clamp(3rem, 4.9vw, 4.4rem);
    line-height: .98;
    letter-spacing: -.04em;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    text-wrap: balance;
}

.gh-plan-hero .gh-accent {
    color: #3ad06f;
}

.gh-plan-grid {
    display: grid;
    grid-template-columns: .9fr 1.25fr;
    gap: 0;
    background: #fff;
    border: 1px solid #e3e7e4;
}

.gh-plan-basic,
.gh-plan-premium {
    padding: 2rem;
}

.gh-plan-premium {
    border-top: 3px solid #37cf71;
    box-shadow: 0 18px 40px rgba(7, 24, 14, 0.12);
    position: relative;
    z-index: 2;
}

.gh-plan-recommended {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: .2rem .55rem;
    background: #eaf8ef;
    color: var(--color-primary);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gh-plan-price {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.05em;
}

.gh-plan-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.gh-plan-feature {
    background: #f5faf6;
    padding: 1rem;
    min-height: 120px;
}

.gh-plan-bottom {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 1rem;
    margin-top: 1rem;
}

.gh-plan-reason,
.gh-plan-support {
    background: #fff;
    padding: 1.8rem;
    border-top: 3px solid #d46d4d;
}

.gh-pro-plans-shell {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3rem;
}

.gh-page-hero {
    margin-bottom: 2rem;
}

.gh-page-hero h1 {
    font-size: clamp(3rem, 5vw, 4.6rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    margin: 0 0 0.85rem;
    max-width: 10ch;
    text-wrap: balance;
}

.gh-page-hero p {
    max-width: 46rem;
    color: var(--color-text-muted);
    font-size: 1.02rem;
}

.gh-page-hero--wide h1 {
    max-width: 14ch;
}

.gh-pro-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    margin-bottom: 1.6rem;
}

.gh-pro-price-card {
    background: #fff;
    border: 1px solid #e4e9e5;
    padding: 1.9rem 1.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 430px;
    position: relative;
}

.gh-pro-price-card.is-selected {
    border-top: 3px solid var(--color-primary);
    box-shadow: 0 18px 40px rgba(7, 24, 14, 0.08);
}

.gh-pro-price-card .gh-plan-recommended {
    position: absolute;
    top: -12px;
    left: 1.2rem;
}

.gh-pro-price-tier {
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #98a39a;
}

.gh-pro-price-name {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.gh-pro-price-value {
    font-size: 2.65rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
}

.gh-pro-price-value small {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-left: 0.1rem;
}

.gh-pro-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
    color: var(--color-text);
}

.gh-pro-feature-list li {
    position: relative;
    padding-left: 1.15rem;
    font-size: 0.94rem;
}

.gh-pro-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.gh-pro-feature-list li.is-off {
    color: var(--color-text-muted);
}

.gh-pro-feature-list li.is-off::before {
    content: "×";
    color: #c6cec8;
}

.gh-pro-addon-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    background: #fff;
    border-top: 3px solid var(--color-primary);
    padding: 1.8rem;
    margin-bottom: 1.75rem;
}

.gh-pro-addon-card--promo {
    border-top-color: #e98a67;
    background: #fff8f4;
}

.gh-pro-addon-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f1;
    font-size: 1.9rem;
    color: var(--color-primary);
}

.gh-pro-addon-card--promo .gh-pro-addon-icon {
    background: rgba(233, 138, 103, 0.14);
    color: #a94924;
}

.gh-pro-addon-meta {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-top: 0.85rem;
}

.gh-pro-addon-price {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.gh-pro-register-layout {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 2rem;
    padding: 2rem 1.25rem 3rem;
}

.gh-pro-register-side {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.gh-pro-register-side .gh-page-hero h1 {
    max-width: 9ch;
}

.gh-pro-register-card {
    background: #fff;
    border-top: 2px solid #d9e3db;
    padding: 1.6rem;
    min-height: 210px;
}

.gh-pro-register-card.is-selected {
    border-top-color: var(--color-primary);
}

.gh-pro-register-card h3 {
    font-size: 2rem;
    line-height: 1;
    margin: 0.2rem 0;
}

.gh-pro-register-card .gh-pro-price-value {
    font-size: 2.25rem;
}

.gh-pro-form-shell {
    background: #fff;
    border-top: 3px solid var(--color-primary);
    padding: 2.25rem;
}

.gh-upload-banner {
    min-height: 220px;
    border: 1px dashed #cfdacf;
    background: #f6f8f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-muted);
    gap: 0.6rem;
}

.gh-form-section-title {
    font-size: 2.5rem;
    line-height: 0.96;
    letter-spacing: -0.05em;
    margin: 0 0 0.5rem;
}

.gh-form-section-copy {
    margin: 0 0 1.5rem;
    color: var(--color-text-muted);
    font-size: 1rem;
}

.gh-pro-visual-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.2rem 0 1.6rem;
    color: var(--color-text-muted);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
}

.gh-pro-visual-divider::before,
.gh-pro-visual-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dfe5e0;
}

.gh-inline-plan-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 0.75rem;
    background: #eef7f0;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gh-works-placeholder {
    margin-top: 2.25rem;
    padding-top: 2rem;
    border-top: 1px solid #e4e9e5;
}

.gh-works-placeholder-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gh-works-placeholder-head h3 {
    margin: 0;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.04em;
}

.gh-works-placeholder-head p {
    margin: 0.45rem 0 0;
    color: var(--color-text-muted);
}

.gh-ghost-action {
    color: var(--color-primary);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gh-plan-addon-copy {
    margin: 0;
    color: var(--color-text-muted);
    max-width: 44rem;
}

.gh-plan-addon-title {
    font-size: 2rem;
    line-height: 1;
    margin: 0 0 0.75rem;
}

.gh-upload-avatar-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.gh-upload-avatar-preview {
    width: 92px;
    height: 92px;
    overflow: hidden;
    background: #eef3ef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gh-upload-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-works-upload-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.gh-works-upload-tile {
    aspect-ratio: 1 / 1;
    background: #f2f5f3;
    border: 1px dashed #cfdbd1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    overflow: hidden;
}

.gh-works-upload-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-inline-link {
    color: var(--color-primary);
    font-weight: 700;
}

.gh-inline-link:hover {
    color: #006d37;
}

.gh-panel-row--dashboard {
    grid-template-columns: 1.45fr .8fr;
}

.gh-panel-row--dashboard-secondary {
    grid-template-columns: .75fr 1fr 1fr;
}

.gh-account-card {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* --- AUTH PAGES --- */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 60px - 80px);
    padding: 2rem 1rem;
}
.auth-card {
    width: 100%;
    max-width: 420px;
}
.auth-card .card { padding: 2rem; }
.gh-main-auth {
    padding: 0;
}
.auth-minimal-shell {
    min-height: 100vh;
    padding: 2rem 1rem;
    background: #f6f8f6;
}
.auth-brandbar {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.auth-brandbar .auth-quiet {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    font-weight: 700;
}
.auth-center-shell {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}
.auth-simple-card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border-top: 2px solid #d06b4b;
    padding: 2.25rem;
    box-shadow: none;
    border-radius: 0;
}
.auth-simple-card .btn {
    min-height: 56px;
}
.auth-simple-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.92rem;
}
.auth-choice-shell {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}
.auth-eyebrow {
    color: #b4532a;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}
.auth-balance-title {
    font-size: clamp(3rem, 5vw, 4.8rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    max-width: 11ch;
    text-wrap: balance;
}
.auth-balance-title .gh-accent {
    color: #35cf70;
}
.auth-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.auth-choice-card {
    background: #fff;
    border-top: 2px solid #d06b4b;
    padding: 2.25rem;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    color: var(--color-text);
}
.auth-choice-card--primary {
    border-top-color: #36cf71;
}
.auth-choice-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0f3f1;
    font-size: 1.9rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}
.auth-choice-card strong {
    font-size: 2.2rem;
    line-height: 1;
    display: block;
    margin-bottom: 1rem;
}
.auth-choice-card p {
    max-width: 24rem;
    color: var(--color-text-muted);
    font-size: 1.08rem;
}
.auth-choice-card .gh-link-arrow {
    margin-top: auto;
}
.auth-split {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: .94fr 1.06fr;
    background: #fff;
    min-height: calc(100vh - 4rem);
}
.auth-side {
    position: relative;
    background: linear-gradient(180deg, rgba(12,122,63,0.93) 0%, rgba(10,111,58,0.96) 100%), url("../uploads/portadas/hero_gardener.jpg") center/cover no-repeat;
    color: #fff;
    padding: 2.4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.auth-side h1 {
    font-size: clamp(3rem, 5vw, 4.6rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    max-width: 8ch;
    text-wrap: balance;
}
.auth-side p {
    max-width: 26rem;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.88);
}
.auth-side-brand {
    font-size: 2.25rem;
    font-weight: 800;
}
.auth-side-small {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    font-weight: 700;
}
.auth-side-foot {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.auth-form-pane {
    padding: 2.75rem 2.5rem;
}
.auth-form-pane h1,
.auth-form-pane h2 {
    font-size: 3rem;
    line-height: 0.96;
    letter-spacing: -0.05em;
    margin-bottom: 0.5rem;
}
.auth-form-pane p {
    color: var(--color-text-muted);
}
.auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.auth-form-pane .form-input,
.auth-form-pane .form-select,
.auth-form-pane .form-textarea {
    background: #f2f4f3;
    border: 1px solid #dfe5e0;
    min-height: 54px;
}
.auth-form-pane .btn-primary,
.auth-simple-card .btn-primary {
    background: #3ad06f;
    color: #082b17;
    border-color: #3ad06f;
    font-weight: 700;
}
.auth-form-pane .btn-primary:hover,
.auth-simple-card .btn-primary:hover {
    background: #31be61;
    border-color: #31be61;
}
.auth-pro-shell {
    max-width: 1240px;
    margin: 0 auto;
}
.auth-pro-hero {
    margin-bottom: 2rem;
}
.auth-pro-hero h1 {
    font-size: clamp(3rem, 5vw, 4.6rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    max-width: 12ch;
}
.auth-plan-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}
.auth-plan-card {
    background: #fff;
    border: 1px solid #dfe5e0;
    padding: 1.8rem;
    min-height: 270px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.auth-plan-card--selectable {
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.auth-plan-card--selectable:hover {
    border-color: #35cf70;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(10, 38, 22, 0.08);
}
    background: #fff;
    border: 1px solid #dfe5e0;
    padding: 1.8rem;
    min-height: 270px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.auth-plan-card.is-selected {
    border: 2px solid #35cf70;
    box-shadow: 0 18px 36px rgba(53, 207, 112, 0.10);
    background: linear-gradient(180deg, #ffffff 0%, #f8fcf9 100%);
}
.auth-plan-card__topline {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a958c;
}
.auth-plan-card__title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}
.auth-plan-card__copy {
    color: var(--color-text-muted);
    line-height: 1.55;
    min-height: 3.2rem;
}
.auth-plan-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1rem;
    border: 1px solid #dfe5e0;
    color: var(--color-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: auto;
}
.auth-plan-card.is-selected .auth-plan-card__cta {
    background: #35cf70;
    border-color: #35cf70;
    color: #082b17;
}
    border: 2px solid #35cf70;
}
.auth-plan-card .price {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}
.auth-pro-register-grid {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}
.auth-plan-cards--stack {
    grid-template-columns: 1fr;
    margin-top: 0;
}
.auth-pro-form--white-green {
    border-top: 3px solid #35cf70;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, #ffffff 100%);
}
.auth-pro-form {
    background: #fff;
    padding: 2.25rem;
}
.auth-pro-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.auth-upload-block {
    min-height: 220px;
    border: 1px dashed #cad6cc;
    background: #f6f8f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--color-text-muted);
    text-align: center;
    padding: 1.5rem;
}
.auth-works-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.auth-work-tile {
    background: #eff2f0;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.auth-work-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.auth-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-text);
}
.auth-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}
.auth-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* --- FOOTER --- */
.footer {
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    padding: 1.25rem 0;
    margin-top: auto;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}
.footer-links { display: flex; gap: 1rem; }
.footer-links a { color: var(--color-text-muted); }
.footer-links a:hover { color: var(--color-primary); }

.gh-flash-wrap {
    margin-top: 1rem;
}

.gh-flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--color-white);
    border-top: 3px solid var(--color-primary);
    box-shadow: var(--shadow);
    padding: 1rem 1.25rem;
}

.gh-flash--warning,
.gh-flash--error {
    border-top-color: #C46A1A;
}

.gh-flash__content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
}

.gh-flash__icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
}

.gh-flash--warning .gh-flash__icon,
.gh-flash--error .gh-flash__icon {
    background: #FFF3E6;
    color: #C46A1A;
}

.gh-flash__message {
    margin: 0;
    color: #1f2937;
    font-size: 0.95rem;
    font-weight: 600;
}

.gh-flash__close {
    background: none;
    border: none;
    color: #98A2B3;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .navbar-toggle { display: flex; }
    .navbar-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    .navbar-menu.active { display: flex; }
    .nav-link { width: 100%; }
    .nav-user { width: 100%; }
    .nav-user-btn { width: 100%; justify-content: flex-start; }
    .nav-dropdown { position: static; box-shadow: none; border: none; background: var(--color-bg); margin-top: 0.5rem; border-radius: 0; }
    .footer-content { flex-direction: column; gap: 0.5rem; text-align: center; }
    .gh-page-header,
    .gh-actions-bar,
    .gh-property-layout,
    .gh-dashboard-grid,
    .gh-ticket-layout,
    .gh-panel-grid,
    .gh-panel-row,
    .gh-support-grid,
    .gh-plan-grid,
    .gh-plan-bottom,
    .gh-pro-pricing-grid,
    .gh-pro-register-layout {
        grid-template-columns: 1fr;
        display: grid;
    }
    .gh-dashboard-split {
        grid-template-columns: 1fr;
    }
    .gh-top-actions {
        grid-template-columns: 1fr;
        display: grid;
    }
    .gh-property-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }
    .gh-property-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
    .gh-property-thumb {
        width: 72px;
        height: 72px;
        border-radius: 0;
        font-size: 1.6rem;
    }
    .gh-spotlight-card h2,
    .gh-page-header h1 {
        font-size: 1.9rem;
    }
    .gh-dash-hero h1,
    .gh-plan-hero h1 {
        font-size: 2.6rem;
        max-width: 100%;
    }
    .gh-panel-row--dashboard,
    .gh-panel-row--dashboard-secondary {
        grid-template-columns: 1fr;
    }
    .gh-square-list-card {
        grid-template-columns: 84px minmax(0,1fr);
    }
    .gh-square-list-thumb {
        width: 84px;
        height: 84px;
        font-size: 2rem;
    }
    .gh-square-list-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
    .gh-plan-feature-grid {
        grid-template-columns: 1fr;
    }
    .auth-choice-grid,
    .auth-split,
    .auth-plan-cards,
    .auth-form-grid,
    .auth-pro-form .form-row,
    .auth-works-grid,
    .gh-works-upload-grid {
        grid-template-columns: 1fr;
    }
    .auth-form-pane,
    .auth-side,
    .auth-simple-card,
    .gh-pro-form-shell {
        padding: 1.5rem;
    }
    .auth-balance-title,
    .auth-side h1,
    .auth-form-pane h1,
    .auth-form-pane h2,
    .auth-pro-hero h1,
    .gh-page-hero h1 {
        font-size: 2.6rem;
        max-width: none;
    }

    .gh-pro-addon-card {
        grid-template-columns: 1fr;
    }

    .gh-works-placeholder-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 1100px) {
    .gh-panel-grid,
    .gh-support-grid,
    .gh-plan-grid,
    .gh-plan-bottom,
    .gh-property-layout,
    .gh-pro-pricing-grid,
    .gh-pro-register-layout {
        grid-template-columns: 1fr;
    }

    .gh-panel-row,
    .gh-panel-row--dashboard,
    .gh-panel-row--dashboard-secondary {
        grid-template-columns: 1fr;
    }

    .gh-page-header h1 {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .gh-page-header h1 {
        font-size: 2.2rem;
        max-width: none;
    }

    .gh-dash-hero h1,
    .gh-plan-hero h1,
    .gh-page-hero h1 {
        font-size: 2.2rem;
        max-width: 100%;
    }

    .gh-top-actions,
    .gh-support-form,
    .gh-square-form,
    .gh-card,
    .gh-surface-card,
    .gh-plan-basic,
    .gh-plan-premium,
    .gh-plan-reason,
    .gh-plan-support,
    .gh-ticket-help-card,
    .gh-ticket-mini,
    .gh-plan-mini {
        padding: 1.2rem;
    }

    .gh-account-card {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .gh-page-header {
        margin-bottom: 1.2rem;
    }

    .gh-actions-bar-actions,
    .gh-top-actions-buttons,
    .gh-property-actions,
    .gh-square-list-actions {
        width: 100%;
    }

    .gh-actions-bar-actions .btn,
    .gh-top-actions-buttons .btn,
    .gh-property-actions .btn,
    .gh-square-list-actions .btn {
        width: 100%;
    }
}
