/* =========================
   VARIABLES
========================= */
:root {
  --primary: #E05720;
  --primary-strong: #CB2E1B;

  --dark: #232323;
  --dark-soft: #363636;
  --gray: #ACACAC;

  --white: #ffffff;
  --bg-hero: #1c0804;

  --about-bg-left: #000000;
  --about-bg-right: #f3f3f3;

  --logo-scale: 0.7;
  --logo-w-big: 210px;
  --logo-h-big: 90px;
  --logo-w-small: 170px;
  --logo-h-small: 80px;
  --card-h-big: 170px;
  --card-h-small: 150px;
}

/* =========================
   RESET / BASE
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f5f5f5;
  color: var(--dark);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   HEADER / NAV
========================= */
.nav-links{
  position: relative;
}

.nav-dropdown{
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown::after{
  content:"";
  position:absolute;
  left:-14px;
  right:-14px;
  top:100%;
  height:14px;
}

.nav-submenu{
  position: absolute;
  top: 100%;
  margin-top: 8px;
  left: -10px;
  z-index: 9999;
  min-width: 320px;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 22px 60px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 2000;
}

#como-inicio{ scroll-margin-top: 110px; }

.nav-dropdown .nav-submenu{
  min-width: 260px;
}

.nav-submenu a{
  display: block;
  position: relative;
  padding: 10px 12px 10px 32px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
  color: #232323;
  transition: background .18s ease, transform .18s ease, color .18s ease;
}

.nav-submenu a::before{
  content: "•";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
  color: rgba(224, 87, 32, 0.95);
}

.nav-submenu a:hover{
  background: rgba(224, 87, 32, 0.10);
  color: var(--primary-strong);
  transform: translateX(2px);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

header {
  background-color: #ffffff;
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav {
  width: 100%;
  margin: 0;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: auto;
  background-color: transparent;
  border-radius: 0;
  overflow: hidden;
}

.logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: #232323;
  opacity: 1;
  font-weight: 500;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background-color: var(--primary-strong);
  transform: translateY(-1px);
}

.nav-action{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  color: #111;
  background: transparent;
  border: 2px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, transform .1s ease, color .2s ease;
}

.nav-action:hover{
  background: rgba(224, 87, 32, 0.10);
  border-color: rgba(224, 87, 32, 0.55);
  color: #111;
  transform: translateY(-1px);
}

.nav-action:focus-visible{
  outline: none;
  background: rgba(224, 87, 32, 0.10);
  border-color: rgba(224, 87, 32, 0.55);
}

.nav-right{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  color: var(--white);
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  padding: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none !important;
  z-index: 0;
  opacity: 1;
  transition: opacity .28s ease;
  will-change: opacity;
}

.hero-video.softloop-fading{
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.55)
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 120px 24px 0;
}

.hero-title {
  font-size: 38px;
  max-width: 900px;
  margin: 0 auto 16px;
  font-weight: 700;
}

.hero-subtitle {
  max-width: 950px;
  margin: 0 auto 32px;
  font-size: 16px;
  opacity: 0.88;
}

/* =========================
   ABOUT + CARRUSEL CLIENTES
========================= */
.about-empresa {
  position: relative;
  color: #ffffff;
  padding: 72px 24px;
  min-height: 520px;
  background: linear-gradient(
    to right,
    var(--about-bg-left) 0%,
    var(--about-bg-left) 35%,
    var(--about-bg-right) 100%
  );
}

.about-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.about-text {
  max-width: 460px;
}

.about-text h2 {
  font-size: 30px;
  line-height: 1.25;
  margin-bottom: 18px;
  font-weight: 700;
}

.about-text p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 28px;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.about-cta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-cta-text .about-cta-label {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
}

.about-cta-text .about-cta-sub {
  font-size: 16px;
  font-weight: 500;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.15s ease;
}

.about-cta .about-btn:hover {
  background-color: #ffffff;
  color: #111111;
  border-color: #ffffff;
  transform: translateY(-1px);
}

.historia-btn .about-btn:hover {
  background-color: #111111;
  color: #ffffff;
  border-color: #111111;
  transform: translateY(-1px);
}

.clientes-wrapper {
  flex: 1;
  max-width: 760px;
  margin-left: 0;
  color: #ffffff;
}

.clientes-wrapper h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.clientes-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  isolation: isolate;
}

.clientes-carousel::before,
.clientes-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 6;
  pointer-events: none;
  border-radius: 28px;
  filter: blur(2px);
  opacity: 0.95;
}

.clientes-carousel::before {
  left: -10px;
  background: linear-gradient(to right,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.75) 25%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.00) 100%
  );
}

.clientes-carousel::after {
  right: -10px;
  background: linear-gradient(to left,
    rgba(255, 255, 255, 0.90) 0%,
    rgba(255, 255, 255, 0.55) 30%,
    rgba(255, 255, 255, 0.20) 60%,
    rgba(255, 255, 255, 0.00) 100%
  );
}

.clientes-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  font-size: 20px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.clientes-control:hover {
  background: rgba(0, 0, 0, 0.70);
  transform: translateY(-50%) scale(1.05);
}

.clientes-control.prev { left: 4px; }
.clientes-control.next { right: 4px; }

.clientes-track {
  display: flex;
  will-change: transform;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.clientes-track:active {
  cursor: grabbing;
}

.cliente-slide {
  flex: 0 0 calc(100% / 7);
  padding: 0 8px;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  transform: scale(0.85);
  opacity: 0.5;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cliente-slide.activo {
  transform: scale(1);
  opacity: 1;
}

.cliente-slide{
  will-change: transform, opacity;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1),
              opacity  0.45s cubic-bezier(.2,.8,.2,1);
}

.cliente-slide.saliente{
  transform: scale(0.93);
  opacity: 0.78;
}

.cliente-img {
  width: 100%;
  height: 160px;
  background-color: #ffffff;
}

.cliente-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  pointer-events: none;
}

/* =========================
   STRIP SERVICIOS
========================= */
.strip-servicios {
  position: relative;
  width: 100%;
  padding: 20px 40px 16px;
  background-color: #ffffff;
  box-shadow: 0 -50px 12px rgba(175, 174, 173, 0.18);
  z-index: 2;
}

.servicios-heading {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 16px;
}

.servicios-heading-text {
  font-size: 50px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.servicios-word1 { color: #111111; }
.servicios-word2 { color: #E05720; }

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.strip-item {
  background-color: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform-origin: center top;
  position: relative;
}

.strip-item::after {
  content: "Ver más";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .22s ease, transform .22s ease;
  z-index: 10;
  pointer-events: none;
}

.strip-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

.strip-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.20);
  cursor: pointer;
}

.strip-img {
  height: 260px;
  background-color: #d9d9d9;
}

.strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strip-content {
  background-color: #ffffff;
  padding: 24px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.strip-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
}

.strip-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--dark);
}

.strip-text p {
  font-size: 14px;
  line-height: 1.4;
  color: var(--dark-soft);
}

/* =========================
   PROVEEDORES + HISTORIA
========================= */
.historia-proveedores {
  background: #f5f5f5;
  padding: 70px 24px 90px;
  user-select: auto;
  -webkit-user-select: auto;
}

.historia-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 64px;
  align-items: center;
}

.proveedores-wrapper {
  flex: 1.1;
}

.proveedores-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 28px;
}

.proveedores-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px 32px;
  user-select: none;
  -webkit-user-select: none;
}

.proveedor-card {
  grid-column: span 2;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.proveedor-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.proveedor-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.proveedor-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.proveedor-card:nth-child(-n+3) {
  min-height: var(--card-h-big);
  padding: 28px 44px;
}

.proveedor-card:nth-child(n+4) {
  min-height: var(--card-h-small);
  padding: 22px 38px;
}

.proveedor-card img {
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(var(--logo-scale));
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.proveedor-card:nth-child(-n+3) img {
  max-width: var(--logo-w-big);
  max-height: var(--logo-h-big);
}

.proveedor-card:nth-child(n+4) img {
  max-width: var(--logo-w-small);
  max-height: var(--logo-h-small);
}

.historia-wrapper { flex: 1; }

.historia-label {
  text-transform: uppercase;
  color: var(--primary-strong);
  letter-spacing: 0.18em;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.historia-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.historia-text {
  font-size: 15px;
  color: var(--dark-soft);
  max-width: 640px;
}

.historia-text p + p {
  margin-top: 10px;
}

.historia-btn {
  margin-top: 24px;
}

.historia-btn .about-btn {
  color: var(--dark);
  border-color: var(--dark);
  background: transparent;
}

/* =========================
   CURSOS
========================= */
.section-cursos {
  background-color: #f9f9f9;
  padding: 56px 24px 72px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--primary-strong);
  font-weight: 600;
  margin-bottom: 8px;
}

.section-title {
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--dark);
}

.section-text {
  font-size: 15px;
  color: var(--dark-soft);
}

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.curso-card {
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.curso-img {
  width: 100%;
  height: 190px;
  background-color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-soft);
  font-size: 13px;
  font-weight: 500;
}

.curso-body {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.curso-etiqueta {
  font-size: 13px;
  color: var(--primary-strong);
  font-weight: 600;
}

.curso-titulo {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.curso-meta {
  font-size: 13px;
  color: var(--dark-soft);
}

.curso-meta strong {
  color: var(--dark);
  font-weight: 600;
}

.curso-divider {
  margin: 10px 0;
  height: 2px;
  width: 60px;
  background-color: var(--primary);
}

/* =========================
   FOOTER
========================= */
.site-footer{
  background-color: #d0d0d0;
  padding: 32px 40px;
  margin-top: 40px;
}

.footer-inner{
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.footer-col,
.footer-brand{
  min-width: 0;
}

.footer-logo{
  max-width: 220px;
  height: auto;
  margin-bottom: 12px;
}

.footer-copy{
  font-size: 13px;
  color: #000;
}

.footer-title{
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links,
.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-list li{
  font-size: 14px;
  margin-bottom: 6px;
  color: #111;
  line-height: 1.35;
}

.footer-links a,
.footer-list a{
  color: #111;
  text-decoration: none;
}

.footer-links a:hover,
.footer-list a:hover{
  color: var(--primary);
}

.footer-col:nth-child(3) a{
  display: inline-block;
  max-width: 320px;
  white-space: normal;
  word-break: break-word;
  line-height: 1.35;
}

.footer-social--big{
  display: flex;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-social--big .social-icon{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social--big .social-icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* =========================
   TYPING (cursor)
========================= */
.tw-text.typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 6px;
  vertical-align: -0.12em;
  background: rgba(255, 255, 255, 0.95);
  animation: tw-blink 0.8s steps(1) infinite;
}

/* =========================
   CAMPOS
========================= */
.campos-section{
  background: #f5f5f5;
  padding: 18px 24px 60px;
}

.campos-inner{
  max-width: 1500px;
  margin: 0 auto;
}

.campos-head{
  width: 100%;
  max-width: 1500px;
  margin: 0 auto 12px;
  text-align: center;
}

.campos-divider{
  height: 2px;
  width: min(1100px, 92%);
  margin: 0 auto 10px;
  background: linear-gradient(to right,
    rgba(0,0,0,0),
    rgba(0,0,0,0.18),
    rgba(0,0,0,0)
  );
}

.campos-h2{
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #111;
}

.campos-wrap{
  position: relative;
  width: 100%;
  height: clamp(540px, 70vh, 760px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.12);
  isolation: isolate;
}

.campos-gallery{
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.campo-photo{
  position: relative;
  overflow: hidden;
}

.campo-photo + .campo-photo{
  border-left: 1px solid rgba(255,255,255,0.18);
}

.campo-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transform: scale(1.03);
  opacity: 1;
  transition: filter .25s ease, transform .35s ease, opacity .28s ease;
  will-change: transform, filter, opacity;
}

.campo-video.softloop-fading{
  opacity: 0;
}

.campo-photo::after{
  content:"";
  position:absolute;
  inset:0;
  z-index: 1;
  pointer-events:none;
  opacity: 0;
  background: rgba(0,0,0,0);
  transition: opacity .25s ease, background .25s ease;
}

.campo-info{
  position:absolute;
  inset:0;
  z-index: 2;
  padding: 28px;
  display:flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  color:#fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}

.campo-pill{
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.22);
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 800;
}

.campo-title{
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}

.campo-desc{
  font-size: 13px;
  line-height: 1.4;
  opacity: .92;
  max-width: 300px;
}

/* ===== PC ===== */
@media (min-width: 901px){
  .campo-photo:hover::after{
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.60) 0%,
      rgba(0,0,0,0.28) 35%,
      rgba(0,0,0,0.03) 75%,
      rgba(0,0,0,0.00) 100%
    );
  }

  .campo-photo:hover .campo-video{
    filter: brightness(0.82) contrast(1.04);
    transform: scale(1.04);
  }

  .campo-photo:hover .campo-info{
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MÓVIL ===== */
@media (max-width: 900px){
  .campos-wrap{
    height: 70vh;
    min-height: 520px;
  }

  .campos-gallery{
    position: relative;
    height: 100%;
    display: block;
  }

  .campo-photo{
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: camposCycle 12s infinite;
  }

  .campo-photo:nth-child(2){ animation-delay: 4s; }
  .campo-photo:nth-child(3){ animation-delay: 8s; }

  @keyframes camposCycle{
    0%   { opacity: 0; }
    8%   { opacity: 1; }
    33%  { opacity: 1; }
    41%  { opacity: 0; }
    100% { opacity: 0; }
  }

  .campo-photo::after{
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.22) 55%,
      rgba(0,0,0,0.03) 80%,
      rgba(0,0,0,0.00) 100%
    );
  }

  .campo-info{
    opacity: 1;
    transform: none;
    padding: 20px;
    pointer-events: none;
  }

  .campo-pill, .campo-title, .campo-desc{
    text-shadow: 0 8px 18px rgba(0,0,0,0.25);
  }

  .nav { padding: 12px 16px; }
  .logo { width: 130px; }

  .cliente-slide { transform: scale(0.92); opacity: 0.75; }
  .cliente-slide.activo { transform: scale(1); opacity: 1; }

  .hero { padding: 0; min-height: 100vh; height: 100svh; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 14px; }

  .about-empresa {
    padding: 48px 16px 56px;
    background: linear-gradient(to bottom, #141414 0%, #f2f2f2 90%);
  }

  .about-inner { flex-direction: column; align-items: flex-start; gap: 32px; }

  .clientes-wrapper { margin-left: 0; width: 100%; max-width: 100%; }
  .clientes-track { gap: 0; }
  .cliente-slide { flex: 0 0 calc(100% / 3); padding: 0 6px; }

  .historia-proveedores { padding: 48px 16px 56px; }
  .historia-inner { flex-direction: column; gap: 40px; }
  .proveedores-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proveedor-card { grid-column: auto; }

  .proveedor-card:nth-child(4) {
    grid-column: auto;
  }

  .proveedor-card:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 320px);
  }

  .strip-servicios { padding: 32px 16px 40px; }
  .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .strip-img { height: auto; aspect-ratio: 16 / 9; }
  .strip-content { padding: 18px 16px; }

  .section-cursos { padding: 40px 16px 56px; }
  .section-header { max-width: 100%; }
  .cursos-grid { grid-template-columns: 1fr; gap: 16px; }

  .site-footer{ padding: 18px 14px; }

  .footer-inner{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-title{
    margin-bottom: 6px;
    font-size: 14px;
    letter-spacing: 0.09em;
  }

  .footer-links li,
  .footer-list li{
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.35;
  }

  .footer-logo{
    max-width: 190px;
    margin-bottom: 8px;
  }

  .footer-copy{ font-size: 12px; }

  .footer-social--big{
    margin-top: 8px;
    gap: 10px;
  }

  .footer-social--big .social-icon{
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 600px) {
  .strip-grid { grid-template-columns: 1fr; }

  .campos-wrap{
    height: 62vh;
    min-height: 480px;
  }
}

@keyframes tw-blink {
  50% { opacity: 0; }
}

/* =========================
   FIX FINAL CAMPOS MÓVIL
========================= */
@media (max-width: 900px){
  .campo-photo::after{
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.44) 0%,
      rgba(0,0,0,0.22) 55%,
      rgba(0,0,0,0.06) 100%
    ) !important;
  }

  .campo-info{
    position: absolute !important;
    inset: 0 !important;
    z-index: 50 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 20px !important;
    color: #fff !important;
    pointer-events: none !important;
  }

  .campo-info *{
    opacity: 1 !important;
    visibility: visible !important;
  }

  .campo-pill{
    display: inline-flex !important;
    width: fit-content !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    background: rgba(0,0,0,0.22) !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
  }

  .campo-title{
    margin-top: 10px !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-shadow: 0 8px 18px rgba(0,0,0,0.25) !important;
  }

  .campo-desc{
    margin-top: 8px !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
    max-width: 92% !important;
    opacity: 0.95 !important;
    text-shadow: 0 8px 18px rgba(0,0,0,0.22) !important;
  }
}

/* =========================
   NAV: HAMBURGUESA (MÓVIL)
========================= */
.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span{
  width: 20px;
  height: 2px;
  background: #111;
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}

header.is-open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
header.is-open .nav-toggle span:nth-child(2){ opacity: 0; }
header.is-open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px){
  .nav{
    flex-wrap: wrap;
  }

  .nav-toggle{
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links,
  .nav-right{
    display: none;
    width: 100%;
  }

  header.is-open .nav-links{
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    border-top: 1px solid rgba(0,0,0,0.10);
  }

  header.is-open .nav-right{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 0 14px;
    border-top: 1px solid rgba(0,0,0,0.08);
  }

  .nav-links > a,
  .nav-links .nav-parent{
    padding: 12px 8px;
    font-size: 15px;
    font-weight: 600;
    color: #111;
  }

  .nav-dropdown::after{ display:none; }

  header.is-open .nav-submenu{
    position: static;
    margin: 6px 0 10px;
    padding: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  header.is-open .nav-submenu a{
    padding: 10px 12px 10px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
  }

  .nav-action{
    white-space: normal;
    text-align: left;
  }
}

.nav{
  justify-content: flex-start;
}

.nav-links{
  margin-left: 22px;
}

.nav-right{
  margin-left: auto;
}