:root {
    --ti-naranja: #E8621A;
    --ti-naranja-oscuro: #C04F10;
    --ti-naranja-claro: #FDF0E8;
    --ti-blanco: #FFFFFF;
    --ti-gris-claro: #F5F5F5;
    --ti-gris-medio: #E0E0E0;
    --ti-gris-texto: #555555;
    --ti-negro: #1A1A1A;
    --ti-verde-ok: #27AE60;
    --ti-rojo-error: #E74C3C;
    --ti-azul-link: #2980B9;
    --ti-radio-card: 8px;
    --ti-radio-input: 4px;
    --ti-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --ti-shadow-strong: 0 18px 50px rgba(26, 26, 26, 0.12);
    --ti-max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--ti-negro);
    background: linear-gradient(180deg, #fff7f1 0%, var(--ti-gris-claro) 320px, var(--ti-gris-claro) 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

.ti-container {
    width: min(var(--ti-max-width), calc(100% - 32px));
    margin: 0 auto;
}

.ti-site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(224, 224, 224, 0.8);
    transition: padding 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ti-site-header.is-compact {
    padding: 8px 0;
    box-shadow: var(--ti-shadow);
}

.ti-site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ti-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.ti-logo__image {
    display: block;
    width: auto;
    max-width: min(420px, 60vw);
    height: 62px;
    object-fit: contain;
}

.ti-primary-nav__list,
.ti-site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ti-primary-nav__list {
    display: flex;
    gap: 24px;
    align-items: center;
}

.ti-primary-nav__list a {
    color: var(--ti-gris-texto);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.ti-primary-nav__list a:hover,
.ti-primary-nav__list a:focus-visible,
.ti-link-arrow,
.ti-site-footer__links a:hover {
    color: var(--ti-naranja);
}

.ti-primary-nav__list a.ti-nav-cta {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--ti-naranja);
    color: var(--ti-blanco);
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ti-primary-nav__list a.ti-nav-cta:hover {
    background: var(--ti-naranja-oscuro);
    color: var(--ti-blanco);
    transform: translateY(-1px);
}

.ti-menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 0;
}

.ti-menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 5px 0;
    background: var(--ti-negro);
}

.ti-hero {
    position: relative;
    overflow: hidden;
    min-height: 78vh;
    display: grid;
    align-items: center;
    background: var(--ti-negro);
}

.ti-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--ti-hero-image, radial-gradient(circle at top right, rgba(232, 98, 26, 0.5), transparent 28%), linear-gradient(135deg, #2c2c2c 0%, #111111 60%, #1c1c1c 100%));
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.ti-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 17, 17, 0.82) 0%, rgba(17, 17, 17, 0.58) 55%, rgba(17, 17, 17, 0.4) 100%);
}

.ti-hero__content {
    position: relative;
    z-index: 1;
    padding: 88px 0 72px;
    color: var(--ti-blanco);
}

.ti-eyebrow,
.ti-section-heading__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.82);
}

.ti-section-heading__kicker {
    color: var(--ti-naranja);
}

.ti-hero h1,
.ti-section-heading h2 {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.03em;
}

.ti-hero h1 {
    max-width: 720px;
    margin: 14px 0 16px;
    font-size: clamp(2.8rem, 7vw, 4.8rem);
    line-height: 0.96;
}

.ti-hero__lead,
.ti-hero__welcome {
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
}

.ti-search-form {
    margin-top: 28px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--ti-shadow-strong);
}

.ti-search-form__tabs {
    display: inline-flex;
    gap: 10px;
    margin-bottom: 16px;
}

.ti-search-form__tabs button,
.ti-button {
    border: 0;
    border-radius: 999px;
    font: inherit;
}

.ti-search-form__tabs button {
    padding: 10px 18px;
    background: var(--ti-naranja-claro);
    color: var(--ti-negro);
    cursor: pointer;
}

.ti-search-form__tabs .is-active {
    background: var(--ti-naranja);
    color: var(--ti-blanco);
}

.ti-search-form__grid {
    display: grid;
    grid-template-columns: 1.4fr 1.4fr 1fr 0.7fr auto;
    gap: 12px;
    align-items: end;
}

.ti-search-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--ti-negro);
    font-size: 0.92rem;
    font-weight: 600;
}

.ti-search-form__field input,
.ti-search-form__field select {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--ti-gris-medio);
    border-radius: 14px;
    background: var(--ti-blanco);
    color: var(--ti-negro);
    font: inherit;
}

.ti-button--primary,
.ti-search-form__submit {
    min-height: 52px;
    padding: 0 24px;
    background: var(--ti-naranja);
    color: var(--ti-blanco);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ti-button--primary:hover,
.ti-search-form__submit:hover {
    background: var(--ti-naranja-oscuro);
    transform: translateY(-1px);
}

.ti-button--whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    background: #25D366;
    color: var(--ti-blanco);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ti-button--whatsapp:hover {
    background: #128C7E;
    transform: translateY(-1px);
}

.ti-section {
    padding: 72px 0;
}

.ti-section--soft {
    background: linear-gradient(180deg, rgba(253, 240, 232, 0.72) 0%, rgba(253, 240, 232, 0.36) 100%);
}

.ti-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.ti-section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(2rem, 5vw, 3rem);
}

.ti-card-grid,
.ti-zone-grid,
.ti-site-footer__grid,
.ti-banner-grid {
    display: grid;
    gap: 24px;
}

.ti-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ti-property-card,
.ti-zone-card,
.ti-banner-slot {
    overflow: hidden;
    border-radius: 24px;
    background: var(--ti-blanco);
    box-shadow: var(--ti-shadow);
}

.ti-property-card__media {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #ffd8c2 0%, #f6a776 100%);
}

.ti-property-card__body {
    padding: 22px;
}

.ti-badge {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--ti-naranja-claro);
    color: var(--ti-naranja-oscuro);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ti-property-card h3 {
    margin: 14px 0 10px;
    font-size: 1.2rem;
}

.ti-price {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 700;
}

.ti-link-arrow {
    display: inline-flex;
    margin-top: 8px;
    font-weight: 600;
}

.ti-zone-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ti-zone-card {
    min-height: 180px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background: linear-gradient(155deg, rgba(232, 98, 26, 0.9), rgba(192, 79, 16, 0.86));
    color: var(--ti-blanco);
}

.ti-zone-card--1 {
    background: linear-gradient(155deg, rgba(232, 98, 26, 0.96), rgba(192, 79, 16, 0.86));
}

.ti-zone-card--2 {
    background: linear-gradient(155deg, rgba(26, 26, 26, 0.92), rgba(72, 72, 72, 0.82));
}

.ti-zone-card--3 {
    background: linear-gradient(155deg, rgba(41, 128, 185, 0.94), rgba(32, 92, 131, 0.84));
}

.ti-zone-card__count {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.ti-zone-card strong {
    font-size: 1.35rem;
}

.ti-banner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ti-banner-slot {
    display: grid;
    place-items: center;
    min-height: 120px;
    padding: 24px;
    border: 1px dashed rgba(232, 98, 26, 0.4);
    color: var(--ti-gris-texto);
    text-align: center;
}

.ti-banner-slot--code {
    padding: 18px;
    border-style: solid;
    background: var(--ti-blanco);
}

.ti-banner-slot--code > * {
    max-width: 100%;
}

.ti-story-grid,
.ti-agency-grid {
    display: grid;
    gap: 24px;
}

.ti-story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ti-story-card,
.ti-agency-card,
.ti-home-cta {
    border-radius: 24px;
    background: var(--ti-blanco);
    box-shadow: var(--ti-shadow);
}

.ti-story-card {
    overflow: hidden;
}

.ti-story-card__media,
.ti-story-card__placeholder {
    display: block;
}

.ti-story-card__media img,
.ti-story-card__placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.ti-story-card__placeholder {
    background: linear-gradient(135deg, #fff0e7 0%, #f4bf95 100%);
}

.ti-story-card__body {
    padding: 24px;
}

.ti-story-card__body h3 {
    margin: 10px 0 12px;
    font-size: 1.3rem;
}

.ti-story-card__body p {
    margin: 0;
    color: var(--ti-gris-texto);
    line-height: 1.7;
}

.ti-editorial {
    display: grid;
    gap: 28px;
}

.ti-editorial__media {
    overflow: hidden;
    border-radius: 24px;
    background: var(--ti-blanco);
    box-shadow: var(--ti-shadow);
}

.ti-editorial__media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.ti-editorial__body {
    padding: 32px;
    border-radius: 24px;
    background: var(--ti-blanco);
    box-shadow: var(--ti-shadow);
}

.ti-section--stories {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(245, 245, 245, 0.86) 100%);
}

.ti-home-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding: 28px;
}

.ti-home-cta h2 {
    margin: 10px 0 12px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    letter-spacing: -0.03em;
}

.ti-home-cta p {
    margin: 0;
    max-width: 760px;
    color: var(--ti-gris-texto);
    line-height: 1.7;
}

.ti-agency-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ti-agency-card {
    padding: 24px;
    display: grid;
    gap: 10px;
}

.ti-agency-card strong {
    font-size: 1.1rem;
}

.ti-agency-card span {
    color: var(--ti-gris-texto);
}

.ti-agency-card__avatar {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--ti-naranja-claro) 0%, rgba(232, 98, 26, 0.18) 100%);
    color: var(--ti-naranja-oscuro);
    font-size: 1.4rem;
    font-weight: 800;
}

.ti-site-footer {
    background: var(--ti-negro);
    color: rgba(255, 255, 255, 0.86);
}

.ti-site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    padding: 56px 0 32px;
}

.ti-site-footer__title {
    margin: 0 0 14px;
    color: var(--ti-blanco);
    font-size: 1rem;
}

.ti-footer-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
}

.ti-footer-brand__logo {
    display: block;
    width: auto;
    max-width: 240px;
    height: 46px;
    object-fit: contain;
}

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

.ti-footer-brand__icon {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    object-fit: cover;
}

.ti-site-footer__links {
    display: grid;
    gap: 10px;
}

.ti-social-links {
    display: flex;
    gap: 16px;
    margin-top: 18px;
}

.ti-site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0 26px;
    font-size: 0.92rem;
}

.ti-page-shell {
    min-height: 60vh;
}

.ti-page-hero {
    padding: 56px 0 24px;
}

.ti-page-hero h1 {
    margin: 10px 0 12px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    letter-spacing: -0.03em;
}

.ti-page-hero p {
    max-width: 680px;
    color: var(--ti-gris-texto);
    line-height: 1.7;
}

.ti-page-hero__search {
    margin-top: 26px;
}

.ti-results-head {
    margin-bottom: 24px;
    color: var(--ti-gris-texto);
}

.is-loading [data-ti-results-grid] {
    opacity: 0.55;
    transition: opacity 0.2s ease;
}

.ti-results-shell {
    position: relative;
}

.ti-results-layout__controls {
    display: none;
    gap: 10px;
    margin-bottom: 18px;
}

.ti-view-toggle {
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--ti-blanco);
    color: var(--ti-negro);
    font: inherit;
    font-weight: 700;
    box-shadow: var(--ti-shadow);
}

.ti-view-toggle.is-active {
    background: var(--ti-naranja);
    color: var(--ti-blanco);
}

.ti-results-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.95fr);
    gap: 24px;
    align-items: start;
}

.ti-results-layout__list {
    min-width: 0;
}

.ti-results-layout__map {
    position: sticky;
    top: 96px;
}

.ti-map-panel {
    padding: 0;
    border-radius: 24px;
    background: var(--ti-blanco);
    box-shadow: var(--ti-shadow);
}

.ti-card-grid--archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ti-property-card__media-link {
    display: block;
}

.ti-property-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.ti-property-card__topline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ti-badge--soft {
    background: rgba(26, 26, 26, 0.08);
    color: var(--ti-negro);
}

.ti-property-card__location,
.ti-property-card__meta {
    color: var(--ti-gris-texto);
    line-height: 1.6;
}

.ti-property-card__location {
    margin: 0 0 10px;
}

.ti-property-card__meta {
    margin: 0;
}

.ti-property-card.is-hovered {
    transform: translateY(-2px);
    box-shadow: var(--ti-shadow-strong);
}

.ti-pagination {
    margin-top: 36px;
    text-align: center;
}

.ti-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    margin: 0 4px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--ti-blanco);
    box-shadow: var(--ti-shadow);
}

.ti-pagination .current {
    background: var(--ti-naranja);
    color: var(--ti-blanco);
}

.ti-empty-state,
.ti-single-property__panel,
.ti-contact-card {
    border-radius: 24px;
    background: var(--ti-blanco);
    box-shadow: var(--ti-shadow);
}

.ti-empty-state {
    padding: 40px 32px;
    text-align: center;
}

.ti-section--property {
    padding-top: 40px;
}

.ti-single-property {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.9fr);
    gap: 28px;
    align-items: start;
}

.ti-single-property__header {
    margin-bottom: 24px;
}

.ti-single-property__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.ti-single-property__header h1 {
    margin: 0 0 12px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.6vw, 3.7rem);
    letter-spacing: -0.03em;
}

.ti-single-property__location {
    margin: 0 0 16px;
    color: var(--ti-gris-texto);
    font-size: 1.02rem;
}

.ti-price--hero {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.ti-gallery {
    margin-bottom: 24px;
}

.ti-gallery__featured,
.ti-gallery__thumb {
    overflow: hidden;
    border-radius: 24px;
}

.ti-gallery__featured {
    background: var(--ti-blanco);
    box-shadow: var(--ti-shadow);
}

.ti-gallery__featured-image,
.ti-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ti-gallery__featured-image {
    aspect-ratio: 16 / 10;
}

.ti-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.ti-gallery__thumb img {
    aspect-ratio: 1 / 1;
}

.ti-single-property__main {
    display: grid;
    gap: 24px;
}

.ti-single-property__panel {
    padding: 28px;
}

.ti-single-property__panel h2,
.ti-contact-card h2 {
    margin: 0 0 18px;
    font-size: 1.35rem;
}

.ti-feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ti-feature-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--ti-naranja-claro);
    color: var(--ti-negro);
    font-weight: 600;
}

.ti-rich-text {
    color: var(--ti-gris-texto);
    line-height: 1.8;
}

.ti-rich-text > :first-child {
    margin-top: 0;
}

.ti-rich-text > :last-child {
    margin-bottom: 0;
}

.ti-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.ti-detail-grid__item {
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--ti-gris-claro);
}

.ti-detail-grid__item dt {
    margin-bottom: 8px;
    color: var(--ti-gris-texto);
    font-size: 0.92rem;
}

.ti-detail-grid__item dd {
    margin: 0;
    font-weight: 700;
}

.ti-single-property__sidebar {
    position: sticky;
    top: 100px;
}

.ti-contact-card {
    padding: 28px;
}

.ti-contact-card__location,
.ti-contact-card__email {
    color: var(--ti-gris-texto);
}

.ti-contact-card__actions {
    display: grid;
    gap: 12px;
    margin: 20px 0 14px;
}

.ti-contact-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.ti-contact-form__status {
    margin: 0;
    min-height: 24px;
    font-weight: 600;
}

.ti-contact-form__status.is-success {
    color: var(--ti-verde-ok);
}

.ti-contact-form__status.is-error {
    color: var(--ti-rojo-error);
}

.ti-button--secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    background: var(--ti-negro);
    color: var(--ti-blanco);
    font-weight: 700;
}

.ti-auth-shell {
    display: flex;
    justify-content: center;
}

.ti-auth-card {
    width: min(100%, 560px);
    padding: 36px;
    border-radius: 28px;
    background: var(--ti-blanco);
    box-shadow: var(--ti-shadow-strong);
}

.ti-auth-card--wide {
    width: min(100%, 760px);
}

.ti-auth-card h1 {
    margin: 10px 0 12px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    letter-spacing: -0.03em;
}

.ti-auth-card p {
    color: var(--ti-gris-texto);
    line-height: 1.7;
}

.ti-auth-form,
.ti-auth-form__grid {
    display: grid;
    gap: 16px;
}

.ti-auth-form {
    margin-top: 24px;
}

.ti-google-auth {
    display: grid;
    justify-items: center;
    gap: 14px;
    margin-top: 24px;
}

.ti-google-auth__divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    width: 100%;
    color: var(--ti-gris-texto);
    font-size: 0.92rem;
    font-weight: 600;
}

.ti-google-auth__divider::before,
.ti-google-auth__divider::after {
    content: "";
    height: 1px;
    background: var(--ti-gris-medio);
}

.ti-google-auth__help {
    margin: 0;
    color: var(--ti-gris-texto);
    font-size: 0.82rem;
    text-align: center;
}

.ti-auth-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ti-auth-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 600;
}

.ti-auth-form__field input,
.ti-auth-form__field select,
.ti-auth-form__field textarea {
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--ti-gris-medio);
    border-radius: 14px;
    font: inherit;
}

.ti-auth-form__field textarea {
    min-height: 144px;
    padding: 16px;
    resize: vertical;
}

.ti-auth-form__field--full {
    grid-column: 1 / -1;
}

.ti-auth-form__field--checkbox {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--ti-gris-medio);
    border-radius: 14px;
    background: var(--ti-blanco);
    font-weight: 600;
}

.ti-auth-form__field--checkbox input {
    min-height: auto;
    padding: 0;
}

.ti-auth-form__roles {
    display: grid;
    gap: 10px;
    margin: 8px 0 0;
    padding: 16px 18px;
    border: 1px solid var(--ti-gris-medio);
    border-radius: 18px;
}

.ti-auth-form__roles legend {
    padding: 0 6px;
    font-weight: 700;
}

.ti-auth-form__roles label {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--ti-gris-texto);
}

.ti-auth-notice {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 600;
}

.ti-auth-notice--success {
    background: rgba(39, 174, 96, 0.12);
    color: var(--ti-verde-ok);
}

.ti-auth-notice--error {
    background: rgba(231, 76, 60, 0.12);
    color: var(--ti-rojo-error);
}

.ti-auth-card__footer {
    margin-top: 18px;
}

.ti-auth-card__footer a {
    color: var(--ti-naranja);
    font-weight: 700;
}

.ti-panel-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0;
}

.ti-panel-summary__item {
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--ti-gris-claro);
}

.ti-panel-summary__item strong,
.ti-panel-summary__item span {
    display: block;
}

.ti-panel-summary__item strong {
    margin-bottom: 8px;
}

.ti-dashboard {
    display: grid;
    grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.8fr);
    gap: 24px;
    align-items: start;
}

.ti-dashboard__sidebar {
    position: sticky;
    top: 104px;
    padding: 24px;
    border-radius: 28px;
    background: var(--ti-negro);
    color: rgba(255, 255, 255, 0.86);
    box-shadow: var(--ti-shadow-strong);
}

.ti-dashboard__profile {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.ti-dashboard__profile h1 {
    margin: 8px 0 4px;
    font-size: 1.45rem;
}

.ti-dashboard__profile p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}

.ti-dashboard__avatar {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--ti-naranja) 0%, var(--ti-naranja-oscuro) 100%);
    color: var(--ti-blanco);
    font-size: 1.7rem;
    font-weight: 800;
}

.ti-dashboard__nav {
    display: grid;
    gap: 10px;
}

.ti-dashboard__nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.82);
    transition: background 0.2s ease, color 0.2s ease;
}

.ti-dashboard__nav a:hover,
.ti-dashboard__nav a.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ti-blanco);
}

.ti-dashboard__content .ti-auth-card {
    width: 100%;
}

.ti-dashboard-list {
    margin-top: 28px;
}

.ti-dashboard-list__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.ti-dashboard-list__header h3 {
    margin: 8px 0 0;
    font-size: 1.5rem;
}

.ti-dashboard-table-wrap {
    overflow-x: auto;
}

.ti-dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.ti-dashboard-table th,
.ti-dashboard-table td {
    padding: 18px 14px;
    border-bottom: 1px solid var(--ti-gris-medio);
    text-align: left;
    vertical-align: top;
}

.ti-dashboard-table th {
    color: var(--ti-gris-texto);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ti-dashboard-table__property {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    align-items: start;
}

.ti-dashboard-table__thumb img {
    display: block;
    width: 92px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
}

.ti-dashboard-table__property strong,
.ti-dashboard-table__property span {
    display: block;
}

.ti-dashboard-table__property span {
    margin-top: 6px;
    color: var(--ti-gris-texto);
}

.ti-dashboard-table__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ti-dashboard-table__actions a {
    color: var(--ti-naranja);
    font-weight: 700;
}

.ti-dashboard-table__actions .is-danger,
.ti-dashboard-table__reason {
    color: var(--ti-rojo-error);
}

.ti-dashboard-table__reason {
    margin: 8px 0 0;
    font-size: 0.92rem;
}

.ti-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ti-status-badge--pending {
    background: rgba(41, 128, 185, 0.14);
    color: var(--ti-azul-link);
}

.ti-status-badge--published {
    background: rgba(39, 174, 96, 0.14);
    color: var(--ti-verde-ok);
}

.ti-status-badge--rejected,
.ti-status-badge--expired {
    background: rgba(231, 76, 60, 0.14);
    color: var(--ti-rojo-error);
}

.ti-status-badge--paused {
    background: rgba(26, 26, 26, 0.1);
    color: var(--ti-negro);
}

.ti-status-badge--neutral {
    background: rgba(85, 85, 85, 0.12);
    color: var(--ti-gris-texto);
}

.ti-wizard__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 28px 0 8px;
}

.ti-wizard__steps button {
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--ti-gris-medio);
    border-radius: 16px;
    background: var(--ti-gris-claro);
    color: var(--ti-gris-texto);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.ti-wizard__steps button.is-active {
    border-color: rgba(232, 98, 26, 0.28);
    background: var(--ti-naranja-claro);
    color: var(--ti-naranja-oscuro);
}

.ti-wizard__panel {
    padding: 20px 0 8px;
}

.ti-wizard__actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.ti-button--inline {
    width: fit-content;
    min-height: 44px;
    padding: 0 18px;
}

.ti-publish-map {
    min-height: 340px;
    margin-top: 12px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--ti-shadow);
}

.ti-publish-map__help {
    margin: 10px 0 0;
    color: var(--ti-gris-texto);
    font-size: 0.92rem;
    line-height: 1.6;
}

.ti-gallery-upload__existing {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.ti-gallery-upload__existing img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .ti-search-form__grid,
    .ti-card-grid,
    .ti-zone-grid,
    .ti-site-footer__grid,
    .ti-banner-grid,
    .ti-story-grid,
    .ti-agency-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ti-search-form__submit {
        width: 100%;
    }

    .ti-single-property {
        grid-template-columns: 1fr;
    }

    .ti-results-layout {
        grid-template-columns: 1fr;
    }

    .ti-results-layout__map {
        position: static;
    }

    .ti-single-property__sidebar {
        position: static;
    }

    .ti-gallery__grid,
    .ti-detail-grid,
    .ti-auth-form__grid,
    .ti-panel-summary,
    .ti-wizard__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ti-dashboard {
        grid-template-columns: 1fr;
    }

    .ti-dashboard__sidebar {
        position: static;
    }

    .ti-home-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 820px) {
    .ti-results-layout__controls {
        display: inline-flex;
    }

    .ti-results-layout[data-ti-active-view='map'] .ti-results-layout__list {
        display: none;
    }

    .ti-results-layout[data-ti-active-view='list'] .ti-results-layout__map,
    .ti-results-layout:not([data-ti-active-view]) .ti-results-layout__map {
        display: none;
    }

    .ti-results-layout[data-ti-active-view='map'] .ti-results-layout__map {
        display: block;
    }

    .ti-menu-toggle {
        display: inline-block;
    }

    .ti-primary-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        display: none;
        padding: 18px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--ti-shadow-strong);
    }

    .ti-primary-nav.is-open {
        display: block;
    }

    .ti-primary-nav__list {
        flex-direction: column;
        align-items: flex-start;
    }

    .ti-logo__image {
        max-width: 260px;
        height: 46px;
    }

    .ti-search-form__grid,
    .ti-card-grid,
    .ti-zone-grid,
    .ti-site-footer__grid,
    .ti-banner-grid,
    .ti-story-grid,
    .ti-agency-grid,
    .ti-card-grid--archive,
    .ti-gallery__grid,
    .ti-detail-grid,
    .ti-wizard__steps,
    .ti-gallery-upload__existing {
        grid-template-columns: 1fr;
    }

    .ti-hero__content {
        padding: 72px 0 56px;
    }

    .ti-section {
        padding: 56px 0;
    }

    .ti-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .ti-single-property__panel,
    .ti-contact-card,
    .ti-auth-card {
        padding: 22px;
    }

    .ti-auth-form__grid,
    .ti-panel-summary {
        grid-template-columns: 1fr;
    }

    .ti-dashboard-list__header,
    .ti-wizard__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ti-dashboard-table__property {
        grid-template-columns: 72px 1fr;
    }

    .ti-dashboard-table__thumb img {
        width: 72px;
        height: 60px;
    }

    .ti-home-cta {
        padding: 22px;
    }
}
