@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital@0;1&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');



/* ===========================
   VARIABLES DE MARCA 7K DIGITAL
   =========================== */
:root {
  /* Colores principales */
  --color-primary: #19BB94;      /* Verde principal */
  --color-primary-alt: #22DFB2;  /* Variante */
  --color-accent: #00FFCC;       /* Acento brillante */
  --color-accent-soft: #79F1D5;  /* Acento suave */

  /* Neutros */
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-bg-main: #FAFAFA;      /* fondo general suave */
  --color-bg-header: #FAFAFA;    /* fondo header */
  --color-bg-hover: #F5F5F5;     /* hover suave */
  --color-border-soft: #E0E0E0;
  --color-border-subtle: #CCCCCC;
  --color-border-item: #EEEEEE;

  /* Tipografías (asegúrate de importarlas en el HTML o CSS) */
  --font-heading: "Raleway", serif;
  --font-heading-secundary: "Baskervville", serif; ; 
  --font-body: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: "Rhode White", "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Otros */
  --radius-soft: 0px;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.45s cubic-bezier(0.25, 0.8, 0.4, 1);
}

/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  background: #22DFB2;
  color: #ffffff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  z-index: 9999;

  box-shadow: 0 14px 40px rgba(34, 223, 178, 0.45);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.whatsapp-float:hover {
  background: #1ccfa6;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 50px rgba(34, 223, 178, 0.6);
}

.whatsapp-float i {
  line-height: 1;
  pointer-events: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}


/* ====== RESET ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg-main);
  color: var(--color-black);
}

/* ===== LOADER 7K DIGITAL ===== */
.loader {
  position: fixed;
  inset: 0;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 9999;
}

/* Paneles que se abren a la mitad */
.loader-panels {
  position: absolute;
  inset: 0;
  display: flex;
}

.loader-panel {
  flex: 1;
  background: #000000;
  transform: translateX(0);
  transition: transform 0.9s cubic-bezier(0.25, 0.8, 0.4, 1);
}

/* Línea de carga */
.loader-progress {
  position: relative;
  width: 70%;
  max-width: 320px;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  border-radius: 999px;
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: inherit;
  animation: loaderProgress 2.2s ease-out forwards;
}

/* Animación de la barra */
@keyframes loaderProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* Cuando termina: se abren los paneles y se oculta la barra */
.loader.loader--hide .loader-panel--left {
  transform: translateX(-100%);
}

.loader.loader--hide .loader-panel--right {
  transform: translateX(100%);
}

.loader.loader--hide .loader-progress {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Estado final: loader fuera de la vista */
.loader.loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Animación final cuando la pantalla negra desaparece */
.loader.loader--hide {
  animation: loaderFadeOut 0.8s ease forwards;
}

@keyframes loaderFadeOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.06); /* ligera expansión elegante */
  }
}


/* ====== HEADER ====== */
.header {
  width: 100%;
  background: var(--color-bg-header);
  padding: 15px 40px;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo img {
  width: 110px;
}

/* ====== NAV DESKTOP ====== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 60px;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-black);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-primary);
  background-color: var(--color-bg-hover);
}

.nav-links .email {
  border-left: 1px solid var(--color-border-subtle);
  padding-left: 20px;
}

/* HAMBURGUESA */
.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.menu-toggle:active {
  transform: scale(0.9);
}

/* ====== MOBILE MENU (desktop por defecto oculto) ====== */
.mobile-menu {
  display: none; /* en escritorio no se ve nunca */
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  /* Drawer solo en mobile */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    max-width: 300px;
    width: 80%;
    padding: 28px 24px;
    background: var(--color-white);      /* fondo blanco de marca */
    border-right: 1px solid var(--color-border-soft);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;

    /* Estado oculto */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-110%);
    pointer-events: none;

    transition:
      transform var(--transition-medium),
      opacity var(--transition-medium),
      box-shadow var(--transition-medium);
    z-index: 999;
  }

  .mobile-menu a {
    padding: 14px 0;
    text-decoration: none;
    color: var(--color-black);
    font-size: 18px;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--color-border-item);
    transition: color var(--transition-fast), background-color var(--transition-fast);
  }

  .mobile-menu a:hover {
    color: var(--color-primary);
    background-color: var(--color-bg-hover);
  }

  /* ACTIVO: visible + animado */
  .mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.18);
  }
}


/* ====== SECTION AGENCIA 7K ====== */
.agency7k {
  position: relative;
  max-width: 1200px;
  margin: 60px auto;
  border-radius: 32px;
  overflow: hidden;
  background: var(--color-black);
  color: var(--color-white);
}

/* Video de fondo */
.agency7k__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Degradado para texto legible */
.agency7k__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

/* Contenido interno */
.agency7k__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 48px;
  min-height: 360px;
}

/* Botón de sonido lado izquierdo */
.agency7k__sound-toggle {
  border: none;
  outline: none;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.agency7k__sound-toggle:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.agency7k__sound-toggle.is-active {
  background: var(--color-accent);
}

/* Texto lado derecho */
.agency7k__text {
  max-width: 420px;
  margin-left: auto;
  text-align: left;
}

.agency7k__kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 10px;
}

.agency7k__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  margin-bottom: 14px;
}

.agency7k__desc {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
}

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .agency7k {
    margin: 32px 16px;
    border-radius: 28px;
  }

  .agency7k__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 24px 20px 28px;
    min-height: 420px;
    gap: 18px;
  }

  .agency7k__sound-toggle {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .agency7k__text {
    max-width: 100%;
    text-align: left;
  }

  .agency7k__title {
    font-size: 30px;
  }

  .agency7k__desc {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .agency7k__inner {
    min-height: 520px;
    padding: 22px 18px 26px;
  }
}

/* ===== AJUSTES SOLO ESCRITORIO ===== */
@media (min-width: 901px) {

  .agency7k {
    max-width: 1400px;   
    height: 580px;        /* más ancho */
    margin: 20px auto 40px;      /* menos espacio arriba y abajo */
    border-radius: 36px;         /* puedes subirlo o bajarlo */
  }

  .agency7k__inner {
    padding: 60px 60px;          /* menos aire a los costados pero más cuerpo general */
    min-height: 480px;           /* sección más alta */
  }

  .agency7k__text {
    max-width: 500px;            /* título respira más */
  }

  .agency7k__title {
    font-size: clamp(42px, 5vw, 104px);  /* más grande en escritorio */
  }

  .agency7k__desc {
    font-size: 17px;
    line-height: 1.65;
  }

  .agency7k__sound-toggle {
    width: 58px;
    height: 58px;
    font-size: 26px;
  }
}

/* Capa oscura adicional para más contraste */
.agency7k__dark {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* Ajusta aquí si quieres más o menos oscuridad */
  z-index: 1; /* Debajo del contenido pero encima del video */
}

/* ====== SECTION PROMESA DE VALOR 7K ====== */
.value7k {
  background: var(--color-bg-main);
  color: var(--color-black);
  padding: 60px 24px;
}

.value7k__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: center;
}

/* Columna izquierda */
.value7k__left {
  flex: 0 0 32%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Sello + logo (ya sin el puntito) */
.value7k__seal {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* LOGO SIN FONDO, SIN CÍRCULO Y MÁS GRANDE */
.value7k__logo {
  width: auto;         /* se ajusta al ancho natural */
  height: 110px;        /* 🔥 tamaño del logo (ajústalo si quieres) */
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;    /* sin fondo */
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.value7k__logo img {
  height: 100%;
  width: auto;
  object-fit: contain; /* mantiene proporción perfecta */
}




.value7k__seal-text {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.6);
}

/* Subtítulo */
.value7k__subtitle {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.7);
  text-align: justify;
}

/* Columna derecha */
.value7k__right {
  flex: 1;
}

.value7k__title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.2vw, 56px); /* más corto y más grande */
  line-height: 1.1;
  margin-bottom: 18px;
}

.value7k__title span{
  color: var(--color-primary-alt);
}

.value7k__paragraph {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.8);
  text-align: justify; /* justificado */
}

/* ===== Animación al hacer scroll (más llamativa) ===== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  filter: blur(8px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out,
    filter 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger entre columnas para que entren con leve desfase */
.value7k__left,
.value7k__right {
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.reveal-on-scroll.is-visible .value7k__left {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.05s;
}

.reveal-on-scroll.is-visible .value7k__right {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.18s;
}

/* Estado inicial de columnas (para el stagger) */
.value7k__left,
.value7k__right {
  opacity: 0;
  transform: translateY(20px);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .value7k {
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .value7k__inner {
    flex-direction: column;
    gap: 28px;
  }

  .value7k__left {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .value7k__subtitle {
    font-size: 13px;
  }

  .value7k__title {
    font-size: 26px;
  }

  .value7k__paragraph {
    font-size: 14px;
  }
}

/* LOGO MÁS GRANDE */
.value7k__logo {
  width: 110px;     /* antes 70px */
  height: 110px;    /* antes 70px */
}

.value7k__logo img {
  max-width: 80%;   /* antes ~65% */
}


@media (max-width: 900px) {

  .value7k__title {
    font-size: 32px;           /* antes 26px */
    width: 100%;
  }

  .value7k__paragraph {
    text-align: justify;        /* lo dejamos igual para lectura */
  }

  .value7k__seal-text {
    text-align: left;           /* mantiene estética */
  }
}

@media (max-width: 480px) {
  .value7k__title {
    font-size: 34px;            /* un poquito más grande en pantallas pequeñas */
  }
}

/* ===== SLIDER TEXTO 7K DIGITAL — FUTURISTA CORDO (sin mayúsculas) ===== */
.textslider7k {
  background: var(--color-bg-main);
  padding: 50px 3rem;
  overflow: hidden;
}

.textslider7k__mask {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  overflow: hidden;
}

/* Fades laterales */
.textslider7k__mask::before,
.textslider7k__mask::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  pointer-events: none;
  z-index: 2;
}

.textslider7k__mask::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-main), transparent);
}

.textslider7k__mask::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-main), transparent);
}

/* TRACK */
.textslider7k__track {
  display: inline-flex;
  white-space: nowrap;
  animation: textslider7k-marquee 35s linear infinite reverse;
}

/* TEXTO — Futurista sin mayúsculas + más opacidad */
.textslider7k__track span {
  font-family: var(--font-heading-secundary);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: clamp(42px, 10vw, 140px);
  color: rgba(0, 0, 0, 0.7);
  margin-right: 100px;
  line-height: 1.12;       /* 🔥 evita que se corten las descendentes */
  padding-bottom: 8px;     /* 🔥 añade margen inferior invisible */
  white-space: nowrap;
}


/* Animación */
@keyframes textslider7k-marquee {
  0% {
    transform: translateX(-35%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .textslider7k {
    padding: 36px 0;
  }

  .textslider7k__mask::before,
  .textslider7k__mask::after {
    width: 80px;
  }

  .textslider7k__track span {
    font-size: clamp(24px, 14vw, 64px);
    margin-right: 40px;
    color: rgba(0, 0, 0, 0.8); /* un poquito más fuerte en móvil */
  }
}

/* ===== SECTION: NUESTROS CLIENTES ===== */
.clients7k {
  background: var(--color-bg-main);
  padding: 64px 16px 68px;
}

.clients7k__wrap {
  max-width: 1100px; /* 🔥 más contenido, menos aire */
  margin: 0 auto;
}

/* ===== TÍTULO ===== */
.clients7k__heading {
  margin-bottom: 36px;
  text-align: center;
}

.clients7k__title-bg {
  font-family: var(--font-heading);
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  margin: 0;

  color: transparent;
  -webkit-text-stroke: 1.4px rgba(25, 187, 148, 0.4);
  opacity: 0.85;
}

/* ===== GRID ===== */
.clients7k__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; /* 🔥 cards más juntas */
}

/* ===== CARD ===== */
.clients7k__card {
  display: block;
  text-decoration: none;
  color: inherit;

  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;

  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);

  transition:
    transform var(--transition-medium),
    box-shadow var(--transition-medium);
}

.clients7k__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.14);
}

/* ===== MEDIA ===== */
.clients7k__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.clients7k__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== META (MUCHO MÁS COMPACTO) ===== */
.clients7k__meta {
  padding: 14px 16px; /* 🔥 reduce tamaño real de la card */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.clients7k__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 4px;
  line-height: 1.2;
}

.clients7k__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.6);
}

/* ===== ICON ===== */
.clients7k__go {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.85);
  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    color var(--transition-fast);
}

.clients7k__go i {
  font-size: 18px;
}

.clients7k__card:hover .clients7k__go {
  background: var(--color-primary);
  color: #fff;
  transform: rotate(-8deg) scale(1.08);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .clients7k {
    padding: 52px 14px 72px;
  }

  .clients7k__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .clients7k__title-bg {
    font-size: clamp(36px, 12vw, 64px);
    -webkit-text-stroke: 1.2px rgba(25, 187, 148, 0.5);
  }

  .clients7k__name {
    font-size: 18px;
  }

  .clients7k__meta {
    padding: 14px;
  }
}






/* ===== SECTION EXPERTO SEO 7K ===== */
.expert7k {
  background: var(--color-bg-main);
  padding: 60px 16px 80px;
}

.expert7k__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1.4fr) minmax(260px, 320px);
  gap: 24px;
}

/* Cards base */
.expert7k__card {
  background: var(--color-white);
  border-radius: 32px;
  padding: 32px 28px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}

/* ------- Columna izquierda ------- */
.expert7k__card--left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.expert7k__years-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 86px;
  line-height: 1;
}

.expert7k__years-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
}

.expert7k__left-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.75);
}

.expert7k__avatars-block {
  margin-top: 8px;
}

.expert7k__avatars {
  display: flex;
  align-items: center;
}

.expert7k__avatars img {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid var(--color-white);
  object-fit: cover;
  margin-right: -10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.expert7k__reviews {
  margin-top: 14px;
  font-size: 19px;
  color: rgba(0, 0, 0, 0.7);
}

/* ------- Columna central (Salvador) ------- */
.expert7k__card--main {
  padding: 0;
  background: transparent;
  border-radius: 40px;
  overflow: visible;
  display: flex;
  align-items: stretch;
  height: 100%;          /* ✔ asegura alineación con las otras cards */
}

/* Fondo negro */
.expert7k__photo-wrapper {
  position: relative;
  flex: 1;
  width: 100%;
  border-radius: 40px;
  background: #000;
  overflow: hidden;
  min-height: 100%;       /* 👈 asegura que se estire al mismo alto */
  display: flex;
  align-items: flex-end;  /* 👈 baja todo hasta el borde inferior */
}

/* Foto de Salvador */
.expert7k__photo {
  position: absolute;
  inset: 0;
  background-size: auto 98%;  /* más chico todavía */
  background-repeat: no-repeat;
  background-position: 20% bottom; /* 👈 pegado abajo */
  opacity: 1;
  transform: translateY(-2%);
}

/* Awards / badges */
.expert7k__awards {
  position: absolute;
  top: 26px;
  right: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}

.expert7k__badge {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.expert7k__badge-title {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f9fafb;
}

.expert7k__badge-sub {
  display: block;
  font-size: 11px;
  color: rgba(229, 231, 235, 0.9);
}

/* Quote */
.expert7k__quote {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  z-index: 2;
  color: #f9fafb;
}

.expert7k__quote-text {
  font-size: 18px;
  line-height: 1.6;
}

.expert7k__quote-author {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(229, 231, 235, 0.9);
}

/* Overlay para asegurar legibilidad del texto */
.expert7k__photo-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.3) 45%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

/* ------- Columna derecha ------- */
.expert7k__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.expert7k__side-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.expert7k__side-subtitle {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 18px;
}

/* Social buttons */
.expert7k__social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.expert7k__social-buttons button {
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: var(--color-primary-alt);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.15s ease;
}

.expert7k__social-buttons button:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-1px);
}

/* Metrics */
.expert7k__card--metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.expert7k__metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.expert7k__metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.75);
}

.expert7k__metric-bar {
  position: relative;
  height: 28px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.expert7k__metric-bar span {
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: inherit;
  background: rgba(15, 23, 42, 0.9);
  transition: width 0.9s ease-out;
}

/* Barra destacada */
.expert7k__metric-bar--highlight span {
  background: var(--color-black);
}

/* Animar barras cuando sección entra en viewport (opcional con clase JS) */
.expert7k--visible .expert7k__metric-bar span {
  /* los width se toman del atributo style inline */
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .expert7k__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .expert7k__side {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .expert7k__card--social,
  .expert7k__card--metrics {
    flex: 1 1 260px;
  }
}

@media (max-width: 768px) {
  .expert7k {
    padding: 40px 14px 60px;
  }

  .expert7k__card {
    border-radius: 24px;
    padding: 24px 20px;
  }

  .expert7k__card--main {
    border-radius: 28px;
  }

  .expert7k__photo-wrapper {
    min-height: 380px;
    transform: translateY(-16px); /* un poco menos elevada en móvil */
  }

  .expert7k__photo {
    background-position: 15% center; /* 🔥 más a la izquierda en móvil */
    background-size: auto 118%;
    transform: translateY(-4%);
  }

  .expert7k__quote {
    left: 20px;
    right: 20px;
    bottom: 24px;
  }

  .expert7k__quote-text {
    font-size: 16px;
  }

  .expert7k__years-number {
    font-size: 44px;
  }
}

@media (max-width: 480px) {
  .expert7k__side {
    flex-direction: column;
  }

  .expert7k__photo-wrapper {
    min-height: 360px;
  }

  .expert7k__quote-text {
    font-size: 15px;
  }
}

/* ===== OPTIMIZACIÓN PARA MÓVIL ===== */
@media (max-width: 768px) {

  /* Reducimos altura y tamaño del “recorte” de la foto */
  .expert7k__photo-wrapper {
    min-height: 340px;
    transform: translateY(-12px); /* Mantiene efecto 3D pero más moderado */
  }

  /* Ajuste para que Salvador quede más a la izquierda */
  .expert7k__photo {
    background-size: auto 100%;   /* Más pequeño */
    background-position: 10% bottom; /* Se va más a la izquierda */
    transform: translateY(0);     /* No se sube demasiado */
  }

  /* Ajuste para que el texto nunca se superponga demasiado */
  .expert7k__quote {
    left: 16px;
    right: 16px;
    bottom: 18px;
  }

  .expert7k__quote-text {
    font-size: 15px;
    line-height: 1.45;
  }

  /* Ubicación de insignias más arriba y acomodadas */
  .expert7k__awards {
    top: 14px;
    right: 14px;
    gap: 8px;
  }

  .expert7k__badge {
    padding: 6px 12px;
  }
}

@media (max-width: 768px) {
  .expert7k__photo {
    background-position: -110% bottom; /* 🔥 Más hacia la izquierda */
    background-size: auto 96%; /* Un poco más pequeño para respirar mejor */
  }

  /* Ajustamos la altura del card para evitar recorte */
  .expert7k__photo-wrapper {
    min-height: 330px;
  }

  /* Texto un poquito más arriba para equilibrio visual */
  .expert7k__quote {
    bottom: 28px;
  }

  .expert7k__side-title{
    font-size: 26px;
  }
}


/* ===== FOOTER 7K DIGITAL ===== */
.footer7k {
  background: #050608; /* negro profundo */
  color: #f9fafb;
  padding: 40px 20px 32px;
  font-size: 15px; /* base un poco más grande */
}

.footer7k__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* --- Top: logo + servicios --- */
.footer7k__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  padding-bottom: 20px;
}

.footer7k__brand {
  display: flex;
  align-items: center;
}

.footer7k__logo {
  width: 42px; /* 🔥 más grande en escritorio */
  height: auto;
  display: block;
}

/* Servicios principales */
.footer7k__services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.88);
}

.footer7k__services span::before {
  content: "• ";
}

/* --- Nav --- */
.footer7k__nav {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.footer7k__nav a {
  color: rgba(226, 232, 240, 0.9);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer7k__nav a:hover {
  color: var(--color-primary, #22dfb2);
}

/* --- Social --- */
.footer7k__social {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.footer7k__social a {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-size: 22px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.footer7k__social a:hover {
  background: var(--color-primary, #22dfb2);
  color: #020617;
  transform: translateY(-2px);
}

/* --- Bottom: legales + copy --- */
.footer7k__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.footer7k__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(148, 163, 184, 0.95);
}

.footer7k__legal a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer7k__legal a:hover {
  color: var(--color-primary, #22dfb2);
}

.footer7k__divider {
  opacity: 0.6;
}

.footer7k__copy {
  font-size: 13px;
  color: rgba(148, 163, 184, 0.9);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .footer7k {
    padding: 32px 16px 28px;
  }

  .footer7k__top {
    flex-direction: column;
    align-items: center;      /* 🔥 logo centrado */
    text-align: center;
    gap: 16px;
  }

  .footer7k__brand {
    justify-content: center;  /* 🔥 logo centrado */
  }

  .footer7k__logo {
    width: 36px;              /* un poco más pequeño en móvil */
  }

  .footer7k__services {
    justify-content: center;  /* 🔥 servicios centrados */
    gap: 10px 18px;
    font-size: 12px;
  }

  .footer7k__nav {
    gap: 22px;
    font-size: 13px;
  }

  .footer7k__social a {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .footer7k__services {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .footer7k__nav {
    gap: 18px;
  }

  .footer7k__legal,
  .footer7k__copy {
    font-size: 12px;
  }
}


