/* Reset y Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #2563eb;
  --primary-blue-dark: #1d4ed8;
  --secondary-green: #16a34a;
  --secondary-green-dark: #15803d;
  --accent-amber: #d97706;
  --accent-red: #dc2626;
  --accent-purple: #9333ea;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-300: #93c5fd;
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --red-100: #fee2e2;
  --purple-100: #f3e8ff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-icon {
  font-size: 2rem;
  color: var(--primary-blue);
}

.nav-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gray-800);
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-blue);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--gray-800);
  margin: 3px 0;
  transition: 0.3s;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--secondary-green-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--gray-800);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background: var(--blue-50);
}

.whatsapp-btn {
  background: var(--secondary-green);
  color: var(--white);
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background: var(--secondary-green-dark);
}

.airbnb-btn {
  background: #ff5a5f;
  color: var(--white);
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.airbnb-btn:hover {
  background: #e00007;
  transform: translateY(-1px);
}

.full-width {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30, 58, 138, 0.7), rgba(15, 23, 42, 0.5));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
  max-width: 4xl;
  padding: 0 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-highlight {
  display: block;
  color: var(--blue-300);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: var(--blue-100);
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  animation: bounce 2s infinite;
}

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

/* Sections */
.about-section {
  padding: 5rem 0;
  background: var(--gray-50);
}

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

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.badge.blue {
  background: var(--blue-100);
  color: var(--primary-blue);
}

.badge.green {
  background: var(--green-100);
  color: var(--secondary-green);
}

.badge.amber {
  background: var(--amber-100);
  color: var(--accent-amber);
}

.badge.gray {
  background: var(--gray-100);
  color: var(--gray-800);
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: bold;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.about-text {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

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

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

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 2rem;
}

.feature-icon.blue {
  background: var(--blue-100);
  color: var(--primary-blue);
}

.feature-icon.green {
  background: var(--green-100);
  color: var(--secondary-green);
}

.feature-icon.amber {
  background: var(--amber-100);
  color: var(--accent-amber);
}

.feature-text {
  font-weight: 600;
  color: var(--gray-800);
}

.about-image-container {
  position: relative;
}

.about-image {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.stats-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.stats-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}

.stats-text {
  color: var(--gray-600);
}

/* Apartments Section */
.apartments-section {
  padding: 5rem 0;
}

.apartments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.apartment-card {
  background: var(--white);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.apartment-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-5px);
}

.apartment-image {
  position: relative;
  height: 16rem;
}

.apartment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.apartment-card:hover .apartment-image img {
  transform: scale(1.05);
}

.apartment-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.apartment-badge.blue {
  background: var(--primary-blue);
}

.apartment-badge.green {
  background: var(--secondary-green);
}

.apartment-badge.amber {
  background: var(--accent-amber);
}

.apartment-content {
  padding: 1.5rem;
}

.apartment-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.apartment-description {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.apartment-capacity {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

/* Amenities */
.amenities-section {
  background: var(--gray-50);
  border-radius: 1rem;
  padding: 2rem;
}

.amenities-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gray-800);
  text-align: center;
  margin-bottom: 2rem;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.amenity-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.amenity-icon.blue {
  background: var(--blue-100);
  color: var(--primary-blue);
}

.amenity-icon.green {
  background: var(--green-100);
  color: var(--secondary-green);
}

.amenity-icon.amber {
  background: var(--amber-100);
  color: var(--accent-amber);
}

.amenity-icon.red {
  background: var(--red-100);
  color: var(--accent-red);
}

.amenity-text {
  font-weight: 500;
  color: var(--gray-700);
}

/* Location Section */
.location-section {
  padding: 5rem 0;
  background: var(--gray-50);
}

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

.location-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.location-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
}

.location-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.location-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.location-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.location-feature-icon.blue {
  background: var(--blue-100);
  color: var(--primary-blue);
}

.location-feature-icon.green {
  background: var(--green-100);
  color: var(--secondary-green);
}

.location-feature-icon.amber {
  background: var(--amber-100);
  color: var(--accent-amber);
}

.location-feature-icon.purple {
  background: var(--purple-100);
  color: var(--accent-purple);
}

.location-feature-title {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}

.location-feature-text {
  color: var(--gray-600);
}

.location-map-container {
  position: relative;
}

.map-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.map-image {
  width: 100%;
  border-radius: 0.75rem;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.map-button-container {
  text-align: center;
  margin-top: 1rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--accent-amber);
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-200);
}

.author-name {
  font-weight: 600;
  color: var(--gray-800);
}

.author-location {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.testimonials-footer {
  text-align: center;
  margin-top: 3rem;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(to right, var(--primary-blue), var(--primary-blue-dark));
}

.cta-content {
  text-align: center;
  max-width: 4xl;
  margin: 0 auto;
  padding: 0 1rem;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: bold;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--blue-100);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background: var(--gray-50);
}

.faq-container {
  max-width: 4xl;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-800);
}

.faq-question i {
  color: var(--gray-400);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Footer */
.footer {
  background: var(--gray-800);
  color: var(--white);
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  max-width: 24rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo i {
  font-size: 2rem;
  color: var(--blue-300);
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: bold;
}

.footer-description {
  color: var(--gray-300);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--gray-600);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--gray-700);
  color: var(--white);
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 0.5rem;
}

.footer-menu a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-item i {
  color: var(--blue-300);
  width: 1.25rem;
}

.contact-item span {
  color: var(--gray-300);
}

.footer-separator {
  height: 1px;
  background: var(--gray-700);
  margin: 2rem 0;
}

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

.footer-copyright {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

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

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background: #ff5a5f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1000;
  animation: pulse-airbnb 2s infinite;
}

.whatsapp-float:hover {
  background: #e00007;
  transform: scale(1.1);
}

@keyframes pulse-airbnb {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 90, 95, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 90, 95, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 90, 95, 0);
  }
}

/* Airbnb Benefits Section */
.airbnb-benefits-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #ff5a5f 0%, #ff385c 100%);
  color: var(--white);
}

.airbnb-benefits-content {
  text-align: center;
}

.airbnb-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.airbnb-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.benefit-content h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.benefit-content p {
  opacity: 0.9;
  font-size: 0.875rem;
}

/* Enlaces Directos a Airbnb */
.airbnb-direct-section {
  background: linear-gradient(135deg, #ff5a5f 0%, #ff385c 100%);
  border-radius: 1rem;
  padding: 3rem 2rem;
  margin-top: 3rem;
  text-align: center;
  color: var(--white);
}

.airbnb-direct-title {
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: var(--white);
}

.airbnb-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.airbnb-link-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--white);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.airbnb-link-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.airbnb-link-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.airbnb-link-content {
  text-align: left;
}

.airbnb-link-content h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.airbnb-link-content p {
  opacity: 0.9;
  font-size: 0.875rem;
  margin: 0;
}

.airbnb-general-link {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  margin-top: 2rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Responsive para enlaces de Airbnb */
@media (max-width: 768px) {
  .airbnb-direct-section {
    padding: 2rem 1rem;
  }

  .airbnb-links-grid {
    grid-template-columns: 1fr;
  }

  .airbnb-link-card {
    flex-direction: column;
    text-align: center;
  }

  .airbnb-link-content {
    text-align: center;
  }
}

/* Optimización de imágenes */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
  }

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

  .benefit-item {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Optimización de imágenes */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-image {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.apartment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.apartment-card:hover .apartment-image img {
  transform: scale(1.05);
}

.map-image {
  width: 100%;
  border-radius: 0.75rem;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-200);
}

/* Lazy loading placeholder */
.img-placeholder {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Responsive images */
@media (max-width: 768px) {
  .about-image {
    aspect-ratio: 1 / 1;
  }

  .map-image {
    aspect-ratio: 4 / 3;
  }
}
