:root {
  --azul: #25556f;
  --blanco: #ffffff;
  --negro: #000000;
  --whatsapp:#25d366;

  --primario: var(--azul);
  --secundario: var(--blanco);
  --alternativo: var(--negro);
  --font-texto: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;

  --font-destacado: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --fondo-header: var(--primario);
  --color-texto-header: var(--secundario);

  --fondo-body: var(--secundario);
  --color-texto-detacado: var(--primario);
  --color-texto-body: var(--alternativo);

  --fondo-footer: var(--primario);
  --color-texto-footer: var(--secundario);
  scroll-behavior: smooth;
}


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

/* ========== TIPOGRAFÍA GLOBAL (escala) ========== */
html {
  font-size: 16px;
  /* base */
}

body {
  line-height: 1.6;
  font-weight: 400;
}

/* Defaults prolijos */
h1, h2, h3, h4, p {
  margin: 0;
}

/* Escala (mantiene visual parecido a lo que ya tenías) */
h1 {
  font-family: var(--font-destacado);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.05;
  text-transform: uppercase;
}

h1 small {
  font-size: 0.7em;
  letter-spacing: 2px;
}

h2 {
  font-family: var(--font-destacado);
  font-weight: 700;
  font-size: 32px;
  /* igual que tu props-title */
  line-height: 1.15;
}

h3 {
  font-family: var(--font-destacado);
  font-weight: 700;
  font-size: 20px;
  /* igual que tu prop-name */
  line-height: 1.2;
}

h4 {
  font-family: var(--font-destacado);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
}

p {
  font-size: 16px;
  /* default del sitio */
  line-height: 1.6;
}

small {
  font-size: 14px;
  /* tu escala “chica” (kicker + meta) */
  line-height: 1.4;
}


body {
  font-family: var(--font-texto);
  background-color: var(--fondo-body);
  color: var(--color-texto-body);
}

a {
  text-decoration: none;
}

/* ========== HEADER ========== */
.site-header {
  background: var(--fondo-header);
  color: var(--color-texto-header);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  width: 85%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}


.header-logo {
  display: block;
  /*padding: 25px 0 15px 0;*/
  margin: 15px 0;
}

.header-logo img {
  height: 100px;
  display: block;
  /* margin-top: -6px;*/
}

/* Menú a la derecha (desktop) */
.header-nav {
  display: flex;
  align-items: center;
  padding: 0px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: var(--color-texto-header);
  font-family: var(--font-destacado);
  font-size: 24px;
  font-weight: 500;
  font-variation-settings:
    "wdth"100;
  font-style: normal;
  letter-spacing: 4px;
}

.nav-link:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

/* Toggle oculto (checkbox hack, sin JS) */
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Botón hamburguesa (solo mobile) */
.nav-toggle-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  cursor: pointer;

  /* 3 líneas centradas */
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle-btn span {
  width: 18px;
  height: 2px;
  background: #fff;
  display: block;

}

/* ====== Responsive: cuando no entra el menú ====== */
@media (max-width: 860px) {

  /* Se oculta el nav y aparece el botón */
  .nav-toggle-btn {
    display: inline-flex;
  }

  .header-nav {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--blanco);
    border: 1px solid var(--azul);
    border-radius: 0;
    padding: 6px;
    flex-direction: column;
    gap: 4px;
    min-width: 200px;
  }

  .nav-link {
    width: 100%;
    color: var(--azul);
    font-size: 16px;
    letter-spacing: 0;
    padding: 10px 12px;
    justify-content: flex-start;
  }


  /* Si el checkbox está checked, mostramos el menú */
  .nav-toggle:checked~.header-nav {
    display: flex;
  }

  /* Botón hamburguesa cuando el menú está abierto */
  .nav-toggle:checked+.nav-toggle-btn {
    background: var(--blanco);
    border: 1px solid var(--azul);
  }

  /* Líneas azules cuando el menú está abierto */
  .nav-toggle:checked+.nav-toggle-btn span {
    background: var(--azul);
  }

}

/* ========== HERO ========== */
.hero {
  background:
    linear-gradient(rgba(37, 85, 111, 0.75),
      rgba(37, 85, 111, 0.75)),
    url("../media/propiedadesOptimized/hero.webp");
  background-size: cover;
  background-position: center bottom;
  color: var(--blanco);
}


.hero-container {
  width: 85%;
  margin-inline: auto;
  padding: 64px 0;
}

.hero-content {
  max-width: clamp(690px, 50vw, 780px);
}

.hero-kicker {
  font-family: var(--font-destacado);
  letter-spacing: 2px;
  text-transform: uppercase;
  /*font-size: 14px;*/
  opacity: 0.9;
  margin-bottom: 12px;
}

.hero-title {
  /*font-family: var(--font-destacado);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;*/
  margin-bottom: 14px;
}

.hero-subtitle {

  margin-bottom: 24px;
  max-width: clamp(530px, 35vw, 720px);
  display: block;
}

.hero-subtitle-text {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.5;
  font-weight: 400;
  max-width: 100%;
  letter-spacing: 2px;

  padding: 2px;
  /*opacity: 0.95;*/

  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background:
    linear-gradient(rgba(37, 85, 111, 0.65),
      rgba(37, 85, 111, 0.65));
}

.hero-actions {
  display: flex;
  gap: clamp(18px, 4.5vw, 60px);
  justify-content:flex-start;
  flex-wrap: wrap;
  max-width: clamp(530px, 35vw, 720px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 6px;

  font-family: var(--font-texto);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: clamp(16px, 3.5vw, 18px);
}

.btn-primary {
  background: var(--blanco);
  color: var(--azul);
  border-color: var(--blanco);
}



/* ========== NUESTRAS PROPIEDADES ========== */
.props {
  padding: 56px 0;
  background: var(--fondo-body);
}

.props-container {
  width: 85%;
  margin-inline: auto;
}

.props-header {
  margin-bottom: 22px;
}

.props-title {
  font-family: var(--font-destacado);
  color: var(--azul);
  font-size: 32px;
  margin-bottom: 8px;
}

.props-subtitle {
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.5;
  max-width: 720px;
}

.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.prop-card {
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background: var(--blanco);
}

.prop-media {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.prop-body {
  padding: 14px;
}

.prop-name {
  font-family: var(--font-destacado);
  color: var(--azul);
  font-size: 20px;
  margin-bottom: 6px;
}

.prop-meta {
  color: rgba(0, 0, 0, 0.65);
  font-size: 14px;
}

.prop-card:hover {
  border-color: rgba(37, 85, 111, 0.45);
}

/* Responsive */
@media (max-width: 860px) {
  .hero-container {
    padding: 44px 0;
  }

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

  .prop-media {
    height: 200px;
  }
}

/* ===== ABAX production polish overrides ===== */
.site-header {
  background: rgba(37, 85, 111, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset;
}
.site-header.is-scrolled {
  background: rgba(37, 85, 111, 0.84);
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}
.header-container {
  min-height: 88px;
  transition: min-height .25s ease;
}
.site-header.is-scrolled .header-container {
  min-height: 68px;
}
.header-logo {
  margin: 10px 0;
}
.header-logo img {
  height: 72px;
  transition: height .25s ease;
}
.site-header.is-scrolled .header-logo img {
  height: 54px;
}
.nav-link {
  padding: 12px 14px;
  font-size: 20px;
  letter-spacing: 3px;
}
@media (max-width: 860px) {
  .header-container { min-height: 74px; width: min(92%, 1180px); }
  .header-logo img { height: 56px; }
  .site-header.is-scrolled .header-logo img { height: 50px; }
}

.prop-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.prop-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0,0,0,.09);
}
.prop-media { position: relative; }
.prop-status-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,.14);
}
.prop-status-badge--sold { background: #d74c4c; }
.prop-status-badge--reserved { background: #ce7d17; }

.site-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, rgba(37,85,111,1) 0%, rgba(30,68,88,1) 100%);
  color: #fff;
}
.footer-container {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 24px 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 22px;
  align-items: start;
}
.footer-brand img { height: 56px; display: block; margin-bottom: 8px; }
.footer-title {
  margin: 0 0 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .85;
}
.footer-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 7px;
}
.site-footer a { color: rgba(255,255,255,.92); }
.site-footer a:hover { text-decoration: underline; }
.footer-note { opacity: .82; font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 18px; padding-top: 12px;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  font-size: 14px; opacity: .92;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-bottom { font-size: 13px; }
}

/* ===== HOME: composición y movimiento ===== */
.hero {
  position: relative;
  overflow: hidden;
  background-position: center 42%;
  min-height: 430px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 25%, rgba(255,255,255,.10), transparent 28%),
    linear-gradient(90deg, rgba(18,50,68,.22), transparent 52%);
}
.hero-container { position: relative; z-index: 1; }
.hero-content { max-width: 760px; }
.hero-kicker,
.hero-title,
.hero-subtitle,
.hero-actions {
  opacity: 0;
  transform: translateY(18px);
  animation: heroReveal .72s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-title { animation-delay: .10s; }
.hero-subtitle { animation-delay: .20s; }
.hero-actions { animation-delay: .30s; }
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}
.hero-actions {
  margin-top: 26px;
  gap: 12px;
  max-width: none;
}
.hero-btn {
  min-width: 150px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.82);
  font-size: 14px;
  letter-spacing: .08em;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.14); }
.hero-btn--primary { background: #fff; color: var(--azul); }
.hero-btn--secondary { background: rgba(37,85,111,.32); color: #fff; backdrop-filter: blur(5px); }
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: -54px;
  width: 34px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  transform: translateX(-50%);
}
.hero-scroll-cue span {
  position: absolute;
  left: 50%; top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  animation: cueDrop 1.6s ease-in-out infinite;
}
@keyframes cueDrop {
  0% { opacity: 0; transform: translate(-50%,0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%,18px); }
}
@media (min-width: 861px) {
  .hero { background-attachment: fixed; }
}
@media (max-width: 860px) {
  .hero { min-height: 390px; background-position: 42% 42%; background-attachment: scroll; }
  .hero-actions { flex-direction: row; gap: 10px; }
  .hero-btn { min-width: 0; flex: 1; }
  .hero-scroll-cue { display: none; }
}

.props { position: relative; overflow: hidden; }
.props::before {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  right: -180px; top: -190px;
  border-radius: 50%;
  background: rgba(37,85,111,.035);
  pointer-events: none;
}
.props-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.prop-card {
  opacity: 1;
  transform: translateY(0);
}
.prop-card.reveal-ready {
  opacity: 0;
  transform: translateY(26px);
}
.prop-card.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .58s ease, transform .58s cubic-bezier(.2,.7,.2,1), box-shadow .2s ease;
}
.prop-media {
  transition: transform .4s cubic-bezier(.2,.7,.2,1), filter .3s ease;
}
.prop-card:hover .prop-media {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.02);
}
.prop-body { position: relative; z-index: 1; background: #fff; }
@media (max-width: 1180px) {
  .props-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .props-grid { grid-template-columns: 1fr; }
}
