@charset "UTF-8";
/* apps/myfuture/static/myfuture/scss/sections/services-hero.scss */
.services-hero {
  min-height: 80vh;
  padding: 120px 5% 80px;
  background: var(--color-back);
  position: relative;
  display: flex;
  align-items: center;
}
.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--noise);
  opacity: 0.03;
  pointer-events: none;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

.hero-content {
  color: var(--color-night-font);
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-type);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: var(--fz-md);
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0.9;
}

.hero-visual {
  position: relative;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  /* La segunda columna baja un poco: rompe la rejilla y da movimiento al grupo. Se usa `top`
     y no `transform`, porque AOS anima `transform` en estas mismas tarjetas. */
}
@media (min-width: 969px) {
  .visual-grid .visual-card:nth-child(even) {
    position: relative;
    top: 28px;
  }
}

/* Tarjeta de servicio del hero. Cada una enlaza a su página y lleva un acento de color propio
   (--acc-a → --acc-b) que tiñe el icono, el brillo de la esquina y el borde al pasar el cursor.
   Antes eran cajas vacías con solo el nombre. */
.visual-card {
  --acc-a: #4cc9f0;
  --acc-b: #0a6cf0;
  --acc-ink: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 26px 24px 24px;
  border-radius: 22px;
  text-align: left;
  text-decoration: none;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease;
  /* Brillo del acento en la esquina superior izquierda */
}
.visual-card::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, var(--acc-a) 0%, transparent 68%);
  opacity: 0.22;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.visual-card:hover {
  transform: translateY(-8px);
  border-color: var(--acc-a);
  box-shadow: 0 22px 44px -18px var(--acc-a);
}
.visual-card:hover::before {
  opacity: 0.38;
}
.visual-card:hover .visual-card__go {
  transform: translate(3px, -3px);
  background: var(--acc-a);
  color: var(--acc-ink);
}
.visual-card:focus-visible {
  outline: 2px solid var(--acc-a);
  outline-offset: 3px;
}
.visual-card--1 {
  --acc-a: #4cc9f0;
  --acc-b: #0a6cf0;
  --acc-ink: #03162b;
}
.visual-card--2 {
  --acc-a: #c2ff05;
  --acc-b: #22c58b;
  --acc-ink: #03162b;
}
.visual-card--3 {
  --acc-a: #ff3d8b;
  --acc-b: #7c3aed;
  --acc-ink: #fff;
}
.visual-card--4 {
  --acc-a: #8b7bff;
  --acc-b: #4cc9f0;
  --acc-ink: #fff;
}

.visual-card__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--acc-a) 0%, var(--acc-b) 100%);
  box-shadow: 0 10px 22px -10px var(--acc-a);
}
.visual-card__icon i {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--acc-ink);
}

.visual-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-night-font);
}

.visual-card__sub {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.visual-card__go {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.9rem;
  color: var(--color-night-font);
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

/* ---------------------------------------------------------
   LIGHT THEME — Services Hero
--------------------------------------------------------- */
html[data-theme=light] .services-hero::before {
  opacity: 0.01;
}
html[data-theme=light] .hero-subtitle {
  color: var(--color-focus-text);
}
html[data-theme=light] .hero-title {
  color: var(--color-topic);
}
html[data-theme=light] .hero-description {
  color: var(--text-sub);
  opacity: 1;
}
html[data-theme=light] {
  /* En claro la tarjeta es blanca sobre el campo de color del hero: mantiene el icono con
     degradado, el nombre en navy y la bajada en azul grisáceo. */
}
html[data-theme=light] .visual-card {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 44px -22px rgba(5, 20, 100, 0.75);
  backdrop-filter: none;
}
html[data-theme=light] .visual-card::before {
  opacity: 0.16;
}
html[data-theme=light] .visual-card:hover {
  box-shadow: 0 26px 50px -18px rgba(5, 20, 100, 0.8), 0 0 0 3px var(--acc-a);
}
html[data-theme=light] .visual-card__name {
  color: var(--color-topic);
}
html[data-theme=light] .visual-card__go {
  color: var(--color-topic);
  background: rgba(5, 60, 118, 0.08);
}/*# sourceMappingURL=services-hero.css.map */