/* ─── NAV COMPONENTS ─────────────────────────────────── */

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav-logo img {
  filter: brightness(1.1) saturate(1.1);
}

.nav-logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brick);
}

.nav-cta {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--brick);
  border: 1px solid var(--brick);
  padding: 8px 18px;
  border-radius: 100px;
  transition: background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  flex-shrink: 0;
}

.nav-cta:hover {
  background-color: var(--brick);
  color: white;
  box-shadow: 0 0 20px var(--brick-glow);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7.25px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7.25px) rotate(-45deg);
}

.nav-overlay-link {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.5rem;
  letter-spacing: 0.04em;
  color: rgba(245, 241, 235, 0.9);
  transition: color var(--transition-fast);
}

.nav-overlay-link:hover {
  color: var(--brick);
}

.nav-overlay-cta {
  margin-top: 1rem;
}

/* ─── EYEBROW ────────────────────────────────────────── */

.eyebrow {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 1rem;
}

.eyebrow-steel {
  color: var(--steel);
}

/* ─── SECTION TITLE ──────────────────────────────────── */

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.section-title em {
  color: var(--gold);
  font-style: italic;
}

.section-body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 540px;
}

/* ─── HERO COMPONENTS ────────────────────────────────── */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 75, 47, 0.12);
  border: 1px solid rgba(200, 75, 47, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--brick);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brick);
  flex-shrink: 0;
  animation: pulse 1s ease-in-out infinite;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1rem, 8vw, 5rem);
  color: var(--text);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.hero-title em {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-primary {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: white;
  background: var(--brick);
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition-fast);
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 0 32px var(--brick-glow);
}

.btn-ghost {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text);
  border: 1px solid var(--border-bright);
  padding: 14px 32px;
  border-radius: 100px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  padding-bottom: 3rem;
  text-align: center;
}

.hero-stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.hero-stat-label {
  display: block;
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}


/* ─── PROPERTY CARDS ─────────────────────────────────── */

.prop-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 1.25rem;
}

.prop-tab {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a7a6e;
  padding: 12px 24px;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.prop-tab.active {
  color: var(--brick);
  border-bottom-color: var(--brick);
  font-weight: 600;
}

.tab-sep {
  color: #c0b3a8;
  font-size: 1rem;
  padding: 0 0.5rem;
  line-height: 1;
  margin-bottom: 2px;
}

.props-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 4vw, 4rem);
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.prop-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition-fast);
}

.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(200, 75, 47, 0.2);
}

.prop-img-wrap {
  position: relative;
  overflow: hidden;
}

.prop-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.prop-card:hover .prop-img {
  transform: scale(1.03);
}

.prop-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition-fast);
}

.prop-card:hover .prop-overlay {
  background: rgba(0, 0, 0, 0.2);
}

.prop-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--brick);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.prop-content {
  padding: 1.25rem;
}

.prop-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.prop-address {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: #8a7a6e;
  line-height: 1.5;
  margin-bottom: 0;
}

.map-toggle {
  display: block;
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--brick);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity var(--transition-fast);
}

.map-toggle:hover {
  opacity: 0.75;
}

.map-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.map-panel.open {
  max-height: 280px;
}

.map-panel iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* ─── NOSOTROS ───────────────────────────────────────── */

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-item {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.feature-icon {
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.7rem;
  margin-top: 0.25rem;
}

.nosotros-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.nosotros-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.nosotros-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 14, 13, 0.8) 0%, transparent 100%);
  padding: 2rem 1.5rem 1.5rem;
}

.nosotros-img-caption {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: white;
  text-align: center;
}

/* ─── REQUISITOS ─────────────────────────────────────── */

.req-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.req-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.req-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.req-mark {
  font-size: 0.7rem;
  line-height: 1;
}

.req-mark-brick {
  color: var(--brick);
}

.req-mark-steel {
  color: var(--steel);
}

.req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.req-list li {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  line-height: 1.5;
}

.req-list li::before {
  content: '▸';
  color: var(--brick);
  flex-shrink: 0;
  font-size: 0.8em;
  margin-top: 0.1em;
}

.req-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.req-banner {
  background: linear-gradient(135deg, var(--brick), #a83a20);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.req-banner-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.req-banner-icon {
  font-size: 2rem;
  color: white;
  flex-shrink: 0;
  line-height: 1;
}

.req-banner-left p {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
}

.btn-outline-white {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: white;
  border: 1px solid white;
  padding: 10px 24px;
  border-radius: 100px;
  background: none;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

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

/* ─── CONTACT ────────────────────────────────────────── */

.contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-info li {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.mini-carousel {
  position: relative;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 2rem;
}

.mini-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.mini-slide.active {
  opacity: 1;
}

.mini-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.mini-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(245, 242, 238, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.mini-dot.active {
  background: var(--brick);
}

.contacto-left .section-title {
  max-width: none;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

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

.form-row {
  display: flex;
  gap: 0.75rem;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
}

.form-field {
  width: 100%;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-field::placeholder {
  color: var(--text-dim);
}

.form-field:focus {
  border-color: var(--brick);
  box-shadow: 0 0 0 3px var(--brick-glow);
}

.form-field.error {
  border-color: var(--brick);
}

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

.field-error {
  display: block;
  font-size: 0.72rem;
  color: var(--brick);
  margin-top: 4px;
  min-height: 1em;
}

.btn-submit {
  width: 100%;
  background: var(--brick);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 0.25rem;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-submit:hover {
  background: #a83a20;
  box-shadow: 0 0 24px var(--brick-glow);
}

/* ─── FOOTER ─────────────────────────────────────────── */

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

.footer-brand img {
  filter: brightness(1.1);
}

.footer-brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(245, 241, 235, 0.95);
}

.footer-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(245, 241, 235, 0.5);
  line-height: 1.65;
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 241, 235, 0.4);
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(245, 241, 235, 0.5);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: rgba(245, 241, 235, 0.9);
}

.footer-contact-item {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(245, 241, 235, 0.5);
  line-height: 1.8;
}

.footer-bottom span {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(245, 241, 235, 0.35);
}

/* ─── MAPBOX MARKERS ─────────────────────────────────── */

.pimo-marker {
  position: relative;
  width: 20px;
  height: 20px;
  cursor: pointer;
  pointer-events: auto;
}

.pimo-marker-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: #C84B2F;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(200, 75, 47, 0.5);
  z-index: 2;
}

.pimo-marker-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: rgba(200, 75, 47, 0.2);
  border-radius: 50%;
  animation: markerPulse 2s ease-out infinite;
  z-index: 1;
}

@keyframes markerPulse {
  0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

.pimo-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 6px;
  padding: 6px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #1a1714;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 3;
}

.pimo-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: white;
}

.pimo-tooltip.visible {
  opacity: 1;
}

/* ─── LEAFLET TOOLTIP ────────────────────────────────── */

.pimo-leaflet-tooltip {
  background: white;
  border: none;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  color: #1a1714;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  white-space: nowrap;
}

.pimo-leaflet-tooltip.leaflet-tooltip-top::before {
  border-top-color: white;
}

/* ─── TOAST ──────────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-left: 3px solid var(--brick);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 320px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brick);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
@media (max-width: 500px) {
 .form-card{
    padding: 1.5rem;
  }
}