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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Header Styles */
.header {
  background: #0d4e4d;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c5aa0;
}

.logo i {
  margin-right: 0.5rem;
  font-size: 1.8rem;
}

.logo img {
  display: fle;
  height: 80px;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #1a921a;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: #0c8040;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
.nav-mobile {
  display: none;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 1rem 0;
}

.nav-mobile.active {
  display: block;
}

.nav-mobile ul {
  list-style: none;
}

.nav-mobile li {
  margin: 0.5rem 0;
}

.nav-link-mobile {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: block;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link-mobile:hover {
  color: #0d4e4d;
}

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

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 3rem;
  border-radius: 15px;
  max-width: 600px;
  margin: 0 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s both;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
  background: #0d4e4d;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.4s both;
  box-shadow: 0 4px 15px rgba(56, 194, 56, 0.3);
}

.cta-button:hover {
  background: #489e5b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(49, 163, 74, 0.4);
}

/* Propiedades Section */
.propiedades {
  padding: 4rem 0;
  background: #f8f9fa;
}

.propiedades h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: #0d4e4d;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: #fff;
  border: 2px solid #0d4e4d;
  color: #0d4e4d;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #0d4e4d;
  color: white;
}

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

.propiedad-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.propiedad-card:hover {
  transform: translateY(-5px);
}

.propiedad-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.propiedad-info {
  padding: 1.5rem;
}

.propiedad-precio {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0d4e4d;
  margin-bottom: 0.5rem;
}

.propiedad-titulo {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.propiedad-ubicacion {
  color: #666;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.propiedad-ubicacion i {
  margin-right: 0.5rem;
}

.propiedad-detalles {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.detalle {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

.detalle i {
  margin-right: 0.3rem;
  color: #2c5aa0;
}

.ver-mas-container {
  text-align: center;
  margin-top: 3rem;
}

.ver-mas-btn {
  background: #0d4e4d;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ver-mas-btn:hover {
  background: #0d4e4d;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px #0d4e4d;
}

/* Propiedades Destacadas Section */
.propiedades-destacadas {
  padding: 4rem 0;
  background: #f8f9fa;
}

.propiedades-destacadas h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: #0d4e4d;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
}

/* Grid de propiedades destacadas en una fila horizontal de 4 */
.propiedades-grid-destacadas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Responsive para propiedades destacadas */
@media (max-width: 1200px) {
  .propiedades-grid-destacadas {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .propiedades-grid-destacadas {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .propiedades-grid-destacadas {
    grid-template-columns: 1fr;
  }
}

/* Nuevo banner "Vender Propiedad" */
.vender-propiedad-banner {
  background: linear-gradient(135deg, #0d4e4d, #ffffff);
  padding: 4rem 0;
  color: white;
  text-align: center;
}

.vender-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.vender-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.vender-btn {
  background: #267a79;
  color: white;
  border: none;
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(206, 205, 204, 0.3);
}

.vender-btn:hover {
  background: #0d4e4d;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(223, 221, 221, 0.4);
}

.vender-btn i {
  font-size: 1.3rem;
}

/* Nueva sección de Instagram */
.instagram-section-new {
  padding: 4rem 0;
  background: #fff;
}

.instagram-section-new h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #0d4e4d;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.instagram-section-new h2 i {
  color: #bd1a7e;
  font-size: 2.2rem;
}

.instagram-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.instagram-cta {
  text-align: center;
  margin-bottom: 3rem;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(45deg, #e4405f, #f56040);
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.instagram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(228, 64, 95, 0.4);
}

.instagram-btn i {
  font-size: 1.3rem;
}

/* Contenedor de reels que se reproducen */
.reels-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.reel-item {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

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

.reel-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.reel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem 1rem 1rem;
  color: white;
}

.reel-info h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.reel-info p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

/* Responsive para reels */
@media (max-width: 1200px) {
  .reels-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .reels-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .reels-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .reel-item {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Responsive para hero */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    margin-top: 70px;
  }

  .hero-content {
    padding: 1rem;
    margin: 0 1rem;
  }

  .hero-image {
    display: flex;
    margin-top: -100px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .vender-content h2 {
    font-size: 2rem;
  }

  .vender-content p {
    font-size: 1rem;
    margin: 0 1rem 2rem;
  }

  .instagram-section-new h2 {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Sobre Nosotros Section */
.sobre-nosotros {
  padding: 4rem 0;
}

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

.sobre-text h2 {
  font-size: 2.5rem;
  color: #0d4e4d;
  margin-bottom: 1rem;
}

.sobre-text h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.sobre-text p {
  margin-bottom: 1rem;
  color: #666;
  line-height: 1.8;
}

.stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: bold;
  gap: 0.6rem;
  font-size: 1.2rem;
  color: #0d4e4d;
}

.fa-check {
  color: #28a745; /* Verde */
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  color: #0d4e4d;
}

.stat i {
  color: #28a745; /* verde para el tilde */
  font-size: 1.5rem;
}

.stat p {
  display: flex;
  font-size: 15px;
  text-align: center;
  margin-top: 15px;
}

.stat h3 {
  font-size: 2rem;
  color: #ff6b35;
  margin-bottom: 0.5rem;
}

.sobre-image img {
  width: 100%;
  border-radius: 10px;
  margin-top: 20px;
}

/* Contacto Section */
.contacto {
  padding: 4rem 0;
  background: #f8f9fa;
}

.contacto h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #0d4e4d;
  margin-top: 20px;
  display: block;
  visibility: visible;
  opacity: 1;
}

.contacto-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contacto-info {
  order: 1;
}

.contacto-form {
  order: 2;
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contacto-form input,
.contacto-form textarea,
.contacto-form select {
  padding: 1rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  transition: border-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contacto-form input:focus,
.contacto-form textarea:focus,
.contacto-form select:focus {
  outline: none;
  border-color: #0d4e4d;
}

.contacto-form button {
  padding: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

/* Footer */
.footer {
  background: #0d4e4d;
  color: white;
  padding: 2rem 0 1rem;
}

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

.footer-section .logo img {
  text-align: center;
  margin-left: 20px;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #45b6b4;
}

/* Improved social links section with better spacing and larger icons */
.social-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: flex-start;
}

.social-links a {
  color: #ccc;
  font-size: 2rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

.social-links a:hover {
  color: #45b6b4;
  background: rgba(69, 182, 180, 0.2);
  transform: translateY(-2px);
}

/* Enhanced developer section with larger logo and better alignment */
.developer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
}

.developer-logo {
  width: 120px;
  height: auto;
  opacity: 0.9;
  transition: all 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.developer-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.developer-contact {
  text-align: center;
}

.developer-contact p {
  margin: 0.7rem 0;
  font-size: 1rem;
  color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.developer-contact i {
  color: #45b6b4;
  width: 18px;
  font-size: 1.1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #555;
  color: #ccc;
}

/* Updated mobile responsive styles for better appearance */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
    gap: 1rem;
  }

  .social-links a {
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
  }

  .developer-info {
    align-items: center;
  }

  .developer-logo {
    width: 100px;
  }

  .developer-contact p {
    justify-content: center;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .developer-logo {
    width: 80px;
  }

  .developer-contact p {
    font-size: 0.85rem;
    gap: 0.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Tab Content Styles */
.tab-content {
  display: none;
  min-height: calc(100vh - 80px);
  padding-top: 80px;
}

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

/* Instagram Section Styles */
.instagram-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.instagram-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.instagram-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.instagram-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Posts Grid */
.instagram-posts h3,
.instagram-stories h3,
.instagram-reels h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.instagram-post {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.instagram-post:hover {
  transform: scale(1.05);
}

.post-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: block;
}

.post-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-post:hover .post-overlay {
  opacity: 1;
}

.post-stats {
  display: flex;
  gap: 1rem;
  color: white;
  font-weight: bold;
}

/* Stories */
.stories-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.story-item {
  text-align: center;
  cursor: pointer;
}

.story-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  padding: 3px;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.story-circle:hover {
  transform: scale(1.1);
}

.story-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
}

.story-item span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Reels */
.reels-grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.reel-item {
  text-align: center;
  cursor: pointer;
}

.reel-thumbnail {
  width: 120px;
  height: 160px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  position: relative;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.reel-item:hover .reel-thumbnail {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #333;
}

.reel-views {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.reel-item p {
  font-size: 0.9rem;
  max-width: 120px;
  line-height: 1.3;
}

/* Instagram CTA */
.instagram-cta {
  text-align: center;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(45deg, #e4405f, #f56040);
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.instagram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(228, 64, 95, 0.4);
}

.instagram-btn i {
  font-size: 1.3rem;
}

/* Improved Propiedades Tab Styles */
.propiedades-tab {
  padding: 2rem 0 4rem;
  min-height: 100vh;
}

.propiedades-header {
  text-align: center;
  margin-bottom: 3rem;
}

.propiedades-header h2 {
  font-size: 2.5rem;
  color: #0d4e4d;
  margin-bottom: 0.5rem;
  margin-top: 20px;
}

.propiedades-header p {
  font-size: 1.2rem;
  color: #666;
}

.filters-container {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

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

.sort-select {
  padding: 0.5rem 1rem;
  border: 2px solid #0d4e4d;
  border-radius: 25px;
  background: white;
  color: #0d4e4d;
  font-weight: 500;
  cursor: pointer;
}

/* Agregando estilos para filtros avanzados */
.advanced-filters {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  border: 1px solid #e9ecef;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group label {
  display: block;
  font-weight: 600;
  color: #0d4e4d;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.filter-select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: white;
  color: #333;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.filter-select:focus {
  outline: none;
  border-color: #0d4e4d;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal !important;
  color: #333 !important;
  margin-bottom: 0 !important;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.checkbox-label:hover {
  color: #0d4e4d !important;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 4px;
  margin-right: 0.5rem;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #0d4e4d;
  border-color: #0d4e4d;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.filter-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.apply-filters-btn,
.clear-filters-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.apply-filters-btn {
  background: #0d4e4d;
  color: white;
}

.apply-filters-btn:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.clear-filters-btn {
  background: #6c757d;
  color: white;
}

.clear-filters-btn:hover {
  background: #5a6268;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.search-container {
  display: flex;
  gap: 0.5rem;
}

.search-input {
  flex: 1;
  padding: 1rem;
  border: 2px solid #ddd;
  border-radius: 25px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #0d4e4d;
}

.search-btn {
  background: #0d4e4d;
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-btn:hover {
  background: #1ebe57;
}

/* Modal Styles */
.modal {
  display: none; /* This will be overridden by .modal.show */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Added display: flex to make modal visible when .show class is added */
.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  margin: 2% auto;
  padding: 0;
  border-radius: 15px;
  width: 95%;
  max-width: 1200px;
  max-height: 95vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Ensure modal content is properly displayed when modal is shown */
.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
  border-radius: 15px 15px 0 0;
}

.modal-header h2 {
  margin: 0;
  color: #0d4e4d;
  font-size: 1.5rem;
}

.close {
  color: #aaa;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
  background: none;
  border: none;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close:hover {
  color: #0d4e4d;
  background-color: rgba(44, 90, 160, 0.1);
}

.close::before {
  content: "×";
  font-size: 2rem;
  line-height: 1;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

/* Modal Images Section */
.modal-images {
  position: relative;
  max-width: 550px; /* Aumentando de 500px a 550px para imágenes un poco más grandes */
  margin: 0 auto;
}

.main-image {
  position: relative;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: 450px; /* Aumentando de 400px a 450px para imágenes un poco más grandes */
  object-fit: cover;
  display: block;
}

.image-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  transform: translateY(-50%);
}

.prev-btn,
.next-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #2c5aa0;
  font-size: 1.2rem;
}

.prev-btn:hover,
.next-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.thumbnail-images {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.thumbnail.active {
  border-color: #2c5aa0;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal Info Section */
.modal-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.price-section {
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.price {
  font-size: 2rem;
  font-weight: bold;
  color: #ff6b35;
  margin-bottom: 0.5rem;
}

.location {
  display: flex;
  align-items: center;
  color: #666;
  font-size: 1.1rem;
}

.location i {
  margin-right: 0.5rem;
  color: #2c5aa0;
}

.property-details h3,
.property-features h3,
.property-description h3,
.location-section h3,
.contact-section h3 {
  color: #2c5aa0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 0.5rem;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.detail-item i {
  color: #2c5aa0;
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.detail-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.2rem;
}

.detail-value {
  font-weight: 600;
  color: #333;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #e3f2fd;
  color: #2c5aa0;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.feature-tag i {
  font-size: 0.8rem;
}

.property-description p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.location-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #28a745;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.location-btn:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.contact-btn.primary {
  background: #25d366;
  color: white;
  position: relative;
}

.contact-btn.primary::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.149-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.893 3.488'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
}

.contact-btn.primary:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

/* Mobile First - Base styles para móviles */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
    width: 100%;
    max-width: 100vw;
  }

  .hero {
    height: 70vh;
    margin-top: 60px;
  }

  .hero-content {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 0.9rem;
    margin: 1rem 0;
  }

  .btn-primary {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .propiedades-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .propiedad-card {
    margin: 0 0.5rem;
  }

  .vender-propiedad-banner {
    padding: 2rem 1rem;
    margin: 2rem 0.5rem;
  }

  .vender-content h2 {
    font-size: 1.8rem;
  }

  .vender-content p {
    font-size: 0.9rem;
    margin: 1rem 0 1.5rem;
  }

  .instagram-section-new {
    padding: 2rem 1rem;
  }

  .instagram-section-new h2 {
    font-size: 1.8rem;
  }

  .instagram-section-new p {
    font-size: 0.9rem;
  }

  h1,
  h2,
  h3 {
    word-wrap: break-word;
    hyphens: auto;
  }

  .sobre-nosotros-tab h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    padding: 0 1rem;
  }

  .sobre-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
  }

  .stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
  }

  .stat {
    display: flex;
    align-items: center; /* Alinea ícono y texto en la misma línea */
    gap: 10px; /* Espacio entre ícono y texto */
    margin: 10px 0;
  }

  .stat i {
    color: #28a745; /* Verde */
    font-size: 1.5rem; /* Tamaño del ícono */
    flex-shrink: 0; /* Evita que el ícono se achique */
  }

  .fa-circle-check {
    color: #28a745;
  }

  .stat p {
    font-size: 0.9rem;
    text-decoration: orangered;
  }

  .mission-vision {
    margin: 1.5rem 0.5rem;
    padding: 1.5rem 1rem;
  }

  .mission-card i,
  .vision-card i {
    font-size: 2rem;
  }

  .mission-card h3,
  .vision-card h3 {
    font-size: 1.4rem;
  }

  .mission-card p,
  .vision-card p {
    font-size: 0.9rem;
  }

  .values-section {
    margin: 1.5rem 0.5rem;
  }

  .values-section h2 {
    font-size: 1.8rem;
    padding: 0 1rem;
  }

  .value-card {
    padding: 1.5rem 1rem;
  }

  .value-card h3 {
    font-size: 1.2rem;
  }

  .value-card p {
    color: #6c757d;
    line-height: 1.6;
  }

  .contacto-tab {
    padding: 1rem 0 2rem;
  }

  .contacto-tab h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }

  .contacto-info {
    margin: 0 0.5rem 2rem;
  }

  .info-item {
    margin-bottom: 1rem;
    padding: 1rem;
  }

  .info-item h4 {
    font-size: 1.1rem;
  }

  .info-item p {
    font-size: 0.9rem;
  }

  .contacto-form {
    margin: 0 0.5rem;
  }

  .contacto-form input,
  .contacto-form textarea,
  .contacto-form select {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .contacto-form button {
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
  }
}

/* Tablets pequeñas */
@media (min-width: 481px) and (max-width: 768px) {
  .container {
    padding: 0 20px;
    width: 100%;
  }

  .hero {
    height: 75vh;
    margin-top: 70px;
  }

  .hero-content {
    padding: 2rem;
    margin: 0 1rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .propiedades-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .propiedades-grid-destacadas {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .reels-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .vender-propiedad-banner {
    padding: 3rem 2rem;
    margin: 3rem 1rem;
  }

  .instagram-section-new {
    padding: 3rem 2rem;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .contact-container {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }
}

/* Tablets grandes */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .hero {
    height: 85vh;
  }

  .hero-content {
    padding: 2.5rem;
    margin: 0 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .propiedades-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .propiedades-grid-destacadas {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .reels-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .vender-propiedad-banner {
    padding: 4rem 3rem;
    margin: 4rem 2rem;
  }

  .instagram-section-new {
    padding: 4rem 3rem;
  }
}

/* Desktop pequeño */
@media (min-width: 1025px) and (max-width: 1440px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .hero {
    height: 90vh;
  }

  .hero-content {
    padding: 3rem;
    max-width: 600px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .propiedades-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .propiedades-grid-destacadas {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .reels-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .vender-propiedad-banner {
    padding: 4rem 3rem;
    margin: 4rem auto;
    max-width: 1200px;
  }

  .instagram-section-new {
    padding: 4rem 3rem;
  }
}

/* Desktop grande y ultra wide */
@media (min-width: 1441px) {
  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
  }

  .hero {
    height: 95vh;
  }

  .hero-content {
    padding: 4rem;
    max-width: 700px;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .propiedades-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }

  .propiedades-grid-destacadas {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }

  .reels-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }

  .vender-propiedad-banner {
    padding: 5rem 4rem;
    margin: 5rem auto;
    max-width: 1200px;
  }

  .instagram-section-new {
    padding: 5rem 4rem;
  }
}

/* Mejoras para navegación móvil */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-desktop {
    display: none;
  }

  .nav-mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-mobile.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-mobile ul {
    padding: 1rem 0;
  }

  .nav-mobile li {
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-link-mobile {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }

  .header {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.3rem;
  }
}

/* Mejoras para modales en dispositivos móviles */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-width: none;
    margin: 1rem auto;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
  }

  .modal-header {
    padding: 1rem 1.5rem;
    flex-shrink: 0;
  }

  .modal-header h2 {
    font-size: 1.3rem;
  }

  .modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    overflow-y: auto;
  }

  /* Imágenes arriba en móvil */
  .modal-images {
    order: 1;
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .main-image img {
    height: 250px;
  }

  .thumbnail-images {
    justify-content: center;
  }

  .thumbnail {
    width: 60px;
    height: 45px;
  }

  /* Información abajo en móvil */
  .modal-info {
    order: 2;
    gap: 1rem;
  }

  .price-section .price {
    font-size: 1.8rem;
  }

  .details-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .detail-item {
    padding: 0.8rem;
  }

  .detail-item i {
    font-size: 1.2rem;
  }

  .features-list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .feature-item {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .contact-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

  .contact-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }
}

/* Mission & Vision */
.mission-vision {
  margin-bottom: 80px;
  background: white;
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.mission-card,
.vision-card {
  text-align: center;
}

.mission-card i,
.vision-card i {
  font-size: 3rem;
  color: #7cb342;
  margin-bottom: 20px;
}

.mission-card h3,
.vision-card h3 {
  font-size: 1.8rem;
  color: #2c5530;
  margin-bottom: 20px;
  font-weight: 600;
}

.mission-card p,
.vision-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #495057;
}

/* Values Section */
.values-section {
  margin-bottom: 80px;
}

.values-section h2 {
  font-size: 2.5rem;
  color: #2c5530;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 600;
}

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

.value-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.value-card i {
  font-size: 2.5rem;
  color: #7cb342;
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.5rem;
  color: #2c5530;
  margin-bottom: 15px;
  font-weight: 600;
}

.value-card p {
  color: #6c757d;
  line-height: 1.6;
}

/* Iconos para características de propiedades */
.property-features i {
  margin-right: 8px;
  color: #2c5aa0;
  font-size: 1.1rem;
}

/* Iconos de redes sociales */
.social-icons i {
  font-size: 1.2rem;
  margin-right: 8px;
}

/* Responsive para iconos en móviles */
@media (max-width: 480px) {
  .close {
    font-size: 1.5rem;
    width: 25px;
    height: 25px;
  }

  .property-features i {
    font-size: 1rem;
  }
}

/* Agregando estilos para los botones de teléfono */
.phone-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
  padding: 0 10px;
}

.phone-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 15px;
  border: 2px solid #e8f5e8;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fffe 0%, #f0f9f0 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.phone-option:hover {
  border-color: #25d366;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.15);
}

.phone-option p {
  margin: 0 0 15px 0;
  font-weight: 600;
  color: #2c5530;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.phone-btn {
  background: linear-gradient(135deg, #25d366 0%, #20c55e 100%);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

.phone-btn:hover {
  background: linear-gradient(135deg, #1ebe57 0%, #128c7e 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.phone-btn i {
  font-size: 16px;
}

.phone-selector {
  margin-bottom: 25px;
  text-align: center;
  padding: 20px;
  background: #f8fffe;
  border-radius: 12px;
  border: 1px solid #e8f5e8;
}

.phone-buttons-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 15px;
  align-items: center;
}

.phone-buttons-grid .contact-btn {
  font-size: 15px;
  padding: 15px 25px;
  border-radius: 25px;
  font-weight: 600;
  min-width: 280px;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
  transition: all 0.3s ease;
}

.phone-buttons-grid .contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.35);
}

@media (min-width: 768px) {
  .phone-options {
    flex-direction: row;
    gap: 25px;
    padding: 0 20px;
  }

  .phone-option {
    flex: 1;
    padding: 25px 20px;
  }

  .phone-option p {
    font-size: 17px;
    margin-bottom: 18px;
  }

  .phone-btn {
    font-size: 16px;
    padding: 14px 30px;
    min-width: 160px;
  }

  .phone-buttons-grid {
    flex-direction: row;
    gap: 20px;
    justify-content: center;
  }

  .phone-buttons-grid .contact-btn {
    flex: 1;
    max-width: 300px;
    font-size: 16px;
    padding: 16px 30px;
  }

  .phone-selector h4 {
    font-size: 20px;
    margin-bottom: 25px;
  }
}

/* Adding missing mobile responsive styles for sobre-nosotros and contacto sections */
@media (max-width: 768px) {
  /* Sobre Nosotros - Convert 2-column grid to 1-column */
  .sobre-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .sobre-image {
    order: -1; /* Move image above text on mobile */
  }

  .sobre-image img {
    max-width: 300px;
    margin: 0 auto;
  }

  .stats {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Contacto - Convert 2-column grid to 1-column */
  .contacto-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contacto-info {
    order: 1;
  }

  .contacto-form {
    order: 2;
  }

  .phone-option {
    align-items: flex-start;
  }

  .phone-btn {
    width: auto;
    align-self: flex-start;
  }
}

/* Extra small screens - additional mobile optimizations */
@media (max-width: 480px) {
  .sobre-text h2 {
    font-size: 2rem;
  }

  .sobre-text h3 {
    font-size: 1.2rem;
  }

  .contacto h2 {
    font-size: 2rem;
  }

  .info-item {
    padding: 1rem 0.8rem;
  }

  .contacto-form {
    padding: 1.5rem 1rem;
  }
}

/* Adding more top spacing for desktop versions of sobre-nosotros and contacto sections */
@media (min-width: 1025px) {
  .sobre-nosotros {
    padding: 12rem 0 4rem 0;
  }

  .contacto {
    padding: 12rem 0 4rem 0;
  }

  .sobre-text h2,
  .contacto h2 {
    margin-top: 30px;
  }
}

@media (min-width: 1441px) {
  .sobre-nosotros {
    padding: 15rem 0 4rem 0;
  }

  .contacto {
    padding: 15rem 0 4rem 0;
  }
}
