@font-face {
  font-family: "Sicoob Sans";
  src: url("/assets/fonts/sicoob/SicoobSansVariable.woff2") format("woff2-variations");
  font-display: swap;
  font-weight: 100 1000;
  font-stretch: 80% 100%;
  font-style: normal;
}

@font-face {
  font-family: "Sicoob Script";
  src: url("/assets/fonts/sicoob/SicoobScriptVariable.woff2") format("woff2-variations");
  font-display: swap;
  font-weight: 100 1000;
  font-style: normal;
}

:root {
  --sicoob-dark: #003641;
  --sicoob-turquoise: #00ae9d;
  --sicoob-lime: #c9d200;
  --sicoob-green: #7db61c;
  --sicoob-purple: #49479d;
  --sicoob-bg: #f7f8f3;
  --sicoob-bg-soft: #fbfcf8;
  --sicoob-line: #d9e3de;
  --sicoob-muted: #5e6b68;
  --sicoob-ink: #143b3a;
  --sicoob-action: #00796f;
  --surface: #ffffff;
  --danger: #9f2f2f;
  --success: #1d6b44;
  --whatsapp: #0b7a35;
  --shadow: 0 14px 32px rgba(0, 54, 65, 0.12);
  --color-text-accent-on-light: var(--sicoob-action);
  --color-focus: var(--sicoob-action);
  --color-focus-on-dark: var(--sicoob-turquoise);
  --color-border-control: #6b7d79;
  --color-surface-muted: #e8f1ed;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--sicoob-ink);
  background: var(--sicoob-bg);
  font-family: "Sicoob Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

a {
  color: inherit;
}

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

input,
select,
textarea,
button {
  font: inherit;
}

a,
button,
input,
select,
textarea {
  min-width: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.home-hero a:focus-visible,
.listing-hero a:focus-visible,
.detail-hero a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--color-focus-on-dark);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  border-radius: 6px;
  background: var(--surface);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--sicoob-dark);
  color: #fff;
}

.sicoob-strip {
  height: 7px;
  background:
    linear-gradient(
      90deg,
      #00ae9d 0 8%,
      #008c84 8% 15%,
      #00ae9d 15% 24%,
      #008c84 24% 33%,
      #00ae9d 33% 100%
    );
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-row > *,
.home-hero-grid > *,
.listing-grid > *,
.detail-hero-grid > *,
.detail-content-grid > *,
.footer-grid > *,
.asset-card,
.asset-card-body,
.results-panel,
.purchase-panel,
.proposal-form,
.detail-card {
  min-width: 0;
}

.mainnav {
  background: var(--sicoob-dark);
}

.mainnav .header-row {
  min-height: 92px;
}

.brand {
  display: inline-flex;
  width: 132px;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  max-width: 132px;
  max-height: 37px;
  height: auto;
}

.site-location {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e9f4f2;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-location strong {
  color: var(--sicoob-green);
}

.pin-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid #e9f4f2;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.pin-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e9f4f2;
  transform: translate(4px, 4px);
}

.chevron-icon {
  width: 14px;
  height: 14px;
  border-right: 3px solid #e9f4f2;
  border-bottom: 3px solid #e9f4f2;
  transform: rotate(45deg) translateY(-3px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  color: #f1fbf9;
  font-size: 16px;
  font-weight: 600;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-bottom-color: var(--sicoob-turquoise);
  color: #fff;
}

.header-search {
  width: 34px;
  justify-content: center;
}

.header-search .search-icon {
  border-color: #e9f4f2;
}

.header-search .search-icon::after {
  background: #e9f4f2;
}

.account-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.inline-form {
  display: inline;
  margin: 0;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--sicoob-dark);
  cursor: pointer;
  font-weight: 700;
}

.site-header .account-actions {
  margin-left: 8px;
}

.site-header .button-dark {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.site-header .link-button {
  color: #fff;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 100%;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  white-space: normal;
}

.button-primary {
  background: var(--sicoob-turquoise);
  color: var(--sicoob-dark);
}

.button-primary:hover {
  background: var(--sicoob-action);
  color: #fff;
}

.button-primary:active {
  background: var(--sicoob-dark);
  color: #fff;
}

.button-dark {
  background: var(--sicoob-dark);
  color: #fff;
}

.button-secondary {
  border-color: var(--sicoob-action);
  background: var(--surface);
  color: var(--sicoob-action);
}

.button-secondary:hover {
  background: #edf7f5;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.button-whatsapp {
  min-height: 44px;
  border-color: var(--whatsapp);
  border-radius: 8px;
  background: var(--surface);
  color: var(--whatsapp);
}

.button-whatsapp:hover {
  background: #edf7f0;
}

.button-small {
  width: 130px;
  min-height: 44px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--color-text-accent-on-light);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-hero .eyebrow,
.listing-hero .eyebrow {
  color: var(--sicoob-turquoise);
}

.home-hero {
  background: var(--sicoob-dark);
  color: #fff;
}

.home-hero-grid {
  display: grid;
  min-height: 330px;
  grid-template-columns: minmax(0, 570px) minmax(360px, 1fr);
  align-items: center;
  gap: 48px;
  padding: 34px 0;
}

.hero-copy {
  display: grid;
  gap: 12px;
}

.hero-copy h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  line-height: 40px;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.hero-copy p {
  margin: 0;
  color: #d8efeb;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}

.hero-actions,
.admin-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-feature {
  position: relative;
  display: flex;
  min-height: 260px;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}

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

.hero-price-card {
  position: relative;
  display: grid;
  width: min(290px, calc(100% - 36px));
  gap: 4px;
  margin: 18px;
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
  color: var(--sicoob-dark);
}

.hero-price-card span {
  color: var(--color-text-accent-on-light);
  font-size: 11px;
  font-weight: 700;
}

.hero-price-card strong {
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: break-word;
}

.hero-price-card b {
  font-size: 21px;
  font-weight: 800;
}

.stats-strip {
  border: 1px solid var(--sicoob-line);
  background: var(--surface);
}

.stats-grid {
  display: grid;
  min-height: 76px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
}

.stats-grid div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stats-grid strong {
  color: var(--sicoob-dark);
  font-size: 27px;
  font-weight: 800;
  white-space: nowrap;
}

.stats-grid span {
  color: var(--sicoob-muted);
  font-size: 13px;
  font-weight: 500;
}

.featured-section {
  padding: 20px 0 28px;
}

.featured-header {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.featured-header h2,
.results-header h2 {
  margin: 0;
  color: var(--sicoob-dark);
  font-size: 25px;
  font-weight: 800;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.featured-header a {
  color: var(--sicoob-action);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.featured-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.asset-card {
  overflow: hidden;
  border: 1px solid var(--sicoob-line);
  border-radius: 8px;
  background: var(--surface);
}

.asset-card-horizontal {
  display: flex;
  min-height: 224px;
}

.asset-card-media {
  display: block;
  overflow: hidden;
  background: #e8f1ed;
}

.asset-card-horizontal .asset-card-media {
  width: 152px;
  flex: 0 0 152px;
}

.asset-card-media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.asset-card:hover .asset-card-media img {
  transform: scale(1.025);
}

.asset-card:focus-within {
  border-color: var(--sicoob-action);
  box-shadow: 0 0 0 3px rgba(0, 121, 111, 0.18);
}

.asset-card-body {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 8px;
  padding: 18px;
}

.asset-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.asset-type,
.asset-location,
.asset-original,
.asset-code {
  margin: 0;
  color: var(--sicoob-muted);
  font-size: 12px;
  font-weight: 700;
}

.asset-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  background: #eaf7d3;
  padding: 0 10px;
  color: var(--sicoob-dark);
  font-size: 11px;
  font-weight: 700;
}

.asset-original {
  font-weight: 800;
}

.asset-card h3 {
  margin: 0;
  color: var(--sicoob-dark);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.asset-card h3 a {
  text-decoration: none;
}

.asset-price {
  color: var(--sicoob-dark);
  font-size: 22px;
  font-weight: 800;
}

.asset-price-block {
  display: grid;
  gap: 2px;
}

.asset-price-block span {
  color: var(--sicoob-muted);
  font-size: 12px;
  font-weight: 500;
}

.asset-price-block b {
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
}

.process-band,
.faq-band,
.section {
  padding: 56px 0;
}

.process-band {
  background: #fff;
  border-top: 1px solid var(--sicoob-line);
}

.process-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.process-grid h2,
.faq-grid h2,
.section h1,
.section h2,
.auth-card h1 {
  margin: 0;
  color: var(--sicoob-dark);
  font-size: 2.55rem;
  line-height: 1.08;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  gap: 4px;
  border-left: 4px solid var(--sicoob-turquoise);
  background: var(--sicoob-bg);
  padding: 16px;
}

.steps strong,
.faq-list summary {
  font-weight: 700;
}

.steps span,
.muted,
.faq-grid p {
  color: var(--sicoob-muted);
}

.faq-grid {
  align-items: center;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--sicoob-line);
  border-radius: 6px;
  background: var(--surface);
  padding: 14px;
}

.faq-list summary {
  color: var(--sicoob-dark);
  cursor: pointer;
}

.faq-list p {
  margin: 8px 0 0;
}

.faq-grid .button,
.faq-list .button {
  justify-self: end;
}

.listing-hero {
  background: var(--sicoob-dark);
  color: #fff;
  padding: 18px 0;
}

.listing-hero h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.listing-hero p {
  margin: 6px 0 12px;
  color: #d8efeb;
  font-size: 14px;
  font-weight: 500;
}

.listing-search {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 14px;
  border-radius: 6px;
  background: var(--surface);
  padding: 0 12px 0 18px;
}

.listing-search input {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--sicoob-dark);
  font-size: 16px;
  min-width: 0;
  text-overflow: ellipsis;
}

.listing-search input:focus {
  outline: none;
}

.listing-search:focus-within {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.search-icon {
  width: 18px;
  height: 18px;
  border: 3px solid var(--sicoob-turquoise);
  border-radius: 50%;
  position: relative;
  flex: 0 0 18px;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -6px;
  width: 9px;
  height: 3px;
  border-radius: 3px;
  background: var(--sicoob-turquoise);
  transform: rotate(45deg);
}

.listing-content {
  padding: 20px 0 28px;
}

.listing-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.filter-panel,
.detail-card,
.proposal-form,
.empty-state,
.auth-card,
.panel-form,
.table-wrap {
  border: 1px solid var(--sicoob-line);
  border-radius: 6px;
  background: var(--surface);
}

.filter-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #111;
  font-size: 14px;
}

.filter-header a {
  color: var(--sicoob-action);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.filter-group {
  display: grid;
  gap: 8px;
}

.filter-group h2 {
  margin: 0;
  color: var(--sicoob-dark);
  font-size: 13px;
  font-weight: 700;
}

.filter-group p,
.filter-note-list {
  margin: 0;
  color: var(--sicoob-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
}

.filter-note-list {
  display: grid;
  gap: 4px;
  padding-left: 14px;
}

.filter-option {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--sicoob-muted);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.filter-option span {
  width: 12px;
  height: 12px;
  border: 1px solid var(--color-border-control);
  border-radius: 3px;
}

.filter-option.active {
  color: var(--sicoob-dark);
}

.filter-option.active span {
  border-color: var(--sicoob-turquoise);
  background: var(--sicoob-turquoise);
  box-shadow: inset 0 0 0 3px #fff;
}

.results-panel {
  display: grid;
  gap: 16px;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.results-header h2 {
  font-size: 20px;
  font-weight: 700;
}

.results-header p {
  margin: 2px 0 0;
  color: #4a5b58;
  font-size: 14px;
}

.sort-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sicoob-muted);
  font-size: 12px;
  font-weight: 500;
}

.sort-chip strong,
.listing-chips a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 4px;
  background: var(--surface);
  padding: 8px 12px;
  color: var(--sicoob-dark);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  max-width: 100%;
  text-align: center;
  text-decoration: none;
}

.listing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.listing-chips a.active {
  background: var(--sicoob-turquoise);
  color: var(--sicoob-dark);
}

.listing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.listing-cards .asset-card-media {
  aspect-ratio: 16 / 10;
}

.listing-cards .asset-card-media img {
  min-height: 0;
}

.detail-hero {
  background: var(--sicoob-dark);
  padding: 24px 0;
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: #d8efeb;
  font-size: 13px;
  font-weight: 500;
}

.detail-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.detail-back-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  margin-right: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
}

.detail-back-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.detail-breadcrumb a:hover,
.detail-breadcrumb a:focus-visible {
  color: var(--sicoob-turquoise);
}

.detail-breadcrumb span[aria-current="page"] {
  min-width: 0;
  overflow: hidden;
  color: #b7d7d1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 830px) minmax(320px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px;
  gap: 12px;
  height: clamp(360px, 42vw, 520px);
  min-height: 0;
}

.detail-gallery-single {
  grid-template-columns: minmax(0, 1fr);
}

.detail-main-photo,
.detail-thumb {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
}

.detail-main-photo,
.detail-thumbs {
  min-height: 0;
}

.detail-main-photo {
  display: block;
  background: #071a1d;
  cursor: zoom-in;
}

.detail-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumbs {
  display: grid;
  gap: 12px;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 2px;
  grid-auto-rows: minmax(72px, 1fr);
}

.detail-thumbs.thumb-count-2 {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.detail-thumbs.thumb-count-3 {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.detail-thumbs.thumb-count-4 {
  grid-template-rows: repeat(4, minmax(0, 1fr));
}

.detail-thumbs.thumb-count-5 {
  grid-template-rows: repeat(5, minmax(0, 1fr));
}

.detail-thumbs.thumb-count-6 {
  grid-template-rows: repeat(6, minmax(0, 1fr));
}

.detail-thumb {
  display: block;
  min-height: 0;
  padding: 0;
  background: #071a1d;
  cursor: pointer;
}

.detail-thumb img {
  opacity: 0.82;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.detail-thumb:hover img,
.detail-thumb:focus-visible img,
.detail-thumb.active img {
  opacity: 1;
}

.detail-thumb:hover img {
  transform: scale(1.03);
}

.detail-thumb.active {
  border-color: var(--sicoob-turquoise);
  box-shadow: 0 0 0 2px rgba(0, 183, 166, 0.35);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 18px;
  background: rgba(4, 20, 23, 0.94);
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal-header,
.gallery-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.gallery-modal-title {
  min-width: 0;
  overflow: hidden;
  font-size: 0.96rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-modal-close,
.gallery-modal-nav {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.gallery-modal-stage {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
}

.gallery-modal-stage img {
  max-width: min(100%, 1280px);
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  background: #071a1d;
}

.gallery-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-modal-prev {
  left: 8px;
}

.gallery-modal-next {
  right: 8px;
}

.gallery-modal-count {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

body.gallery-modal-open {
  overflow: hidden;
}

.purchase-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  border-radius: 6px;
  background: var(--surface);
  padding: 16px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--sicoob-muted);
  font-size: 12px;
  font-weight: 500;
}

.availability,
.price-meta b {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: #eaf7d3;
  padding: 0 10px;
  color: var(--sicoob-dark);
  font-size: 11px;
  font-weight: 700;
}

.purchase-panel h1 {
  margin: 0;
  color: var(--sicoob-dark);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.detail-location {
  margin: 0;
  color: var(--sicoob-muted);
  font-size: 14px;
  font-weight: 400;
}

.price-stack {
  display: grid;
  gap: 5px;
}

.price-stack > span {
  color: var(--sicoob-muted);
  font-size: 12px;
  font-weight: 600;
}

.price-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.price-meta s {
  color: var(--sicoob-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration-thickness: 2px;
}

.price-stack strong {
  color: var(--sicoob-dark);
  font-size: 30px;
  font-weight: 800;
}

.price-stack p {
  margin: 0;
  color: var(--sicoob-muted);
  font-size: 11px;
}

.detail-actions {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.purchase-panel .button-primary,
.proposal-form .button-primary {
  border-radius: 4px;
  color: var(--sicoob-dark);
}

.detail-content {
  padding: 20px 0 34px;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 374px;
  gap: 24px;
  align-items: start;
}

.detail-info {
  display: grid;
  gap: 16px;
}

.detail-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.detail-card h2,
.proposal-form h2 {
  margin: 0;
  color: var(--sicoob-dark);
  font-size: 18px;
  font-weight: 700;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.detail-map-card h2,
.proposal-form h2 {
  font-size: 20px;
}

.detail-card p,
.proposal-form p {
  margin: 0;
  color: var(--sicoob-muted);
  font-size: 13px;
  font-weight: 400;
  overflow-wrap: break-word;
}

.detail-card:first-child p {
  color: var(--sicoob-dark);
  font-weight: 500;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.feature-grid div {
  display: grid;
  gap: 3px;
  border-radius: 6px;
  background: var(--sicoob-bg);
  padding: 10px;
}

.feature-grid dt {
  color: var(--sicoob-muted);
  font-size: 11px;
  font-weight: 600;
}

.feature-grid dd {
  margin: 0;
  color: var(--sicoob-dark);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: break-word;
}

.map-meta {
  display: grid;
  gap: 3px;
  border-left: 4px solid var(--sicoob-turquoise);
  padding-left: 12px;
}

.map-meta strong,
.map-placeholder strong {
  color: var(--sicoob-dark);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: break-word;
}

.map-meta span,
.map-placeholder span {
  color: var(--sicoob-muted);
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: break-word;
}

.map-frame {
  width: 100%;
  min-height: 280px;
  border: 1px solid var(--sicoob-line);
  border-radius: 6px;
  aspect-ratio: 16 / 9;
  background: var(--color-surface-muted);
}

.map-link {
  justify-self: start;
  color: var(--sicoob-action);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.map-placeholder {
  display: grid;
  min-height: 116px;
  align-content: center;
  gap: 4px;
  border-radius: 6px;
  background: var(--color-surface-muted);
  padding: 18px;
}

.trust-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 12px 0 0 18px;
  color: var(--sicoob-muted);
  font-size: 12px;
  font-weight: 500;
}

.proposal-form {
  display: grid;
  gap: 10px;
  padding: 18px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--sicoob-dark);
  font-size: 11px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--color-border-control);
  border-radius: 4px;
  background: var(--sicoob-bg);
  color: var(--sicoob-dark);
  padding: 0.75rem 0.8rem;
}

textarea {
  resize: vertical;
}

.message-field textarea {
  min-height: 96px;
}

.privacy-consent {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  border: 1px solid var(--sicoob-line);
  border-radius: 6px;
  background: var(--sicoob-bg-soft);
  padding: 12px;
  color: var(--sicoob-ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.privacy-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--sicoob-turquoise);
}

.privacy-consent a {
  color: var(--sicoob-action);
  font-weight: 700;
}

.privacy-consent small {
  display: block;
  margin-top: 5px;
  color: var(--sicoob-muted);
  font-size: 11px;
  font-weight: 500;
}

.privacy-note {
  margin: 0;
  color: var(--sicoob-muted);
  font-size: 12px;
  font-weight: 400;
}

.form-required {
  color: var(--sicoob-muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.empty-state {
  display: grid;
  gap: 6px;
  padding: 24px;
}

.empty-state h3 {
  margin: 0;
  color: var(--sicoob-dark);
}

.empty-state p {
  margin: 0;
  color: var(--sicoob-muted);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.section-heading,
.admin-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.panel-form,
.auth-card {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.panel-form.stacked {
  margin-top: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.check-row input {
  width: auto;
}

.auth-section {
  display: grid;
  min-height: 72vh;
  place-items: center;
  padding: 56px 16px;
}

.auth-body {
  min-height: 100vh;
  background: var(--sicoob-bg);
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) minmax(420px, 1fr);
  min-height: 100vh;
}

.auth-brand-panel {
  display: grid;
  align-content: space-between;
  gap: 48px;
  background:
    linear-gradient(135deg, rgba(0, 54, 65, 0.96), rgba(0, 92, 94, 0.94)),
    url("/assets/img/hero-assets.jpg") center / cover;
  color: #fff;
  padding: 54px;
}

.auth-brand-panel img {
  width: 154px;
  height: auto;
}

.auth-brand-panel .eyebrow {
  color: var(--sicoob-turquoise);
}

.auth-brand-panel h1 {
  margin: 0;
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.04;
  text-wrap: balance;
}

.auth-brand-panel p:not(.eyebrow) {
  max-width: 520px;
  margin: 16px 0 0;
  color: #d7efeb;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.auth-workspace {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  min-width: 0;
  padding: 40px 24px;
}

.auth-workspace .auth-section {
  min-height: auto;
  width: 100%;
  padding: 0;
}

.auth-workspace .auth-card {
  box-shadow: 0 10px 24px rgba(0, 54, 65, 0.08);
}

.auth-flash-wrap {
  width: min(440px, 100%);
}

.auth-logout {
  margin: 0;
  width: min(440px, 100%);
  text-align: center;
}

.auth-logout .link-button {
  color: var(--sicoob-action);
}

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

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

.two-factor-qr {
  display: grid;
  justify-items: center;
  border: 1px solid var(--sicoob-line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.two-factor-qr svg {
  width: min(260px, 100%);
  height: auto;
}

.admin-body .auth-section {
  min-height: auto;
  place-items: start center;
  padding: 0;
}

.admin-body .auth-card {
  box-shadow: 0 10px 24px rgba(0, 54, 65, 0.08);
}

.secret-box {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--color-border-control);
  border-radius: 4px;
  background: var(--sicoob-bg-soft);
}

.secret-box span {
  color: var(--sicoob-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.secret-box code {
  overflow-wrap: anywhere;
  color: var(--sicoob-dark);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.marketing-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: grid;
  width: min(420px, calc(100vw - 32px));
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--color-border-control);
  border-radius: 6px;
  background: var(--sicoob-bg);
  box-shadow: var(--shadow);
}

.marketing-consent[hidden] {
  display: none;
}

.marketing-consent p {
  margin: 0;
  color: var(--sicoob-dark);
  font-size: 13px;
  line-height: 1.45;
}

.marketing-consent div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.narrow {
  width: min(780px, calc(100% - 32px));
}

.table-wrap {
  overflow-x: auto;
  box-shadow: var(--shadow);
}

table {
  min-width: 760px;
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

caption {
  padding: 0.85rem;
  color: var(--sicoob-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
}

th,
td {
  border-bottom: 1px solid var(--sicoob-line);
  padding: 0.85rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--sicoob-bg);
  color: var(--sicoob-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.flash-wrap {
  padding-top: 1rem;
}

.flash {
  border-radius: 6px;
  margin: 0;
  padding: 0.9rem 1rem;
  font-weight: 600;
}

.flash-success {
  background: #dff2e7;
  color: var(--success);
}

.flash-error {
  background: #f7dddd;
  color: var(--danger);
}

.form-error-summary {
  display: grid;
  gap: 8px;
  border: 1px solid #efc4c4;
  border-radius: 8px;
  background: #fff1f1;
  padding: 12px;
  color: #7c2525;
  font-size: 14px;
}

.form-error-summary ul {
  margin: 0;
  padding-left: 18px;
}

.field-error {
  display: block;
  margin-top: 6px;
  color: #7c2525;
  font-size: 13px;
  font-weight: 600;
}

[aria-invalid="true"] {
  border-color: #a83a3a !important;
  box-shadow: 0 0 0 3px rgba(168, 58, 58, 0.12);
}

.admin-body {
  background: var(--sicoob-bg);
}

.admin-body .skip-link {
  z-index: 80;
}

.admin-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
  background: var(--sicoob-bg);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
  border-right: 1px solid rgba(0, 174, 157, 0.24);
  background: var(--sicoob-dark);
  color: #f3fbf9;
  padding: 28px 22px;
}

.admin-sidebar-brand {
  display: grid;
  gap: 10px;
  padding: 0 6px 34px;
}

.admin-sidebar-brand img {
  width: 142px;
  height: auto;
}

.admin-sidebar-brand span {
  color: #b7d7d1;
  font-size: 13px;
  font-weight: 600;
}

.admin-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.admin-nav a {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr);
  min-height: 42px;
  align-items: center;
  gap: 12px;
  border-radius: 6px;
  color: #d8efeb;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.admin-nav a span {
  width: 6px;
  height: 24px;
  border-radius: 999px;
  background: transparent;
}

.admin-nav a:hover,
.admin-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-nav a.active {
  background: rgba(0, 174, 157, 0.16);
  color: #fff;
}

.admin-nav a.active span {
  background: var(--sicoob-turquoise);
}

.admin-sidebar-user {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
}

.admin-sidebar-user strong,
.admin-sidebar-user span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-sidebar-user strong {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.admin-sidebar-user span {
  color: #b7d7d1;
  font-size: 11px;
  font-weight: 500;
}

.admin-sidebar-user form {
  grid-column: 1 / -1;
  margin: 0;
}

.admin-sidebar-user .link-button {
  color: #fff;
  font-size: 12px;
  padding: 0;
}

.admin-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: var(--sicoob-turquoise);
  color: var(--sicoob-dark);
  font-weight: 700;
  text-transform: uppercase;
}

.admin-workspace {
  min-width: 0;
}

.admin-topbar {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--sicoob-line);
  background: rgba(255, 255, 255, 0.82);
  padding: 0 32px;
}

.admin-topbar h1 {
  margin: 0;
  color: var(--sicoob-dark);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
}

.admin-topbar .eyebrow {
  margin-bottom: 4px;
}

.admin-topbar-actions,
.admin-actions,
.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-content {
  padding: 32px;
}

.admin-flash-wrap {
  padding: 24px 32px 0;
}

.admin-screen {
  display: grid;
  gap: 26px;
  width: 100%;
  max-width: none;
}

.admin-page-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.admin-page-header h2,
.admin-panel h3,
.admin-empty h3 {
  margin: 0;
  color: var(--sicoob-dark);
  line-height: 1.15;
}

.admin-page-header h2 {
  font-size: 32px;
  font-weight: 800;
}

.admin-page-header p,
.admin-panel-header p,
.admin-empty p,
.admin-note {
  margin: 0;
  color: var(--sicoob-muted);
  font-weight: 500;
}

.admin-page-header p {
  margin-top: 8px;
  font-size: 15px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.admin-metric-card,
.admin-panel {
  border: 1px solid var(--sicoob-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 54, 65, 0.08);
}

.admin-metric-card {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 18px;
}

.admin-metric-card span {
  color: var(--sicoob-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-metric-card strong {
  color: var(--sicoob-dark);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.admin-metric-card p {
  margin: 0;
  color: var(--sicoob-muted);
  font-size: 13px;
  font-weight: 500;
}

.admin-panel {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.admin-panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.admin-panel h3 {
  font-size: 18px;
  font-weight: 800;
}

.admin-panel-header p {
  margin-top: 4px;
  font-size: 13px;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--sicoob-line);
  border-radius: 8px;
}

.admin-table-wrap:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.admin-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  background: #fff;
}

.admin-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--sicoob-line);
  padding: 13px 14px;
  color: var(--sicoob-dark);
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  background: #f2f6f2;
  color: var(--sicoob-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-table td strong,
.admin-table td span {
  overflow-wrap: break-word;
}

.admin-table td strong {
  display: block;
  color: var(--sicoob-dark);
  font-size: 13px;
  font-weight: 700;
}

.admin-table td span {
  display: block;
  margin-top: 3px;
  color: var(--sicoob-muted);
  font-size: 12px;
  font-weight: 500;
}

.admin-table code {
  color: var(--sicoob-dark);
  font-family: "Sicoob Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.admin-table td[data-label="Código"],
.admin-table td[data-label="Status"],
.admin-table td[data-label="Mapa"],
.admin-table td[data-label="WhatsApp"],
.admin-table td[data-label="Valor"],
.admin-table td[data-label="Publicado"],
.admin-table td[data-label="Ação"] {
  white-space: nowrap;
}

.admin-table td[data-label="Visitas"] {
  min-width: 86px;
}

.admin-table td[data-label="Ação"] {
  min-width: 92px;
}

.admin-table td[data-label="Ação"] a {
  overflow-wrap: normal;
  word-break: normal;
}

.admin-row-actions {
  display: grid;
  gap: 7px;
  justify-items: start;
}

.admin-badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 11px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.admin-table .admin-badge {
  margin-top: 0;
}

.status-available,
.status-ok {
  background: #e7f4d3;
  color: #285500 !important;
}

.status-reserved,
.status-warn {
  background: #fff4cf;
  color: #775500 !important;
}

.status-sold {
  background: #eef0f0;
  color: var(--sicoob-muted) !important;
}

.status-inquiry-new {
  background: #e7f7f4;
  color: var(--sicoob-dark) !important;
}

.status-inquiry-contacted {
  background: #fff4cf;
  color: #775500 !important;
}

.status-inquiry-closed {
  background: #eef0f0;
  color: var(--sicoob-muted) !important;
}

.admin-row-action {
  color: var(--sicoob-action);
  font-weight: 700;
  text-decoration: none;
}

.admin-row-action:hover,
.admin-row-action:focus-visible {
  text-decoration: underline;
}

.admin-empty {
  display: grid;
  justify-items: start;
  gap: 8px;
  border: 1px dashed var(--sicoob-line);
  border-radius: 8px;
  background: var(--sicoob-bg);
  padding: 22px;
}

.admin-form-layout,
.admin-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 332px;
  gap: 28px;
  align-items: start;
}

.admin-form-main,
.admin-form-side,
.admin-settings-form {
  display: grid;
  gap: 18px;
}

.admin-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.admin-category-manager {
  display: grid;
  gap: 10px;
  border: 1px solid var(--sicoob-line);
  border-radius: 8px;
  background: var(--sicoob-bg);
  padding: 12px;
}

.admin-inline-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.button-icon-text {
  min-height: 44px;
  white-space: nowrap;
}

.admin-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-category-list span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--sicoob-line);
  border-radius: 999px;
  background: #fff;
  padding: 6px 8px 6px 12px;
  color: var(--sicoob-dark);
  font-size: 12px;
  font-weight: 600;
}

.admin-category-list span.is-muted {
  opacity: 0.58;
}

.admin-category-list button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #e8eeee;
  color: var(--sicoob-dark);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.admin-category-list button:hover,
.admin-category-list button:focus-visible {
  background: #f5d7d7;
  color: var(--danger);
}

.admin-panel label {
  align-content: start;
  color: var(--sicoob-dark);
  font-size: 12px;
  font-weight: 600;
}

.admin-panel input,
.admin-panel select,
.admin-panel textarea {
  border-color: #9cafaa;
  background: #fbfcf8;
  font-size: 14px;
  font-weight: 500;
}

.admin-panel textarea {
  min-height: 128px;
}

.admin-check-row {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.admin-check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--sicoob-turquoise);
}

.admin-side-summary {
  display: grid;
  gap: 4px;
  border-left: 4px solid var(--sicoob-turquoise);
  background: var(--sicoob-bg);
  padding: 12px;
}

.admin-side-summary span {
  color: var(--sicoob-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-side-summary strong {
  color: var(--sicoob-dark);
  font-size: 18px;
  font-weight: 700;
}

.admin-image-preview {
  overflow: hidden;
  border-radius: 8px;
  background: #082c32;
  aspect-ratio: 16 / 10;
}

.admin-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-gallery-existing,
.admin-upload-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-image-option,
.admin-upload-option {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--sicoob-line);
  border-radius: 8px;
  background: var(--sicoob-bg);
  padding: 10px;
}

.admin-image-option-cover {
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
}

.admin-image-option input,
.admin-upload-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--sicoob-turquoise);
}

.admin-image-option-media,
.admin-upload-option img {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #082c32;
  aspect-ratio: 4 / 3;
}

.admin-image-option-media img,
.admin-upload-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-image-option-cover .admin-image-option-media {
  aspect-ratio: 1 / 1;
}

.admin-image-option strong,
.admin-upload-preview > strong {
  color: var(--sicoob-dark);
  font-size: 13px;
  font-weight: 700;
}

.admin-image-option small,
.admin-upload-option small {
  overflow: hidden;
  color: var(--sicoob-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-image-keep,
.admin-image-radio,
.admin-upload-option span {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: var(--sicoob-dark);
  font-size: 12px;
  font-weight: 600;
}

.admin-upload-preview {
  display: grid;
  gap: 10px;
}

.admin-advanced-gallery {
  border-top: 1px solid var(--sicoob-line);
  padding-top: 12px;
}

.admin-advanced-gallery summary {
  color: var(--sicoob-action);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.admin-empty-compact {
  padding: 14px;
}

.admin-empty-compact h3 {
  font-size: 14px;
}

.admin-note {
  font-size: 12px;
  line-height: 1.45;
}

.admin-form-actions {
  justify-content: flex-end;
}

.admin-form-actions .button {
  min-width: 128px;
}

.admin-check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--sicoob-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.admin-settings-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.admin-settings-list div {
  display: grid;
  gap: 4px;
  border-left: 3px solid var(--sicoob-turquoise);
  padding-left: 10px;
}

.admin-settings-list dt {
  color: var(--sicoob-dark);
  font-size: 12px;
  font-weight: 700;
}

.admin-settings-list dd {
  margin: 0;
  color: var(--sicoob-muted);
  font-size: 13px;
  font-weight: 500;
}

.admin-settings-list a {
  color: var(--sicoob-action);
  font-weight: 700;
  text-decoration: none;
}

.admin-table-inquiries {
  min-width: 1080px;
}

.admin-table-inquiries td:nth-child(6) {
  max-width: 360px;
}

.admin-row-actions,
.admin-row-actions form {
  display: grid;
  gap: 8px;
}

.admin-row-actions select {
  min-width: 140px;
}

.admin-row-actions .button-small {
  width: 100%;
  min-height: 36px;
}

.site-footer {
  background: var(--sicoob-dark);
  color: #f1fbf9;
  padding: 64px 0 78px;
  border-top: 1px solid rgba(0, 174, 157, 0.35);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr 1.65fr 1.95fr;
  gap: 38px;
  align-items: start;
}

.footer-column,
.footer-column nav {
  display: grid;
  gap: 20px;
}

.footer-column h2 {
  margin: 0;
  color: var(--sicoob-turquoise);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-column a,
.footer-service p,
.footer-service span,
.footer-service em {
  margin: 0;
  color: #f1fbf9;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: break-word;
  text-decoration: none;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--sicoob-turquoise);
}

.footer-service {
  gap: 16px;
}

.footer-service p {
  display: grid;
  gap: 2px;
}

.footer-service strong {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.footer-service em {
  display: block;
  margin-top: 8px;
  font-style: italic;
  font-weight: 700;
}

.footer-social {
  display: grid;
  gap: 18px;
  margin-top: 128px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-links a {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.social-links a:nth-child(2) {
  font-size: 21px;
}

.social-links a:nth-child(3) {
  font-size: 14px;
}

.social-links a:nth-child(4) {
  font-size: 17px;
}

@media (pointer: coarse) {
  .nav-links a,
  .filter-option,
  .listing-chips a,
  .map-link,
  .featured-header a,
  .link-button {
    min-height: 44px;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .asset-card-media img {
    transition: none;
  }

  .asset-card:hover .asset-card-media img {
    transform: none;
  }
}

@media (max-width: 1120px) {
  .container {
    width: min(100% - 40px, 1280px);
  }

  .mainnav .header-row {
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 16px 0;
  }

  .brand {
    width: 132px;
  }

  .site-location {
    font-size: 16px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    gap: 22px;
    margin-left: 0;
  }

  .home-hero-grid,
  .detail-hero-grid,
  .listing-grid,
  .detail-content-grid,
  .process-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .listing-cards,
  .featured-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
  }

  .filter-group {
    align-content: start;
  }

  .filter-header {
    grid-column: 1 / -1;
  }

  .filter-option {
    min-height: 38px;
  }

  .detail-gallery {
    grid-template-columns: 1fr 160px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
  }

  .footer-column a,
  .footer-service p,
  .footer-service span,
  .footer-service em,
  .footer-service strong {
    font-size: 16px;
  }

  .footer-social {
    margin-top: 48px;
  }

  .admin-shell {
    grid-template-columns: 224px minmax(0, 1fr);
  }

  .admin-sidebar {
    padding: 24px 16px;
  }

  .admin-content {
    padding: 24px;
  }

  .admin-screen {
    max-width: none;
  }

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

  .admin-form-layout,
  .admin-two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-brand-panel {
    min-height: 300px;
    gap: 32px;
    padding: 34px 24px;
  }

  .auth-brand-panel h1 {
    font-size: 36px;
  }

  .auth-workspace {
    padding: 32px 18px;
  }

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

  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    padding: 20px 24px;
  }

  .admin-sidebar-brand {
    padding-bottom: 16px;
  }

  .admin-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .admin-nav a {
    min-height: 40px;
  }

  .admin-sidebar-user {
    margin-top: 16px;
  }

  .admin-topbar {
    padding: 20px 24px;
  }

  .admin-content {
    padding: 24px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1280px);
  }

  .mainnav .header-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 10px;
    min-height: auto;
    padding: 10px 0 8px;
  }

  .brand {
    width: 112px;
  }

  .brand img {
    max-width: 112px;
    max-height: 31px;
  }

  .account-actions {
    grid-column: 3;
    grid-row: 1;
    justify-content: end;
    gap: 8px;
  }

  .account-actions .button {
    min-height: 34px;
    border-radius: 7px;
    padding: 0 9px;
    font-size: 11px;
  }

  .site-header .link-button {
    min-height: 34px;
    padding: 0;
    font-size: 11px;
  }

  .nav-links {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: nowrap;
    width: 100%;
    gap: 18px;
    margin-left: 0;
    overflow-x: auto;
    padding: 4px 0 2px;
    font-size: 13px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 28px;
    white-space: nowrap;
  }

  .site-location {
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    gap: 7px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 13px;
  }

  .site-location > span:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .location-prefix {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .pin-icon {
    width: 15px;
    height: 15px;
  }

  .pin-icon::after {
    width: 5px;
    height: 5px;
    transform: translate(3px, 3px);
  }

  .chevron-icon {
    width: 11px;
    height: 11px;
  }

  .header-search {
    width: 24px;
    justify-content: center;
  }

  .header-search .search-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
    padding: 28px 0 32px;
  }

  .hero-copy h1 {
    font-size: 28px;
    line-height: 32px;
  }

  .hero-copy p {
    font-size: 14px;
    line-height: 19px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(100%, 320px);
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-feature {
    min-height: 240px;
  }

  .stats-grid,
  .listing-cards,
  .featured-cards,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    grid-template-columns: 1fr;
    max-height: none;
    overflow: auto;
  }

  .site-footer {
    padding: 42px 0 54px;
  }

  .footer-grid {
    gap: 34px;
  }

  .footer-column,
  .footer-column nav {
    gap: 16px;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-brand-panel {
    min-height: 280px;
    padding: 28px 20px;
  }

  .auth-brand-panel h1 {
    font-size: 32px;
  }

  .auth-brand-panel p:not(.eyebrow) {
    font-size: 15px;
  }

  .auth-workspace {
    padding: 28px 14px;
  }

  .footer-social {
    margin-top: 18px;
  }

  .stats-grid {
    gap: 0;
    padding: 8px 0;
  }

  .asset-card-horizontal {
    display: grid;
  }

  .asset-card-horizontal .asset-card-media {
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .listing-search,
  .results-header,
  .featured-header {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .listing-search {
    display: grid;
    grid-template-columns: auto 1fr;
    padding: 12px;
  }

  .listing-search .button {
    grid-column: 1 / -1;
  }

  .sort-chip {
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .section-heading,
  .admin-heading,
  .admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .process-grid h2,
  .faq-grid h2,
  .section h1,
  .section h2,
  .auth-card h1 {
    font-size: 2rem;
  }

  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    padding: 18px 16px;
  }

  .admin-sidebar-brand {
    padding-bottom: 16px;
  }

  .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .admin-nav a {
    min-height: 40px;
    font-size: 13px;
  }

  .admin-sidebar-user {
    margin-top: 16px;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 18px 16px;
  }

  .admin-topbar h1 {
    font-size: 24px;
  }

  .admin-topbar-actions,
  .admin-actions,
  .admin-form-actions,
  .admin-page-header,
  .admin-panel-header {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-topbar-actions .button,
  .admin-actions .button,
  .admin-form-actions .button {
    width: 100%;
  }

  .admin-content {
    padding: 18px 14px 28px;
  }

  .admin-gallery-existing,
  .admin-upload-preview-grid,
  .admin-image-option-cover,
  .admin-inline-action {
    grid-template-columns: 1fr;
  }

  .admin-flash-wrap {
    padding: 16px 14px 0;
  }

  .admin-screen {
    gap: 18px;
  }

  .admin-page-header {
    gap: 14px;
  }

  .admin-page-header h2 {
    font-size: 28px;
  }

  .admin-metrics,
  .admin-field-grid {
    grid-template-columns: 1fr;
  }

  .admin-table {
    min-width: 0;
  }

  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tr {
    border-bottom: 1px solid var(--sicoob-line);
    padding: 10px 0;
  }

  .admin-table td {
    display: grid;
    grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
    gap: 10px;
    border-bottom: 0;
    padding: 10px 12px;
  }

  .admin-table td::before {
    color: var(--sicoob-muted);
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .detail-actions .button,
  .proposal-form .button {
    width: 100%;
  }

  .status-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-gallery {
    height: auto;
    grid-template-columns: 1fr;
  }

  .detail-main-photo {
    aspect-ratio: 4 / 3;
  }

  .detail-thumbs {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    grid-template-rows: none;
    padding-right: 0;
    padding-bottom: 4px;
  }

  .detail-thumbs.thumb-count-2,
  .detail-thumbs.thumb-count-3,
  .detail-thumbs.thumb-count-4,
  .detail-thumbs.thumb-count-5,
  .detail-thumbs.thumb-count-6 {
    grid-template-rows: none;
  }

  .detail-thumb {
    flex: 0 0 92px;
    aspect-ratio: 1 / 1;
  }

  .faq-grid .button {
    justify-self: start;
  }

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

  .map-frame {
    min-height: 240px;
  }
}

@media (max-width: 430px) {
  .mainnav .header-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-location {
    display: none;
  }

  .account-actions {
    grid-column: 2;
  }

  .nav-links {
    grid-row: 2;
  }
}
