/* =========================================================
   LEGATRIA — VARIABLES
   ========================================================= */

:root {
  --navy: #061b31;
  --navy-2: #0b2b49;
  --blue: #123d63;

  --gold: #d7b56d;
  --gold-2: #ead49e;

  --ink: #15202b;
  --muted: #68717b;

  --cream: #f4f1e9;
  --white: #ffffff;
  --line: #dfe3e7;

  --shadow: 0 18px 45px rgba(7, 26, 44, 0.12);
}


/* =========================================================
   RESET / BASE
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
}

body,
button,
input,
select,
textarea {
  font-family: Inter, system-ui, sans-serif;
}

img {
  max-width: 100%;
}

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

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

button {
  cursor: pointer;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}


/* =========================================================
   FOCUS / ACCESIBILIDAD
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.property-card:focus-visible {
  outline: 3px solid rgba(215, 181, 109, 0.75);
  outline-offset: 3px;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(5, 24, 43, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);

  backdrop-filter: blur(12px);
}

.header-row {
  height: 82px;

  display: flex;
  align-items: center;

  gap: 28px;
}

.brand {
  width: 164px;
  flex: none;
  display: block;
}

.brand img {
  display: block;

  width: 100%;
  height: 64px;

  object-fit: contain;
  object-position: left center;
}


/* =========================================================
   NAVEGACIÓN
   ========================================================= */

.main-nav {
  margin-left: auto;

  display: flex;
  align-items: center;

  gap: 23px;
}

.main-nav a {
  position: relative;

  padding: 31px 0;

  color: #edf2f6;

  font-size: 13px;
  font-weight: 600;
}

.main-nav a::after {
  content: "";

  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;

  height: 1px;

  background: var(--gold);

  transition: right 0.25s ease;
}

.main-nav a:hover::after {
  right: 0;
}

.header-cta {
  padding: 12px 16px;

  border-radius: 2px;

  background: var(--gold);

  font-size: 12px;
  font-weight: 700;

  white-space: nowrap;
}

.menu-toggle {
  display: none;

  padding: 4px;

  border: 0;

  background: transparent;
  color: var(--white);

  font-size: 28px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;

  min-height: 655px;

  overflow: hidden;

  background: var(--navy);
  color: var(--white);
}

.hero-photo {
  position: absolute;
  inset: 0;

  background:
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2000&q=88")
    center / cover
    no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(4, 22, 39, 0.96) 0%,
    rgba(4, 22, 39, 0.82) 36%,
    rgba(4, 22, 39, 0.36) 68%,
    rgba(4, 22, 39, 0.36) 100%
  );
}

.hero-grid {
  position: relative;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;

  gap: 70px;

  padding: 82px 0 185px;
}

.hero-copy {
  max-width: 710px;
}

.kicker {
  margin: 0 0 16px;

  color: var(--gold-2);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.18em;
}

.kicker.dark {
  color: #8f7440;
}

.hero h1,
.section h2,
.legal-story h2,
.credits h2,
.trust-copy h2,
.contact h2 {
  font-family: "Cormorant Garamond", serif;
}

.hero h1 {
  margin: 0 0 24px;

  font-size: 72px;
  font-weight: 600;

  line-height: 0.9;

  letter-spacing: -0.02em;
}

.hero-lead {
  max-width: 650px;

  color: #e7edf2;

  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 13px;

  margin-top: 32px;
}


/* =========================================================
   BOTONES
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 16px;

  padding: 14px 20px;

  border: 0;
  border-radius: 2px;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(
    135deg,
    var(--gold-2),
    var(--gold)
  );

  color: #1b2835;

  box-shadow:
    0 9px 25px rgba(215, 181, 109, 0.2);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.65);

  background: rgba(5, 25, 43, 0.35);

  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.full {
  width: 100%;
}


/* =========================================================
   SELLO HERO
   ========================================================= */

.hero-seal {
  align-self: start;

  padding: 34px 28px;

  border: 1px solid rgba(255, 255, 255, 0.15);

  background: rgba(7, 27, 46, 0.78);

  text-align: center;

  box-shadow: var(--shadow);
  backdrop-filter: blur(7px);
}

.hero-seal strong {
  display: block;

  font-size: 11px;

  letter-spacing: 0.25em;
}

.seal-mark {
  margin: 2px 0 9px;

  color: var(--white);

  font-size: 36px;
}

.seal-rule {
  height: 1px;

  margin: 25px 0;

  background: rgba(255, 255, 255, 0.25);
}

.hero-seal p {
  margin: 25px 0 0;

  color: #f7ead0;

  font-family: "Cormorant Garamond", serif;
  font-size: 18px;

  line-height: 1.4;
  letter-spacing: 0.14em;
}


/* =========================================================
   BUSCADOR DE PROPIEDADES
   ========================================================= */

.search-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  background: linear-gradient(
    90deg,
    #082744,
    #0d426d
  );
}

.property-search {
  position: relative;

  padding: 20px 0 26px;
}

.search-tabs {
  position: absolute;
  top: -43px;
  left: 0;

  display: flex;
}

.search-tab {
  padding: 13px 26px;

  border: 0;
  border-radius: 3px 3px 0 0;

  background: #0a2844;
  color: var(--white);

  font-weight: 700;
}

.search-tab.active {
  background: var(--white);
  color: var(--navy);
}

.search-fields {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;

  gap: 0;

  overflow: visible;

  border-radius: 3px;

  background: var(--white);
}

.field-location {
  position: relative;
}

.location-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;

  max-height: 280px;
  overflow-y: auto;

  background: #ffffff;
  border: 1px solid #dfe3e7;
  border-top: 0;

  box-shadow: 0 14px 30px rgba(7, 26, 44, 0.18);
}

.location-suggestions[hidden] {
  display: none;
}

.location-suggestions button {
  width: 100%;
  display: block;

  padding: 12px 16px;

  border: 0;
  border-bottom: 1px solid #edf0f2;

  background: #ffffff;
  color: #27323d;

  text-align: left;
  font-size: 13px;

  cursor: pointer;
}

.location-suggestions button:last-child {
  border-bottom: 0;
}

.location-suggestions button:hover,
.location-suggestions button:focus {
  background: #f4f1e9;
  outline: none;
}

.field {
  display: flex;
  flex-direction: column;

  padding: 10px 16px;

  border-right: 1px solid var(--line);
}

.field span {
  color: #8b9298;

  font-size: 10px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.field input,
.field select {
  padding: 5px 0;

  border: 0;
  outline: none;

  background: var(--white);

  color: #27323d;
}

.search-submit {
  padding-right: 35px;
  padding-left: 35px;

  border-radius: 0;
}

.advanced {
  display: block;

  margin: 13px 0 0 auto;

  border: 0;

  background: transparent;

  color: #dce8f1;

  font-size: 12px;
}

.advanced-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 210px));
  justify-content: end;

  gap: 10px;

  margin-top: 14px;
}

.advanced-panel[hidden] {
  display: none;
}

.advanced-panel label {
  color: var(--white);

  font-size: 11px;
}

.advanced-panel select {
  width: 100%;

  margin-top: 5px;
  padding: 9px;

  border: 1px solid rgba(255, 255, 255, 0.2);

  background: var(--white);
}


/* =========================================================
   SECCIONES GENERALES
   ========================================================= */

.section {
  padding: 88px 0;
}

.section-heading h2 {
  margin: 0 0 8px;

  color: var(--navy);

  font-size: 48px;
  font-weight: 600;

  line-height: 1;
}

.section-heading p:not(.kicker) {
  margin: 0;

  color: var(--muted);
}

.row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;

  gap: 30px;

  margin-bottom: 34px;
}

.text-action {
  border: 0;

  background: transparent;

  color: var(--navy);

  font-size: 12px;
  font-weight: 700;
}


/* =========================================================
   PROPIEDADES
   ========================================================= */

.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
}

.property-card {
  overflow: hidden;

  border: 1px solid var(--line);

  background: var(--white);

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.property-card:hover {
  transform: translateY(-5px);

  box-shadow: var(--shadow);
}

.property-image {
  position: relative;

  height: 185px;

  background-position: center;
  background-size: cover;
}

.property-status {
  position: absolute;
  top: 12px;
  left: 12px;

  padding: 6px 10px;

  border-radius: 2px;

  background: var(--navy);
  color: var(--white);

  font-size: 10px;
  font-weight: 700;
}

.property-fav {
  position: absolute;
  top: 11px;
  right: 12px;

  width: 31px;
  height: 31px;

  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;

  background: rgba(6, 27, 49, 0.35);
  color: var(--white);

  font-size: 18px;

  display: grid;
  place-items: center;
}

.property-body {
  padding: 17px;
}

.property-type {
  color: #8c7445;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.13em;
}

.property-body h3 {
  margin: 6px 0 8px;

  color: var(--navy);

  font-family: "Cormorant Garamond", serif;
  font-size: 23px;

  line-height: 1.05;
}

.property-location {
  color: #707a83;

  font-size: 12px;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin: 13px 0;
  padding-top: 11px;

  border-top: 1px solid #edf0f2;

  color: #46505a;

  font-size: 11px;
}

.property-price {
  color: var(--navy);

  font-size: 15px;
  font-weight: 800;
}

.empty-state {
  padding: 44px;

  background: var(--cream);

  text-align: center;
}


/* =========================================================
   REGULARIZACIÓN
   ========================================================= */

.legal-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.legal-dark {
  padding:
    76px
    max(40px, calc((100vw - 1180px) / 2));

  padding-right: 8vw;

  background:
    linear-gradient(
      rgba(3, 23, 41, 0.91),
      rgba(3, 23, 41, 0.93)
    ),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1200&q=80")
    center / cover;

  color: var(--white);
}

.legal-light {
  padding: 76px 8vw;

  background: #f8f7f4;
}

.legal-story h2 {
  margin: 0 0 20px;

  font-size: 48px;

  line-height: 1;
}

.legal-dark p {
  color: #d7e1e9;

  line-height: 1.7;
}

.legal-light > p:not(.kicker) {
  color: #66727c;

  line-height: 1.7;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 13px;

  margin: 28px 0 30px;
  padding: 0;

  list-style: none;
}

.check-list li::before {
  content: "✓";

  margin-right: 8px;

  color: var(--gold);

  font-weight: 900;
}

.legal-steps {
  display: grid;

  gap: 12px;

  margin-top: 28px;
}

.legal-steps article {
  display: grid;
  grid-template-columns: 44px 1fr;

  align-items: start;

  gap: 15px;
}

.legal-steps article > span {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  background: var(--navy);
  color: var(--white);

  font-size: 11px;
  font-weight: 700;
}

.legal-steps strong {
  color: var(--navy);
}

.legal-steps p {
  margin: 4px 0;

  color: #68737c;

  font-size: 13px;
}

.disclaimer {
  margin-top: 25px;
  padding-top: 18px;

  border-top: 1px solid #ddd8cc;

  font-size: 11px !important;
}


/* =========================================================
   SERVICIOS
   ========================================================= */

.centered {
  max-width: 760px;

  margin: 0 auto 38px;

  text-align: center;
}

.needs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 16px;
}

.need-card {
  min-height: 285px;

  display: flex;
  flex-direction: column;

  padding: 27px 25px;

  border: 1px solid var(--line);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.need-card:hover {
  transform: translateY(-3px);

  border-color: var(--gold);

  box-shadow: var(--shadow);
}

.need-icon {
  color: #9b7d3e;

  font-size: 38px;
}

.need-card h3 {
  margin: 18px 0 8px;

  color: var(--navy);

  font-family: "Cormorant Garamond", serif;
  font-size: 31px;
}

.need-card p {
  color: #6b747d;

  font-size: 13px;

  line-height: 1.6;
}

.need-card b {
  margin-top: auto;

  color: var(--navy);

  font-size: 12px;
}


/* =========================================================
   CRÉDITOS
   ========================================================= */

.credits {
  padding: 64px 0;

  background: linear-gradient(
    90deg,
    #061b31,
    #0d3a5f
  );

  color: var(--white);
}

.credits-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr auto;

  align-items: center;

  gap: 45px;
}

.credits h2 {
  margin: 0 0 9px;

  font-size: 42px;
}

.credits p {
  margin: 0;

  color: #cbd7e0;

  line-height: 1.6;
}

.credit-badges {
  display: grid;
  grid-template-columns: repeat(5, 1fr);

  gap: 10px;
}

.credit-badge {
  min-height: 112px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 7px;

  padding: 12px 8px 11px;

  border: 1px solid rgba(255, 255, 255, 0.45);

  background: var(--white);
  color: var(--navy);

  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.12);

  text-align: center;

  font-size: 10px;
  font-weight: 800;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.credit-badge:hover {
  transform: translateY(-3px);

  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.18);
}

.credit-badge img {
  display: block;

  width: 72px;
  height: 48px;

  object-fit: contain;
}

.credit-badge span {
  display: block;

  line-height: 1.15;
  letter-spacing: 0.03em;
}


/* =========================================================
   PROCESO
   ========================================================= */

.process-line {
  position: relative;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.process-line::before {
  content: "";

  position: absolute;
  top: 21px;
  right: 8%;
  left: 8%;

  height: 1px;

  background: #d5d9dd;
}

.process-line article {
  position: relative;

  padding: 0 16px;

  text-align: center;
}

.process-line span {
  position: relative;
  z-index: 1;

  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  margin: 0 auto 18px;

  border-radius: 50%;

  background: var(--navy);
  color: var(--white);

  font-weight: 800;
}

.process-line h3 {
  color: var(--navy);

  font-size: 14px;
}

.process-line p {
  color: #69737c;

  font-size: 12px;

  line-height: 1.55;
}


/* =========================================================
   CONFIANZA
   ========================================================= */

.trust-band {
  min-height: 340px;

  display: grid;
  grid-template-columns: 1fr 1.25fr 0.75fr;

  background: var(--cream);
}

.trust-photo {
  background:
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=900&q=80")
    center / cover;
}

.trust-copy {
  padding: 58px 5vw;
}

.trust-copy h2 {
  margin: 0 0 28px;

  color: var(--navy);

  font-size: 42px;

  line-height: 1;
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 15px;
}

.trust-points div {
  color: var(--navy);

  text-align: center;

  font-size: 11px;
}

.trust-points span {
  display: block;

  margin-bottom: 7px;

  font-size: 28px;
}

.consult-box {
  margin: auto 35px auto 0;
  padding: 28px;

  border: 1px solid #dedede;

  background: var(--white);

  box-shadow: var(--shadow);
}

.consult-box h3 {
  margin: 0 0 6px;

  color: var(--navy);

  font-family: "Cormorant Garamond", serif;
  font-size: 31px;
}

.consult-box p {
  color: #68727b;

  font-size: 12px;

  line-height: 1.6;
}


/* =========================================================
   CONTACTO
   ========================================================= */

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;

  align-items: start;

  gap: 70px;
}

.contact h2 {
  margin: 0 0 14px;

  color: var(--navy);

  font-size: 48px;

  line-height: 1;
}

.contact-copy > p:not(.kicker) {
  color: #68727b;

  line-height: 1.7;
}

.contact-meta {
  display: grid;

  gap: 9px;

  margin-top: 18px;

  color: var(--navy);

  font-size: 13px;
  font-weight: 700;
}


/* =========================================================
   FORMULARIO
   ========================================================= */

.lead-form {
  padding: 30px;

  border: 1px solid #e1dfd7;

  background: #f7f6f2;
}

.form-grid.two {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 14px;
}

.lead-form label {
  display: block;

  margin-bottom: 12px;

  color: #34404b;

  font-size: 11px;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;

  margin-top: 7px;
  padding: 13px;

  border: 1px solid #d3d6d9;
  border-radius: 2px;

  outline: none;

  background: var(--white);
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: #7d9ab2;

  box-shadow:
    0 0 0 3px rgba(18, 61, 99, 0.07);
}

.privacy {
  display: flex !important;
  align-items: flex-start;

  gap: 8px;

  font-weight: 500 !important;

  line-height: 1.5;
}

.privacy input {
  width: auto;

  margin: 2px 0 0;
}

.form-note {
  margin-bottom: 0;

  color: #7b848c;

  font-size: 11px;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  padding: 52px 0 22px;

  background: #04182b;
  color: #aebdca;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr 0.8fr 1.2fr;

  gap: 45px;
}

.footer-brand img {
  width: 190px;
  height: 88px;

  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  max-width: 330px;

  font-size: 12px;

  line-height: 1.65;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;

  gap: 10px;

  font-size: 12px;
}

.footer-grid strong {
  margin-bottom: 5px;

  color: var(--white);
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;

  gap: 20px;

  margin-top: 35px;
  padding-top: 18px;

  border-top:
    1px solid rgba(255, 255, 255, 0.1);

  font-size: 10px;
}


/* =========================================================
   WHATSAPP
   ========================================================= */

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;

  padding: 13px 16px;

  border-radius: 999px;

  background: #20b963;
  color: var(--white);

  box-shadow:
    0 13px 28px rgba(0, 0, 0, 0.22);

  font-size: 12px;
  font-weight: 800;
}


/* =========================================================
   MODAL
   ========================================================= */

.property-modal {
  width: min(850px, calc(100% - 30px));
  max-height: calc(100vh - 40px);

  padding: 0;

  border: 0;

  overflow-x: hidden;
  overflow-y: auto;

  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.35);
}

.property-modal::backdrop {
  background: rgba(1, 12, 23, 0.72);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 2;

  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: rgba(4, 24, 43, 0.8);
  color: var(--white);

  font-size: 24px;
}

.modal-property-image {
  height: 370px;

  background-position: center;
  background-size: cover;
}

/* =========================================================
   GALERÍA DEL MODAL DE PROPIEDADES
   ========================================================= */

.modal-property-gallery {
  width: 100%;
  background: #f3f3f3;
}


/* Imagen principal */

.modal-property-image {
  width: 100%;
  height: 370px;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}


/* Contenedor de miniaturas */

.modal-gallery-thumbs {
  display: flex;
  align-items: center;

  gap: 8px;
  padding: 10px;

  overflow-x: auto;

  background: #ffffff;
  border-bottom: 1px solid var(--line);

  scrollbar-width: thin;
}


/* Cada botón de miniatura */

.modal-gallery-thumb {
  width: 92px;
  height: 68px;

  flex: 0 0 92px;

  padding: 0;
  overflow: hidden;

  border: 2px solid transparent;
  border-radius: 2px;

  background: #eeeeee;

  cursor: pointer;
  opacity: 0.72;

  transition:
    opacity 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}


/* Imagen dentro de la miniatura */

.modal-gallery-thumb img {
  display: block;

  width: 100%;
  height: 100%;
  max-width: none;

  object-fit: cover;
}


/* Hover */

.modal-gallery-thumb:hover {
  opacity: 1;
  transform: translateY(-1px);
}


/* Fotografía seleccionada */

.modal-gallery-thumb.active {
  opacity: 1;
  border-color: var(--gold);
}



.modal-property-body {
  padding: 32px;
}

.modal-property-body h2 {
  margin: 6px 0;

  color: var(--navy);

  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
}

.modal-property-body p {
  color: #68727b;
}


/* =========================================================
   ANIMACIONES
   ========================================================= */

.reveal {
  opacity: 0;

  transform: translateY(18px);

  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;

  transform: none;
}


/* =========================================================
   TABLETS / LAPTOPS
   ========================================================= */

@media (max-width: 1040px) {

  .main-nav {
    position: absolute;
    top: 82px;
    right: 0;
    left: 0;

    display: none;
    flex-direction: column;
    align-items: flex-start;

    gap: 0;

    padding: 12px 25px 25px;

    background: var(--navy);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;

    padding: 12px 0;
  }

  .main-nav a::after {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .hero-grid {
    grid-template-columns: 1fr 200px;
  }

  .hero h1 {
    font-size: 60px;
  }

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

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

  .credit-badges {
    grid-template-columns: repeat(5, 1fr);
  }

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

  .trust-photo {
    min-height: 340px;
  }

  .consult-box {
    grid-column: 1 / -1;

    margin: 0;
    padding: 35px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

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

  .legal-story {
    grid-template-columns: 1fr;
  }

  .legal-dark,
  .legal-light {
    padding: 65px 7vw;
  }

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


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 720px) {

  .shell {
    width: min(calc(100% - 26px), 1180px);
  }

  .header-row {
    height: 72px;
  }

  .brand {
    width: 140px;
  }

  .brand img {
    height: 54px;
  }

  .main-nav {
    top: 72px;
  }

  .header-cta {
    display: none;
  }


  /* Hero */

  .hero {
      min-height: 920px;
    }
    
    .hero-grid {
      grid-template-columns: 1fr;
      padding: 62px 0 300px;
    }
    
    .hero-actions {
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
    }
    
    .hero-actions .btn {
      width: 100%;
      min-height: 56px;
      justify-content: space-between;
      padding: 16px 20px;
    }




  .hero-seal {
    display: none;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }


  /* Buscador */

  .search-fields {
    grid-template-columns: 1fr;
  }

  .field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .search-submit {
    padding: 16px;
  }

  .advanced-panel {
    grid-template-columns: 1fr 1fr;
  }


  /* Secciones */

  .section {
    padding: 66px 0;
  }

  .section-heading h2,
  .legal-story h2,
  .contact h2 {
    font-size: 39px;
  }

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


  /* Propiedades */

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

  .property-image {
    height: 230px;
  }


  /* Regularización */

  .check-list {
    grid-template-columns: 1fr;
  }


  /* Servicios */

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


  /* Créditos */

  .credit-badges {
    grid-template-columns: repeat(2, 1fr);
  }


  /* Proceso */

  .process-line {
    grid-template-columns: 1fr;

    gap: 20px;
  }

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

  .process-line article {
    display: grid;
    grid-template-columns: 50px 1fr;

    text-align: left;
  }

  .process-line span {
    grid-row: 1 / 3;

    margin: 0;
  }

  .process-line h3,
  .process-line p {
    margin: 0 0 5px;
  }


  /* Confianza */

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

  .trust-photo {
    min-height: 280px;
  }

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


  /* Formulario */

  .form-grid.two {
    grid-template-columns: 1fr;
  }


  /* Footer */

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }


  /* WhatsApp */

  .whatsapp span:first-child {
    display: none;
  }

  .whatsapp {
    width: 50px;
    height: 46px;

    padding: 0;

    display: grid;
    place-items: center;
  }


  /* Modal */

  .modal-property-image {
    height: 240px;
  }

  .modal-property-body {
    padding: 24px;
  }

  .modal-property-body h2 {
    font-size: 34px;
  }
}


/* =========================================================
   MÓVILES PEQUEÑOS
   ========================================================= */

@media (max-width: 480px) {

    .hero {
      min-height: 940px;
    }
    
    .hero-grid {
      padding-top: 48px;
      padding-bottom: 310px;
    }
    
    .hero-actions {
      margin-top: 26px;
    }
    
    .hero-actions .btn {
      width: 100%;
      min-height: 56px;
    }

  .hero h1 {
    font-size: 44px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .advanced-panel {
    grid-template-columns: 1fr;
  }

  .credit-badges {
    grid-template-columns: 1fr 1fr;
  }

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

  .lead-form {
    padding: 22px;
  }

  .legal-dark,
  .legal-light {
    padding: 55px 22px;
  }
}


/* =========================================================
   REDUCIR ANIMACIONES
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;

    transform: none;
  }
}


/* =========================================================
   LEGATRIA — PÁGINA VENDER
   ========================================================= */

.sell-page {
  margin: 0;
  background: #f5f4ef;
  color: var(--ink);
}

.sell-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}


/* =========================================================
   HEADER VENDER
   ========================================================= */

.sell-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sell-header-row {
  min-height: 62px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.sell-brand {
  display: block;

  width: 150px;
}

.sell-brand img {
  display: block;

  width: 100%;
  height: 50px;

  object-fit: contain;
  object-position: left center;
}

.sell-back {
  color: #edf2f6;

  font-size: 13px;
  font-weight: 600;

  transition: color 0.2s ease;
}

.sell-back:hover {
  color: var(--gold-2);
}


/* =========================================================
   HERO VENDER
   ========================================================= */

.sell-hero {
  position: relative;
  overflow: hidden;

  padding: 90px 0 99px;

  background:
    linear-gradient(
      90deg,
      rgba(4, 23, 41, 0.97) 0%,
      rgba(4, 27, 48, 0.92) 48%,
      rgba(6, 39, 67, 0.86) 100%
    ),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=85")
    center / cover no-repeat;

  color: #ffffff;
}

.sell-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;

  gap: 64px;
}

.sell-hero-copy {
  max-width: 700px;
}

.sell-kicker {
  margin: 0 0 17px;

  color: var(--gold-2);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.18em;
}

.sell-kicker.dark {
  color: #8f7440;
}

.sell-hero h1 {
  max-width: 700px;

  margin: 0 0 20px;

  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 4.45vw, 62px);
  font-weight: 600;

  line-height: 0.94;
  letter-spacing: -0.03em;
}

.sell-lead {
  max-width: 650px;

  margin: 0;

  color: #dce6ee;

  font-size: 14px;
  line-height: 1.62;
}

.sell-lead strong {
  color: #ffffff;
  font-weight: 800;
}


/* =========================================================
   CTA PRINCIPAL — VENDER
   ========================================================= */

.sell-hero-actions {
  display: flex;
  align-items: center;

  margin-top: 25px;
}

.sell-primary-cta {
  min-width: 220px;
  min-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  gap: 28px;

  padding: 13px 19px;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;

  background:
    linear-gradient(
      135deg,
      var(--gold-2),
      var(--gold)
    );

  color: #172636;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.14);

  font-size: 12px;
  font-weight: 800;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.sell-primary-cta:hover {
  transform: translateY(-2px);

  box-shadow:
    0 16px 35px rgba(0, 0, 0, 0.20);
}

.sell-primary-cta span:last-child {
  font-size: 17px;

  transition: transform 0.2s ease;
}

.sell-primary-cta:hover span:last-child {
  transform: translateX(4px);
}


/* =========================================================
   TARJETA HERO
   ========================================================= */

.sell-hero-card {
  width: 100%;

  padding: 26px 24px;

  border:
    1px solid rgba(255, 255, 255, 0.16);

  background:
    rgba(5, 27, 48, 0.82);

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.18);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sell-shield {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  margin-bottom: 17px;

  border:
    1px solid rgba(255, 255, 255, 0.22);

  color: var(--gold-2);

  font-size: 20px;
}

.sell-card-small {
  margin: 0 0 11px;

  color: var(--gold-2);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.16em;
}

.sell-hero-card h2 {
  margin: 0 0 12px;

  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 600;

  line-height: 1;
}

.sell-hero-card p {
  margin: 0;

  color: #dce6ee;

  font-size: 12px;
  line-height: 1.55;
}

.sell-hero-card strong {
  display: block;

  margin-top: 13px;

  color: #ffffff;

  font-size: 12px;
  line-height: 1.5;
}


/* =========================================================
   HERO VENDER — RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

  .sell-hero {
    padding: 44px 0 38px;
  }

  .sell-hero-grid {
    grid-template-columns: minmax(0, 1fr) 285px;

    gap: 38px;
  }

  .sell-hero h1 {
    font-size: clamp(44px, 5.5vw, 56px);
  }

}

@media (max-width: 760px) {

  .sell-hero {
    padding: 38px 0 36px;
  }

  .sell-hero-grid {
    grid-template-columns: 1fr;

    gap: 34px;
  }

  .sell-hero-copy {
    max-width: none;
  }

  .sell-hero h1 {
    max-width: none;

    font-size: 43px;
    line-height: 0.97;
  }

  .sell-lead {
    max-width: none;

    font-size: 14px;
  }

  .sell-hero-actions {
    align-items: stretch;

    margin-top: 23px;
  }

  .sell-primary-cta {
    width: 100%;
  }

  .sell-hero-card {
    padding: 24px 22px;
  }

}

@media (max-width: 480px) {

  .sell-hero {
    padding: 34px 0 32px;
  }

  .sell-hero h1 {
    font-size: 39px;
  }

}


/* Ajuste del ancla del CTA */
#solicitud {
  scroll-margin-top: 78px;
}


/* =========================================================
   PROCESO
   ========================================================= */

.sell-process {
  padding: 14px 0;

  background: white;

  border-bottom: 1px solid var(--line);
}

.sell-process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.sell-process-grid > div {
  position: relative;

  display: flex;
  align-items: center;

  gap: 11px;

  padding: 8px 18px;

  border-right:
    1px solid var(--line);
}

.sell-process-grid > div:first-child {
  padding-left: 0;
}

.sell-process-grid > div:last-child {
  border-right: 0;
}

.sell-process-grid span {
  color: #9c7c3e;

  font-size: 10px;
  font-weight: 800;
}

.sell-process-grid strong {
  color: var(--navy);

  font-size: 11px;

  line-height: 1.35;
}


/* =========================================================
   SECCIÓN FORMULARIO
   ========================================================= */

.sell-form-section {
  padding: 44px 0 68px;

  background: #f5f4ef;
}

.sell-form-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);

  align-items: start;

  gap: 60px;
}


/* =========================================================
   COLUMNA INFORMATIVA
   ========================================================= */

.sell-form-intro {
  position: sticky;
  top: 110px;
}

.sell-form-intro h2 {
  margin: 0 0 18px;

  color: var(--navy);

  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  font-weight: 600;

  line-height: 1;
}

.sell-form-intro > p:not(.sell-kicker) {
  margin: 0 0 28px;

  color: #68727b;

  font-size: 13px;

  line-height: 1.75;
}

.sell-info-box {
  margin-bottom: 12px;
  padding: 18px;

  border: 1px solid #dfddd5;

  background: white;
}

.sell-info-box strong {
  display: block;

  margin-bottom: 7px;

  color: var(--navy);

  font-size: 12px;
}

.sell-info-box p {
  margin: 0;

  color: #6d747b;

  font-size: 11px;

  line-height: 1.6;
}


/* =========================================================
   FORMULARIO PRINCIPAL
   ========================================================= */

.sell-form {
  display: grid;

  gap: 22px;
}

.sell-form-block {
  padding: 34px;

  border:
    1px solid #dfddd6;

  background: white;

  box-shadow:
    0 12px 35px rgba(7, 26, 44, 0.04);
}

.sell-block-heading {
  display: grid;
  grid-template-columns: 45px 1fr;

  align-items: start;

  gap: 17px;

  margin-bottom: 28px;
}

.sell-block-heading > span {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  background: var(--navy);
  color: white;

  font-size: 11px;
  font-weight: 800;
}

.sell-block-heading h3 {
  margin: 0 0 5px;

  color: var(--navy);

  font-family: "Cormorant Garamond", serif;
  font-size: 29px;

  line-height: 1;
}

.sell-block-heading p {
  margin: 0;

  color: #7a8289;

  font-size: 11px;

  line-height: 1.5;
}


/* =========================================================
   CAMPOS
   ========================================================= */

.sell-fields {
  display: grid;

  gap: 16px;

  margin-top: 18px;
}

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

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

.sell-fields .full {
  grid-column: 1 / -1;
}

.sell-fields label {
  display: flex;
  flex-direction: column;

  gap: 7px;

  color: #36424d;

  font-size: 11px;
  font-weight: 700;
}

.sell-fields input,
.sell-fields select,
.sell-fields textarea {
  width: 100%;

  min-height: 46px;

  padding: 12px 13px;

  border: 1px solid #d3d7da;
  border-radius: 2px;

  outline: none;

  background: white;
  color: #26323d;

  font-size: 13px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.sell-fields textarea {
  min-height: 125px;

  resize: vertical;

  line-height: 1.55;
}

.sell-fields input::placeholder,
.sell-fields textarea::placeholder {
  color: #9aa0a6;
}

.sell-fields input:focus,
.sell-fields select:focus,
.sell-fields textarea:focus {
  border-color: #7e9bb3;

  box-shadow:
    0 0 0 3px rgba(18, 61, 99, 0.08);
}

.sell-characteristics {
  margin-top: 24px;
  padding-top: 24px;

  border-top: 1px solid #edf0f2;
}


/* =========================================================
   SITUACIÓN JURÍDICA
   ========================================================= */

.legal-block {
  border-top:
    3px solid var(--navy);
}

.sell-legal-message {
  margin-bottom: 24px;
  padding: 18px 20px;

  border-left:
    3px solid var(--gold);

  background: #faf7ef;
}

.sell-legal-message strong {
  display: block;

  margin-bottom: 5px;

  color: var(--navy);

  font-size: 12px;
}

.sell-legal-message p {
  margin: 0;

  color: #68727b;

  font-size: 11px;

  line-height: 1.6;
}

.legal-alert {
  display: grid;
  grid-template-columns: 42px 1fr;

  gap: 14px;

  margin-top: 22px;
  padding: 18px;

  border:
    1px solid #e4d5ae;

  background: #fffaf0;
}

.legal-alert[hidden] {
  display: none;
}

.legal-alert > span {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  background: #f0e0b9;
  color: var(--navy);

  font-size: 18px;
}

.legal-alert strong {
  color: var(--navy);

  font-size: 12px;
}

.legal-alert p {
  margin: 5px 0 0;

  color: #6d7378;

  font-size: 11px;

  line-height: 1.55;
}


/* =========================================================
   SUBIR FOTOGRAFÍAS
   ========================================================= */

.sell-upload {
  position: relative;

  min-height: 180px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 35px;

  border:
    1px dashed #aeb6bd;

  background: #fafafa;

  text-align: center;

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.sell-upload:hover {
  border-color: var(--gold);

  background: #fdfbf5;
}

.sell-upload input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;

  pointer-events: none;
}

.sell-upload-icon {
  width: 45px;
  height: 45px;

  display: grid;
  place-items: center;

  margin-bottom: 12px;

  border-radius: 50%;

  background: var(--navy);
  color: white;

  font-size: 25px;
}

.sell-upload strong {
  color: var(--navy);

  font-size: 13px;
}

.sell-upload p {
  margin: 6px 0;

  color: #707980;

  font-size: 11px;
}

.sell-upload small {
  color: #92989e;

  font-size: 10px;
}

.sell-photo-preview {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 10px;

  margin-top: 18px;
}

.sell-photo-item {
  overflow: hidden;

  aspect-ratio: 4 / 3;

  border:
    1px solid var(--line);

  background: #eee;
}

.sell-photo-item img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.sell-photo-counter {
  margin: 12px 0 0;

  color: #7d858c;

  font-size: 10px;

  text-align: right;
}


/* =========================================================
   CHECKBOXES
   ========================================================= */

.final-block {
  background: #fbfaf7;
}

.sell-checkbox {
  display: flex;

  align-items: flex-start;

  gap: 12px;

  margin-bottom: 17px;

  color: #59636c;

  font-size: 11px;

  line-height: 1.6;

  cursor: pointer;
}

.sell-checkbox input {
  width: 17px;
  height: 17px;

  flex: none;

  margin-top: 2px;

  accent-color: var(--navy);
}

.sell-checkbox strong {
  color: #293846;
}


/* =========================================================
   BOTÓN ENVIAR
   ========================================================= */

.sell-submit {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 15px;

  margin-top: 28px;
  padding: 17px 24px;

  border: 0;
  border-radius: 2px;

  background:
    linear-gradient(
      135deg,
      var(--gold-2),
      var(--gold)
    );

  color: #172636;

  font-size: 13px;
  font-weight: 800;

  cursor: pointer;

  box-shadow:
    0 10px 28px rgba(215, 181, 109, 0.2);

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.sell-submit:hover {
  transform: translateY(-1px);
}

.sell-submit:disabled {
  opacity: 0.65;

  cursor: wait;

  transform: none;
}

.sell-submit-note {
  margin: 12px 0 0;

  color: #7a8289;

  font-size: 10px;

  line-height: 1.5;

  text-align: center;
}

.sell-submit-note[data-state="error"] {
  color: #a13535;
}

.sell-submit-note[data-state="success"] {
  color: #27633b;
}


/* =========================================================
   CONFIRMACIÓN
   ========================================================= */

.sell-success {
  padding: 100px 0;

  background: #f5f4ef;
}

.sell-success[hidden] {
  display: none;
}

.sell-success-card {
  max-width: 940px;

  margin-inline: auto;
  padding: 60px;

  border:
    1px solid #dfddd6;

  background: white;

  box-shadow:
    0 20px 55px rgba(7, 26, 44, 0.08);

  text-align: center;
}

.sell-success-icon {
  width: 65px;
  height: 65px;

  display: grid;
  place-items: center;

  margin: 0 auto 22px;

  border-radius: 50%;

  background: var(--navy);
  color: var(--gold-2);

  font-size: 28px;
}

.sell-success-card h2 {
  margin: 0 0 18px;

  color: var(--navy);

  font-family: "Cormorant Garamond", serif;
  font-size: 48px;

  line-height: 1;
}

.sell-success-lead {
  max-width: 650px;

  margin: 0 auto;

  color: #69727a;

  font-size: 14px;

  line-height: 1.7;
}

.success-process {
  display: grid;
  grid-template-columns:
    repeat(5, 1fr);

  gap: 12px;

  margin-top: 42px;
}

.success-process > div {
  padding: 20px 12px;

  border:
    1px solid var(--line);

  background: #fafafa;
}

.success-process span {
  display: block;

  margin-bottom: 8px;

  color: #9a7a3d;

  font-size: 10px;
  font-weight: 800;
}

.success-process strong {
  display: block;

  color: var(--navy);

  font-size: 12px;
}

.success-process p {
  margin: 7px 0 0;

  color: #737b82;

  font-size: 10px;

  line-height: 1.5;
}

.success-legal {
  display: grid;
  grid-template-columns: 45px 1fr;

  gap: 15px;

  margin-top: 25px;
  padding: 20px;

  background: #faf7ef;

  text-align: left;
}

.success-legal > span {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  background: var(--navy);
  color: white;
}

.success-legal strong {
  color: var(--navy);

  font-size: 12px;
}

.success-legal p {
  margin: 5px 0 0;

  color: #6e757b;

  font-size: 11px;

  line-height: 1.55;
}

.sell-home-button {
  display: inline-flex;

  margin-top: 30px;
  padding: 14px 24px;

  background: var(--navy);
  color: white;

  font-size: 12px;
  font-weight: 700;
}


/* =========================================================
   AVISO
   ========================================================= */

.sell-disclaimer {
  padding: 24px 0;

  background: #eeeae0;
}

.sell-disclaimer p {
  max-width: 900px;

  margin: 0;

  color: #707780;

  font-size: 10px;

  line-height: 1.6;
}


/* =========================================================
   FOOTER VENDER
   ========================================================= */

.sell-footer {
  padding: 38px 0;

  background: #04182b;
  color: #aebdca;
}

.sell-footer-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;

  align-items: center;

  gap: 40px;
}

.sell-footer img {
  display: block;

  width: 170px;
  height: 65px;

  object-fit: contain;
  object-position: left;
}

.sell-footer p {
  margin: 4px 0 0;

  font-size: 10px;
}

.sell-footer strong {
  display: block;

  color: white;

  font-size: 12px;
}

.sell-footer span {
  font-size: 10px;
}

.sell-footer a {
  color: white;

  font-size: 11px;
  font-weight: 700;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .sell-hero-grid {
    grid-template-columns: 1fr 300px;

    gap: 40px;
  }

  .sell-hero-points {
    grid-template-columns: 1fr 1fr;
  }

  .sell-process-grid {
    grid-template-columns:
      repeat(3, 1fr);

    gap: 15px;
  }

  .sell-process-grid > div {
    border-right: 0;
  }

  .sell-form-layout {
    grid-template-columns: 260px 1fr;

    gap: 35px;
  }

  .sell-fields.three {
    grid-template-columns: 1fr 1fr;
  }

  .success-process {
    grid-template-columns:
      repeat(3, 1fr);
  }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 760px) {

  .sell-shell {
    width: min(
      calc(100% - 26px),
      1180px
    );
  }

  .sell-header-row {
    min-height: 62px;
  }

  .sell-brand {
    width: 138px;
  }

  .sell-back {
    font-size: 11px;
  }


  /* Hero */

  .sell-hero {
    padding: 38px 0 34px;
  }

  .sell-hero-grid {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .sell-hero h1 {
    font-size: 41px;
  }

  .sell-lead {
    font-size: 15px;
  }

  .sell-hero-points {
    grid-template-columns: 1fr 1fr;
  }


  /* Proceso */

  .sell-process-grid {
    grid-template-columns: 1fr 1fr;

    gap: 12px;
  }

  .sell-process-grid > div {
    padding: 8px 0;
  }


  /* Formulario */

  .sell-form-section {
    padding: 40px 0 58px;
  }

  .sell-form-layout {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .sell-form-intro {
    position: static;
  }

  .sell-form-intro h2 {
    font-size: 40px;
  }

  .sell-form-block {
    padding: 24px 20px;
  }

  .sell-fields.two,
  .sell-fields.three {
    grid-template-columns: 1fr;
  }

  .sell-fields .full {
    grid-column: auto;
  }

  .sell-block-heading {
    grid-template-columns: 40px 1fr;
  }

  .sell-block-heading h3 {
    font-size: 26px;
  }


  /* Fotos */

  .sell-photo-preview {
    grid-template-columns:
      repeat(2, 1fr);
  }


  /* Éxito */

  .sell-success {
    padding: 60px 0;
  }

  .sell-success-card {
    padding: 38px 22px;
  }

  .sell-success-card h2 {
    font-size: 40px;
  }

  .success-process {
    grid-template-columns:
      1fr 1fr;
  }


  /* Footer */

  .sell-footer-row {
    grid-template-columns: 1fr;

    gap: 20px;
  }

}


/* =========================================================
   MÓVILES PEQUEÑOS
   ========================================================= */

@media (max-width: 480px) {

  .sell-hero h1 {
    font-size: 43px;
  }

  .sell-hero-points {
    grid-template-columns: 1fr;
  }

  .sell-process-grid {
    grid-template-columns: 1fr;
  }

  .sell-photo-preview {
    grid-template-columns: 1fr 1fr;
  }

  .success-process {
    grid-template-columns: 1fr;
  }

}

/* =========================================================
   SELECCIÓN DE PORTADA
   ========================================================= */

.sell-photo-item {
  position: relative;
}


.sell-photo-cover {
  position: absolute;

  left: 8px;
  right: 8px;
  bottom: 8px;

  padding: 8px 10px;

  border: 0;
  border-radius: 3px;

  background: rgba(6, 27, 49, 0.9);
  color: #ffffff;

  font-size: 10px;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}


.sell-photo-cover:hover {
  transform: translateY(-1px);
}


.sell-photo-item.is-cover {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}


.sell-photo-item.is-cover
.sell-photo-cover {
  background: var(--gold);
  color: var(--navy);
}


/* =========================================================
   HERO — ACCIÓN JURÍDICA SECUNDARIA
   ========================================================= */

.hero-actions {
  align-items: center;
}

.hero-legal-link {
  display: inline-flex;
  align-items: center;

  min-height: 48px;

  padding: 0 4px;

  color: #eef4f8;

  font-size: 12px;
  font-weight: 700;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.35);

  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.hero-legal-link:hover {
  color: var(--gold-2);
  border-color: var(--gold-2);
}


@media (max-width: 900px) {

  .hero-actions {
    align-items: stretch;
  }

  .hero-legal-link {
    width: 100%;

    justify-content: center;

    padding: 12px 4px;
  }

}

.btn-rent {
  background: #123d63;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
}

.btn-rent:hover {
  background: #174d7b;
}

.btn-legal {
  background: rgba(6, 27, 49, 0.82);
  color: #ffffff;
  border: 1px solid #d7b56d;
}

.btn-legal:hover {
  background: rgba(11, 43, 73, 0.95);
  border-color: #ead49e;
}

/* =========================================================
   CORRECCIÓN FINAL — FLECHAS GALERÍA
   ========================================================= */

.modal-property-gallery {
  position: relative;
}

.modal-property-image {
  position: relative;
}

.modal-gallery-arrow {
  position: absolute !important;
  top: 185px !important;
  z-index: 10;

  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;

  background: rgba(5, 31, 50, 0.78);
  color: #ffffff;

  font-size: 32px;
  line-height: 1;

  transform: translateY(-50%);
}

.modal-gallery-prev {
  left: 18px !important;
  right: auto !important;
}

.modal-gallery-next {
  left: auto !important;
  right: 18px !important;
}

.modal-gallery-arrow:hover {
  background: rgba(5, 31, 50, 0.96);
}

@media (max-width: 640px) {

  .modal-gallery-arrow {
    top: 120px !important;
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .modal-gallery-prev {
    left: 10px !important;
  }

  .modal-gallery-next {
    right: 10px !important;
  }
}

/* =========================================================
   AUTOCOMPLETADO DE UBICACIONES
   ========================================================= */

.field-location {
  position: relative;
}

.location-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;

  z-index: 100;

  background: #ffffff;

  border: 1px solid #d9dee4;
  border-top: 0;

  box-shadow:
    0 10px 25px rgba(5, 31, 50, 0.14);

  max-height: 280px;
  overflow-y: auto;
}

.location-suggestions[hidden] {
  display: none;
}

.location-suggestion {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 12px 15px;

  border: 0;
  border-bottom: 1px solid #edf0f2;

  background: #ffffff;
  color: #051f32;

  text-align: left;
  cursor: pointer;
}

.location-suggestion:last-child {
  border-bottom: 0;
}

.location-suggestion:hover {
  background: #f7f4ed;
}

.location-suggestion strong {
  font-size: 14px;
  font-weight: 600;
}

.location-suggestion span {
  flex-shrink: 0;

  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;

  color: #9b7428;
}

/* =========================================================
   BOTÓN ACCESO
   ========================================================= */

.header-access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.access-icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}


/* =========================================================
   LEGATRIA — FICHA PREMIUM DE PROPIEDAD
   ========================================================= */

.property-modal {
  width: min(1180px, calc(100% - 32px));
  max-width: 1180px;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow-y: auto;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}


/* GALERÍA */

.property-modal .modal-property-gallery {
  background: #061d33;
}

.property-modal .modal-property-image {
  position: relative;
  width: 100%;
  height: 460px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* CONTADOR */

.modal-photo-counter {
  position: absolute;
  right: 20px;
  bottom: 18px;

  padding: 7px 13px;

  background: rgba(5, 28, 51, 0.86);
  color: #fff;

  font-size: 12px;
  font-weight: 700;

  border-radius: 2px;
}


/* MINIATURAS */

.property-modal .modal-gallery-thumbs {
  display: flex;
  gap: 8px;

  padding: 10px 14px;

  overflow-x: auto;

  background: #071d32;
}

.property-modal .modal-gallery-thumb {
  flex: 0 0 92px;

  width: 92px;
  height: 64px;

  padding: 0;
  border: 2px solid transparent;

  background: none;
  cursor: pointer;

  opacity: 0.65;

  transition:
    opacity 0.2s ease,
    border-color 0.2s ease;
}

.property-modal .modal-gallery-thumb.active {
  opacity: 1;
  border-color: #c9a24f;
}

.property-modal .modal-gallery-thumb img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* CONTENIDO */

.property-premium-content {
  padding: 38px 42px 46px;
}


/* ENCABEZADO */

.property-premium-header {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap: 40px;

  align-items: end;

  padding-bottom: 30px;

  border-bottom: 1px solid #e5e5e5;
}


.property-modal-labels {
  display: flex;
  align-items: center;
  gap: 16px;

  margin-bottom: 10px;

  color: #9a7024;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.14em;
}


.property-folio {
  color: #718092;

  padding-left: 16px;

  border-left: 1px solid #d8d8d8;
}


.property-premium-header h2 {
  margin: 0 0 8px;

  color: #071f37;

  font-family:
    "Cormorant Garamond",
    Georgia,
    serif;

  font-size: clamp(34px, 4vw, 50px);

  line-height: 1;
  font-weight: 600;
}


.property-modal-location {
  color: #687587;

  font-size: 15px;
}


.property-modal-price {
  text-align: right;
  white-space: nowrap;
}


.property-modal-price span {
  display: block;

  margin-bottom: 5px;

  color: #7a8591;

  font-size: 11px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.12em;
}


.property-modal-price strong {
  color: #071f37;

  font-size: 25px;
  font-weight: 800;
}


/* CARACTERÍSTICAS */

.property-features-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  margin: 30px 0 38px;

  border: 1px solid #e4e4e4;
}


.property-feature {
  min-height: 90px;

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  padding: 15px;

  text-align: center;

  border-right: 1px solid #e4e4e4;
}


.property-feature:last-child {
  border-right: 0;
}


.property-feature strong {
  color: #071f37;

  font-family:
    "Cormorant Garamond",
    Georgia,
    serif;

  font-size: 25px;
}


.property-feature span {
  margin-top: 3px;

  color: #737d89;

  font-size: 12px;
}


/* DESCRIPCIÓN + DETALLES */

.property-information-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.55fr)
    minmax(300px, 0.75fr);

  gap: 55px;
}


.property-section-eyebrow {
  display: block;

  margin-bottom: 7px;

  color: #a67b2c;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.16em;
}


.property-description h3,
.property-details-panel h3 {
  margin: 0 0 20px;

  color: #071f37;

  font-family:
    "Cormorant Garamond",
    Georgia,
    serif;

  font-size: 29px;
}


.property-description p {
  margin: 0;

  color: #566372;

  font-size: 15px;
  line-height: 1.85;

  white-space: pre-line;
}


/* DETALLES */

.property-details-panel {
  padding-left: 35px;

  border-left: 1px solid #e2e2e2;
}


.property-detail-list {
  margin-bottom: 25px;
}


.property-detail-row {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  padding: 10px 0;

  border-bottom: 1px solid #ececec;

  font-size: 13px;
}


.property-detail-row span {
  color: #7b8590;
}


.property-detail-row strong {
  color: #071f37;

  text-align: right;
}


/* CONTACTO */

.property-contact-box {
  margin-top: 25px;

  padding: 25px;

  background: #f5f3ed;

  border-top: 3px solid #c7a252;
}


.property-contact-box > span {
  display: block;

  color: #78818b;

  font-size: 11px;

  text-transform: uppercase;
  letter-spacing: 0.1em;
}


.property-contact-box > strong {
  display: block;

  margin: 4px 0 12px;

  color: #071f37;

  font-size: 23px;
}


.property-contact-box p {
  margin: 0 0 18px;

  color: #65717e;

  font-size: 13px;
  line-height: 1.6;
}


.property-contact-button {
  width: 100%;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

  .property-modal .modal-property-image {
    height: 360px;
  }

  .property-premium-content {
    padding: 30px;
  }

  .property-premium-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .property-modal-price {
    text-align: left;
  }

  .property-information-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .property-details-panel {
    padding-left: 0;

    border-left: 0;
    border-top: 1px solid #e2e2e2;

    padding-top: 30px;
  }

}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 600px) {

  .property-modal {
    width: 100%;
    max-width: 100%;

    height: 100%;
    max-height: 100%;

    margin: 0;

    border-radius: 0;
  }

  .property-modal .modal-property-image {
    height: 280px;
  }

  .property-premium-content {
    padding: 25px 20px 35px;
  }

  .property-premium-header h2 {
    font-size: 36px;
  }

  .property-features-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .property-feature {
    border-bottom: 1px solid #e4e4e4;
  }

  .property-feature:nth-child(2n) {
    border-right: 0;
  }

  .property-modal-labels {
    flex-wrap: wrap;
  }

  .property-folio {
    padding-left: 0;
    border-left: 0;
  }

  .property-modal-price strong {
    font-size: 22px;
  }

}

/* =========================================================
   LEGATRIA — MODAL INMOBILIARIO COMPACTO
   ========================================================= */

.property-modal {
  width: min(1080px, calc(100% - 60px));
  max-width: 1080px;

  max-height: 86vh;

  padding: 0;
  border: 0;
  border-radius: 8px;

  overflow-y: auto;

  background: #fff;

  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   PARTE SUPERIOR
   ========================================================= */

.compact-property-top {
  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(380px, 0.95fr);

  gap: 0;

  padding: 22px;
}


/* =========================================================
   GALERÍA
   ========================================================= */

.compact-property-gallery {
  min-width: 0;
}


.property-modal .compact-property-gallery
.modal-property-image {

  width: 100%;
  height: 310px;

  border-radius: 5px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
}


/* =========================================================
   MINIATURAS
   ========================================================= */

.property-modal
.compact-property-gallery
.modal-gallery-thumbs {

  display: flex;

  gap: 8px;

  padding: 10px 0 0;

  background: transparent;

  overflow-x: auto;
}


.property-modal
.compact-property-gallery
.modal-gallery-thumb {

  flex: 0 0 78px;

  width: 78px;
  height: 54px;

  border-radius: 4px;

  overflow: hidden;
}


.property-modal
.compact-property-gallery
.modal-gallery-thumb img {

  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* =========================================================
   RESUMEN
   ========================================================= */

.compact-property-summary {

  padding:
    10px
    5px
    10px
    34px;
}


.compact-property-summary h2 {

  margin:
    15px
    0
    7px;

  color: #071f37;

  font-family:
    "Cormorant Garamond",
    Georgia,
    serif;

  font-size: 40px;

  line-height: 1;

  font-weight: 600;
}


.compact-property-price {

  margin-top: 22px;

  padding-bottom: 22px;

  color: #b38632;

  font-family:
    "Cormorant Garamond",
    Georgia,
    serif;

  font-size: 31px;

  font-weight: 600;

  border-bottom:
    1px solid #e2e2e2;
}


/* =========================================================
   CARACTERÍSTICAS
   ========================================================= */

.compact-features-grid {

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  margin-top: 18px;
}


.compact-features-grid
.property-feature {

  min-height: 75px;

  padding: 8px;

  border: 0;
  border-right:
    1px solid #e2e2e2;
}


.compact-features-grid
.property-feature:last-child {

  border-right: 0;
}


.compact-features-grid
.property-feature strong {

  font-size: 20px;
}


.compact-features-grid
.property-feature span {

  font-size: 11px;
}


/* =========================================================
   PARTE INFERIOR
   ========================================================= */

.compact-property-bottom {

  display: grid;

  grid-template-columns:
    minmax(0, 1.65fr)
    minmax(300px, 0.85fr);

  gap: 35px;

  margin:
    0
    22px;

  padding:
    25px
    0
    28px;

  border-top:
    1px solid #e4e4e4;
}


/* =========================================================
   DESCRIPCIÓN
   ========================================================= */

.compact-property-bottom
.property-description {

  padding-right: 15px;
}


.compact-property-bottom
.property-description h3,

.compact-property-details h3 {

  margin:
    3px
    0
    16px;

  color: #071f37;

  font-family:
    "Cormorant Garamond",
    Georgia,
    serif;

  font-size: 25px;
}


.compact-property-bottom
.property-description p {

  margin: 0;

  color: #566372;

  font-size: 14px;

  line-height: 1.65;

  white-space: pre-line;
}


/* =========================================================
   DETALLES
   ========================================================= */

.compact-property-details {

  padding-left: 30px;

  border-left:
    1px solid #e3e3e3;
}


.compact-property-details
.property-detail-row {

  padding:
    7px
    0;

  font-size: 12px;
}


/* =========================================================
   CONTACTO
   ========================================================= */

.compact-contact-box {

  margin-top: 15px;

  padding: 16px 18px;

  background: #f6f3eb;

  border-top:
    2px solid #c9a24f;
}


.compact-contact-box > strong {

  display: block;

  margin-bottom: 4px;

  color: #071f37;

  font-size: 14px;
}


.compact-contact-box p {

  margin:
    0
    0
    12px;

  color: #65717e;

  font-size: 12px;

  line-height: 1.5;
}


.compact-contact-box
.property-contact-button {

  width: 100%;
}


/* =========================================================
   CONTADOR
   ========================================================= */

.modal-photo-counter {

  right: 12px;
  bottom: 12px;

  padding:
    5px
    9px;

  font-size: 11px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .property-modal {

    width:
      calc(100% - 30px);

    max-height: 92vh;
  }


  .compact-property-top {

    grid-template-columns: 1fr;

    padding: 18px;
  }


  .compact-property-summary {

    padding:
      25px
      5px
      5px;
  }


  .compact-property-bottom {

    grid-template-columns: 1fr;
  }


  .compact-property-details {

    padding:
      25px
      0
      0;

    border-left: 0;

    border-top:
      1px solid #e3e3e3;
  }

}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 600px) {

  .property-modal {

    width: 100%;
    max-width: 100%;

    height: 100%;
    max-height: 100%;

    margin: 0;

    border-radius: 0;
  }


  .compact-property-top {

    padding: 12px;
  }


  .property-modal
  .compact-property-gallery
  .modal-property-image {

    height: 230px;
  }


  .compact-property-summary h2 {

    font-size: 32px;
  }


  .compact-property-price {

    font-size: 27px;
  }


  .compact-features-grid {

    grid-template-columns:
      repeat(2, 1fr);
  }


  .compact-features-grid
  .property-feature {

    border-bottom:
      1px solid #e3e3e3;
  }


  .compact-property-bottom {

    margin:
      0
      18px;

    padding-top: 22px;
  }

}
/* =========================================================
   AJUSTE FINAL — MODAL COMPACTO DESKTOP
   ========================================================= */

@media (min-width: 851px) {

  .property-modal {
    width: min(960px, calc(100% - 50px));
    max-width: 960px;

    /* Aprovechamos mejor la pantalla */
    max-height: 90vh;

    overflow-y: auto;
  }


  /* =========================
     PARTE SUPERIOR
     ========================= */

  .compact-property-top {
    grid-template-columns:
      minmax(0, 1.12fr)
      minmax(340px, 0.88fr);

    padding: 16px 18px 12px;
  }


  /* FOTO PRINCIPAL */

  .property-modal
  .compact-property-gallery
  .modal-property-image {
    height: 275px;
  }


  /* MINIATURAS */

  .property-modal
  .compact-property-gallery
  .modal-gallery-thumbs {
    padding-top: 7px;
  }

  .property-modal
  .compact-property-gallery
  .modal-gallery-thumb {
    flex-basis: 65px;
    width: 65px;
    height: 45px;
  }


  /* =========================
     INFORMACIÓN DERECHA
     ========================= */

  .compact-property-summary {
    padding: 2px 0 0 28px;
  }

  .compact-property-summary h2 {
    margin: 10px 0 5px;

    font-size: 35px;
    line-height: 0.98;
  }

  .property-modal-location {
    font-size: 13px;
  }


  /* PRECIO */

  .compact-property-price {
    margin-top: 16px;
    padding-bottom: 16px;

    font-size: 27px;
  }


  /* =========================
     CARACTERÍSTICAS
     ========================= */

  .compact-features-grid {
    margin-top: 13px;
  }

  .compact-features-grid
  .property-feature {
    min-height: 62px;

    padding: 5px;
  }

  .compact-features-grid
  .property-feature strong {
    font-size: 18px;
  }

  .compact-features-grid
  .property-feature span {
    margin-top: 1px;

    font-size: 10px;
  }


  /* =========================
     PARTE INFERIOR
     ========================= */

  .compact-property-bottom {
    grid-template-columns:
      minmax(0, 1.7fr)
      minmax(260px, 0.8fr);

    gap: 24px;

    margin: 0 18px;

    padding: 17px 0 18px;
  }


  /* DESCRIPCIÓN */

  .compact-property-bottom
  .property-description {
    padding-right: 10px;
  }

  .compact-property-bottom
  .property-description h3,
  .compact-property-details h3 {
    margin: 2px 0 10px;

    font-size: 22px;
  }

  .property-section-eyebrow {
    margin-bottom: 4px;

    font-size: 9px;
  }

  .compact-property-bottom
  .property-description p {
    font-size: 12.5px;
    line-height: 1.5;
  }


  /* =========================
     DETALLES
     ========================= */

  .compact-property-details {
    padding-left: 24px;
  }

  .compact-property-details
  .property-detail-row {
    padding: 4px 0;

    font-size: 11px;
  }


  /* =========================
     CONTACTO
     ========================= */

  .compact-contact-box {
    margin-top: 10px;

    padding: 11px 14px;
  }

  .compact-contact-box > strong {
    margin-bottom: 2px;

    font-size: 13px;
  }

  .compact-contact-box p {
    margin-bottom: 8px;

    font-size: 11px;
    line-height: 1.4;
  }
}

@media (min-width: 851px) {

  /* Foto un poco más baja */
  .property-modal
  .compact-property-gallery
  .modal-property-image {
    height: 250px;
  }

  /* Menos espacio en la parte superior */
  .compact-property-top {
    padding-top: 14px;
    padding-bottom: 10px;
  }

  /* Acercamos descripción a la parte superior */
  .compact-property-bottom {
    padding-top: 14px;
    padding-bottom: 15px;
  }

  /* Descripción un poquito más compacta */
  .compact-property-bottom
  .property-description p {
    font-size: 12px;
    line-height: 1.45;
  }

  /* Detalles más compactos */
  .compact-property-details
  .property-detail-row {
    padding: 3px 0;
  }

  /* Caja de contacto */
  .compact-contact-box {
    margin-top: 8px;
    padding: 10px 13px;
  }
}

@media (min-width: 851px) {
  .compact-features-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}