:root {
  /* Marea - Design System */
  --marea-primary: #ffffff;
  --marea-secondary: #679fb6;
  
  --marea-bg-white: var(--marea-primary);
  --marea-text-main: #222222; /* Texto oscuro base */
  --marea-accent: var(--marea-secondary);
}

html {
  scroll-behavior: auto !important;
}

body.marea-theme {
  background-color: var(--marea-bg-white);
  color: var(--marea-text-main);
  font-family: 'Outfit', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: 'Noto Serif Display', serif;
}

/* --- HEADER --- */
.marea-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s ease;
  background: transparent;
}

.marea-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.marea-header.scrolled::before {
  opacity: 0;
}

.marea-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 50px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.marea-brand {
  text-decoration: none;
}

.marea-header-logo {
  height: 45px;
  width: 68px;
  background-color: #fff;
  -webkit-mask-image: url('/images/marea/LOGOMAREA.svg');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url('/images/marea/LOGOMAREA.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  transition: background-color 0.4s ease, height 0.4s ease;
}

.marea-header.scrolled .marea-header-logo {
  background-color: var(--marea-accent);
}

.marea-nav {
  display: flex;
  gap: 40px;
}

.marea-nav a {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff; /* Inicial: Blanco */
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.marea-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.marea-nav a:hover::after {
  width: 100%;
}

.marea-nav a:hover {
  color: #fff;
}

.marea-header.scrolled .marea-nav a {
  color: var(--marea-text-main);
}

.marea-header.scrolled .marea-nav a:hover {
  color: var(--marea-accent);
}

.btn-back-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-back-num:hover {
  background-color: #fff;
  color: var(--marea-text-main);
}

.marea-header.scrolled .btn-back-num {
  color: var(--marea-accent);
  border-color: rgba(103, 159, 182, 0.3);
}

.marea-header.scrolled .btn-back-num:hover {
  background-color: var(--marea-accent);
  color: #fff;
}

/* --- HERO --- */
.marea-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.marea-hero::after {
  content: '';
  position: fixed;
  top: -5vh; left: -5vw;
  width: 110vw;
  height: 110vh;
  background-image: url('/images/marea/hero2.webp');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.marea-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.4) 100%);
  z-index: 0;
}

.marea-hero-container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 0 20px;
}

.marea-hero h1 {
  font-family: 'Noto Serif Display', serif;
  font-size: 5rem;
  font-weight: 300;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.marea-hero p {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.marea-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 30px;
  gap: 15px;
  cursor: pointer;
}

.marea-scroll-indicator:hover .marea-chevron-container {
  transform: translateY(5px);
}

.marea-scroll-text {
  opacity: 0.8;
  transition: opacity 0.3s;
}

.marea-scroll-indicator:hover .marea-scroll-text {
  opacity: 1;
}

.marea-chevron-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 40px;
  transition: transform 0.3s ease;
}

.marea-chevron-container i {
  position: absolute;
  color: #ffffff;
  font-size: 1.2rem;
  opacity: 0;
  animation: chevronAnim 2s infinite ease-in-out;
}

.chevron-1 { animation-delay: 0s !important; top: 0; }
.chevron-2 { animation-delay: 0.2s !important; top: 10px; }
.chevron-3 { animation-delay: 0.4s !important; top: 20px; }

@keyframes chevronAnim {
  0% { opacity: 0; transform: translateY(-10px) scale(0.8); }
  50% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(10px) scale(0.8); }
}

/* --- SECCIÓN CONCEPTO / UBICACIÓN --- */
.marea-concepto {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('/images/marea/fotos/fp1.webp');
  background-size: cover;
  background-position: right center;
  background-attachment: fixed;
  color: #fff;
  padding: 100px 8%;
}

.marea-concepto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 45%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

.marea-concepto-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.concepto-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.concepto-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 30px;
  line-height: 1.2;
}

.concepto-title span {
  font-family: 'Noto Serif Display', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 3rem;
  display: block;
  margin-top: -5px;
}

.marea-concepto-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.marea-concepto-content strong {
  font-weight: 500;
  color: #fff;
}

.marea-activities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-top: 50px;
}

.activity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.activity-item:hover {
  transform: translateY(-5px);
}

.activity-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.activity-item:hover img {
  border-color: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.activity-item span {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 992px) {
  .marea-concepto::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 60%, rgba(0,0,0,0) 100%);
  }
  .marea-activities {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .marea-concepto {
    padding: 80px 5%;
    background-position: center;
  }
  .marea-activities {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- SECCIÓN RESIDENCES --- */
.marea-residences {
  background-color: var(--marea-bg-white);
  color: var(--marea-text-main);
  padding-top: 70px;
}

.residences-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.residences-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 0;
}

.residences-content {
  display: flex;
  max-width: 1100px;
  margin: 0 auto 60px auto;
  gap: 80px;
  padding: 0 40px;
  position: relative;
}

.residences-content::after {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  background-color: rgba(0,0,0,0.1);
}

.residences-col {
  flex: 1;
}

.residences-col p {
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 300;
  color: #444;
  margin-bottom: 25px;
}

.residences-col strong {
  font-weight: 500;
  color: var(--marea-text-main);
}

.residences-image-parallax {
  width: 100%;
  height: 65vh;
  background-image: url('/images/marea/fotos/fp2.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media (max-width: 992px) {
  .residences-content {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .marea-residences {
    padding-top: 50px;
  }
  .residences-content {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
  }
  .residences-content::after {
    display: none;
  }
  .residences-image-parallax {
    height: 50vh;
  }
}

/* --- SECCIÓN AMENIDADES --- */
.marea-amenities {
  background-color: var(--marea-bg-white);
  padding: 100px 0;
}

.amenities-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 20px;
}

.amenities-header h2 {
  font-family: 'Noto Serif Display', serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--marea-secondary);
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.amenities-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background-color: var(--marea-secondary);
}

.amenities-header p {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: #555;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

.amenities-accordion {
  display: flex;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  gap: 15px;
  height: 600px;
  padding: 0 20px;
}

.amenity-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: flex 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.amenity-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  background-size: 0 0 !important; /* Esconde el fondo inline para usar el pseudo-elemento */
  margin-bottom: 15px;
}

.amenity-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  min-width: 420px; /* Ajustado al ancho máximo real para reducir el zoom interno */
  height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: filter 0.5s ease;
  filter: brightness(0.95);
  z-index: 1;
}

.amenity-item:hover {
  flex: 1.8;
}

.amenity-item:hover .amenity-image::before {
  filter: brightness(1.05);
}

.amenity-item h3 {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  color: #333;
  height: 45px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.3;
}

@media (max-width: 992px) {
  .amenities-accordion {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .amenities-accordion {
    flex-direction: column;
    height: 1200px;
    gap: 30px;
  }
  .amenities-header h2 {
    font-size: 1.8rem;
  }
  .amenity-item:hover {
    flex: 1.2;
  }
  .amenity-item h3 {
    height: auto;
    margin-top: 10px;
  }
  .amenity-image {
    margin-bottom: 0;
  }
}

/* --- SECCIÓN EXPERIENCIA MAREA --- */
.marea-experiencia {
  position: relative;
  background-image: url('/images/marea/fotos/fp3.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Efecto parallax igual al Hero */
  padding: 50px 20px;
  color: #fff;
  z-index: 1;
}

.marea-experiencia::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7); /* Fondo negro traslúcido más oscuro */
  z-index: 1;
}

.experiencia-header,
.experiencia-grid,
.experiencia-action {
  position: relative;
  z-index: 2; /* Para que quede por encima de la capa oscura */
}

.experiencia-header {
  text-align: center;
  margin-bottom: 30px;
}

.experiencia-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.experiencia-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.experiencia-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 30px auto;
}

.exp-card {
  background-color: rgba(240, 240, 240, 0.93);
  color: #222;
  padding: 25px 30px;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.exp-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.exp-card p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 300;
  margin-bottom: 10px;
}

.exp-card ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 300;
}

.exp-card li {
  margin-bottom: 5px;
}

.exp-list-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.exp-nota {
  font-size: 0.75rem !important;
  color: #666;
  margin-top: 10px;
  margin-bottom: 0 !important;
}

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

.exp-btn {
  display: inline-block;
  background-color: #c4d7e0;
  color: #333;
  padding: 12px 35px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: underline;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.exp-btn:hover {
  background-color: #b0c9d4;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .experiencia-grid {
    grid-template-columns: 1fr;
  }
  .experiencia-header h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .exp-list-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .exp-card {
    padding: 25px;
  }
  .exp-btn {
    padding: 15px 30px;
    font-size: 1rem;
  }
}

/* --- SECCIÓN GALERÍA --- */
.marea-gallery {
  background-color: var(--marea-bg-white);
  padding: 80px 0;
}

.gallery-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 20px;
}

.gallery-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.gallery-header h3 {
  font-family: 'Noto Serif Display', serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--marea-accent);
  margin-bottom: 20px;
}

.gallery-line {
  width: 60px;
  height: 2px;
  background-color: var(--marea-accent);
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 300px;
  grid-auto-flow: dense;
  gap: 15px;
  padding: 0 15px;
  max-width: 1800px;
  margin: 0 auto;
}

.gallery-item {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.gallery-item:nth-child(7n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: 10px;
    padding: 0 10px;
  }
  .gallery-header h3 {
    font-size: 2rem;
  }
  .gallery-item:nth-child(7n + 1) {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* --- LIGHTBOX GALERÍA --- */
.marea-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.marea-lightbox.active {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  user-select: none;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 50px;
  font-weight: 100;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10000;
}

.lightbox-close:hover {
  color: var(--marea-accent);
}

.lightbox-prev, .lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 20px;
  margin-top: -50px;
  color: white;
  font-weight: 300;
  font-size: 40px;
  transition: 0.3s ease;
  user-select: none;
  background: rgba(0,0,0,0.3);
  border: none;
  border-radius: 3px;
  z-index: 10000;
}

.lightbox-prev:hover, .lightbox-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

@media (max-width: 768px) {
  .lightbox-prev, .lightbox-next {
    font-size: 25px;
    padding: 15px;
  }
  .lightbox-close {
    top: 10px;
    right: 20px;
    font-size: 35px;
  }
}

/* --- FOOTER MAREA --- */
.marea-footer {
  background-color: rgba(0, 0, 0, 0.5); /* Fondo negro traslúcido más suave */
  backdrop-filter: blur(2px); /* Desenfoque más sutil */
  color: #fff;
  padding: 80px 20px 30px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
}

.footer-logo-col .footer-logo {
  width: 90px;
  margin-bottom: 25px;
  filter: brightness(0) invert(1);
}

.footer-logo-col p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.7;
  max-width: 350px;
  margin: 0;
}

.footer-info-col h4, .footer-links-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: var(--marea-accent);
}

.footer-info-col p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 12px;
  opacity: 0.8;
}

.footer-links-col a {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: #fff;
  opacity: 0.8;
  text-decoration: none;
  margin-bottom: 12px;
  transition: opacity 0.3s, color 0.3s;
}

.footer-links-col a:hover {
  opacity: 1;
  color: var(--marea-accent);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.footer-bottom p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  opacity: 0.6;
  margin: 0;
}

.footer-bottom strong {
  font-weight: 500;
  color: var(--marea-accent);
  opacity: 1;
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  .footer-logo-col {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-logo-col {
    grid-column: span 1;
  }
  .footer-logo-col p {
    margin: 0 auto;
  }
}

/* --- RESPONSIVE MENU & GLOBAL TWEAKS --- */
.marea-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}
.marea-menu-toggle span {
  width: 30px;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}
.marea-header.scrolled .marea-menu-toggle span,
.marea-menu-toggle.active span {
  background-color: var(--marea-text-main);
}
.btn-back-num-mobile {
  display: none;
}

@media (max-width: 992px) {
  .marea-header {
    padding: 35px 25px 20px 25px;
  }
  .marea-menu-toggle {
    display: flex;
  }
  .btn-back-num {
    display: none !important;
  }
  .btn-back-num-mobile {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    border: 1px solid var(--marea-text-main);
    border-radius: 50px;
    color: var(--marea-text-main) !important;
  }
  .marea-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.4s ease;
    z-index: 1050;
  }
  .marea-nav.active {
    right: 0;
  }
  .marea-nav a {
    color: var(--marea-text-main) !important;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
  }
  .marea-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .marea-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .marea-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* Hero Tweaks */
  .marea-hero h1 {
    font-size: 3.5rem;
  }
  .marea-hero p {
    font-size: 0.9rem;
  }
}

@media (max-width: 500px) {
  .marea-hero h1 {
    font-size: 2.5rem;
  }
}

/* --- VER MAS RESIDENCES --- */
.residences-ver-mas {
  display: none;
  text-align: center;
  margin-top: -10px;
  margin-bottom: 40px;
}
.residences-ver-mas button {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--marea-text-main);
  color: var(--marea-text-main);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  padding: 5px 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: opacity 0.3s ease;
}
.residences-ver-mas button:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .mobile-hidden-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease-out;
  }
  .mobile-hidden-inner {
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-out;
  }
  .mobile-hidden-wrapper.expanded {
    grid-template-rows: 1fr;
  }
  .mobile-hidden-wrapper.expanded .mobile-hidden-inner {
    opacity: 1;
  }
  .residences-ver-mas {
    display: block;
  }
  
  /* Fix parallax on mobile iOS */
  .marea-concepto, .residences-image-parallax {
    background-attachment: scroll !important;
    background-position: center center !important;
  }

  /* Make amenities fully visible without hover on mobile */
  .amenity-item {
    flex: 1 !important;
  }
  .amenity-image::before {
    filter: brightness(1) !important;
  }
}

/* Fix iOS Safari phone link color */
a[href^="tel"] {
  color: inherit !important;
  text-decoration: none !important;
}
