/* ============================================
   ARRIENDOS & VENTAS PAGE
   ============================================ */

/* === HERO === */
.ar-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 500px;
  max-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ar-hero-bg {
  position: absolute;
  inset: 0;
}

.ar-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ar-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 56, 78, 0.85) 0%, rgba(0, 56, 78, 0.4) 60%, rgba(0,0,0,0) 100%);
}

.ar-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
}

.ar-hero-content h1 {
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
  color: white;
  text-transform: capitalize;
  letter-spacing: 2px;
}

/* Breadcrumb */
.ar-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.ar-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.ar-breadcrumb a:hover {
  color: var(--green-light);
}

.ar-breadcrumb span:last-child {
  color: white;
}

/* === OFERTAS INMOBILIARIAS === */
.ar-offers {
  padding: 80px 105px;
  background: var(--green-light);
}

.ar-offers-inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* Top: label + titulo + párrafo */
.ar-offers-top {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 56px;
}

.ar-offers-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: white;
}

.ar-offers-line {
  width: 48px;
  height: 2px;
  background: white;
}

.ar-offers-top h2 {
  font-weight: 700;
  font-size: 44px;
  line-height: 1.15;
  color: white;
  margin-bottom: 20px;
}

.ar-offers-top p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* 3 columnas */
.ar-offers-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.ar-offers-col {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 480px;
  transition: transform 0.4s;
}

.ar-offers-col:hover {
  transform: translateY(-6px);
}

.ar-offers-col-bg {
  position: absolute;
  inset: 0;
}

.ar-offers-col-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.ar-offers-col:hover .ar-offers-col-bg img {
  transform: scale(1.08);
}

.ar-offers-col-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 56, 78, 0.92) 0%, rgba(0, 56, 78, 0.5) 50%, rgba(0,0,0,0.1) 100%);
}

.ar-offers-col-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 32px 28px;
}

.ar-offers-col-content .gc-service-bar {
  width: 48px;
  height: 4px;
  background: var(--green-light);
  border-radius: 100px;
  margin-bottom: 14px;
}

.ar-offers-col-content h3 {
  font-weight: 700;
  font-size: 24px;
  color: white;
  margin-bottom: 10px;
}

.ar-offers-col-content p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Stats */
.ar-offers-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.ar-offers-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ar-offers-stat-number {
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  color: white;
}

.ar-offers-stat-text {
  font-weight: 500;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.ar-offers-stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.3);
}

/* === TIPOS DE OFERTA (split) === */
.ar-types {
  padding: 100px 105px;
  background: var(--bg-light);
}

.ar-types-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.ar-types-content {
  flex: 1;
}

.ar-types-content h2 {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.ar-types-content > p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-slate);
  margin-bottom: 24px;
}

.ar-types-image {
  flex: 0 0 45%;
  border-radius: 20px;
  overflow: hidden;
  max-height: 450px;
}

.ar-types-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ar-types-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--green-light);
  padding: 20px 28px;
  border-radius: 12px;
}

.ar-types-highlight-icon {
  font-size: 28px;
  color: var(--dark-blue);
  flex-shrink: 0;
}

.ar-types-highlight p {
  margin: 0;
  font-size: 16px;
  color: var(--dark-blue);
}

/* === PROPIEDADES (cards estilo servicios) === */
.ar-properties {
  padding: 100px 105px;
  background: white;
}

.ar-properties--dark {
  background: var(--dark-blue);
}

.ar-properties-header {
  margin-bottom: 48px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.ar-properties-header h2 {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.25;
  color: var(--text-dark);
}

.ar-properties--dark .ar-properties-header h2 {
  color: white;
}

.ar-properties--dark .ar-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ar-properties--dark .ar-card-info h3 {
  color: white;
}

.ar-properties--dark .ar-card-price {
  color: var(--green-light);
}

.ar-properties--dark .ar-card-details {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.ar-properties--dark .ar-card-details span {
  color: rgba(255, 255, 255, 0.7);
}

.ar-properties--dark .ar-card-location {
  color: rgba(255, 255, 255, 0.6);
}

.ar-properties--dark .ar-card-location i {
  color: var(--green-light);
}

/* Cards grid */
.ar-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Card */
a.ar-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ar-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.ar-card--light {
  background: white;
  border: none;
  box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.1);
}

.ar-card--light:hover {
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.18);
}

.ar-card-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.ar-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.ar-card:hover .ar-card-img img {
  transform: scale(1.06);
}

.ar-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.05) 50%, rgba(0,0,0,0) 100%);
}

.ar-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--dark-blue);
  color: white;
  z-index: 2;
}

.ar-card-badge--green {
  background: var(--green-light);
  color: var(--dark-blue);
}

/* Forzar colores correctos según contenedor */
.ar-properties:not(.ar-properties--dark) .ar-card {
  background: white;
  border: none;
  box-shadow: 0 4px 24px -8px rgba(0, 0, 0, 0.1);
}

.ar-properties:not(.ar-properties--dark) .ar-card:hover {
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.18);
}

.ar-properties:not(.ar-properties--dark) .ar-card-info h3 {
  color: var(--text-dark);
}

.ar-properties:not(.ar-properties--dark) .ar-card-price {
  color: var(--green-primary);
}

.ar-properties:not(.ar-properties--dark) .ar-card-details {
  border-bottom-color: #f0f0f0;
}

.ar-properties:not(.ar-properties--dark) .ar-card-details span {
  color: var(--text-slate);
}

.ar-properties:not(.ar-properties--dark) .ar-card-location {
  color: var(--text-slate);
}

.ar-properties:not(.ar-properties--dark) .ar-card-location i {
  color: var(--green-primary);
}

/* Card info */
.ar-card-info {
  padding: 28px 24px;
}

.ar-card-info .gc-service-bar {
  width: 48px;
  height: 4px;
  background: var(--green-light);
  border-radius: 100px;
  margin-bottom: 14px;
}

.ar-card-info h3 {
  font-weight: 700;
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.ar-card--light .ar-card-info h3 {
  color: var(--text-dark);
}

.ar-card-price {
  display: block;
  font-weight: 700;
  font-size: 22px;
  color: var(--green-primary);
  margin-bottom: 14px;
}

.ar-card--light .ar-card-price {
  color: var(--green-primary);
}

.ar-card-period {
  font-weight: 500;
  font-size: 14px;
  opacity: 0.7;
}

.ar-card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ar-card--light .ar-card-details {
  border-bottom-color: #f0f0f0;
}

.ar-card-details span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.ar-card--light .ar-card-details span {
  color: var(--text-slate);
}

.ar-card-details span i {
  font-size: 15px;
}

.ar-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-slate);
  margin: 0;
}

.ar-card--light .ar-card-location {
  color: var(--text-slate);
}

.ar-card-location i {
  color: var(--green-primary);
  font-size: 15px;
}

.ar-card--light .ar-card-location i {
  color: var(--green-primary);
}

/* === BANNER === */
.ar-banner {
  position: relative;
  padding: 120px 105px;
  overflow: hidden;
}

.ar-banner-bg {
  position: absolute;
  inset: 0;
}

.ar-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ar-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 56, 78, 0.92) 0%, rgba(0, 56, 78, 0.85) 100%);
}

.ar-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}

.ar-banner-content {
  max-width: 650px;
}

.ar-banner-content h2 {
  font-weight: 700;
  font-size: 42px;
  line-height: 1.2;
  color: white;
  margin-bottom: 20px;
}

.ar-banner-content p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

/* === VENTAJAS === */
.ar-advantages {
  padding: 100px 105px;
  background: var(--bg-light);
}

.ar-advantages-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.ar-advantages-header .gc-section-label {
  justify-content: center;
}

.ar-advantages-header h2 {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.ar-advantages-header p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-slate);
}

.ar-advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.ar-advantage-card {
  background: white;
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 4px 16px -8px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s, box-shadow 0.4s;
}

.ar-advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.15);
}

.ar-advantage-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  color: var(--dark-blue);
}

.ar-advantage-card h3 {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.ar-advantage-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-slate);
  margin: 0;
}

/* === CTA FINAL === */
.ar-cta {
  background: var(--green-primary);
  padding: 80px 105px;
  text-align: center;
}

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

.ar-cta-content h2 {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.25;
  color: var(--dark-blue);
  margin-bottom: 16px;
}

.ar-cta-content p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(0, 56, 78, 0.8);
  margin-bottom: 32px;
}

.ar-cta .gc-btn-primary {
  background: var(--dark-blue);
  color: white;
  padding: 16px 48px;
  font-size: 18px;
}

.ar-cta .gc-btn-primary:hover {
  background: #004d6b;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.ar-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.ar-animate.ar-visible {
  opacity: 1;
  transform: translateY(0);
}

.ar-animate-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.ar-animate-left.ar-visible {
  opacity: 1;
  transform: translateX(0);
}

.ar-animate-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.ar-animate-right.ar-visible {
  opacity: 1;
  transform: translateX(0);
}

.ar-animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.ar-animate-scale.ar-visible {
  opacity: 1;
  transform: scale(1);
}

.ar-stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.ar-stagger-item.ar-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .ar-animate,
  .ar-animate-left,
  .ar-animate-right,
  .ar-animate-scale,
  .ar-stagger-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .ar-types-wrapper {
    flex-direction: column;
  }

  .ar-types-image {
    flex: none;
    width: 100%;
  }

  .ar-offers-columns {
    grid-template-columns: 1fr 1fr;
  }

  .ar-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ar-advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .ar-hero-content h1 {
    font-size: 48px;
  }

  .ar-offers {
    padding: 60px 40px;
  }

  .ar-offers-top h2 {
    font-size: 32px;
  }

  .ar-offers-stats {
    gap: 24px;
  }

  .ar-offers-stat-number {
    font-size: 36px;
  }

  .ar-offers-columns {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 40px;
  }

  .ar-types,
  .ar-properties,
  .ar-advantages,
  .ar-banner {
    padding: 60px 40px;
  }

  .ar-cta {
    padding: 60px 40px;
  }

  .ar-cards-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .ar-advantages-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 576px) {
  .ar-hero {
    min-height: 400px;
  }

  .ar-hero-content {
    padding: 0 20px;
  }

  .ar-hero-content h1 {
    font-size: 36px;
  }

  .ar-offers,
  .ar-types,
  .ar-properties,
  .ar-advantages,
  .ar-banner {
    padding: 48px 20px;
  }

  .ar-cta {
    padding: 48px 20px;
  }

  .ar-offers-stats {
    flex-direction: column;
    gap: 20px;
  }

  .ar-offers-stat-divider {
    width: 60px;
    height: 1px;
  }

  .ar-offers-stat-number {
    font-size: 32px;
  }

  .ar-offers-top h2 {
    font-size: 28px;
  }

  .ar-types-content h2,
  .ar-properties-header h2,
  .ar-advantages-header h2,
  .ar-banner-content h2,
  .ar-cta-content h2 {
    font-size: 28px;
  }

  .ar-offers {
    padding: 48px 20px;
  }

  .ar-hero-content h1 {
    font-size: 28px;
  }

  .ar-banner-content h2 {
    font-size: 24px;
  }
}

/* === PROYECTO AMPLIADO === */
.ar-detail {
  padding: 60px 105px;
  max-width: 1400px;
  margin: 0 auto;
}

.ar-detail-layout {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.ar-detail-info {
  flex: 1;
  min-width: 300px;
}

.ar-detail-image {
  flex: 0 0 45%;
}

.ar-detail-image img {
  width: 100%;
  border-radius: 16px;
}

.ar-detail-badge {
  display: inline-block;
  padding: 6px 20px;
  background: var(--green-light);
  color: var(--dark-blue);
  font-weight: 700;
  font-size: 13px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.ar-detail-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.ar-detail-location {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.ar-detail-specs {
  display: flex;
  gap: 32px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: 12px;
  margin-bottom: 24px;
}

.ar-detail-spec {
  text-align: center;
}

.ar-detail-spec i {
  font-size: 24px;
  color: var(--green-primary);
}

.ar-detail-spec p {
  font-weight: 600;
  margin: 8px 0 2px;
}

.ar-detail-spec span {
  font-size: 13px;
  color: var(--text-gray);
}

.ar-detail-desc {
  margin-bottom: 32px;
}

.ar-detail-desc h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.ar-detail-desc div {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-slate);
}

.ar-detail-amenities {
  margin-bottom: 32px;
}

.ar-detail-amenities h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.ar-detail-amenities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ar-detail-amenity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-light);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-slate);
}

.ar-detail-amenity i {
  color: var(--green-primary);
}

.ar-detail-contacts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ar-detail-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #25D366;
  color: white;
  border-radius: 100px;
  font-weight: 600;
}

.ar-detail-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--dark-blue);
  color: white;
  border-radius: 100px;
  font-weight: 600;
}

.ar-detail-gallery {
  padding: 0 105px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.ar-detail-gallery h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.ar-detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ar-detail-gallery a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

.ar-detail-gallery a img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}

.ar-detail-gallery a:hover img {
  transform: scale(1.05);
}

.ar-detail-gallery-overlay-link {
  position: relative;
}

.ar-detail-gallery-more {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ar-detail-gallery-more span {
  color: white;
  font-size: 24px;
  font-weight: 700;
}

.ar-detail-map {
  padding: 0 105px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.ar-detail-map h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.ar-detail-map-frame {
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
}

.ar-detail-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ar-detail-others {
  padding: 60px 105px;
  background: var(--bg-light);
}

.ar-detail-others h3 {
  font-size: 24px;
  margin-bottom: 32px;
  text-align: center;
}

.ar-detail-others-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.ar-detail-other-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  text-decoration: none;
  color: inherit;
}

.ar-detail-other-card:hover {
  transform: translateY(-4px);
}

.ar-detail-other-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.ar-detail-other-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ar-detail-other-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 16px;
  background: var(--green-light);
  color: var(--dark-blue);
  font-weight: 700;
  font-size: 12px;
  border-radius: 100px;
}

.ar-detail-other-info {
  padding: 20px;
}

.ar-detail-other-info h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.ar-detail-other-info span {
  color: var(--text-gray);
  font-size: 14px;
}

.ar-detail-cotizar {
  padding: 80px 105px;
  background: var(--dark-blue);
}

.ar-detail-cotizar-inner {
  max-width: 900px;
  margin: 0 auto;
}

.ar-detail-cotizar-header {
  text-align: center;
  margin-bottom: 40px;
}

.ar-detail-cotizar-header h2 {
  color: white;
  font-size: 32px;
  margin-bottom: 8px;
}

.ar-detail-cotizar-header p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
}

.ar-detail-cotizar-resumen {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.ar-detail-cotizar-resumen > div span:first-child {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ar-detail-cotizar-resumen > div h4 {
  color: white;
  font-size: 20px;
  margin-top: 4px;
}

.ar-detail-cotizar-resumen .ar-detail-cotizar-precio h4 {
  color: var(--green-light);
}

.ar-detail-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ar-detail-form-group {
  margin-top: 16px;
}

.ar-detail-form-group label {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 6px;
}

.ar-detail-form-group input,
.ar-detail-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: white;
  font-size: 15px;
  font-family: var(--font-primary);
}

.ar-detail-form-group input::placeholder,
.ar-detail-form-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.ar-detail-form-group textarea {
  resize: vertical;
}

/* === PROYECTO AMPLIADO - RESPONSIVE === */
@media (max-width: 991px) {
  .ar-detail { padding: 40px 40px; }
  .ar-detail-layout { flex-direction: column; }
  .ar-detail-image { flex: none; }
  .ar-detail-gallery { padding: 0 40px 40px; }
  .ar-detail-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .ar-detail-map { padding: 0 40px 40px; }
  .ar-detail-others { padding: 40px 40px; }
  .ar-detail-others-grid { grid-template-columns: repeat(2, 1fr); }
  .ar-detail-cotizar { padding: 48px 40px; }
  .ar-detail-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  .ar-detail { padding: 32px 20px; }
  .ar-detail-price { font-size: 28px; }
  .ar-detail-specs { flex-direction: column; gap: 16px; }
  .ar-detail-gallery { padding: 0 20px 32px; }
  .ar-detail-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .ar-detail-map { padding: 0 20px 32px; }
  .ar-detail-map-frame { height: 280px; }
  .ar-detail-others { padding: 32px 20px; }
  .ar-detail-others-grid { grid-template-columns: 1fr; }
  .ar-detail-cotizar { padding: 40px 20px; }
  .ar-detail-cotizar-header h2 { font-size: 24px; }
  .ar-detail-cotizar-resumen { flex-direction: column; text-align: center; }
}

/* === MODAL FORMULARIO ARRIENDOS === */
.ar-card-trigger { cursor: pointer; }
.ar-card-trigger:hover { transform: translateY(-4px); transition: transform .3s ease; }

.ar-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 9999;
  display: none; align-items: center; justify-content: center; padding: 20px;
  overflow-y: auto;
}
.ar-modal-overlay.ar-modal-open { display: flex; }
.ar-modal-card {
  background: #fff; border-radius: 16px; max-width: 560px; width: 100%;
  padding: 36px 32px; position: relative;
  max-height: 92vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.ar-modal-close {
  position: absolute; top: 12px; right: 16px; background: none; border: none;
  font-size: 32px; line-height: 1; color: #999; cursor: pointer; padding: 4px 10px;
}
.ar-modal-close:hover { color: var(--text-dark); }
.ar-modal-title {
  font-family: "Poppins", sans-serif; font-weight: 700;
  font-size: 24px; margin: 0 0 8px; color: var(--text-dark);
}
.ar-modal-subtitle { font-size: 14px; color: var(--text-gray); margin: 0 0 24px; }
.ar-modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ar-modal-group { margin-bottom: 16px; }
.ar-modal-group label {
  display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text-dark);
}
.ar-modal-group input, .ar-modal-group select, .ar-modal-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid #e0e0e0; border-radius: 8px;
  font-family: "Inter", sans-serif; font-size: 14px;
}
.ar-modal-group input:focus, .ar-modal-group select:focus, .ar-modal-group textarea:focus {
  outline: none; border-color: var(--green-primary);
}
@media (max-width: 576px) {
  .ar-modal-row { grid-template-columns: 1fr; }
  .ar-modal-card { padding: 28px 22px; }
}


/* Override z-index SweetAlert para que aparezca sobre modales (z=9999) */
.swal2-container { z-index: 99999 !important; }
.swal2-popup { z-index: 100000 !important; }

