/* INNVERSIONES · UI/UX FASE 1
   Hoja de ajustes opcionales, cargada despues de style.css y del estilo del logo.
   No altera las funciones del panel ni la base de datos.
*/
:root { --gold: #b99c66; --shadow: 0 16px 46px rgba(21, 46, 36, .12); }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

/* Encabezado y logo: compactos, pero legibles en escritorio */
.site-header { height: 84px; box-shadow: 0 2px 12px rgba(15, 42, 33, .035); }
.site-header .nav-bar { max-width: 1320px; gap: 22px; }
.nav-bar > .logo { width: 172px; height: 67px; padding: 4px 9px; border-radius: 10px; }
.nav-bar > .logo img { max-width: 100%; object-fit: contain; }
.main-nav { gap: clamp(13px, 1.8vw, 28px); }
.main-nav a { font-size: 14px; line-height: 1.2; padding: 10px 0; transition: color .16s; }
.main-nav a:hover, .main-nav a:focus-visible { color: #946e39; }
.nav-cta { min-height: 44px; padding: 10px 22px; font-size: 14px; border-radius: 9px; }

/* Inicio: texto mas contenido y acciones visibles sin tanto desplazamiento */
.hero {
  height: auto;
  min-height: 515px;
  padding: 66px 0 94px;
  background: radial-gradient(ellipse at 90% 20%, rgba(164, 190, 162, .25), transparent 43%),
              linear-gradient(110deg, #102a23 4%, #163b2f 61%, #365f4c 100%);
}
.hero:before { opacity: .06; }
.hero:after { display: none; }
.hero-content { padding-top: 0; }
.hero .eyebrow { font-size: 11px; letter-spacing: .17em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(39px, 4.2vw, 66px); max-width: 800px; line-height: 1.09; margin-bottom: 22px; letter-spacing: -.045em; }
.hero p { font-size: clamp(16px, 1.2vw, 18px); max-width: 600px; line-height: 1.65; margin-bottom: 28px; }
.hero-actions { flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { min-height: 49px; padding: 12px 22px; }
.hero-aside { opacity: .76; }

/* El buscador aparece como elemento comercial protagonista */
.search-panel { margin-top: -50px; }
.search-form { box-shadow: 0 20px 50px rgba(16, 43, 36, .14); border: 1px solid #e7e9e4; border-radius: 14px; padding: 22px; gap: 12px; }
.search-form input, .search-form select { border-radius: 9px; }
.search-form button { min-height: 45px; }

/* Fichas e interacciones */
.property-card { border-radius: 15px; border-color: #e5ebe4; }
.property-card:hover { box-shadow: 0 14px 35px rgba(26, 56, 43, .10); }
.property-image { height: 240px; }
.property-image img { object-position: center; }
.property-price { font-weight: 750; letter-spacing: -.025em; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #b99c66; outline-offset: 3px; }
.whatsapp-float { bottom: 20px; right: 20px; width: 56px; height: 56px; background: #16884e; }

/* Tablet: proteger espacio del menu */
@media (max-width: 1080px) and (min-width: 761px) {
  .site-header .nav-bar { gap: 14px; }
  .nav-bar > .logo { width: 145px; height: 61px; }
  .main-nav { gap: 13px; }
  .main-nav a, .nav-cta { font-size: 12px; }
  .nav-cta { padding-left: 12px; padding-right: 12px; }
  .hero { min-height: 490px; }
}

/* Celular: priorizar lectura, botones y buscador */
@media (max-width: 760px) {
  .site-header { height: 72px; }
  .nav-bar > .logo { width: 145px; height: 57px; padding: 3px 8px; }
  .main-nav { top: 72px; padding: 24px; gap: 12px; }
  .main-nav a { font-size: 15px; padding: 9px 0; }
  .hero { min-height: 0; padding: 62px 0 82px; }
  .hero h1 { font-size: clamp(37px, 9vw, 51px); line-height: 1.11; letter-spacing: -.045em; }
  .hero p { font-size: 16px; margin-bottom: 24px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .13em; margin-bottom: 14px; }
  .hero-actions .btn { padding: 12px 16px; }
  .search-panel { margin-top: -27px; }
  .search-form { padding: 17px; gap: 10px; }
  .property-image { height: 230px; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
@media (max-width: 430px) {
  .hero h1 { font-size: clamp(35px, 9vw, 42px); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
