/* ===========================================================
   AVA Bienes Raíces — Demo estática
   Paleta premium: verde bosque + dorado arena + crema
   =========================================================== */

:root {
  --forest: #1c3a2a;
  --forest-2: #2e5a3e;
  --gold: #c0a05c;
  --gold-dark: #a8863f;
  --blue: #1f63d6;
  --blue-dark: #123a86;
  --cream: #f6f1e8;
  --cream-2: #efe7d8;
  --ink: #191915;
  --muted: #6b6b63;
  --paper: #ffffff;
  --line: #e3ddd0;
  --whatsapp: #25d366;

  --shadow-sm: 0 2px 10px rgba(25, 25, 21, 0.06);
  --shadow-md: 0 14px 40px rgba(25, 25, 21, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1240px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 22px; }

.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue); font-weight: 700;
}

.section { padding: 84px 0; }
.section--cream { background: var(--cream); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 10px 0 8px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600;
  border: 1px solid transparent; font-size: 0.95rem;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); }
/* Botón "Contactar" del header: compacto, poco redondeado, estilizado */
.btn--contact {
  background: var(--blue); color: #fff; border-radius: 8px;
  padding: 9px 18px; font-size: .88rem; letter-spacing: .01em;
  box-shadow: 0 4px 14px rgba(31,99,214,.35);
}
.btn--contact:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn--gold { background: var(--blue); color: #fff; }
.btn--gold:hover { background: var(--blue-dark); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--wa { background: var(--whatsapp); color: #fff; }
.btn--wa:hover { background: #1da851; }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,.0);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.96); box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { height: 50px; width: auto; display: block; }
.brand__logo--white { display: none; }
/* Sobre fondos oscuros (hero sin scroll y footer) usa la versión blanca */
.site-header:not(.scrolled) .brand__logo--color { display: none; }
.site-header:not(.scrolled) .brand__logo--white { display: block; }
.footer .brand__logo--color { display: none; }
.footer .brand__logo--white { display: block; height: 46px; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--forest); color: var(--gold);
  display: grid; place-items: center; font-size: 1.25rem; font-weight: 700;
  font-family: var(--font-display);
}
.brand__name { line-height: 1; }
.brand__name b { display: block; font-size: 1.18rem; letter-spacing: .02em; }
.brand__name span { font-size: .62rem; letter-spacing: .35em; text-transform: uppercase; color: var(--gold-dark); font-family: var(--font-body); font-weight: 700; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-weight: 500; font-size: .96rem; position: relative; padding: 4px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--blue); transition: width .25s; }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; }

/* Header en hero (texto claro) */
.site-header:not(.scrolled) .nav__links a,
.site-header:not(.scrolled) .brand { color: #fff; }
.site-header:not(.scrolled) .brand__name span { color: var(--gold); }

.nav__toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; }
.nav__toggle span { width: 26px; height: 2px; background: currentColor; display: block; }

/* ---------- Hero scrollytelling ---------- */
.hero { position: relative; height: 600vh; }
.hero__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hero__frame { position: absolute; inset: 0; opacity: 0; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,30,24,.55) 0%, rgba(20,30,24,.15) 35%, rgba(20,30,24,.65) 100%); }
.hero__frame:first-child { opacity: 1; }

.hero__content {
  position: absolute; inset: 0; z-index: 5; color: #fff;
}
.hero__caption {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  padding: 0 22px; text-align: center;
}
.hero__caption > * { max-width: 820px; margin-inline: auto; }
.hero__caption .eyebrow { color: #9dbcff; margin-bottom: 16px; }
.hero__caption h1 { font-size: clamp(2.4rem, 6.5vw, 5rem); font-weight: 500; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.hero__caption p { font-size: 1.15rem; margin-top: 14px; opacity: .92; }
.hero__scrollhint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 6; color: #fff; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.hero__scrollhint span { display: block; width: 1px; height: 36px; background: #fff; margin: 8px auto 0; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: .3; transform: scaleY(.6);} 50%{opacity:1; transform: scaleY(1);} }

/* ---------- Buscador rápido ---------- */
.search { position: relative; z-index: 20; margin-top: -64px; }
.search__card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 26px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 16px; align-items: end;
}
.field label { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
.field select, .field input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; background: var(--paper); color: var(--ink);
}
.field select:focus, .field input:focus { outline: 2px solid var(--gold); border-color: transparent; }

/* ---------- Grid de propiedades ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.badge {
  position: absolute; top: 14px; left: 14px; padding: 6px 13px; border-radius: 999px;
  font-size: .73rem; font-weight: 700; letter-spacing: .04em; color: #fff; backdrop-filter: blur(3px);
}
.badge--venta { background: rgba(31,99,214,.95); }
.badge--renta { background: rgba(192,160,92,.95); color: var(--forest); }
.card__type { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.92); color: var(--forest); padding: 6px 12px; border-radius: 999px; font-size: .73rem; font-weight: 700; }
.card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--forest); font-weight: 600; }
.card__price small { font-size: .8rem; color: var(--muted); font-family: var(--font-body); font-weight: 500; }
.card__title { font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; margin: 8px 0 6px; line-height: 1.35; }
.card__loc { color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: 6px; }
.card__specs { display: flex; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); font-size: .88rem; font-weight: 600; }
.card__specs span { display: flex; align-items: center; gap: 6px; }
.card__specs svg { color: var(--gold-dark); }
.card a.card__link { margin-top: auto; }

.icon { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 10px 0 18px; }
.about p { color: var(--muted); margin-bottom: 16px; }
.stats { display: flex; gap: 38px; margin-top: 26px; }
.stats b { font-family: var(--font-display); font-size: 2.2rem; color: var(--forest); display: block; }
.stats span { font-size: .85rem; color: var(--muted); }

/* ---------- CTA banda ---------- */
.cta-band { background: var(--forest); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.cta-band p { opacity: .85; max-width: 560px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.footer { background: #0d1f3d; color: #c7d2e3; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #7da6ff; margin-bottom: 16px; }
.footer a { color: #c8c8be; font-size: .92rem; display: block; margin-bottom: 9px; }
.footer a:hover { color: #fff; }
.footer .brand__name b { color: #fff; }
.footer__socials { display: flex; gap: 12px; margin-top: 16px; }
.footer__socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; margin: 0; }
.footer__socials a:hover { background: var(--blue); color: #fff; }
.footer__map { border-radius: var(--radius-sm); overflow: hidden; border: 0; width: 100%; height: 150px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; font-size: .85rem; color: #9a9a90; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Página listado ---------- */
.page-head { padding: 128px 0 40px; background: var(--cream); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-head .breadcrumb { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.layout { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 96px; }
.filters h3 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 18px; }
.filters .field { margin-bottom: 18px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.results-bar p { color: var(--muted); }
.grid-cards--2 { grid-template-columns: repeat(2, 1fr); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.loadmore-wrap { text-align: center; margin-top: 44px; }

/* ---------- Página detalle ---------- */
.detail { padding-top: 100px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 10px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/8; }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: opacity .2s; }
.gallery img:hover { opacity: .9; }
.gallery img:first-child { grid-row: span 2; }
.detail__grid { display: grid; grid-template-columns: 1fr 360px; gap: 44px; margin-top: 40px; align-items: start; }
.detail__head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 6px 0; }
.detail__price { font-family: var(--font-display); font-size: 2.2rem; color: var(--forest); margin: 16px 0; }
.specbar { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0; }
.specbar .spec { background: var(--cream); border-radius: var(--radius-sm); padding: 16px 20px; min-width: 120px; }
.specbar .spec b { display: block; font-size: 1.3rem; font-family: var(--font-display); color: var(--forest); }
.specbar .spec span { font-size: .82rem; color: var(--muted); }
.detail__desc { margin: 28px 0; }
.detail__desc h3 { margin-bottom: 12px; font-size: 1.3rem; }
.detail__desc p { color: var(--muted); }
.detail-map { width: 100%; height: 320px; border: 0; border-radius: var(--radius); margin-top: 16px; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); position: sticky; top: 96px; }
.agent { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.agent img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.agent b { display: block; }
.agent span { font-size: .85rem; color: var(--muted); }
.sidebar-card .btn { margin-bottom: 10px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(15,20,16,.94); z-index: 200; display: none; align-items: center; justify-content: center; flex-direction: column; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 8px; object-fit: contain; }
.lightbox__close { position: absolute; top: 22px; right: 28px; color: #fff; font-size: 2.4rem; background: none; border: 0; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); color:#fff; border:0; width: 54px; height: 54px; border-radius: 50%; font-size: 1.6rem; }
.lightbox__nav--prev { left: 24px; } .lightbox__nav--next { right: 24px; }
.lightbox__count { color: #fff; margin-top: 16px; font-size: .9rem; opacity: .8; }

/* Form simulado */
.form-note { display: none; background: #e7f5ec; color: #1c6b3a; padding: 12px 16px; border-radius: var(--radius-sm); margin-top: 12px; font-size: .9rem; font-weight: 600; }
.form-note.show { display: block; }

/* ---------- Categorías de inmuebles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; display: block; box-shadow: var(--shadow-sm); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover img { transform: scale(1.07); }
.cat-card__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; background: linear-gradient(180deg, rgba(20,30,24,0) 35%, rgba(20,30,24,.85) 100%); }
.cat-card__overlay h3 { font-size: clamp(1rem, 2.4vw, 1.25rem); font-weight: 600; line-height: 1.15; word-break: break-word; hyphens: auto; }
.cat-card__overlay span { font-size: .82rem; opacity: .85; margin-top: 3px; }
.cat-card::after { content: "→"; position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; background: rgba(255,255,255,.18); border-radius: 50%; display: grid; place-items: center; color: #fff; backdrop-filter: blur(4px); transition: background .25s, transform .25s; }
.cat-card:hover::after { background: var(--blue); transform: translateX(3px); }

/* ---------- Créditos ---------- */
.credits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.credit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.credit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.credit-card__num { font-family: var(--font-display); font-size: 2.4rem; color: var(--blue); opacity: .65; font-weight: 600; }
.credit-card h3 { font-size: 1.25rem; margin: 6px 0 10px; color: var(--forest); }
.credit-card p { color: var(--muted); font-size: .94rem; }

/* ---------- Equipo (cards) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: transform .25s, box-shadow .25s; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-card__photo { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid var(--cream); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__info { display: flex; flex-direction: column; gap: 3px; }
.team-card__info h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; }
.team-card__role { color: var(--muted); font-size: .86rem; }
.team-card__count { color: var(--forest); font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: 5px; margin-top: 4px; }
.team-card__count .icon { width: 15px; height: 15px; }
.team-card__link { color: var(--blue); font-weight: 700; font-size: .85rem; margin-top: 6px; }

/* ---------- Contacto moderno ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-intro h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 10px 0 12px; }
.contact-sub { color: var(--muted); margin-bottom: 26px; }
.contact-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-md); }
.contact-card h3 { font-family: var(--font-body); font-size: 1.2rem; margin-bottom: 18px; }
.contact-card .field { margin-bottom: 16px; }

/* Botones de elección (vender/comprar, tipo) */
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice--wrap { grid-template-columns: 1fr 1fr; }
.choice__btn {
  padding: 13px 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  border-radius: var(--radius-sm); font-weight: 600; font-size: .92rem; transition: all .18s ease;
}
.choice__btn:hover { border-color: var(--gold); }
.choice__btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Pasos que aparecen progresivamente */
.contact-step { display: none; }
.contact-step.show { display: block; animation: fadeStep .35s ease; }
@keyframes fadeStep { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===========================================================
   vCard de vendedor — tarjeta individual (estilo referencia)
   =========================================================== */
.vc-page {
  min-height: 100vh; background: #eaeef3;
  background-image: radial-gradient(circle at 20% 0%, #dfe6ef, #eaeef3 60%);
  display: flex; justify-content: center; padding: 26px 14px 50px;
}
.vc { width: 100%; max-width: 440px; background: #fff; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 70px rgba(15, 30, 55, .28); }

/* Top oscuro con marca + hero del agente */
.vc__topbar { background: var(--blue-dark); color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; font-size: .78rem; }
.vc__topbar img { height: 26px; filter: brightness(0) invert(1); }
.vc__topbar a { background: rgba(255,255,255,.15); padding: 7px 14px; border-radius: 999px; font-weight: 600; }

.vc__hero { position: relative; height: 360px; }
.vc__hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.vc__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,30,50,.1) 30%, rgba(13,24,40,.92) 100%); }
.vc__badge-live { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; display: flex; align-items: center; gap: 6px; }
.vc__badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7dff9b; box-shadow: 0 0 0 0 rgba(125,255,155,.7); animation: live 1.6s infinite; }
@keyframes live { 0%{box-shadow:0 0 0 0 rgba(125,255,155,.6);} 100%{box-shadow:0 0 0 8px rgba(125,255,155,0);} }
.vc__hero-info { position: absolute; bottom: 16px; left: 18px; right: 18px; z-index: 2; color: #fff; }
.vc__hero-info .vc__eyebrow { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #9dbcff; font-weight: 700; }
.vc__hero-info h1 { font-size: 1.7rem; line-height: 1.1; margin-top: 4px; }

.vc__body { padding: 20px; }
.vc__intro { color: var(--muted); font-size: .94rem; margin-bottom: 16px; }
.vc__intro b { color: var(--ink); }

/* Botones principales (compactos) */
.vc__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vc__cta .btn { justify-content: center; padding: 12px 14px; font-size: .92rem; border-radius: 12px; white-space: nowrap; }

/* Badges de confianza */
.vc__trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0; }
.vc__trust div { text-align: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 4px; font-size: .68rem; color: var(--muted); font-weight: 600; }
.vc__trust b { display: block; color: var(--blue); font-size: 1.05rem; margin-bottom: 2px; }

/* Accesos rápidos (iconos) */
.vc__quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.vc__quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border: 1px solid var(--line); border-radius: 14px; font-size: .72rem; font-weight: 600; color: var(--ink); transition: border-color .2s, transform .2s; }
.vc__quick a:hover { border-color: var(--blue); transform: translateY(-2px); }
.vc__quick .vc__ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.vc__ico--call { background: var(--blue); }
.vc__ico--wa { background: var(--whatsapp); }
.vc__ico--mail { background: #6b7785; }
.vc__ico--save { background: var(--forest); }
.vc__quick svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.9; }

/* Stats */
.vc__stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: 22px; }
.vc__stats div { text-align: center; padding: 16px 6px; border-right: 1px solid var(--line); }
.vc__stats div:last-child { border-right: 0; }
.vc__stats b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--blue-dark); }
.vc__stats span { font-size: .72rem; color: var(--muted); }

.vc__section-label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 6px; }
.vc__h3 { font-size: 1.25rem; margin-bottom: 14px; }
.vc__about p { color: var(--muted); font-size: .94rem; margin-bottom: 22px; }

/* Propiedades del vendedor (tipo "trabajos recientes") */
.vc__props { display: flex; flex-direction: column; gap: 12px; }
.vc-prop { display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .2s, box-shadow .2s; background: #fff; }
.vc-prop:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.vc-prop__img { position: relative; width: 116px; flex-shrink: 0; }
.vc-prop__img img { width: 100%; height: 100%; object-fit: cover; }
.vc-prop__img .badge { top: 8px; left: 8px; font-size: .64rem; padding: 4px 9px; }
.vc-prop__info { padding: 12px 12px 12px 2px; display: flex; flex-direction: column; justify-content: center; }
.vc-prop__price { font-family: var(--font-display); font-size: 1.15rem; color: var(--blue-dark); font-weight: 600; }
.vc-prop__title { font-size: .86rem; font-weight: 600; line-height: 1.3; margin: 3px 0; }
.vc-prop__loc { font-size: .78rem; color: var(--muted); }
.vc-prop__arrow { margin-left: auto; align-self: center; padding-right: 14px; color: var(--blue); font-size: 1.2rem; }

.vc__footer { text-align: center; font-size: .74rem; color: var(--muted); margin-top: 24px; }
.vc__footer a { color: var(--blue); font-weight: 600; }

/* ---------- Animaciones entrada ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .detail__grid { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .credits-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .vendor-layout { grid-template-columns: 1fr; }
  .vcard { position: static; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 20px 22px; gap: 16px; box-shadow: var(--shadow-md); }
  .nav__links.open a { color: var(--ink) !important; }
  .search__card { grid-template-columns: 1fr 1fr; }
  .grid-cards, .grid-cards--2 { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card { aspect-ratio: 1/1; }
  .credits-grid { grid-template-columns: 1fr; }
  /* Equipo en móvil: carrusel horizontal fluido */
  .team-grid {
    display: flex; grid-template-columns: none; gap: 14px;
    overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 22px;
    margin: 0 -22px; padding: 4px 22px 16px; -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  .team-grid::-webkit-scrollbar { height: 5px; }
  .team-grid::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
  .team-card { flex: 0 0 86%; scroll-snap-align: center; gap: 14px; padding: 16px; margin: 0; }
  .team-card:last-child { margin-right: 22px; }
  .team-card__photo { width: 72px; height: 72px; }
  .contact-card { padding: 22px; }
  .vcard__actions { flex-direction: column; }
  .stats { flex-wrap: wrap; gap: 22px; }
  .gallery { grid-template-columns: 1fr 1fr; aspect-ratio: 4/3; }
  .gallery img:first-child { grid-column: span 2; grid-row: auto; }
  .hero { height: 480vh; }
  .footer__grid { grid-template-columns: 1fr; }
}
