/* ==========================================================================
   HERO SECTION — Laura Álvarez Asesora Inmobiliaria
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background-color: #101620;
  /* High quality hero background */
  background-image: url('../assets/images/hero-background.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* Subtle overlay layers for pristine contrast and luxury atmosphere */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: 
    linear-gradient(180deg, var(--overlay-dark-top) 0%, rgba(10, 18, 28, 0.15) 30%, transparent 60%),
    radial-gradient(circle at 20% 45%, rgba(255, 255, 255, 0.08) 0%, transparent 55%),
    linear-gradient(0deg, rgba(10, 18, 28, 0.3) 0%, transparent 40%);
}

/* Fallback for browsers without webp support */
.no-webp .hero-section {
  background-image: url('../assets/images/hero-background.webp');
}

/* --------------------------------------------------------------------------
   Hero Content (Left Aligned, Vertical Center of Left Half)
   -------------------------------------------------------------------------- */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--hero-content-max-w);
  padding-left: var(--hero-padding-x);
  padding-right: var(--hero-padding-x);
  padding-top: clamp(140px, 18vh, 190px);
  padding-bottom: 40px;
}

/* 1. Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  max-width: 421px;
  transform: translate(10px, 120px);
}

.hero-eyebrow-text {
  font-family: var(--font-ui, 'Plus Jakarta Sans', sans-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-text-dark);
}

.hero-eyebrow-line {
  display: inline-block;
  width: 72px;
  height: 1.5px;
  background-color: var(--color-accent-gold);
  border-radius: 1px;
}

/* 2. Titular Principal (H1) */
.hero-title {
  font-family: var(--font-serif);
  font-size: 107px;
  font-weight: 500;
  line-height: 1.05;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  max-width: 892px;
  transform: translate(10px, 120px);
}

.hero-title,
.hero-title span {
  font-family: var(--font-serif);
}

.hero-title span {
  display: block;
}

/* 3. Párrafo Descriptivo */
.hero-description {
  font-family: var(--font-ui, 'Plus Jakarta Sans', sans-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-dark-secondary);
  max-width: 568px;
  margin-bottom: 34px;
  transform: translate(10px, 120px);
}

/* 4. Botones CTA */
.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  transform: translate(10px, 145px);
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 216px;
  height: 60px;
  border-radius: 999px;
  isolation: isolate;
  position: relative;
  font-family: var(--font-ui, 'Plus Jakarta Sans', sans-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.5, 1),
              box-shadow 0.3s cubic-bezier(0.34, 1.4, 0.5, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              color 0.3s ease;
}

/* Tipografía Plus Jakarta Sans para todos los span de la sección Hero */
.hero-section span {
  font-family: var(--font-ui, 'Plus Jakarta Sans', sans-serif);
}

/* Negritas (font-weight: 700) para los span de los botones del Hero */
.btn-hero span,
#btn-ver-propiedades span,
#btn-quiero-vender span {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-section .hero-title,
.hero-section .hero-title span {
  font-family: var(--font-serif);
}

.btn-hero .icon-arrow {
  width: 17px;
  height: 17px;
  stroke-width: 2;
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.5, 1);
}

.btn-hero:hover .icon-arrow {
  transform: translateX(5px);
}

/* Botón Primario: "Ver propiedades" — Liquid Obsidian Glass */
.btn-hero-primary,
#btn-ver-propiedades {
  background: rgba(18, 28, 40, 0.72);
  background: color-mix(in oklab, #1B2A3D 76%, rgba(255, 255, 255, 0.18));
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    inset 0 -1px 1px rgba(0, 0, 0, 0.25),
    0 16px 36px -12px rgba(10, 18, 28, 0.55);
}

.btn-hero-primary:hover,
#btn-ver-propiedades:hover {
  background: rgba(22, 35, 50, 0.88);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-3px);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.8),
    0 22px 46px -10px rgba(10, 18, 28, 0.65),
    0 0 24px rgba(199, 167, 108, 0.25);
  color: #FFFFFF;
}

.btn-hero-primary:active,
#btn-ver-propiedades:active {
  transform: translateY(0);
}

.btn-hero-primary:focus-visible,
#btn-ver-propiedades:focus-visible {
  outline: 2px solid #C7A76C;
  outline-offset: 3px;
}

/* Botón Secundario: "Quiero vender" — Liquid Crystal Glass */
.btn-hero-secondary,
#btn-quiero-vender {
  background: rgba(255, 255, 255, 0.22);
  background: color-mix(in oklab, white 20%, transparent);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  color: var(--color-text-dark);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 
    inset 0 1px 1.5px rgba(255, 255, 255, 0.65),
    inset 0 -1px 1px rgba(0, 0, 0, 0.1),
    0 16px 36px -12px rgba(0, 0, 0, 0.22);
}

.btn-hero-secondary:hover,
#btn-quiero-vender:hover {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.8);
  color: #0E1622;
  transform: translateY(-3px);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.9),
    0 22px 46px -10px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary:active,
#btn-quiero-vender:active {
  transform: translateY(0);
}

.btn-hero-secondary:focus-visible,
#btn-quiero-vender:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Panel Inferior de 3 Columnas (Glassmorphism Card)
   -------------------------------------------------------------------------- */
.hero-glass-panel {
  position: relative;
  z-index: 2;
  max-width: var(--glass-card-max-w);
  margin-left: var(--hero-padding-x);
  margin-right: var(--hero-padding-x);
  margin-bottom: 48px;
  background: var(--overlay-glass-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 30px 36px;
  transform: translate(10px, -190px);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.hero-glass-panel:hover {
  border-color: var(--border-glass-hover);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  column-gap: 8px;
}

.feature-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  font-size: 16px;
}

.feature-col:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.feature-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: var(--color-text-white);
}

.feature-icon-box svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.6;
}

.feature-title {
  font-family: var(--font-ui, 'Plus Jakarta Sans', sans-serif);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-text-white);
  line-height: 1.3;
  margin-bottom: 8px;
  white-space: nowrap;
}

.feature-desc {
  font-family: var(--font-ui, 'Plus Jakarta Sans', sans-serif);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.45;
}
