/* =========================================================================
   URALHN Bienes Raíces — Hoja de estilos principal
   Dirección de diseño: minimalismo institucional refinado.
   Paleta azul disciplinada, mucho aire, motivos arquitectónicos.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Variables de diseño (identidad visual del logo)
   ------------------------------------------------------------------------- */
:root {
  /* Paleta basada en el logo */
  --uralhn-primary:   #002B5C; /* Azul marino — texto y base institucional */
  --uralhn-secondary: #005BBB; /* Azul medio — enlaces y acentos sólidos   */
  --uralhn-accent:    #00A3FF; /* Azul eléctrico / celeste — destellos      */
  --uralhn-dark:      #071B33; /* Azul casi negro — fondos profundos        */
  --uralhn-light:     #F4F7FB; /* Gris azulado muy claro — fondos suaves    */
  --uralhn-white:     #FFFFFF;
  --uralhn-gray:      #6B7280; /* Gris para textos secundarios              */
  --uralhn-border:    #D9E2EF; /* Bordes suaves                             */

  /* Texto */
  --uralhn-text:      #14253D;
  --uralhn-heading:   #002B5C;

  /* Degradados */
  --uralhn-gradient:        linear-gradient(135deg, #002B5C 0%, #005BBB 60%, #00A3FF 100%);
  --uralhn-gradient-deep:   linear-gradient(160deg, #071B33 0%, #002B5C 70%);
  --uralhn-gradient-light:  linear-gradient(180deg, #FFFFFF 0%, #F4F7FB 100%);

  /* Sombras discretas */
  --uralhn-shadow-sm: 0 1px 3px rgba(7, 27, 51, 0.06), 0 1px 2px rgba(7, 27, 51, 0.04);
  --uralhn-shadow:    0 8px 24px rgba(7, 27, 51, 0.08);
  --uralhn-shadow-lg: 0 18px 50px rgba(7, 27, 51, 0.14);

  /* Tipografía */
  --uralhn-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --uralhn-font-body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Métricas */
  --uralhn-radius:    14px;
  --uralhn-radius-sm: 9px;
  --uralhn-radius-lg: 22px;
  --uralhn-container: 1200px;
  --uralhn-gutter:    clamp(1.25rem, 4vw, 2.5rem);
  --uralhn-header-h:  78px;

  --uralhn-transition: 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* -------------------------------------------------------------------------
   2. Reset y base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--uralhn-font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--uralhn-text);
  background: var(--uralhn-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--uralhn-secondary);
  text-decoration: none;
  transition: color var(--uralhn-transition);
}
a:hover { color: var(--uralhn-accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--uralhn-font-display);
  color: var(--uralhn-heading);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }

/* Foco accesible visible */
:focus-visible {
  outline: 3px solid var(--uralhn-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Utilidad de accesibilidad: ocultar visualmente conservando lectores */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px; width: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  position: absolute !important;
  word-wrap: normal !important;
}

/* Enlace "saltar al contenido" */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1000;
  background: var(--uralhn-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--uralhn-radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* -------------------------------------------------------------------------
   3. Layout: contenedor y secciones
   ------------------------------------------------------------------------- */
.uralhn-container {
  width: 100%;
  max-width: var(--uralhn-container);
  margin-inline: auto;
  padding-inline: var(--uralhn-gutter);
}

.uralhn-section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.uralhn-section--light { background: var(--uralhn-light); }
.uralhn-section--deep  { background: var(--uralhn-gradient-deep); color: rgba(255,255,255,0.86); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(2.2rem, 5vw, 3.5rem);
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--uralhn-font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--uralhn-secondary);
  margin-bottom: 0.9rem;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.85rem); }
.section-deep .section-title,
.uralhn-section--deep .section-title { color: #fff; }
.section-subtitle {
  font-size: 1.08rem;
  color: var(--uralhn-gray);
  margin-top: 0.6rem;
}
.uralhn-section--deep .section-subtitle { color: rgba(255,255,255,0.72); }

/* -------------------------------------------------------------------------
   4. Botones institucionales
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--uralhn-font-body);
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: var(--uralhn-radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--uralhn-transition),
              box-shadow var(--uralhn-transition),
              background var(--uralhn-transition),
              color var(--uralhn-transition);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn-primary {
  background: var(--uralhn-primary);
  color: #fff;
  box-shadow: var(--uralhn-shadow-sm);
}
.btn-primary:hover {
  background: var(--uralhn-secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--uralhn-shadow);
}

.btn-accent {
  background: var(--uralhn-accent);
  color: var(--uralhn-dark);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: var(--uralhn-shadow); color: var(--uralhn-dark); }

.btn-outline {
  background: transparent;
  color: var(--uralhn-primary);
  border-color: var(--uralhn-border);
}
.btn-outline:hover {
  border-color: var(--uralhn-secondary);
  color: var(--uralhn-secondary);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--uralhn-primary);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--uralhn-shadow-lg); color: var(--uralhn-primary); }

.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); color:#fff; transform: translateY(-2px); }

.btn-whatsapp { background: #25D366; color: #06351a; }
.btn-whatsapp:hover { background: #1ebe5a; color:#06351a; transform: translateY(-2px); box-shadow: var(--uralhn-shadow); }

.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.02rem; }

/* -------------------------------------------------------------------------
   5. Header
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--uralhn-border);
  transition: box-shadow var(--uralhn-transition);
}
.site-header.is-scrolled { box-shadow: var(--uralhn-shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--uralhn-header-h);
}

.site-branding { display: flex; align-items: center; }
.site-branding a { display: inline-flex; align-items: center; }
.site-branding img,
.site-branding .custom-logo { max-height: 56px; width: auto; }
.site-branding .brand-logo { display: inline-flex; align-items: center; }
.site-branding .brand-logo img { height: 54px; width: auto; }
.brand-fallback {
  display: flex; align-items: center; gap: 0.65rem;
}
.brand-fallback .brand-name {
  font-family: var(--uralhn-font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--uralhn-primary);
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand-fallback .brand-tag {
  display: block;
  font-family: var(--uralhn-font-body);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  color: var(--uralhn-secondary);
  text-transform: uppercase;
  margin-top: 3px;
}

/* Navegación principal */
.main-navigation { display: flex; align-items: center; gap: 2rem; }
.main-navigation ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0; padding: 0;
}
.main-navigation a {
  display: inline-block;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--uralhn-text);
  padding: 0.55rem 0.95rem;
  border-radius: var(--uralhn-radius-sm);
  position: relative;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--uralhn-primary);
  background: var(--uralhn-light);
}
.main-navigation .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.6;
}

/* Submenús */
.main-navigation ul ul {
  position: absolute;
  top: 100%; left: 0;
  flex-direction: column;
  align-items: stretch;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--uralhn-border);
  border-radius: var(--uralhn-radius);
  box-shadow: var(--uralhn-shadow);
  padding: 0.5rem;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all var(--uralhn-transition);
}
.main-navigation li { position: relative; }
.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

/* El botón "Contáctenos" del interior del menú solo se usa en móvil. */
.mobile-cta { display: none; }
/* Asegura texto blanco legible cuando el botón aparece dentro del menú móvil. */
.main-navigation .mobile-cta .btn-primary,
.main-navigation .mobile-cta .btn-primary:hover { color: #fff; }

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0;
  background: var(--uralhn-light);
  border: 1px solid var(--uralhn-border);
  border-radius: var(--uralhn-radius-sm);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  margin: 0 auto;
  background: var(--uralhn-primary);
  border-radius: 2px;
  transition: transform var(--uralhn-transition), opacity var(--uralhn-transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--uralhn-gradient-light);
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--uralhn-secondary);
  background: rgba(0,163,255,0.10);
  border: 1px solid rgba(0,91,187,0.16);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.hero-title {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  line-height: 1.05;
  margin-bottom: 1.2rem;
}
.hero-title .accent { color: var(--uralhn-secondary); font-style: italic; }
.hero-text {
  font-size: 1.14rem;
  color: #41546e;
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--uralhn-border);
}
.hero-stat .num {
  font-family: var(--uralhn-font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--uralhn-primary);
  display: block;
  line-height: 1;
}
.hero-stat .label { font-size: 0.86rem; color: var(--uralhn-gray); }

/* Composición arquitectónica del hero (visual SVG/CSS sin imágenes externas) */
.hero-visual { position: relative; }
.hero-visual-card {
  position: relative;
  border-radius: var(--uralhn-radius-lg);
  overflow: hidden;
  box-shadow: var(--uralhn-shadow-lg);
  background: var(--uralhn-gradient-deep);
  aspect-ratio: 4 / 5;
}
.hero-visual-card svg { width: 100%; height: 100%; display: block; }
.hero-visual-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Tarjeta flotante sobre el hero */
.hero-float {
  position: absolute;
  left: -22px; bottom: 36px;
  background: #fff;
  border: 1px solid var(--uralhn-border);
  border-radius: var(--uralhn-radius);
  box-shadow: var(--uralhn-shadow-lg);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 250px;
}
.hero-float .icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--uralhn-light);
  color: var(--uralhn-secondary);
  flex: none;
}
.hero-float .icon svg { width: 22px; height: 22px; }
.hero-float strong { color: var(--uralhn-primary); font-size: 0.95rem; }
.hero-float span { font-size: 0.8rem; color: var(--uralhn-gray); }

/* Patrón de líneas arquitectónicas de fondo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,91,187,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,91,187,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
  pointer-events: none;
}

/* -------------------------------------------------------------------------
   7. Servicios
   ------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--uralhn-border);
  border-radius: var(--uralhn-radius);
  padding: 2rem 1.7rem;
  transition: transform var(--uralhn-transition), box-shadow var(--uralhn-transition), border-color var(--uralhn-transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--uralhn-shadow);
  border-color: rgba(0,91,187,0.25);
}
.service-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--uralhn-radius-sm);
  background: var(--uralhn-light);
  color: var(--uralhn-secondary);
  margin-bottom: 1.2rem;
  transition: background var(--uralhn-transition), color var(--uralhn-transition);
}
.service-card:hover .service-icon { background: var(--uralhn-gradient); color: #fff; }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.service-card p { color: var(--uralhn-gray); font-size: 0.97rem; margin: 0; }

/* -------------------------------------------------------------------------
   7b. Quiénes somos — pilares
   ------------------------------------------------------------------------- */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}
.about-pillar {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--uralhn-radius);
  transition: background var(--uralhn-transition);
}
.about-pillar:hover { background: var(--uralhn-light); }
.about-pillar-icon {
  display: inline-grid;
  place-items: center;
  width: 72px; height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--uralhn-light);
  color: var(--uralhn-secondary);
  border: 1px solid var(--uralhn-border);
  transition: background var(--uralhn-transition), color var(--uralhn-transition), transform var(--uralhn-transition);
}
.about-pillar:hover .about-pillar-icon { background: var(--uralhn-gradient); color: #fff; transform: translateY(-4px); }
.about-pillar-icon svg { width: 32px; height: 32px; }
.about-pillar h3 {
  font-family: var(--uralhn-font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--uralhn-primary);
  margin: 0;
}

/* -------------------------------------------------------------------------
   8. Propiedades — clases reutilizables para el futuro plugin
   ------------------------------------------------------------------------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.property-card {
  background: #fff;
  border: 1px solid var(--uralhn-border);
  border-radius: var(--uralhn-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--uralhn-transition), box-shadow var(--uralhn-transition);
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--uralhn-shadow-lg); }

.property-image {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--uralhn-gradient-deep);
}
.property-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.property-card:hover .property-image img { transform: scale(1.06); }

/* Placeholder elegante cuando no hay imagen real */
.property-image--placeholder { display: grid; place-items: center; }
.property-image--placeholder svg { width: 64px; height: 64px; opacity: 0.55; color: #fff; }

.property-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  color: #fff;
  box-shadow: var(--uralhn-shadow-sm);
}
.property-badge--venta    { background: var(--uralhn-secondary); }
.property-badge--alquiler { background: #0a8f5b; }
.property-badge--destacada{ background: var(--uralhn-accent); color: var(--uralhn-dark); }

.property-type-tag {
  position: absolute;
  bottom: 14px; right: 14px;
  z-index: 2;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(7,27,51,0.78);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.property-content { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.property-price {
  font-family: var(--uralhn-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--uralhn-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.property-price small { font-size: 0.8rem; color: var(--uralhn-gray); font-weight: 400; font-family: var(--uralhn-font-body); }
.property-title { font-size: 1.18rem; margin: 0.25rem 0 0.4rem; }
.property-title a { color: var(--uralhn-heading); }
.property-title a:hover { color: var(--uralhn-secondary); }

.property-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--uralhn-gray);
  margin-bottom: 1rem;
}
.property-location svg { width: 16px; height: 16px; flex: none; color: var(--uralhn-secondary); }

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid var(--uralhn-border);
  list-style: none;
  margin-bottom: 1.1rem;
  padding-left: 0;
}
.property-features li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  color: var(--uralhn-text);
}
.property-features svg { width: 17px; height: 17px; color: var(--uralhn-secondary); flex: none; }

/* -------------------------------------------------------------------------
   9. Filtros de búsqueda (visuales, listos para el plugin)
   ------------------------------------------------------------------------- */
.property-filter {
  background: #fff;
  border: 1px solid var(--uralhn-border);
  border-radius: var(--uralhn-radius);
  box-shadow: var(--uralhn-shadow-sm);
  padding: 1.4rem;
  margin-bottom: 2.5rem;
}
.property-filter form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1rem;
  align-items: end;
}
.filter-field { display: flex; flex-direction: column; gap: 0.4rem; }
.filter-field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--uralhn-gray);
}
.filter-field select,
.filter-field input {
  font-family: var(--uralhn-font-body);
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--uralhn-border);
  border-radius: var(--uralhn-radius-sm);
  background: var(--uralhn-light);
  color: var(--uralhn-text);
}
.filter-field select:focus,
.filter-field input:focus { border-color: var(--uralhn-secondary); background: #fff; outline: none; }

/* -------------------------------------------------------------------------
   10. "Por qué elegirnos"
   ------------------------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem 2rem;
}
.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.benefit-item .check {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(0,163,255,0.12);
  color: var(--uralhn-accent);
}
.uralhn-section--deep .benefit-item .check { background: rgba(255,255,255,0.10); color: #fff; }
.benefit-item .check svg { width: 22px; height: 22px; }
.benefit-item h3 { font-size: 1.12rem; margin-bottom: 0.25rem; }
.uralhn-section--deep .benefit-item h3 { color: #fff; }
.benefit-item p { font-size: 0.93rem; color: var(--uralhn-gray); margin: 0; }
.uralhn-section--deep .benefit-item p { color: rgba(255,255,255,0.66); }

/* -------------------------------------------------------------------------
   11. Llamado a la acción (CTA)
   ------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--uralhn-gradient);
  border-radius: var(--uralhn-radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  color: #fff;
  box-shadow: var(--uralhn-shadow-lg);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 75%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 0.7rem; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* -------------------------------------------------------------------------
   12. Contacto
   ------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--uralhn-border);
  border-radius: var(--uralhn-radius);
  box-shadow: var(--uralhn-shadow);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}
.uralhn-form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--uralhn-primary);
}
.form-field label .req { color: #c0392b; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--uralhn-font-body);
  font-size: 0.97rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--uralhn-border);
  border-radius: var(--uralhn-radius-sm);
  background: var(--uralhn-light);
  color: var(--uralhn-text);
  width: 100%;
  transition: border-color var(--uralhn-transition), background var(--uralhn-transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--uralhn-secondary);
  background: #fff;
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 130px; }

/* Honeypot anti-spam (oculto) */
.uralhn-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* Mensajes del formulario */
.form-notice { border-radius: var(--uralhn-radius-sm); padding: 0.9rem 1.1rem; font-size: 0.95rem; margin-bottom: 1.2rem; }
.form-notice--success { background: #e7f7ee; color: #0a6b3d; border: 1px solid #b6e6cd; }
.form-notice--error   { background: #fdecea; color: #a52a1f; border: 1px solid #f5c6c0; }

/* Panel de información de contacto */
.contact-info { display: grid; gap: 1.2rem; }
.contact-info-card {
  background: var(--uralhn-light);
  border: 1px solid var(--uralhn-border);
  border-radius: var(--uralhn-radius);
  padding: 1.8rem;
}
.contact-info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-info-list .ic {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--uralhn-radius-sm);
  background: #fff;
  color: var(--uralhn-secondary);
  border: 1px solid var(--uralhn-border);
}
.contact-info-list .ic svg { width: 20px; height: 20px; }
.contact-info-list .label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--uralhn-gray); }
.contact-info-list .value { color: var(--uralhn-primary); font-weight: 600; }
.contact-info-list a.value:hover { color: var(--uralhn-secondary); }

.contact-social { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.contact-social a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--uralhn-border);
  color: var(--uralhn-primary);
  transition: all var(--uralhn-transition);
}
.contact-social a:hover { background: var(--uralhn-primary); color: #fff; transform: translateY(-3px); }
.contact-social svg { width: 20px; height: 20px; }

.contact-map {
  margin-top: 1.2rem;
  border-radius: var(--uralhn-radius);
  overflow: hidden;
  border: 1px solid var(--uralhn-border);
  background: var(--uralhn-light);
}
.contact-map iframe { display: block; width: 100%; height: 320px; border: 0; }
.contact-map--placeholder {
  display: grid; place-items: center;
  min-height: 240px;
  color: var(--uralhn-gray);
  text-align: center;
  padding: 2rem;
}
.contact-map--placeholder svg { width: 48px; height: 48px; color: var(--uralhn-border); margin-bottom: 0.8rem; }

/* -------------------------------------------------------------------------
   13. Page genérica / contenido (Gutenberg)
   ------------------------------------------------------------------------- */
.page-hero {
  background: var(--uralhn-gradient-deep);
  color: #fff;
  padding-block: clamp(3rem, 7vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 70%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 680px; margin: 0.5rem auto 0; font-size: 1.08rem; }
.breadcrumbs { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 1rem; }
.breadcrumbs a { color: rgba(255,255,255,0.85); }

.entry-content { max-width: 760px; margin-inline: auto; }
.entry-content h2 { margin-top: 1.8em; }
.entry-content img { border-radius: var(--uralhn-radius); }
.entry-content blockquote {
  border-left: 4px solid var(--uralhn-accent);
  padding-left: 1.2rem;
  margin-left: 0;
  color: var(--uralhn-primary);
  font-style: italic;
}

/* Tarjetas de artículos (blog / archivo) */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.post-card {
  background: #fff;
  border: 1px solid var(--uralhn-border);
  border-radius: var(--uralhn-radius);
  overflow: hidden;
  transition: transform var(--uralhn-transition), box-shadow var(--uralhn-transition);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--uralhn-shadow); }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--uralhn-light); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 1.3rem; }
.post-card .meta { font-size: 0.8rem; color: var(--uralhn-gray); margin-bottom: 0.4rem; }
.post-card h3 { font-size: 1.18rem; }

/* Paginación */
.uralhn-pagination { display: flex; justify-content: center; gap: 0.4rem; margin-top: 3rem; flex-wrap: wrap; }
.uralhn-pagination .page-numbers {
  display: inline-grid; place-items: center;
  min-width: 42px; height: 42px;
  padding: 0 0.6rem;
  border: 1px solid var(--uralhn-border);
  border-radius: var(--uralhn-radius-sm);
  color: var(--uralhn-primary);
  font-weight: 600;
}
.uralhn-pagination .page-numbers.current,
.uralhn-pagination .page-numbers:hover { background: var(--uralhn-primary); color: #fff; border-color: var(--uralhn-primary); }

/* -------------------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--uralhn-gradient-deep);
  color: rgba(255,255,255,0.7);
  padding-top: clamp(3rem, 7vw, 5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .brand-name { font-family: var(--uralhn-font-display); font-size: 1.5rem; color: #fff; font-weight: 700; }
.footer-brand .brand-tag { display:block; font-size: 0.62rem; letter-spacing: 0.28em; color: var(--uralhn-accent); text-transform: uppercase; margin-top: 4px; }
.footer-brand img { max-height: 60px; margin-bottom: 1rem; }
.footer-about { font-size: 0.95rem; margin: 1rem 0 1.4rem; line-height: 1.65; }

.footer-col h4 {
  color: #fff;
  font-family: var(--uralhn-font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }

.footer-contact li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.93rem; margin-bottom: 0.7rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--uralhn-accent); flex: none; margin-top: 3px; }

.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: all var(--uralhn-transition);
}
.footer-social a:hover { background: var(--uralhn-accent); color: var(--uralhn-dark); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}
.footer-bottom nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-bottom-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}
.footer-bottom-nav a:hover { color: #fff; }
.footer-bottom-nav svg { width: 16px; height: 16px; color: var(--uralhn-accent); flex: none; }

/* -------------------------------------------------------------------------
   15. Animaciones de entrada (carga escalonada)
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.3,1);
  }
  .reveal.is-visible { opacity: 1; transform: none; }

  .hero-stagger > * { opacity: 0; transform: translateY(18px); animation: uralhnFadeUp 0.7s forwards; }
  .hero-stagger > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-stagger > *:nth-child(2) { animation-delay: 0.15s; }
  .hero-stagger > *:nth-child(3) { animation-delay: 0.25s; }
  .hero-stagger > *:nth-child(4) { animation-delay: 0.35s; }
  .hero-stagger > *:nth-child(5) { animation-delay: 0.45s; }
}
@keyframes uralhnFadeUp { to { opacity: 1; transform: none; } }

/* -------------------------------------------------------------------------
   15b. Botón flotante de WhatsApp
   ------------------------------------------------------------------------- */
.uralhn-wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 200;
  display: inline-flex;
  align-items: center;
  height: 60px;
  padding: 0 17px;
  border-radius: 999px;
  background: #25D366;
  color: #06351a;
  box-shadow: 0 10px 28px rgba(7, 27, 51, 0.28);
  transition: box-shadow var(--uralhn-transition), transform var(--uralhn-transition);
}
.uralhn-wa-float svg { width: 26px; height: 26px; flex: none; position: relative; z-index: 1; }
.uralhn-wa-float-text {
  position: relative;
  z-index: 1;
  font-family: var(--uralhn-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  max-width: 0;
  margin-left: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width var(--uralhn-transition), margin-left var(--uralhn-transition), opacity var(--uralhn-transition);
}
.uralhn-wa-float:hover,
.uralhn-wa-float:focus-visible {
  color: #06351a;
  box-shadow: 0 14px 34px rgba(7, 27, 51, 0.34);
  transform: translateY(-2px);
}
.uralhn-wa-float:hover .uralhn-wa-float-text,
.uralhn-wa-float:focus-visible .uralhn-wa-float-text { max-width: 180px; margin-left: 10px; opacity: 1; }

/* Halo/pulso sutil para llamar la atención sin ser intrusivo. */
@media (prefers-reduced-motion: no-preference) {
  .uralhn-wa-float::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
    animation: uralhnWaPulse 2.4s ease-out infinite;
  }
}
@keyframes uralhnWaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media print {
  .uralhn-wa-float { display: none !important; }
}

/* -------------------------------------------------------------------------
   16. Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .services-grid,
  .property-grid,
  .posts-grid,
  .benefits-grid,
  .about-pillars { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .property-filter form { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  /* Header móvil con menú hamburguesa */
  .menu-toggle { display: flex; }
  .header-actions .header-cta { display: none; }

  .main-navigation {
    position: fixed;
    inset: var(--uralhn-header-h) 0 0 auto;
    width: min(86vw, 360px);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.2rem;
    box-shadow: var(--uralhn-shadow-lg);
    border-left: 1px solid var(--uralhn-border);
    transform: translateX(105%);
    transition: transform var(--uralhn-transition);
    overflow-y: auto;
    height: calc(100vh - var(--uralhn-header-h));
  }
  .main-navigation.is-open { transform: translateX(0); }
  .main-navigation ul { flex-direction: column; align-items: stretch; gap: 0.2rem; width: 100%; }
  .main-navigation a { padding: 0.85rem 1rem; font-size: 1.02rem; border-radius: var(--uralhn-radius-sm); }
  .main-navigation ul ul {
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    background: var(--uralhn-light);
    border-radius: var(--uralhn-radius-sm);
  }
  .main-navigation .menu-item-has-children > a::after { float: right; margin-top: 6px; }

  .mobile-cta { display: block; margin-top: 1.2rem; }
  .mobile-cta .btn { width: 100%; justify-content: center; }

  body.menu-open { overflow: hidden; }
  .menu-backdrop {
    position: fixed; inset: var(--uralhn-header-h) 0 0 0;
    background: rgba(7,27,51,0.4);
    opacity: 0; visibility: hidden;
    transition: opacity var(--uralhn-transition);
    z-index: 90;
  }
  .menu-backdrop.is-open { opacity: 1; visibility: visible; }

  /* Hero a una columna */
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin-inline: auto; }
  .hero-text { margin-inline: auto; }
  .hero-actions { justify-content: flex-start; }

  /* Contacto a una columna */
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .services-grid,
  .property-grid,
  .posts-grid,
  .benefits-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .property-filter form { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom nav ul { justify-content: center; }
  .hero-float { left: 0; right: 0; margin-inline: auto; bottom: 16px; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions, .cta-actions { flex-direction: column; }
}
