/* ================================================
   ABOUT SECTION - Fabiana Peirano Propiedades
   ================================================ */

.about-section {
  padding: 120px 0;
  background: #f7f7f7;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(100, 75, 109, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

/* CONTENEDOR PRINCIPAL */
.about-content {
  max-width: 1400px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
  .about-content {
    opacity: 1 !important;
    transform: none !important;
  }
}

.about-content.visible {
  opacity: 1;
  transform: translateY(0);
}

/* GRID DE DOS COLUMNAS */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: start;
}

/* ===== COLUMNA IZQUIERDA - PERFIL ===== */
.about-left {
  padding-right: 20px;
}

.about-header h2 {
  font-family: 'Century Gothic', 'CenturyGothic', 'AppleGothic', sans-serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: #644b6d;
  line-height: 1.1;
  letter-spacing: 2px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.about-intro {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #2a2a2a;
  margin-bottom: 40px;
  font-weight: 500;
}

.about-intro strong {
  color: #644b6d;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* VALORES */
.values-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: white;
  border-radius: 0;
  box-shadow: 0 6px 25px rgba(100, 75, 109, 0.1);
  transition: all 0.3s ease;
  border: 4px solid #976087;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 35px rgba(100, 75, 109, 0.15);
  border-color: #644b6d;
}

.value-icon {
  font-size: 2rem;
  color: #976087;
  flex-shrink: 0;
  margin-top: 4px;
}

.value-item h4 {
  font-family: 'Century Gothic', 'CenturyGothic', 'AppleGothic', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #644b6d;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.value-item p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
  font-weight: 500;
}

/* ===== COLUMNA DERECHA - PERFIL PROFESIONAL ===== */
.about-right {
  padding-left: 20px;
}

.profile-card {
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 12px 45px rgba(100, 75, 109, 0.15);
  border: 4px solid #644b6d;
}

.profile-image-container {
  position: relative;
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #644b6d 0%, #976087 100%);
  overflow: hidden;
}

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

.profile-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #976087;
  color: white;
  padding: 12px 24px;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  border: 3px solid #644b6d;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-badge svg {
  font-size: 1.2rem;
}

.profile-info {
  padding: 35px;
}

.profile-info h3 {
  font-family: 'Century Gothic', 'CenturyGothic', 'AppleGothic', sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: #644b6d;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.profile-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #976087;
  font-weight: 800;
  margin: 0 0 25px 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
  padding: 20px;
  background: #f7f7f7;
  border-radius: 0;
  border: 3px solid #976087;
  box-shadow: 0 4px 15px rgba(151, 96, 135, 0.1);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #644b6d;
  font-weight: 600;
}

.detail-icon {
  font-size: 1.3rem;
  color: #976087;
  flex-shrink: 0;
}

.profile-description {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #2a2a2a;
  margin: 0;
  font-weight: 500;
  border-left: 4px solid #976087;
  padding-left: 15px;
}

/* ===== STATS SECTION ===== */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 80px;
  padding: 60px 0;
  border-top: 4px solid #644b6d;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.3s ease;
  background: white;
  border: 3px solid #976087;
  border-radius: 0;
  box-shadow: 0 6px 25px rgba(100, 75, 109, 0.1);
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 35px rgba(100, 75, 109, 0.15);
  border-color: #644b6d;
}

.stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: #644b6d;
  line-height: 1;
  margin-bottom: 15px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.stat-suffix {
  font-size: 2.5rem;
  color: #976087;
  font-weight: 900;
}

.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: #644b6d;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .about-grid {
    gap: 60px;
  }

  .about-header h2 {
    font-size: 3rem;
  }

  .services-header h3 {
    font-size: 2rem;
  }

  .stat-value {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-left,
  .about-right {
    padding: 0;
  }

  .about-header h2 {
    font-size: 2.5rem;
    letter-spacing: 1px;
  }

  .profile-image-container {
    height: 400px;
  }

  .profile-info {
    padding: 25px;
  }

  .profile-info h3 {
    font-size: 1.8rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 60px;
    padding: 40px 0;
  }

  .stat-value {
    font-size: 3rem;
  }

  .stat-item {
    padding: 25px 20px;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .about-header h2 {
    font-size: 1.8rem;
    letter-spacing: 0.5px;
  }

  .profile-image-container {
    height: 400px;
  }

  .profile-info {
    padding: 20px;
  }

  .profile-info h3 {
    font-size: 1.5rem;
  }

  .profile-title {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .value-item {
    padding: 20px;
  }

  .stat-value {
    font-size: 2.5rem;
  }

  .stat-suffix {
    font-size: 2rem;
  }

  .stat-item {
    padding: 20px 15px;
  }
}

/* ================================================
   FEATURED SLIDER - Fabiana Peirano Propiedades
   ================================================ */

/* SECCIÓN PRINCIPAL */
.featured-slider {
  padding: 100px 0;
  background: #f7f7f7;
  max-width: 100%;
  margin: 0;
  border-bottom: 3px solid #644b6d;
}

.featured-header {
  text-align: left;
  margin: 0 auto 60px auto;
  max-width: 1400px;
  padding-left: 60px;
}

.featured-header h2 {
  font-family: 'Century Gothic', 'CenturyGothic', 'AppleGothic', sans-serif;
  color: #644b6d;
  font-size: 56px;
  font-weight: 400;
  margin: 0;
  letter-spacing: -1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.swipe-indicator {
  color: #976087;
  font-size: 48px;
  animation: slideHint 2s ease-in-out infinite;
}

@keyframes slideHint {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.7;
  }
  50% {
    transform: translateX(10px);
    opacity: 1;
  }
}

.title-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.title-with-icon .nav-icon-desktop {
  font-size: 3rem;
  line-height: 1;
  color: #976087;
}

.featured-header .nav-icon-desktop {
  color: #976087;
}

/* CONTENEDOR DEL SLIDER */
.slider-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0 80px;
}

.slider-wrapper {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* BOTONES DE NAVEGACIÓN */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #976087;
  border: none;
  border-radius: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  color: white;
  font-size: 24px;
  border: 3px solid #976087;
}

.slider-btn:hover {
  background: #644b6d;
  border-color: #644b6d;
  transform: translateY(-50%) scale(1.05);
}

.slider-btn-prev {
  left: 0;
}

.slider-btn-next {
  right: 0;
}

.slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: #976087;
  border-color: #976087;
}

.slider-btn:disabled:hover {
  transform: translateY(-50%);
}

/* TARJETAS DE PROPIEDADES Y ANUNCIOS */
.featured-card,
.announcement-card {
  flex: 0 0 100%;
  display: flex;
  background: white;
  border-radius: 0;
  overflow: hidden;
  min-height: 500px;
  width: 100%;
  margin: 0;
  opacity: 1;
  transform: translateX(0);
  transition: none !important;
  border: 4px solid #644b6d;
  box-shadow: 0 12px 40px rgba(100, 75, 109, 0.12);
}

.announcement-card {
  border-color: #976087;
  box-shadow: 0 12px 40px rgba(151, 96, 135, 0.15);
}

.featured-card.animating-next,
.featured-card.animating-prev,
.announcement-card.animating-next,
.announcement-card.animating-prev {
  animation: none !important;
}

.card-image {
  flex: 0 0 60%;
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.featured-card:hover .card-image img,
.announcement-card:hover .card-image img {
  transform: scale(1.05);
}

.card-info {
  flex: 1 1 40%;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;
}

.card-title {
  font-family: 'Century Gothic', 'CenturyGothic', 'AppleGothic', sans-serif;
  color: #644b6d;
  font-size: 40px;
  font-weight: 400;
  margin: 0 0 20px 0;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.card-price {
  color: #976087;
  font-weight: 900;
  font-size: 32px;
  margin-bottom: 16px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.5px;
}

.card-city {
  color: #644b6d;
  margin-bottom: 30px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-description {
  color: #2a2a2a;
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.6;
}

.card-features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #644b6d;
  margin-bottom: 30px;
}

.card-features .feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #f7f7f7;
  color: #644b6d;
  padding: 0.7rem 1rem;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid #644b6d;
  letter-spacing: 0.5px;
}

.spec-chip svg {
  color: #976087;
  font-size: 1.3rem;
}

.card-actions {
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 18px 36px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #976087;
  color: white;
  border: 3px solid #976087;
  box-shadow: 0 6px 20px rgba(100, 75, 109, 0.15);
}

.btn-primary:hover {
  background: #644b6d;
  border-color: #644b6d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(100, 75, 109, 0.2);
}

/* BADGES */
.card-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.operation-type {
  background: #644b6d;
  color: white;
  padding: 0.8rem 1.4rem;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 2px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: inline-block;
  text-transform: uppercase;
  border: none;
}

/* INDICADORES DE SLIDES */
.slider-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.indicator {
  width: 14px;
  height: 14px;
  border-radius: 0;
  border: 2px solid #644b6d;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.indicator.active {
  background: #976087;
  border-color: #976087;
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(151, 96, 135, 0.5);
}

/* BADGES DE ANUNCIOS */
.announcement-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  background: #f7f7f7;
  color: #644b6d;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 2px solid #644b6d;
}

/* ================================================
   RESPONSIVE - TABLET
   ================================================ */

@media (max-width: 1024px) {
  .featured-slider {
    padding: 80px 0;
  }

  .featured-header {
    padding-left: 40px;
    margin-bottom: 50px;
  }

  .featured-header h2 {
    font-size: 48px;
  }

  .swipe-indicator {
    font-size: 40px;
  }

  .slider-container {
    width: 100%;
    padding: 0 70px;
  }

  .featured-card,
  .announcement-card {
    flex-direction: column;
    min-height: 550px;
    border: 3px solid #644b6d;
    box-shadow: 0 10px 35px rgba(100, 75, 109, 0.1);
  }

  .card-image {
    flex: 0 0 50%;
    height: 350px;
  }

  .card-info {
    padding: 40px 35px;
  }

  .card-title {
    font-size: 34px;
  }

  .card-price {
    font-size: 28px;
  }

  .slider-btn {
    width: 60px;
    height: 60px;
    font-size: 20px;
    border: 2px solid #976087;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .featured-slider {
    padding: 70px 0;
  }

  .slider-container {
    max-width: 100%;
    width: 100%;
    padding: 0 60px;
  }

  .featured-card,
  .announcement-card {
    flex-direction: column;
    min-height: 580px;
    max-width: 100%;
    margin: 0;
    width: 100%;
  }

  .card-image {
    flex: 0 0 55%;
    height: 380px;
    width: 100%;
  }

  .card-info {
    padding: 38px 30px;
    flex: 1 1;
  }

  .card-title {
    font-size: 32px;
    margin-bottom: 18px;
  }

  .card-price {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .card-city {
    font-size: 16px;
    margin-bottom: 26px;
  }

  .card-features {
    gap: 10px;
    margin-bottom: 26px;
  }

  .spec-chip {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }

  .slider-btn {
    width: 55px;
    height: 55px;
    font-size: 18px;
  }

  .slider-wrapper {
    display: flex !important;
    width: 100%;
  }

  .featured-card,
  .announcement-card {
    display: none;
  }

  .featured-card.active,
  .announcement-card.active {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  .featured-card.active .card-image,
  .announcement-card.active .card-image {
    width: 100%;
    height: 380px;
    flex: 0 0 auto;
  }

  .featured-card.active .card-info,
  .announcement-card.active .card-info {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* ================================================
   RESPONSIVE - MOBILE
   ================================================ */

@media (max-width: 768px) {
  .featured-slider {
    padding: 35px 0;
    border-bottom: 2px solid #644b6d;
  }

  .featured-header {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
  }

  .featured-header h2 {
    font-size: 28px;
  }

  .swipe-indicator {
    font-size: 24px;
  }

  .slider-container {
    padding: 0 10px;
    overflow: hidden;
  }

  .slider-wrapper {
    display: flex !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    touch-action: pan-y;
  }

  .featured-card,
  .announcement-card {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(100% - 20px);
    display: flex !important;
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    margin: 0 10px;
    min-height: auto;
    box-sizing: border-box;
    flex-direction: column;
    border: 2px solid #644b6d;
    box-shadow: 0 6px 20px rgba(100, 75, 109, 0.08);
  }

  .card-image {
    height: 200px;
    min-height: 200px;
    flex: 0 0 200px;
  }

  .card-info {
    padding: 20px 15px;
    gap: 8px;
    display: flex;
    flex-direction: column;
  }

  .card-title {
    font-size: 22px;
    margin-bottom: 8px;
    line-height: 1.2;
  }

  .card-price {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .card-city {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .card-description {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card-features {
    gap: 6px;
    margin-bottom: 15px;
  }

  .spec-chip {
    font-size: 0.75rem;
    padding: 0.5rem 0.7rem;
    border-width: 2px;
    gap: 0.4rem;
  }

  .spec-chip svg {
    font-size: 1rem;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(100, 75, 109, 0.12);
  }

  .card-actions {
    margin-top: 15px;
  }

  .slider-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
    border: 2px solid #976087;
  }

  .slider-btn-prev {
    left: 5px;
  }

  .slider-btn-next {
    right: 5px;
  }

  .slider-indicators {
    margin-top: 25px;
    gap: 8px;
    padding: 0 15px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .operation-type {
    padding: 0.5rem 0.8rem;
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  .announcement-badges .announcement-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
}

/* Contact Section Styles */
.contact-section {
  padding: 80px 0;
  background-color: var(--color-section-bg);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(151, 96, 135, 0.06) 0%, rgba(247, 247, 247, 0.5) 100%);
  z-index: 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.contact-title {
  font-size: 2.8rem;
  line-height: 1.1;
  color: var(--color-title);
  font-family: 'Century Gothic', 'CenturyGothic', 'AppleGothic', sans-serif;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.title-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* icons use navbar .nav-icon-desktop styles for consistent sizing/colors */

/* Increase icon size specifically for section titles */
.title-with-icon .nav-icon-desktop {
  font-size: 2.6rem; /* larger icon for the Contact title */
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Ensure contact icon has the primary title color (keeps contrast) */
.contact-header .nav-icon-desktop {
  color: var(--color-primary, #644b6d);
}

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

.contact-content {
  display: grid;
  /* Left = flexible form, Right = compact info column */
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
  align-items: start;
}

/* Contact Form */
.contact-form-container {
  background: white;
  padding: 3rem;
  border-radius: 0;
  box-shadow: 0 12px 40px rgba(100, 75, 109, 0.12);
  border: 4px solid #644b6d;
  max-width: 600px;
  width: 100%;
  transition: all 0.3s ease;
}

.contact-form-container:hover {
  box-shadow: 0 16px 50px rgba(100, 75, 109, 0.15);
  transform: translateY(-2px);
}

/* Contact Info Container */
.contact-info-container {
  background: white;
  padding: 1.5rem;
  border-radius: 0;
  box-shadow: 0 8px 30px rgba(100, 75, 109, 0.1);
  border: 3px solid #644b6d;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 360px;
  transition: all 0.3s ease;
}

.contact-info-container:hover {
  box-shadow: 0 10px 35px rgba(100, 75, 109, 0.15);
  transform: translateY(-2px);
}

.contact-info-header {
  text-align: center;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #976087;
}

.contact-info-header h3 {
  color: var(--color-title);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info-header p {
  color: var(--color-text-primary);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
}

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

.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(151, 96, 135, 0.06);
  border-radius: 0;
  box-shadow: 0 4px 15px rgba(100, 75, 109, 0.1);
  border: 3px solid #976087;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(100, 75, 109, 0.15);
  border-color: #644b6d;
}

.info-item .info-icon {
  background: linear-gradient(135deg, var(--color-accent) 0%, #b07ba0 100%);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.3);
}

.info-item .info-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.info-item .info-content h4 {
  color: var(--color-title);
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-item .info-content p {
  color: var(--color-text-primary);
  font-size: 0.9rem;
  line-height: 1.3;
  margin: 0;
  white-space: normal;
  overflow-wrap: break-word;
}

/* Clickable links in contact info */
.info-link {
  color: var(--color-title);
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: all 0.2s ease;
}

.info-link:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* Ensure nested flex items don't grow beyond container */
.contact-info-list,
.info-item,
.info-item .info-content {
  min-width: 0;
  box-sizing: border-box;
}

/* Consulta Type Container */
.consulta-type-container {
  background: rgba(151, 96, 135, 0.06);
  border: 3px solid #976087;
  border-radius: 0;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: 0 6px 20px rgba(151, 96, 135, 0.12);
}

/* Center the 'Tipo de Consulta' label inside its container and make the text/icon slightly larger */
.consulta-type-container .form-group > label {
  justify-content: center;
  text-align: center;
  width: 100%;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-title);
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.consulta-type-container .form-group > label svg {
  font-size: 1.25rem;
}

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid #644b6d;
}

.form-header h3 {
  color: var(--color-title);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-header p {
  color: var(--color-text-primary);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
}

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

/* Radio Group */
.radio-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border: 3px solid #976087;
  border-radius: 0;
  transition: all 0.3s ease;
  background: white;
  flex: 1 1;
}

.radio-option:hover {
  border-color: #644b6d;
  background: rgba(151, 96, 135, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(100, 75, 109, 0.1);
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-option input[type="radio"]:checked + .radio-label {
  background: linear-gradient(135deg, var(--color-accent) 0%, #A0907A 100%);
  color: white;
  border-color: var(--color-accent);
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--color-title);
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 0;
  border: 2px solid transparent;
  width: 100%;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.radio-label svg {
  font-size: 1.2rem;
}

/* Form Groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--color-title);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 3px solid #644b6d;
  border-radius: 0;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
  background: white;
  font-weight: 500;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #976087;
  box-shadow: 0 4px 15px rgba(151, 96, 135, 0.2);
  transform: translateY(-1px);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Form Row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Submit Button */
.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  align-self: center;
  min-width: 200px;
}

.submit-button .whatsapp-icon {
  font-size: 1.4rem;
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-primary);
  opacity: 0.8;
  margin-top: 1rem;
  line-height: 1.4;
}

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

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-content {
    gap: 3rem;
  }

  .contact-form-container {
    padding: 2.5rem;
  }

  .contact-info-container {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 100%;
  }

  .contact-title {
    font-size: 2rem;
    letter-spacing: -0.5px;
  }

  .contact-subtitle {
    font-size: 1rem;
  }

  .contact-form-container {
    padding: 2rem;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 10px 35px rgba(100, 75, 109, 0.12);
  }

  .contact-info-container {
    padding: 1.5rem;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(100, 75, 109, 0.1);
  }

  .contact-info-header {
    text-align: center;
  }

  .contact-info-list {
    gap: 1rem;
  }

  .info-item {
    padding: 1rem;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(151, 96, 135, 0.06);
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(100, 75, 109, 0.1);
  }

  .form-header h3 {
    font-size: 1.4rem;
  }

  .radio-group {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-header {
    margin-bottom: 2.5rem;
  }

  .contact-title {
    font-size: 1.6rem;
  }

  .contact-subtitle {
    font-size: 0.9rem;
  }

  .contact-form-container {
    padding: 1.5rem;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .contact-info-container {
    padding: 1.5rem;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .contact-info-header {
    text-align: center;
  }

  .contact-info-header h3 {
    font-size: 1.3rem;
  }

  .contact-info-list {
    gap: 1rem;
  }

  .info-item {
    flex-direction: row;
    gap: 0.75rem;
    padding: 1rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .form-header {
    margin-bottom: 2rem;
  }

  .form-header h3 {
    font-size: 1.2rem;
  }

  .form-header p {
    font-size: 0.85rem;
  }

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

/* ================================================
   BUTTONS - Diseño moderno Fabiana Peirano
   ================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 3px solid transparent;
  border-radius: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  -webkit-user-select: none;
          user-select: none;
  outline: none;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:focus {
  box-shadow: 0 4px 15px rgba(151, 96, 135, 0.4);
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

/* Button variants */
.btn-primary {
  background-color: #976087;
  color: white;
  border-color: #976087;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover:not(:disabled) {
  background-color: #644b6d;
  border-color: #644b6d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: #976087;
  border-color: #976087;
  box-shadow: 0 4px 12px rgba(151, 96, 135, 0.15);
}

.btn-secondary:hover:not(:disabled) {
  background-color: #976087;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(151, 96, 135, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: #644b6d;
  border-color: #644b6d;
  box-shadow: 0 4px 12px rgba(100, 75, 109, 0.1);
}

.btn-outline:hover:not(:disabled) {
  background-color: #644b6d;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(100, 75, 109, 0.15);
}

.btn-ghost {
  background-color: transparent;
  color: #644b6d;
  border-color: transparent;
  box-shadow: none;
}

.btn-ghost:hover:not(:disabled) {
  background-color: #f7f7f7;
  border-color: #644b6d;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(100, 75, 109, 0.08);
}

.btn-white {
  background-color: white;
  color: #644b6d;
  border-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-white:hover:not(:disabled) {
  background-color: #f7f7f7;
  border-color: #f7f7f7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-danger {
  background-color: #DC2626;
  color: white;
  border-color: #DC2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.btn-danger:hover:not(:disabled) {
  background-color: #B91C1C;
  border-color: #B91C1C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

/* Button sizes */
.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  border-width: 2px;
}

.btn-medium {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  border-width: 3px;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-width: 3px;
}

.btn-extra-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  border-width: 3px;
}

/* Full width */
.btn-full-width {
  width: 100%;
}

/* Icon styles */
.btn-icon {
  display: flex;
  align-items: center;
}

.btn-icon-left {
  margin-right: -0.25rem;
}

.btn-icon-right {
  margin-left: -0.25rem;
}

/* Loading state */
.btn-loading {
  pointer-events: none;
}

.btn-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 0;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Button content */
.btn-content {
  display: flex;
  align-items: center;
}

/* ================================================
   RESPONSIVE - MOBILE
   ================================================ */

@media (max-width: 768px) {
  .btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
  }
  
  .btn-extra-large {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .btn-medium {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .btn-small {
    padding: 0.45rem 0.875rem;
    font-size: 0.75rem;
  }

  .btn {
    letter-spacing: 0.5px;
  }
}

@media (max-width: 480px) {
  .btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-extra-large {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
  }
}

/* ================================================
   HEADER - Fabiana Peirano Propiedades
   ================================================ */

.header {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #644b6d;
}

.header-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-image: url('/images/peirano_header.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

@media (max-width: 768px) {
  .header-background {
    background-image: url('/images/peirano_header.webp');
    background-attachment: scroll;
    background-size: cover;
    opacity: 1;
  }
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(100, 75, 109, 0.45) 0%,
    rgba(100, 75, 109, 0.3) 50%,
    rgba(100, 75, 109, 0.5) 100%
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2;
}

.header-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding: 140px 20px 100px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-text {
  margin-bottom: 3rem;
  width: 100%;
  text-align: center;
}

/* TÍTULO - Estilo agresivo y moderno */
.title-container {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  display: flex;
  justify-content: center;
}

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

.title-with-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  width: 100%;
}

.title-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  object-position: top;
  filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.4));
  flex-shrink: 0;
  align-self: center;
  margin-top: -14px;
}

.main-title {
  margin: 0;
  padding: 0;
  text-align: center;
  position: relative;
  line-height: 1;
}

.title-main {
  font-family: 'Century Gothic', 'CenturyGothic', 'AppleGothic', sans-serif;
  font-size: 3.8rem;
  font-weight: 400;
  color: white;
  line-height: 1.3;
  letter-spacing: -1px;
  text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
  position: relative;
  max-width: 1000px;
  width: 100%;
  text-align: center;
}

.title-highlight {
  color: #e0b8d4;
  font-weight: 700;
}

/* Rotating word animations */
.rotating-word {
  display: inline-block;
  color: #e0b8d4;
  font-weight: 400;
  text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.5);
  width: 200px;
  text-align: center;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  vertical-align: baseline;
}

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

.rotating-word.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

/* SEARCH CONTAINER */
.search-container {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
  max-width: 900px;
  margin: 0 auto 3rem auto;
}

.search-container.slide-in-up {
  opacity: 1;
  transform: translateY(0);
}

.header-text .search-header {
  margin-bottom: 0;
}

/* BOTONES DE ACCIÓN */
.header-actions {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.header-actions.slide-in-up-delayed {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   RESPONSIVE - TABLET
   ================================================ */

@media (max-width: 1024px) {
  .header-content {
    padding: 120px 30px 80px;
  }

  .title-main {
    font-size: 3.2rem;
    letter-spacing: -0.5px;
  }

  .title-icon {
    width: 65px;
    height: 65px;
    margin-top: -12px;
  }

  .search-container {
    max-width: 700px;
  }
}

/* ================================================
   RESPONSIVE - MOBILE
   ================================================ */

@media (max-width: 768px) {
  /* Garantizar visibilidad en mobile independientemente del estado JS */
  .title-container,
  .search-container,
  .header-actions {
    opacity: 1 !important;
    transform: none !important;
  }

  .header-content {
    padding: 120px 20px 60px;
    text-align: center;
  }

  .header-text {
    margin-bottom: 2rem;
    width: 100%;
  }

  .title-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
  }

  .main-title {
    width: 100%;
    justify-content: center;
  }

  .title-with-icon {
    flex-direction: column-reverse;
    align-items: center;
    gap: 0.2rem;
  }

  .title-icon {
    width: 50px;
    height: 50px;
    margin-top: 0;
  }

  .title-main {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    text-align: center;
    display: block;
  }

  .rotating-word {
    width: auto;
    min-width: 150px;
    display: inline-block;
  }

  .search-container {
    margin-bottom: 2rem;
    width: 100%;
    margin-top: 0;
  }

  .header-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

  .header-actions > * {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 100px 15px 50px;
  }

  .title-container {
    margin-bottom: 1.5rem;
  }

  .title-main {
    font-size: 2rem;
    letter-spacing: -0.3px;
  }

  .rotating-word {
    width: auto;
    min-width: 120px;
  }

  .header-actions > * {
    max-width: 280px;
  }
}

/* Optimización de rendimiento */
@media (prefers-reduced-motion: reduce) {
  .title-container,
  .search-container,
  .header-actions {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ================================================
   SEARCH HEADER - Diseño agresivo y moderno
   ================================================ */

.search-header {
  background: white;
  border-radius: 0;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border: 4px solid #644b6d;
  max-width: 900px;
  margin: 0 auto;
}

.search-loading {
  text-align: center;
  padding: 2rem;
  color: #644b6d;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* TABS */
.search-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  background: #f7f7f7;
  border-radius: 0;
  padding: 0;
  border: 3px solid #644b6d;
  overflow: hidden;
}

.search-tab {
  flex: 1 1;
  padding: 1rem 1.5rem;
  border: none;
  background: transparent;
  color: #644b6d;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.2s ease;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-right: 3px solid #644b6d;
}

.search-tab:last-child {
  border-right: none;
}

.search-tab:hover {
  background: rgba(151, 96, 135, 0.1);
  color: #644b6d;
}

.search-tab.active {
  background: #644b6d;
  color: white;
  box-shadow: inset 0 -4px 0 #976087;
}

/* FORM */
.search-form {
  width: 100%;
}

.search-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1.5rem;
  align-items: end;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-field label {
  font-size: 0.85rem;
  font-weight: 800;
  color: #644b6d;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.select-wrapper {
  position: relative;
}

.search-select {
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  border: 3px solid #644b6d;
  border-radius: 0;
  background: white;
  font-size: 0.95rem;
  color: #644b6d;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.search-select:focus {
  outline: none;
  border-color: #976087;
  box-shadow: 0 4px 15px rgba(151, 96, 135, 0.2);
  transform: translateY(-2px);
}

.search-select:hover {
  border-color: #976087;
}

.search-select option[value=""] {
  color: #9CA3AF;
}

.select-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #644b6d;
  font-size: 1.3rem;
  pointer-events: none;
}

/* ACTIONS */
.search-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.advanced-search-btn {
  background: none;
  border: none;
  color: #644b6d;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  padding: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.advanced-search-btn:hover {
  color: #976087;
  transform: translateY(-2px);
}

.search-icon {
  font-size: 1rem;
}

.search-btn {
  min-width: 160px;
  font-weight: 700;
  letter-spacing: 1px;
}

.search-btn .btn-icon-left {
  margin-right: 0.6rem;
  margin-left: 0;
  display: inline-flex;
  align-items: center;
}

.search-btn .btn-content {
  display: inline-flex;
  align-items: center;
}

/* ================================================
   RESPONSIVE - TABLET
   ================================================ */

@media (max-width: 1024px) {
  .search-header {
    padding: 1.75rem;
    max-width: 700px;
  }

  .search-fields {
    gap: 1.25rem;
  }
}

/* ================================================
   RESPONSIVE - MOBILE
   ================================================ */

@media (max-width: 768px) {
  .search-header {
    padding: 1.5rem;
    margin: 0 1rem;
    border-width: 3px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
  }
  
  .search-tabs {
    margin-bottom: 1.5rem;
    border-width: 2px;
  }

  .search-tab {
    padding: 0.875rem 1rem;
    font-size: 0.85rem;
    border-right-width: 2px;
  }
  
  .search-fields {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .search-field label {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  .search-select {
    padding: 0.875rem 2.5rem 0.875rem 0.875rem;
    border-width: 2px;
    font-size: 0.9rem;
  }
  
  .search-actions {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  
  .search-btn {
    width: 100%;
  }

  .advanced-search-btn {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .search-header {
    padding: 1.25rem;
    margin: 0 0.5rem;
  }

  .search-tab {
    padding: 0.75rem 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
  }

  .search-field label {
    font-size: 0.75rem;
  }

  .search-select {
    padding: 0.75rem 2rem 0.75rem 0.75rem;
    font-size: 0.85rem;
  }
}

/* ================================================
   ADVANCED SEARCH MODAL - Diseño agresivo y moderno
   ================================================ */

/* Modal overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
  overflow: hidden;
}

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

.modal-content {
  background: #f7f7f7;
  border-radius: 0;
  width: calc(100% - 40px);
  max-width: min(1200px, calc(100% - 40px));
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border: 4px solid #644b6d;
  animation: slideUp 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

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

/* Modal header */
.modal-header {
  background: #644b6d;
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0;
  min-height: 70px;
  flex-shrink: 0;
  border-bottom: 4px solid #976087;
}

.modal-header h2 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: white;
  letter-spacing: 0.5px;
}

.modal-close {
  background: transparent;
  border: 2px solid transparent;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.modal-close:hover {
  background: #976087;
  border-color: #976087;
  transform: scale(1.1);
}

/* Modal body */
.modal-body {
  flex: 1 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2.5rem;
  background: #f7f7f7;
}

/* Form sections */
.form-section {
  margin-bottom: 3rem;
}

.form-section:last-child {
  margin-bottom: 0;
}

.form-section h3 {
  font-family: 'Montserrat', sans-serif;
  color: #644b6d;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #976087;
  display: inline-block;
  letter-spacing: 0.5px;
}

/* Form rows and fields */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-field label {
  color: #644b6d;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Montserrat', sans-serif;
}

/* Select styling */
.select-wrapper {
  position: relative;
}

.select-wrapper select {
  width: 100%;
  padding: 0.875rem 3rem 0.875rem 1rem;
  border: 3px solid #644b6d;
  border-radius: 0;
  background: white;
  color: #644b6d;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: 'Montserrat', sans-serif;
}

.select-wrapper select:focus {
  outline: none;
  border-color: #976087;
  box-shadow: 0 4px 15px rgba(151, 96, 135, 0.2);
  transform: translateY(-2px);
}

.select-wrapper select:hover {
  border-color: #976087;
}

.select-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #644b6d;
  pointer-events: none;
  transition: transform 0.2s ease;
  font-size: 1.2rem;
}

/* Text input styling */
.form-field input[type="text"] {
  width: 100%;
  padding: 0.875rem;
  border: 3px solid #644b6d;
  border-radius: 0;
  background: white;
  color: #644b6d;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
  font-family: 'Montserrat', sans-serif;
}

.form-field input[type="text"]:focus {
  outline: none;
  border-color: #976087;
  box-shadow: 0 4px 15px rgba(151, 96, 135, 0.2);
  transform: translateY(-2px);
}

.form-field input[type="text"]::placeholder {
  color: #9CA3AF;
  opacity: 1;
  font-weight: 500;
}

/* Checkbox grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 0;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  color: #644b6d;
  font-size: 0.9rem;
  font-weight: 600;
}

.checkbox-item:hover {
  background: rgba(151, 96, 135, 0.1);
  border-color: #976087;
}

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

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 3px solid #644b6d;
  border-radius: 0;
  position: relative;
  transition: all 0.2s ease;
  background: white;
  flex-shrink: 0;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-custom {
  background: #644b6d;
  border-color: #644b6d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2.5px 2.5px 0;
  transform: translate(-50%, -55%) rotate(45deg);
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-custom + span {
  color: #644b6d;
  font-weight: 700;
}

/* Range inputs */
.range-inputs {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.range-inputs input {
  flex: 1 1;
  padding: 0.875rem;
  border: 3px solid #644b6d;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
  font-family: 'Montserrat', sans-serif;
}

.range-inputs input:focus {
  outline: none;
  border-color: #976087;
  box-shadow: 0 4px 15px rgba(151, 96, 135, 0.2);
  transform: translateY(-2px);
}

.range-inputs span {
  color: #644b6d;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Modal footer */
.modal-footer {
  background: #f7f7f7;
  padding: 1.75rem 2rem;
  border-top: 3px solid #644b6d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

/* ================================================
   RESPONSIVE - TABLET
   ================================================ */

@media (max-width: 1024px) {
  .modal-content {
    max-width: 95vw;
    width: 95vw;
  }

  .form-row {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .checkbox-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/* ================================================
   RESPONSIVE - MOBILE
   ================================================ */

@media (max-width: 768px) {
  .modal-overlay {
    padding: 10px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .modal-content {
    max-height: none;
    min-height: calc(100vh - 20px);
    border-radius: 0;
    margin: 0;
    width: calc(100vw - 20px);
    max-width: none;
    border-width: 3px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  }

  .modal-header {
    padding: 1rem 1.25rem;
    border-radius: 0;
    min-height: 60px;
    border-bottom-width: 3px;
  }

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

  .modal-close {
    font-size: 1.3rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .form-section {
    margin-bottom: 2rem;
  }

  .form-section h3 {
    font-size: 1.2rem;
    border-bottom-width: 2px;
  }

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

  .form-field label {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  .select-wrapper select,
  .form-field input[type="text"],
  .range-inputs input {
    padding: 0.75rem;
    border-width: 2px;
    font-size: 0.9rem;
  }

  .select-wrapper select:focus,
  .form-field input[type="text"]:focus,
  .range-inputs input:focus {
    box-shadow: 0 3px 12px rgba(151, 96, 135, 0.2);
  }

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

  .checkbox-item {
    padding: 0.65rem;
    border-width: 2px;
  }

  .checkbox-custom {
    width: 18px;
    height: 18px;
    border-width: 2px;
  }

  .modal-footer {
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    border-top-width: 2px;
  }

  .modal-footer > * {
    width: 100%;
  }

  .range-inputs {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .range-inputs span {
    text-align: center;
    margin: 0.25rem 0;
  }
}

@media (max-width: 480px) {
  .modal-content {
    border-width: 2px;
  }

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

  .form-section h3 {
    font-size: 1.1rem;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }
  
  .checkbox-item {
    padding: 0.6rem 0.5rem;
    font-size: 0.85rem;
  }
}

/* Prevenir scroll del body cuando modal está abierto */
body.modal-open {
  overflow: hidden !important;
}

/* Custom scrollbar for modal body */
.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f7f7f7;
  border-radius: 0;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #976087;
  border-radius: 0;
  border: 2px solid #f7f7f7;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #644b6d;
}

/* Prevent horizontal overflow inside the modal */
.modal-content,
.modal-body,
.form-row,
.form-field,
.checkbox-grid,
.range-inputs {
  min-width: 0;
  box-sizing: border-box;
}

.modal-body {
  overflow-x: hidden;
}

