@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap");

:root {
  --green: #174f2f;
  --green-2: #246b43;
  --gold: #bf974f;
  --ink: #172018;
  --muted: #66736a;
  --paper: #fffaf1;
  --line: #e5ddce;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(20, 38, 25, .16);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 250, 241, .96), rgba(246, 240, 226, .96)),
    radial-gradient(circle at 12% 8%, rgba(191, 151, 79, .18), transparent 28%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 241, .94);
  border-bottom: 1px solid rgba(23, 79, 47, .08);
  backdrop-filter: blur(18px);
  transition: padding .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  padding-block: 10px;
  box-shadow: 0 12px 30px rgba(20, 38, 25, .08);
}
.brand img { width: 178px; }
.site-nav {
  justify-self: center;
  display: flex;
  gap: 6px;
  color: #314338;
  font-weight: 700;
  font-size: 14px;
}
.admin-nav {
  display: none;
}
.site-nav a {
  position: relative;
  padding: 10px 11px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--green);
  background: rgba(23, 79, 47, .08);
}
.header-cta {
  padding: 12px 18px;
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(23, 79, 47, .18);
}
.admin-access {
  padding: 11px 16px;
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(20, 38, 25, .06);
}
.admin-access:hover {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--green);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  padding: 150px clamp(18px, 5vw, 72px) 64px;
  overflow: hidden;
  color: var(--white);
}
.real-estate-hero {
  min-height: 790px;
}
.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-media {
  transform: scale(1.02);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background: var(--image) center / cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 6s ease;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(13, 36, 23, .16), rgba(13, 36, 23, .72)),
    linear-gradient(90deg, rgba(13, 36, 23, .94), rgba(13, 36, 23, .58) 48%, rgba(13, 36, 23, .18));
}
.hero-content {
  position: relative;
  width: min(850px, 100%);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}
.hero h1 {
  max-width: 840px;
  font-size: clamp(42px, 7vw, 76px);
}
.hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 20px;
  line-height: 1.55;
}
.hero-actions,
.property-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.hero-actions { margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(20, 38, 25, .16);
}
.button.primary { color: var(--white); background: linear-gradient(135deg, var(--green), #0f3d24); }
.button.secondary { color: var(--white); background: linear-gradient(135deg, var(--gold), #9e7837); }
.button.ghost { color: var(--white); border: 1px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .08); }
.button.ghost-dark { color: var(--green); border: 1px solid var(--line); background: var(--white); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin: 48px 0 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, .24);
}
.hero-stats div {
  padding: 20px;
  background: rgba(255, 255, 255, .11);
  backdrop-filter: blur(12px);
}
.hero-stats dt {
  font-size: 28px;
  font-weight: 950;
}
.hero-stats dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .78);
}
.hero-feature-card {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 94px;
  width: min(340px, calc(100% - 36px));
  padding: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  backdrop-filter: blur(18px);
}
.hero-feature-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-feature-card strong {
  display: block;
  margin-top: 10px;
  font-size: 24px;
}
.feature-price {
  margin: 16px 0;
  color: var(--white);
  font-size: 28px;
  font-weight: 950;
}
.hero-feature-card p {
  margin: 10px 0 18px;
  color: rgba(255, 255, 255, .78);
}
.hero-feature-card a {
  color: var(--white);
  font-weight: 950;
  border-bottom: 2px solid var(--gold);
}
.hero-dots {
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  bottom: 28px;
  display: flex;
  gap: 10px;
}
.hero-dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  cursor: pointer;
}
.hero-dots button.is-active {
  background: var(--gold);
}

.quick-search {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 36px));
  margin: -36px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr auto;
  align-items: end;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.property-search {
  grid-template-columns: 1fr 1fr 1.2fr auto;
  padding-top: 70px;
}
.search-tabs {
  position: absolute;
  left: 18px;
  top: 16px;
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  background: #edf4ee;
  border-radius: 999px;
}
.search-tabs a,
.property-filters a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
}
.search-tabs a.is-active,
.search-tabs a:hover,
.property-filters a.is-active,
.property-filters a:hover {
  color: var(--white);
  background: var(--green);
}
.trust-strip {
  width: min(1120px, calc(100% - 36px));
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}
.trust-strip div {
  padding: 18px;
  background: rgba(255, 255, 255, .74);
}
.trust-strip strong {
  display: block;
  color: var(--green);
  font-size: 20px;
}
.trust-strip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.market-panel {
  width: min(1180px, calc(100% - 36px));
  margin: 76px auto 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.market-copy {
  padding: clamp(30px, 5vw, 52px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 79, 47, .96), rgba(36, 107, 67, .9)),
    url("https://ecoagrado.cl/wp-content/uploads/2024/06/Parcelas-en-Chile-Camino-a-El-Huape-768x432.webp") center / cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.market-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
}
.market-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, .8);
}
.market-metrics {
  display: grid;
  gap: 14px;
}
.market-metrics article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(20, 38, 25, .06);
}
.market-metrics span,
.service-suite span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.market-metrics strong {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 24px;
}
.market-metrics p {
  margin: 8px 0 0;
}
.section.credit-simulator {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 250, 241, .92)),
    radial-gradient(circle at 100% 0, rgba(237, 28, 50, .14), transparent 34%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.credit-copy {
  display: grid;
  align-content: center;
}
.coopeuch-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-bottom: 22px;
  padding: 10px 14px;
  color: #f21f3a;
  background: #fff;
  border: 1px solid rgba(242, 31, 58, .18);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(242, 31, 58, .08);
}
.coopeuch-mark {
  position: relative;
  width: 42px;
  height: 42px;
  background: #f21f3a;
  border-radius: 14px 14px 12px 12px;
}
.coopeuch-mark::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  width: 32px;
  height: 24px;
  border: 8px solid #fff;
  border-right: 0;
  border-bottom: 0;
  border-radius: 24px 0 0 0;
  transform: rotate(-18deg);
}
.coopeuch-word {
  color: #f21f3a;
  font-size: 26px;
  font-weight: 950;
  letter-spacing: .02em;
}
.credit-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
}
.credit-copy p {
  color: #405446;
}
.credit-points {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.credit-points li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-weight: 800;
}
.credit-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  background: #f21f3a;
  border-radius: 999px;
}
.credit-form {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.credit-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.credit-results div {
  padding: 16px;
  background: #f7f3eb;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.credit-results span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.credit-results strong {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 22px;
  line-height: 1;
}
label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
select,
input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-heading.split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.section h2,
.contact h2 {
  font-size: clamp(32px, 4vw, 52px);
}
.intro-grid,
.property-grid,
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.intro-grid article,
.timeline article {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(20, 38, 25, .05);
}
.intro-grid span,
.timeline span {
  color: var(--gold);
  font-weight: 950;
}
h3 {
  margin: 12px 0 10px;
  font-size: 22px;
}
p {
  color: var(--muted);
  line-height: 1.65;
}

.text-link {
  color: var(--green);
  font-weight: 950;
  border-bottom: 2px solid var(--gold);
}
.property-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(20, 38, 25, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.property-card {
  position: relative;
}
.property-card::before {
  content: "Ecoagrado";
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(14, 42, 26, .82);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(20, 38, 25, .16);
}
.property-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.property-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #edf4ee;
  font-weight: 950;
}
.detail-placeholder {
  min-height: 360px;
  aspect-ratio: auto;
  border-radius: 8px;
}
.property-body { padding: 22px; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf4ee;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}
.property-footer {
  justify-content: space-between;
  margin-top: 20px;
}
.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}
.property-meta li {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--green);
  background: #f4f7f1;
  border: 1px solid rgba(23, 79, 47, .11);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.property-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 24px;
}
.property-filters a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .74);
}
.property-footer strong {
  color: var(--green);
  font-size: 20px;
}
.property-footer a {
  color: var(--gold);
  font-weight: 900;
}
.carousel-shell {
  position: relative;
}
.carousel-window {
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 18px;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.carousel-track .property-card {
  flex: 0 0 calc((100% - 36px) / 3);
}
.carousel-btn,
.story-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(20, 38, 25, .1);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.carousel-btn {
  position: absolute;
  z-index: 2;
  top: 42%;
  transform: translateY(-50%);
}
.carousel-btn.prev { left: -22px; }
.carousel-btn.next { right: -22px; }
.carousel-btn:hover,
.story-controls button:hover {
  color: var(--white);
  background: var(--green);
}
.carousel-status {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}
.carousel-shell.is-empty .carousel-btn,
.carousel-shell.is-empty .carousel-status {
  display: none;
}

.services {
  display: grid;
  grid-template-columns: .9fr 1fr;
  align-items: center;
  gap: 52px;
}
.service-suite {
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.agent-panel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: stretch;
  padding: 38px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(14, 42, 26, .96), rgba(23, 79, 47, .92)),
    url("https://ecoagrado.cl/wp-content/uploads/2024/11/Corredora-de-propiedades-en-Chillan-Nuble-Chile-1.jpg") center / cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.agent-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}
.agent-panel p {
  color: rgba(255, 255, 255, .78);
}
.agent-panel aside {
  display: grid;
  align-content: center;
  padding: 26px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  backdrop-filter: blur(16px);
}
.agent-panel aside span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.agent-panel aside strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 42px);
}
.service-suite article {
  padding: 24px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 38, 25, .07);
}
.service-suite h3 {
  color: var(--green);
}
.service-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: #35483c;
  line-height: 1.5;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.category-grid a {
  position: relative;
  min-height: 220px;
  display: grid;
  align-content: end;
  gap: 4px;
  padding: 18px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(rgba(17, 40, 24, .08), rgba(17, 40, 24, .84)), var(--bg) center / cover;
  transition: transform .25s ease, filter .25s ease;
}
.category-grid a:hover {
  transform: translateY(-5px);
  filter: saturate(1.08);
}
.category-grid span {
  position: relative;
  color: var(--white);
  font-size: 22px;
  font-weight: 950;
}
.category-grid small,
.category-grid em {
  position: relative;
  color: rgba(255, 255, 255, .78);
  font-style: normal;
}
.category-grid small {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.category-grid em {
  font-size: 14px;
  font-weight: 800;
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stories {
  padding-top: 24px;
}
.story-controls {
  display: flex;
  gap: 10px;
}
.story-stage {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 79, 47, .95), rgba(36, 107, 67, .88)),
    url("https://ecoagrado.cl/wp-content/uploads/2024/06/bright-villa-with-wood-ceiling-768x512.jpg") center / cover;
  box-shadow: var(--shadow);
}
.story {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: clamp(26px, 5vw, 58px);
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .35s ease, transform .35s ease;
}
.story.is-active {
  opacity: 1;
  transform: translateX(0);
}
.story p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.25;
}
.story strong {
  margin-top: 22px;
  color: var(--gold);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.advisory-band {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(14, 42, 26, .95), rgba(23, 79, 47, .92)),
    url("https://ecoagrado.cl/wp-content/uploads/2024/06/Propiedad-Comercial-en-Chillan-768x432.webp") center / cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.advisory-band h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
}
.advisory-band p {
  color: rgba(255, 255, 255, .78);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr .75fr;
  gap: 28px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 92px;
  padding: 42px;
  background: var(--green);
  border-radius: 8px;
  color: var(--white);
}
.advisory-band + .contact {
  margin-top: 34px;
}
.contact p { color: rgba(255, 255, 255, .78); }
.contact-form {
  display: grid;
  gap: 14px;
}
.contact-form label { color: rgba(255, 255, 255, .8); }
.contact-card {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, .1);
  border-radius: 8px;
}
.contact-card strong { font-size: 24px; }
.contact-card a {
  color: var(--white);
  font-weight: 800;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 42px 18px;
  text-align: center;
  background: #0e2a1a;
}
.site-footer img { width: 220px; }
.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
}
.site-footer a {
  color: var(--white);
  font-weight: 900;
  border-bottom: 2px solid var(--gold);
}
.floating-whatsapp {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  color: var(--white);
  background: #174f2f;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(20, 38, 25, .28);
  font-weight: 950;
}

.category-hero {
  min-height: 560px;
  display: grid;
  align-items: end;
  padding: 150px clamp(18px, 5vw, 72px) 70px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 36, 23, .92), rgba(13, 36, 23, .55), rgba(13, 36, 23, .18)),
    var(--hero) center / cover;
}
.category-hero > div {
  width: min(850px, 100%);
}
.category-hero h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
}
.category-hero p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, .82);
  font-size: 19px;
}
.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 10px 14px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  font-weight: 900;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
}
.listing-tools {
  width: min(1120px, calc(100% - 36px));
  margin: -28px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.listing-tools button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}
.listing-tools button.is-active,
.listing-tools button:hover {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}
.category-intel {
  width: min(1120px, calc(100% - 36px));
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(20, 38, 25, .08);
}
.category-intel span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.category-intel strong {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
}
.category-intel p {
  margin: 0;
  font-size: 17px;
}
.category-listing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.featured-listing {
  grid-column: span 2;
}
.featured-listing img {
  aspect-ratio: 16 / 7;
}
.mini-contact {
  align-items: center;
  grid-template-columns: 1fr auto .75fr;
}
.mini-contact .button {
  white-space: nowrap;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 38, 25, .07);
}
.empty-state strong {
  display: block;
  color: var(--green);
  font-size: 24px;
}
.property-image-link {
  position: relative;
  display: block;
}
.property-image-link .property-card-operation {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  margin: 0;
  padding: 7px 10px;
  border-radius: 6px;
  color: #fff;
  background: rgba(8, 48, 34, .9);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  line-height: 1;
  text-transform: uppercase;
}
.property-body h3 a { color: inherit; text-decoration: none; }
.property-footer > div { display: grid; gap: 4px; }
.property-footer > div > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.property-detail-hero {
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: 150px clamp(18px, 5vw, 72px) 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 36, 23, .94), rgba(13, 36, 23, .56), rgba(13, 36, 23, .18)),
    var(--hero) center / cover;
}
.property-detail-hero.no-image {
  background: linear-gradient(135deg, rgba(13, 36, 23, .96), rgba(23, 79, 47, .88));
}
.property-detail-hero > div {
  width: min(900px, 100%);
}
.property-detail-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
}
.property-detail-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, .84);
  font-size: 19px;
}
.property-detail-hero strong {
  display: inline-flex;
  margin-top: 18px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  font-size: 28px;
}
.property-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}
.detail-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}
.detail-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}
.detail-gallery img:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}
.detail-copy,
.detail-sidebar,
.admin-shell {
  margin-top: 22px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 38, 25, .07);
}
.detail-copy h2,
.admin-shell h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}
.detail-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
}
.detail-price {
  color: var(--green);
  font-size: 30px;
  font-weight: 950;
}
.detail-sidebar dl {
  display: grid;
  gap: 1px;
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}
.detail-sidebar dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px;
  background: #fff;
}
.detail-sidebar dt {
  color: var(--muted);
  font-weight: 800;
}
.detail-sidebar dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}
.detail-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.detail-features li {
  padding: 8px 10px;
  color: var(--green);
  background: #edf4ee;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
.admin-page {
  padding-top: 110px;
}
.admin-shell {
  width: min(1280px, calc(100% - 36px));
  padding: 30px;
  margin-bottom: 92px;
}
.admin-shell .section-heading {
  max-width: 840px;
  margin-bottom: 22px;
}
.admin-shell h1 {
  font-size: clamp(30px, 4vw, 44px);
}
.admin-login-card {
  width: min(560px, 100%);
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 38, 25, .06);
}
.admin-panel {
  display: grid;
  gap: 22px;
}
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  background: #edf4ee;
  border: 1px solid rgba(23, 79, 47, .14);
  border-radius: 8px;
}
.admin-toolbar strong,
.admin-list-heading h2 {
  display: block;
  margin: 0;
  color: var(--green);
}
.admin-list-heading h2 {
  font-size: 28px;
  line-height: 1;
}
.admin-toolbar span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.admin-list-panel {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 14px;
}
.admin-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.admin-list-heading button,
.admin-item-actions button,
.admin-item-actions a {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: var(--white);
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}
.admin-property-list {
  display: grid;
  gap: 10px;
}
.admin-property-item {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(20, 38, 25, .05);
}
.admin-property-item strong {
  color: var(--ink);
}
.admin-property-item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-form {
  display: grid;
  gap: 16px;
}
.admin-editor {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 38, 25, .06);
}
.admin-editor-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.admin-editor-heading span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.admin-editor-heading h2 {
  margin: 4px 0 0;
  color: var(--green);
  font-size: 28px;
  line-height: 1.1;
}
.compact-form {
  max-width: 520px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.form-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.form-checks label {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  color: var(--ink);
}
.form-checks input {
  width: auto;
  min-height: auto;
}
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.admin-status {
  min-height: 28px;
  font-weight: 900;
}
.admin-status[data-tone="error"] {
  color: #a33a2c;
}
.admin-status[data-tone="success"] {
  color: var(--green);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .menu-toggle { display: block; }
  .site-nav,
  .admin-access,
  .header-cta {
    display: none;
  }
  .site-nav.is-open {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open a {
    padding: 14px;
  }
  .quick-search,
  .trust-strip,
  .market-panel,
  .credit-simulator,
  .services,
  .agent-panel,
  .admin-grid,
  .contact,
  .mini-contact,
  .category-intel,
  .category-listing,
  .property-detail-grid,
  .advisory-band {
    grid-template-columns: 1fr;
  }
  .detail-sidebar {
    position: static;
  }
  .admin-list-panel {
    position: static;
  }
  .featured-listing {
    grid-column: auto;
  }
  .featured-listing img {
    aspect-ratio: 16 / 10;
  }
  .intro-grid,
  .property-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-suite {
    grid-template-columns: 1fr 1fr;
  }
  .hero-feature-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 26px 18px 58px;
    align-self: end;
  }
  .carousel-track .property-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 640px) {
  .brand img { width: 148px; }
  .hero {
    min-height: 680px;
    padding-top: 120px;
  }
  .hero-stats,
  .intro-grid,
  .property-grid,
  .timeline,
  .category-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 68px 0;
  }
  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }
  .contact {
    padding: 26px;
  }
  .service-suite,
  .credit-results,
  .market-panel {
    grid-template-columns: 1fr;
  }
  .advisory-band {
    padding: 26px;
  }
  .category-hero {
    min-height: 500px;
    padding-top: 120px;
  }
  .listing-tools {
    margin-top: -18px;
  }
  .detail-gallery,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .detail-gallery img:first-child {
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }
  .hero-feature-card {
    display: none;
  }
  .carousel-track .property-card {
    flex-basis: 100%;
  }
  .carousel-btn.prev { left: 6px; }
  .carousel-btn.next { right: 6px; }
}

/* Simulador hipotecario comparativo */
.credit-form-heading,
.comparison-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.credit-form-heading > div,
.comparison-heading > div { display: grid; gap: 3px; }
.credit-form-heading span,
.comparison-heading span {
  color: var(--clay);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.credit-form-heading strong,
.comparison-heading strong { color: var(--ink); font-size: 20px; }
.credit-form-heading .credit-updated,
.comparison-heading small { color: var(--muted); font-size: 11px; letter-spacing: 0; text-transform: none; }
.credit-controls { align-items: end; }
.credit-field-wide { grid-column: 1 / -1; }
.credit-controls label small { color: var(--muted); font-weight: 700; }
.money-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
}
.money-field > span { padding-left: 14px; color: var(--green); font-size: 19px; font-weight: 950; }
.money-field input { border: 0; border-radius: 0; font-size: 18px; font-weight: 900; }
.money-field:focus-within { border-color: var(--green); outline: 2px solid rgba(18, 63, 40, .1); }
.credit-slider-block {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #faf7f1;
}
.credit-slider-block > div:first-child,
.range-scale { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.credit-slider-block label { color: var(--ink); }
.credit-slider-block output { color: var(--clay); font-size: 22px; font-weight: 950; }
.credit-slider-block input[type="range"] {
  width: 100%;
  min-height: auto;
  margin: 12px 0 8px;
  padding: 0;
  border: 0;
  accent-color: var(--clay);
}
.range-scale { color: var(--muted); font-size: 11px; }
.range-scale strong { color: var(--green); font-size: 14px; }
.credit-term { margin: 0; padding: 0; border: 0; }
.credit-term legend { margin-bottom: 9px; color: var(--muted); font-size: 13px; font-weight: 800; }
.term-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.term-options label { display: block; }
.term-options input { position: absolute; width: 1px; min-height: 1px; opacity: 0; }
.term-options span {
  display: grid;
  min-height: 46px;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.term-options input:checked + span { color: #fff; border-color: var(--green); background: var(--green); }
.term-options input:focus-visible + span { outline: 3px solid rgba(18, 63, 40, .22); }
.selected-rate {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 18px;
  align-items: center;
  padding: 15px 18px;
  color: #fff;
  background: var(--forest-deep);
}
.selected-rate > div { display: grid; gap: 4px; }
.selected-rate span { color: rgba(255,255,255,.65); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.selected-rate strong { color: #fff; font-size: 26px; }
.selected-rate p { margin: 0; color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.45; }
.credit-results small { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; font-weight: 700; }
.credit-results .is-featured { border-color: rgba(219, 102, 61, .35); background: #fff3e9; }
.credit-results .is-featured strong { color: var(--clay); }
.bank-comparison-wrap { display: grid; gap: 12px; padding-top: 3px; }
.bank-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.bank-option { overflow: hidden; border: 1px solid var(--line); background: #fff; }
.bank-option.is-selected { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.bank-option button {
  display: grid;
  width: 100%;
  gap: 5px;
  padding: 14px;
  color: var(--ink);
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.bank-option button > strong { font-size: 17px; }
.bank-rank { color: var(--clay); font-size: 9px; font-weight: 950; letter-spacing: .07em; text-transform: uppercase; }
.bank-rate { color: var(--green); font-size: 20px; font-weight: 950; }
.bank-rate small,
.bank-payment small { font-size: 10px; font-weight: 800; }
.bank-payment { font-size: 14px; font-weight: 900; }
.bank-status { margin-top: 3px; color: var(--green); font-size: 10px; font-weight: 900; }
.bank-option > a { display: block; padding: 8px 14px; color: var(--muted); font-size: 10px; font-weight: 800; border-top: 1px solid var(--line); }
.bank-option.is-ineligible { opacity: .62; }
.bank-option.is-ineligible .bank-status { color: #9a4a34; }

@media (max-width: 640px) {
  .credit-form-heading { align-items: start; flex-direction: column; }
  .credit-controls { grid-template-columns: 1fr; }
  .credit-field-wide { grid-column: auto; }
  .term-options { grid-template-columns: repeat(2, 1fr); }
  .selected-rate { grid-template-columns: 1fr; }
  .bank-comparison { grid-template-columns: 1fr; }
}

/* Visual refresh */
:root {
  --green: #123f28;
  --green-2: #2f6f49;
  --gold: #b88938;
  --ink: #111a14;
  --muted: #66746b;
  --paper: #f6f1e7;
  --line: #e4dac8;
  --soft: #eef3ed;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(21, 38, 27, .13);
  --shadow-soft: 0 12px 34px rgba(21, 38, 27, .08);
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
}

body {
  background:
    linear-gradient(180deg, rgba(247, 243, 235, .98), rgba(239, 233, 220, .96)),
    radial-gradient(circle at 8% 0, rgba(184, 137, 56, .14), transparent 30%),
    radial-gradient(circle at 92% 20%, rgba(18, 63, 40, .08), transparent 28%);
}

h1,
h2,
.category-hero h1,
.hero h1,
.story p {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 750;
  letter-spacing: -.01em;
}

p {
  font-size: 16px;
}

.site-header {
  left: 18px;
  right: 18px;
  top: 14px;
  border: 1px solid rgba(228, 218, 200, .82);
  border-radius: 8px;
  background: rgba(255, 252, 246, .88);
  box-shadow: 0 18px 50px rgba(21, 38, 27, .08);
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(255, 252, 246, .96);
}

.brand img {
  width: 166px;
}

.site-nav {
  padding: 5px;
  background: rgba(18, 63, 40, .05);
  border: 1px solid rgba(18, 63, 40, .08);
  border-radius: 999px;
}

.site-nav a {
  padding: 9px 12px;
  color: #26372c;
  font-size: 13px;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
  background: var(--green);
}

.admin-access,
.header-cta,
.button {
  border-radius: 999px;
}

.admin-access {
  background: rgba(255, 255, 255, .82);
}

.header-cta {
  background: linear-gradient(135deg, #154c31, #0e2e1e);
}

.hero,
.category-hero {
  isolation: isolate;
}

.hero {
  min-height: 820px;
  padding-bottom: 92px;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 28, 18, .94), rgba(10, 28, 18, .66) 42%, rgba(10, 28, 18, .18)),
    linear-gradient(180deg, rgba(10, 28, 18, .04), rgba(10, 28, 18, .62));
}

.hero-content {
  width: min(780px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 10px;
  color: var(--gold);
  background: rgba(184, 137, 56, .11);
  border: 1px solid rgba(184, 137, 56, .22);
  border-radius: 999px;
  font-size: 11px;
}

.hero .eyebrow,
.category-hero .eyebrow,
.market-copy .eyebrow,
.agent-panel .eyebrow,
.advisory-band .eyebrow,
.contact .eyebrow {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .18);
}

.hero h1 {
  font-size: clamp(48px, 7vw, 86px);
  line-height: .98;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
}

.button {
  min-height: 50px;
  padding: 0 24px;
  font-size: 14px;
  letter-spacing: .01em;
}

.button.primary {
  background: linear-gradient(135deg, var(--green), #0b2d1b);
}

.button.secondary {
  background: linear-gradient(135deg, var(--gold), #8e672d);
}

.button.ghost {
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
}

.hero-stats {
  width: min(650px, 100%);
  margin-top: 42px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
}

.hero-stats div {
  padding: 18px;
}

.hero-stats dt {
  font-size: 24px;
}

.hero-feature-card {
  right: clamp(18px, 4vw, 56px);
  bottom: 118px;
  padding: 24px;
  background: rgba(255, 255, 255, .14);
  border-radius: 8px;
}

.quick-search {
  margin-top: -54px;
  padding: 22px;
  border: 1px solid rgba(228, 218, 200, .88);
  box-shadow: 0 26px 70px rgba(21, 38, 27, .14);
}

.property-search {
  padding-top: 74px;
}

label {
  color: #405044;
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

select,
input,
textarea {
  min-height: 52px;
  border-color: #ddd2bf;
  background: #fffdf9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}

select:focus,
input:focus,
textarea:focus {
  outline: 2px solid rgba(184, 137, 56, .28);
  border-color: var(--gold);
}

.trust-strip {
  margin-top: 28px;
  border: 0;
  gap: 12px;
  overflow: visible;
  background: transparent;
}

.trust-strip div,
.intro-grid article,
.timeline article,
.service-suite article,
.market-metrics article,
.property-card,
.empty-state,
.detail-copy,
.detail-sidebar,
.admin-shell,
.credit-form {
  border-color: rgba(228, 218, 200, .9);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.trust-strip div {
  border: 1px solid rgba(228, 218, 200, .88);
  border-radius: 8px;
}

.section {
  padding: 104px 0;
}

.section-heading {
  margin-bottom: 40px;
}

.section h2,
.contact h2,
.credit-copy h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1;
}

.market-panel {
  gap: 18px;
  margin-top: 86px;
}

.market-copy,
.agent-panel,
.advisory-band {
  background:
    linear-gradient(135deg, rgba(12, 38, 24, .96), rgba(18, 63, 40, .88)),
    var(--panel-image, url("https://ecoagrado.cl/wp-content/uploads/2024/06/Parcelas-en-Chile-Camino-a-El-Huape-768x432.webp")) center / cover;
}

.market-copy {
  min-height: 460px;
  display: grid;
  align-content: end;
}

.market-metrics article {
  display: grid;
  align-content: center;
}

.market-metrics strong {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
}

.intro-grid article,
.timeline article,
.service-suite article {
  position: relative;
  overflow: hidden;
}

.intro-grid article::after,
.timeline article::after,
.service-suite article::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 46px;
  height: 46px;
  background: rgba(184, 137, 56, .12);
  border-radius: 50%;
}

.intro-grid span,
.timeline span,
.market-metrics span,
.service-suite span {
  color: var(--gold);
}

.property-filters {
  margin-bottom: 28px;
}

.property-card {
  border-radius: 8px;
}

.property-card::before {
  left: 16px;
  top: 16px;
  background: rgba(18, 63, 40, .86);
  backdrop-filter: blur(10px);
}

.property-card img,
.property-image-placeholder {
  aspect-ratio: 4 / 3;
}

.property-body h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  line-height: 1.04;
}

.property-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(228, 218, 200, .9);
}

.property-footer a,
.text-link {
  color: var(--green);
}

.carousel-btn,
.story-controls button {
  border-radius: 999px;
}

.section.credit-simulator {
  margin-top: 8px;
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(250, 246, 239, .92)),
    radial-gradient(circle at 100% 0, rgba(242, 31, 58, .11), transparent 36%);
}

.credit-results div {
  background: #f8f4ed;
}

.services {
  gap: 42px;
}

.service-media img {
  aspect-ratio: 1 / 1.05;
  border: 10px solid rgba(255, 255, 255, .78);
}

.service-content {
  padding: 8px 0;
}

.agent-panel {
  --panel-image: url("https://ecoagrado.cl/wp-content/uploads/2024/11/Corredora-de-propiedades-en-Chillan-Nuble-Chile-1.jpg");
}

.category-grid {
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
}

.category-grid a {
  min-height: 270px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(10, 28, 18, .04), rgba(10, 28, 18, .88)),
    var(--bg) center / cover;
}

.category-grid span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
}

.story-stage {
  min-height: 310px;
}

.advisory-band {
  --panel-image: url("https://ecoagrado.cl/wp-content/uploads/2024/06/Propiedad-Comercial-en-Chillan-768x432.webp");
}

.contact {
  background:
    linear-gradient(135deg, rgba(12, 38, 24, .97), rgba(18, 63, 40, .94)),
    radial-gradient(circle at 100% 0, rgba(184, 137, 56, .18), transparent 30%);
  box-shadow: var(--shadow);
}

.contact-card {
  border: 1px solid rgba(255, 255, 255, .18);
}

.site-footer {
  background:
    linear-gradient(180deg, #123f28, #0a2316);
}

.category-hero {
  min-height: 610px;
}

.category-hero h1,
.property-detail-hero h1 {
  font-size: clamp(48px, 6.5vw, 84px);
}

.category-intel {
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.category-intel strong {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--ink);
}

.listing-tools {
  border: 1px solid rgba(228, 218, 200, .88);
}

@media (max-width: 980px) {
  .site-header {
    left: 12px;
    right: 12px;
    top: 10px;
  }

  .market-copy {
    min-height: 360px;
  }

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

/* Admin workspace */
body:has([data-admin]) {
  background:
    linear-gradient(180deg, #f7f3ea 0%, #eee7d8 100%),
    radial-gradient(circle at 12% 0, rgba(16, 60, 40, .08), transparent 32%);
}

body:has([data-admin]) .site-header {
  grid-template-columns: auto auto;
  justify-content: space-between;
}

body:has([data-admin]) .header-cta {
  width: auto;
  min-width: 0;
  justify-self: end;
  flex: 0 0 auto;
  padding-inline: 18px;
  background: #fff;
  color: var(--green);
  border: 1px solid var(--line);
  box-shadow: none;
}

body:has([data-admin]) .admin-nav {
  display: none !important;
}

.admin-page {
  min-height: 100vh;
  padding: 138px 0 80px;
}

.admin-page .section.admin-shell {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.admin-shell > .section-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: end;
  margin: 0 0 26px;
  padding: 30px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(10, 35, 22, .97), rgba(18, 63, 40, .92)),
    radial-gradient(circle at 90% 0, rgba(185, 139, 56, .22), transparent 32%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-shell > .section-heading .eyebrow {
  color: #e2b968;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .18);
}

.admin-shell > .section-heading h1 {
  color: #fff;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 900;
  line-height: .98;
}

.admin-shell > .section-heading p:not(.eyebrow) {
  align-self: center;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 15px;
}

.admin-login-card {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 32px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(222, 214, 200, .95);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-login-card::before {
  content: "Acceso de administracion";
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.admin-form {
  gap: 18px;
}

.admin-form label {
  gap: 9px;
  color: #2d3c32;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  min-height: 50px;
  background: #fffdf8;
}

.compact-form {
  max-width: none;
}

.compact-form .admin-actions {
  margin-top: 4px;
}

.admin-panel {
  gap: 24px;
}

.admin-toolbar {
  padding: 18px 20px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(222, 214, 200, .95);
  box-shadow: var(--shadow-soft);
}

.admin-toolbar strong {
  color: var(--ink);
  font-size: 16px;
}

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

.admin-grid {
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 24px;
}

.admin-list-panel {
  top: 104px;
  padding: 20px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(222, 214, 200, .9);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.admin-list-heading {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(222, 214, 200, .9);
}

.admin-list-heading h2 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.admin-property-list {
  max-height: calc(100vh - 250px);
  overflow: auto;
  padding-right: 4px;
}

.admin-property-item {
  padding: 16px;
  background: #fff;
  border-color: rgba(222, 214, 200, .95);
  box-shadow: none;
}

.admin-property-item strong {
  font-size: 15px;
  line-height: 1.25;
}

.admin-property-item span {
  color: #68776d;
}

.admin-item-actions {
  gap: 6px;
}

.admin-list-heading button,
.admin-item-actions button,
.admin-item-actions a {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f7f3ea;
}

.admin-editor {
  padding: 30px;
  background: rgba(255, 255, 255, .94);
  border-color: rgba(222, 214, 200, .95);
  box-shadow: var(--shadow);
}

.admin-editor-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(222, 214, 200, .9);
}

.admin-editor-heading span {
  color: var(--gold);
  font-size: 11px;
}

.admin-editor-heading h2 {
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
}

.admin-editor .form-grid {
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 18px;
}

.admin-editor > label,
.admin-editor .form-checks,
.admin-editor > .admin-actions {
  margin-top: 2px;
}

.admin-editor textarea {
  min-height: 110px;
  resize: vertical;
}

.form-checks {
  padding: 14px 16px;
  background: #f7f3ea;
  border: 1px solid rgba(222, 214, 200, .9);
  border-radius: 8px;
}

.form-checks label {
  display: inline-flex;
  gap: 10px;
}

.form-note {
  padding: 12px 14px;
  background: #f7f3ea;
  border: 1px solid rgba(222, 214, 200, .9);
  border-radius: 8px;
  line-height: 1.45;
}

.admin-status {
  position: sticky;
  bottom: 18px;
  z-index: 5;
  width: fit-content;
  max-width: min(720px, 100%);
  min-height: 0;
  margin: 18px auto 0;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(222, 214, 200, .95);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.admin-status:empty {
  display: none;
}

.admin-denied.empty-state {
  width: min(720px, 100%);
  margin: 0 auto;
}

@media (max-width: 1120px) {
  .admin-grid,
  .admin-editor .form-grid,
  .admin-shell > .section-heading {
    grid-template-columns: 1fr;
  }

  .admin-list-panel {
    position: static;
  }

  .admin-property-list {
    max-height: none;
  }
}

@media (max-width: 640px) {
  .admin-page {
    padding-top: 112px;
  }

  .admin-page .section.admin-shell {
    width: min(100% - 24px, 1360px);
  }

  .admin-shell > .section-heading,
  .admin-login-card,
  .admin-editor,
  .admin-list-panel {
    padding: 20px;
  }

  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-actions {
    width: 100%;
  }

  .admin-actions .button {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .quick-search,
  .section.credit-simulator,
  .contact,
  .advisory-band {
    padding: 22px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

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

  .category-grid a {
    min-height: 220px;
  }
}

/* NTEK-style polish: clean, dense, modern */
:root {
  --green: #103c28;
  --green-2: #2d7a50;
  --gold: #b98b38;
  --ink: #101712;
  --muted: #5e6d63;
  --paper: #f5f2ea;
  --line: #ded6c8;
  --soft: #edf3ee;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 23, 18, .12);
  --shadow-soft: 0 12px 32px rgba(16, 23, 18, .075);
  font-family: Manrope, Inter, "Segoe UI", Arial, sans-serif;
}

h1,
h2,
h3,
.hero h1,
.section h2,
.contact h2,
.category-hero h1,
.property-detail-hero h1,
.story p,
.property-body h3,
.category-grid span,
.market-metrics strong,
.category-intel strong {
  font-family: Manrope, Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: -.035em;
}

body {
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbf8f0 0%, #f2ecdf 48%, #fbf8f0 100%),
    radial-gradient(circle at 12% 0, rgba(45, 122, 80, .08), transparent 28%);
}

.site-header {
  left: 24px;
  right: 24px;
  top: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 253, 248, .92);
  border: 1px solid rgba(222, 214, 200, .9);
  box-shadow: 0 18px 50px rgba(16, 23, 18, .09);
}

.site-header.is-scrolled {
  padding-block: 9px;
}

.brand img {
  width: 152px;
}

.site-nav {
  justify-self: end;
  max-width: 100%;
  padding: 4px;
  gap: 2px;
  background: #f0ebe0;
  border: 1px solid #e6dccb;
  overflow: hidden;
}

.site-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  color: #27372d;
  font-size: 12px;
  font-weight: 850;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
  background: #103c28;
}

.admin-access,
.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.admin-access {
  padding-inline: 14px;
  color: #103c28;
  background: #fff;
}

.header-cta {
  padding-inline: 17px;
  box-shadow: none;
}

.hero {
  min-height: 760px;
  padding: 150px clamp(20px, 5vw, 72px) 86px;
  background: #08160f;
}

.hero-overlay {
  background:
    radial-gradient(circle at 78% 20%, rgba(185, 139, 56, .18), transparent 28%),
    linear-gradient(90deg, rgba(7, 19, 12, .96), rgba(7, 19, 12, .78) 48%, rgba(7, 19, 12, .22)),
    linear-gradient(180deg, rgba(7, 19, 12, .08), rgba(7, 19, 12, .74));
}

.hero-content {
  width: min(850px, 100%);
}

.hero h1 {
  max-width: 930px;
  font-size: clamp(44px, 6.8vw, 82px);
  line-height: .96;
  font-weight: 850;
}

.hero-copy {
  max-width: 660px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}

.eyebrow {
  min-height: 30px;
  padding: 6px 10px;
  color: #c99b49;
  background: rgba(185, 139, 56, .11);
  border: 1px solid rgba(185, 139, 56, .2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.button {
  min-height: 46px;
  padding: 0 19px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.button.primary,
.header-cta {
  background: linear-gradient(135deg, #164b31, #082719);
}

.button.secondary {
  background: linear-gradient(135deg, #bb8b37, #8d672c);
}

.hero-stats {
  width: min(720px, 100%);
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border: 0;
  background: transparent;
  overflow: visible;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
}

.hero-stats dt {
  font-size: 22px;
}

.hero-stats dd {
  font-size: 13px;
  line-height: 1.35;
}

.hero-feature-card {
  width: min(330px, calc(100% - 36px));
  padding: 20px;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .2);
}

.quick-search {
  width: min(1140px, calc(100% - 40px));
  margin-top: -46px;
  padding: 18px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid #e4dac9;
}

.property-search {
  padding-top: 64px;
}

.search-tabs {
  top: 14px;
  background: #efe8dc;
}

.search-tabs a,
.property-filters a {
  min-height: 34px;
  padding: 0 13px;
  font-size: 12px;
}

label {
  gap: 7px;
  color: #4b5a50;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
}

select,
input,
textarea {
  min-height: 48px;
  border-radius: 8px;
  background: #fff;
}

.trust-strip {
  width: min(1140px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-strip div {
  padding: 18px;
  background: rgba(255, 255, 255, .72);
}

.trust-strip strong {
  font-size: 18px;
}

.trust-strip span {
  font-size: 13px;
}

.section,
.market-panel,
.contact,
.category-intel,
.listing-tools {
  width: min(1140px, calc(100% - 40px));
}

.section {
  padding: 88px 0;
}

.section-heading {
  margin-bottom: 30px;
}

.section h2,
.contact h2,
.credit-copy h2 {
  max-width: 850px;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.02;
  font-weight: 850;
}

.market-panel {
  margin-top: 72px;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 16px;
}

.market-copy,
.agent-panel,
.advisory-band {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.market-copy {
  min-height: 420px;
  padding: 34px;
}

.market-metrics {
  gap: 12px;
}

.market-metrics article,
.intro-grid article,
.timeline article,
.service-suite article,
.property-card,
.empty-state,
.credit-form {
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(222, 214, 200, .88);
  box-shadow: var(--shadow-soft);
}

.market-metrics article {
  padding: 22px;
}

.market-metrics strong {
  font-size: 26px;
  font-weight: 850;
}

.intro-grid,
.property-grid,
.timeline {
  gap: 14px;
}

.intro-grid article,
.timeline article {
  padding: 24px;
}

h3 {
  font-size: 21px;
  letter-spacing: -.02em;
}

p {
  color: var(--muted);
  line-height: 1.62;
}

.property-card {
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.property-card:hover {
  transform: translateY(-5px);
  border-color: rgba(185, 139, 56, .45);
}

.property-card::before {
  content: "Ecoagrado";
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  font-size: 10px;
}

.property-card img,
.property-image-placeholder {
  aspect-ratio: 16 / 11;
}

.property-body {
  padding: 18px;
}

.property-body h3 {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 850;
}

.tags span {
  padding: 6px 9px;
  background: #eef4ef;
  font-size: 11px;
}

.property-footer strong {
  font-size: 18px;
}

.section.credit-simulator {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 22px;
  padding: 28px;
}

.coopeuch-brand {
  margin-bottom: 18px;
}

.credit-form {
  padding: 20px;
}

.credit-results {
  gap: 8px;
}

.credit-results div {
  padding: 13px;
}

.credit-results strong {
  font-size: 19px;
}

.services {
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
  gap: 34px;
}

.service-media img {
  aspect-ratio: 4 / 3.6;
  border: 0;
  box-shadow: var(--shadow);
}

.service-suite {
  gap: 12px;
}

.service-suite article {
  min-height: 220px;
  padding: 22px;
}

.agent-panel {
  padding: 32px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
}

.category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.category-grid a {
  min-height: 230px;
  padding: 18px;
}

.category-grid span {
  font-size: 24px;
  font-weight: 850;
}

.story-stage {
  min-height: 260px;
}

.story p {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 800;
}

.advisory-band {
  padding: 30px;
}

.contact {
  padding: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr) minmax(240px, .7fr);
}

.floating-whatsapp {
  background: #0d3f28;
  box-shadow: 0 14px 34px rgba(13, 63, 40, .28);
}

.category-hero {
  min-height: 560px;
  background:
    linear-gradient(90deg, rgba(7, 19, 12, .94), rgba(7, 19, 12, .62), rgba(7, 19, 12, .18)),
    var(--hero) center / cover;
}

.category-hero h1,
.property-detail-hero h1 {
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 850;
}

.listing-tools,
.category-intel {
  background: rgba(255, 255, 255, .9);
  border: 1px solid #e3dacb;
}

.category-intel strong {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 850;
}

.admin-page {
  background:
    linear-gradient(180deg, #fbf8f0, #f1eadc);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .admin-access {
    display: none;
  }

  .site-nav a {
    padding-inline: 9px;
  }
}

@media (max-width: 980px) {
  .site-header {
    left: 12px;
    right: 12px;
    grid-template-columns: auto auto;
  }

  .site-nav {
    justify-self: stretch;
    border-radius: 8px;
  }

  .header-cta {
    display: none;
  }

  .market-panel,
  .section.credit-simulator,
  .services,
  .agent-panel,
  .contact {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .service-suite,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-feature-card {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    left: 10px;
    right: 10px;
    top: 10px;
  }

  .hero {
    min-height: 720px;
    padding-inline: 20px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .hero-stats,
  .trust-strip,
  .category-grid,
  .service-suite,
  .credit-results {
    grid-template-columns: 1fr;
  }

  .quick-search,
  .section.credit-simulator,
  .contact,
  .advisory-band {
    width: min(100% - 28px, 1140px);
    padding: 18px;
  }

  .section,
  .market-panel,
  .category-intel,
  .listing-tools {
    width: min(100% - 28px, 1140px);
  }
}

/* Component variety */
.trust-strip i,
.market-metrics i,
.intro-grid article > i,
.service-suite article > i,
.check-list i,
.process-stepper i {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.trust-strip div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 2px 14px;
  align-items: start;
}

.trust-strip i {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #0b2c1c);
  border-radius: 8px;
}

.market-metrics article {
  position: relative;
  overflow: hidden;
}

.market-metrics article > i {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  padding: 10px;
  color: var(--green);
  background: #eef4ef;
  border-radius: 8px;
}

.intro-grid article > i,
.service-suite article > i {
  width: 44px;
  height: 44px;
  padding: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), #8d672c);
  border-radius: 8px;
}

.intro-grid article {
  display: grid;
  align-content: start;
  gap: 8px;
}

.intro-grid article span {
  width: fit-content;
  padding: 5px 9px;
  background: #f5efe3;
  border-radius: 999px;
  font-size: 11px;
}

.check-list {
  gap: 10px;
}

.check-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(222, 214, 200, .9);
  border-radius: 8px;
}

.check-list li::before {
  display: none;
}

.check-list i {
  width: 38px;
  height: 38px;
  padding: 9px;
  color: var(--green);
  background: #eef4ef;
  border-radius: 8px;
}

.service-suite article {
  justify-content: start;
  gap: 10px;
}

.service-suite article > i {
  background: linear-gradient(135deg, var(--green), #0b2c1c);
}

.process-stepper {
  position: relative;
  gap: 0;
  padding: 24px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(222, 214, 200, .9);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.process-stepper::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 66px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  opacity: .35;
}

.process-stepper article {
  position: relative;
  z-index: 1;
  padding: 14px 18px 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
}

.process-stepper article span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 13px;
}

.process-stepper i {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  padding: 10px;
  color: var(--green);
  background: #eef4ef;
  border-radius: 8px;
}

.process-stepper h3 {
  margin-top: 0;
}

@media (max-width: 980px) {
  .process-stepper {
    gap: 10px;
  }

  .process-stepper::before {
    display: none;
  }

  .process-stepper article {
    text-align: left;
    background: #fff;
    border: 1px solid rgba(222, 214, 200, .9);
  }

  .process-stepper i,
  .process-stepper article span {
    margin-left: 0;
  }
}

/* Final admin layout fix */
body:has([data-admin]) .admin-page {
  padding-top: 126px;
}

body:has([data-admin]) .admin-page .section.admin-shell {
  width: min(1420px, calc(100% - 28px));
  max-width: none;
}

body:has([data-admin]) .admin-shell > .section-heading {
  display: none;
}

body:has([data-admin]) .admin-toolbar {
  margin-bottom: 24px;
  padding: 18px 20px;
  border-radius: 8px;
}

body:has([data-admin]) .admin-grid {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

body:has([data-admin]) .admin-list-panel,
body:has([data-admin]) .admin-editor {
  min-width: 0;
  max-width: 100%;
}

body:has([data-admin]) .admin-list-panel {
  position: sticky;
  top: 112px;
  overflow: hidden;
  padding: 20px;
  background: rgba(255, 255, 255, .92);
}

body:has([data-admin]) .admin-list-heading {
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 14px;
}

body:has([data-admin]) .admin-list-heading h2 {
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -.04em;
}

body:has([data-admin]) .admin-list-heading button {
  flex: 0 0 auto;
  min-height: 36px;
}

body:has([data-admin]) .admin-property-list {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body:has([data-admin]) .admin-property-list .empty-state {
  width: 100%;
  min-width: 0;
  padding: 26px;
}

body:has([data-admin]) .admin-property-list .empty-state strong {
  font-size: 22px;
  line-height: 1.25;
}

body:has([data-admin]) .admin-property-list .empty-state p {
  margin-bottom: 0;
}

body:has([data-admin]) .admin-editor {
  padding: 30px;
  overflow: hidden;
}

body:has([data-admin]) .admin-editor-heading {
  margin-bottom: 18px;
  padding-bottom: 18px;
}

body:has([data-admin]) .admin-editor-heading h2 {
  color: var(--ink);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.05em;
}

body:has([data-admin]) .admin-editor-heading span {
  display: block;
  margin-bottom: 8px;
}

body:has([data-admin]) .admin-editor .form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body:has([data-admin]) .admin-form label {
  min-width: 0;
}

body:has([data-admin]) .admin-form input,
body:has([data-admin]) .admin-form select,
body:has([data-admin]) .admin-form textarea {
  min-width: 0;
  width: 100%;
}

body:has([data-admin]) .admin-status {
  margin-top: 18px;
}

@media (max-width: 1180px) {
  body:has([data-admin]) .admin-grid,
  body:has([data-admin]) .admin-editor .form-grid {
    grid-template-columns: 1fr;
  }

  body:has([data-admin]) .admin-list-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  body:has([data-admin]) .admin-page {
    padding-top: 108px;
  }

  body:has([data-admin]) .admin-toolbar,
  body:has([data-admin]) .admin-list-heading {
    align-items: stretch;
    flex-direction: column;
  }

  body:has([data-admin]) .admin-actions {
    width: 100%;
  }

  body:has([data-admin]) .admin-actions .button {
    width: 100%;
  }

  body:has([data-admin]) .admin-editor,
  body:has([data-admin]) .admin-list-panel,
  body:has([data-admin]) .admin-property-list .empty-state {
    padding: 18px;
  }
}

/* Icon and width cleanup */
.section,
.market-panel,
.trust-strip,
.contact,
.advisory-band,
.category-intel,
.listing-tools {
  width: min(1280px, calc(100% - 40px));
}

.stories .section-heading,
.story-stage,
.advisory-band,
.contact {
  width: 100%;
}

.trust-strip svg,
.market-metrics svg,
.intro-grid article > svg,
.service-suite article > svg,
.check-list svg,
.process-stepper svg {
  flex: 0 0 auto;
  stroke-width: 2.2;
}

.trust-strip div {
  grid-template-columns: 52px minmax(0, 1fr);
  min-height: 132px;
  padding: 22px;
}

.trust-strip svg {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  padding: 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #082719);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 60, 40, .18);
}

.trust-strip strong {
  align-self: end;
}

.trust-strip span {
  max-width: 24ch;
}

.market-metrics article {
  min-height: 132px;
  padding-right: 88px;
}

.market-metrics article > svg {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 48px;
  height: 48px;
  padding: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #082719);
  border-radius: 8px;
}

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

.intro-grid article {
  min-height: 260px;
  padding: 28px;
}

.intro-grid article > svg,
.service-suite article > svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #082719);
  border-radius: 8px;
}

.intro-grid article span {
  margin-top: 4px;
}

.service-suite {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-suite article {
  min-height: 250px;
}

.check-list li {
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: 64px;
}

.check-list svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #082719);
  border-radius: 8px;
}

.process-stepper {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 28px;
}

.process-stepper::before {
  top: 58px;
  left: 13%;
  right: 13%;
}

.process-stepper article {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 230px;
  padding: 0 22px 8px;
}

.process-stepper article span {
  position: absolute;
  top: 10px;
  left: calc(50% - 42px);
  z-index: 2;
  width: 28px;
  height: 28px;
  margin: 0;
  border: 4px solid #f5f2ea;
  font-size: 12px;
}

.process-stepper svg {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  margin: 0 0 18px;
  padding: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #082719);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(16, 60, 40, .18);
}

.process-stepper h3,
.process-stepper p {
  max-width: 24ch;
  margin-inline: auto;
}

.story-stage {
  min-height: 330px;
}

.story {
  padding-inline: clamp(34px, 7vw, 76px);
}

.story p {
  max-width: 980px;
}

.advisory-band {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) auto;
  min-height: 300px;
}

.contact {
  grid-template-columns: minmax(0, .9fr) minmax(380px, 1fr) minmax(260px, .8fr);
}

@media (max-width: 980px) {
  .section,
  .market-panel,
  .trust-strip,
  .contact,
  .advisory-band,
  .category-intel,
  .listing-tools {
    width: min(100% - 28px, 1280px);
  }

  .trust-strip,
  .intro-grid,
  .service-suite,
  .process-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-stepper article {
    justify-items: start;
    min-height: 0;
    padding: 18px;
  }

  .process-stepper article span {
    position: static;
    margin-bottom: 10px;
  }

  .process-stepper svg {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .trust-strip,
  .intro-grid,
  .service-suite,
  .process-stepper,
  .advisory-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    min-height: auto;
  }
}

/* Bottom sections alignment */
.section.advisory-band,
.contact {
  width: min(1280px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.section.advisory-band {
  min-height: 0;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(247, 243, 234, .94)),
    radial-gradient(circle at 100% 0, rgba(16, 60, 40, .08), transparent 32%);
  border: 1px solid rgba(222, 214, 200, .9);
  box-shadow: var(--shadow-soft);
}

.section.advisory-band > div:first-child {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px 18px;
  align-items: start;
}

.section.advisory-band > div:first-child > svg {
  grid-row: span 2;
  width: 54px;
  height: 54px;
  padding: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #082719);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(16, 60, 40, .18);
}

.section.advisory-band .eyebrow {
  color: var(--gold);
  background: #f5efe3;
  border-color: rgba(185, 139, 56, .24);
}

.section.advisory-band h2 {
  max-width: 640px;
  color: var(--ink);
  font-size: clamp(30px, 3.5vw, 48px);
}

.section.advisory-band p:not(.eyebrow) {
  margin: 0;
  color: #445349;
}

.section.advisory-band .button {
  min-width: 170px;
}

.advisory-band + .contact {
  margin-top: 34px;
}

@media (max-width: 980px) {
  .section.advisory-band {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 1280px);
  }

  .section.advisory-band .button {
    width: fit-content;
  }

  .contact {
    width: min(100% - 28px, 1280px);
  }
}

@media (max-width: 640px) {
  .section.advisory-band {
    padding: 22px;
  }

  .section.advisory-band > div:first-child {
    grid-template-columns: 1fr;
  }
}

.process-stepper article::after {
  display: none !important;
}

/* Shared WhatsApp treatment */
.floating-whatsapp {
  width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0;
  overflow: hidden;
  color: #fff;
  font-size: 0;
  background: #25d366;
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 18px 40px rgba(37, 211, 102, .3);
}

.floating-whatsapp::before,
.contact-card a[href*="wa.me"]::before,
.button[href*="wa.me"]::before,
.header-cta[href*="wa.me"]::before {
  content: "";
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 3C8.83 3 3 8.73 3 15.79c0 2.27.61 4.48 1.76 6.42L3.4 29l6.97-1.79A13.18 13.18 0 0 0 16 28.58c7.17 0 13-5.73 13-12.79S23.17 3 16 3Zm0 23.36c-1.83 0-3.62-.47-5.2-1.36l-.37-.21-4.13 1.06.81-4.02-.24-.39a10.44 10.44 0 0 1-1.62-5.65C5.25 9.96 10.07 5.75 16 5.75s10.75 4.21 10.75 10.04S21.93 26.36 16 26.36Zm5.94-7.86c-.33-.16-1.94-.94-2.24-1.05-.3-.11-.52-.16-.74.16-.22.32-.85 1.05-1.04 1.27-.19.21-.38.24-.71.08-.33-.16-1.39-.5-2.64-1.58-.98-.86-1.64-1.92-1.83-2.24-.19-.32-.02-.5.14-.66.15-.14.33-.37.49-.56.16-.19.22-.32.33-.53.11-.21.05-.4-.03-.56-.08-.16-.74-1.75-1.01-2.4-.27-.64-.54-.55-.74-.56h-.63c-.22 0-.57.08-.87.4-.3.32-1.14 1.1-1.14 2.68s1.17 3.11 1.33 3.32c.16.21 2.3 3.45 5.57 4.84.78.33 1.39.53 1.86.68.78.24 1.49.21 2.05.13.63-.09 1.94-.78 2.22-1.54.27-.75.27-1.4.19-1.54-.08-.13-.3-.21-.63-.37Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 3C8.83 3 3 8.73 3 15.79c0 2.27.61 4.48 1.76 6.42L3.4 29l6.97-1.79A13.18 13.18 0 0 0 16 28.58c7.17 0 13-5.73 13-12.79S23.17 3 16 3Zm0 23.36c-1.83 0-3.62-.47-5.2-1.36l-.37-.21-4.13 1.06.81-4.02-.24-.39a10.44 10.44 0 0 1-1.62-5.65C5.25 9.96 10.07 5.75 16 5.75s10.75 4.21 10.75 10.04S21.93 26.36 16 26.36Zm5.94-7.86c-.33-.16-1.94-.94-2.24-1.05-.3-.11-.52-.16-.74.16-.22.32-.85 1.05-1.04 1.27-.19.21-.38.24-.71.08-.33-.16-1.39-.5-2.64-1.58-.98-.86-1.64-1.92-1.83-2.24-.19-.32-.02-.5.14-.66.15-.14.33-.37.49-.56.16-.19.22-.32.33-.53.11-.21.05-.4-.03-.56-.08-.16-.74-1.75-1.01-2.4-.27-.64-.54-.55-.74-.56h-.63c-.22 0-.57.08-.87.4-.3.32-1.14 1.1-1.14 2.68s1.17 3.11 1.33 3.32c.16.21 2.3 3.45 5.57 4.84.78.33 1.39.53 1.86.68.78.24 1.49.21 2.05.13.63-.09 1.94-.78 2.22-1.54.27-.75.27-1.4.19-1.54-.08-.13-.3-.21-.63-.37Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.floating-whatsapp::before {
  width: 31px;
  height: 31px;
}

.floating-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
}

.contact-card a[href*="wa.me"],
.button[href*="wa.me"],
.header-cta[href*="wa.me"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

/* Unified navigation across pages */
.site-nav {
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 3px;
}

.site-nav a {
  min-height: 34px;
  padding-inline: 9px;
  font-size: 11.5px;
}

body:has([data-admin]) .site-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
  justify-content: initial;
}

@media (max-width: 1180px) {
  .site-nav a {
    padding-inline: 8px;
    font-size: 11px;
  }
}

@media (max-width: 980px) {
  body:has([data-admin]) .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
}

/* Global motion system */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
}

@keyframes pageLift {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softScaleIn {
  from {
    opacity: 0;
    transform: scale(.975) translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes iconPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-2px) scale(1.035);
  }
}

body {
  animation: pageLift .7s var(--ease-out) both;
}

.site-header {
  animation: navDrop .65s var(--ease-out) both;
}

.hero-content,
.hero-feature-card,
.category-hero > div,
.admin-shell > .section-heading {
  animation: softScaleIn .75s var(--ease-out) .08s both;
}

.quick-search,
.trust-strip,
.market-panel,
.section,
.listing-tools,
.category-intel,
.category-listing,
.contact,
.admin-login-card,
.admin-panel {
  animation: pageLift .72s var(--ease-out) both;
  animation-timeline: view();
  animation-range: entry 0% cover 28%;
}

.property-card,
.category-grid a,
.service-suite article,
.intro-grid article,
.process-stepper article,
.story,
.contact-card,
.admin-property-card,
.empty-state {
  transition:
    transform .28s var(--ease-out),
    box-shadow .28s var(--ease-out),
    border-color .28s var(--ease-out),
    background .28s var(--ease-out),
    opacity .28s var(--ease-out);
}

.property-card:hover,
.category-grid a:hover,
.service-suite article:hover,
.intro-grid article:hover,
.process-stepper article:hover,
.contact-card:hover,
.admin-property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(20, 38, 25, .14);
}

.property-card img,
.category-grid a,
.hero-slide,
.story {
  transition:
    transform .7s var(--ease-soft),
    filter .45s var(--ease-soft),
    opacity .45s var(--ease-soft);
}

.property-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.03);
}

.site-nav a,
.button,
.header-cta,
.admin-access,
.listing-tools button,
.property-filters a,
.text-link,
.carousel-btn,
.menu-toggle,
.hero-dots button {
  transition:
    transform .22s var(--ease-out),
    box-shadow .22s var(--ease-out),
    background .22s var(--ease-out),
    color .22s var(--ease-out),
    border-color .22s var(--ease-out),
    opacity .22s var(--ease-out);
}

.site-nav a:hover,
.button:hover,
.header-cta:hover,
.admin-access:hover,
.listing-tools button:hover,
.property-filters a:hover,
.text-link:hover,
.carousel-btn:hover,
.menu-toggle:hover {
  transform: translateY(-2px);
}

.button:active,
.header-cta:active,
.admin-access:active,
.listing-tools button:active,
.carousel-btn:active {
  transform: translateY(0) scale(.98);
}

input,
select,
textarea {
  transition:
    border-color .22s var(--ease-out),
    box-shadow .22s var(--ease-out),
    background .22s var(--ease-out),
    transform .22s var(--ease-out);
}

input:focus,
select:focus,
textarea:focus {
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(23, 79, 47, .1);
}

.trust-strip svg,
.market-metrics svg,
.intro-grid article > svg,
.service-suite article > svg,
.check-list svg,
.process-stepper svg,
.section.advisory-band > div:first-child > svg,
.floating-whatsapp::before {
  transition: transform .3s var(--ease-out), filter .3s var(--ease-out);
}

.trust-strip div:hover svg,
.market-metrics article:hover svg,
.intro-grid article:hover > svg,
.service-suite article:hover > svg,
.process-stepper article:hover svg,
.section.advisory-band:hover > div:first-child > svg {
  animation: iconPulse .85s var(--ease-soft) both;
}

.floating-whatsapp {
  animation: softScaleIn .6s var(--ease-out) .35s both;
}

.floating-whatsapp:hover::before {
  transform: rotate(-8deg) scale(1.08);
}

[hidden] {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .quick-search,
  .trust-strip,
  .market-panel,
  .section,
  .listing-tools,
  .category-intel,
  .category-listing,
  .contact,
  .admin-login-card,
  .admin-panel {
    animation-timeline: auto;
  }
}

/* Real image sections and admin uploads */
.market-panel {
  grid-template-columns: minmax(0, .85fr) minmax(280px, .7fr) minmax(340px, .9fr);
}

.market-image,
.agent-image {
  min-width: 0;
  margin: 0;
}

.market-image img,
.agent-image img,
.advisory-image,
.category-grid a img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.market-image img,
.agent-image img {
  min-height: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.agent-panel {
  grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr) minmax(250px, .72fr);
}

.agent-image img {
  aspect-ratio: 4 / 3.6;
}

.category-grid a {
  background: #0c2618;
}

.category-grid a img {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform .7s var(--ease-soft), filter .45s var(--ease-soft);
}

.category-grid a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 28, 18, .02), rgba(10, 28, 18, .9));
}

.category-grid a:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.category-grid small,
.category-grid span,
.category-grid em {
  z-index: 2;
}

.section.advisory-band {
  grid-template-columns: minmax(0, .95fr) minmax(0, .9fr) minmax(180px, .45fr) auto;
}

.advisory-image {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(16, 60, 40, .16);
}

.admin-form input[type="file"] {
  min-height: 54px;
  padding: 12px;
  color: #405046;
  cursor: pointer;
}

.admin-form input[type="file"]::file-selector-button {
  min-height: 34px;
  margin-right: 12px;
  padding: 0 14px;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.admin-property-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 10px 0;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

@media (max-width: 1180px) {
  .market-panel,
  .agent-panel,
  .section.advisory-band {
    grid-template-columns: 1fr 1fr;
  }

  .market-metrics,
  .section.advisory-band .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .market-panel,
  .agent-panel,
  .section.advisory-band {
    grid-template-columns: 1fr;
  }

  .market-metrics,
  .section.advisory-band .button {
    grid-column: auto;
  }

  .market-image img,
  .agent-image img,
  .advisory-image {
    aspect-ratio: 16 / 10;
  }
}

/* Private panel button */
.admin-access {
  color: #fff;
  background: linear-gradient(135deg, #bb8b37, #8d672c);
  border-color: rgba(187, 139, 55, .7);
  box-shadow: 0 12px 28px rgba(141, 103, 44, .22);
}

.admin-access:hover {
  color: #fff;
  background: linear-gradient(135deg, #103c28, #082719);
  border-color: #103c28;
}

/* Sticky navigation polish */
:root {
  --header-offset: 104px;
}

html {
  scroll-padding-top: var(--header-offset);
}

[id] {
  scroll-margin-top: var(--header-offset);
}

.site-header {
  position: fixed;
  z-index: 1000;
  transform: translateZ(0);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.site-header.is-scrolled {
  box-shadow: 0 16px 42px rgba(16, 23, 18, .14);
}

.site-nav {
  min-width: 0;
}

.site-nav a {
  white-space: nowrap;
}

.menu-toggle {
  position: relative;
  z-index: 2;
}

.menu-toggle span:not(.sr-only) {
  transition: transform .22s var(--ease-out), opacity .22s var(--ease-out);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1180px) {
  :root {
    --header-offset: 96px;
  }

  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}

@media (max-width: 980px) {
  :root {
    --header-offset: 92px;
  }

  .site-header {
    position: fixed;
    z-index: 1000;
  }

  .site-nav.is-open {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    max-height: min(72vh, 560px);
    overflow-y: auto;
    padding: 10px;
    background: rgba(255, 253, 248, .98);
    border: 1px solid rgba(222, 214, 200, .95);
    box-shadow: 0 24px 70px rgba(16, 23, 18, .18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .site-nav.is-open a {
    min-height: 46px;
    justify-content: flex-start;
    border-radius: 8px;
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-offset: 84px;
  }

  .site-header {
    padding: 10px 12px;
  }
}

/* Ecoagrado 2026 — editorial home */
.home-page {
  --forest: #153c2b;
  --forest-deep: #0c281d;
  --clay: #b75b39;
  --sand: #e8ddc8;
  --cream: #f5f0e7;
  --charcoal: #22251f;
  --quiet: #6b7066;
  font-family: "DM Sans", sans-serif;
  color: var(--charcoal);
  background: var(--cream);
}

.home-page h1,
.home-page h2,
.home-page .market-metrics strong,
.home-page .hero-stats dt {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.035em;
}

.home-page .site-header {
  grid-template-columns: 190px 1fr auto auto;
  gap: 22px;
  padding: 15px max(24px, calc((100vw - 1280px) / 2));
  background: rgba(245, 240, 231, .94);
  border-bottom: 1px solid rgba(34, 37, 31, .13);
  box-shadow: none;
}

.home-page .brand img { width: 166px; }
.home-page .site-nav { gap: 24px; font-size: 13px; font-weight: 600; }
.home-page .site-nav a { padding: 8px 0; border-radius: 0; }
.home-page .site-nav a:hover,
.home-page .site-nav a.is-active { color: var(--clay); background: transparent; }
.home-page .admin-access {
  padding: 8px 0;
  color: var(--quiet);
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 12px;
  font-weight: 600;
}
.home-page .header-cta {
  padding: 12px 17px;
  color: var(--cream);
  background: var(--forest);
  border-radius: 2px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
}
.home-page .header-cta span { margin-left: 9px; }

.home-page .hero {
  min-height: 790px;
  align-items: center;
  padding: 160px max(24px, calc((100vw - 1280px) / 2)) 120px;
  background: var(--forest-deep);
}
.home-page .hero-media { left: 46%; transform: none; }
.home-page .hero-slide { background-position: center; transform: scale(1.025); }
.home-page .hero-slide.is-active { transform: scale(1); }
.home-page .hero-overlay {
  background:
    linear-gradient(90deg, var(--forest-deep) 0 38%, rgba(12, 40, 29, .91) 47%, rgba(12, 40, 29, .12) 76%),
    linear-gradient(0deg, rgba(12, 40, 29, .35), transparent 45%);
}
.home-page .hero-content { width: min(660px, 53vw); }
.home-page .eyebrow {
  margin-bottom: 20px;
  color: var(--clay);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}
.home-page .hero .eyebrow { color: #e8a07f; }
.home-page .hero h1 {
  max-width: 650px;
  color: #f8f3ea;
  font-size: clamp(56px, 6.4vw, 91px);
  line-height: .96;
}
.home-page .hero-copy {
  max-width: 590px;
  margin-top: 28px;
  color: rgba(248, 243, 234, .73);
  font-size: 17px;
  line-height: 1.65;
}
.home-page .hero-actions { margin-top: 32px; }
.home-page .button {
  min-height: 49px;
  padding: 0 20px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
}
.home-page .button.primary { background: var(--clay); }
.home-page .button.secondary { background: var(--forest); }
.home-page .button.ghost { color: #f8f3ea; background: transparent; border-color: rgba(248,243,234,.38); }
.home-page .hero-stats {
  width: 640px;
  margin-top: 50px;
  gap: 0;
  border-top: 1px solid rgba(248,243,234,.25);
  border-radius: 0;
  background: transparent;
}
.home-page .hero-stats div {
  padding: 18px 18px 0 0;
  background: transparent;
  backdrop-filter: none;
}
.home-page .hero-stats dt { font-size: 20px; }
.home-page .hero-stats dd { font-size: 12px; }
.home-page .hero-dots { right: max(24px, calc((100vw - 1280px) / 2)); bottom: 26px; }
.home-page .hero-dots button { width: 28px; height: 2px; border: 0; border-radius: 0; background: rgba(255,255,255,.38); }
.home-page .hero-dots button.is-active { width: 54px; background: #fff; }
.home-page .hero-feature-card { display: none !important; }

.home-page .quick-search {
  width: min(1120px, calc(100% - 48px));
  margin-top: -54px;
  padding: 68px 22px 20px;
  border: 1px solid #ded4c2;
  border-radius: 2px;
  box-shadow: 0 18px 55px rgba(33, 39, 30, .11);
}
.home-page .search-tabs { left: 22px; top: 15px; padding: 0; gap: 24px; background: none; }
.home-page .search-tabs a { min-height: 34px; padding: 0; border-radius: 0; border-bottom: 2px solid transparent; color: var(--quiet); }
.home-page .search-tabs a.is-active,
.home-page .search-tabs a:hover { color: var(--forest); background: none; border-color: var(--clay); }
.home-page select,
.home-page input,
.home-page textarea { border-radius: 2px; border-color: #d9cfbd; }

.home-page .trust-strip,
.home-page .section.intro,
.home-page .agent-panel,
.home-page .service-suite,
.home-page .process,
.home-page .stories,
.home-page .advisory-band { display: none; }

.home-page .market-panel,
.home-page .section,
.home-page .contact { width: min(1280px, calc(100% - 48px)); }
.home-page .market-panel {
  grid-template-columns: 1.05fr .85fr 1fr;
  gap: 0;
  margin-top: 120px;
  align-items: stretch;
  border-top: 1px solid #d5cab7;
  border-bottom: 1px solid #d5cab7;
}
.home-page .market-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 56px 54px 0;
  color: var(--charcoal);
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.home-page .market-copy h2 { color: var(--forest-deep); font-size: clamp(43px, 4.8vw, 66px); line-height: 1; }
.home-page .market-copy p:not(.eyebrow) { color: var(--quiet); font-size: 15px; }
.home-page .market-image { margin: 0; overflow: hidden; }
.home-page .market-image img { width: 100%; height: 100%; min-height: 490px; object-fit: cover; border-radius: 0; }
.home-page .market-metrics { gap: 0; padding-left: 40px; }
.home-page .market-metrics article {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-content: center;
  padding: 26px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid #d5cab7;
  border-radius: 0;
  box-shadow: none;
}
.home-page .market-metrics article:last-child { border-bottom: 0; }
.home-page .market-metrics svg { display: none; }
.home-page .market-metrics span { grid-row: 1 / 4; color: var(--clay); }
.home-page .market-metrics strong { margin: 0; color: var(--forest); font-size: 26px; }
.home-page .market-metrics p { margin: 5px 0 0; font-size: 13px; }

.home-page .section { padding: 118px 0; }
.home-page .section-heading { max-width: 820px; margin-bottom: 45px; }
.home-page .section h2,
.home-page .contact h2 { color: var(--forest-deep); font-size: clamp(46px, 5vw, 68px); line-height: 1; }
.home-page .properties { border-bottom: 1px solid #d5cab7; }
.home-page .property-filters { gap: 0; margin-bottom: 28px; border-bottom: 1px solid #d5cab7; }
.home-page .property-filters a { padding: 0 20px; border: 0; border-radius: 0; background: none; }
.home-page .property-filters a:first-child { padding-left: 0; }
.home-page .property-filters a.is-active,
.home-page .property-filters a:hover { color: var(--clay); background: none; }
.home-page .property-card { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.home-page .property-card::before { border-radius: 2px; background: var(--forest-deep); }
.home-page .property-card img { aspect-ratio: 4 / 3; }
.home-page .property-body { padding: 18px 0; }
.home-page .text-link { color: var(--forest); border-bottom: 1px solid var(--clay); font-size: 13px; }

.home-page .services { grid-template-columns: 1.05fr .95fr; gap: clamp(50px, 8vw, 110px); }
.home-page .service-media { position: relative; }
.home-page .service-media::after {
  content: "Trabajo de terreno";
  position: absolute;
  right: -22px;
  bottom: 32px;
  padding: 12px 16px;
  color: var(--cream);
  background: var(--clay);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-page .service-media img { aspect-ratio: 5 / 6; border-radius: 0; box-shadow: none; filter: saturate(.8); }
.home-page .check-list { border-top: 1px solid #d5cab7; }
.home-page .check-list li {
  display: block;
  min-height: 0;
  padding: 15px 0 15px 30px;
  background: none;
  border: 0;
  border-bottom: 1px solid #d5cab7;
  border-radius: 0;
}
.home-page .check-list li::before { display: block; top: 19px; width: 9px; height: 9px; background: var(--clay); }
.home-page .check-list svg { display: none; }

.home-page .categories { padding-top: 40px; }
.home-page .category-grid { grid-template-columns: repeat(12, 1fr); gap: 10px; }
.home-page .category-grid a { grid-column: span 2; min-height: 330px; padding: 20px; border-radius: 0; }
.home-page .category-grid a:first-child { grid-column: span 4; }
.home-page .category-grid a img { transform: scale(1.01); transition: transform .6s ease; }
.home-page .category-grid a:hover { transform: none; }
.home-page .category-grid a:hover img { transform: scale(1.055); }
.home-page .category-grid span { font-family: "Fraunces", Georgia, serif; font-weight: 500; }

.home-page .section.credit-simulator {
  grid-template-columns: .8fr 1.2fr;
  margin-top: 20px;
  padding: 58px;
  background: #e8dfd0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.home-page .coopeuch-brand { border-radius: 2px; box-shadow: none; }
.home-page .credit-copy h2 { font-size: clamp(42px, 4vw, 58px); }
.home-page .credit-form { border-radius: 2px; border: 0; }
.home-page .credit-results div { border-radius: 2px; background: var(--cream); }

.home-page .contact {
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(50px, 8vw, 110px);
  margin-top: 80px;
  margin-bottom: 0;
  padding: 90px max(40px, 6vw);
  color: var(--cream);
  background: var(--forest-deep);
  border-radius: 0;
}
.home-page .contact > div { align-self: center; }
.home-page .contact h2 { color: var(--cream); }
.home-page .contact-form { padding-left: 30px; border-left: 1px solid rgba(245,240,231,.18); }
.home-page .contact-card { grid-column: 1 / -1; display: flex; padding: 22px 0 0; border-top: 1px solid rgba(245,240,231,.18); border-radius: 0; background: none; }
.home-page .contact-card strong { margin-right: auto; }
.home-page .site-footer { padding: 36px; background: #071c14; }
.home-page .site-footer img { width: 170px; }

@media (max-width: 980px) {
  .home-page .site-header { grid-template-columns: 1fr auto auto; padding-inline: 20px; }
  .home-page .menu-toggle { display: block; grid-column: 3; border-radius: 2px; }
  .home-page .header-cta { display: none; }
  .home-page .hero-media { left: 28%; }
  .home-page .hero-content { width: min(680px, 88vw); }
  .home-page .hero-overlay { background: linear-gradient(90deg, rgba(12,40,29,.98), rgba(12,40,29,.72) 65%, rgba(12,40,29,.34)); }
  .home-page .quick-search { grid-template-columns: 1fr 1fr; }
  .home-page .market-panel { grid-template-columns: 1fr 1fr; }
  .home-page .market-copy { padding-right: 38px; }
  .home-page .market-image { grid-column: 2; }
  .home-page .market-metrics { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); padding: 0; }
  .home-page .market-metrics article { padding: 26px 20px; border-bottom: 0; border-right: 1px solid #d5cab7; }
  .home-page .services { gap: 45px; }
  .home-page .category-grid a,
  .home-page .category-grid a:first-child { grid-column: span 4; }
  .home-page .section.credit-simulator { grid-template-columns: 1fr; padding: 42px; }
  .home-page .contact { grid-template-columns: 1fr; }
  .home-page .contact-form { padding: 0; border: 0; }
}

@media (max-width: 640px) {
  .home-page .site-header { padding: 10px 14px; }
  .home-page .brand img { width: 142px; }
  .home-page .admin-access { display: none; }
  .home-page .hero { min-height: 720px; padding: 140px 20px 82px; align-items: end; }
  .home-page .hero-media { left: 0; }
  .home-page .hero-overlay { background: linear-gradient(0deg, rgba(12,40,29,.98) 0 36%, rgba(12,40,29,.72) 72%, rgba(12,40,29,.18)); }
  .home-page .hero-content { width: 100%; }
  .home-page .hero h1 { font-size: clamp(49px, 15vw, 68px); }
  .home-page .hero-copy { font-size: 15px; }
  .home-page .hero-stats { display: none; }
  .home-page .hero-dots { display: none; }
  .home-page .quick-search { width: calc(100% - 28px); grid-template-columns: 1fr; margin-top: -20px; }
  .home-page .market-panel,
  .home-page .section,
  .home-page .contact { width: calc(100% - 28px); }
  .home-page .market-panel { grid-template-columns: 1fr; margin-top: 80px; }
  .home-page .market-copy { padding: 44px 0; }
  .home-page .market-image { grid-column: auto; }
  .home-page .market-image img { min-height: 330px; }
  .home-page .market-metrics { grid-column: auto; grid-template-columns: 1fr; }
  .home-page .market-metrics article { border-right: 0; border-bottom: 1px solid #d5cab7; }
  .home-page .section { padding: 82px 0; }
  .home-page .section h2,
  .home-page .contact h2 { font-size: 43px; }
  .home-page .section-heading.split { align-items: start; }
  .home-page .properties .section-heading.split { flex-direction: column; }
  .home-page .property-filters { flex-wrap: nowrap; overflow-x: auto; }
  .home-page .services { grid-template-columns: 1fr; }
  .home-page .service-media::after { right: -7px; }
  .home-page .category-grid { grid-template-columns: 1fr; }
  .home-page .category-grid a,
  .home-page .category-grid a:first-child { grid-column: auto; min-height: 235px; }
  .home-page .section.credit-simulator { padding: 28px 18px; }
  .home-page .credit-results { grid-template-columns: 1fr; }
  .home-page .contact { padding: 62px 24px 34px; }
  .home-page .contact-card { flex-direction: column; }
  .home-page .contact-card strong { margin: 0; }
}

/* Simulador: lenguaje visual del panel administrador */
.home-page .section.credit-simulator {
  grid-template-columns: minmax(245px, .48fr) minmax(0, 1.52fr);
  gap: 20px;
  align-items: start;
  padding: 26px;
  background: #eef1ec;
  border: 1px solid #d9dfd8;
  border-radius: 14px;
}
.home-page .credit-copy {
  position: sticky;
  top: 100px;
  display: grid;
  align-content: center;
  min-height: 520px;
  padding: clamp(24px, 3vw, 34px);
  color: #fff;
  background: #0b3527;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(7,41,30,.12);
}
.home-page .credit-copy .finance-label {
  margin-bottom: 26px;
  color: #d8efb9;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
}
.home-page .credit-copy .eyebrow { color: #a8d36f; }
.home-page .credit-copy h2 { color: #fff; font-size: clamp(34px, 3.3vw, 46px); }
.home-page .credit-copy > p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.home-page .credit-points { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.home-page .credit-points li { color: rgba(255,255,255,.9); font-size: 13px; }
.home-page .credit-points li::before { background: #a8d36f; }

.home-page .credit-form {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 12px;
  padding: 20px;
  background: #f8f9f6;
  border: 1px solid #d9dfd8;
  border-radius: 12px;
  box-shadow: none;
  backdrop-filter: none;
}
.home-page .credit-form-heading {
  grid-column: 1 / -1;
  align-items: center;
  margin-bottom: 2px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d9dfd8;
}
.home-page .credit-form-heading > div { gap: 3px; }
.home-page .credit-form-heading > div > span { color: #d76238; font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.home-page .credit-form-heading strong { color: #0b3527; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.035em; }
.home-page .credit-form-heading small { color: #68766e; font-size: 12px; font-weight: 500; }
.home-page .credit-updated {
  flex: 0 0 auto;
  padding: 8px 10px;
  color: #3e5d4c;
  background: #eef3ef;
  border: 1px solid #d9dfd8;
  border-radius: 7px;
}

.home-page .credit-admin-card {
  min-width: 0;
  margin: 0;
  padding: 17px;
  background: #fff;
  border: 1px solid #d9dfd8;
  border-radius: 12px;
}
.home-page .credit-admin-card > legend {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  margin: 0 0 14px;
  padding: 0 8px 0 0;
  color: #16231b;
}
.home-page .credit-admin-card > legend > span:first-child {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: #14543b;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
}
.home-page .credit-admin-card .legend-copy { display: grid; gap: 2px; }
.home-page .credit-admin-card legend strong { font-size: 15px; }
.home-page .credit-admin-card legend small { color: #68766e; font-size: 11px; font-weight: 500; }
.home-page .credit-controls { gap: 16px; }
.home-page .credit-form label,
.home-page .credit-term-label {
  gap: 7px;
  color: #4f5d55;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.home-page .credit-form input:not([type="radio"]):not([type="range"]),
.home-page .credit-form select {
  min-height: 46px;
  padding: 0 12px;
  border-color: #cfd6d0;
  border-radius: 8px;
  background: #fff;
}
.home-page .credit-form input:focus,
.home-page .credit-form select:focus { outline: 3px solid rgba(119,184,42,.14); border-color: #77b82a; }
.home-page .money-field { border-color: #cfd6d0; border-radius: 8px; }
.home-page .money-field input { border-radius: 0 8px 8px 0; }
.home-page .credit-controls label small { color: #7b877f; font-size: 10px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.home-page .credit-slider-block {
  margin-top: 12px;
  padding: 12px 14px;
  background: #f2f5f1;
  border-color: #d9dfd8;
  border-radius: 9px;
}
.home-page .credit-slider-block output { color: #d76238; }
.home-page .credit-term { margin-top: 12px; }
.home-page .credit-term-label { display: block; margin-bottom: 8px; }
.home-page .term-options span { border-color: #cfd6d0; border-radius: 8px; }
.home-page .term-options input:checked + span { border-color: #14543b; background: #14543b; }

.home-page .selected-rate {
  grid-template-columns: 118px 1fr;
  margin-bottom: 9px;
  padding: 12px 14px;
  background: #0b3527;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(7,41,30,.1);
}
.home-page .credit-results { gap: 7px; }
.home-page .credit-results div {
  padding: 11px;
  background: #f5f7f3;
  border-color: #d9dfd8;
  border-radius: 9px;
}
.home-page .credit-results .is-featured { background: #fff2eb; border-color: #edc3b2; }
.home-page .credit-results strong { color: #14543b; }

.home-page .bank-comparison-wrap { display: block; grid-column: 1 / -1; padding-top: 17px; }
.home-page .bank-comparison { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.home-page .bank-option { border-color: #d9dfd8; border-radius: 9px; }
.home-page .bank-option.is-selected { border-color: #14543b; box-shadow: inset 0 0 0 1px #14543b; }
.home-page .bank-option button { padding: 11px 12px; }
.home-page .bank-option button > strong { font-size: 15px; }
.home-page .bank-rate { font-size: 18px; }
.home-page .bank-payment { font-size: 12px; }
.home-page .bank-option > a { padding: 7px 12px; }
.home-page .bank-option > a { background: #f5f7f3; border-color: #d9dfd8; }

.home-page .credit-publish-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px;
  background: rgba(255,255,255,.96);
  border: 1px solid #d9dfd8;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(13,61,44,.12);
  backdrop-filter: blur(12px);
}
.home-page .credit-publish-bar .form-note { max-width: 58%; color: #68766e; font-size: 10px; font-weight: 500; }
.home-page .credit-publish-bar .button { flex: 0 0 auto; min-height: 46px; background: #d76238; border-radius: 8px; }
.home-page .credit-publish-bar .button:hover { background: #b94f2b; }

@media (max-width: 980px) {
  .home-page .section.credit-simulator { grid-template-columns: 1fr; padding: 20px; }
  .home-page .credit-copy { position: static; min-height: auto; }
  .home-page .credit-form { grid-template-columns: 1fr; }
  .home-page .credit-form-heading,
  .home-page .bank-comparison-wrap,
  .home-page .credit-publish-bar { grid-column: auto; }
  .home-page .bank-comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .home-page .section.credit-simulator { padding: 10px; border-radius: 10px; }
  .home-page .credit-copy { padding: 26px 22px; }
  .home-page .credit-form { padding: 16px; }
  .home-page .credit-form-heading { align-items: start; }
  .home-page .credit-admin-card { padding: 18px; }
  .home-page .selected-rate { grid-template-columns: 1fr; }
  .home-page .credit-publish-bar { position: static; align-items: stretch; flex-direction: column; }
  .home-page .credit-publish-bar .form-note { max-width: none; }
  .home-page .credit-publish-bar .button { width: 100%; }
  .home-page .bank-comparison { grid-template-columns: 1fr; }
}
.floating-uf-card {
  position: fixed;
  left: max(22px, env(safe-area-inset-left));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 999;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 11px;
  width: min(250px, calc(100vw - 104px));
  min-height: 76px;
  padding: 11px 12px;
  color: #073b2a;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(7, 59, 42, 0.16);
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(4, 35, 25, 0.18);
  backdrop-filter: blur(12px);
}

.floating-uf-mark {
  display: grid;
  width: 42px;
  height: 42px;
  color: #fff;
  background: #0b543d;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.04em;
  place-items: center;
}

.floating-uf-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.15;
}

.floating-uf-copy small {
  color: #637169;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-uf-copy strong {
  margin-top: 3px;
  color: #073b2a;
  font-size: 18px;
  font-weight: 950;
  white-space: nowrap;
}

.floating-uf-copy > span {
  margin-top: 3px;
  overflow: hidden;
  color: #6d7972;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.floating-uf-card > a {
  display: grid;
  width: 26px;
  height: 26px;
  color: #0b543d;
  background: #eef4ef;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  place-items: center;
}

.floating-uf-card > a:hover { color: #fff; background: #0b543d; }
.floating-uf-card.has-error .floating-uf-mark { background: #69756e; }

@media (max-width: 520px) {
  .floating-uf-card {
    left: max(12px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
    grid-template-columns: 36px minmax(0, 1fr) 24px;
    gap: 8px;
    width: min(218px, calc(100vw - 82px));
    min-height: 64px;
    padding: 9px;
    border-radius: 14px;
  }
  .floating-uf-mark { width: 36px; height: 36px; border-radius: 10px; font-size: 11px; }
  .floating-uf-copy strong { font-size: 15px; }
  .floating-uf-copy > span { font-size: 8px; }
}
