/* ==========================================================================
   Kawen Desarrollos Inmobiliarios — hoja de estilos
   Vanilla CSS (sin frameworks). Fuente global: Inter.
   ========================================================================== */

:root {
  --font-main: "Inter", sans-serif;

  --color-bg-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-900: #111827;
  --color-black: #000000;
  --color-white: #ffffff;

  --color-accent-blue: #2e4458;
  --color-accent-gold: #a5996b;

  --container-max: 80rem; /* 1280px */
  --gutter: 1.5rem;       /* 24px */
  --gutter-lg: 3rem;      /* 48px */
}

/* --------------------------------------------------------------------------
   Reset básico
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-white);
  color: var(--color-gray-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: -0.025em;
}

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

ul, ol {
  list-style: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

::selection {
  background-color: var(--color-accent-gold);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

@media (min-width: 1024px) {
  .container {
    padding-left: var(--gutter-lg);
    padding-right: var(--gutter-lg);
  }
}

.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.section--gray {
  background-color: var(--color-gray-50);
}

.section--bordered {
  border-bottom: 1px solid var(--color-gray-100);
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   Botones / links con estilo de botón
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--color-accent-blue);
  color: var(--color-white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: var(--color-accent-gold);
}

.link-gold {
  color: var(--color-accent-gold);
  transition: color 0.15s ease;
}

.link-gold:hover {
  color: var(--color-accent-blue);
}

.link-arrow {
  display: none;
  align-items: center;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--color-accent-gold);
  transition: color 0.15s ease;
}

.link-arrow svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
}

.link-arrow:hover {
  color: var(--color-accent-blue);
}

@media (min-width: 768px) {
  .link-arrow {
    display: inline-flex;
  }
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: all 0.5s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background-color: transparent;
  color: var(--color-white);
}

.navbar.navbar--solid {
  background-color: var(--color-white);
  color: var(--color-gray-900);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  border-bottom-color: var(--color-gray-100);
}

/* Página estática (sin JS de scroll), navbar siempre sólida */
.navbar--static {
  position: static;
  background-color: var(--color-white);
  color: var(--color-gray-900);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  border-bottom-color: var(--color-gray-100);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

@media (min-width: 768px) {
  .navbar__inner {
    height: 6rem;
  }
}

.navbar__logo {
  display: flex;
  align-items: center;
}

.navbar__logo img {
  width: 128px;
  height: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .navbar__logo img {
    width: 200px;
  }
}

.navbar__menu {
  display: none;
  align-items: center;
  gap: 2.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.navbar__menu a {
  transition: color 0.15s ease;
}

.navbar__menu a:hover,
.navbar__menu a.is-active {
  color: var(--color-accent-gold);
}

@media (min-width: 768px) {
  .navbar__menu {
    display: flex;
  }
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .navbar__actions {
    gap: 1.5rem;
  }
}

.navbar__icon {
  display: none;
  transition: color 0.15s ease;
}

.navbar__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.navbar__icon:hover {
  color: var(--color-accent-gold);
}

@media (min-width: 640px) {
  .navbar__icon {
    display: block;
  }
}

.navbar__toggle {
  display: block;
  padding: 0.5rem;
  transition: color 0.15s ease;
}

.navbar__toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.navbar__toggle:hover {
  color: var(--color-accent-gold);
}

@media (min-width: 768px) {
  .navbar__toggle {
    display: none;
  }
}

/* Mobile menu dropdown */

.mobile-menu {
  display: none;
  position: fixed;
  top: 6rem;
  left: 0;
  width: 100%;
  height: calc(100vh - 6rem);
  background-color: var(--color-white);
  color: var(--color-gray-900);
  flex-direction: column;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 2.5rem;
  gap: 2rem;
  overflow-y: auto;
  z-index: 40;
  border-top: 1px solid var(--color-gray-100);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  font-size: 1.875rem;
  font-weight: 300;
  letter-spacing: 0.025em;
  transition: color 0.15s ease;
}

.mobile-menu a:hover,
.mobile-menu a.is-active {
  color: var(--color-accent-gold);
}

.mobile-menu__icons {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: auto;
  padding-top: 2rem;
}

.mobile-menu__icons a svg {
  width: 2rem;
  height: 2rem;
}

.mobile-menu__icons a:hover {
  color: var(--color-accent-gold);
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Navbar simple (páginas "en construcción") */

.navbar-simple {
  width: 100%;
  z-index: 50;
  background-color: var(--color-white);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  border-bottom: 1px solid var(--color-gray-100);
}

.navbar-simple__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6rem;
}

.navbar-simple__brand {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--color-gray-900);
}

.navbar-simple__menu {
  display: none;
  align-items: center;
  gap: 2.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--color-gray-900);
}

.navbar-simple__menu a {
  transition: color 0.15s ease;
}

.navbar-simple__menu a:hover,
.navbar-simple__menu a.is-active {
  color: var(--color-accent-gold);
}

@media (min-width: 768px) {
  .navbar-simple__menu {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   Hero (portada)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-black);
}

.hero__video {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  opacity: 0.6;
  object-fit: cover;
}

.hero__media-mobile {
  display: none;
}

@media (max-width: 767px) {
  .hero__media-desktop {
    display: none;
  }

  .hero__media-mobile {
    display: block;
  }
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
  animation: fadeIn 1s ease-out forwards;
}

.hero__title {
  font-size: 3rem;
  font-weight: 300;
  color: var(--color-white);
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero__title strong {
  font-weight: 500;
  color: var(--color-accent-gold);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 6rem;
  }
}

.hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 42rem;
  margin: 0 auto;
  font-weight: 300;
  letter-spacing: 0.025em;
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 1.25rem;
  }
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 1s infinite;
}

.hero__scroll-indicator svg {
  width: 1.5rem;
  height: 1.5rem;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% {
    transform: translate(-50%, -25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translate(-50%, 0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* --------------------------------------------------------------------------
   Sección de contadores / trayectoria
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem 6rem;
  }
}

.stats__heading {
  font-size: 1.875rem;
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--color-accent-blue);
  margin-bottom: 2rem;
}

.stats__heading strong {
  font-weight: 500;
  color: var(--color-accent-gold);
}

@media (min-width: 768px) {
  .stats__heading {
    font-size: 3rem;
  }
}

.stats__text {
  color: var(--color-gray-500);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.625;
}

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

@media (min-width: 768px) {
  .stats__grid {
    gap: 3rem;
  }
}

.stats__grid--wide {
  text-align: center;
  justify-items: center;
}

@media (min-width: 1024px) {
  .stats__grid--wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stats__number {
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-accent-gold);
  margin-bottom: 0.5rem;
}

.stats__number .plus {
  font-size: 1.875rem;
}

@media (max-width: 767px) {
  .info-split__stats .stats__grid > div {
    min-width: 0;
  }

  .info-split__stats .stats__number {
    font-size: 1.25rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 768px) {
  .stats__number {
    font-size: 4.5rem;
  }
}

.stats__label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-400);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Proyectos / cards
   -------------------------------------------------------------------------- */

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  gap: 1rem;
}

.section-heading__title {
  font-size: 1.875rem;
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--color-accent-blue);
}

.section-heading__title strong {
  font-weight: 500;
}

@media (min-width: 768px) {
  .section-heading__title {
    font-size: 3rem;
  }
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  display: block;
  position: relative;
  overflow: hidden;
  background-color: var(--color-white);
}

.project-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: var(--color-gray-200);
  overflow: hidden;
}

.project-card__image-wrap picture,
.project-slider__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.project-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-card .badge-group {
  flex-wrap: nowrap;
  gap: 0.3rem;
  margin-bottom: 0;
}

.project-card .badge {
  padding: 0.15rem 0.35rem;
  font-size: 0.5rem;
  letter-spacing: 0.02em;
}

@media (min-width: 1100px) {
  .project-card .badge {
    padding: 0.2rem 0.5rem;
    font-size: 0.62rem;
  }
}

.project-card:hover .project-card__image-wrap img {
  transform: scale(1.05);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  transition: background-color 0.5s ease;
}

.project-card:hover .project-card__overlay {
  background-color: rgba(0, 0, 0, 0.1);
}

.project-card__body {
  padding: 1.5rem;
}

.project-card__title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-gray-900);
  margin-bottom: 0.25rem;
}

.project-card__status {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   Sección "Sobre Kawen": full screen, 50% foto + 50% texto centrado
   -------------------------------------------------------------------------- */

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
}

@media (max-width: 1023px) {
  .split-feature {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

.split-feature__image {
  position: relative;
  overflow: hidden;
  background-color: var(--color-gray-200);
}

@media (max-width: 1023px) {
  .split-feature__image {
    height: 60vh;
  }
}

.split-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-feature__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem;
}

@media (max-width: 1023px) {
  .split-feature__content {
    padding: 3.5rem 1.5rem;
  }
}

.split-feature__text {
  max-width: 30rem;
  color: var(--color-gray-600);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   Botón flotante de WhatsApp (todas las páginas)
   -------------------------------------------------------------------------- */

.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 30;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
  width: 1.9rem;
  height: 1.9rem;
  color: var(--color-white);
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 3.25rem;
    height: 3.25rem;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer__brand-col {
    grid-column: span 2;
  }
}

.footer__brand {
  display: block;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer__brand-text {
  color: var(--color-gray-400);
  font-weight: 300;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.625;
}

.footer__heading {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-gold);
  margin-bottom: 1.5rem;
}

.footer__list li {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  font-weight: 300;
}

.footer__list li + li {
  margin-top: 0.75rem;
}

.footer__list a {
  transition: color 0.15s ease;
}

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

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-gray-500);
  font-weight: 300;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
  }
}

.footer__legal {
  display: flex;
  gap: 1rem;
}

.footer__legal a {
  transition: color 0.15s ease;
}

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

/* --------------------------------------------------------------------------
   Ficha de proyecto (páginas /proyectos/{slug}/)
   -------------------------------------------------------------------------- */

.project-header {
  position: relative;
  height: 60vh;
  min-height: 24rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--color-black);
}

.project-header__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.project-header__content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  padding: 3rem 0;
  width: 100%;
}

.project-header__status {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-gold);
  font-weight: 500;
  margin-bottom: 1rem;
}

.project-header__title {
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .project-header__title {
    font-size: 3.75rem;
  }
}

.project-header__location {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

.project-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .project-body {
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
  }
}

.project-body__description {
  color: var(--color-gray-600);
  font-weight: 300;
  line-height: 1.7;
  font-size: 1.0625rem;
}

.project-body__description p + p {
  margin-top: 1.25rem;
}

.project-specs {
  border-top: 1px solid var(--color-gray-100);
  padding-top: 1.5rem;
}

.project-specs dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-400);
  font-weight: 500;
}

.project-specs dd {
  font-size: 1.0625rem;
  color: var(--color-gray-900);
  margin-bottom: 1.25rem;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .project-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-gallery__item--wide {
  grid-column: span 2;
}

/* --------------------------------------------------------------------------
   Ficha de proyecto — plantilla "En Obra" / "Lanzamiento"
   Hero partido: slider 50% + contenido/form 50%, pantalla completa.
   -------------------------------------------------------------------------- */

.status-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

@media (max-width: 1023px) {
  .status-hero {
    grid-template-columns: 1fr;
  }
}

.status-hero__slider {
  position: relative;
  overflow: hidden;
  background-color: var(--color-black);
}

@media (max-width: 1023px) {
  .status-hero__slider {
    height: 100vh;
  }
}

.status-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem;
  background-color: var(--color-white);
}

@media (max-width: 1023px) {
  .status-hero__content {
    padding: 3rem 1.5rem 4rem;
  }
}

.status-hero__status {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-gold);
  font-weight: 500;
  margin-bottom: 1rem;
}

.status-hero__title {
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--color-accent-blue);
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .status-hero__title {
    font-size: 3rem;
  }
}

.status-hero__description {
  color: var(--color-gray-600);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 34rem;
}

.status-hero__description p + p {
  margin-top: 1rem;
}

.status-hero__cta {
  align-self: flex-start;
}

.status-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.status-hero__video-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 2rem;
  border: 1px solid var(--color-accent-blue);
  color: var(--color-accent-blue);
  background: transparent;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.status-hero__video-btn:hover {
  background-color: var(--color-accent-blue);
  color: var(--color-white);
}

.status-hero__video-btn svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  margin-left: 0.1rem;
}

/* --------------------------------------------------------------------------
   Slider (carrusel de fotos), vanilla JS
   -------------------------------------------------------------------------- */

.project-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.project-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.project-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.project-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.35);
  color: var(--color-white);
  z-index: 2;
  transition: background-color 0.15s ease;
}

.project-slider__btn:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.project-slider__btn--prev {
  left: 1rem;
}

.project-slider__btn--next {
  right: 1rem;
}

.project-slider__btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.project-slider__dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.project-slider__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.project-slider__dot.is-active {
  background-color: var(--color-white);
  transform: scale(1.3);
}

/* --------------------------------------------------------------------------
   Formulario de consulta (Netlify Forms — 2 campos: Nombre + WhatsApp)
   -------------------------------------------------------------------------- */

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 26rem;
}

.lead-form--wide {
  max-width: 32rem;
}

.lead-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lead-form__field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray-500);
  font-weight: 500;
}

.lead-form__field input,
.lead-form__field textarea {
  border: 1px solid var(--color-gray-200);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background-color: var(--color-white);
  color: var(--color-gray-900);
  transition: border-color 0.15s ease;
  resize: vertical;
}

.lead-form__field input:focus,
.lead-form__field textarea:focus {
  outline: none;
  border-color: var(--color-accent-gold);
}

.lead-form__honeypot {
  position: absolute;
  left: -9999px;
}

.lead-form__submit {
  align-self: flex-start;
}

.lead-form__note {
  font-size: 0.75rem;
  color: var(--color-gray-400);
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Badges de estado
   3 estados principales (elegí uno) + "Unidades Disponibles" como tag
   opcional que se puede combinar con cualquiera de los tres.
   -------------------------------------------------------------------------- */

.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
}

.badge--terminado,
.badge--entregado {
  background-color: rgba(46, 68, 88, 0.1);
  color: var(--color-accent-blue);
}

.badge--en-obra {
  background-color: rgba(165, 153, 107, 0.18);
  color: var(--color-accent-gold);
}

.badge--lanzamiento {
  background-color: var(--color-gray-900);
  color: var(--color-white);
}

.badge--disponible {
  background-color: rgba(22, 163, 74, 0.12);
  color: #16a34a;
}

.badge--reservada {
  background-color: rgba(202, 138, 4, 0.12);
  color: #ca8a04;
}

.badge--vendida {
  background-color: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

.badge--no-disponible {
  background-color: var(--color-gray-100);
  color: var(--color-gray-500);
}

/* --------------------------------------------------------------------------
   Debajo del fold: specs adicionales
   -------------------------------------------------------------------------- */

.status-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.status-specs dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-400);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.status-specs dd {
  font-size: 1.125rem;
  color: var(--color-gray-900);
}

/* --------------------------------------------------------------------------
   Ficha de proyecto — plantilla "Entregado"
   1) Hero full screen con slider + nombre/estado abajo a la derecha
   2) Datos principales (m2, unidades) + descripción
   3) Imagen full screen con botón de play -> lightbox de YouTube
   -------------------------------------------------------------------------- */

.delivered-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-color: var(--color-black);
}

.delivered-hero .project-slider {
  width: 100%;
  height: 100%;
}

.delivered-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0) 45%);
  z-index: 1;
  pointer-events: none;
}

.delivered-hero__content {
  position: absolute;
  z-index: 5;
  right: 1.5rem;
  bottom: 2.5rem;
  text-align: right;
  color: var(--color-white);
  max-width: 90%;
}

@media (min-width: 1024px) {
  .delivered-hero__content {
    right: 4rem;
    bottom: 3.5rem;
  }
}

.delivered-hero__title {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .delivered-hero__title {
    font-size: 4rem;
  }
}

.badge-group--right {
  justify-content: flex-end;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Sección 50/50 full-bleed: descripción + números (ficha "Entregado")
   -------------------------------------------------------------------------- */

.info-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.info-split--fullscreen {
  min-height: 100vh;
}

@media (max-width: 1023px) {
  .info-split {
    grid-template-columns: 1fr;
  }
}

.info-split__image {
  position: relative;
  overflow: hidden;
  min-height: 50vh;
  background-color: var(--color-gray-200);
}

.info-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1023px) {
  .info-split__image {
    height: 60vh;
    min-height: 0;
  }
}

.info-split__description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem;
}

.info-split__cta {
  align-self: flex-start;
  margin-top: 2rem;
}

.info-split__stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem;
  background-color: var(--color-gray-50);
}

@media (max-width: 1023px) {
  .info-split__description,
  .info-split__stats {
    padding: 3.5rem 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   Sección de video: imagen full screen + botón play -> lightbox YouTube
   -------------------------------------------------------------------------- */

.video-showcase {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-color: var(--color-black);
}

.video-showcase__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: var(--color-black);
}

.video-showcase__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.video-showcase__play:hover {
  background-color: var(--color-white);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-showcase__play svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-accent-blue);
  margin-left: 0.2rem;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  z-index: 200;
}

.video-lightbox[hidden] {
  display: none;
}

.video-lightbox__frame-wrap {
  position: relative;
  width: 100%;
  max-width: 64rem;
  aspect-ratio: 16 / 9;
}

.video-lightbox__frame {
  width: 100%;
  height: 100%;
}

.video-lightbox__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox__close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.75rem;
  line-height: 1;
}

.video-lightbox__close:hover {
  color: var(--color-accent-gold);
}

/* --------------------------------------------------------------------------
   Sección CTA (cierre de página, botón centrado)
   -------------------------------------------------------------------------- */

.cta-section {
  padding: 6rem 1.5rem;
  text-align: center;
}

.cta-section__title {
  font-size: 1.875rem;
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--color-accent-blue);
  margin-bottom: 2rem;
}

.cta-section__title strong {
  font-weight: 500;
  color: var(--color-accent-gold);
}

@media (min-width: 768px) {
  .cta-section__title {
    font-size: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   Lista de datos de contacto (con ícono)
   -------------------------------------------------------------------------- */

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-list__icon {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: rgba(165, 153, 107, 0.15);
  color: var(--color-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-list__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-info-list__text {
  padding-top: 0.6rem;
  color: var(--color-gray-600);
  font-weight: 300;
  line-height: 1.5;
}

.contact-info-list__text a {
  color: inherit;
  transition: color 0.15s ease;
}

.contact-info-list__text a:hover {
  color: var(--color-accent-gold);
}

/* --------------------------------------------------------------------------
   Tabla de precios (páginas ocultas /proyectos/{slug}/precios/)
   -------------------------------------------------------------------------- */

.precios-banner {
  display: block;
  width: 100%;
  max-height: 420px;
  margin: 0 0 2rem;
  object-fit: cover;
}

.price-table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.price-table th {
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray-500);
  font-weight: 500;
  border-bottom: 2px solid var(--color-gray-100);
  white-space: nowrap;
}

.price-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--color-gray-100);
  color: var(--color-gray-900);
  white-space: nowrap;
}

.price-table tbody tr:hover {
  background-color: var(--color-gray-50);
}

.price-table__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.price-table__updated {
  font-size: 0.8125rem;
  color: var(--color-gray-400);
  font-weight: 300;
}

.price-table__state {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  font-weight: 300;
  padding: 3rem 0;
  text-align: center;
}

.price-table td a {
  color: var(--color-accent-gold);
  transition: color 0.15s ease;
}

.price-table td a:hover {
  color: var(--color-accent-blue);
}

/* --------------------------------------------------------------------------
   Toolbar de filtros (páginas de precios con muchas unidades)
   -------------------------------------------------------------------------- */

.precios-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.precios-toolbar__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.precios-toolbar__field:has(#precios-filtro-estado) {
  display: none;
}

.precios-toolbar__field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray-500);
  font-weight: 500;
}

.precios-toolbar__field input,
.precios-toolbar__field select {
  border: 1px solid var(--color-gray-200);
  padding: 0.6rem 0.85rem;
  font-family: inherit;
  font-size: 0.9375rem;
  background-color: var(--color-white);
  color: var(--color-gray-900);
  min-width: 10rem;
}

.precios-toolbar__field input:focus,
.precios-toolbar__field select:focus {
  outline: none;
  border-color: var(--color-accent-gold);
}

.precios-toolbar__search {
  flex: 1 1 16rem;
}

.precios-toolbar__search input {
  min-width: 100%;
}

.precios-toolbar__clear {
  font-size: 0.8125rem;
  color: var(--color-gray-400);
  text-decoration: underline;
  padding-bottom: 0.6rem;
}

.precios-toolbar__clear:hover {
  color: var(--color-accent-gold);
}

/* --------------------------------------------------------------------------
   Resumen (contador por estado)
   -------------------------------------------------------------------------- */

.precios-resumen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-size: 0.875rem;
  color: var(--color-gray-600);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(46, 68, 88, 0.1);
}

.precios-resumen strong {
  color: var(--color-gray-900);
}

/* --------------------------------------------------------------------------
   Grupos colapsables (piso / sector / etapa)
   -------------------------------------------------------------------------- */

.precios-grupo {
  border: 1px solid var(--color-gray-100);
  margin-bottom: 1rem;
}

.precios-grupo summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  color: var(--color-accent-blue);
  background-color: var(--color-gray-50);
}

.precios-grupo summary::-webkit-details-marker {
  display: none;
}

.precios-grupo__count {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-gray-400);
  margin-right: auto;
  margin-left: 0.75rem;
}

.precios-grupo__toggle {
  font-size: 1.25rem;
  color: var(--color-gray-400);
  line-height: 1;
}

.precios-grupo[open] .precios-grupo__toggle::before {
  content: "−";
}

.precios-grupo:not([open]) .precios-grupo__toggle::before {
  content: "+";
}

.precios-grupo .price-table-wrap {
  padding: 0;
}

/* --------------------------------------------------------------------------
   Columnas ordenables
   -------------------------------------------------------------------------- */

.price-table th[data-sort] {
  cursor: pointer;
  user-select: none;
}

.price-table th[data-sort]:hover {
  color: var(--color-accent-gold);
}

.price-table th[data-sort]::after {
  content: "↕";
  margin-left: 0.35rem;
  opacity: 0.35;
  font-size: 0.75rem;
}

.price-table th[data-sort].is-sorted-asc::after {
  content: "↑";
  opacity: 1;
}

.price-table th[data-sort].is-sorted-desc::after {
  content: "↓";
  opacity: 1;
}

.precios-empty {
  padding: 3rem 0;
  text-align: center;
  color: var(--color-gray-400);
  font-size: 0.9375rem;
}

/* Responsive: tabla -> cards en mobile */
@media (max-width: 700px) {
  .price-table thead {
    display: none;
  }

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

  .price-table tr {
    border: 1px solid var(--color-gray-100);
    margin-bottom: 1rem;
    padding: 0.25rem 1rem;
  }

  .price-table td {
    border-bottom: 1px solid var(--color-gray-50);
    padding: 0.6rem 0;
    white-space: normal;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: right;
  }

  .price-table td:last-child {
    border-bottom: none;
  }

  .price-table td::before {
    content: attr(data-label);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gray-400);
    font-weight: 500;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   Opcionales y Forma de Pago (páginas de precios)
   -------------------------------------------------------------------------- */

.precios-extra {
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.precios-extra__title {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-accent-blue);
  margin-bottom: 1.5rem;
}

.precios-extra__title strong {
  font-weight: 500;
  color: var(--color-accent-gold);
}

.precios-extra--pago {
  background-color: rgba(165, 153, 107, 0.08);
}

.precios-extra--opcionales {
  background-color: rgba(46, 68, 88, 0.05);
}

.opcionales-list {
  display: flex;
  flex-direction: column;
  max-width: 32rem;
}

.opcionales-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(46, 68, 88, 0.12);
  font-size: 0.9375rem;
  color: var(--color-gray-900);
}

.opcionales-list li:last-child {
  border-bottom: none;
}

.opcionales-list li span:last-child {
  color: var(--color-gray-500);
  font-weight: 300;
}

.forma-pago-text {
  max-width: 40rem;
  color: var(--color-gray-600);
  font-weight: 300;
  line-height: 1.7;
  font-size: 1.0625rem;
}

/* --------------------------------------------------------------------------
   Panel de filtros + resumen
   -------------------------------------------------------------------------- */

#precios-root .section-heading {
  margin-bottom: 0.85rem;
}

.precios-soldout {
  display: inline-flex;
  margin: 0 0 2rem;
  padding: 0.5rem 1.2rem;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

.precios-soldout[hidden] {
  display: none !important;
}

#precios-root.is-soldout .precios-toolbar,
#precios-root.is-soldout .precios-controls > .precios-extra__title {
  display: none;
}

.precios-controls {
  background-color: var(--color-gray-50);
  padding: 2rem;
  margin-bottom: 2.5rem;
}

/* --------------------------------------------------------------------------
   Páginas simples ("en construcción")
   -------------------------------------------------------------------------- */

.simple-page {
  padding-top: 8rem;
  padding-bottom: 8rem;
  text-align: center;
}

.simple-page__title {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--color-accent-blue);
  margin-bottom: 1.5rem;
}

.simple-page__text {
  color: var(--color-gray-500);
  font-weight: 300;
  max-width: 42rem;
  margin: 0 auto;
}
