/* ========================================
   LIMEHOUSE FORESTA — Landing Page Styles
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white-bone: #F5F2EE;
  --green-sage: #7A8C72;
  --green-sage-dark: #5e6e58;
  --wood-warm: #C4956A;
  --graphite: #2C2C2C;
  --sand: #EAE6E0;
  --white: #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --nav-height: 72px;
  --container-max: 1200px;
  --container-padding: 24px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--graphite);
  background-color: var(--white-bone);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(245, 242, 238, 0.97);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
}

.navbar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

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

.navbar__logo-img {
  height: 55px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}

.navbar.scrolled .navbar__logo-img {
  filter: brightness(0);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__menu a {
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: color 0.3s ease;
  position: relative;
}

.navbar.scrolled .navbar__menu a {
  color: var(--graphite);
}

.navbar__menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--green-sage);
  transition: width 0.3s ease;
}

.navbar__menu a:hover::after {
  width: 100%;
}

.navbar__cta {
  background: var(--green-sage) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  transition: background 0.3s ease !important;
}

.navbar__cta:hover {
  background: var(--green-sage-dark) !important;
}

.navbar__cta::after { display: none !important; }

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar.scrolled .navbar__toggle span {
  background: var(--graphite);
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.04);
  animation: none;
}

.hero__slide.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.2s ease, transform 6s ease;
}

.hero__slider-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero__dot.active {
  background: rgba(255,255,255,0.95);
  transform: scale(1.3);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.30) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 var(--container-padding);
}

.hero__logo {
  margin-bottom: 0px;
}

.hero__logo-img {
  height: clamp(166px, 30vw, 298px);
  width: auto;
  margin: 0 auto;
  display: block;
  filter: brightness(0) invert(1);
}

.hero__foresta {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(3.2rem, 7.2vw, 6.3rem);
  font-weight: 400;
  color: var(--white);
  margin-top: -36px;
  margin-bottom: 24px;
  opacity: 0.95;
  line-height: 1;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  opacity: 0.7;
  animation: bounce 2s infinite;
  transition: opacity 0.3s;
}

.hero__scroll:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ========================================
   SECTIONS — Common
   ======================================== */
.section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-sage);
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--graphite);
}

/* ========================================
   EL PROYECTO
   ======================================== */
.proyecto { background: var(--white-bone); }

.proyecto__desc {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.proyecto__desc p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}

.proyecto__stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--green-sage);
  line-height: 1.1;
}

.stat__label {
  display: block;
  font-size: 0.85rem;
  color: #888;
  margin-top: 8px;
  letter-spacing: 0.04em;
}

.proyecto__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature {
  text-align: center;
  padding: 32px 20px;
  border-radius: 12px;
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.feature__icon {
  margin-bottom: 16px;
  color: var(--green-sage);
}

.feature h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.5;
}

/* ========================================
   MATERIALES / ESTÉTICA
   ======================================== */
.materiales {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.materiales__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.25;
  margin: 12px 0 20px;
  color: var(--graphite);
}

.materiales__text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #666;
}

.materiales__imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.materiales__img-wrap {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.materiales__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.materiales__img-wrap:hover img {
  transform: scale(1.04);
}

/* Opcional tag en listas de tipología */
.tipo-list__opcional {
  color: var(--green-sage);
  font-style: italic;
  font-size: 0.9em;
}

.tipo-list__opcional::before {
  content: '+ ';
  font-style: normal;
  font-weight: 600;
}

/* ========================================
   TIPOLOGÍAS
   ======================================== */
.tipologias {
  background: var(--white);
}

.tipo-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.tipo-tab {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 32px;
  border: 1.5px solid var(--sand);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--graphite);
  letter-spacing: 0.02em;
}

.tipo-tab:hover {
  border-color: var(--green-sage);
}

.tipo-tab.active {
  background: var(--green-sage);
  border-color: var(--green-sage);
  color: var(--white);
}

.tipo-content {
  display: none;
}

.tipo-content.active {
  display: block;
}

.tipo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.tipo-image {
  border-radius: 12px;
  overflow: hidden;
}

.tipo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.tipo-image:hover img {
  transform: scale(1.03);
}

.tipo-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-sage);
  background: rgba(122, 140, 114, 0.1);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.tipo-info h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.tipo-subtitle {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 24px;
}

.tipo-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.tipo-spec {
  text-align: center;
  padding: 16px 8px;
  background: var(--white-bone);
  border-radius: 8px;
}

.tipo-spec__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--green-sage);
}

.tipo-spec__label {
  display: block;
  font-size: 0.72rem;
  color: #999;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.tipo-list {
  margin-bottom: 28px;
}

.tipo-list li {
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--sand);
  color: #555;
  padding-left: 16px;
  position: relative;
}

.tipo-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-sage);
  transform: translateY(-50%);
}

/* Button */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 36px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--primary {
  background: var(--green-sage);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(122, 140, 114, 0.3);
}

.btn--full {
  width: 100%;
  text-align: center;
}

/* ========================================
   GALERÍA
   ======================================== */
.galeria {
  background: var(--white-bone);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

.galeria-item {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.galeria-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.galeria-item:hover::after {
  background: rgba(0, 0, 0, 0.15);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.galeria-item:hover img {
  transform: scale(1.05);
}

.galeria-item--wide {
  grid-column: span 2;
}

.galeria-item--tall {
  grid-row: span 2;
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2001;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.lightbox__close:hover { opacity: 1; }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 2001;
}

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}

.lightbox__content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  margin: 0 auto;
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-top: 16px;
}

/* ========================================
   PLANOS
   ======================================== */
.planos {
  background: var(--white);
}

.plano-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.plano-tab {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 32px;
  border: 1.5px solid var(--sand);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--graphite);
}

.plano-tab:hover {
  border-color: var(--green-sage);
}

.plano-tab.active {
  background: var(--green-sage);
  border-color: var(--green-sage);
  color: var(--white);
}

.plano-content {
  display: none;
}

.plano-content.active {
  display: block;
}

.plano-viewer {
  max-width: 960px;
  margin: 0 auto;
  background: var(--sand);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

.plano-img {
  width: 100%;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.plano-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background: var(--sand);
  border-radius: 12px;
  border: 2px dashed #ccc;
}

.plano-placeholder__inner {
  text-align: center;
  color: #999;
}

.plano-placeholder__inner p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-top: 16px;
  color: var(--graphite);
}

.plano-placeholder__inner span {
  font-size: 0.8rem;
  color: #aaa;
  display: block;
  margin-top: 8px;
}

/* ========================================
   UBICACIÓN
   ======================================== */
.ubicacion {
  background: var(--white-bone);
}

.ubicacion__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.ubicacion__address {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 32px;
  color: var(--graphite);
}

.ubicacion__refs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ubicacion__ref {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ubicacion__ref svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.ubicacion__ref strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

.ubicacion__ref span {
  font-size: 0.85rem;
  color: #888;
}

.ubicacion__map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.ubicacion__map iframe {
  display: block;
}

/* ========================================
   ESPECIFICACIONES
   ======================================== */
.especificaciones {
  background: var(--white);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion__item {
  border-bottom: 1px solid var(--sand);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--graphite);
  text-align: left;
  transition: color 0.3s;
}

.accordion__trigger:hover {
  color: var(--green-sage);
}

.accordion__trigger svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--green-sage);
}

.accordion__item.open .accordion__trigger svg {
  transform: rotate(180deg);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion__item.open .accordion__content {
  max-height: 400px;
  padding-bottom: 24px;
}

.accordion__content ul {
  padding-left: 0;
}

.accordion__content li {
  font-size: 0.9rem;
  color: #666;
  padding: 8px 0 8px 20px;
  position: relative;
  line-height: 1.6;
}

.accordion__content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--wood-warm);
}

/* ========================================
   CONTACTO
   ======================================== */
.contacto {
  background: var(--white-bone);
}

.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contacto__info p {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 32px;
}

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

.contacto__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--green-sage);
  transition: color 0.3s;
}

.contacto__phone:hover {
  color: var(--green-sage-dark);
}

.contacto__form {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 16px;
  border: 1.5px solid var(--sand);
  border-radius: 8px;
  background: var(--white-bone);
  color: var(--graphite);
  transition: border-color 0.3s ease;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-sage);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--graphite);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  align-items: start;
  justify-items: center;
}

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

.footer__dev--left,
.footer__dev--right {
  text-align: center;
}

.footer__logo-text {
  display: block;
  font-family: var(--font-body);
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__logo-text em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.footer__tagline {
  font-size: 0.9rem;
  font-style: italic;
  opacity: 0.6;
  margin-top: 12px;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 16px;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.footer__contact a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  transition: color 0.3s;
}

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

.footer__a585-logo {
  height: 80px;
  width: auto;
  margin-top: 8px;
  opacity: 0.92;
}

.footer__skala-logo {
  height: 106px;
  width: auto;
  margin-top: 4px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

.footer__bottom {
  padding: 24px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  opacity: 0.4;
}

/* ========================================
   RESPONSIVE — Tablet
   ======================================== */
@media (max-width: 992px) {
  .proyecto__features {
    grid-template-columns: repeat(2, 1fr);
  }

  .tipo-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .galeria-item--wide { grid-column: span 2; }
  .galeria-item--tall { grid-row: span 1; }

  .ubicacion__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ========================================
   RESPONSIVE — Mobile
   ======================================== */
@media (max-width: 900px) {
  .materiales {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
    --container-padding: 20px;
  }

  .section {
    padding: 72px 0;
  }

  .section__header {
    margin-bottom: 40px;
  }

  /* Navbar mobile */
  .navbar__toggle {
    display: flex;
  }

  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white-bone);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 0;
    transition: right 0.3s ease;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
  }

  .navbar__menu.open {
    right: 0;
  }

  .navbar__menu a {
    color: var(--graphite) !important;
    font-size: 1rem;
    padding: 14px 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--sand);
  }

  .navbar__cta {
    margin-top: 16px;
    text-align: center !important;
  }

  /* Hero mobile */
  .hero__brand {
    letter-spacing: 0.18em;
  }

  /* Proyecto */
  .proyecto__features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .proyecto__stats {
    gap: 32px;
  }

  /* Tipologías */
  .tipo-specs {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Galería */
  .galeria-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .galeria-item--wide { grid-column: span 1; }

  /* Lightbox */
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }

  /* Contacto */
  .contacto__form {
    padding: 28px 20px;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
