/* =========================================================
   ROBLE ALTO
========================================================= */

:root {

  --navy: #0b3550;
  --navy-dark: #06283d;

  --green: #2f6a43;
  --green-dark: #1f5333;

  --soft-green: #edf5ef;

  --line: #dce5e1;

  --text: #17354a;

  --white: #ffffff;
  --winter-white: #f7f5ee;
  --winter-white-soft: #fbfaf6;
  --cream-soft: #f3f0e7;

}


/* =========================================================
   GENERAL
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {

  font-family:
    Arial,
    Helvetica,
    "Segoe UI",
    sans-serif;

  color: var(--text);

  background: var(--winter-white);

}


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



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

.site-header {

  width: 100%;

  background: rgba(251, 250, 246, .97);

  border-bottom:
    1px solid rgba(11, 53, 80, .10);

  box-shadow:
    0 8px 28px rgba(6, 40, 61, .08);

  position: sticky;

  top: 0;

  z-index: 1000;

}



.header-inner {

  max-width: 1500px;

  margin: 0 auto;

  min-height: 132px;

  padding: 14px 4%;

  display: grid;

  grid-template-columns:
    minmax(260px, 1.15fr)
    auto
    minmax(240px, .85fr);

  align-items: center;

  gap: 25px;

}



/* =========================================================
   MARCA IZQUIERDA
========================================================= */

.brand {

  position: relative;

  display: inline-flex;

  flex-direction: column;

  justify-self: start;

  text-decoration: none;

  color: var(--navy);

  padding: 13px 4px 18px;

  min-width: 265px;

}


.brand-text {

  display: flex;

  flex-direction: column;

  align-items: center;

  line-height: 1;

}


.brand-main {

  font-family:
    Arial,
    Helvetica,
    "Segoe UI",
    sans-serif;

  font-size:
    clamp(28px, 2.3vw, 46px);

  font-weight: 700;

  letter-spacing: -1.4px;

  color: var(--navy);

  white-space: nowrap;

}


.brand-sub {

  margin-top: 5px;

  font-size:
    clamp(10px, .9vw, 15px);

  letter-spacing: 8px;

  font-weight: 700;

  color: var(--navy);

  padding-left: 8px;

}


.brand-wave {

  position: absolute;

  left: 0;
  right: 0;
  bottom: 2px;

  height: 10px;

  border-top:
    4px solid var(--navy);

  border-radius: 50%;

  transform:
    skewX(-22deg);

}


.brand-wave::after {

  content: "";

  position: absolute;

  width: 62%;

  height: 7px;

  right: -2px;
  top: -1px;

  border-top:
    4px solid var(--green);

  border-radius: 50%;

  transform:
    rotate(2deg);

}



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

.main-nav {

  display: flex;

  align-items: stretch;

  justify-content: center;

}


.nav-item {

  min-width: 112px;

  min-height: 76px;

  padding:
    7px 14px 10px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 5px;

  border: 0;

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

  background: transparent;

  color: var(--navy);

  font: inherit;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: .4px;

  text-decoration: none;

  cursor: pointer;

  position: relative;

  transition:
    color .25s ease,
    background .25s ease;

}


.main-nav > :first-child {

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

}


.nav-item::after {

  content: "";

  position: absolute;

  bottom: 2px;

  left: 24%;

  width: 52%;

  height: 3px;

  border-radius: 100px;

  background: var(--line);

  transition:
    width .25s ease,
    background .25s ease;

}


.nav-item:hover,
.nav-item:focus-visible {

  color: var(--green-dark);

  background:
    linear-gradient(
      to bottom,
      transparent 55%,
      var(--soft-green)
    );

}


.nav-item:hover::after,
.nav-item:focus-visible::after,
.nav-dropdown.open > .nav-item::after {

  width: 64%;

  background: var(--green);

}


.nav-icon {

  width: 31px;

  height: 31px;

  color: currentColor;

}


.nav-icon svg {

  width: 100%;

  height: 100%;

  fill: currentColor;

  stroke: currentColor;

  stroke-width: 1.5;

}


.nav-icon svg .line {

  fill: none;

  stroke-width: 1.7;

}



/* =========================================================
   SUBMENÚ
========================================================= */

.nav-dropdown {

  position: relative;

}


.dropdown-toggle {

  padding-right: 23px;

}


.chevron {

  position: absolute;

  right: 9px;

  bottom: 23px;

  font-size: 17px;

  transition:
    transform .22s ease;

}


.nav-dropdown.open .chevron {

  transform:
    rotate(180deg);

}


.submenu {

  position: absolute;

  top:
    calc(100% + 10px);

  left: 50%;

  transform:
    translate(-50%, 8px);

  width: 248px;

  padding: 9px;

  background: white;

  border:
    1px solid rgba(11, 53, 80, .10);

  border-radius: 14px;

  box-shadow:
    0 18px 45px rgba(6, 40, 61, .17);

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transition:
    opacity .2s ease,
    transform .2s ease,
    visibility .2s;

}


.submenu::before {

  content: "";

  position: absolute;

  top: -7px;

  left: 50%;

  width: 14px;

  height: 14px;

  background: white;

  border-left:
    1px solid rgba(11, 53, 80, .10);

  border-top:
    1px solid rgba(11, 53, 80, .10);

  transform:
    translateX(-50%)
    rotate(45deg);

}


.submenu a {

  position: relative;

  z-index: 1;

  display: flex;

  align-items: center;

  gap: 11px;

  padding:
    13px 14px;

  border-radius: 9px;

  color: var(--navy);

  font-size: 14px;

  font-weight: 700;

  text-decoration: none;

  transition:
    background .2s ease,
    color .2s ease,
    padding-left .2s ease;

}


.submenu a:hover {

  background: var(--soft-green);

  color: var(--green-dark);

  padding-left: 18px;

}


.nav-dropdown.open .submenu {

  opacity: 1;

  visibility: visible;

  pointer-events: auto;

  transform:
    translate(-50%, 0);

}



/* =========================================================
   LOGO DERECHA
========================================================= */

.logo-box {

  justify-self: end;

  display: flex;

  align-items: center;

  gap: 10px;

  min-width: 250px;

  color: var(--navy);

  text-decoration: none;

}


.logo-box img {

  width: 94px;

  height: 84px;

  object-fit: cover;

  object-position: center;

  border-radius: 50%;

  mix-blend-mode: multiply;

}


.logo-copy {

  display: flex;

  flex-direction: column;

  align-items: flex-start;

}


.logo-copy strong {

  font-family:
    Arial,
    Helvetica,
    "Segoe UI",
    sans-serif;

  font-size: 21px;

  letter-spacing: .4px;

  white-space: nowrap;

}


.logo-copy span {

  margin-top: 5px;

  font-size: 8.5px;

  letter-spacing: 1.4px;

  white-space: nowrap;

}



/* =========================================================
   HAMBURGUESA
========================================================= */

.menu-toggle {

  display: none;

  width: 46px;

  height: 46px;

  border:
    1px solid rgba(11, 53, 80, .13);

  border-radius: 12px;

  background: white;

  cursor: pointer;

  align-items: center;

  justify-content: center;

  flex-direction: column;

  gap: 5px;

  box-shadow:
    0 5px 18px rgba(6, 40, 61, .08);

}


.menu-toggle span {

  width: 23px;

  height: 2px;

  border-radius: 4px;

  background: var(--navy);

  transition:
    transform .25s ease,
    opacity .2s ease;

}


.menu-toggle.active span:nth-child(1) {

  transform:
    translateY(7px)
    rotate(45deg);

}


.menu-toggle.active span:nth-child(2) {

  opacity: 0;

}


.menu-toggle.active span:nth-child(3) {

  transform:
    translateY(-7px)
    rotate(-45deg);

}



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

.demo-hero {

  min-height: 540px;

  padding:
    85px 8%;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  background:

    radial-gradient(
      circle at 75% 30%,
      rgba(47, 106, 67, .12),
      transparent 32%
    ),

    linear-gradient(
      120deg,
      #fbfaf6 0%,
      #f7f5ee 56%,
      #f1f3e9 100%
    );

}


.hero-content {

  width: 100%;

  max-width: 900px;

  margin: 0 auto;

}


.eyebrow {

  color: var(--green);

  font-family:
    Arial,
    Helvetica,
    "Segoe UI",
    sans-serif;

  font-size:
    clamp(42px, 6vw, 78px);

  line-height: 1;

  letter-spacing: 1px;

  font-weight: 700;

  margin-bottom: 18px;

}


.demo-hero h1 {

  font-family:
    Arial,
    Helvetica,
    "Segoe UI",
    sans-serif;

  color: var(--navy);

  font-size:
    clamp(30px, 3.7vw, 48px);

  line-height: 1.12;

  font-weight: 700;

  margin-bottom: 20px;

}


.hero-description {

  max-width: 700px;

  margin:
    0 auto;

  font-size: 18px;

  line-height: 1.7;

  color: #486171;

}


.hero-property-links {

  margin:
    32px auto 0;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(240px, 1fr));

  gap: 12px;

  max-width: 720px;

}


.hero-btn {

  width: 100%;

  min-height: 52px;

  padding:
    15px 22px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  border:
    2px solid var(--green);

  border-radius: 8px;

  background: var(--green);

  color: white;

  font-size: 13px;

  font-weight: 800;

  letter-spacing: .8px;

  text-decoration: none;

  text-align: center;

  box-shadow:
    0 8px 18px rgba(47, 106, 67, .20);

  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease;

}


.hero-btn:hover {

  transform:
    translateY(-2px);

  background:
    var(--green-dark);

  border-color:
    var(--green-dark);

}



/* =========================================================
   CATÁLOGO
========================================================= */

.catalog-section {

  padding:
    75px 6% 90px;

  background:
    var(--winter-white-soft);

}


.catalog-container {

  width: 100%;

  max-width: 1300px;

  margin: 0 auto;

}


.section-heading {

  text-align: center;

  margin-bottom: 32px;

}


.section-eyebrow {

  color: var(--green);

  font-size: 12px;

  letter-spacing: 3px;

  font-weight: 800;

  margin-bottom: 9px;

}


.section-heading h2 {

  font-family:
    Arial,
    Helvetica,
    "Segoe UI",
    sans-serif;

  color: var(--navy);

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

  margin-bottom: 12px;

}


.section-heading > p:last-child {

  color: #607583;

  font-size: 16px;

}



/* =========================================================
   BUSCADOR
========================================================= */

.search-box {

  max-width: 850px;

  margin:
    0 auto 25px;

  display: flex;

  gap: 10px;

  padding: 9px;

  background: white;

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

  border-radius: 14px;

  box-shadow:
    0 12px 35px rgba(6, 40, 61, .10);

}


.search-input-wrapper {

  flex: 1;

  display: flex;

  align-items: center;

  min-width: 0;

}


.search-icon {

  margin-left: 12px;

  font-size: 20px;

}


.search-box input {

  width: 100%;

  min-width: 0;

  padding:
    15px 15px;

  border: 0;

  outline: none;

  background: transparent;

  color: var(--text);

  font-size: 16px;

}


.search-box input::placeholder {

  color: #8799a4;

}


.search-box button {

  padding:
    14px 29px;

  border: 0;

  border-radius: 9px;

  background:
    var(--green);

  color: white;

  font-weight: 800;

  cursor: pointer;

  transition:
    background .2s ease,
    transform .2s ease;

}


.search-box button:hover {

  background:
    var(--green-dark);

  transform:
    translateY(-1px);

}



/* =========================================================
   FILTROS
========================================================= */

.filter-buttons {

  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 28px;

}


.filter-btn {

  padding:
    11px 19px;

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

  border-radius: 100px;

  background: white;

  color: var(--navy);

  font-size: 12px;

  font-weight: 800;

  cursor: pointer;

  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    transform .2s ease;

}


.filter-btn:hover {

  transform:
    translateY(-1px);

  border-color:
    var(--green);

  color:
    var(--green-dark);

}


.filter-btn.active {

  background:
    var(--green);

  border-color:
    var(--green);

  color: white;

}



/* =========================================================
   RESULTADOS
========================================================= */

.results-info {

  margin-bottom: 20px;

  color: #607583;

  font-size: 14px;

  font-weight: 600;

}



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

.listing-grid {

  display: grid;

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

  gap: 24px;

}


.listing-card {

  overflow: hidden;

  background: white;

  border:
    1px solid rgba(11, 53, 80, .08);

  border-radius: 16px;

  box-shadow:
    0 10px 30px rgba(6, 40, 61, .08);

  transition:
    transform .25s ease,
    box-shadow .25s ease;

}


.listing-card:hover {

  transform:
    translateY(-5px);

  box-shadow:
    0 18px 42px rgba(6, 40, 61, .13);

}


.listing-card.hidden {

  display: none;

}



/* =========================================================
   IMAGEN TARJETA
========================================================= */

.listing-image {

  height: 220px;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;

}


.listing-image > span {

  font-size: 76px;

  filter:
    drop-shadow(
      0 5px 8px rgba(0, 0, 0, .10)
    );

}



.listing-image > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.listing-card:hover .listing-image > img {
  transform: scale(1.035);
}

.property-image {

  background:

    radial-gradient(
      circle at 70% 25%,
      rgba(255, 255, 255, .75),
      transparent 25%
    ),

    linear-gradient(
      135deg,
      #dcece1,
      #b8d6c0
    );

}


.vehicle-image {

  background:

    radial-gradient(
      circle at 70% 25%,
      rgba(255, 255, 255, .70),
      transparent 25%
    ),

    linear-gradient(
      135deg,
      #dce7ed,
      #adc5d2
    );

}


.machinery-image {

  background:

    radial-gradient(
      circle at 70% 25%,
      rgba(255, 255, 255, .70),
      transparent 25%
    ),

    linear-gradient(
      135deg,
      #e9ead7,
      #ccd09f
    );

}


.listing-badge {

  position: absolute;

  top: 15px;

  left: 15px;

  padding:
    7px 11px;

  border-radius: 100px;

  background:
    rgba(11, 53, 80, .88);

  color: white;

  font-size: 10px;

  font-weight: 900;

  letter-spacing: 1px;

}



/* =========================================================
   CONTENIDO TARJETA
========================================================= */

.listing-content {

  padding: 21px;

}


.listing-category {

  color: var(--green);

  font-size: 10px;

  font-weight: 900;

  letter-spacing: 1.5px;

}


.listing-content h3 {

  margin-top: 7px;

  font-family:
    Arial,
    Helvetica,
    "Segoe UI",
    sans-serif;

  color: var(--navy);

  font-size: 24px;

}


.listing-location {

  margin-top: 8px;

  color: #6a7d88;

  font-size: 14px;

}


.listing-details {

  min-height: 48px;

  margin-top: 18px;

  padding:
    13px 0;

  display: flex;

  flex-wrap: wrap;

  gap: 10px 16px;

  border-top:
    1px solid #edf1ef;

  border-bottom:
    1px solid #edf1ef;

  color: #536b78;

  font-size: 13px;

}


.listing-footer {

  margin-top: 18px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

}


.listing-footer strong {

  color:
    var(--navy);

  font-size: 18px;

}


.listing-footer a {

  padding:
    9px 13px;

  border-radius: 7px;

  background:
    var(--green);

  color: white;

  font-size: 11px;

  font-weight: 800;

  text-decoration: none;

  transition:
    background .2s ease;

}


.listing-footer a:hover {

  background:
    var(--green-dark);

}



/* =========================================================
   SIN RESULTADOS
========================================================= */

.no-results {

  display: none;

  padding:
    70px 20px;

  text-align: center;

  color: #607583;

}


.no-results.visible {

  display: block;

}


.no-results span {

  display: block;

  font-size: 55px;

  margin-bottom: 14px;

}


.no-results h3 {

  color:
    var(--navy);

  font-family:
    Arial,
    Helvetica,
    "Segoe UI",
    sans-serif;

  font-size: 27px;

  margin-bottom: 8px;

}




/* =========================================================
   NOSOTROS
========================================================= */

.about-section {
  padding: 90px 6%;
  background: var(--winter-white);
}

.about-container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 70px;
  align-items: center;
}

.about-image {
  min-width: 0;
}

.about-image-placeholder {
  min-height: 470px;
  padding: 45px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--navy);
  border: 1px solid rgba(11, 53, 80, .10);
  box-shadow: 0 20px 50px rgba(6, 40, 61, .10);
  background:
    radial-gradient(
      circle at 25% 20%,
      rgba(255, 255, 255, .85),
      transparent 28%
    ),
    linear-gradient(
      145deg,
      #dce9dd 0%,
      #c3d8c5 48%,
      #a9c7b0 100%
    );
}

.about-image-icon {
  font-size: 86px;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 12px rgba(6, 40, 61, .10));
}

.about-image-label {
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .5px;
}

.about-image-placeholder small {
  max-width: 360px;
  margin-top: 13px;
  color: #486171;
  font-size: 13px;
  line-height: 1.6;
}

.about-content h2 {
  margin-bottom: 24px;
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  color: var(--navy);
  font-size: clamp(36px, 4.3vw, 54px);
  line-height: 1.08;
}

.about-content > p:not(.section-eyebrow):not(.about-note) {
  margin-bottom: 16px;
  color: #536b78;
  font-size: 16px;
  line-height: 1.8;
}

.about-values {
  margin-top: 28px;
  display: grid;
  gap: 11px;
}

.about-values span {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}

.about-note {
  margin-top: 28px;
  padding: 13px 16px;
  border-left: 3px solid var(--green);
  background: rgba(47, 106, 67, .06);
  color: #6b7c84;
  font-size: 12px;
  line-height: 1.6;
}



/* =========================================================
   VEHÍCULOS Y MAQUINARIA
========================================================= */

.vm-section {
  padding: 90px 6%;
  background:
    linear-gradient(
      180deg,
      var(--winter-white-soft) 0%,
      var(--winter-white) 100%
    );
}

.vm-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.vm-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.vm-heading h2 {
  margin-bottom: 14px;
  font-family:
    Arial,
    Helvetica,
    "Segoe UI",
    sans-serif;
  color: var(--navy);
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.08;
}

.vm-heading > p:last-child {
  color: #607583;
  font-size: 16px;
  line-height: 1.75;
}

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

.vm-card {
  overflow: hidden;
  border: 1px solid rgba(11, 53, 80, .10);
  border-radius: 20px;
  background: white;
  box-shadow: 0 15px 42px rgba(6, 40, 61, .09);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 52px rgba(6, 40, 61, .14);
}

.vm-visual {
  min-height: 235px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vm-visual span {
  font-size: 92px;
  filter:
    drop-shadow(
      0 8px 12px rgba(6, 40, 61, .12)
    );
}

.vm-vehicle {
  background:
    radial-gradient(
      circle at 72% 24%,
      rgba(255, 255, 255, .76),
      transparent 27%
    ),
    linear-gradient(
      135deg,
      #dce7ed,
      #adc5d2
    );
}

.vm-machinery {
  background:
    radial-gradient(
      circle at 72% 24%,
      rgba(255, 255, 255, .76),
      transparent 27%
    ),
    linear-gradient(
      135deg,
      #e9ead7,
      #ccd09f
    );
}

.vm-content {
  padding: 28px;
}

.vm-kicker {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.vm-content h3 {
  margin-top: 8px;
  font-family:
    Arial,
    Helvetica,
    "Segoe UI",
    sans-serif;
  color: var(--navy);
  font-size: 29px;
}

.vm-content p {
  min-height: 52px;
  margin-top: 11px;
  color: #5f737f;
  font-size: 14px;
  line-height: 1.7;
}

.vm-button {
  margin-top: 22px;
  min-height: 48px;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .8px;
  text-decoration: none;
  transition:
    transform .2s ease,
    background .2s ease;
}

.vm-button:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
}

.vm-note {
  margin-top: 22px;
  color: #829097;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}



.vm-category-grid {
  margin-bottom: 64px;
}

.vm-catalog-block {
  scroll-margin-top: 155px;
  margin-top: 48px;
}

.vm-catalog-block + .vm-catalog-block {
  margin-top: 66px;
}

.vm-catalog-heading {
  margin-bottom: 22px;
}

.vm-catalog-heading h3 {
  margin-top: 6px;
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 38px);
}

.vm-listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.vm-listing-card {
  overflow: hidden;
  background: white;
  border: 1px solid rgba(11, 53, 80, .08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(6, 40, 61, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.vm-listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(6, 40, 61, .13);
}

.vm-listing-image {
  height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vm-listing-image span {
  font-size: 78px;
  filter: drop-shadow(0 7px 12px rgba(6, 40, 61, .13));
}

.vm-listing-image b {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 7px 11px;
  border-radius: 100px;
  background: rgba(11, 53, 80, .88);
  color: white;
  font-size: 10px;
  letter-spacing: .7px;
}

.vehicle-demo-image {
  background: linear-gradient(135deg, #dce7ed, #adc5d2);
}

.vehicle-demo-image.alt {
  background: linear-gradient(135deg, #e7eef2, #bdd0db);
}

.machinery-demo-image {
  background: linear-gradient(135deg, #e9ead7, #ccd09f);
}

.machinery-demo-image.alt {
  background: linear-gradient(135deg, #ece7cf, #d7c99a);
}

.vm-listing-body {
  padding: 24px;
}

.vm-listing-body > small {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.vm-listing-body h4 {
  margin-top: 7px;
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  color: var(--navy);
  font-size: 25px;
}

.vm-listing-body > p {
  margin-top: 9px;
  color: #607583;
  font-size: 14px;
}

.vm-listing-features {
  margin-top: 17px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.vm-listing-features span {
  padding: 7px 10px;
  border-radius: 100px;
  background: var(--soft-green);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.vm-listing-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.vm-listing-footer strong {
  color: var(--navy);
  font-size: 16px;
}

.vm-listing-footer a {
  padding: 10px 14px;
  border-radius: 7px;
  background: var(--green);
  color: white;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .6px;
  text-decoration: none;
}

@media (max-width: 760px) {
  .vm-listing-grid {
    grid-template-columns: 1fr;
  }

  .vm-listing-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

.contact-section {
  padding: 90px 6%;
  background: var(--cream-soft);
}

.contact-container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
}

.contact-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.contact-heading h2 {
  margin-bottom: 12px;
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  color: var(--navy);
  font-size: clamp(36px, 4vw, 50px);
}

.contact-heading > p:last-child {
  color: #607583;
  font-size: 16px;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border: 1px solid rgba(11, 53, 80, .10);
  border-radius: 22px;
  background: white;
  box-shadow: 0 20px 55px rgba(6, 40, 61, .11);
}

.contact-info {
  padding: 48px;
  color: white;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(255, 255, 255, .11),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      var(--navy) 0%,
      var(--navy-dark) 100%
    );
}

.contact-kicker {
  color: #a9d0b5;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
}

.contact-info h3 {
  margin-top: 14px;
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  font-size: 34px;
  line-height: 1.15;
}

.contact-info > p:not(.contact-placeholder-note) {
  margin-top: 18px;
  color: rgba(255, 255, 255, .76);
  font-size: 15px;
  line-height: 1.75;
}

.contact-items {
  margin-top: 34px;
  display: grid;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-item-icon {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .10);
  color: #b8ddc2;
  font-size: 19px;
}

.contact-item div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item small {
  color: #a9d0b5;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.contact-item strong {
  color: white;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact-placeholder-note {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  line-height: 1.6;
}

.contact-form {
  padding: 48px;
}

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

.form-field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #dbe4df;
  border-radius: 10px;
  outline: none;
  background: #fbfcfa;
  color: var(--text);
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.form-field input,
.form-field select {
  min-height: 50px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 145px;
  padding: 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green);
  background: white;
  box-shadow: 0 0 0 3px rgba(47, 106, 67, .10);
}

.contact-submit {
  width: 100%;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .9px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(47, 106, 67, .18);
  transition:
    transform .2s ease,
    background .2s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
}

.form-demo-note {
  margin-top: 12px;
  color: #829097;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}


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

.site-footer {
  padding: 64px 6% 0;
  background: #06283d;
  color: white;
}

.footer-container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding-bottom: 46px;
  display: grid;
  grid-template-columns: 1.5fr .7fr .8fr;
  gap: 60px;
}

.footer-logo {
  display: inline-flex;
  flex-direction: column;
  color: white;
  text-decoration: none;
}

.footer-logo strong {
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  font-size: 31px;
  letter-spacing: .3px;
}

.footer-logo span {
  margin-top: 6px;
  color: #9fc7aa;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.footer-brand p {
  max-width: 430px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .65);
  font-size: 13px;
  line-height: 1.8;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-links > strong,
.footer-contact > strong {
  margin-bottom: 5px;
  color: #a9d0b5;
  font-size: 10px;
  letter-spacing: 1.7px;
}

.footer-links a,
.footer-contact span {
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a {
  transition: color .2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  min-height: 62px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, .48);
  font-size: 11px;
}

.footer-bottom a {
  color: #a9d0b5;
  font-weight: 800;
  letter-spacing: .7px;
  text-decoration: none;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {


  .header-inner {

    grid-template-columns:
      1fr auto auto;

    min-height: 105px;

  }


  .menu-toggle {

    display: flex;

    grid-column: 3;

    grid-row: 1;

  }


  .logo-box {

    grid-column: 2;

    grid-row: 1;

    min-width: auto;

  }


  .logo-box img {

    width: 72px;

    height: 65px;

  }


  .logo-copy {

    display: none;

  }


  .main-nav {

    position: absolute;

    left: 0;

    top: 100%;

    width: 100%;

    padding:
      12px 4% 20px;

    background: white;

    box-shadow:
      0 18px 30px rgba(6, 40, 61, .12);

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

    display: flex;

    flex-direction: column;

    align-items: stretch;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
      translateY(-8px);

    transition:
      opacity .2s ease,
      transform .2s ease,
      visibility .2s;

  }


  .main-nav.open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
      translateY(0);

  }


  .nav-item {

    width: 100%;

    min-height: 58px;

    flex-direction: row;

    justify-content: flex-start;

    gap: 14px;

    border: 0 !important;

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

    padding:
      11px 12px;

  }


  .nav-item::after {

    display: none;

  }


  .nav-icon {

    width: 25px;

    height: 25px;

  }


  .nav-dropdown {

    width: 100%;

  }


  .dropdown-toggle {

    width: 100%;

  }


  .chevron {

    position: static;

    margin-left: auto;

  }


  .submenu {

    position: static;

    width: 100%;

    transform: none;

    box-shadow: none;

    border: 0;

    border-radius: 0;

    padding:
      0 0 0 38px;

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    display: none;

    background:
      #f8fbf9;

  }


  .submenu::before {

    display: none;

  }


  .nav-dropdown.open .submenu {

    display: block;

    transform: none;

  }


  .submenu a {

    border-bottom:
      1px solid #e7eeea;

    border-radius: 0;

  }


  .listing-grid {

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

  }


  .about-container {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-image {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }

  .about-image-placeholder {
    min-height: 390px;
  }

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

  .footer-container {
    grid-template-columns: 1.3fr .7fr .8fr;
    gap: 35px;
  }


}



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

@media (max-width: 680px) {


  .vm-section {
    padding: 60px 20px;
  }

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

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

  .vm-visual {
    min-height: 205px;
  }

  .vm-visual span {
    font-size: 78px;
  }

  .vm-content {
    padding: 24px;
  }

  .vm-content h3 {
    font-size: 26px;
  }

  .vm-content p {
    min-height: 0;
  }

  .vm-button {
    width: 100%;
  }



  .header-inner {

    min-height: 88px;

    padding:
      10px 18px;

    gap: 13px;

  }


  .brand {

    min-width: 0;

    padding-bottom: 13px;

  }


  .brand-main {

    font-size: 25px;

  }


  .brand-sub {

    font-size: 8px;

    letter-spacing: 4px;

  }


  .brand-wave {

    height: 7px;

    border-top-width: 3px;

  }


  .brand-wave::after {

    border-top-width: 3px;

  }


  .logo-box {

    display: none;

  }


  .menu-toggle {

    grid-column: 3;

  }


  .demo-hero {

    min-height: 500px;

    padding:
      65px 22px;

  }


  .eyebrow {

    font-size: 48px;

  }


  .demo-hero h1 {

    font-size: 31px;

  }


  .hero-description {

    font-size: 16px;

  }


  .hero-property-links {

    grid-template-columns:
      1fr;

    max-width:
      430px;

  }


  .hero-btn {

    width: 100%;

    min-height: 50px;

    padding:
      14px 16px;

    font-size: 12px;

  }


  .catalog-section {

    padding:
      55px 20px 70px;

  }


  .search-box {

    flex-direction: column;

  }


  .search-box button {

    width: 100%;

  }


  .filter-buttons {

    display: grid;

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

  }


  .filter-btn {

    width: 100%;

  }


  .listing-grid {

    grid-template-columns:
      1fr;

  }


  .listing-image {

    height: 210px;

  }



  .about-section,
  .contact-section {
    padding: 60px 20px;
  }

  .about-container {
    gap: 34px;
  }

  .about-image-placeholder {
    min-height: 320px;
    padding: 30px 22px;
  }

  .about-image-icon {
    font-size: 66px;
  }

  .about-image-label {
    font-size: 23px;
  }

  .about-content h2 {
    font-size: 36px;
  }

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

  .contact-info,
  .contact-form {
    padding: 32px 24px;
  }

  .contact-info h3 {
    font-size: 29px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-footer {
    padding: 50px 22px 0;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 35px;
  }

  .footer-bottom {
    min-height: 88px;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }


  .demo-section {

    padding:
      55px 22px;

  }


  .demo-section h2 {

    font-size: 32px;

  }


}



@media (max-width: 390px) {


  .brand-main {

    font-size: 22px;

  }


  .brand-sub {

    font-size: 7px;

    letter-spacing: 3px;

  }


  .eyebrow {

    font-size: 40px;

  }


  .demo-hero h1 {

    font-size: 28px;

  }


  .filter-buttons {

    grid-template-columns:
      1fr;

  }


}

/* =========================================================
   DETALLE DE PROPIEDAD / MODAL
========================================================= */

.listing-footer .view-more-btn {
  padding: 9px 13px;
  border: 0;
  border-radius: 7px;
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.listing-footer .view-more-btn:hover,
.listing-footer .view-more-btn:focus-visible {
  background: var(--green-dark);
  transform: translateY(-1px);
}

body.modal-open {
  overflow: hidden;
}

.property-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.property-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.property-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 24, 37, .74);
  backdrop-filter: blur(5px);
}

.property-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 24px;
  background: var(--winter-white-soft);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
  transform: translateY(18px) scale(.985);
  transition: transform .25s ease;
}

.property-modal.open .property-modal-dialog {
  transform: translateY(0) scale(1);
}

.property-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(6, 40, 61, .80);
  color: white;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.property-modal-hero {
  min-height: 330px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  background: linear-gradient(125deg, var(--navy-dark), var(--navy));
  overflow: hidden;
}

.property-modal-visual {
  min-height: 330px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 25%, rgba(255,255,255,.82), transparent 25%),
    linear-gradient(135deg, #dcece1, #aacdb4);
  border-bottom-right-radius: 120px;
}

.property-modal-visual span {
  font-size: clamp(88px, 12vw, 150px);
  filter: drop-shadow(0 14px 20px rgba(6,40,61,.14));
}

.property-modal-hero-copy {
  padding: 58px 58px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.property-modal-operation {
  align-self: flex-start;
  padding: 7px 12px;
  margin-bottom: 18px;
  border-radius: 100px;
  background: #c7a654;
  color: #08283c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.3px;
}

.property-modal-kicker {
  color: #d6bd78;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.4px;
  margin-bottom: 8px;
}

.property-modal-hero h2 {
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
  margin: 0 0 12px;
}

.property-modal-location {
  color: rgba(255,255,255,.82);
  font-size: 16px;
  margin-bottom: 18px;
}

.property-modal-price {
  color: #e1c47a;
  font-size: clamp(24px, 3vw, 34px);
}

.property-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 0;
}

.property-modal-main {
  padding: 38px 42px 44px;
}

.property-modal-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 26px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.property-modal-summary span {
  padding: 10px 13px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.property-modal-section + .property-modal-section {
  margin-top: 30px;
}

.property-modal-label {
  display: block;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.8px;
  margin-bottom: 10px;
}

.property-modal-section p {
  color: #526b78;
  line-height: 1.75;
  font-size: 15px;
}

.property-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.property-feature {
  padding: 15px 16px;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--line);
}

.property-feature small {
  display: block;
  color: #82949e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.property-feature strong {
  color: var(--navy);
  font-size: 14px;
}

.property-modal-contact {
  padding: 38px 30px;
  background: #eef3ee;
  border-left: 1px solid var(--line);
}

.property-modal-contact h3 {
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  color: var(--navy);
  font-size: 30px;
  margin-bottom: 12px;
}

.property-modal-contact > p {
  color: #607583;
  font-size: 14px;
  line-height: 1.65;
}

.property-code {
  margin: 28px 0 20px;
  padding: 16px;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--line);
}

.property-code small {
  display: block;
  color: #8799a4;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.property-code strong {
  color: var(--navy);
  font-size: 17px;
}

.property-contact-primary,
.property-contact-secondary {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .6px;
  text-align: center;
  cursor: pointer;
}

.property-contact-primary {
  background: var(--green);
  color: white;
  text-decoration: none;
}

.property-contact-primary:hover {
  background: var(--green-dark);
}

.property-contact-secondary {
  margin-top: 10px;
  border: 1px solid rgba(11,53,80,.18);
  background: transparent;
  color: var(--navy);
}

@media (max-width: 820px) {
  .property-modal {
    padding: 10px;
  }

  .property-modal-dialog {
    max-height: calc(100vh - 20px);
    border-radius: 18px;
  }

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

  .property-modal-visual {
    min-height: 210px;
    border-bottom-right-radius: 70px;
  }

  .property-modal-hero-copy {
    padding: 34px 28px 30px;
  }

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

  .property-modal-main {
    padding: 28px 24px 32px;
  }

  .property-modal-contact {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 24px;
  }
}

@media (max-width: 520px) {
  .property-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   GALERÍA DE IMÁGENES - DETALLE DE PROPIEDAD
========================================================= */

.property-gallery {
  margin-bottom: 30px;
}

.property-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #dfe9e2;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(6, 40, 61, .10);
}

.property-gallery-main img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease, opacity .2s ease;
}

.property-gallery-main:hover img {
  transform: scale(1.02);
}

.property-gallery-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(6, 40, 61, .82);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  backdrop-filter: blur(6px);
}

.property-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.property-gallery-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid transparent;
  background: #eef3ee;
  cursor: pointer;
  opacity: .72;
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
}

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

.property-gallery-thumb.active {
  opacity: 1;
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(47, 106, 67, .10);
}

.property-gallery-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.property-gallery-note {
  margin-top: 10px;
  color: #7b8f99;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 620px) {
  .property-gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-gallery-main {
    aspect-ratio: 4 / 3;
  }
}

/* =========================================================
   MODAL CATÁLOGOS VEHÍCULOS / MAQUINARIA — INDIVIDUAL
========================================================= */

.vm-button {
  font-family: inherit;
  cursor: pointer;
}

.catalog-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.catalog-modal.open { display: flex; }

.catalog-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 40, 61, .72);
  backdrop-filter: blur(5px);
}

.catalog-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1060px, 96vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--winter-white-soft);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(6, 40, 61, .30);
  padding: 34px;
}

.catalog-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: white;
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(6, 40, 61, .12);
}

.catalog-modal-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 26px;
  padding: 0 48px;
}

.catalog-modal-header h2 {
  margin: 6px 0 10px;
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 44px);
}

.catalog-modal-header p {
  color: #607583;
  line-height: 1.7;
}

.catalog-detail-card {
  display: grid;
  grid-template-columns: minmax(300px, .95fr) minmax(0, 1.2fr);
  overflow: hidden;
  background: white;
  border: 1px solid rgba(11, 53, 80, .09);
  border-radius: 20px;
  box-shadow: 0 14px 38px rgba(6, 40, 61, .10);
}

.catalog-detail-visual {
  min-height: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dce7ed, #adc5d2);
}

.catalog-single[data-type="maquinaria"] .catalog-detail-visual {
  background: linear-gradient(135deg, #e9ead7, #ccd09f);
}

.catalog-detail-visual > span {
  font-size: clamp(90px, 12vw, 150px);
  filter: drop-shadow(0 12px 15px rgba(6, 40, 61, .12));
}

.catalog-item-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(11, 53, 80, .9);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .7px;
}

.catalog-detail-content { padding: 34px; }

.catalog-detail-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.catalog-detail-content h3 {
  margin: 7px 0 8px;
  color: var(--navy);
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  font-size: clamp(28px, 3vw, 38px);
}

.catalog-item-location {
  color: #607583;
  line-height: 1.6;
}

.catalog-detail-price {
  display: block;
  margin-top: 15px;
  color: var(--green-dark);
  font-size: 22px;
}

.catalog-detail-section {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.catalog-detail-section > small,
.catalog-detail-code small {
  color: #7a8c96;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.catalog-detail-section > p {
  margin-top: 8px;
  color: #526b78;
  line-height: 1.7;
}

.catalog-detail-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.catalog-detail-features > div {
  padding: 12px;
  border-radius: 10px;
  background: var(--soft-green);
}

.catalog-detail-features small,
.catalog-detail-features strong {
  display: block;
}

.catalog-detail-features small {
  margin-bottom: 3px;
  color: #6d8277;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-detail-features strong {
  color: var(--navy);
  font-size: 14px;
}

.catalog-detail-code {
  margin-top: 20px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfa;
}

.catalog-detail-code strong { color: var(--navy); }

.catalog-detail-contact {
  width: 100%;
  margin-top: 16px;
  padding: 14px 18px;
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  cursor: pointer;
}

.catalog-detail-contact:hover { background: var(--green-dark); }

.catalog-modal-navigation {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.catalog-nav-btn {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.catalog-nav-btn:first-child { justify-self: start; }
.catalog-nav-btn:last-child { justify-self: end; }

.catalog-nav-btn:hover:not(:disabled) {
  border-color: var(--green);
  color: var(--green-dark);
}

.catalog-nav-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.catalog-counter {
  min-width: 74px;
  text-align: center;
  color: #607583;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .catalog-modal { padding: 12px; }

  .catalog-modal-dialog {
    padding: 28px 16px 18px;
    max-height: 94vh;
    border-radius: 16px;
  }

  .catalog-modal-header { padding: 0 30px; }

  .catalog-detail-card { grid-template-columns: 1fr; }

  .catalog-detail-visual { min-height: 230px; }

  .catalog-detail-content { padding: 24px 18px; }

  .catalog-detail-features { grid-template-columns: 1fr; }

  .catalog-modal-navigation { grid-template-columns: 1fr auto 1fr; }

  .catalog-nav-btn { padding: 10px 11px; font-size: 10px; }
}



/* Campo honeypot para Netlify Forms */
.hidden-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =========================================================
   AJUSTE TIPOGRAFICO - REFERENCIA CARRO Y CIA (18-08-2026)
   Estilo sans-serif, compacto y corporativo.
========================================================= */
body {
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
}

/* Eliminar el contraste serif anterior y unificar la identidad tipografica */
.brand-main,
.logo-copy strong,
.demo-eyebrow,
.demo-hero h1,
.section-heading h2,
.property-card h3,
.about-image-label,
.about-content h2,
.vm-heading h2,
.vm-content h3,
.vm-catalog-heading h3,
.vm-listing-body h4,
.contact-heading h2,
.contact-info h3,
.footer-logo strong,
.property-modal-hero h2,
.property-modal-contact h3,
.catalog-modal-header h2,
.catalog-detail-content h3 {
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
}

/* Titulos: fuertes, limpios y menos grandes, como la referencia */
.demo-hero h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -1px;
}

.section-heading h2,
.about-content h2,
.vm-heading h2,
.contact-heading h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.5px;
}

.vm-catalog-heading h3 {
  font-size: clamp(25px, 2.6vw, 32px);
  font-weight: 700;
}

.vm-content h3,
.contact-info h3,
.property-modal-contact h3 {
  font-size: 26px;
  font-weight: 700;
}

.vm-listing-body h4 {
  font-size: 22px;
  font-weight: 700;
}

.property-modal-hero h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.08;
}

.catalog-modal-header h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
}

.catalog-detail-content h3 {
  font-size: clamp(25px, 2.8vw, 32px);
  font-weight: 700;
}

/* Marca: conservar composicion, pero con apariencia mas corporativa */
.brand-main {
  font-weight: 700;
  letter-spacing: -1px;
}

/* Navegacion y botones con peso similar a la web de referencia */
.main-nav a,
.dropdown-toggle,
.quick-link,
.filter-btn,
.search-button,
.vm-button,
.catalog-detail-contact,
.catalog-nav-btn {
  font-weight: 700;
}

@media (max-width: 760px) {
  .demo-hero h1 {
    font-size: clamp(31px, 10vw, 43px);
  }

  .section-heading h2,
  .about-content h2,
  .vm-heading h2,
  .contact-heading h2 {
    font-size: clamp(28px, 8vw, 36px);
  }
}

/* Publicaciones de vehículos y maquinaria lado a lado */
.vm-catalogs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.vm-catalog-block {
  min-width: 0;
}

.vm-catalog-block .vm-listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.vm-catalog-block .listing-card {
  width: 100%;
}

@media (max-width: 820px) {
  .vm-catalogs-grid {
    grid-template-columns: 1fr;
  }
}

/* Corrección de alineación: Vehículos y Maquinaria deben comenzar a la misma altura */
.vm-catalogs-grid > .vm-catalog-block,
.vm-catalogs-grid > .vm-catalog-block + .vm-catalog-block {
  margin-top: 48px;
}

.vm-catalogs-grid .listing-card {
  align-self: start;
}
