/* ══════════════════════════════════════════════════════════════
   HOME PAGE — from inmobiliaria-corporate.html
   ══════════════════════════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 112px);
}
.hero-left {
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
  background: var(--white);
  position: relative;
}
.hero-left::after {
  content: '';
  position: absolute; right: 0; top: 15%; bottom: 15%;
  width: 1px; background: var(--line);
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ''; width: 28px; height: 2px; background: var(--accent2);
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(50px, 5vw, 76px);
  font-weight: 600; line-height: 1.08;
  color: var(--ink); margin-bottom: 28px;
  letter-spacing: -0.5px;
}
.hero h1 i { font-style: italic; color: var(--accent); }
.hero-desc {
  font-size: 16px; font-weight: 300; line-height: 1.8;
  color: var(--mid); max-width: 420px; margin-bottom: 48px;
}
.hero-cta { display: flex; gap: 14px; margin-bottom: 64px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--line);
  padding-top: 36px;
}
.hero-stat { padding-right: 32px; }
.hero-stat + .hero-stat {
  padding-left: 32px; padding-right: 32px;
  border-left: 1px solid var(--line);
}
.hero-stat:last-child { border-right: none; }
.stat-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px; font-weight: 700;
  color: var(--ink); line-height: 1;
  margin-bottom: 4px;
}
.stat-n sup { font-size: 20px; color: var(--accent2); }
.stat-l { font-size: 12px; color: var(--muted); letter-spacing: 0.3px; }

/* Hero right */
.hero-right {
  position: relative; overflow: hidden; background: var(--bg);
}
.hero-img-main {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 8s ease;
}
.hero-right:hover .hero-img-main { transform: scale(1.03); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(17,24,32,0.55) 100%);
}
.hero-card {
  position: absolute; bottom: 40px; left: -1px;
  background: white;
  padding: 20px 28px;
  display: flex; align-items: center; gap: 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  max-width: 300px;
  border-left: 3px solid var(--accent);
}
.hero-card-icon { font-size: 28px; }
.hero-card-text strong {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--ink); margin-bottom: 2px;
}
.hero-card-text span { font-size: 12px; color: var(--muted); }

/* ── SEARCH ── */
.search-band { background: var(--accent); padding: 0 64px; }
.search-inner {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr 1fr auto;
  align-items: stretch; gap: 0;
}
.search-label {
  display: flex; align-items: center;
  padding: 0 32px 0 0; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  border-right: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
}
.s-field {
  background: transparent;
  border: none; border-right: 1px solid rgba(255,255,255,0.12);
  padding: 22px 24px;
  color: white; font-size: 14px; font-family: 'Outfit', sans-serif;
  outline: none; cursor: pointer; transition: background 0.2s;
}
.s-field::placeholder { color: rgba(255,255,255,0.5); }
.s-field option { background: var(--accent); color: white; }
.s-field:hover, .s-field:focus { background: rgba(255,255,255,0.08); }
.search-go {
  background: white; color: var(--accent);
  border: none; padding: 0 36px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; cursor: pointer;
  font-family: 'Outfit', sans-serif; transition: all 0.2s;
  white-space: nowrap;
}
.search-go:hover { background: var(--tag); }

/* ── PROPERTIES ── */
.props-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 48px;
}
.props-filters { display: flex; gap: 8px; }
.filter-pill {
  padding: 8px 20px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--line); color: var(--mid);
  background: white; cursor: pointer; font-family: 'Outfit', sans-serif;
  transition: all 0.2s; letter-spacing: 0.2px;
}
.filter-pill.on { background: var(--accent); color: white; border-color: var(--accent); }
.filter-pill:hover:not(.on) { border-color: var(--accent); color: var(--accent); }

/* Property cards */
.prop-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: white; border: 1px solid var(--line);
  overflow: hidden; transition: all 0.3s; cursor: pointer;
}
.card:hover {
  border-color: #b0c4d8;
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(27,79,114,0.1);
}
.card-img-wrap {
  position: relative; overflow: hidden; height: 220px; background: var(--bg);
}
.card-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.card:hover .card-img { transform: scale(1.05); }
.card-badges {
  position: absolute; top: 16px; left: 16px; display: flex; gap: 6px;
}
.badge {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 10px; background: white; color: var(--accent);
  border: 1px solid var(--line);
}
.badge.feat { background: var(--accent); color: white; border-color: var(--accent); }
.badge.disc { background: #e74c3c; color: white; border-color: #e74c3c; }
.badge.sold { background: var(--mid); color: white; border-color: var(--mid); }
.card-save {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: white; border: 1px solid var(--line);
  display: grid; place-items: center; cursor: pointer;
  font-size: 14px; transition: all 0.2s;
}
.card-save:hover { background: var(--tag); border-color: var(--accent2); }
.card-body { padding: 24px; }
.card-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.card-type {
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent2);
}
.card-code { font-size: 11px; color: var(--muted); font-family: monospace; }
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600; line-height: 1.25;
  color: var(--ink); margin-bottom: 8px;
}
.card-loc {
  font-size: 13px; color: var(--muted); margin-bottom: 18px;
  display: flex; align-items: center; gap: 5px;
}
.card-specs {
  display: flex; gap: 18px;
  padding: 16px 0; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.spec { font-size: 12.5px; color: var(--mid); display: flex; align-items: center; gap: 5px; }
.spec-icon { color: var(--muted); }
.card-footer { display: flex; justify-content: space-between; align-items: center; }
.card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 700; color: var(--ink);
}
.card-price small { font-size: 14px; font-family: 'Outfit', sans-serif; color: var(--muted); font-weight: 400; }
.card-btn {
  font-size: 12px; font-weight: 600; color: var(--accent);
  text-decoration: none; letter-spacing: 0.5px;
  padding: 8px 18px; border: 1.5px solid var(--accent);
  transition: all 0.2s;
}
.card-btn:hover { background: var(--accent); color: white; }

/* ── SERVICES ── */
.services-sec { background: var(--ink); padding: 100px 64px; }
.services-sec .label-row { color: #7fb3d3; }
.services-sec .label-row::before { background: #7fb3d3; }
.services-sec h2.title { color: white; }
.services-sec h2.title i { color: #7fb3d3; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.07);
  margin-top: 60px; border: 1px solid rgba(255,255,255,0.07);
}
.srv {
  background: var(--ink);
  padding: 48px 40px;
  transition: background 0.3s;
  position: relative; overflow: hidden;
}
.srv::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--accent2);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.srv:hover { background: #161e29; }
.srv:hover::before { transform: scaleX(1); }
.srv-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 60px; font-weight: 700;
  color: rgba(255,255,255,0.06); line-height: 1;
  position: absolute; top: 24px; right: 28px;
}
.srv-icon { font-size: 28px; margin-bottom: 24px; display: block; }
.srv h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 600;
  color: white; margin-bottom: 14px;
}
.srv p {
  font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.75;
}
.srv-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 24px; font-size: 12.5px; font-weight: 600;
  color: #7fb3d3; text-decoration: none; letter-spacing: 0.5px;
  transition: gap 0.2s;
}
.srv-link:hover { gap: 12px; }

/* ── WHY ── */
.why-sec { display: grid; grid-template-columns: 1fr 1fr; }
.why-img-side { position: relative; overflow: hidden; min-height: 600px; }
.why-img-side img { width: 100%; height: 100%; object-fit: cover; display: block; }
.why-img-side::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 70%, white 100%);
}
.why-text-side {
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.why-points { margin-top: 48px; }
.why-point {
  display: grid; grid-template-columns: 48px 1fr;
  gap: 20px; align-items: start;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.why-point:first-child { border-top: 1px solid var(--line); }
.why-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 700; color: var(--line); line-height: 1;
}
.why-point h4 {
  font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px;
}
.why-point p { font-size: 14px; color: var(--mid); line-height: 1.7; }
.why-cert {
  margin-top: 48px; display: flex; gap: 32px; align-items: center;
}
.cert-item { text-align: center; }
.cert-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px; font-weight: 700; color: var(--accent);
  display: block;
}
.cert-l { font-size: 11px; color: var(--muted); letter-spacing: 0.5px; }

/* ── TESTIMONIALS ── */
.testi-sec { background: var(--bg); padding: 100px 64px; }
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.testi-card {
  background: white; padding: 40px 36px;
  border: 1px solid var(--line); transition: all 0.3s;
  position: relative;
}
.testi-card:hover {
  border-color: #b0c4d8;
  box-shadow: 0 8px 32px rgba(27,79,114,0.08);
}
.testi-stars { color: var(--accent2); font-size: 13px; margin-bottom: 20px; letter-spacing: 2px; }
.testi-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 400; font-style: italic;
  color: var(--ink); line-height: 1.65; margin-bottom: 28px;
}
.testi-rule { width: 32px; height: 2px; background: var(--accent2); margin-bottom: 24px; }
.testi-who { display: flex; gap: 14px; align-items: center; }
.testi-av {
  width: 44px; height: 44px;
  background: var(--accent);
  color: white; font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 700;
  display: grid; place-items: center; flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.testi-role { font-size: 12px; color: var(--muted); }

/* ── ANIMATIONS ── */
.hero-left > * {
  animation: slideUp 0.7s ease both;
}
.hero-left > *:nth-child(1) { animation-delay: 0.1s; }
.hero-left > *:nth-child(2) { animation-delay: 0.25s; }
.hero-left > *:nth-child(3) { animation-delay: 0.35s; }
.hero-left > *:nth-child(4) { animation-delay: 0.45s; }
.hero-left > *:nth-child(5) { animation-delay: 0.55s; }
