/* ============================================================
   INMOBILIARIA SALVADOREÑA — Estilos Públicos
   ============================================================ */

/* === VARIABLES === */
:root {
  --gold:         #C9A84C;
  --gold-light:   #F0C857;
  --gold-dark:    #A87830;
  --dark:         #0A0A0A;
  --dark-2:       #111111;
  --dark-3:       #1A1A1A;
  --dark-4:       #242424;
  --border:       rgba(201,168,76,.14);
  --border-hover: rgba(201,168,76,.38);
  --text:         #E8E8E8;
  --text-muted:   #888888;
  --text-dim:     #555555;
  --bitcoin:      #F7931A;
  --success:      #22C55E;
  --danger:       #EF4444;
  --warning:      #F59E0B;
  --info:         #3B82F6;
  --radius:       16px;
  --radius-sm:    8px;
  --radius-lg:    24px;
  --shadow-card:  0 4px 24px rgba(0,0,0,.45);
  --shadow-hover: 0 16px 60px rgba(0,0,0,.55);
  --trans:        .22s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.65;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--gold); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--gold-light); }
input, select, textarea, button { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* Textura sutil */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* === CONTENEDOR === */
.container    { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width:  900px; margin: 0 auto; padding: 0 1.5rem; }

/* === TIPOGRAFÍA === */
h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; line-height: 1.05; letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-muted); line-height: 1.7; }

.text-gold   { color: var(--gold); }
.text-white  { color: #fff; }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }

/* === BOTONES === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 100px;
  font-size: .92rem; font-weight: 700; letter-spacing: .02em;
  transition: all var(--trans); white-space: nowrap;
  cursor: pointer; border: 2px solid transparent;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #a87525 100%);
  color: #000;
}
.btn-gold:hover { opacity: .88; transform: translateY(-2px); color: #000; }

.btn-outline-gold {
  border-color: rgba(201,168,76,.45);
  color: var(--gold);
  background: rgba(201,168,76,.06);
}
.btn-outline-gold:hover { border-color: var(--gold); background: rgba(201,168,76,.14); color: var(--gold-light); }

.btn-ghost { color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); }

.btn-sm { padding: 9px 20px; font-size: .82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* === BADGES === */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 100px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
}
.badge-success   { background: rgba(34,197,94,.12);  color: #4ade80; border: 1px solid rgba(34,197,94,.2); }
.badge-warning   { background: rgba(245,158,11,.12); color: #fbbf24; border: 1px solid rgba(245,158,11,.2); }
.badge-danger    { background: rgba(239,68,68,.12);  color: #f87171; border: 1px solid rgba(239,68,68,.2); }
.badge-info      { background: rgba(59,130,246,.12); color: #60a5fa; border: 1px solid rgba(59,130,246,.2); }
.badge-secondary { background: rgba(255,255,255,.06); color: var(--text-muted); border: 1px solid rgba(255,255,255,.1); }
.badge-gold      { background: rgba(201,168,76,.12); color: var(--gold-light); border: 1px solid rgba(201,168,76,.25); }

/* === HEADER / NAV === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background var(--trans), border-color var(--trans), backdrop-filter var(--trans);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav {
  display: flex; align-items: center; gap: 2rem;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 46px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: .2rem;
  margin-left: auto;
}
.nav-link {
  padding: 8px 14px; border-radius: 8px;
  font-size: .88rem; font-weight: 500; color: var(--text-muted);
  transition: color var(--trans), background var(--trans);
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255,255,255,.06); }

.nav-actions { display: flex; align-items: center; gap: .75rem; margin-left: .75rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; padding: 6px;
  border-radius: var(--radius-sm); background: rgba(255,255,255,.05);
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 6rem 1.5rem 4rem;
  text-align: center; overflow: hidden;
}

.hero-glow {
  position: absolute; width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.10) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite;
}
@keyframes heroGlow {
  0%,100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  50%      { opacity: .6; transform: translate(-50%,-50%) scale(1.18); }
}

.hero-inner { position: relative; z-index: 1; max-width: 880px; width: 100%; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.28);
  border-radius: 100px; padding: 7px 20px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 2rem;
}
.badge-pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.2; } }

.hero h1 { margin-bottom: 1.4rem; }
.hero h1 .thin { font-weight: 300; color: var(--text-muted); }
.hero h1 .gold { color: var(--gold); }
.hero-sub {
  font-size: clamp(.95rem, 2.2vw, 1.2rem);
  color: var(--text-muted); max-width: 580px;
  margin: 0 auto 3rem; line-height: 1.7;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

/* === HERO SEARCH BAR === */
.hero-search {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem; align-items: end;
  max-width: 860px; margin: 0 auto 3rem;
  box-shadow: 0 0 60px rgba(201,168,76,.06);
  transition: border-color var(--trans), box-shadow var(--trans);
}
.hero-search:focus-within {
  border-color: rgba(201,168,76,.35);
  box-shadow: 0 0 80px rgba(201,168,76,.1);
}

.search-field label {
  display: block; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .5rem;
}
.search-field select,
.search-field input {
  width: 100%; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm);
  padding: 10px 14px; color: var(--text);
  font-size: .9rem; outline: none;
  transition: border-color var(--trans);
}
.search-field select:focus,
.search-field input:focus { border-color: rgba(201,168,76,.5); }
.search-field select option { background: var(--dark-3); }

/* === SECTION HEADER === */
.section-header {
  text-align: center; max-width: 640px;
  margin: 0 auto 4rem;
}
.section-header .eyebrow {
  display: block; font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .75rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-divider {
  width: 56px; height: 2px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* === SECCIÓN GENÉRICA === */
.section { position: relative; z-index: 1; padding: 7rem 0; }
.section-alt { background: var(--dark-2); }

/* === PROPERTY CARDS === */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.prop-card {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  display: flex; flex-direction: column;
}
.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.prop-card-img {
  position: relative; height: 220px; overflow: hidden;
  background: var(--dark-4);
}
.prop-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.prop-card:hover .prop-card-img img { transform: scale(1.07); }

.prop-card-badges {
  position: absolute; top: .75rem; left: .75rem;
  display: flex; gap: .4rem; flex-wrap: wrap;
}
.prop-card-fav {
  position: absolute; top: .75rem; right: .75rem;
}

.prop-card-body { padding: 1.25rem 1.4rem; flex: 1; display: flex; flex-direction: column; }

.prop-card-tipo {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .4rem;
}
.prop-card-title {
  font-size: 1rem; font-weight: 700; color: var(--text);
  margin-bottom: .5rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.prop-card-location {
  display: flex; align-items: center; gap: 5px;
  font-size: .8rem; color: var(--text-muted); margin-bottom: 1rem;
}
.prop-card-location svg { flex-shrink: 0; color: var(--gold); opacity: .7; }

.prop-card-stats {
  display: flex; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 1rem;
}
.stat-item {
  display: flex; align-items: center; gap: 5px;
  font-size: .8rem; color: var(--text-muted);
}
.stat-item svg { width: 14px; height: 14px; color: var(--text-dim); }

.prop-card-footer {
  display: flex; align-items: center;
  justify-content: space-between; margin-top: auto;
}
.prop-price {
  font-size: 1.35rem; font-weight: 800;
  color: var(--gold-light); line-height: 1;
}
.prop-price-btc {
  font-size: .7rem; font-weight: 600;
  color: var(--bitcoin); display: flex; align-items: center; gap: 3px;
}

.btn-ver-prop {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 100px;
  background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.25);
  color: var(--gold); font-size: .82rem; font-weight: 600;
  transition: all var(--trans);
}
.btn-ver-prop:hover { background: var(--gold); color: #000; }

/* === PROPERTY DETAIL PAGE === */
.detail-hero {
  position: relative; z-index: 1;
  padding-top: 72px; /* nav height */
}

.gallery-main {
  position: relative; height: 520px; overflow: hidden;
  background: var(--dark-3); border-radius: 0;
}
.gallery-main img {
  width: 100%; height: 100%; object-fit: cover;
}

.gallery-thumbs {
  display: flex; gap: .5rem; padding: .75rem 1.5rem;
  overflow-x: auto; background: var(--dark-2);
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.gallery-thumb {
  flex-shrink: 0; width: 90px; height: 60px;
  border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid transparent; cursor: pointer;
  transition: border-color var(--trans); opacity: .65;
  transition: opacity var(--trans), border-color var(--trans);
}
.gallery-thumb.active, .gallery-thumb:hover {
  border-color: var(--gold); opacity: 1;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.gallery-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(10,10,10,.7); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; z-index: 10;
  transition: background var(--trans);
}
.gallery-nav-btn:hover { background: rgba(201,168,76,.7); }
.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }
.gallery-count {
  position: absolute; bottom: 1rem; right: 1rem;
  background: rgba(0,0,0,.65); backdrop-filter: blur(6px);
  border-radius: 100px; padding: 4px 14px;
  font-size: .78rem; color: var(--text-muted);
}

.detail-layout {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 2.5rem; align-items: start; padding: 3rem 0 5rem;
}
.detail-main { min-width: 0; }
.detail-sidebar { position: sticky; top: 90px; }

.detail-breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; color: var(--text-dim); margin-bottom: 1.5rem;
}
.detail-breadcrumb a { color: var(--text-muted); }
.detail-breadcrumb a:hover { color: var(--gold); }
.detail-breadcrumb span { color: var(--text-dim); }

.detail-tipo {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .5rem;
  display: flex; align-items: center; gap: .5rem;
}
.detail-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: .75rem; color: #fff; }
.detail-location {
  display: flex; align-items: center; gap: 6px;
  font-size: .9rem; color: var(--text-muted); margin-bottom: 1.5rem;
}

.detail-price-row {
  display: flex; align-items: flex-end; gap: 1rem;
  padding: 1.5rem 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); margin-bottom: 2rem;
}
.detail-price { font-size: 2.4rem; font-weight: 900; color: var(--gold-light); line-height: 1; }
.detail-price-btc {
  display: flex; align-items: center; gap: 5px;
  font-size: .85rem; font-weight: 600; color: var(--bitcoin);
  background: rgba(247,147,26,.1); border: 1px solid rgba(247,147,26,.2);
  border-radius: 100px; padding: 5px 12px;
}

.detail-specs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px,1fr));
  gap: .75rem; margin-bottom: 2rem;
}
.spec-item {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .9rem 1rem;
  text-align: center;
}
.spec-icon { width: 22px; height: 22px; margin: 0 auto .4rem; color: var(--gold); opacity: .8; }
.spec-value { font-size: 1.1rem; font-weight: 700; color: #fff; }
.spec-label { font-size: .7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }

.detail-desc { margin-bottom: 2.5rem; }
.detail-desc h3 { color: #fff; margin-bottom: 1rem; font-size: 1.1rem; }
.detail-desc p { color: var(--text-muted); line-height: 1.8; white-space: pre-line; }

.detail-features { margin-bottom: 2.5rem; }
.detail-features h3 { color: #fff; margin-bottom: 1rem; font-size: 1.1rem; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr));
  gap: .6rem;
}
.feature-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .85rem; color: var(--text-muted);
  background: rgba(201,168,76,.05); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .6rem .9rem;
}
.feature-item::before {
  content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0;
}

/* Detail sidebar card */
.contact-sidebar {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: 0 0 60px rgba(201,168,76,.06);
}
.contact-sidebar-title {
  font-size: .7rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem;
}
.seller-info { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.5rem; }
.seller-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(201,168,76,.15); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; color: var(--gold);
  overflow: hidden; flex-shrink: 0;
}
.seller-avatar img { width: 100%; height: 100%; object-fit: cover; }
.seller-name { font-size: 1rem; font-weight: 700; color: #fff; }
.seller-phone {
  display: flex; align-items: center; gap: 5px;
  font-size: .82rem; color: var(--text-muted);
}

.contact-form .form-group { margin-bottom: 1rem; }
.contact-form input,
.contact-form textarea {
  width: 100%; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm);
  padding: 10px 14px; color: var(--text); font-size: .88rem;
  outline: none; transition: border-color var(--trans);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-dim); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: rgba(201,168,76,.5); }
.contact-form textarea { resize: vertical; min-height: 90px; }

/* === FILTERS BAR (listing) === */
.filters-bar {
  background: var(--dark-3); border-bottom: 1px solid var(--border);
  padding: 1.25rem 0; position: sticky; top: 72px; z-index: 100;
  backdrop-filter: blur(12px);
}
.filters-inner {
  display: flex; align-items: flex-end; gap: .75rem; flex-wrap: wrap;
}
.filter-field { display: flex; flex-direction: column; gap: .4rem; }
.filter-label {
  font-size: .65rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold);
}
.filter-field select,
.filter-field input {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm); padding: 8px 12px;
  color: var(--text); font-size: .85rem; outline: none;
  transition: border-color var(--trans); min-width: 140px;
}
.filter-field select:focus,
.filter-field input:focus { border-color: rgba(201,168,76,.45); }
.filter-field select option { background: var(--dark-3); }

.listing-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.75rem; flex-wrap: wrap; gap: .75rem;
}
.listing-count { font-size: .88rem; color: var(--text-muted); }
.listing-count strong { color: var(--text); }

/* === SERVICES SECTION === */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px,1fr));
  gap: 2rem;
}
.service-card {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.75rem 2.5rem;
  transition: border-color var(--trans), box-shadow var(--trans);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity var(--trans);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-hover); }

.service-icon {
  width: 60px; height: 60px; border-radius: var(--radius);
  background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.service-icon svg { width: 28px; height: 28px; color: var(--gold); }
.service-card h3 { color: #fff; margin-bottom: .75rem; }
.service-card p  { margin-bottom: 1.5rem; }

/* === STATS SECTION === */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 1.5rem;
}
.stat-card {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.75rem; text-align: center;
}
.stat-num {
  font-size: 3rem; font-weight: 900; color: var(--gold);
  line-height: 1; margin-bottom: .5rem;
}
.stat-label { font-size: .88rem; color: var(--text-muted); }

/* === CTA SECTION === */
.cta-section {
  text-align: center; padding: 6rem 1.5rem;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p  { margin-bottom: 2.5rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === DESARROLLO PAGE === */
.dev-hero {
  padding: 10rem 0 6rem; text-align: center;
}
.dev-how {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 2rem; counter-reset: steps;
}
.dev-step {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius); position: relative;
}
.dev-step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(201,168,76,.1); border: 2px solid rgba(201,168,76,.3);
  font-size: 1.2rem; font-weight: 900; color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.dev-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.dev-client-card {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem 2rem;
}
.dev-client-card.highlight { border-color: rgba(201,168,76,.35); }
.dev-client-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.dev-client-icon svg { width: 26px; height: 26px; color: var(--gold); }

/* === FORMS (generic) === */
.form-section {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: .78rem; font-weight: 600;
  color: var(--text-muted); margin-bottom: .5rem; letter-spacing: .04em;
}
.form-control {
  width: 100%; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm);
  padding: 11px 14px; color: var(--text); font-size: .92rem;
  outline: none; transition: border-color var(--trans), box-shadow var(--trans);
}
.form-control::placeholder { color: var(--text-dim); }
.form-control:focus {
  border-color: rgba(201,168,76,.55);
  box-shadow: 0 0 0 3px rgba(201,168,76,.08);
}
textarea.form-control { resize: vertical; min-height: 110px; }

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

.form-alert {
  padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  font-size: .88rem; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .6rem;
}
.form-alert-success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.2); color: #4ade80; }
.form-alert-error   { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.2);  color: #f87171; }
.form-alert-info    { background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.2); color: #60a5fa; }

/* === FOOTER === */
.site-footer {
  background: var(--dark-2); border-top: 1px solid var(--border);
  padding: 4rem 0 2rem; position: relative; z-index: 1;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-logo { height: 42px; width: auto; margin-bottom: 1rem; }
.footer-desc { font-size: .88rem; color: var(--text-dim); line-height: 1.7; }
.footer-heading {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .88rem; color: var(--text-dim); transition: color var(--trans); }
.footer-links a:hover { color: var(--text); }
.footer-contact-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .88rem; color: var(--text-dim); margin-bottom: .75rem;
}
.footer-contact-item svg { color: var(--gold); opacity: .7; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 1.75rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem;
  font-size: .78rem; color: var(--text-dim);
}
.footer-btc {
  display: flex; align-items: center; gap: 5px;
  color: var(--bitcoin); font-size: .78rem; font-weight: 600;
}

/* === STICKY MOBILE BAR === */
.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(10,10,10,.95); backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: .9rem 1.25rem;
  display: none; align-items: center; justify-content: space-between; gap: .75rem;
  z-index: 800;
}
.mobile-cta-info strong { display: block; font-size: .92rem; color: var(--text); }
.mobile-cta-info span  { font-size: .78rem; color: var(--text-muted); }
.mobile-cta-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; background: var(--gold); border-radius: 100px;
  font-size: .85rem; font-weight: 700; color: #000; white-space: nowrap;
  transition: opacity var(--trans);
}
.mobile-cta-btn:hover { opacity: .88; color: #000; }

/* === PAGINATION === */
.pagination { display: flex; justify-content: center; margin-top: 3rem; }
.pagination ul { display: flex; gap: .4rem; }
.pagination li a,
.pagination li.current a {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 600;
  background: var(--dark-3); border: 1px solid var(--border);
  color: var(--text-muted); transition: all var(--trans);
}
.pagination li a:hover { border-color: var(--gold); color: var(--gold); }
.pagination li.current a { background: var(--gold); border-color: var(--gold); color: #000; }

/* === EMPTY STATE === */
.empty-state {
  text-align: center; padding: 5rem 2rem;
  background: var(--dark-3); border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}
.empty-icon { width: 64px; height: 64px; margin: 0 auto 1.5rem; color: var(--text-dim); }
.empty-state h3 { color: var(--text); margin-bottom: .5rem; }

/* === TOAST / ALERT === */
.page-alert {
  position: fixed; top: 90px; right: 1.5rem; z-index: 9999;
  max-width: 360px; padding: 1rem 1.5rem;
  border-radius: var(--radius); font-size: .88rem;
  display: flex; align-items: center; gap: .75rem;
  animation: slideIn .3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.page-alert-success { background: rgba(34,197,94,.15);  border: 1px solid rgba(34,197,94,.3);  color: #4ade80; }
.page-alert-error   { background: rgba(239,68,68,.15);  border: 1px solid rgba(239,68,68,.3);  color: #f87171; }
.page-alert-info    { background: rgba(59,130,246,.15); border: 1px solid rgba(59,130,246,.3); color: #60a5fa; }

/* === FADE-IN ANIMACION === */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .5s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 72px 0 0 0;
    background: var(--dark-2); padding: 2rem 1.5rem;
    z-index: 850; gap: .5rem; align-items: flex-start;
  }
  .nav-toggle { display: flex; }
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hero-search .search-btn { grid-column: 1/-1; }
  .dev-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .mobile-cta-bar { display: flex; }
  .site-footer { padding-bottom: 5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-main { height: 280px; }
}

@media (max-width: 480px) {
  .hero-search { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
}
