:root{
  /* Palette: gray + orange */
  --accent:#ff6a00; /* naranja */
  --muted:#6b6b6b;   /* gris oscuro */
  --bg:#f7f7f5;      /* fondo gris cálido suave */
  --muted-light:#9a9a9a;
  --max-width:1100px;
  
  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*{
  box-sizing:border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body{
  font-family: var(--font-main);
  margin:0;
  color:#222;
  background:var(--bg);
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.01) 2px,
      rgba(0, 0, 0, 0.01) 4px
    );
  line-height:1.6;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-top: 0;
  color: #1a1a1a;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.container{width:90%;max-width:var(--max-width);margin:0 auto}
.site-header {
  background: white;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  position: relative;
  z-index: 100;
}

.site-header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 1rem 0;
  position: relative;
}

.brand {
  margin: 0;
  font-size: 1.5rem;
  text-align: center;
  grid-column: 2;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: -0.5px;
}

.header-logo {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-toggle {
  grid-column: 1;
  background: none;
  border: none;
  font-size: 1.2rem;
  padding: .5rem;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(255,106,0,0.1);
  color: var(--accent);
}

.main-nav {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 1rem;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform-origin: top left;
  transform: scaleY(0);
  opacity: 0;
  transition: all 0.3s ease;
}

.main-nav.open {
  transform: scaleY(1);
  opacity: 1;
}

.main-nav a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.main-nav a:hover {
  color: var(--accent);
  background: rgba(255,106,0,0.1);
}

.main-nav a svg {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
  width: 20px;
  height: 20px;
}

/* Animación del ícono del menú */
.nav-toggle .line {
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-toggle.open .line1 {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open .line2 {
  opacity: 0;
}

.nav-toggle.open .line3 {
  transform: rotate(-45deg) translate(5px, -5px);
}
.nav-toggle:focus{outline:2px solid rgba(10,102,194,.2);outline-offset:3px}
.nav-toggle svg{display:block}
.nav-toggle .line{transition:transform .25s ease, opacity .2s ease}

/* ========================================
   HEADER DESKTOP - Menú horizontal con iconos
   ======================================== */
@media (min-width: 701px) {
  .nav-toggle {
    display: none;
  }
  
  .main-nav {
    position: static;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    padding: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    max-height: none;
    overflow: visible;
  }
  
  .main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
  }
  
  .main-nav a:hover {
    color: white;
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,106,0,0.3);
  }
  
  .main-nav a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }
  
  .main-nav a:hover svg {
    transform: scale(1.1);
  }
}

.hero {
  position: relative;
  padding: 4rem 0;
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../properties/IMG_1117.JPG') center/cover no-repeat;
  color: white;
  overflow: hidden;
}

/* Efecto de grid de fondo */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(237,137,54,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237,137,54,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(237,137,54,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* Hero content - todo integrado */
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 2rem;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}

.hero-brand {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  margin: 0 0 1rem 0;
  font-family: 'Inter', sans-serif;
  position: relative;
  display: inline-block;
}

.hero-brand::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff6a00, transparent);
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.5);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 1.5rem 0 1.5rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #ed8936 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  line-height: 1.7;
  margin: 0 0 3rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.01em;
}

.btn{
  display:inline-block;
  background:var(--accent);
  color:white;
  padding:0.75rem 1.5rem;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  font-size:0.95rem;
  letter-spacing:-0.01em;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255,106,0,0.2);
}

.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,106,0,0.35);
  background: #ff7a1a;
}

.btn-secondary {
  margin-top: 1.5rem;
  padding: 0.875rem 2rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.2);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(237,137,54,0.5);
  transform: translateY(-2px);
  filter: none;
}

/* Hero search form */
.hero-search {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
}

.search-group {
  display: flex;
  gap: 1rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-search .select-wrapper {
  position: relative;
  flex: 1;
}

.hero-search select,
.hero-search input {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  color: white;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  appearance: none;
  outline: none;
  transition: all 0.3s ease;
}

.hero-search select:hover,
.hero-search input:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}

.hero-search select:focus,
.hero-search input:focus {
  background: rgba(255,255,255,0.2);
  border-color: #ed8936;
  box-shadow: 0 0 0 3px rgba(237,137,54,0.2);
}

.hero-search select option {
  background: #2a2a2a;
  color: white;
}

.hero-search .custom-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(255,255,255,0.6);
}

.hero-search input::placeholder {
  color: rgba(255,255,255,0.6);
}

.hero-search .btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(237,137,54,0.3);
}

.hero-search .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237,137,54,0.4);
  filter: brightness(1.1);
}

.search-icon {
  transition: transform 0.3s ease;
}

.hero-search .btn:hover .search-icon {
  transform: scale(1.1);
}

/* AI Search Styles */
.ai-search-container {
  width: 100%;
  max-width: 900px;
  margin: 3rem auto;
  position: relative;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.2), rgba(237, 137, 54, 0.2));
  border: 1px solid rgba(255, 106, 0, 0.4);
  border-radius: 25px;
  color: #ff6a00;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ai-badge svg {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.ai-search-form {
  width: 100%;
}

.ai-search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.ai-search-input-wrapper:focus-within {
  box-shadow: 0 12px 50px rgba(255, 106, 0, 0.25), 0 6px 20px rgba(237, 137, 54, 0.15);
  transform: translateY(-2px);
}

.ai-search-icon {
  position: absolute;
  left: 1.75rem;
  color: #9ca3af;
  pointer-events: none;
  transition: color 0.3s ease;
  width: 26px;
  height: 26px;
}

.ai-search-input-wrapper:focus-within .ai-search-icon {
  color: #ff6a00;
}

#aiSearchInput {
  flex: 1;
  padding: 1.75rem 1.75rem 1.75rem 4.5rem;
  border: none;
  font-size: 1.1rem;
  color: #1f2937;
  background: transparent;
  outline: none;
  font-weight: 400;
}

#aiSearchInput::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.ai-search-btn {
  display: none; /* Ocultado - búsqueda con Enter */
}

.ai-search-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  margin-top: 1rem;
  background: rgba(139, 92, 246, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: #8b5cf6;
  font-size: 0.875rem;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-top-color: #8b5cf6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.ai-search-suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0 0.5rem;
}

.suggestion-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.suggestion-chip {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: white;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.suggestion-chip:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

@media (max-width:768px){
  .ai-search-container {
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .ai-search-input-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  
  .ai-search-icon {
    left: 1rem;
  }
  
  #aiSearchInput {
    padding: 1.25rem 1rem 1.25rem 3rem;
    font-size: 0.95rem;
  }
  
  .ai-search-btn {
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 0;
    justify-content: center;
  }
  
  .ai-search-suggestions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .suggestion-chip {
    width: 100%;
    text-align: center;
  }
}

@media (max-width:768px){
  .search-group {
    flex-direction: column;
  }
  .hero-search .select-wrapper,
  .hero-search select,
  .hero-search input{width:100%}
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-brand {
    font-size: 2rem;
    letter-spacing: 0.1em;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-logo {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 0;
  }
  
  .hero-brand {
    font-size: 1.5rem;
    letter-spacing: 0.08em;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
}

.featured{padding:3rem 0}
.featured h3, .listings h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}
.featured h3::after, .listings h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8533 100%);
  border-radius: 2px;
}
.listings{padding:3rem 0}
.listings h3{margin-bottom:2rem}

/* Listing header and filters */
.listing-header {
  background: white;
  padding: 2rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.listing-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
}

.listing-meta h2 {
  margin: 0;
  font-size: 1.75rem;
}

.listing-count {
  color: var(--accent);
  font-weight: 500;
}

.listing-sort {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg);
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.filter-bar.active {
  background: white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.filter-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.filter-group::after {
  content: "▾";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  color: var(--accent);
  pointer-events: none;
}

.filter-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.filter-select {
  padding: 0.8rem 1rem;
  border: 2px solid transparent;
  border-radius: 8px;
  background: white;
  font-size: 1rem;
  color: #333;
  appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.filter-select:hover {
  border-color: var(--accent);
}

.filter-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,106,0,0.1);
}

.filter-select option {
  padding: 0.5rem;
}

.filter-group.active .filter-label {
  color: var(--accent);
}

.filter-group.active .filter-select {
  border-color: var(--accent);
  background: rgba(255,106,0,0.04);
}

/* Listing cards - Diseño horizontal elegante */
.listings .card {
  position: relative;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: row; /* Horizontal */
  height: 180px; /* Altura fija compacta */
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0,0,0,0.08);
}

.listings .card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
  border-color: rgba(255,106,0,0.3);
}

.listings .card-img-wrapper {
  position: relative;
  width: 280px; /* Ancho fijo para la imagen */
  min-width: 280px;
  height: 100%;
  overflow: hidden;
  background-color: #f5f5f5;
}

.listings .card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.listings .card:hover img {
  transform: scale(1.05);
}

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

.listings .card-content {
  padding: 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;
  overflow: hidden;
}

.listings .card h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  line-height: 1.4;
  color: #1a1a1a;
  font-weight: 600;
  transition: color 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Máximo 2 líneas */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.listings .card:hover h4 {
  color: var(--accent);
}

.card-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8533 100%);
  color: white;
  font-size: 0.7rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255,106,0,0.3);
  z-index: 10;
}

.card-featured {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #000;
  font-size: 0.7rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255,215,0,0.4);
  z-index: 10;
}

.card-location {
  color: var(--muted);
  font-style: normal;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

.card-location svg {
  flex-shrink: 0;
  color: var(--accent);
  width: 14px;
  height: 14px;
}

.card-features {
  display: flex;
  gap: 1rem;
  color: #555;
  font-size: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

.card-features span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  white-space: nowrap;
}

.card-features svg {
  flex-shrink: 0;
  color: var(--accent);
  width: 16px;
  height: 16px;
}

.card-id {
  display: inline-block;
  color: var(--muted-light);
  font-size: 0.8rem;
  margin-top: auto;
  padding: 0.35rem 0.75rem;
  background: rgba(107,107,107,0.08);
  border-radius: 6px;
  font-weight: 500;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
}

.card .price {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8533 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0.5rem 0 0;
  letter-spacing: -0.5px;
}

.card .btn {
  display: none; /* Ocultar botón en cards horizontales, click en toda la card */
}

/* Grid layout - Una columna para cards horizontales */
.grid.listings {
  display: grid;
  grid-template-columns: 1fr; /* Una sola columna */
  gap: 1.5rem;
  padding: 2rem 0;
}

/* Cards horizontales clicables */
.listings .card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

/* Responsive: En móvil, cards verticales */
@media (max-width: 768px) {
  .listings .card {
    flex-direction: column;
    height: auto;
  }
  
  .listings .card-img-wrapper {
    width: 100%;
    height: 220px;
  }
  
  .listings .card-content {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .grid.listings {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .listings .card-img-wrapper {
    height: 200px;
  }
}

@media (max-width: 700px) {
  .listing-meta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .listing-sort {
    justify-content: space-between;
    width: 100%;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }
}

/* Listing filters */
.listing-header {
  background: white;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 2rem 0 1.5rem;
  margin-bottom: 2rem;
}

.listing-meta {
  margin-bottom: 1.5rem;
}

.listing-meta h2 {
  margin: 0 0 0.25rem;
}

.results-count {
  color: var(--muted);
  margin: 0;
}

.listing-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-group {
  min-width: 180px;
  flex: 1;
}

.filter-group.filter-search {
  flex: 2;
}

.filter-group input[type="search"] {
  width: 100%;
  padding: 0.7em 1em;
  border: 1.5px solid var(--accent);
  border-radius: 0.5em;
  font-size: 1rem;
  background: white;
}

.filter-group input[type="search"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,106,0,0.15);
}

@media (max-width: 700px) {
  .listing-filters {
    flex-direction: column;
  }
  
  .filter-group {
    width: 100%;
  }

  .filter-group.filter-search {
    order: -1;
  }
}

/* Categories section */
.categories{padding:2rem 0}
.categories .muted{color:var(--muted-light);margin-top:-0.25rem;margin-bottom:0.75rem}
.categories-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1.5rem}
.category-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:1.5rem;
  background:white;
  border-radius:16px;
  text-decoration:none;
  color:inherit;
  box-shadow:0 4px 6px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.06);
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
}
.category-card img{
  width:100%;
  height:140px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:1rem;
  transition: transform .3s ease;
}
.category-card:hover img {
  transform: scale(1.1);
}
.category-card .cat-body{display:block}
.category-card strong{
  display:block;
  color:#1a1a1a;
  margin-bottom:.5rem;
  font-size:1.1rem;
  font-weight:600;
}
.category-card .cat-count{
  font-size:.9rem;
  color:var(--accent);
  font-weight:500;
}
.category-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.08);
  border-color: rgba(255,106,0,0.2);
}

@media (max-width:480px){
  .category-card img{height:88px}
}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}
.card{
  background:white;
  padding:0;
  border-radius:16px;
  box-shadow:0 4px 6px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.06);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.08);
  border-color: rgba(255,106,0,0.2);
}
.card img{
  width:100%;
  height:200px;
  object-fit:cover;
  transition: transform .3s ease;
}
.card:hover img {
  transform: scale(1.05);
}
.card > *:not(img) {
  padding: 0 1.5rem;
}
.card > h4 {
  padding-top: 1.25rem;
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: #1a1a1a;
  font-weight: 600;
}
.card > p {
  margin: 0.5rem 0;
  color: #555;
}
.card > .price {
  padding-bottom: 1.25rem;
  font-weight: 700;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8533 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========================================
   FEATURED CARDS - Diseño cuadrado moderno
   ======================================== */
/* Cards en index.html (no en listings.html) */
.featured .card,
.featured-properties .card,
section.listings:not(.listings-page) .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  position: relative;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured .card:hover,
.featured-properties .card:hover,
section.listings:not(.listings-page) .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
  border-color: rgba(255,106,0,0.3);
}

/* Imágenes de cards cuadradas */
.featured .card-img-wrapper,
.featured-properties .card-img-wrapper,
section.listings:not(.listings-page) .card-img-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.featured .card-img-wrapper img,
.featured-properties .card-img-wrapper img,
section.listings:not(.listings-page) .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured .card:hover .card-img-wrapper img,
.featured-properties .card:hover .card-img-wrapper img,
section.listings:not(.listings-page) .card:hover .card-img-wrapper img {
  transform: scale(1.1);
}

/* Contenido de las cards cuadradas */
.featured .card-content,
.featured-properties .card-content,
section.listings:not(.listings-page) .card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured .card-content h4,
.featured-properties .card-content h4,
section.listings:not(.listings-page) .card-content h4 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: #1a1a1a;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 3.3rem;
}

.featured .card-location,
.featured-properties .card-location,
section.listings:not(.listings-page) .card-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.9rem;
  font-style: normal;
  margin-bottom: 1rem;
}

.featured .card-location svg,
.featured-properties .card-location svg,
section.listings:not(.listings-page) .card-location svg {
  color: var(--accent);
  flex-shrink: 0;
}

.featured .card-features,
.featured-properties .card-features,
section.listings:not(.listings-page) .card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.featured .card-features span,
.featured-properties .card-features span,
section.listings:not(.listings-page) .card-features span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #666;
  background: rgba(0,0,0,0.03);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.featured .card:hover .card-features span,
.featured-properties .card:hover .card-features span,
section.listings:not(.listings-page) .card:hover .card-features span {
  background: rgba(255,106,0,0.08);
  color: var(--accent);
}

.featured .card-features svg,
.featured-properties .card-features svg,
section.listings:not(.listings-page) .card-features svg {
  color: var(--accent);
  flex-shrink: 0;
}

.featured .card-content .price,
.featured-properties .card-content .price,
section.listings:not(.listings-page) .card-content .price {
  font-weight: 700;
  font-size: 1.75rem;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8533 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.featured .card-content .btn,
.featured-properties .card-content .btn,
section.listings:not(.listings-page) .card-content .btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8533 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255,106,0,0.2);
}

.featured .card:hover .btn,
.featured-properties .card:hover .btn,
section.listings:not(.listings-page) .card:hover .btn {
  box-shadow: 0 6px 20px rgba(255,106,0,0.35);
  transform: translateY(-2px);
}

/* Tag de estado */
.featured .card-tag,
.featured-properties .card-tag,
section.listings:not(.listings-page) .card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,106,0,0.95);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  backdrop-filter: blur(8px);
  z-index: 2;
}

/* Grid para cards cuadradas */
.featured .grid,
.featured-properties .grid,
section.listings:not(.listings-page) .grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* Efecto de overlay sutil al hover */
.featured .card::before,
.featured-properties .card::before,
section.listings:not(.listings-page) .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,106,0,0.03) 0%, rgba(255,133,51,0.03) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 16px;
  z-index: 1;
}

.featured .card:hover::before,
.featured-properties .card:hover::before,
section.listings:not(.listings-page) .card:hover::before {
  opacity: 1;
}

/* Asegurar que el contenido esté sobre el overlay */
.featured .card > *,
.featured-properties .card > *,
section.listings:not(.listings-page) .card > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .featured .grid,
  .featured-properties .grid,
  section.listings:not(.listings-page) .grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .featured .card-img-wrapper,
  .featured-properties .card-img-wrapper,
  section.listings:not(.listings-page) .card-img-wrapper {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .featured .grid,
  .featured-properties .grid,
  section.listings:not(.listings-page) .grid {
    grid-template-columns: 1fr;
  }
  
  .featured .card-content,
  .featured-properties .card-content,
  section.listings:not(.listings-page) .card-content {
    padding: 1.25rem;
  }
}

/* ========================================
   NO RESULTS MESSAGE - Estado vacío
   ======================================== */
.no-results {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin: 2rem 0;
  min-height: 400px;
}

.no-results-icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,106,0,0.08) 0%, rgba(255,133,51,0.08) 100%);
  border-radius: 50%;
  margin-bottom: 2rem;
  animation: pulse-soft 2s ease-in-out infinite;
}

@keyframes pulse-soft {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255,106,0,0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(255,106,0,0);
  }
}

.no-results-icon svg {
  color: var(--accent);
  opacity: 0.7;
}

.no-results-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

.no-results-text {
  font-size: 1.1rem;
  color: #666;
  max-width: 500px;
  line-height: 1.6;
  margin: 0 0 2.5rem 0;
}

.no-results-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary-action,
.btn-secondary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary-action {
  background: linear-gradient(135deg, var(--accent) 0%, #ff8533 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(255,106,0,0.25);
}

.btn-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,106,0,0.4);
}

.btn-secondary-action {
  background: white;
  color: var(--accent);
  border: 2px solid rgba(255,106,0,0.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.btn-secondary-action:hover {
  background: rgba(255,106,0,0.05);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,106,0,0.15);
}

.btn-primary-action svg,
.btn-secondary-action svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .no-results {
    padding: 3rem 1.5rem;
    min-height: 350px;
  }
  
  .no-results-icon {
    width: 100px;
    height: 100px;
  }
  
  .no-results-icon svg {
    width: 60px;
    height: 60px;
  }
  
  .no-results-title {
    font-size: 1.5rem;
  }
  
  .no-results-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .no-results {
    padding: 2.5rem 1rem;
    min-height: 300px;
  }
  
  .no-results-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary-action,
  .btn-secondary-action {
    width: 100%;
    justify-content: center;
  }
}

.price{font-weight:700;color:var(--accent)}
.filters{margin:1rem 0}

/* ========================================
   FOOTER - Diseño moderno y completo
   ======================================== */
.site-footer {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../properties/torre_de_los_caudillos.jpg') center/cover no-repeat;
  background-attachment: fixed;
  color: #e0e0e0;
  padding: 4rem 0 0;
  margin-top: 4rem;
  border-top: 3px solid var(--accent);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(45, 55, 72, 0.65) 0%, rgba(26, 32, 44, 0.75) 100%);
  pointer-events: none;
  z-index: 0;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-section h4 {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* Footer logo y descripción */
.footer-logo {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(1.3) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.footer-description {
  color: #d0d0d0;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Redes sociales */
.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255,106,0,0.5);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* Enlaces del footer */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--accent);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 20px;
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

/* Información de contacto */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #d0d0d0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.footer-contact a {
  color: #d0d0d0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(255,106,0,0.5);
}

/* Horarios */
.footer-schedule {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-schedule li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

.footer-schedule strong {
  color: white;
  font-size: 0.95rem;
}

.footer-schedule span {
  color: #b0b0b0;
  font-size: 0.9rem;
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  color: #d0d0d0;
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-legal a {
  color: #d0d0d0;
  text-decoration: none;
  transition: color 0.3s ease;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.footer-legal a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(255,106,0,0.5);
}

.footer-legal span {
  color: rgba(255,255,255,0.4);
}

/* Responsive footer */
@media (max-width: 768px) {
  .site-footer {
    padding: 3rem 0 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 0;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-legal span {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer-section h4 {
    font-size: 1.1rem;
  }

  .footer-logo {
    width: 100px;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
  }
}

/* ========================================
   CONTACT PAGE - Modern Design
   ======================================== */
.contact-page {
  padding: 3rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  min-height: calc(100vh - 200px);
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInDown 0.6s ease;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}

/* Modern Form Styles */
.contact-form-wrapper {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  animation: fadeInUp 0.6s ease 0.2s both;
}

.modern-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  color: #333;
  background: #fafafa;
  transition: all 0.3s ease;
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-group label {
  position: absolute;
  left: 3rem;
  top: 1rem;
  color: var(--muted-light);
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
  background: transparent;
  padding: 0 0.25rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(255,106,0,0.1);
}

.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:valid ~ label,
.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group select:focus ~ label {
  top: -0.5rem;
  left: 2.5rem;
  font-size: 0.75rem;
  color: var(--accent);
  background: white;
  font-weight: 600;
}

.field-icon {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--muted-light);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1;
}

.form-group input:focus ~ .field-icon,
.form-group textarea:focus ~ .field-icon,
.form-group select:focus ~ .field-icon {
  color: var(--accent);
}

.field-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.form-group input:focus ~ .field-line,
.form-group textarea:focus ~ .field-line,
.form-group select:focus ~ .field-line {
  width: 100%;
}

.form-message {
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  text-align: center;
  display: none;
  animation: slideIn 0.3s ease;
}

.form-message.success {
  display: block;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.form-message.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff7a00 100%);
  color: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(255,106,0,0.3);
  margin-top: 1rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,106,0,0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit svg {
  transition: transform 0.3s ease;
}

.btn-submit:hover svg {
  transform: translateX(4px);
}

/* Contact Info Cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.info-card {
  background: white;
  padding: 1.75rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.info-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(255,106,0,0.1) 0%, rgba(255,122,0,0.15) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.info-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  color: #333;
}

.info-content p {
  margin: 0.25rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.info-content a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.info-content a:hover {
  color: var(--accent);
}

.social-links {
  background: white;
  padding: 1.75rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.social-links h3 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  color: #333;
}

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

.social-icons a {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e5e7eb 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(255,106,0,0.3);
}

/* ===================================
   LOCATION PAGE STYLES
   =================================== */

.location-page {
  padding: 4rem 0;
  min-height: calc(100vh - 80px - 60px);
}

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

.location-subtitle {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 0 auto;
  max-width: 700px;
  line-height: 1.6;
}

/* Map Section */
.map-section {
  margin-bottom: 4rem;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.map-container:hover {
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.map-container iframe {
  display: block;
  width: 100%;
  min-height: 500px;
}

/* Location Info Grid */
.location-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.location-info-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.location-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.location-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(237, 137, 54, 0.3);
}

.location-info-card h3 {
  font-size: 1.4rem;
  margin: 0 0 1rem 0;
  color: #2d3748;
  font-weight: 700;
}

.location-info-card p {
  color: var(--muted);
  margin: 0.5rem 0;
  font-size: 1rem;
  line-height: 1.6;
}

.postal-code {
  font-weight: 600;
  color: var(--accent);
  margin-top: 1rem !important;
}

/* Schedule */
.schedule {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #f7fafc;
  border-radius: 10px;
  border-left: 3px solid var(--accent);
}

.schedule-row .day {
  font-weight: 600;
  color: #2d3748;
}

.schedule-row .hours {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Transport List */
.transport-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.transport-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--muted);
  border-bottom: 1px solid #e5e7eb;
}

.transport-list li:last-child {
  border-bottom: none;
}

.transport-list li svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Contact Details */
.contact-details {
  margin-bottom: 1.5rem;
}

.contact-details p {
  margin: 0.75rem 0;
}

.contact-details a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-details a:hover {
  color: #dd6b20;
  text-decoration: underline;
}

.btn-small {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  display: inline-block;
  margin-top: 0.5rem;
}

/* Responsive Location Page */
@media (max-width: 768px) {
  .location-page {
    padding: 2rem 0;
  }
  
  .location-header {
    margin-bottom: 2rem;
  }
  
  .location-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .map-container iframe {
    min-height: 350px;
    border-radius: 12px;
  }
  
  .location-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .location-info-card {
    padding: 2rem;
  }
  
  .location-icon {
    width: 56px;
    height: 56px;
  }
  
  .schedule-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsive Design */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .contact-form-wrapper {
    padding: 2rem;
  }
}

@media (max-width: 600px) {
  .contact-page {
    padding: 2rem 0;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
    border-radius: 16px;
  }

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

  .info-card {
    padding: 1.25rem;
  }

  .info-icon {
    width: 48px;
    height: 48px;
  }
}

/* Old contact form styles (kept for property sidebar forms) */
.contact-form label{display:block;margin-bottom:.75rem}
.contact-form input,.contact-form textarea{width:100%;padding:.5rem;border:1px solid #ddd;border-radius:6px}
.form-msg{margin-top:.5rem;color:green}

/* Property detail page */
.property-header {
  background: white;
  padding: 2rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.property-meta {
  margin-bottom: 0.5rem;
}

.property-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent);
  color: white;
  border-radius: 4px;
  font-size: 0.9rem;
}

.property-id {
  color: var(--muted);
  margin-left: 1rem;
}

.property-header h1 {
  margin: 0.5rem 0;
  font-size: 2rem;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-style: normal;
  margin-bottom: 1rem;
}

.property-highlights {
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
}

.property-gallery {
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 300px 150px;
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.gallery-grid img:hover {
  opacity: 0.9;
}

.gallery-grid .gallery-main {
  grid-row: span 2;
}

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

.property-price-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.price-block {
  margin-bottom: 1rem;
}

.price-label {
  display: block;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 600;
}

.property-price-card .btn {
  display: block;
  text-align: center;
  margin-bottom: 0.75rem;
}

.property-price-card .btn:last-child {
  margin-bottom: 0;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
}

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

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

.btn-outline:hover {
  background: var(--accent);
  color: white;
}

.property-details {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

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

.detail-item {
  display: flex;
  flex-direction: column;
}

.detail-label {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.property-description {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.features-list {
  columns: 2;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.features-list li {
  margin-bottom: 0.5rem;
}

.property-map {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
}

.property-sidebar .contact-form {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  position: sticky;
  top: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.form-intro {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .property-content {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  
  .gallery-grid .gallery-main {
    grid-column: span 2;
  }
  
  .features-list {
    columns: 1;
  }
}

@media (max-width:700px){
  .nav-toggle{display:inline-block}

  /* Ocultamos el nav por defecto en móvil y lo mostramos cuando tiene la clase .open */
  .main-nav{display:none;position:absolute;left:0;right:0;top:100%;background:white;padding:1rem;border-radius:0 0 8px 8px;box-shadow:0 4px 12px rgba(0,0,0,.08)}
  /* animated open/close using transform + opacity for smoother transitions */
  .main-nav{display:block;max-height:0;overflow:hidden;transform-origin:top;transition:max-height .28s ease,opacity .25s ease;opacity:0}
  .main-nav.open{max-height:320px;opacity:1}
  .main-nav a{display:block;margin:0.5rem 0;color:var(--muted)}

  /* Toggle button animation -> X */
  .nav-toggle.open .line1{transform-origin:center;transform:translateY(6px) rotate(45deg)}
  .nav-toggle.open .line2{opacity:0}
  .nav-toggle.open .line3{transform-origin:center;transform:translateY(-6px) rotate(-45deg)}

  /* Backdrop shown when menu open */
  .nav-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.28);z-index:40;opacity:0;pointer-events:none;transition:opacity .2s ease}
  .nav-backdrop.show{opacity:1;pointer-events:auto}

  /* Ajustes para filtros en móvil */
  .listing-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .filter-bar-horizontal {
    overflow-x: auto;
    padding: 1rem 0;
    gap: 0.5rem;
  }

  .filter-pill {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  .filter-pill svg:not(.chevron) {
    width: 16px;
    height: 16px;
  }

  .filter-pill .chevron {
    width: 14px;
    height: 14px;
  }

  .filter-dropdown {
    left: 0;
    right: 0;
    transform: none;
    min-width: 200px;
    max-width: 280px;
  }

  .filter-pill.active .filter-dropdown {
    transform: translateY(0);
  }

  .filter-clear {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }
}

/* utility: visually hidden (screen-reader only) */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Animaciones suaves para las tarjetas */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card, .category-card {
  animation: fadeInUp 0.6s ease-out backwards;
}

.card:nth-child(1), .category-card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2), .category-card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3), .category-card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4), .category-card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5), .category-card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6), .category-card:nth-child(6) { animation-delay: 0.6s; }

/* Efecto shimmer en hover para tags */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.card-tag:hover, .card-featured:hover {
  background-size: 200% auto;
  animation: shimmer 2s linear infinite;
}

/* ===========================
   LIGHTBOX GALLERY STYLES
   =========================== */

.property-gallery {
  margin-bottom: 2rem;
  position: relative;
}

.property-gallery .main-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.property-gallery .main-image:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.gallery-trigger {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  backdrop-filter: blur(10px);
}

.gallery-trigger:hover {
  background: rgba(0,0,0,0.85);
  transform: translateY(-2px);
}

.gallery-trigger svg {
  width: 18px;
  height: 18px;
}

/* Lightbox Overlay */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lightbox-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-main img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  animation: zoomIn 0.3s ease;
}

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

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 2rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

.lightbox-thumbnails {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.lightbox-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.lightbox-thumbnails::-webkit-scrollbar-track {
  background: transparent;
}

.lightbox-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}

.lightbox-thumbnails img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.lightbox-thumbnails img:hover {
  opacity: 0.9;
}

.lightbox-thumbnails img.active {
  opacity: 1;
  border-color: var(--accent);
  transform: scale(1.05);
}

.lightbox-counter {
  position: absolute;
  top: -50px;
  left: 0;
  color: white;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* Responsive lightbox */
@media (max-width: 768px) {
  .lightbox-main img {
    max-height: 60vh;
  }
  
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .lightbox-close {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .lightbox-thumbnails {
    display: none;
  }
  
  .property-gallery .main-image {
    height: 300px;
  }
  
  .gallery-trigger {
    bottom: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* ==========================================
   MODERN PROPERTY DETAIL PAGE STYLES
   ========================================== */

/* Property detail layout */
.property-detail {
  padding: 0;
  max-width: 1400px;
  margin: 0 auto;
}

.property-detail .container {
  padding: 0;
  max-width: 100%;
}

/* Modern property header - Warm and Professional */
.property-detail .property-header {
  background: linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%);
  color: white;
  padding: 4rem 2rem;
  margin-bottom: 0;
  border: none;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.property-detail .property-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, 
      rgba(45, 55, 72, 0.65) 0%, 
      rgba(26, 32, 44, 0.75) 100%
    ),
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 1;
}

.property-detail .property-header > * {
  position: relative;
  z-index: 1;
}

/* Property header con imagen de fondo - Oficina Ciudad Vieja */
.property-detail .property-header-oficina-ciudad-vieja {
  background: 
    linear-gradient(135deg, 
      rgba(45, 55, 72, 0.85) 0%, 
      rgba(26, 32, 44, 0.9) 100%
    ),
    url('../assets/properties/ciudad-vieja-oficina-venta/foto-1.jpeg') center/cover no-repeat !important;
  background-attachment: fixed;
}

.property-detail .property-header-oficina-ciudad-vieja::before {
  background: 
    linear-gradient(135deg, 
      rgba(45, 55, 72, 0.65) 0%, 
      rgba(26, 32, 44, 0.75) 100%
    ),
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-property" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-property)"/></svg>') !important;
}

/* Property header con imagen de fondo - Casa Carrasco */
.property-detail .property-header-casa-carrasco {
  background: 
    linear-gradient(135deg, 
      rgba(45, 55, 72, 0.85) 0%, 
      rgba(26, 32, 44, 0.9) 100%
    ),
    url('../assets/properties/carrasco-casa/foto-1.jpeg') center/cover no-repeat !important;
  background-attachment: fixed;
}

.property-detail .property-header-casa-carrasco::before {
  background: 
    linear-gradient(135deg, 
      rgba(45, 55, 72, 0.65) 0%, 
      rgba(26, 32, 44, 0.75) 100%
    ),
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-carrasco" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-carrasco)"/></svg>') !important;
}

/* Property header con imagen de fondo - Apartamento Cordón */
.property-detail .property-header-apartamento-cordon {
  background: 
    linear-gradient(135deg, 
      rgba(45, 55, 72, 0.85) 0%, 
      rgba(26, 32, 44, 0.9) 100%
    ),
    url('../assets/apartamento-cordon.jpg') center/cover no-repeat !important;
  background-attachment: fixed;
}

.property-detail .property-header-apartamento-cordon::before {
  background: 
    linear-gradient(135deg, 
      rgba(45, 55, 72, 0.65) 0%, 
      rgba(26, 32, 44, 0.75) 100%
    ),
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-cordon" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-cordon)"/></svg>') !important;
}

/* Banner: Casa Palermo */
.property-detail .property-header-casa-palermo::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/palermo-casa/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-casa-palermo::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-palermo" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-palermo)"/></svg>') !important;
}

/* Banner: Apartamento Pocitos */
.property-detail .property-header-apartamento-pocitos::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/pocitos-apartamento/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-apartamento-pocitos::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-pocitos" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-pocitos)"/></svg>') !important;
}

/* Banner: Terreno La Comercial */
.property-detail .property-header-terreno-la-comercial::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/la-comercial-terreno/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-terreno-la-comercial::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-terreno" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-terreno)"/></svg>') !important;
}

.property-detail .property-title {
  max-width: 1200px;
  margin: 0 auto;
}

/* Banner: Oficina Ciudad Vieja 170m² */
.property-detail .property-header-oficina-ciudad-vieja-170m2::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/ciudad-vieja-oficina-170m2/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-oficina-ciudad-vieja-170m2::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-oficina-cv-170" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-oficina-cv-170)"/></svg>') !important;
}

/* Banner: Oficina Ciudad Vieja 28m² */
.property-detail .property-header-oficina-ciudad-vieja-28m2 {
  position: relative !important;
  overflow: hidden !important;
}

.property-detail .property-header-oficina-ciudad-vieja-28m2::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/ciudad-vieja-oficina-28m2/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-oficina-ciudad-vieja-28m2::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-oficina-cv-28" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-oficina-cv-28)"/></svg>') !important;
}

/* Banner: Oficina Cordón */
.property-detail .property-header-oficina-cordon::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/cordon-oficina/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-oficina-cordon::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-oficina-cordon" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-oficina-cordon)"/></svg>') !important;
}

/* Banner: Casa La Blanqueada */
.property-detail .property-header-casa-blanqueada::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/la-blanqueada-casa/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-casa-blanqueada::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-casa-blanqueada" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-casa-blanqueada)"/></svg>') !important;
}

/* Banner: Apartamento La Blanqueada */
.property-detail .property-header-apartamento-blanqueada::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/la-blanqueada-apartamento/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-apartamento-blanqueada::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-apartamento-blanqueada" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-apartamento-blanqueada)"/></svg>') !important;
}

/* Banner: Apartamento Tres Cruces $18.000 */
.property-detail .property-header-apartamento-tres-cruces-2::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/tres-cruces-apartamento-18000/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-apartamento-tres-cruces-2::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-tres-cruces-2" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-tres-cruces-2)"/></svg>') !important;
}

/* Banner: Apartamento Barrio Sur */
.property-detail .property-header-apartamento-barrio-sur::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/barrio-sur-apartamento-alquiler/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-apartamento-barrio-sur::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-barrio-sur" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-barrio-sur)"/></svg>') !important;
}

/* Banner: Apartamento Palermo */
.property-detail .property-header-apartamento-palermo::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/palermo-apartamento/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-apartamento-palermo::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-apto-palermo" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-apto-palermo)"/></svg>') !important;
}

/* Banner: Apartamento Centro */
.property-detail .property-header-apartamento-centro::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/centro-apartamento/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-apartamento-centro::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-centro" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-centro)"/></svg>') !important;
}

/* Banner: Apartamento Punta Carretas */
.property-detail .property-header-apartamento-punta-carretas::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/punta-carretas-apartamento/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-apartamento-punta-carretas::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-punta-carretas" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-punta-carretas)"/></svg>') !important;
}

/* Banner: Casa Punta Carretas */
.property-detail .property-header-casa-punta-carretas::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/punta-carretas-casa/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-casa-punta-carretas::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-punta-carretas-casa" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-punta-carretas-casa)"/></svg>') !important;
}

/* Banner: Apartamento Capurro */
.property-detail .property-header-apartamento-capurro::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/apartamento-capurro.jpg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-apartamento-capurro::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-capurro" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-capurro)"/></svg>') !important;
}

/* Banner: Apartamento Unión */
.property-detail .property-header-apartamento-union::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/union-apartamento/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-apartamento-union::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-union" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-union)"/></svg>') !important;
}

/* Banner: Apartamento Tres Cruces */
.property-detail .property-header-apartamento-tres-cruces::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/tres-cruces-apartamento-3dorm/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-apartamento-tres-cruces::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-tres-cruces" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-tres-cruces)"/></svg>') !important;
}

/* Banner: Apartamento Tres Cruces 2 Dormitorios */
.property-detail .property-header-apartamento-tres-cruces-2dorm::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/tres-cruces-apartamento-2dorm/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-apartamento-tres-cruces-2dorm::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-tres-cruces-2" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-tres-cruces-2)"/></svg>') !important;
}

/* Banner: Casa La Comercial */
.property-detail .property-header-casa-la-comercial::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/la-comercial-casa/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-casa-la-comercial::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-casa-comercial" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-casa-comercial)"/></svg>') !important;
}

/* Banner: Casa Aguada */
.property-detail .property-header-casa-aguada::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/aguada-casa/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-casa-aguada::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-casa-aguada" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-casa-aguada)"/></svg>') !important;
}

/* Banner: Apartamento Barrio Sur */
.property-detail .property-header-apartamento-barrio-sur::before {
  background: 
    linear-gradient(135deg, rgba(45, 55, 72, 0.85) 0%, rgba(26, 32, 44, 0.9) 100%),
    url('../assets/properties/barrio-sur-apartamento-venta/foto-1.jpeg') center/cover !important;
  background-attachment: fixed !important;
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 0 !important;
}

.property-detail .property-header-apartamento-barrio-sur::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  background: 
    url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots-barrio-sur" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots-barrio-sur)"/></svg>') !important;
}

.property-detail .property-type {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: none;
  color: #ff6a00;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.property-detail .property-title h2 {
  font-size: 2.8rem;
  margin: 1.5rem 0;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  letter-spacing: -0.02em;
}

.property-detail .property-title address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-style: normal;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-weight: 400;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.property-detail .property-title address svg {
  opacity: 0.8;
}

.property-detail .property-price {
  text-align: right;
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.property-detail .price-label {
  display: block;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.property-detail .price {
  font-size: 3.2rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

/* Property content layout */
.property-detail .property-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* Main content area */
.property-detail .property-main {
  width: 100%;
}

/* Modern gallery with gradient overlay */
.property-detail .property-gallery {
  margin-bottom: 3rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  position: relative;
}

.property-detail .property-gallery .main-image {
  height: 500px;
  border-radius: 16px;
}

/* Feature cards with modern design */
.property-detail .property-features {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.property-detail .property-features h3 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem 0;
  color: #2d3748;
  font-weight: 700;
}

.property-detail .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.property-detail .feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #f6f8fb 0%, #ffffff 100%);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.property-detail .feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237, 137, 54, 0.2);
  border-color: rgba(237, 137, 54, 0.4);
}

.property-detail .feature-item svg {
  width: 32px;
  height: 32px;
  color: #ed8936;
  flex-shrink: 0;
}

.property-detail .feature-item div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.property-detail .feature-item strong {
  font-size: 0.8rem;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.property-detail .feature-item span {
  font-size: 1.25rem;
  color: #2d3748;
  font-weight: 700;
}

/* Description section with modern typography */
.property-detail .property-description {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.property-detail .property-description h3 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem 0;
  color: #2d3748;
  font-weight: 700;
}

.property-detail .property-description p {
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.property-detail .property-description p:last-child {
  margin-bottom: 0;
}

/* Property location section */
.property-detail .property-location {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.property-detail .property-location h3 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem 0;
  color: #2d3748;
  font-weight: 700;
}

.property-detail .location-map {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.property-detail .location-map iframe {
  display: block;
  width: 100%;
}

.property-detail .location-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #718096;
  font-size: 0.9rem;
  margin: 0;
  padding: 1rem;
  background: #f7fafc;
  border-radius: 8px;
  border-left: 3px solid #ed8936;
}

.property-detail .location-note svg {
  color: #ed8936;
  flex-shrink: 0;
}

/* Sidebar with sticky positioning */
.property-detail .property-sidebar {
  position: sticky;
  top: 2rem;
}

/* Modern contact card */
.property-detail .contact-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.property-detail .contact-card h3 {
  font-size: 1.4rem;
  margin: 0 0 1.5rem 0;
  color: #2d3748;
  font-weight: 700;
}

/* Modern form styling */
.property-detail .contact-form input,
.property-detail .contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f7fafc;
  margin-bottom: 1rem;
}

.property-detail .contact-form input:focus,
.property-detail .contact-form textarea:focus {
  outline: none;
  border-color: #ed8936;
  background: white;
  box-shadow: 0 0 0 3px rgba(237, 137, 54, 0.1);
}

.property-detail .contact-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.property-detail .contact-form .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 10px;
  background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(237, 137, 54, 0.4);
}

.property-detail .contact-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(237, 137, 54, 0.5);
}

.property-detail .contact-form .btn:active {
  transform: translateY(0);
}

/* Responsive design for tablets */
@media (max-width: 1024px) {
  .property-detail .property-content {
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
  
  .property-detail .property-header {
    padding: 3rem 1.5rem;
  }
  
  .property-detail .property-title h2 {
    font-size: 2.2rem;
  }
  
  .property-detail .price {
    font-size: 2.8rem;
  }
  
  .property-detail .property-price {
    padding: 1.25rem 1.5rem;
  }
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .property-detail .property-header {
    padding: 2.5rem 1.25rem;
  }
  
  .property-detail .property-title h2 {
    font-size: 1.85rem;
  }
  
  .property-detail .property-price {
    text-align: left;
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    border-top: none;
  }
  
  .property-detail .price {
    font-size: 2.2rem;
  }
  
  .property-detail .property-type {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }
  
  .property-detail .property-title address {
    font-size: 1.05rem;
  }
  
  .property-detail .price-label {
    font-size: 0.9rem;
  }
  
  .property-detail .property-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
  }
  
  .property-detail .property-sidebar {
    position: static;
  }
  
  .property-detail .property-gallery .main-image {
    height: 350px;
    border-radius: 12px;
  }
  
  .property-detail .property-features,
  .property-detail .property-description,
  .property-detail .contact-card {
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  .property-detail .features-grid {
    grid-template-columns: 1fr;
  }
  
  .property-detail .feature-item {
    padding: 1rem;
  }
  
  /* FIX: Desactivar background-attachment fixed en móviles */
  .property-detail .property-header-oficina-ciudad-vieja,
  .property-detail .property-header-casa-carrasco,
  .property-detail .property-header-apartamento-cordon,
  .property-detail .property-header-casa-palermo,
  .property-detail .property-header-apartamento-pocitos,
  .property-detail .property-header-terreno-la-comercial,
  .property-detail .property-header-oficina-ciudad-vieja-170m2,
  .property-detail .property-header-oficina-ciudad-vieja-28m2,
  .property-detail .property-header-oficina-cordon,
  .property-detail .property-header-casa-blanqueada,
  .property-detail .property-header-apartamento-blanqueada,
  .property-detail .property-header-apartamento-barrio-sur,
  .property-detail .property-header-apartamento-palermo,
  .property-detail .property-header-apartamento-centro,
  .property-detail .property-header-apartamento-punta-carretas,
  .property-detail .property-header-casa-punta-carretas,
  .property-detail .property-header-apartamento-capurro,
  .property-detail .property-header-apartamento-union,
  .property-detail .property-header-apartamento-tres-cruces,
  .property-detail .property-header-apartamento-tres-cruces-2,
  .property-detail .property-header-apartamento-tres-cruces-2dorm,
  .property-detail .property-header-casa-la-comercial,
  .property-detail .property-header-casa-aguada {
    background-attachment: scroll !important;
  }
  
  /* FIX: Mejor posicionamiento de imagen de fondo en móviles */
  .property-detail .property-header::before,
  .property-detail .property-header-oficina-ciudad-vieja::before,
  .property-detail .property-header-casa-carrasco::before,
  .property-detail .property-header-apartamento-cordon::before,
  .property-detail .property-header-casa-palermo::before,
  .property-detail .property-header-apartamento-pocitos::before,
  .property-detail .property-header-terreno-la-comercial::before,
  .property-detail .property-header-oficina-ciudad-vieja-170m2::before,
  .property-detail .property-header-oficina-ciudad-vieja-28m2::before,
  .property-detail .property-header-oficina-cordon::before,
  .property-detail .property-header-casa-blanqueada::before,
  .property-detail .property-header-apartamento-blanqueada::before,
  .property-detail .property-header-apartamento-barrio-sur::before,
  .property-detail .property-header-apartamento-palermo::before,
  .property-detail .property-header-apartamento-centro::before,
  .property-detail .property-header-apartamento-punta-carretas::before,
  .property-detail .property-header-casa-punta-carretas::before,
  .property-detail .property-header-apartamento-capurro::before,
  .property-detail .property-header-apartamento-union::before,
  .property-detail .property-header-apartamento-tres-cruces::before,
  .property-detail .property-header-apartamento-tres-cruces-2::before,
  .property-detail .property-header-apartamento-tres-cruces-2dorm::before,
  .property-detail .property-header-casa-la-comercial::before,
  .property-detail .property-header-casa-aguada::before {
    background-size: cover !important;
    background-position: center center !important;
  }
}

/* ============================================
   PÁGINA NOSOTROS (QUIÉNES SOMOS)
   ============================================ */

/* Hero Section */
.about-hero {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.05), rgba(255, 106, 0, 0.02));
  padding: 6rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 106, 0, 0.1);
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-hero .lead {
  font-size: 1.25rem;
  color: #666;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* Story Section */
.about-story {
  padding: 5rem 0;
}

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

.story-content {
  max-width: 600px;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.1), rgba(255, 106, 0, 0.05));
  color: #ff6a00;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 106, 0, 0.2);
}

.story-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.story-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.25rem;
}

.story-content p strong {
  color: #ff6a00;
  font-weight: 600;
}

.story-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-wrapper {
  width: 100%;
  max-width: 400px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(255, 106, 0, 0.1);
}

/* Values Section */
.about-values {
  background: linear-gradient(180deg, #f7f7f5 0%, #ffffff 100%);
  padding: 5rem 0;
}

.values-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.values-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.values-header p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
}

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

.value-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 106, 0, 0.1);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(255, 106, 0, 0.15);
  border-color: rgba(255, 106, 0, 0.3);
}

.value-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.1), rgba(255, 106, 0, 0.05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255, 106, 0, 0.2);
}

.value-icon svg {
  color: #ff6a00;
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.value-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
}

/* CTA Section */
.about-cta {
  background: linear-gradient(135deg, #ff6a00, #ff8533);
  padding: 5rem 0;
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.cta-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: white;
  color: #ff6a00;
  border: 2px solid white;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: white;
  color: #ff6a00;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive - Tablets */
@media (max-width: 968px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }
  
  .about-hero .lead {
    font-size: 1.1rem;
  }
  
  .story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .story-image {
    order: -1;
  }
  
  .story-content h2,
  .values-header h2,
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Responsive - Mobile */
@media (max-width: 640px) {
  .about-hero {
    padding: 4rem 0 3rem;
  }
  
  .about-hero h1 {
    font-size: 2rem;
  }
  
  .about-hero .lead {
    font-size: 1rem;
  }
  
  .about-story {
    padding: 3rem 0;
  }
  
  .story-content h2 {
    font-size: 1.75rem;
  }
  
  .story-content p {
    font-size: 1rem;
  }
  
  .about-values {
    padding: 3rem 0;
  }
  
  .values-header h2 {
    font-size: 1.75rem;
  }
  
  .values-header p {
    font-size: 1rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .value-card {
    padding: 2rem;
  }
  
  .about-cta {
    padding: 3rem 0;
  }
  
  .cta-content h2 {
    font-size: 1.75rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

