/* =======================================================
   RESET & BASE
   ======================================================= */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: white;
}

main {
  position: relative;
  max-width: 1440px;
  margin: 35px auto;
}

/* Ajuste de anclas para header fijo */
section[id] {
  scroll-margin-top: 70px; /* ajustá este valor */
}

@media (max-width: 899px) {
  #about {
    scroll-margin-top: 120px;
  }
}

/* Estado inicial (solo si hay JS) */
html.js .reveal,
html.js .reveal-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  will-change: opacity, transform;
}

/* Visible */
html.js .reveal.is-visible,
html.js .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   WhatsApp flotante
================================ */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 10px;

  background-color: #a6c63a;
  color: #fff;
  padding: 14px 18px;
  border-radius: 40px;

  font-size: 15px;
  font-weight: 600;
  text-decoration: none;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float img {
  width: 22px;
  height: 22px;
  display: block;
}

/* Hover desktop */
.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

/* ===============================
   Mobile: solo icono
================================ */
@media (max-width: 768px) {
  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
  }

  .whatsapp-text {
    display: none;
  }
}

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

.header {
  position: absolute;
  top: 25px;
  width: 100%;
  z-index: 20;
}

.header.fixed {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px; /* mismo ancho que el <main> */
  padding: 0;
  background-color: white;
  z-index: 100;
}

.header__container {
  max-width: 1280px;
  margin: auto;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 55px;
}

/* NAV desktop */
.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
}

/* LANGUAGE */
.lang {
  position: relative;
}

.lang button {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #a6c63a;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.lang__menu {
  display: none;
  position: absolute;
  top: 45px;
  right: 0;
  background: #555;
  padding: 10px 0;
  border-radius: 10px;
  list-style: none;
  width: 70px;
}

.lang__menu li {
  padding: 6px 12px;
  color: #fff;
  cursor: pointer;
}

/* HAMBURGER */
.hamburger {
  background: none;
  border: none;
  display: none;
  cursor: pointer;
}

.hamburger span {
  font-size: 32px;
  color: #444;
}

/* MOBILE MENU */
.nav--mobile {
  position: relative;
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 20px;
}

.nav--mobile a {
  padding: 12px 0;
  font-size: 18px;
  color: #444;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

/* ===== BANNER LANZAMIENTO ===== */
.launch-banner {
  width: 90%;
  max-width: 1024px;
  margin: auto;
  background: #a6c63a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  position: relative;
  border-radius: 0px 0px 12px 12px;
  top: 0;
}

/* texto principal */
.launch-banner__text {
  font-weight: 600;
  white-space: nowrap;
}

/* animación sutil */
.launch-banner__pulse {
  animation: pulseFade 1.2s ease-in-out infinite;
}

@keyframes pulseFade {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* logo */
.launch-banner__logo {
  height: 28px;
  width: auto;
  animation: logoBreath 3.2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes logoBreath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* CTA */
.launch-banner__cta {
  font-size: 13px;
  opacity: 0.85;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .launch-banner {
    width: 75%;
    gap: 10px;
    padding: 8px 12px;
    font-size: 13px;
    background: none;
  }

  .launch-banner__cta {
    display: none; /* no molesta en mobile */
  }

  .launch-banner__logo {
    height: 24px;
  }
}

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

.hero {
  position: relative;
  height: 650px;
  overflow: visible;
}

.hero__image {
  position: absolute;
  inset: 0; /* reemplaza top/left/width/height elegantly */
  background-image: url("../images/hero-poster.webp");
  background-size: cover; /* importante! */
  background-position: center; /* centra la imagen */
  background-repeat: no-repeat;
  z-index: 0; /* por si tenés contenido encima */
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
}

.hero__content {
  width: 100%;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}

.hero__content h1 {
  font-size: 48px;
  font-weight: 700;
}

.hero__content p {
  font-size: 24px;
  margin-top: 10px;
}

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

.buscador {
  position: absolute;
  bottom: -70px;
  width: 90%;
  max-width: 1000px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 25px 30px 30px;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.tabs {
  display: flex;
  margin-bottom: 20px;
}

.tabs button {
  flex: 1;
  padding: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: #eee;
  border-radius: 10px 10px 0 0;
}

.tabs button.active {
  background: #a6c63a;
  color: #fff;
}

/* Grid */
.buscador__form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: end;
}

/* Flecha verde custom */
.field {
  position: relative;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, #a6c63a 50%),
    linear-gradient(135deg, #a6c63a 50%, transparent 50%);
  background-position: calc(100% - 18px) 16px, calc(100% - 12px) 16px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

label {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

/* Selects estilo tarjeta */
select {
  width: 100%;
  padding: 12px 40px 12px 14px;
  border-radius: 14px;
  border: 1px solid #e3e3e3;
  background: #f7f7f7;
  font-size: 15px;
  color: #555;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
}

/* Botón buscar */
.btn-search {
  background: #a6c63a;
  border: none;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  cursor: pointer;
}

.btn-search .material-icons {
  color: #fff;
  font-size: 26px;
}

/* =======================================================
   RESPONSIVE GLOBAL (HEADER + HERO + BUSCADOR)
   ======================================================= */

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero {
    height: 580px;
  }

  .hero__content h1 {
    font-size: 34px;
  }

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

/* =======================================================
   APARTAMENTOS – LISTADO (HOME)
   ======================================================= */

.section-apartments {
  padding: 60px 0px 0px 0px; /* deja aire después del hero + buscador */
  background: white;
  margin: 0px;
  border-radius: 12px;
}

.apartments {
  max-width: 1280px;
  margin: 0 auto;
  background: white;
  border-radius: 30px;
  padding: 40px 40px 50px;
}

.apartments__title {
  text-align: center;
  font-size: 34px;
  font-weight: 600;
  color: #a6c63a;
  margin: 30px 0px;
}

/* GRID DE CARDS */
.apartments__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.apartment-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

/* Imagen + badges */
.apartment-card__image-wrap {
  position: relative;
}

.apartment-card__image {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.apartment-card__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
}

.badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

.badge--rent {
  background: #a6c63a;
}

.badge--sale {
  background: #24a0de;
}

/* Cuerpo */
.apartment-card__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.apartment-card__location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #8bc34a;
  margin-bottom: 10px;
}

.apartment-card__location .material-icons {
  font-size: 16px;
}

.apartment-card__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #333;
  margin-bottom: 14px;
}

/* Features fila */
.apartment-card__features {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: #7a7a7a;
  margin-bottom: 14px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 4px;
}

.feature .material-icons {
  font-size: 18px;
  color: #a6c63a;
}

/* divisor horizontal */
.apartment-card__divider {
  width: 100%;
  height: 1px;
  background: #e3e3e3;
  margin-bottom: 10px;
}

/* divisor vertical opcional */
.divider-vertical {
  width: 2px;
  height: 24px;
  background: #dedede;
  margin: 0 12px;
}

/* precio */
.apartment-card__price {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  text-align: end;
}

/* PAGINACIÓN */
.apartments__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  gap: 6px;
}

.page-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #cfcfcf;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
}

.page-btn.active {
  background: #a6c63a;
  color: #ffffff;
  border-color: #a6c63a;
}

.page-btn--icon .material-icons {
  font-size: 20px;
}

/* ===========================
   LUJO: animación cards
   =========================== */

.apartment-card {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Estado visible */
.apartment-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.section-about {
  padding: 90px 0;
}

.about {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: center;
}

.about__image img {
  width: 100%;
  border-radius: 24px;
  display: block;
}

.about__kicker {
  color: #8bc53f;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.about__title {
  font-size: 42px;
  font-weight: 700;
  color: #8bc53f;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about__content p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 14px;
}

.btn--green {
  display: inline-block;
  margin-top: 20px;
  background: #a6c63a;
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn--green:hover {
  background: #8bb52f;
  transform: translateY(-1px);
}
/* =======================================================
   RESPONSIVE NOSOTROS
   ======================================================= */

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__title {
    font-size: 32px;
  }

  .section-about {
    padding: 0px;
  }
}

/* =======================================================
   APARTAMENTOS – RESPONSIVE LISTADO
   ======================================================= */

@media (max-width: 1024px) {
  .apartments__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 🔴 cambio importante: 1 columna desde 768px */
@media (max-width: 768px) {
  .header {
    padding: 0;
    background-color: white;
    position: fixed;
    top: 0;
  }

  .hero__video {
    border-radius: 0px;
  }

  .buscador {
    bottom: -220px;
    padding: 20px 18px 22px;
  }

  .section-apartments {
    padding: 195px 0px;
  }

  .apartments {
    padding: 28px 18px 30px;
    border-radius: 24px;
  }

  .apartments__title {
    font-size: 26px;
    margin-bottom: 22px;
  }

  .apartments__grid {
    grid-template-columns: 1fr; /* una card por fila */
  }

  .apartment-card__image {
    height: 200px;
  }
}

/* ================= DESTACADO NUEVA OBRA ================= */

.section-highlight {
  padding: 40px 0 10px;
}

.highlight {
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 40px;
  border-radius: 12px;
  background: #a6c63a; /* mismo verde del sitio */
  text-align: center;
  color: #fff;
  overflow: hidden;
  position: relative;
}

/* micro brillo súper sutil */
.highlight::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(255, 255, 255, 0.18),
    transparent 55%
  );
  transform: rotate(8deg);
  pointer-events: none;
}

.highlight__top {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 10px;
}

.highlight__brand {
  display: grid;
  place-items: center;
  gap: 6px;
  margin: 10px 0 14px;
}

.highlight__script {
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  opacity: 0.95;
  /* si después querés, podemos cargar una font script */
}

.highlight__sub {
  font-size: 14px;
  letter-spacing: 0.28em;
  font-weight: 600;
  opacity: 0.95;
}

.highlight__line {
  font-size: 20px;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  font-weight: 500;
}

.highlight__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 34px;
  border-radius: 10px;
  background: #3c3c3c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, opacity 0.25s ease, background 0.25s ease;
}

.highlight__cta:hover {
  background: #2f2f2f;
  transform: translateY(-1px);
}

/* Animación tranquila (reveal) */
.reveal {
  opacity: 1;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .highlight {
    padding: 34px 18px;
    border-radius: 0;
  }
  .highlight__top {
    font-size: 34px;
  }
  .highlight__script {
    font-size: 52px;
  }
  .highlight__line {
    font-size: 18px;
  }
}

.highlight__brand {
  display: grid;
  place-items: center;
  margin: 10px 0 14px;
}

.highlight__logo {
  max-width: 520px; /* ajustá según tu PNG */
  width: 85%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18)); /* sutil y distinguido */
}

/* Accesibilidad (texto solo para lectores) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.section-services {
  padding: 70px 0 40px;
}

.services {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.services__title {
  text-align: center;
  font-size: 46px;
  font-weight: 700;
  color: #a6c63a;
  margin-bottom: 40px;
}

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

.service-card {
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  background: #fff;
  padding: 22px 24px;

  display: flex;
  align-items: center;
  gap: 14px;

  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.service-card__icon {
  font-size: 34px;
  color: #a6c63a;
}

.service-card__text {
  font-size: 20px;
  color: #7a7a7a;
  line-height: 1.2;
}

/* Animación suave */
/* Por defecto: visible (evita pantalla en blanco si JS tarda o falla) */
.reveal,
.reveal-item {
  opacity: 1;
  transform: none;
}

/* Solo si el HTML tiene la clase .js, se habilita la animación */
.js .reveal,
.js .reveal-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}

.js .reveal.is-visible,
.js .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respetar accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal-item {
    transition: none;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services__title {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 0 18px;
  }
  .services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .services__title {
    font-size: 34px;
    margin-bottom: 26px;
  }
  .service-card__text {
    font-size: 18px;
  }
}

/* ===== GALERÍA ===== */
.section-gallery {
  padding: 70px 0px 0px 0px;
}
.gallery {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.gallery__head {
  margin-bottom: 18px;
}
.gallery__title {
  text-align: center;
  font-size: 46px;
  font-weight: 700;
  color: #a6c63a;
  margin-bottom: 40px;
}
.gallery__subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 14px;
}

.gallery__carousel {
  position: relative;
  display: grid;
  align-items: center;
}

.gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(390px, 1fr);
  gap: 14px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 6px;
  -webkit-overflow-scrolling: touch;
}

.gallery__track::-webkit-scrollbar {
  height: 8px;
}
.gallery__track::-webkit-scrollbar-thumb {
  border-radius: 999px;
}

.gallery__item {
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #0b0b0b08;
  cursor: pointer;
  border: none;
}

.gallery__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.35s ease, opacity 0.25s ease;
  opacity: 0;
}
.gallery__item.is-loaded img {
  opacity: 1;
}

@media (hover: hover) {
  .gallery__item:hover img {
    transform: scale(1.03);
  }
}

.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 0;
  background: rgb(166 198 58);
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
.gallery__nav--prev {
  left: -25px;
}
.gallery__nav--next {
  right: -25px;
}

@media (max-width: 768px) {
  .gallery__nav {
    display: none;
  } /* en mobile swipe/scroll */
  .gallery__track {
    grid-auto-columns: minmax(78%, 1fr);
  }
  .gallery__item img {
    height: 240px;
  }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 18px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__figure {
  width: min(1100px, 96vw);
  margin: 0;
  position: relative;
}

.lightbox__figure img {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 16px;
  display: block;
}

.lightbox__caption {
  color: #fff;
  opacity: 0.85;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  font-size: 14px;
}

.lightbox__close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.lightbox__nav--prev {
  left: 14px;
}
.lightbox__nav--next {
  right: 14px;
}

@media (max-width: 768px) {
  .lightbox__nav {
    display: none;
  } /* swipe */
}

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

.section-contact {
  padding: 80px 0 70px;
}

.contact {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 34px;

  border-radius: 14px;
  background: #a6c63a;
  overflow: hidden;
}

/* Panel form */
.contact__panel {
  background: #fff;
  border-radius: 14px;
  margin: 18px;
  padding: 34px 32px;
}

.contact__panel-title {
  font-size: 54px;
  font-weight: 700;
  color: #a6c63a;
  margin-bottom: 26px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__form input,
.contact__form textarea {
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 14px 14px;
  font-size: 16px;
  outline: none;
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: #a6c63a;
  box-shadow: 0 0 0 2px rgba(166, 198, 58, 0.18);
}

.contact__submit {
  margin-top: 10px;
  border: none;
  border-radius: 10px;
  background: #a6c63a;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 14px 18px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease;
}

.contact__submit:hover {
  background: #8bb52f;
  transform: translateY(-1px);
}

/* Panel info (derecha) */
.contact__info {
  position: relative;
  padding: 44px 42px;
  color: #fff;
}

/* efecto “foto suave” de fondo (opcional): poné una imagen si querés */
/* .contact__info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.12),
    rgba(0, 0, 0, 0.12)
  );
  pointer-events: none;
} */

.contact__info > * {
  position: relative;
  z-index: 1;
}

.contact__kicker {
  font-size: 18px;
  font-weight: 600;
  opacity: 0.95;
}

.contact__title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact__text {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.6;
  max-width: 520px;
  opacity: 0.95;
}

.contact__data {
  margin-top: 26px;
  display: grid;
  gap: 14px;
  font-size: 16px;
}

.contact__row,
.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
}

.contact__link:hover {
  opacity: 1;
  text-decoration: underline;
}

.contact__data .material-icons {
  font-size: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact {
    grid-template-columns: 1fr;
  }
  .contact__panel {
    margin: 18px 18px 0;
  }
  .contact__info {
    padding: 34px 22px 38px;
  }
  .contact__panel-title,
  .contact__title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .section-contact {
    padding: 60px 0;
  }
  .contact {
    padding: 0 18px;
    border-radius: 14px;
  }
  .contact__panel {
    margin: 14px;
    padding: 26px 18px;
  }
  .contact__info {
    padding: 26px 18px 30px;
  }
  .contact__panel-title,
  .contact__title {
    font-size: 34px;
  }
}

/* ================= MAPA ================= */

.section-map {
  padding: 60px 0 70px;
}

.map {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.map__head {
  text-align: center;
  margin-bottom: 18px;
}

.map__title {
  font-size: 46px;
  font-weight: 700;
  color: #a6c63a;
  margin-bottom: 10px;
}

.map__subtitle {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.map__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 10px;
  background: #3c3c3c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.2s ease, opacity 0.2s ease;
}

.map__cta:hover {
  background: #2f2f2f;
  transform: translateY(-1px);
}

.map__frame {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  background: #f3f3f3;
}

.map__frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .map {
    padding: 0 18px;
  }
  .map__title {
    font-size: 34px;
  }
  .map__frame iframe {
    height: 360px;
  }
}

/* ================= MODAL ================= */
.modal {
  display: none; /* oculto por defecto */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}

.modal__content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.footer {
  background: #121622;
  color: #fff;
  padding: 60px 0 0;
  margin-top: 35px;
  border-radius: 12px;
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;

  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
}

.footer__logo {
  width: 160px;
  margin-bottom: 20px;
}

.footer__text {
  margin-bottom: 28px;
  line-height: 1.6;
  font-size: 15px;
}

.footer__subtitle {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
}

/* Newsletter */
.footer__newsletter {
  display: flex;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.footer__newsletter input {
  flex: 1;
  padding: 14px 16px;
  border: none;
  font-size: 15px;
  outline: none;
}

.footer__newsletter button {
  width: 54px;
  background: #a6c63a;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__newsletter button span {
  color: white;
  font-size: 26px;
}

/* Columnas */
.footer__col h4 {
  font-size: 20px;
  margin-bottom: 18px;
}

.footer__col ul {
  list-style: none;
  padding: 0;
}

.footer__col ul li {
  margin-bottom: 12px;
}

.footer__col ul li a {
  color: #ddd;
  text-decoration: none;
  font-size: 15px;
}

.footer__col ul li a:hover {
  color: #a6c63a;
}

/* Contacto */
.footer__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__contact .material-icons {
  font-size: 20px;
  color: #a6c63a;
}

/* =======================================================
   FOOTER BOTTOM BAR
   ======================================================= */

.footer__bottom {
  background: #a6c63a;
  margin-top: 60px;
  padding: 18px 40px;
  border-radius: 12px;

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

  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.footer__bottom-left {
  font-size: 14px;
  color: #fff;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social img {
  width: 28px;
  height: 28px;
}

.footer__bottom-links {
  display: flex;
  gap: 18px;
}

.footer__bottom-links a {
  color: white;
  font-size: 14px;
  text-decoration: none;
}

.footer__bottom-links a:hover {
  text-decoration: underline;
}

.footer__contact img {
  width: 20px;
  height: 20px;
  opacity: 0.9;
}

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

@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 700px) {
  .footer {
    border-radius: 0px;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    border-radius: 0px;
  }

  .footer__bottom-links {
    flex-direction: column;
  }
}

.hero__apart-image {
  width: 100%;
  border-radius: 12px;
  height: 320px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .hero__apart-image {
    border-radius: 0px;
  }
  .hero__overlay {
    border-radius: 0px;
  }
  .lang {
    position: fixed;
    left: 0;
    top: 95px;
    width: 100%;

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

  .lang.hidden {
    opacity: 1;
    transform: translateY(0);
    pointer-events: none;
  }

  .lang.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    background-color: #8bc34a;
  }
  #langBtn {
    width: 100%;
    border-radius: 0px;
    justify-content: flex-end;
  }
}
