/* =========================================================
   Andrés Lizcano · Ingeniería + Inversión
   Capa visual 2026 — mantiene compatibilidad con la base.
   ========================================================= */

:root {
  --brand-blue: #0b5b82;
  --brand-blue-dark: #061c2d;
  --brand-blue-deep: #041522;
  --brand-blue-light: #dcecf4;
  --brand-sky: #69a9c8;
  --surface: #ffffff;
  --surface-soft: #f3f6f8;
  --surface-muted: #e8eef2;
  --surface-dark: #071d2e;
  --text-primary: #10202b;
  --text-secondary: #60717d;
  --brand-border: #dbe4e9;
  --accent: #c8923f;
  --accent-soft: #f5ead7;
  --success: #23845d;
  --warning: #a66c16;
  --danger: #b84b4b;
  --shadow-card: 0 18px 52px rgba(6, 28, 45, 0.1);
  --shadow-float: 0 26px 70px rgba(4, 21, 34, 0.18);

  /* Aliases para conservar todos los componentes existentes. */
  --dark: var(--brand-blue-dark);
  --dark-soft: #0a273b;
  --gold: var(--brand-blue);
  --gold-light: var(--brand-sky);
  --gold-dark: #074563;
  --white: var(--surface);
  --text: var(--text-primary);
  --text-muted: var(--text-secondary);
  --text-soft: #81919b;
  --border: var(--brand-border);
  --border-soft: #eaf0f3;
  --beige: var(--brand-blue-light);
  --placeholder-bg: #0a2b42;
  --placeholder-mid: #123d58;
  --radius-sm: 7px;
  --radius-md: 11px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --container: 1240px;
  --header-h: 72px;
}

html,
body {
  max-width: none;
}

body {
  background: var(--surface);
  color: var(--text-primary);
  overflow-x: visible;
}

::selection {
  color: var(--surface);
  background: var(--brand-blue);
}

a,
button,
select,
input {
  -webkit-tap-highlight-color: transparent;
}

:where(a, button, select, input, [tabindex]):focus-visible {
  outline: 3px solid rgba(105, 169, 200, 0.85);
  outline-offset: 3px;
}

button:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.56;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.container {
  width: min(100% - 56px, var(--container));
}

.section {
  padding: 96px 0;
}

.section-eyebrow,
.hero__eyebrow {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-title {
  color: var(--text-primary);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.section-subtitle {
  max-width: 690px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.section-header--center .section-eyebrow {
  margin-bottom: 12px;
}

.img-placeholder {
  background:
    linear-gradient(135deg, rgba(105, 169, 200, 0.1), transparent 42%),
    linear-gradient(145deg, var(--placeholder-mid), var(--placeholder-bg));
}

.img-placeholder::before {
  opacity: 0.18;
  background-size: 26px 26px;
}

.img-placeholder__label {
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(4, 21, 34, 0.48);
  backdrop-filter: blur(8px);
}

.btn {
  min-height: 46px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn--gold {
  color: #fff;
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  box-shadow: 0 10px 26px rgba(11, 91, 130, 0.25);
}

.btn--gold:hover {
  border-color: #084b6c;
  background: #084b6c;
  box-shadow: 0 13px 30px rgba(11, 91, 130, 0.32);
}

.btn--outline {
  color: var(--brand-blue-dark);
  border-color: var(--brand-border);
  background: #fff;
}

.btn--outline:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  background: #f8fbfc;
}

/* Header y marca */
.header {
  min-height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 21, 34, 0.95);
  backdrop-filter: blur(16px);
}

.header.is-scrolled {
  background: rgba(4, 21, 34, 0.98);
  box-shadow: 0 10px 36px rgba(4, 21, 34, 0.18);
}

.header__inner {
  width: min(100% - 44px, var(--container));
  min-height: var(--header-h);
}

.logo {
  gap: 10px;
}

.logo__mark {
  position: relative;
  width: 36px;
  height: 42px;
  color: var(--accent);
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.logo__mark::before {
  content: "";
  position: absolute;
  top: 3px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.logo__monogram {
  position: absolute;
  z-index: 1;
  left: 6px;
  bottom: 7px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.logo__name {
  max-width: 145px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.15;
}

.logo__tag {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.43rem;
  letter-spacing: 0.17em;
}

.nav__link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
}

.nav__link.is-active::after {
  background: var(--accent);
}

.header__whatsapp {
  width: auto;
  height: 40px;
  gap: 7px;
  padding: 0 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: var(--brand-blue);
  font-size: 0.76rem;
  font-weight: 700;
}

.header__whatsapp svg {
  width: 17px;
  height: 17px;
}

.header__whatsapp:hover {
  color: #fff;
  background: #0d6c99;
}

/* Home hero */
.hero {
  min-height: 760px;
  background: var(--brand-blue-deep);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 55%;
  transform: scale(1.1);
  filter: saturate(0.72) contrast(1.06) brightness(0.8);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(3, 17, 28, 0.97) 0%, rgba(3, 24, 38, 0.83) 40%, rgba(5, 29, 45, 0.22) 75%),
    linear-gradient(180deg, rgba(4, 21, 34, 0.15), rgba(4, 21, 34, 0.74));
}

.hero__content {
  width: min(100% - 56px, var(--container));
  padding-top: 160px;
  padding-bottom: 220px;
}

.hero__eyebrow {
  margin-bottom: 18px;
}

.hero__title {
  max-width: 700px;
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: 0.98;
}

.hero__title-line--gold {
  color: var(--accent);
}

.hero__subtitle {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.7;
}

.hero__actions .btn--gold {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(200, 146, 63, 0.24);
}

.hero__actions .btn--gold:hover {
  background: #b78031;
  border-color: #b78031;
}

.search-panel {
  bottom: 0;
  width: min(100% - 56px, 1160px);
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  box-shadow: var(--shadow-float);
  transform: translateY(52%);
}

.search-panel__form {
  grid-template-columns: 1.35fr auto 1fr auto 0.8fr auto 1fr auto;
}

.search-panel__field--category {
  min-width: 265px;
}

.search-panel__tabs {
  display: flex;
  gap: 3px;
}

.search-panel__tab {
  padding: 5px 7px;
  color: var(--text-secondary);
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 700;
}

.search-panel__tab:hover,
.search-panel__tab.is-active {
  color: var(--brand-blue);
  background: var(--brand-blue-light);
}

.search-panel__select:focus {
  outline: none;
}

.search-panel__btn {
  min-width: 126px;
  border-radius: 8px;
  background: var(--brand-blue-dark);
}

/* Categorías */
.categories {
  padding-top: 150px;
  background: var(--surface);
}

.categories__grid {
  gap: 20px;
}

.category-card {
  min-height: 360px;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.category-card__overlay {
  background: linear-gradient(180deg, rgba(4, 21, 34, 0.05), rgba(4, 21, 34, 0.88));
}

.category-card__content {
  min-height: 360px;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
}

.category-card__icon {
  color: var(--accent);
}

.category-card__title {
  font-size: 1.55rem;
}

/* Tecnología */
.technology {
  background: var(--surface-soft);
}

.technology__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.technology-card {
  position: relative;
  min-width: 0;
}

.technology-card__media {
  position: relative;
  height: 270px;
  overflow: hidden;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--brand-blue-dark);
  box-shadow: var(--shadow-card);
}

.technology-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.technology-card:hover .technology-card__media img {
  transform: scale(1.035);
}

.technology-card__number {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 1.55rem;
  font-weight: 750;
}

.technology-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.technology-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

.technology-card--blueprint .technology-card__media {
  background:
    linear-gradient(rgba(105, 169, 200, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 169, 200, 0.12) 1px, transparent 1px),
    linear-gradient(145deg, #0b3149, #061c2d);
  background-size: 24px 24px, 24px 24px, auto;
}

.technology-card__plan {
  position: absolute;
  inset: 18% 12%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  transform: perspective(500px) rotateX(54deg) rotateZ(-8deg);
  box-shadow: inset 0 0 0 14px rgba(105, 169, 200, 0.08);
}

.technology-card__plan::before,
.technology-card__plan::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.technology-card__plan::before {
  inset: 18% 42% 8% 10%;
}

.technology-card__plan::after {
  inset: 12% 8% 48% 55%;
}

.technology-card--phone .technology-card__media {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #dcecf4, #8dbbd1);
}

.technology-card__device {
  width: 120px;
  height: 224px;
  padding: 7px;
  overflow: hidden;
  border: 5px solid var(--brand-blue-deep);
  border-radius: 21px;
  background: var(--brand-blue-deep);
  box-shadow: 0 18px 32px rgba(4, 21, 34, 0.28);
  transform: rotate(5deg);
}

.technology-card__device img {
  border-radius: 11px;
}

/* Tarjetas y listados */
.featured {
  background: var(--surface);
}

.featured:nth-of-type(even) {
  background: var(--surface-soft);
}

.featured__grid,
.projects-grid {
  gap: 22px;
}

.property-card,
.project-card {
  overflow: hidden;
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(6, 28, 45, 0.07);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}

.property-card:hover,
.project-card:hover {
  border-color: rgba(11, 91, 130, 0.35);
  box-shadow: var(--shadow-card);
  transform: translateY(-5px);
}

.property-card__media,
.project-card__media {
  min-height: 210px;
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.property-card__media img,
.project-card__media img {
  transition: transform 0.55s var(--ease);
}

.property-card:hover .property-card__media img,
.project-card:hover .project-card__media img {
  transform: scale(1.035);
}

.property-card__badge,
.project-card__badge {
  background: rgba(4, 21, 34, 0.88);
  backdrop-filter: blur(8px);
}

.property-card__body,
.project-card__body {
  padding: 20px;
}

.property-card__price,
.project-card__price {
  color: var(--brand-blue-dark);
}

.section-link {
  color: var(--brand-blue);
}

.property-card[hidden] {
  display: none;
}

/* Recorrido de lote */
.lot-journey {
  color: #fff;
  background: var(--brand-blue-dark);
}

.lot-journey__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.lot-journey__visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.lot-journey__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(4, 21, 34, 0.78));
}

.lot-journey__visual img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  filter: saturate(0.65) hue-rotate(155deg) brightness(0.82);
}

.lot-journey__badge {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(4, 21, 34, 0.72);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 700;
}

.lot-journey__content .section-title {
  margin: 12px 0 18px;
  color: #fff;
}

.lot-journey__content > p:not(.section-eyebrow):not(.product-disclaimer) {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

.lot-journey__steps {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.lot-journey__steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.lot-journey__steps span {
  color: var(--accent);
  font-weight: 800;
}

.product-disclaimer {
  margin: 0 0 24px;
  padding: 14px 16px;
  color: var(--brand-blue-dark);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: var(--accent-soft);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Confianza y contacto */
.benefits {
  color: #fff;
  background:
    radial-gradient(circle at 12% 0%, rgba(105, 169, 200, 0.2), transparent 34%),
    var(--brand-blue-dark);
}

.benefits__icon {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}

.benefits__title {
  color: #fff;
}

.benefits__desc {
  color: rgba(255, 255, 255, 0.6);
}

.cta-section {
  background: var(--surface-soft);
}

.cta,
.detail-cta,
.project-cta {
  border-radius: 16px;
  background:
    linear-gradient(100deg, rgba(11, 91, 130, 0.35), transparent 54%),
    var(--brand-blue-dark);
  box-shadow: var(--shadow-card);
}

.footer {
  color: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--brand-blue-deep);
}

.footer__copy {
  color: inherit;
}

/* Detalles de propiedades */
.detail-page,
.lote-page,
.project-detail,
.sp-page {
  background: var(--surface-soft);
}

.casa-hero,
.lote-hero,
.sp-hero,
.project-hero {
  background: var(--surface-soft);
}

.detail-gallery__main,
.lote-gallery__main,
.sp-hero__media,
.project-hero__media {
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 12px 42px rgba(6, 28, 45, 0.12);
}

body[data-page="lote"] .lote-gallery__main.has-image > img {
  filter: saturate(0.58) contrast(0.94) brightness(0.9);
}

.detail-summary,
.lote-summary,
.project-hero__summary,
.sp-hero__summary {
  border: 1px solid var(--brand-border);
  border-radius: 15px;
  box-shadow: var(--shadow-card);
}

.detail-summary--dark,
.sp-hero__summary {
  border-color: rgba(255, 255, 255, 0.08);
  background: var(--brand-blue-dark);
}

.detail-specs__icon,
.lote-specs__icon {
  color: var(--brand-blue);
  background: var(--brand-blue-light);
}

.lote-status__dot,
.detail-gallery__status-dot {
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(35, 132, 93, 0.16);
}

.detail-tabs,
.lote-tabs,
.projects-filters {
  scrollbar-width: thin;
  scrollbar-color: var(--brand-sky) transparent;
}

.detail-tabs__btn.is-active,
.lote-tabs__btn.is-active,
.projects-filters__btn.is-active {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.detail-check-list li::before,
.lote-check-list li::before {
  background-color: var(--brand-blue);
}

.casa-3d,
.lote-build,
.sp-experience,
.project-units {
  background: #eaf0f3;
}

.viewer-shell,
.lote-viewer,
.project-about__viewer,
.unit-panel__viewer {
  border: 1px solid rgba(105, 169, 200, 0.18);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.viewer-shell__stage,
.lote-viewer__stage {
  background:
    radial-gradient(circle at 50% 10%, rgba(105, 169, 200, 0.22), transparent 38%),
    linear-gradient(155deg, #123e59, #061c2d);
}

.lote-viewer__mode.is-active,
.viewer-shell__mode.is-active {
  color: #fff;
  background: var(--brand-blue);
}

.lote-viewer__ar {
  box-shadow: 0 10px 28px rgba(11, 91, 130, 0.3);
}

.viewer-error {
  position: absolute;
  z-index: 8;
  right: 18px;
  bottom: 72px;
  left: 18px;
  padding: 12px 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(4, 21, 34, 0.88);
  font-size: 0.78rem;
  text-align: center;
}

.search-panel__status {
  min-height: 17px;
  margin: 8px 6px -4px;
  color: var(--text-secondary);
  font-size: 0.72rem;
}

.lote-model.is-active {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(11, 91, 130, 0.12);
}

.lote-model__badge {
  color: var(--brand-blue);
  background: var(--brand-blue-light);
}

.feature-strip__icon,
.sp-know-card__icon,
.sp-exp-card__icon {
  color: var(--brand-blue);
}

.feature-strip {
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(6, 28, 45, 0.06);
}

/* Sobreplano */
.projects-hero {
  background: var(--brand-blue-deep);
}

.projects-hero__overlay {
  background:
    linear-gradient(90deg, rgba(4, 21, 34, 0.96), rgba(4, 35, 53, 0.7) 58%, rgba(4, 21, 34, 0.42)),
    linear-gradient(180deg, transparent, rgba(4, 21, 34, 0.7));
}

.projects-hero__line--gold {
  color: var(--accent);
}

.projects-howto__num {
  color: var(--brand-blue);
  background: var(--brand-blue-light);
}

.project-card__badge.is-planos,
.project-card__badge.is-construccion,
.project-card__badge.is-entrega {
  background: rgba(4, 21, 34, 0.88);
}

.project-card__technology {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 6px;
}

.tech-badge {
  display: inline-flex;
  min-width: 34px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(11, 91, 130, 0.9);
  box-shadow: 0 6px 18px rgba(4, 21, 34, 0.2);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.project-card__model {
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: var(--brand-blue-light);
}

.project-card__model span {
  color: var(--text-secondary);
  font-size: 0.68rem;
}

.project-card__model strong {
  color: var(--brand-blue-dark);
  font-size: 0.78rem;
  line-height: 1.4;
}

.sp-hero__bar {
  background: rgba(4, 21, 34, 0.9);
}

.sp-project-definition {
  margin: 18px 0;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.9);
  border-left: 3px solid var(--brand-sky);
  border-radius: 0 8px 8px 0;
  background: rgba(105, 169, 200, 0.12);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.6;
}

.sp-know-card,
.sp-exp-card {
  border-color: var(--brand-border);
  box-shadow: 0 8px 28px rgba(6, 28, 45, 0.07);
}

.sp-know-card:hover,
.sp-exp-card:hover {
  border-color: rgba(11, 91, 130, 0.32);
}

.sobreplano-definition {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 26px 0;
}

.sobreplano-definition__item {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.sobreplano-definition__item span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sobreplano-definition__item strong {
  color: #fff;
  font-size: 0.9rem;
}

.included-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.included-project__card {
  padding: 26px;
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(6, 28, 45, 0.06);
}

.included-project__card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.included-project__card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.included-project__specs {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.included-project__specs li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 9px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.84rem;
}

.included-project__specs span {
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1100px) {
  .search-panel__form {
    grid-template-columns: 1fr 1fr;
  }

  .search-panel__field--category {
    grid-column: 1 / -1;
  }

  .lot-journey__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lot-journey__visual,
  .lot-journey__visual img {
    min-height: 390px;
  }
}

@media (max-width: 1024px) {
  .nav {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 21, 34, 0.99);
  }

  .nav__link.is-active {
    color: #fff;
    background: rgba(105, 169, 200, 0.16);
  }

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

  .technology-card:last-child {
    grid-column: 1 / -1;
  }

  .technology-card:last-child .technology-card__media {
    height: 320px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 66px;
  }

  .container,
  .header__inner {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .header__whatsapp span {
    display: none;
  }

  .header__whatsapp {
    width: 40px;
    padding: 0;
  }

  .hero {
    min-height: 700px;
  }

  .hero__media img {
    object-position: 59% 50%;
    transform: scale(1.28);
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(3, 17, 28, 0.94), rgba(3, 24, 38, 0.52)),
      linear-gradient(180deg, rgba(4, 21, 34, 0.2) 30%, rgba(4, 21, 34, 0.92));
  }

  .hero__content {
    width: min(100% - 32px, var(--container));
    margin-left: 16px;
    padding: 112px 0 230px;
  }

  .hero__title {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .search-panel {
    width: calc(100% - 32px);
    padding: 14px;
    transform: translateY(58%);
  }

  .search-panel__form {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .search-panel__field--category,
  .search-panel__btn {
    grid-column: 1 / -1;
  }

  .search-panel__field {
    min-width: 0;
  }

  .search-panel__tabs {
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .search-panel__tab {
    white-space: nowrap;
  }

  .categories {
    padding-top: 190px;
  }

  .technology__grid,
  .included-project {
    grid-template-columns: 1fr;
  }

  .technology-card:last-child {
    grid-column: auto;
  }

  .technology-card__media,
  .technology-card:last-child .technology-card__media {
    height: 240px;
  }

  .lot-journey__visual,
  .lot-journey__visual img {
    min-height: 300px;
  }

  .sobreplano-definition {
    grid-template-columns: 1fr;
  }

  .lote-viewer {
    min-height: 430px;
  }

  .lote-viewer__stage model-viewer {
    min-height: 390px;
  }
}

@media (max-width: 480px) {
  .logo__mark {
    width: 29px;
    height: 36px;
  }

  .logo__name {
    font-size: 0.68rem;
  }

  .logo__tag {
    font-size: 0.35rem;
  }

  .hero__eyebrow {
    max-width: 280px;
    font-size: 0.64rem;
  }

  .hero__subtitle {
    font-size: 0.94rem;
  }

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

  .search-panel__field--category,
  .search-panel__btn {
    grid-column: auto;
  }

  .search-panel__tab {
    padding-inline: 6px;
    font-size: 0.67rem;
  }

  .categories {
    padding-top: 255px;
  }

  .category-card,
  .category-card__content {
    min-height: 300px;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .lot-journey__visual,
  .lot-journey__visual img {
    min-height: 240px;
  }
}

@media (max-width: 390px) {
  .logo__text {
    max-width: 112px;
  }

  .header__inner {
    gap: 10px;
  }

  .header__actions {
    gap: 4px;
  }
}

@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;
  }
}
