/*

 * INNOVA RC CAPACITA - HOJA DE ESTILOS

 * Archivo organizado para mantenimiento.

 * IMPORTANTE: el orden de las reglas conserva la cascada del sitio original.

 * Los ajustes específicos y responsive se mantienen al final para evitar cambios visuales.

 */


/* ===== BASE Y TIPOGRAFÍA ===== */

@font-face  {
  font-family: MontserratLocal;
  src: url("assets/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face  {
  font-family: MontserratLocal;
  src: url("assets/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --orange: #ff6900;
  --orange-hover: #e95f00;
  --black: #0b0b0d;
  --ink: #15151b;
  --muted: #a5a5ad;
  --white: #ffffff;
  --font: MontserratLocal, Montserrat, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 72px));
  margin: auto;
}


/* ===== CABECERA Y NAVEGACIÓN ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--black);
  color: #ffffff;
  border-bottom: 1px solid #303035;
}

.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: auto;
}

.brand-image {
  display: block;
  width: auto;
  height: auto;
  max-height: 68px;
  max-width: 230px;
  object-fit: contain;
}

.brand-mark,
.brand-type,
#brand-fallback {
  display: none !important;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 700;
}

.main-nav > a:not(.nav-cta) {
  transition: color 0.2s ease;
}

.main-nav > a:hover,
.main-nav > a.active {
  color: var(--orange);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--orange);
  color: #ffffff;
  padding: 17px 19px;
  border: none;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font);
  transition: background 0.2s ease;
}

.nav-cta:not(:disabled):hover {
  background: var(--orange-hover);
}

.nav-cta span {
  margin-left: 10px;
}

.menu-toggle {
  display: none;
}

button:disabled {
  opacity: 1;
  cursor: default;
}

button:disabled:hover {
  transform: none;
}


/* ===== PORTADA PRINCIPAL ===== */

.hero {
  position: relative;
  min-height: 650px;
  background: #111217;
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/portada.png");
  background-size: cover;
  background-position: center 43%;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 0;
}

.hero-photo::after {
  content: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
            90deg,
            rgba(9, 9, 11, 0.94) 0%,
            rgba(9, 9, 11, 0.80) 30%,
            rgba(9, 9, 11, 0.40) 65%,
            rgba(9, 9, 11, 0.10) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.45),
            transparent 35%
        );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 130px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f6f6f6;
  font-size: 11px;
  letter-spacing: 2.1px;
  font-weight: 700;
}

.eyebrow-line {
  width: 29px;
  height: 2px;
  background: var(--orange);
}

.eyebrow-dot {
  width: 4px;
  height: 4px;
  background: var(--orange);
  border-radius: 50%;
}

.hero h1 {
  max-width: 790px;
  margin: 32px 0 22px;
  font-size: clamp(42px, 5.2vw, 75px);
  letter-spacing: -2.8px;
  line-height: 1.08;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.period {
  color: var(--orange);
}

.hero-content > p {
  max-width: 560px;
  color: #d3d3d6;
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 54px;
  padding: 16px 22px;
  border-radius: 4px;
  border: none;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.button:not(:disabled):hover {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--orange);
  color: #ffffff;
}

.button-primary:not(:disabled):hover {
  background: var(--orange-hover);
}

.button-outline {
  border: 1px solid #777777;
  color: #ffffff;
  background: transparent;
}

.button-outline:hover {
  background: #ffffff;
  color: var(--black);
  border-color: #ffffff;
}

.button span {
  font-size: 18px;
}

.hero-certification {
  position: absolute;
  right: 35px;
  bottom: 90px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: auto;
  pointer-events: none;
}

.certification-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(
        0 4px 12px rgba(0, 0, 0, 0.35)
    );
}

.hero-bottom {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-bottom-inner {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b7b7bd;
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 700;
}

.hero-bottom a {
  color: #ffffff;
}

.hero-bottom a span {
  color: var(--orange);
  font-size: 17px;
  margin-left: 9px;
}

.features {
  background: #ffffff;
  border-bottom: 1px solid #ececef;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  display: flex;
  gap: 19px;
  padding: 39px 26px 42px 0;
}

.feature + .feature {
  border-left: 1px solid #e7e7e7;
  padding-left: 30px;
}

.feature-number {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  padding-top: 3px;
}

.feature h2 {
  font-size: 16px;
  margin: 0 0 9px;
}

.feature p {
  font-size: 12px;
  color: #73737c;
  line-height: 1.7;
  margin: 0;
}

.next-section,
.placeholder-section {
  padding: 100px 0;
}

.next-section {
  background: #f6f6f7;
}

.section-kicker {
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.next-section h2,
.placeholder-section h2 {
  font-size: clamp(28px, 4vw, 48px);
  max-width: 700px;
  line-height: 1.2;
  margin: 20px 0;
}

.next-section p,
.placeholder-section p {
  color: #6c6c76;
  line-height: 1.8;
}


/* ===== CONTACTO Y PIE DE PÁGINA ===== */

.contact-section {
  background: #141416;
  color: #ffffff;
}

.contact-section p {
  color: #bbbbbb;
}

.footer {
  background: #0b0b0d;
  color: #8e8e94;
  padding: 26px 0;
  font-size: 12px;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 78px;
  }

  .brand-image {
    max-height: 56px;
    max-width: 200px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 12px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    background: #ffffff;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #101013;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 36px 25px;
    border-top: 1px solid #333333;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a {
    padding: 17px 0;
  }

  .main-nav .nav-cta {
    padding: 17px;
    margin-top: 12px;
    text-align: center;
  }

  .hero {
    min-height: 620px;
  }

  .hero h1 {
    max-width: 680px;
  }

  .hero-photo {
    background-position: 58% center;
  }

  .hero-certification {
    right: 25px;
    bottom: 90px;
    width: 85px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature,
    .feature + .feature {
    border-left: 0;
    border-bottom: 1px solid #eeeeee;
    padding: 25px 0;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 36px, 1180px);
  }

  .brand-image {
    max-height: 48px;
    max-width: 175px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-photo {
    background-position: 63% center;
  }

  .hero-overlay {
    background: linear-gradient(
                90deg,
                rgba(9, 9, 11, 0.90),
                rgba(9, 9, 11, 0.70)
            ),
            linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.50),
                transparent 60%
            );
  }

  .hero-content {
    padding: 70px 0 160px;
  }

  .hero h1 {
    font-size: clamp(39px, 10vw, 54px);
    letter-spacing: -1.7px;
  }

  .hero-content > p {
    font-size: 14px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
    flex-wrap: wrap;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    justify-content: space-between;
  }

  .hero-certification {
    right: 18px;
    bottom: 85px;
    width: 65px;
  }

  .hero-bottom-inner {
    font-size: 9px;
  }

  .hero-bottom-inner > span:last-child {
    display: none;
  }

  .next-section,
    .placeholder-section {
    padding: 70px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
    .nav-cta,
    .main-nav a {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}

.hero-certification {
  position: absolute;
  right: 40px;
  bottom: 95px;
  width: 105px;
  height: auto;
  z-index: 10;
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.hero-certification img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .hero-certification {
    right: 25px;
    bottom: 85px;
    width: 80px;
  }
}

@media (max-width: 600px) {
  .hero-certification {
    right: 18px;
    bottom: 78px;
    width: 65px;
  }
}

.hero-bottom-inner {
  gap: 15px;
}

.hero-bottom-inner > span {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .hero-bottom-inner {
    height: auto;
    min-height: 65px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 14px 0;
    gap: 12px;
    font-size: 9px;
  }

  .hero-bottom-inner > span:last-child {
    display: inline;
  }

  .hero-bottom-inner a {
    order: 3;
    width: 100%;
    text-align: center;
  }
}


/* ===== CURSOS Y CATEGORÍAS ===== */

.courses-section {
  padding: 105px 0 115px;
  background: #ffffff;
  color: #15151b;
}

.courses-heading {
  max-width: 850px;
  margin-bottom: 75px;
}

.courses-heading h2 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  margin: 20px 0;
}

.courses-heading > p {
  max-width: 650px;
  color: #73737c;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 30px;
}

.courses-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.courses-summary span {
  border: 1px solid #e7e7e9;
  border-radius: 4px;
  padding: 12px 15px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .7px;
  color: #666670;
}

.course-category {
  margin-bottom: 75px;
}

.course-category:last-child {
  margin-bottom: 0;
}

.category-heading {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 25px;
  padding-bottom: 23px;
  border-bottom: 1px solid #e8e8eb;
}

.category-icon {
  width: 65px;
  height: 65px;
  min-width: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff1e6;
  color: #ff6900;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 700;
}

.category-label {
  display: block;
  color: #ff6900;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  margin-bottom: 7px;
}

.category-heading h3 {
  font-size: clamp(19px, 2.4vw, 27px);
  font-weight: 700;
  letter-spacing: -.6px;
  line-height: 1.3;
  margin: 0 0 6px;
}

.category-heading p {
  color: #9999a1;
  font-size: 12px;
  margin: 0;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.course-card {
  display: flex;
  flex-direction: column;
  min-height: 185px;
  padding: 25px;
  background: #fafafa;
  border: 1px solid #e9e9ec;
  border-radius: 10px;
  transition: transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease,
        background .25s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: #ff6900;
  box-shadow: 0 15px 35px rgba(0,0,0,.07);
}

.course-number {
  display: block;
  color: #ff6900;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}

.course-card h4 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.2px;
  margin: 0 0 20px;
}

.course-type {
  display: block;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #eaeaec;
  color: #92929b;
  font-size: 11px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .courses-section {
    padding: 75px 0;
  }

  .courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .courses-heading {
    margin-bottom: 55px;
  }

  .course-category {
    margin-bottom: 60px;
  }
}

@media (max-width: 600px) {
  .courses-section {
    padding: 65px 0;
  }

  .courses-heading h2 {
    font-size: 38px;
    letter-spacing: -1.3px;
  }

  .courses-heading > p {
    font-size: 13px;
  }

  .courses-summary {
    gap: 7px;
  }

  .courses-summary span {
    font-size: 9px;
    padding: 9px 11px;
  }

  .category-heading {
    gap: 14px;
    align-items: flex-start;
  }

  .category-icon {
    width: 49px;
    height: 49px;
    min-width: 49px;
    font-size: 17px;
    border-radius: 9px;
  }

  .category-heading h3 {
    font-size: 19px;
  }

  .category-label {
    font-size: 9px;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .course-card {
    min-height: 145px;
    padding: 20px;
  }

  .course-number {
    margin-bottom: 12px;
  }

  .course-card h4 {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .course-category {
    margin-bottom: 55px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-card {
    transition: none;
  }

  .course-card:hover {
    transform: none;
  }
}

.courses-section {
  padding: 85px 0 95px;
  background: #ffffff;
}

.courses-heading {
  margin-bottom: 38px;
}

.courses-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-group {
  border: 1px solid #e5e5e8;
  border-radius: 12px;
  background: #f7f7f8;
  overflow: hidden;
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}

.course-group:hover {
  border-color: #ff6900;
}

.course-group[open] {
  background: #ff6900;
  border-color: #ff6900;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.course-group summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.course-group summary::-webkit-details-marker {
  display: none;
}

.course-group summary:focus-visible {
  outline: 3px solid #ff6900;
  outline-offset: -3px;
}

.accordion-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #ffffff;
  color: #ff6900;
  font-size: 19px;
  font-weight: 700;
}

.accordion-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  min-width: 0;
}

.accordion-info strong {
  font-size: 17px;
  line-height: 1.4;
  color: #15151b;
}

.accordion-info small {
  color: #777780;
  font-size: 12px;
}

.course-group[open] .accordion-info strong,
.course-group[open] .accordion-info small {
  color: #ffffff;
}

.course-group[open] .accordion-number {
  background: #111114;
  color: #ffffff;
}

.accordion-arrow {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border-right: 2px solid #ff6900;
  border-bottom: 2px solid #ff6900;
  transform: rotate(45deg);
  transition: transform .25s;
  margin-right: 8px;
  margin-top: -6px;
}

.course-group[open] .accordion-arrow {
  border-color: #ffffff;
  transform: rotate(225deg);
  margin-top: 6px;
}

.accordion-content {
  padding: 24px 26px 28px;
  border-top: 1px solid rgba(255,255,255,.28);
  background: #ffffff;
}

.accordion-content .courses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.accordion-content .course-card {
  min-height: 115px;
  padding: 21px;
  background: #fafafa;
  border: 1px solid #ededf0;
  border-radius: 8px;
}

.accordion-content .course-card:hover {
  border-color: #ff6900;
  background: #ffffff;
}

.accordion-content .course-number {
  margin-bottom: 12px;
  font-size: 11px;
}

.accordion-content .course-card h4 {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .accordion-content .courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .courses-section {
    padding: 60px 0 70px;
  }

  .courses-heading {
    margin-bottom: 28px;
  }

  .courses-accordion {
    gap: 9px;
  }

  .course-group summary {
    padding: 16px;
    gap: 13px;
  }

  .accordion-number {
    width: 43px;
    height: 43px;
    font-size: 15px;
  }

  .accordion-info strong {
    font-size: 13px;
  }

  .accordion-info small {
    font-size: 11px;
  }

  .accordion-arrow {
    width: 9px;
    height: 9px;
    margin-right: 4px;
  }

  .accordion-content {
    padding: 15px;
  }

  .accordion-content .courses-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .accordion-content .course-card {
    min-height: 90px;
    padding: 16px;
  }

  .accordion-content .course-card h4 {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-group,
    .accordion-arrow {
    transition: none;
  }
}

.features,
.feature-grid,
#atributos {
  display: none !important;
}


/* ===== QUIÉNES SOMOS ===== */

.about-section {
  background: #ffffff;
  padding: 110px 0;
  scroll-margin-top: 90px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 85px;
}

.about-content h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -2px;
  margin: 20px 0 28px;
  color: #15151b;
}

.about-content h2 span {
  color: #ff6900;
}

.about-intro {
  font-size: 14px;
  line-height: 1.95;
  color: #666670;
  margin: 0 0 40px;
  max-width: 580px;
}

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.about-item:last-child {
  margin-bottom: 0;
}

.about-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: #f0f0f2;
  color: #ff6900;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
}

.about-item-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: #15151b;
  margin: 0 0 10px;
}

.about-item-content p {
  font-size: 13px;
  line-height: 1.9;
  color: #73737c;
  margin: 0;
}

.about-image-column {
  width: 100%;
  max-width: 450px;
  justify-self: end;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 18px;
  background: #e7e7e9;
  box-shadow: 0 20px 55px rgba(0,0,0,.09);
}

.about-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.035);
}

.about-image-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #777780;
}

.about-caption-line {
  width: 30px;
  height: 2px;
  background: #ff6900;
}

@media (max-width: 1000px) {
  .about-grid {
    gap: 45px;
  }

  .about-section {
    padding: 85px 0;
  }
}

@media (max-width: 750px) {
  .about-section {
    padding: 65px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-content h2 {
    font-size: 39px;
    letter-spacing: -1.5px;
  }

  .about-intro {
    font-size: 13px;
    margin-bottom: 30px;
  }

  .about-item {
    gap: 15px;
    margin-bottom: 28px;
  }

  .about-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 13px;
  }

  .about-item-content h3 {
    font-size: 17px;
  }

  .about-item-content p {
    font-size: 12px;
  }

  .about-image-column {
    max-width: 430px;
    justify-self: center;
  }

  .about-image-wrapper {
    border-radius: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-image {
    transition: none;
  }
}


/* ===== NUESTROS VALORES ===== */

.values-section {
  background: #ffffff;
  color: #111111;
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}

.values-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
        90deg,
        #ff6900,
        #ff9e37,
        #ff6900
    );
}

.values-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 55px;
}

.values-header h2 {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin: 18px 0;
}

.values-header p {
  color: #55555e;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.value-card {
  background: #111114;
  border: 1px solid #303035;
  border-radius: 8px;
  padding: 28px 19px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.value-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #111114;
  transition: width 0.35s ease;
}

.value-card:hover {
  transform: translateY(-7px);
  border-color: #ff6900;
  background: #ff6900;
}

.value-card:hover .value-number,
.value-card:hover h3,
.value-card:hover p {
  color: #ffffff;
}

.value-card:hover::after {
  width: 100%;
}

.value-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ff6900;
  margin-bottom: 25px;
}

.value-icon {
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 25px;
}

.value-icon img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon img {
  transform: scale(1.12);
}

.value-card h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 15px;
  min-height: 45px;
}

.value-card p {
  color: #a5a5ad;
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}

.values-section .values-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.values-section .value-card {
  min-width: 0;
  height: auto;
}

.about-icon img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.values-swipe-hint {
  display: none;
}

@media (max-width: 900px) {
  .values-section .values-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 0 20px;
    overscroll-behavior-x: contain;
  }

  .values-section .values-grid::-webkit-scrollbar {
    display: none;
  }

  .values-section .values-grid > .value-card,
    .values-section .values-grid > .value-card:last-child {
    box-sizing: border-box;
    flex: 0 0 calc((100% - 12px) / 2);
    width: calc((100% - 12px) / 2);
    min-width: 0;
    max-width: none;
    height: auto;
    grid-column: auto;
    align-items: flex-start;
    text-align: left;
    scroll-snap-align: start;
    padding: 22px 15px;
  }

  .values-section .value-card:last-child p {
    max-width: none;
  }

  .values-section .value-card,
  .values-section .value-card:hover {
    background: #ff6900;
    border-color: #ff6900;
    transform: none;
  }

  .values-section .value-card .value-number,
  .values-section .value-card h3,
  .values-section .value-card p {
    color: #ffffff;
  }

  .values-section .value-card h3 {
    font-size: 14px;
    line-height: 1.4;
    min-height: 58px;
  }

  .values-section .value-card p {
    font-size: 11px;
    line-height: 1.7;
  }

  .values-section .value-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
  }

  .values-section .value-icon img {
    width: 44px;
    height: 44px;
  }

  .values-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    color: #55555e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
  }

  .values-swipe-hint span {
    color: #ff6900;
    font-size: 20px;
  }
}

@media (max-width: 700px) {
  .values-section {
    padding: 70px 0 75px;
  }

  .values-header {
    margin-bottom: 35px;
  }

  .values-header h2 {
    font-size: 34px;
  }

  .values-header p {
    font-size: 13px;
  }

  .about-icon img {
    width: 27px;
    height: 27px;
  }
}

@media (max-width: 700px) {
  .about-image {
    width: 100%;
    max-width: 100%;
    margin: 30px auto 0;
  }

  .about-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 35%;
    border-radius: 14px;
  }
}

.contact-section {
  background: #0b0b0d;
  color: #ffffff;
  padding: 95px 0 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #ff6900;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 110px;
  align-items: start;
  padding-bottom: 95px;
}

.contact-brand {
  max-width: 420px;
}

.contact-logo {
  display: block;
  width: 245px;
  max-width: 100%;
  height: auto;
  margin-bottom: 35px;
}

.contact-brand p {
  color: #a5a5ad;
  font-size: 15px;
  line-height: 1.95;
  font-weight: 400;
  margin: 0;
}

.contact-information {
  width: 100%;
  min-width: 0;
}

.contact-kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #ff6900;
  margin-bottom: 15px;
}

.contact-information h2 {
  color: #ffffff;
  font-size: clamp(29px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -1.3px;
  line-height: 1.2;
  margin: 0 0 32px;
}

.contact-information h2 span {
  color: #ff6900;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid #29292d;
  border-radius: 10px;
  background: #141416;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-link:hover {
  background: #211b17;
  border-color: #ff6900;
  transform: translateX(6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  width: 45px;
  height: 45px;
  min-width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 105, 0, 0.1);
  color: #ff6900;
  border-radius: 9px;
  transition: all 0.3s ease;
}

.contact-icon svg {
  width: 21px;
  height: 21px;
}

.contact-link:hover .contact-icon {
  background: #ff6900;
  color: #ffffff;
}

.contact-link-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.contact-link-text small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #92929a;
}

.contact-link-text strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  overflow-wrap: anywhere;
  transition: color 0.3s ease;
}

.contact-link:hover .contact-link-text strong {
  color: #ff6900;
}

.contact-arrow {
  color: #777780;
  font-size: 19px;
  font-weight: 600;
  margin-left: auto;
  transition: color 0.3s ease,
    transform 0.3s ease;
}

.contact-link:hover .contact-arrow {
  color: #ff6900;
  transform: translate(3px, -3px);
}

.contact-link:focus-visible {
  outline: 2px solid #ff6900;
  outline-offset: 3px;
}

.contact-bottom {
  border-top: 1px solid #29292d;
  padding: 25px 0;
}

.contact-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.contact-bottom-inner > span {
  color: #777780;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

@media (max-width: 980px) {
  .contact-section {
    padding-top: 75px;
  }

  .contact-grid {
    gap: 50px;
    grid-template-columns: 1fr 1.2fr;
    padding-bottom: 75px;
  }

  .contact-logo {
    width: 210px;
  }
}

@media (max-width: 767px) {
  .contact-section {
    padding-top: 65px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-bottom: 65px;
  }

  .contact-brand {
    max-width: 100%;
  }

  .contact-logo {
    width: 205px;
    margin-bottom: 25px;
  }

  .contact-brand p {
    font-size: 14px;
    line-height: 1.85;
  }

  .contact-information h2 {
    font-size: 31px;
    margin-bottom: 27px;
  }

  .contact-link {
    padding: 15px 13px;
    gap: 12px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .contact-icon svg {
    width: 19px;
    height: 19px;
  }

  .contact-link-text strong {
    font-size: 12px;
  }

  .contact-link-text small {
    font-size: 9px;
  }

  .contact-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-link,
  .contact-icon,
  .contact-link-text strong,
  .contact-arrow {
    transition: none;
  }
}

.contact-brand {
  width: 100%;
  max-width: 100%;
}

.contact-logo {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin-bottom: 32px;
  object-fit: contain;
  object-position: left center;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.contact-pair .contact-link {
  min-width: 0;
  gap: 10px;
  padding: 15px 12px;
}

.contact-pair .contact-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
}

.contact-pair .contact-link-text strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}

.contact-pair .contact-link-text small {
  font-size: 9px;
}

.contact-pair .contact-arrow {
  font-size: 15px;
}

@media (max-width: 1050px) and (min-width: 768px) {
  .contact-grid {
    gap: 45px;
  }

  .contact-pair {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .contact-logo {
    width: 100%;
    max-width: 100%;
    margin-bottom: 25px;
  }

  .contact-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .contact-pair .contact-link {
    padding: 13px 10px;
    gap: 8px;
    align-items: flex-start;
  }

  .contact-pair .contact-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  .contact-pair .contact-icon svg {
    width: 17px;
    height: 17px;
  }

  .contact-pair .contact-link-text strong {
    font-size: 11px;
    line-height: 1.5;
  }

  .contact-pair .contact-link-text small {
    font-size: 8px;
    letter-spacing: 0.5px;
  }

  .contact-pair .contact-arrow {
    display: none;
  }
}

@media (max-width: 380px) {
  .contact-pair {
    grid-template-columns: 1fr;
  }
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: auto;
  max-height: none;
  overflow: visible;
}

.contact-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.contact-pair .contact-link {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 78px;
  height: auto;
  visibility: visible;
  opacity: 1;
}

.contact-pair .contact-link-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 5px;
  visibility: visible;
  opacity: 1;
}

.contact-pair .contact-link-text small {
  display: block;
  color: #a5a5ad;
}

.contact-pair .contact-link-text strong {
  display: block;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.contact-pair .contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6900;
  font-size: 21px;
  flex-shrink: 0;
}

.contact-pair .contact-arrow {
  margin-left: auto;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .contact-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .contact-pair .contact-link {
    padding: 12px 9px;
  }

  .contact-pair .contact-link-text strong {
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .contact-pair {
    grid-template-columns: 1fr;
  }
}

.contact-bottom {
  margin-top: 35px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
}

.contact-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-bottom-inner > span {
  color: #9696a3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.design-credit {
  display: flex;
  align-items: center;
  gap: 7px;
}

.design-credit a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.design-credit a:hover {
  color: #ff6900;
}

@media (max-width: 600px) {
  .contact-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .contact-bottom-inner > span {
    font-size: 9px;
    letter-spacing: 1px;
  }
}

.contact-bottom {
  width: 100%;
  background: #0b0b0d;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 25px 0;
  margin: 0;
}

.contact-bottom-inner {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.contact-bottom-inner > span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: #9696a3;
}

.design-credit {
  display: flex;
  align-items: center;
  gap: 7px;
}

.design-credit a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.design-credit a:hover {
  color: #ff6900;
}

@media (max-width: 600px) {
  .contact-bottom-inner {
    width: calc(100% - 36px);
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .contact-bottom-inner > span {
    font-size: 9px;
  }
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 6px 22px rgba(0,0,0,.28);
  transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-float img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 28px rgba(37,211,102,.3);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
    padding: 11px;
  }
}

.about-section {
  border-bottom: none !important;
}

.values-section {
  border-top: none !important;
}

/* ==========================================
   GALERÍA AUTOMÁTICA
   ========================================== */

.gallery-section {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  padding: 35px 0;
}

.gallery-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
  cursor: grab;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track.is-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-snap-type: none;
}

.gallery-item {
  flex: 0 0 calc((100% - 48px) / 5);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* VERSIÓN MÓVIL */

@media (max-width: 768px) {
  .gallery-section {
    padding: 25px 0;
  }

  .gallery-track {
    gap: 10px;
  }

  .gallery-item {
    flex-basis: calc((100% - 10px) / 2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item img {
    transition: none;
  }
}

/* ==========================================
   FLECHAS DE LA GALERÍA
   ========================================== */

.gallery-section {
  position: relative;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #111114;
  color: #ffffff;
  border: none;
  border-radius: 50%;

  font-size: 20px;
  cursor: pointer;

  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease, transform 0.3s ease;
}

.gallery-arrow:hover {
  background: #ff6900;
  transform: translateY(-50%) scale(1.08);
}

.gallery-arrow-prev {
  left: 18px;
}

.gallery-arrow-next {
  right: 18px;
}

/* Ocultar flechas en móviles */

@media (max-width: 768px) {
  .gallery-arrow {
    display: none;
  }
}

/* ==========================================
   GALERÍA - DIFUMINADO LATERAL
   ========================================== */

.gallery-section {
  position: relative;
  isolation: isolate;
}

/* Degradado izquierdo y derecho */
.gallery-section::before,
.gallery-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 130px;
  z-index: 5;
  pointer-events: none;
}

/* Extremo izquierdo */
.gallery-section::before {
  left: 0;
  background: linear-gradient(
    to right,
    #ffffff 0%,
    rgba(255, 255, 255, 0.85) 20%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* Extremo derecho */
.gallery-section::after {
  right: 0;
  background: linear-gradient(
    to left,
    #ffffff 0%,
    rgba(255, 255, 255, 0.85) 20%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* Mantener las flechas por encima del degradado */
.gallery-arrow {
  z-index: 10;
}

/* Versión móvil: difuminado más sutil */
@media (max-width: 768px) {
  .gallery-section::before,
  .gallery-section::after {
    width: 35px;
  }
}

/* ==========================================
   ACCESO PRIVADO - CERTIFICADOS
   ========================================== */

.main-nav .nav-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 16px;

    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 6px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}


.main-nav .nav-login:hover {
    color: #ff5a00;

    border-color: #ff5a00;

    background-color:
        rgba(255, 90, 0, 0.08);
}


/* ==========================================
   AJUSTE DEL MENÚ PARA PANTALLAS MEDIANAS
   ========================================== */

@media (max-width: 1100px) {

    .main-nav {
        gap: 18px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .main-nav .nav-cta,
    .main-nav .nav-login {
        padding: 10px 12px;
    }

}

/* ==========================================
   CORRECCIÓN BOTÓN BUSCAR CERTIFICADO
========================================== */

.main-nav .nav-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    min-width: 155px;

    padding: 17px 19px !important;

    background: #ff6900 !important;
    color: #ffffff !important;

    border: 0 !important;
    border-radius: 4px;

    font-family: MontserratLocal, Montserrat, Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;

    line-height: 1.2 !important;
    text-decoration: none !important;

    opacity: 1 !important;
    visibility: visible !important;
}

.main-nav .nav-cta-label {
    display: inline !important;

    color: #ffffff !important;

    font-size: 12px !important;
    font-weight: 700 !important;

    opacity: 1 !important;
    visibility: visible !important;
}

.main-nav .nav-cta-arrow {
    display: inline !important;

    margin-left: 3px !important;

    color: #ffffff !important;

    opacity: 1 !important;
    visibility: visible !important;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus {
    background: #e95f00 !important;
    color: #ffffff !important;
}

.main-nav .nav-cta:hover .nav-cta-label,
.main-nav .nav-cta:hover .nav-cta-arrow {
    color: #ffffff !important;
}

/* ==========================================
   BOTÓN INICIAR SESIÓN / GESTIÓN
========================================== */

.main-nav .nav-login,
.main-nav .nav-login-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 11px 18px !important;

    background: transparent !important;
    border: 1px solid #ff6900 !important;
    border-radius: 5px;

    color: #ffffff !important;

    font-family: MontserratLocal, Montserrat, Arial, sans-serif;
    font-size: 12px !important;
    font-weight: 700 !important;

    line-height: 1;
    text-decoration: none !important;

    cursor: pointer;

    opacity: 1 !important;
    visibility: visible !important;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.main-nav .nav-login:hover,
.main-nav .nav-login-button:hover,
.main-nav .nav-login:focus,
.main-nav .nav-login-button:focus {
    background: #ff6900 !important;
    border-color: #ff6900 !important;
    color: #ffffff !important;
}

/* =========================================================
   CONTACTO FLOTANTE INNOVA RC
   WhatsApp + Chatbot Easy-Peasy
   Versión consolidada
========================================================= */

/* ---------------------------------------------------------
   CONTENEDOR WHATSAPP
   WhatsApp queda por encima del launcher del chatbot.
--------------------------------------------------------- */

.innovarc-floating-contact {
    position: fixed;
    right: 20px;
    bottom: 105px;
    z-index: 99990;
}


/* ---------------------------------------------------------
   BURBUJA WHATSAPP
--------------------------------------------------------- */

.innovarc-whatsapp-trigger {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #20cf5b;
    color: #ffffff;

    cursor: pointer;

    box-shadow:
        0 8px 28px
        rgba(0, 0, 0, .24);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.innovarc-whatsapp-trigger:hover {
    transform: translateY(-3px) scale(1.03);

    box-shadow:
        0 12px 35px
        rgba(0, 0, 0, .28);

    background: #18b74d;
}

.innovarc-whatsapp-trigger:focus-visible {
    outline: 3px solid rgba(32, 207, 91, .35);
    outline-offset: 4px;
}

.innovarc-whatsapp-trigger img {
    display: block;
    width: 31px;
    height: 31px;
    object-fit: contain;
    pointer-events: none;
}

.innovarc-whatsapp-icon {
    display: block;
    width: 31px;
    height: 31px;
    color: #ffffff;
    pointer-events: none;
}


/* =========================================================
   PANEL WHATSAPP
   Misma posición inferior que el chatbot
========================================================= */

.innovarc-whatsapp-panel {
    position: fixed;

    /*
     * Al abrirse ya no depende de la posición
     * de la burbuja verde.
     *
     * Queda alineado con la ventana del chatbot.
     */
    right: 20px;
    bottom: 20px;

    width: 340px;
    height: 520px;

    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 40px);

    box-sizing: border-box;

    overflow-y: auto;
    overscroll-behavior: contain;

    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;

    background: #ffffff;

    z-index: 100002;

    box-shadow:
        0 22px 70px
        rgba(0, 0, 0, .28);
}


.innovarc-whatsapp-panel[hidden] {
    display: none !important;
}


/* ---------------------------------------------------------
   CABECERA WHATSAPP
--------------------------------------------------------- */

.innovarc-whatsapp-header {
    position: sticky;
    top: 0;
    z-index: 2;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    padding: 20px 22px;

    background: #101012;
    color: #ffffff;
}

.innovarc-whatsapp-header > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.innovarc-whatsapp-header strong {
    font-size: 17px;
    line-height: 1.3;
}

.innovarc-whatsapp-header small {
    color: rgba(255, 255, 255, .70);
    font-size: 12px;
}

.innovarc-whatsapp-status {
    display: inline-block;
    width: fit-content;

    margin-bottom: 4px;

    color: #20cf5b;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.innovarc-whatsapp-close {
    flex: 0 0 auto;

    border: 0;
    padding: 2px 4px;

    background: transparent;
    color: #ffffff;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;
}

.innovarc-whatsapp-close:hover {
    color: #20cf5b;
}

.innovarc-whatsapp-close:focus-visible {
    outline: 2px solid #20cf5b;
    outline-offset: 3px;
}


/* ---------------------------------------------------------
   CUERPO WHATSAPP
--------------------------------------------------------- */

.innovarc-whatsapp-body {
    padding: 20px;
}

.innovarc-whatsapp-message {
    margin: 0 0 17px;
    padding: 13px 15px;

    border-radius: 4px 13px 13px 13px;

    background: #f1f1f1;
    color: #242428;

    font-size: 14px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   OPCIONES RÁPIDAS WHATSAPP
--------------------------------------------------------- */

.innovarc-whatsapp-options {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 18px;
}

.innovarc-whatsapp-options button {
    padding: 8px 10px;

    border: 1px solid #dedede;
    border-radius: 20px;

    background: #ffffff;
    color: #222222;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    transition:
        border-color .2s ease,
        color .2s ease,
        background-color .2s ease;
}

.innovarc-whatsapp-options button:hover {
    border-color: #ff6900;
    color: #ff6900;
    background: #fff9f5;
}

.innovarc-whatsapp-options button:focus-visible {
    outline: 2px solid #ff6900;
    outline-offset: 2px;
}


/* ---------------------------------------------------------
   CAMPO DE MENSAJE WHATSAPP
--------------------------------------------------------- */

.innovarc-whatsapp-label {
    display: block;

    margin-bottom: 7px;

    color: #222222;

    font-size: 12px;
    font-weight: 800;
}

#innovarc-whatsapp-text {
    display: block;

    width: 100%;
    min-height: 90px;
    max-height: 130px;

    box-sizing: border-box;
    resize: vertical;

    padding: 12px 13px;

    border: 1px solid #dddddd;
    border-radius: 8px;

    background: #fafafa;
    color: #222222;

    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;

    outline: none;
}

#innovarc-whatsapp-text:focus {
    border-color: #20cf5b;

    box-shadow:
        0 0 0 3px
        rgba(32, 207, 91, .10);
}

.innovarc-whatsapp-counter {
    margin: 5px 1px 13px;

    color: #999999;

    font-size: 10px;
    text-align: right;
}


/* ---------------------------------------------------------
   BOTÓN ENVIAR WHATSAPP
--------------------------------------------------------- */

.innovarc-whatsapp-send {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;

    padding: 13px 18px;

    border: 0;
    border-radius: 7px;

    background: #20cf5b;
    color: #ffffff;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background-color .2s ease,
        transform .2s ease;
}

.innovarc-whatsapp-send:hover {
    background: #18b74d;
    transform: translateY(-1px);
}

.innovarc-whatsapp-send:focus-visible {
    outline: 3px solid rgba(32, 207, 91, .28);
    outline-offset: 3px;
}

.innovarc-whatsapp-privacy {
    display: block;

    margin-top: 10px;

    color: #929292;

    font-size: 9px;
    line-height: 1.4;

    text-align: center;
}




/* =========================================================
   RESPONSIVE TABLET / MÓVIL
========================================================= */

@media (max-width: 600px) {

    /*
     * WhatsApp continúa arriba del chatbot,
     * pero con separación más compacta.
     */
    .innovarc-floating-contact {
        right: 14px;
        bottom: 96px;
    }

    .innovarc-whatsapp-trigger {
        width: 58px;
        height: 58px;
    }

    .innovarc-whatsapp-trigger img,
    .innovarc-whatsapp-icon {
        width: 28px;
        height: 28px;
    }


    /*
     * Mantener 340x520 siempre que exista espacio.
     * Si el dispositivo es menor, adaptarse sin salirse.
     */
    .innovarc-whatsapp-panel {
        right: 0;
        bottom: 0;

        width: min(
            340px,
            calc(100vw - 28px)
        );

        height: min(
            520px,
            calc(100vh - 28px)
        );

        max-width: none;
        max-height: none;

        border-radius: 18px;
    }

    .innovarc-whatsapp-header {
        padding: 17px 18px;
    }

    .innovarc-whatsapp-body {
        padding: 17px;
    }

    .innovarc-whatsapp-message {
        font-size: 13px;
    }

    #innovarc-whatsapp-text {
        min-height: 82px;
    }


    iframe[src*="easy-peasy"],
    iframe[src*="easypeasy"],
    iframe[src*="easy-peasy.ai"],
    [class*="easy-peasy"] iframe,
    [id*="easy-peasy"] iframe {

        width: min(
            340px,
            calc(100vw - 28px)
        ) !important;

        height: min(
            520px,
            calc(100vh - 28px)
        ) !important;

        max-width: none !important;
        max-height: none !important;

        border-radius: 18px !important;
    }
}


/* =========================================================
   PANTALLAS MUY PEQUEÑAS
========================================================= */

@media (max-width: 380px) {

    .innovarc-floating-contact {
        right: 10px;
        bottom: 90px;
    }

    .innovarc-whatsapp-panel {
        width: calc(100vw - 20px);
        height: min(
            500px,
            calc(100vh - 20px)
        );
    }

    iframe[src*="easy-peasy"],
    iframe[src*="easypeasy"],
    iframe[src*="easy-peasy.ai"],
    [class*="easy-peasy"] iframe,
    [id*="easy-peasy"] iframe {
        width: calc(100vw - 20px) !important;
        height: min(
            500px,
            calc(100vh - 20px)
        ) !important;
    }
}


/* =========================================================
   MOVIMIENTO REDUCIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .innovarc-whatsapp-trigger,
    .innovarc-whatsapp-send,
    .innovarc-whatsapp-options button {
        transition: none;
    }

    .innovarc-whatsapp-trigger:hover,
    .innovarc-whatsapp-send:hover {
        transform: none;
    }
}

/* =========================================================
   CHATBOT FLOTANTE INNOVA RC
========================================================= */

.innovarc-chatbot-floating {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 100001;
}


/* =========================================================
   BURBUJA CHATBOT
========================================================= */

.innovarc-chatbot-trigger {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #ff6900;
    color: #ffffff;

    cursor: pointer;

    box-shadow:
        0 8px 28px
        rgba(0, 0, 0, .25);

    transition:
        transform .2s ease,
        background-color .2s ease,
        box-shadow .2s ease;
}


.innovarc-chatbot-trigger:hover {
    background: #e95f00;

    transform:
        translateY(-3px)
        scale(1.03);

    box-shadow:
        0 12px 35px
        rgba(0, 0, 0, .30);
}


.innovarc-chatbot-trigger:focus-visible {
    outline:
        3px solid
        rgba(255, 105, 0, .30);

    outline-offset: 4px;
}


.innovarc-chatbot-question {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 31px;
    height: 31px;

    border-radius: 50%;

    background: #ffffff;
    color: #ff6900;

    font-size: 23px;
    font-weight: 800;
    line-height: 1;
}


/* Pequeña cola estilo chat */

.innovarc-chatbot-question::after {
    content: "";

    position: absolute;

    left: 1px;
    bottom: 0;

    width: 8px;
    height: 8px;

    background: #ffffff;

    transform: rotate(25deg);

    border-radius: 1px;
}


/* =========================================================
   PANEL CHATBOT
========================================================= */

.innovarc-chatbot-panel[hidden] {
    display: none !important;
}


.innovarc-chatbot-panel {
    position: absolute;

    /*
     * Esto hace que la ventana ocupe
     * exactamente el lugar de la burbuja.
     */
    right: 0;
    bottom: 0;

    width: 340px;
    height: 520px;

    max-width:
        calc(100vw - 32px);

    max-height:
        calc(100vh - 40px);

    box-sizing: border-box;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, .08);

    border-radius: 20px;

    background: #0b0b0d;

    z-index: 20;

    box-shadow:
        0 22px 70px
        rgba(0, 0, 0, .30);
}


/* =========================================================
   BARRA SUPERIOR
========================================================= */

.innovarc-chatbot-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 66px;

    box-sizing: border-box;

    padding:
        12px 16px 12px 18px;

    border-bottom:
        1px solid #29292d;

    background: #101012;

    color: #ffffff;
}


.innovarc-chatbot-topbar > div {
    display: flex;
    flex-direction: column;

    gap: 2px;
}


.innovarc-chatbot-topbar span {
    color: #ff6900;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.innovarc-chatbot-topbar strong {
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
}


.innovarc-chatbot-close {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: transparent;
    color: #ffffff;

    font-size: 26px;
    line-height: 1;

    cursor: pointer;

    transition:
        color .2s ease,
        background-color .2s ease;
}


.innovarc-chatbot-close:hover {
    color: #ff6900;

    background:
        rgba(255, 255, 255, .05);
}


/* =========================================================
   IFRAME EASY-PEASY
========================================================= */

.innovarc-chatbot-frame-wrap {
    width: 100%;

    height:
        calc(100% - 66px);

    overflow: hidden;

    background: #0b0b0d;
}


.innovarc-chatbot-frame {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;

    background: #0b0b0d;
}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 600px) {

    .innovarc-chatbot-floating {
        right: 14px;
        bottom: 14px;
    }


    .innovarc-chatbot-trigger {
        width: 58px;
        height: 58px;
    }


    .innovarc-chatbot-question {
        width: 28px;
        height: 28px;

        font-size: 21px;
    }


    .innovarc-chatbot-panel {
        right: 0;
        bottom: 0;

        width: min(
            340px,
            calc(100vw - 28px)
        );

        height: min(
            520px,
            calc(100vh - 28px)
        );

        max-width: none;
        max-height: none;

        border-radius: 18px;
    }

}


/* =========================================================
   PANTALLAS MUY PEQUEÑAS
========================================================= */

@media (max-width: 380px) {

    .innovarc-chatbot-floating {
        right: 10px;
        bottom: 10px;
    }


    .innovarc-chatbot-panel {
        width:
            calc(100vw - 20px);

        height: min(
            500px,
            calc(100vh - 20px)
        );
    }

}

/* =========================================================
   ESTADO DE BURBUJAS FLOTANTES
========================================================= */

/*
 * Estado normal:
 * las dos burbujas deben mostrarse.
 */

body:not(.innovarc-whatsapp-open):not(.innovarc-chatbot-open)
#innovarc-whatsapp-trigger {
    display: flex !important;
}


body:not(.innovarc-whatsapp-open):not(.innovarc-chatbot-open)
#innovarc-chatbot-trigger {
    display: flex !important;
}


/*
 * WhatsApp abierto:
 * ocultamos ambas burbujas.
 */

body.innovarc-whatsapp-open
#innovarc-whatsapp-trigger,
body.innovarc-whatsapp-open
#innovarc-chatbot-trigger {
    display: none !important;
}


/*
 * Chatbot abierto:
 * ocultamos ambas burbujas.
 */

body.innovarc-chatbot-open
#innovarc-whatsapp-trigger,
body.innovarc-chatbot-open
#innovarc-chatbot-trigger {
    display: none !important;
}

/* =========================================================
   MODO CLARO / OSCURO INNOVA RC
========================================================= */


/* ---------------------------------------------------------
   BOTÓN
--------------------------------------------------------- */

.innovarc-theme-toggle {
    position: fixed;

    top: 18px;
    right: 22px;

    z-index: 100500;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 1px solid rgba(255, 105, 0, .75);
    border-radius: 50%;

    background: rgba(11, 11, 13, .92);
    color: #ffffff;

    box-shadow:
        0 7px 22px
        rgba(0, 0, 0, .22);

    cursor: pointer;

    backdrop-filter: blur(8px);

    transition:
        transform .22s ease,
        background-color .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}


.innovarc-theme-toggle:hover {
    transform: translateY(-2px);

    background: #ff6900;

    border-color: #ff6900;

    box-shadow:
        0 10px 28px
        rgba(255, 105, 0, .24);
}


.innovarc-theme-toggle:focus-visible {
    outline: 3px solid rgba(255, 105, 0, .35);
    outline-offset: 3px;
}


.innovarc-theme-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;
}


.innovarc-theme-icon svg {
    display: block;

    width: 100%;
    height: 100%;
}


/*
 * En modo claro mostramos luna.
 */
.innovarc-theme-moon {
    display: flex;
}


.innovarc-theme-sun {
    display: none;
}


/*
 * En modo oscuro mostramos sol.
 */
html[data-theme="dark"]
.innovarc-theme-moon {
    display: none;
}


html[data-theme="dark"]
.innovarc-theme-sun {
    display: flex;
}


/*
 * Botón en modo oscuro.
 */
html[data-theme="dark"]
.innovarc-theme-toggle {
    background: #ff6900;
    border-color: #ff6900;
    color: #ffffff;

    box-shadow:
        0 8px 25px
        rgba(255, 105, 0, .22);
}


html[data-theme="dark"]
.innovarc-theme-toggle:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #111114;
}


/* =========================================================
   TRANSICIÓN GENERAL
========================================================= */

body,
.courses-section,
.about-section,
.values-section,
.gallery-section,
.course-group,
.accordion-content,
.course-card,
.about-icon {
    transition:
        background-color .28s ease,
        color .28s ease,
        border-color .28s ease;
}


/* =========================================================
   MODO OSCURO
========================================================= */

html[data-theme="dark"] {
    color-scheme: dark;
}


html[data-theme="dark"] body {
    background: #0b0b0d;
    color: #f4f4f6;
}


/* ---------------------------------------------------------
   SECCIONES PRINCIPALES BLANCAS
--------------------------------------------------------- */

html[data-theme="dark"]
.courses-section,

html[data-theme="dark"]
.about-section,

html[data-theme="dark"]
.values-section,

html[data-theme="dark"]
.gallery-section,

html[data-theme="dark"]
.innovarc-pagina-certificados,

html[data-theme="dark"]
.innovarc-gestionar-certificados-page {
    background: #0f0f12;
    color: #f4f4f6;
}


/* =========================================================
   CURSOS
========================================================= */

html[data-theme="dark"]
.courses-heading h2 {
    color: #ffffff;
}


html[data-theme="dark"]
.courses-heading > p {
    color: #aaaab4;
}


html[data-theme="dark"]
.courses-summary span {
    border-color: #333339;
    color: #b9b9c2;
    background: #151518;
}


html[data-theme="dark"]
.course-group {
    background: #17171b;
    border-color: #2e2e34;
}


html[data-theme="dark"]
.course-group:hover {
    border-color: #ff6900;
}


html[data-theme="dark"]
.accordion-info strong {
    color: #f5f5f7;
}


html[data-theme="dark"]
.accordion-info small {
    color: #9999a4;
}


html[data-theme="dark"]
.accordion-number {
    background: #222227;
    color: #ff6900;
}


html[data-theme="dark"]
.course-group[open] {
    background: #ff6900;
    border-color: #ff6900;
}


html[data-theme="dark"]
.course-group[open]
.accordion-number {
    background: #101012;
    color: #ffffff;
}


html[data-theme="dark"]
.accordion-content {
    background: #101012;
}


html[data-theme="dark"]
.accordion-content .course-card,

html[data-theme="dark"]
.course-card {
    background: #18181c;
    border-color: #303036;
    color: #ffffff;
}


html[data-theme="dark"]
.accordion-content .course-card:hover,

html[data-theme="dark"]
.course-card:hover {
    background: #202025;
    border-color: #ff6900;
}


html[data-theme="dark"]
.course-card h4 {
    color: #f4f4f6;
}


html[data-theme="dark"]
.course-type {
    color: #9999a3;
    border-color: #303036;
}


/* =========================================================
   QUIÉNES SOMOS
========================================================= */

html[data-theme="dark"]
.about-content h2,

html[data-theme="dark"]
.about-item-content h3 {
    color: #ffffff;
}


html[data-theme="dark"]
.about-intro,

html[data-theme="dark"]
.about-item-content p,

html[data-theme="dark"]
.about-image-caption {
    color: #aaaab4;
}


html[data-theme="dark"]
.about-icon {
    background: #1c1c21;
}


html[data-theme="dark"]
.about-image-wrapper {
    background: #18181c;

    box-shadow:
        0 20px 55px
        rgba(0, 0, 0, .30);
}


/* =========================================================
   VALORES
========================================================= */

html[data-theme="dark"]
.values-header h2 {
    color: #ffffff;
}


html[data-theme="dark"]
.values-header p {
    color: #aaaab4;
}


html[data-theme="dark"]
.value-card {
    background: #17171b;
    border-color: #303036;
}


/*
 * El naranja corporativo se mantiene
 * como acento principal.
 */
html[data-theme="dark"]
.value-card:hover {
    border-color: #ff6900;
}


/* =========================================================
   GALERÍA
========================================================= */

html[data-theme="dark"]
.gallery-section {
    background: #0b0b0d;
}


/* =========================================================
   ELEMENTOS GENERALES
========================================================= */

html[data-theme="dark"]
.section-kicker {
    color: #ff6900;
}


/*
 * El header, hero, contacto y footer ya son oscuros
 * en el diseño original, así que no necesitan inversión.
 */


/* =========================================================
   WORDPRESS ADMIN BAR
========================================================= */

body.admin-bar
.innovarc-theme-toggle {
    top: 50px;
}


/* =========================================================
   TABLET / MÓVIL
========================================================= */

@media (max-width: 900px) {

    /*
     * Dejamos espacio para el botón hamburguesa.
     */
    .innovarc-theme-toggle {
        top: 17px;
        right: 70px;

        width: 42px;
        height: 42px;
    }


    body.admin-bar
    .innovarc-theme-toggle {
        top: 63px;
    }
}


@media (max-width: 480px) {

    .innovarc-theme-toggle {
        right: 66px;

        width: 40px;
        height: 40px;
    }


    .innovarc-theme-icon {
        width: 18px;
        height: 18px;
    }
}


/* =========================================================
   MOVIMIENTO REDUCIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .innovarc-theme-toggle,
    body,
    .courses-section,
    .about-section,
    .values-section,
    .gallery-section,
    .course-group,
    .accordion-content,
    .course-card {
        transition: none;
    }
}