/* ============================================
   Gema López · Compass — Tema "Blanco Neutral Formal"
   Blanco / Negro / Gris — minimalista y profesional
   ============================================ */

:root {
  --black: #141414;
  --charcoal: #4a4a4a;
  --white: #ffffff;
  --cream: #f7f7f5;
  --cream-dark: #efefec;
  --line: #e3e2de;
  --bronze: #141414;
  --bronze-dark: #000000;
  --text: #1a1a1a;
  --text-light: #57564f;
  --green-wa: #34a853;
  --rose: #141414;
  --rose-dark: #000000;
  --grad: linear-gradient(120deg, #2a2a2a 0%, #141414 100%);
  --grad-warm: linear-gradient(120deg, #3a3a3a 0%, #141414 100%);
  --grad-night: linear-gradient(155deg, #262626 0%, #141414 60%, #0a0a0a 100%);
  --serif: 'Georgia', 'Times New Roman', serif;
  --display: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 400; color: var(--text); background: var(--white); line-height: 1.7; font-size: 15px; }
img { max-width: 100%; display: block; }
a { color: var(--bronze-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--black); }
h1, h2, h3 { font-family: var(--sans); font-weight: 500; color: #202124; letter-spacing: -.3px; }
h2 { color: #202124; border-bottom: none; padding-bottom: 8px; display: inline-block; }
.blog-grid h3 { color: #202124; }
article h2 { color: #202124; }

.container { width: min(1180px, 90%); margin: 0 auto; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--black);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  height: 58px; min-width: 58px;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: 1px;
  overflow: hidden; flex-shrink: 0;
}
.brand-logo img { height: 100%; width: auto; object-fit: contain; }
.brand-text { color: #fff; font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.15; letter-spacing: .5px; }
.brand-text small { display: none; }

.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a { color: #cfcfcf; font-size: 13px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; border-bottom: 1px solid #fff; }
.nav-cta {
  background: transparent; color: #fff !important;
  border: 1px solid rgba(255,255,255,.55); padding: 10px 22px;
  font-weight: 400; letter-spacing: 2px;
}
.nav-cta:hover { background: #fff; color: var(--black) !important; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(201,162,39,.5); color: #fff;
  padding: 6px 13px; font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 1px; cursor: pointer; transition: all .2s; border-radius: 999px;
}
.lang-toggle:hover { background: rgba(201,162,39,.16); border-color: #c9a227; }
.lang-toggle .lang-seg { opacity: .5; transition: all .2s; }
.lang-toggle .lang-seg.on { opacity: 1; color: #c9a227; }
.lang-toggle .lang-div { opacity: .35; font-weight: 400; }
.lang-toggle svg { vertical-align: -2px; }

/* ---------- Logos de confianza en el pie (tarjeta blanca, una linea) ---------- */
.trust-badges { background: #fff !important; width: 100%; max-width: 100%; margin: 0 0 18px !important; padding: 14px 0 !important; border-radius: 0; box-shadow: none; overflow: hidden; }
.trust-badges > div:not(.tb-track) { display: none !important; }
.tb-track { display: flex; width: max-content; animation: tb-scroll 26s linear infinite; }
.trust-badges:hover .tb-track { animation-play-state: paused; }
.tb-group { display: flex; align-items: center; gap: 0 46px; padding-right: 46px; }
.trust-badges img { height: 42px !important; margin: 0 !important; }
.trust-badges img[alt*="MLS"], .trust-badges img[alt*="Zillow"], .trust-badges img[alt*="Realtor.com"] { height: 38px !important; }
@keyframes tb-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tb-track { animation: none; } }

/* ---------- Banner Top ---------- */
.banner-top {
  background: linear-gradient(90deg, #1a1a1a 0%, #000000 100%);
  padding: 12px 0; text-align: center; color: #fff; font-size: 13px;
  letter-spacing: 0.5px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.banner-top span { display: block; }

/* ---------- Dropdowns ---------- */
.dropdown { position: relative; }
.dropdown-toggle { display: flex; align-items: center; gap: 6px; padding-bottom: 2px; cursor: pointer; }
.dropdown-toggle::after { content: '▼'; font-size: 9px; transition: transform .2s; }
.dropdown:hover .dropdown-toggle::after { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; background: var(--black);
  border: 1px solid rgba(255,255,255,.18); border-radius: 8px; min-width: 240px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all .3s ease; z-index: 1000; margin-top: 4px;
  box-shadow: 0 12px 32px rgba(12, 32, 56, 0.3);
}
.dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: block; padding: 12px 20px; color: #cfcfcf;
  font-size: 13px; letter-spacing: 0.5px; transition: all .2s;
  text-transform: none; font-weight: 400;
}
.dropdown-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ---------- Hero ---------- */
.hero { background: var(--grad-night); color: #fff; padding: 90px 0 100px; position: relative; overflow: hidden; }
.hero.blog-hero { background: linear-gradient(135deg, #0c2038 0%, #1a3a52 100%); }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .42;
  transform: scale(1.18); will-change: transform;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.58) 45%, rgba(0,0,0,.92) 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.eyebrow {
  font-family: var(--display); color: var(--bronze); font-weight: 500;
  letter-spacing: 5px; text-transform: uppercase; font-size: 13px; display: block; margin-bottom: 18px;
}
.hero .eyebrow { color: #d8d8d8; }
/* Overrides para hero/stat/highlight oscuros usados en artículos de blog individuales */
.hero-blog .eyebrow { color: #d8d8d8 !important; }
.hero-blog h1 span { color: #e4e4e4 !important; }
.hero-blog .meta-hero { color: rgba(255,255,255,.6); }
.stat-card .num { color: #fff !important; }
.highlight-box strong { color: #fff !important; }
.highlight-box p strong { color: #fff; }
.hero h1 { font-size: clamp(28px, 4.5vw, 52px); line-height: 1.2; margin-bottom: 24px; color: #fff; font-weight: 500; letter-spacing: -0.02em; text-shadow: 0 2px 16px rgba(0,0,0,.55); }
.hero h1 span { color: #fff; font-style: normal; font-weight: 700; }
.hero p.lead { font-size: 18.5px; color: #cfcfcf; margin-bottom: 34px; max-width: 520px; font-weight: 300; line-height: 1.65; }
.hero-badges { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 38px; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.hero-badge { padding: 18px 32px 18px 0; margin-right: 32px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #a8a8a8; }
.hero-badge strong { color: #fff; display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.hero-photo { position: relative; }
.hero-photo img, .hero-photo .photo-fallback {
  width: 100%; max-width: 400px; aspect-ratio: 1/1.08; object-fit: contain; object-position: bottom;
  border: none; padding: 0; background: transparent;
  margin: 0 auto;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.45));
  animation: photoEntra 1.2s ease both;
}
.hero-photo::after {
  content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  width: 320px; max-width: 80%; height: 18px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(20,20,20,.28) 0%, rgba(20,20,20,0) 70%);
  z-index: -1;
}

/* ---------- Animaciones ---------- */
@keyframes photoEntra { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marcoEntra { from { opacity: 0; transform: translateX(-50%) translateY(40px); } to { opacity: 1; transform: translateX(-50%) translateY(12px) translateX(-38%); } }
@keyframes photoFlota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes subeTexto { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-grid > div:first-child > * { animation: subeTexto .9s ease both; }
.hero-grid > div:first-child > *:nth-child(2) { animation-delay: .12s; }
.hero-grid > div:first-child > *:nth-child(3) { animation-delay: .24s; }
.hero-grid > div:first-child > *:nth-child(4) { animation-delay: .36s; }
.hero-grid > div:first-child > *:nth-child(5) { animation-delay: .48s; }
.hero-grid > div:first-child > *:nth-child(6) { animation-delay: .55s; }
@media (prefers-reduced-motion: reduce) {
  .hero-photo img, .hero-photo::after, .hero-grid > div:first-child > * { animation: none; }
}

/* ---------- Acceso rápido Comprar/Rentar/Vender ---------- */
.hero-acciones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 28px; max-width: 520px; }
.hero-acciones a {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 16px 8px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.05);
  text-decoration: none; transition: all .22s ease;
}
.hero-acciones a:hover { background: #fff; border-color: #fff; transform: translateY(-3px); }
.hero-acciones a:hover span { color: var(--black); }
.hero-acciones span { font-family: var(--serif); font-size: 21px; color: #fff; font-weight: 500; }
.hero-acciones small { font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: #c9c9c9; margin-top: 3px; }
.hero-acciones a:hover small { color: #fff; }
@media (max-width: 600px) { .hero-acciones { max-width: 100%; } .hero-acciones span { font-size: 18px; } .hero-acciones small { font-size: 9px; } }

/* ---------- Redes sociales en hero ---------- */
.hero-social { display: flex; gap: 12px; margin-top: 30px; }
.hero-social a {
  width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; transition: all .2s;
}
.hero-social a:hover { border-color: #fff; background: #fff; transform: translateY(-3px); }
.hero-social a:hover svg { fill: var(--black); }
.hero-social svg { width: 17px; height: 17px; fill: #fff; }
.photo-fallback {
  display: flex; align-items: center; justify-content: center;
  background: var(--charcoal); color: var(--bronze);
  font-family: var(--serif); font-size: 90px; font-weight: 500;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px; font-family: var(--sans); font-weight: 400; font-size: 13px;
  letter-spacing: 2.5px; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; transition: all .22s ease;
  text-decoration: none !important; border-radius: 4px;
}
.btn-whatsapp { background: var(--green-wa); color: #fff; border-color: var(--green-wa); }
.btn-whatsapp:hover { background: #178f4a; color: #fff; }
.btn-coral { background: var(--black); color: #fff; border: 1px solid var(--black); transition: all .22s ease; }
.btn-coral:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline:hover { border-color: #fff; color: #fff; }
.btn-navy { background: transparent; color: var(--black); border-color: var(--black); }
.btn-navy:hover { background: var(--black); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 11.5px; letter-spacing: 2px; }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; background: var(--white); }
.section.alt { background: #fafafa; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); margin: 6px 0 14px; font-weight: 500; letter-spacing: -0.01em; }
.section-head p { color: var(--text-light); font-size: 16px; }

/* ---------- Cards de servicios ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card {
  background: var(--white); padding: 48px 38px;
  display: flex; flex-direction: column; transition: background .25s;
}
.card:hover { background: var(--cream); }
.card .icon {
  font-family: var(--serif); font-size: 15px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 18px; font-weight: 600;
}
.card .icon::after { content: ''; display: block; width: 34px; height: 1px; background: var(--bronze); margin-top: 14px; }
.card h3 { font-size: 26px; margin-bottom: 12px; }
.card p { color: var(--text-light); font-size: 15px; flex: 1; }
.card .btn { margin-top: 26px; align-self: flex-start; }

/* ---------- Bio ---------- */
.bio-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.bio-photo img, .bio-photo .photo-fallback {
  width: 100%; max-width: 420px; aspect-ratio: 1/1.08; object-fit: contain; object-position: bottom;
  border: none; padding: 0; background: transparent;
  filter: drop-shadow(0 16px 36px rgba(20,32,56,.22));
  transition: transform .4s ease;
}
.bio-photo img:hover { transform: scale(1.03) translateY(-4px); }
.bio-text h2 { font-size: 40px; margin-bottom: 18px; }
.bio-text p { margin-bottom: 16px; color: var(--text); font-size: 16px; }
.bio-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 28px 0; border-top: 1px solid var(--line); }
.bio-highlights div {
  border-bottom: 1px solid var(--line); padding: 14px 4px; font-size: 13px;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--charcoal); font-weight: 400;
}

/* ---------- Videos ---------- */
.videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.video-card { background: var(--black); position: relative; aspect-ratio: 4/5; overflow: hidden; display: flex; align-items: flex-end; }
.video-card video, .video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: all .35s; }
.video-card:hover video, .video-card:hover img { opacity: .9; transform: scale(1.03); }
.video-card .video-info { position: relative; z-index: 2; padding: 26px; width: 100%; background: linear-gradient(0deg, rgba(10,10,10,.85), transparent); }
.video-card .video-info span { color: #d8d8d8; font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase; }
.video-card .video-info h3 { color: #fff; font-size: 21px; margin-top: 6px; }
.video-card .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%);
  width: 64px; height: 64px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; z-index: 2; transition: all .25s;
}
.video-card:hover .play { background: rgba(255,255,255,.12); }
.video-card .play::after { content: ''; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }

/* ---------- Carrusel de transacciones ---------- */
.carrusel-tabs { display: flex; justify-content: center; gap: 0; margin-bottom: 36px; }
.ctab {
  background: transparent; border: 1px solid var(--line); border-radius: 0;
  padding: 12px 34px; font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-light); cursor: pointer; transition: all .2s;
}
.ctab:first-child { border-right: none; }
.ctab.active { background: var(--black); color: #fff; border-color: var(--black); }
.carrusel { position: relative; }
.car-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 4px 18px; scrollbar-width: thin;
}
.car-track::-webkit-scrollbar { height: 6px; }
.car-track::-webkit-scrollbar-thumb { background: var(--bronze); border-radius: 3px; }
.tx-card {
  flex: 0 0 300px; max-width: 300px; scroll-snap-align: start;
  background: var(--white); border: 1px solid var(--line); transition: box-shadow .25s;
}
.tx-card:hover { box-shadow: var(--shadow); }
.tx-img {
  height: 150px; background: var(--grad-night);
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; padding: 14px;
}
.tx-badge {
  background: var(--grad); color: #fff; font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; padding: 5px 12px; align-self: flex-start; position: absolute; top: 14px; left: 14px;
}
.tx-precio { color: #fff; font-family: var(--serif); font-size: 26px; font-weight: 500; }
.tx-body { padding: 20px; }
.tx-body h3 { font-size: 19px; margin-bottom: 4px; }
.tx-city { color: var(--bronze-dark); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.tx-det { color: var(--text-light); font-size: 14px; }
.car-nav {
  position: absolute; top: 92px; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); color: var(--black); font-size: 24px; cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center; transition: all .2s; box-shadow: var(--shadow);
}
.car-nav:hover { background: var(--black); color: #fff; border-color: var(--black); }
.car-nav.prev { left: -10px; }
.car-nav.next { right: -10px; }
@media (max-width: 900px) {
  .car-nav { display: none; }
  .tx-card { flex-basis: 78%; max-width: 78%; }
}

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .25s; }
.blog-card:hover { box-shadow: var(--shadow); }
.blog-card .blog-img {
  height: 150px; background: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--charcoal); letter-spacing: 1px;
  border-bottom: 1px solid var(--line); text-align: center; padding: 0 16px;
}
img.blog-img { width: 100%; max-height: 420px; object-fit: cover; margin: 0 0 32px; border-radius: 3px; display: block; }
.blog-card img.blog-img { height: 150px; max-height: 150px; margin: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.blog-card .blog-body { padding: 30px 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card .tag { font-size: 10.5px; font-weight: 500; color: var(--bronze); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 12px; }
.blog-card h3 { font-size: 22px; margin-bottom: 10px; line-height: 1.3; }
.blog-card p { color: var(--text-light); font-size: 14.5px; flex: 1; }
.blog-card .read-more { margin-top: 18px; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--black); border-bottom: 1px solid var(--bronze); align-self: flex-start; padding-bottom: 3px; }
.blog-card .read-more:hover { color: var(--bronze-dark); }

/* ---------- Artículo de blog ---------- */
.article { max-width: 780px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); padding: 40px 24px; }
.article h1 { font-size: clamp(28px, 6vw, 42px); line-height: 1.3; margin-bottom: 14px; font-weight: 700; color: var(--black); }
.article .meta { color: var(--text-light); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.article h2 { font-size: clamp(22px, 5vw, 30px); margin: 32px 0 14px; font-weight: 500; color: var(--black); }
.article h3 { font-size: clamp(18px, 4vw, 21px); margin: 24px 0 12px; font-weight: 500; color: #202124; border-left: 3px solid var(--bronze); padding-left: 12px; }
.article p, .article li { font-size: 16px; margin-bottom: 14px; line-height: 1.6; }
.article ul, .article ol { padding-left: 24px; margin-bottom: 16px; }
.article .article-cta { background: var(--cream); border-top: 2px solid var(--bronze); padding: 24px; margin-top: 32px; }

/* ---------- Guías (pasos) ---------- */
.steps { counter-reset: step; max-width: 820px; margin: 0 auto; }
.step {
  background: var(--white); border: 1px solid var(--line); border-bottom: none;
  padding: 32px 36px 32px 110px; position: relative;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 36px; top: 32px;
  font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--bronze);
}
.step h3 { font-size: 23px; margin-bottom: 6px; }
.step p { color: var(--text-light); font-size: 15px; }

/* ---------- Formulario ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); padding: 52px 56px; max-width: 680px; margin: 0 auto; }
.section.alt .form-card { background: var(--white); }
.form-card h3 { font-size: 30px; margin-bottom: 8px; text-align: center; }
.form-card .form-sub { text-align: center; color: var(--text-light); margin-bottom: 32px; font-size: 14.5px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 400; font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--charcoal); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 0;
  font-size: 15px; font-family: var(--sans); font-weight: 300; background: var(--white); transition: border .15s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--black);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-card .btn { width: 100%; justify-content: center; }
.form-success {
  display: none; background: var(--cream); border-top: 2px solid var(--green-wa); color: #14613a;
  padding: 18px; margin-top: 18px; font-weight: 400; text-align: center; font-size: 15px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #a8a8a8; padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.site-footer h4 { color: #fff; font-family: var(--serif); font-size: 20px; font-weight: 500; margin-bottom: 18px; }
.site-footer a { color: #a8a8a8; display: block; margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  display: inline-flex !important; align-items: center; justify-content: center;
  transition: all .2s; margin-bottom: 0 !important;
}

/* ---------- Footer Partners ---------- */
.footer-partners {
  background: #fff;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 36px 24px;
  margin-bottom: 0;
}
.footer-partners > p { color: #555 !important; }
.partners-logos {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: partnerFloat 3.4s ease-in-out infinite;
}
.partner-logo:nth-child(2) { animation-delay: .55s; }
.partner-logo:nth-child(3) { animation-delay: 1.1s; }
.partner-logo:hover {
  opacity: 1 !important;
  transform: translateY(-6px);
  animation-play-state: paused;
}
@keyframes partnerFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .partner-logo { animation: none; } }
.partner-logo img {
  max-height: 60px;
  width: auto;
  opacity: 1 !important;
}
}
.footer-social a:hover { border-color: #fff; background: #fff; }
.footer-social a:hover svg { fill: var(--black); }
.footer-social a.yt:hover { border-color: #c00; background: #c00; }
.footer-social svg { width: 17px; height: 17px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; text-align: center; font-size: 12px; letter-spacing: 1.5px; color: #7a7a7a; text-transform: uppercase; }
.footer-bottom a { display: inline; color: #a8a8a8; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-wa); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(10,10,10,.25); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 22px; height: 22px; fill: #fff; }

/* ---------- Reseñas ---------- */
.trust-row { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; margin: 0 auto 46px; max-width: 760px; }
.trust-stat { flex: 1; min-width: 160px; text-align: center; padding: 18px 20px; border-right: 1px solid var(--line); }
.trust-stat:last-child { border-right: none; }
.trust-stat strong { display: block; font-family: var(--serif); font-size: 44px; font-weight: 600; color: var(--bronze); line-height: 1; }
.trust-stat span { display: block; margin-top: 8px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-light); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--white); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review-card .stars { color: var(--bronze); letter-spacing: 3px; font-size: 15px; }
.review-txt { font-family: var(--serif); font-size: 18px; font-style: italic; line-height: 1.55; color: var(--text); margin: 14px 0 20px; flex: 1; }
.review-autor { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.review-ini { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 15px; flex-shrink: 0; }
.review-autor strong { display: block; font-size: 15px; color: var(--charcoal); }
.review-autor small { color: var(--text-light); font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ---------- Galería de propiedad (lightbox) ---------- */
.tx-card.tiene-foto { cursor: pointer; }
.tx-card.tiene-foto .tx-img { background-size: cover; background-position: center; }
.tx-vermas {
  position: absolute; bottom: 14px; right: 14px; background: rgba(20,17,15,.72);
  color: #fff; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 12px; border: 1px solid rgba(255,255,255,.3);
}
.gal-lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(12,9,16,.94); align-items: center; justify-content: center; gap: 10px; padding: 20px;
}
.gal-centro { display: flex; flex-direction: column; align-items: center; max-width: 90vw; max-height: 90vh; }
.gal-centro img { max-width: 86vw; max-height: 80vh; object-fit: contain; border: 1px solid rgba(255,255,255,.15); }
.gal-info { color: #fff; margin-top: 14px; display: flex; gap: 18px; align-items: center; font-family: var(--serif); font-size: 20px; }
.gal-info #gal-cont { font-family: var(--sans); font-size: 13px; color: #d8d8d8; letter-spacing: 2px; }
.gal-nav, .gal-cerrar {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); color: #fff;
  cursor: pointer; transition: all .2s; flex-shrink: 0;
}
.gal-nav { width: 54px; height: 54px; border-radius: 50%; font-size: 28px; }
.gal-nav:hover, .gal-cerrar:hover { background: #fff; border-color: #fff; color: var(--black); }
.gal-cerrar { position: absolute; top: 20px; right: 24px; width: 46px; height: 46px; border-radius: 50%; font-size: 26px; }
@media (max-width: 700px) { .gal-nav { width: 44px; height: 44px; font-size: 22px; } .gal-centro img { max-width: 92vw; } }

/* ---------- Motion premium ---------- */
/* Banda deslizante de zonas */
.marquee {
  background: var(--black); color: var(--cream); overflow: hidden; white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15);
  padding: 16px 0;
}
.marquee-track { display: inline-flex; gap: 0; animation: marquee 32s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-size: 22px; font-style: italic; padding: 0 34px; display: inline-flex; align-items: center; }
.marquee span::after { content: '✦'; color: #d8d8d8; font-style: normal; font-size: 13px; margin-left: 34px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Título animado palabra por palabra */
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(22px); animation: wordIn .6s cubic-bezier(.16,.7,.3,1) forwards; }
@keyframes wordIn { to { opacity: 1; transform: translateY(0); } }

/* Hover cinematográfico en tarjetas */
.card, .tx-card, .blog-card { transition: transform .35s cubic-bezier(.16,.7,.3,1), box-shadow .35s ease; }
.card:hover, .blog-card:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(20,17,15,.16); }
.tx-card:hover { transform: translateY(-8px) scale(1.015); box-shadow: 0 22px 50px rgba(20,17,15,.18); }
.tx-card { overflow: hidden; }
.tx-card .tx-img { transition: filter .35s ease; }
.tx-card:hover .tx-img { filter: brightness(1.12) saturate(1.1); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero h1 .w { animation: none; opacity: 1; transform: none; }
}

/* ---------- Motion: aparición al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,.7,.3,1); }
.reveal-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Pulido UI/UX (ui-ux-pro-max) ---------- */
/* Scrollbar dorada premium */
html { scrollbar-color: var(--bronze) var(--cream); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--bronze); border: 3px solid var(--cream); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--bronze-dark); }
/* Línea decorativa dorada bajo el título de cada sección */
.section-head h2::after {
  content: ''; display: block; width: 54px; height: 2px; background: var(--bronze);
  margin: 18px auto 0;
}
/* Las cards interiores no necesitan la raya del section-head */
.bio-text h2::after, .article h1::after { display: none; }
/* Eyebrow con pequeña marca a los lados (refinamiento editorial) */
.section-head .eyebrow { position: relative; }
/* Botones: micro-elevación premium al pasar el mouse */
.btn { transition: all .25s cubic-bezier(.16,.7,.3,1); }
.btn-navy:hover, .btn-outline:hover { transform: translateY(-2px); }

/* ---------- Responsive ---------- */
/* Accesibilidad: foco visible elegante en navegación por teclado */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, .ctab:focus-visible {
  outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 2px;
}
/* Cursor en todo lo clicable */
.ctab, .car-nav, .nav-toggle, .lang-toggle, button, [onclick], .tx-card.tiene-foto { cursor: pointer; }
/* Selección de texto con color de marca */
::selection { background: var(--bronze); color: #fff; }
/* Imágenes nunca rebasan */
img { max-width: 100%; }
/* Transición suave global de color en enlaces */
a { transition: color .2s ease; }
/* Marca del header con tipografía display premium */
.brand-text { font-family: var(--display); letter-spacing: .5px; }

/* ---------- Contact Section with Floating Icons ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; max-width: 1040px; margin: 0 auto; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 34px; } }
.contact-reviews h3 { font-size: 21px; color: var(--charcoal); margin-bottom: 4px; }
.contact-reviews .cr-sub { color: var(--text-light); font-size: 14px; margin-bottom: 18px; }
.contact-reviews .review-card { margin-bottom: 14px; padding: 20px 22px; }
.contact-reviews .review-txt { font-size: 15.5px; margin: 8px 0 12px; }
.contact-reviews .review-autor { padding-top: 12px; }
.contact-stats { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.contact-stats div { flex: 1; min-width: 105px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 13px 10px; text-align: center; }
.contact-stats b { display: block; font-size: 21px; color: var(--bronze); font-family: var(--serif); }
.contact-stats small { color: var(--text-light); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.form-card { background: var(--cream); padding: 48px; border-radius: 12px; }
.form-card h3 { margin-top: 0; margin-bottom: 8px; color: var(--black); }
.form-sub { color: var(--text-light); font-size: 14px; margin-bottom: 28px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 500; color: var(--black); margin-bottom: 8px; font-size: 14px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; font-family: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--text);
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--bronze);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { margin-top: 16px; color: var(--green-wa); font-size: 14px; text-align: center; display: none; }
.form-success.show { display: block; }

.contact-right {
  display: flex; flex-direction: column; gap: 32px; align-items: center;
}
.brand-identity {
  width: 100%; max-width: 400px;
}
.brand-subtitle {
  text-align: center; color: var(--text-light); font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
  font-weight: 500;
}
.miami-precision-design {
  width: 100%; max-width: 380px; height: auto; border-radius: 12px;
  box-shadow: 0 16px 40px rgba(20, 20, 20, 0.12);
  display: block;
}
.contact-photo-container {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 320px; height: 380px;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.10) 0%, rgba(20, 20, 20, 0.04) 100%);
  border-radius: 16px;
}
.contact-photo {
  width: 280px; height: 360px; object-fit: cover; border-radius: 12px;
  box-shadow: 0 24px 48px rgba(22, 36, 77, 0.22); position: relative; z-index: 2;
}
/* En móvil la foto de contacto se ve apretada: se oculta y el formulario ocupa todo. */
@media (max-width: 768px) {
  .contact-right { display: none; }
}
.floating-icons {
  position: absolute; width: 100%; height: 100%; top: 0; left: 0;
}
.icon-float {
  position: absolute; width: 70px; height: 70px;
  animation: float 6s ease-in-out infinite;
  animation-delay: calc(var(--index) * 1.5s);
}
.icon-float:nth-child(1) { top: 20px; right: 0; }
.icon-float:nth-child(2) { top: 50%; right: -15px; transform: translateY(-50%); }
.icon-float:nth-child(3) { bottom: 40px; left: 0; }
.icon-float:nth-child(4) { bottom: 60px; right: 20px; }
.icon-badge {
  display: flex; align-items: center; justify-content: center;
  width: 70px; height: 70px; background: var(--cream); border: 2px solid var(--bronze);
  border-radius: 50%; font-size: 36px; cursor: default;
  box-shadow: 0 8px 20px rgba(20, 20, 20, 0.15);
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .bio-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { order: -1; }
  .hero-photo img, .hero-photo .photo-fallback { max-width: 280px; }
  .cards-3, .blog-grid, .videos-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: clamp(22px, 5.5vw, 36px); line-height: 1.25; margin-bottom: 14px; }
  .hero p.lead { font-size: 15px; line-height: 1.5; margin-bottom: 20px; }
  .hero-grid { gap: 30px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 20px; line-height: 1.25; margin-bottom: 12px; }
  .hero p.lead { font-size: 14px; margin-bottom: 16px; }
  .hero { padding: 48px 16px; }
  .article { padding: 20px 14px; }
  .article h1 { font-size: 22px; margin-bottom: 10px; line-height: 1.3; }
  .article h2 { font-size: 18px; margin: 20px 0 10px; line-height: 1.3; }
  .article h3 { font-size: 16px; margin: 16px 0 8px; line-height: 1.3; }
  .article p, .article li { font-size: 14px; line-height: 1.6; }
  .article .meta { font-size: 11px; margin-bottom: 16px; padding-bottom: 10px; }
  .article .article-cta { padding: 16px; margin-top: 20px; }
}
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--black); flex-direction: column; padding: 24px; gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .article { padding: 36px 26px; }
  .form-card { padding: 36px 26px; }
  .step { padding: 28px 24px 28px 84px; }
  .step::before { left: 24px; }
}
