/* ============================================================
   HAUZEN PROYECTOS INMOBILIARIOS — styles.css
   Tipografía: Poppins | Diseño: Premium Boutique
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  --teal:         #2B9E8F;
  --teal-hover:   #22816F;
  --teal-pale:    #EAF6F4;
  --teal-light:   #3DBDAC;
  --magenta:      #C0136A;
  --magenta-hover:#9E0E58;
  --magenta-pale: #FCE8F3;
  --white:        #FFFFFF;
  --off-white:    #FAFAF9;
  --beige:        #F5F2ED;
  --dark:         #1A1A1A;
  --gray-dark:    #3D3D3D;
  --gray-mid:     #6B6B6B;
  --gray-light:   #ADADAD;
  --gray-pale:    #F0EEE9;
  --border:       #E5E0D8;

  --ff: 'Poppins', system-ui, sans-serif;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 100px;

  --shadow-sm:   0 1px 8px rgba(0,0,0,.06);
  --shadow-card: 0 4px 24px rgba(0,0,0,.07);
  --shadow-hover:0 10px 40px rgba(0,0,0,.13);

  --tr: .28s cubic-bezier(.4,0,.2,1);
  --max-w: 1180px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.75rem);
}

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .10s; }
.delay-2 { transition-delay: .20s; }
.delay-3 { transition-delay: .32s; }
.delay-4 { transition-delay: .44s; }
.delay-5 { transition-delay: .56s; }

/* ---- UTILITIES ---- */
.mt-05 { margin-top: .5rem; }
.mt-1  { margin-top: 1rem; }
.mt-2  { margin-top: 2rem; }

.eyebrow {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--dark);
}
.section-sub {
  color: var(--gray-mid);
  font-size: .92rem;
  line-height: 1.85;
  max-width: 54ch;
  margin-top: .85rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .section-sub { margin-inline: auto; }

.body-text { font-size: .93rem; color: var(--gray-mid); line-height: 1.85; }

.accent-teal        { color: var(--teal); }
.accent-teal-italic { color: var(--teal); font-style: italic; font-weight: 400; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .78rem 1.75rem;
  border-radius: var(--radius-xl);
  font-family: var(--ff);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all var(--tr);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(43,158,143,.28);
}
.btn-primary:hover {
  background: var(--teal-hover);
  box-shadow: 0 7px 28px rgba(43,158,143,.38);
  transform: translateY(-2px);
}
.btn-ghost-magenta {
  background: transparent;
  color: var(--magenta);
  border: 1.5px solid var(--magenta);
}
.btn-ghost-magenta:hover {
  background: var(--magenta);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--teal);
}
.btn-white:hover { background: var(--teal-pale); transform: translateY(-2px); }
.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.55);
}
.btn-ghost-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-full { width: 100%; justify-content: center; }
.btn-sm   { padding: .58rem 1.3rem; font-size: .78rem; }


/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: .9rem 0;
  transition: background var(--tr), box-shadow var(--tr), padding var(--tr);
}
.navbar.scrolled {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  padding: .6rem 0;
}
.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.75rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo { display: flex; align-items: center; }
.logo-img {
  height: 58px;
  width: auto;
  /* Logo transparente, fondo blanco eliminado */
  transition: opacity var(--tr);
}
.logo-img:hover { opacity: .82; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-item {
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-dark);
  transition: color var(--tr);
  white-space: nowrap;
}
.nav-item:hover { color: var(--teal); }
.nav-chevron { font-size: .7rem; }

.nav-cta-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--teal);
  color: var(--white);
  padding: .55rem 1.25rem;
  border-radius: var(--radius-xl);
  font-size: .8rem;
  font-weight: 600;
  box-shadow: 0 3px 14px rgba(43,158,143,.22);
  transition: all var(--tr);
  white-space: nowrap;
}
.nav-cta-btn:hover {
  background: var(--teal-hover);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .35rem;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--tr);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ============================================================
   HERO (APROBADO)
   ============================================================ */
.hero {
  background: var(--white);
  padding-top: 7.5rem;
  padding-bottom: 0;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.75rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding-bottom: 3rem;
}

/* Texto */
.hero-eyebrow {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: .6rem;
}
.hero-eyebrow-line {
  width: 36px;
  height: 2.5px;
  background: var(--magenta);
  border-radius: 2px;
  margin-bottom: 1.4rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--dark);
  margin-bottom: 1.2rem;
}
.hero-title-accent { color: var(--teal); }
.hero-sub {
  font-size: .95rem;
  color: var(--gray-mid);
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 44ch;
}
.hero-sub strong { color: var(--dark); font-weight: 600; }
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Imagen */
.hero-image-col { position: relative; }
.hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Trust bar */
.hero-trustbar {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.75rem);
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  padding-block: 1.4rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex: 1;
  padding-inline: 1.6rem;
}
.trust-item:first-child { padding-left: 1.8rem; }
.trust-item:last-child  { padding-right: 1.8rem; }
.trust-icon { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.trust-svg-icon {
  width: 44px;
  height: 52px;
  color: var(--teal);
  flex-shrink: 0;
}
.trust-item strong {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .15rem;
}
.trust-item span {
  display: block;
  font-size: .74rem;
  color: var(--gray-mid);
  line-height: 1.55;
}
.trust-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* Tagline bar */
.hero-tagline-bar {
  background: var(--beige);
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
  margin-top: 0;
}
.hero-tagline-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.75rem);
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.tagline-bar-line {
  width: 3px;
  height: 22px;
  background: var(--magenta);
  border-radius: 2px;
  flex-shrink: 0;
}
.tagline-text {
  font-size: .88rem;
  color: var(--gray-dark);
  flex: 1;
}
.tagline-teal { color: var(--teal); font-weight: 600; }
.tagline-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal);
  white-space: nowrap;
  transition: color var(--tr);
}
.tagline-link:hover { color: var(--teal-hover); }


/* ============================================================
   DIFERENCIADORA
   ============================================================ */
.dif {
  padding: 6rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.dif-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.dif-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-card);
}
.dif-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.dif-img-wrap:hover img { transform: scale(1.04); }
.dif-quote {
  display: block;
  border-left: 3.5px solid var(--magenta);
  padding: .9rem 1.3rem;
  background: var(--magenta-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .95rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.6;
  margin: 1.8rem 0 2rem;
}


/* ============================================================
   PILARES
   ============================================================ */
.pilares {
  background: var(--off-white);
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.pilar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.4rem 1.8rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--tr), transform var(--tr);
  position: relative;
  overflow: hidden;
}
.pilar-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.pilar-icon-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  padding: 1rem;
}
.teal-bg    { background: var(--teal-pale); }
.magenta-bg { background: var(--magenta-pale); }
.gray-bg    { background: #F0F0F0; }

.pilar-icon-img { width: 58px; height: 58px; object-fit: contain; }
/* Ícono de confianza tiene fondo negro, lo invertimos para que se vea sobre gris claro */
.pilar-icon-invert { /* Icono sobre fondo blanco — sin filtro */ }

.pilar-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .6rem;
}
.pilar-line {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  margin: 0 auto .9rem;
}
.teal-line    { background: var(--teal); }
.magenta-line { background: var(--magenta); }
.gray-line    { background: var(--gray-light); }

.pilar-desc { font-size: .86rem; color: var(--gray-mid); line-height: 1.85; text-align: center; }


/* ============================================================
   SERVICIOS
   ============================================================ */
.servicios {
  background: var(--white);
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.srv-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--tr), transform var(--tr);
  position: relative;
}
.srv-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }

.srv-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.srv-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.srv-card:hover .srv-img-wrap img { transform: scale(1.07); }
.srv-overlay {
  position: absolute;
  bottom: .8rem;
  left: .8rem;
}
.srv-icon-bubble {
  width: 44px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.srv-icon-bubble svg { width: 22px; height: 22px; }
.teal-bubble    { background: rgba(234,246,244,.95); color: var(--teal); }
.magenta-bubble { background: rgba(252,232,243,.95); color: var(--magenta); }

.srv-body {
  padding: 1.3rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}
.srv-title { font-size: .97rem; font-weight: 700; color: var(--dark); line-height: 1.3; }
.srv-desc  { font-size: .81rem; color: var(--gray-mid); line-height: 1.7; flex: 1; }
.srv-link  { font-size: .8rem; font-weight: 600; transition: color var(--tr); margin-top: .3rem; }
.teal-link    { color: var(--teal); }
.teal-link:hover { color: var(--teal-hover); }
.magenta-link    { color: var(--magenta); }
.magenta-link:hover { color: var(--magenta-hover); }

.srv-bottom-bar {
  height: 3px;
  width: 100%;
}
.teal-bar    { background: var(--teal); }
.magenta-bar { background: var(--magenta); }

/* Tagline bajo servicios */
.servicios-tagline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.1rem 1.6rem;
  background: var(--beige);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.servicios-tagline p { font-size: .88rem; color: var(--gray-dark); }


/* ============================================================
   PROPIEDADES DESTACADAS
   ============================================================ */
.propiedades {
  background: var(--off-white);
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
/* Tarjetas generadas por JS */
.prop-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--tr), transform var(--tr);
}
.prop-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }

.prop-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.prop-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.prop-card:hover .prop-img-wrap img { transform: scale(1.06); }
.prop-tipo-badge {
  position: absolute;
  top: .8rem;
  left: .8rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: var(--radius-xl);
  color: var(--white);
}
.badge-renta { background: var(--magenta); }
.badge-venta { background: var(--teal); }

.prop-body {
  padding: 1.3rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
}
.prop-ubicacion {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .76rem;
  color: var(--gray-mid);
  font-weight: 500;
}
.prop-ubicacion svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--teal); }
.prop-precio {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.prop-desc { font-size: .8rem; color: var(--gray-mid); line-height: 1.7; flex: 1; }
.prop-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .5rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--teal);
  transition: color var(--tr), gap var(--tr);
}
.prop-link:hover { color: var(--teal-hover); gap: .5rem; }

.propiedades-cta { text-align: center; margin-top: 2.5rem; }


/* ============================================================
   PROCESO
   ============================================================ */
.proceso {
  background: var(--beige);
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.proceso-steps {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.proceso-steps::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--teal-light), var(--border));
}
.paso {
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
  padding: 1.2rem 0;
  position: relative;
}
.paso-num {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .9rem;
  font-weight: 700;
  color: var(--teal);
  z-index: 1;
  transition: all var(--tr);
}
.paso:hover .paso-num { background: var(--teal); color: var(--white); }
.paso-title { font-size: .97rem; font-weight: 700; color: var(--dark); margin-bottom: .3rem; }
.paso-desc  { font-size: .85rem; color: var(--gray-mid); line-height: 1.75; max-width: 46ch; }
.proceso-cta { text-align: center; }


/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonios {
  background: var(--white);
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.testi-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow var(--tr), transform var(--tr);
}
.testi-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.testi-card.featured { background: var(--teal-pale); border-color: rgba(43,158,143,.25); }

.testi-quote-icon {
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--teal);
  opacity: .35;
  margin-bottom: -.5rem;
}
.testi-text {
  font-size: .88rem;
  color: var(--gray-dark);
  line-height: 1.8;
  flex: 1;
}
.testi-footer { display: flex; align-items: center; gap: .85rem; }
.testi-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.teal-initials    { background: var(--teal); }
.magenta-initials { background: var(--magenta); }
.testi-name {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--dark);
}
.testi-service {
  display: block;
  font-size: .75rem;
  color: var(--gray-light);
}


/* ============================================================
   BANNER CTA
   ============================================================ */
.banner-cta {
  background: linear-gradient(135deg, var(--teal) 0%, #1d7a6d 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.banner-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.banner-inner { text-align: center; position: relative; }
.banner-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.22;
  margin-bottom: .9rem;
}
.banner-title span { color: rgba(255,255,255,.82); }
.banner-sub  { color: rgba(255,255,255,.75); font-size: .93rem; margin-bottom: 2rem; }
.banner-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }


/* ============================================================
   CONTACTO
   ============================================================ */
.contacto {
  background: var(--beige);
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contacto-datos { display: flex; flex-direction: column; gap: .75rem; }
.dato-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .88rem;
  color: var(--gray-dark);
}
.dato-row svg { width: 17px; height: 17px; color: var(--teal); flex-shrink: 0; }
.honorarios-note {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  background: var(--teal-pale);
  border: 1px solid rgba(43,158,143,.2);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
}
.honorarios-note svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; margin-top: .1rem; }
.honorarios-note p  { font-size: .84rem; color: var(--gray-dark); line-height: 1.65; }
.honorarios-note strong { color: var(--teal); }

/* Form */
.contacto-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.contacto-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: .36rem; }
.form-group label { font-size: .76rem; font-weight: 600; color: var(--gray-dark); letter-spacing: .02em; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem .95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  font-family: var(--ff);
  font-size: .88rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--tr), box-shadow var(--tr);
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-light); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(43,158,143,.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.select-wrap { position: relative; }
.select-wrap select { padding-right: 2.4rem; cursor: pointer; }
.select-arrow {
  position: absolute;
  right: .85rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 15px;
  height: 15px;
  color: var(--gray-mid);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #e05050; }
.form-disclaimer { font-size: .75rem; color: var(--gray-light); text-align: center; line-height: 1.6; }
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  padding: 1.4rem;
  background: var(--teal-pale);
  border: 1px solid rgba(43,158,143,.25);
  border-radius: var(--radius-sm);
  text-align: center;
}
.form-success svg { width: 32px; height: 32px; color: var(--teal); }
.form-success strong { color: var(--teal); font-size: .97rem; }
.form-success span   { font-size: .84rem; color: var(--gray-mid); }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #111111;
  color: var(--white);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  border-radius: 6px;
  height: 40px;
  width: auto;
  margin-bottom: .9rem;
  /* Logo tiene fondo negro, se verá bien sobre el footer oscuro */
}
.footer-tagline { font-size: .84rem; color: rgba(255,255,255,.5); line-height: 1.75; margin-bottom: 1.4rem; }
.footer-social { display: flex; flex-direction: column; gap: .65rem; }
.social-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  transition: color var(--tr);
}
.social-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.social-link:hover { color: var(--teal-light); }
.footer-nav h4 {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.1rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-nav a { font-size: .84rem; color: rgba(255,255,255,.6); transition: color var(--tr); }
.footer-nav a:hover { color: var(--teal-light); }
.footer-contact-col h4 {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.1rem;
}
.footer-contact-col p { font-size: .84rem; color: rgba(255,255,255,.6); margin-bottom: .45rem; }
.footer-bottom {
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.28); }
.footer-legal    { letter-spacing: .01em; }


/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  z-index: 90;
  transition: transform var(--tr), box-shadow var(--tr);
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,.5); }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact-col { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 3rem; flex-wrap: wrap; }
  .hero-trustbar { flex-wrap: wrap; gap: 1rem; padding: 1.2rem 1.4rem; }
  .trust-divider { display: none; }
  .trust-item { flex: 0 0 calc(50% - .5rem); padding-inline: .5rem; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-col { display: none; }
  .hero { padding-top: 6.5rem; }
  .dif-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .pilares-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .properties-grid { grid-template-columns: 1fr 1fr; }
  .hero-tagline-inner { flex-wrap: wrap; gap: .8rem; }
  .tagline-link { margin-left: auto; }
}

@media (max-width: 640px) {
  .servicios-grid { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .banner-actions { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row-2 { grid-template-columns: 1fr; }
  .trust-item { flex: 0 0 100%; }

  /* Mobile nav */
  .nav-links {
    display: none;
    position: fixed;
    inset: 62px 0 0 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-item { font-size: 1.05rem; }
  .hamburger { display: flex; }
  .nav-cta-btn { padding: .7rem 2rem; font-size: .88rem; }
}

@media (min-width: 641px) {
  .hamburger { display: none; }
}


/* ============================================================
   SEGURIDAD: el formulario y su contenedor NUNCA quedan ocultos
   (protección contra IntersectionObserver que no se dispara)
   ============================================================ */
.contacto-form-wrap {
  opacity: 1 !important;
  transform: none !important;
}
.contacto-form,
.contacto-form * {
  visibility: visible !important;
}
