/*
 * OigaProfe Theme — components.css
 * Header, Footer, Cards, Tarjetas de Curso, Podcast, WhatsApp
 */

/* ─── Header / Nav ──────────────────────────────────────────────────────────── */
.op-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 6, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--op-border);
}

.op-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 64px;
  max-width: var(--op-max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.op-logo {
  font-family: var(--op-font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--op-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  margin-right: 1rem;
  flex-shrink: 0;
}

.op-logo__dot {
  width: 8px;
  height: 8px;
  background: var(--op-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--op-cyan);
  animation: op-pulse 3s infinite;
}

@keyframes op-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.85)} }

.op-nav {
  display: flex;
  gap: 2px;
  flex: 1;
}

.op-nav a {
  color: var(--op-muted);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: var(--op-radius-sm);
  transition: var(--op-transition);
  white-space: nowrap;
}
.op-nav a:hover, .op-nav a.current-menu-item {
  color: var(--op-text);
  background: rgba(255,255,255,0.05);
}

.op-header__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}

/* Mobile hamburger */
.op-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius-sm);
  color: var(--op-muted);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

@media (max-width: 900px) {
  .op-nav { display: none; }
  .op-menu-toggle { display: flex; align-items: center; }
  .op-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--op-bg);
    padding: 1.5rem 2rem;
    gap: 4px;
    z-index: 999;
    border-top: 1px solid var(--op-border);
  }
  .op-nav.is-open a { font-size: 1rem; padding: 12px; }
}

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.op-hero {
  max-width: var(--op-max-w);
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: center;
}

.op-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--op-radius-full);
  padding: 6px 14px;
  font-size: 0.75rem;
  color: var(--op-cyan);
  margin-bottom: 1.5rem;
  font-family: var(--op-font-code);
}

.op-hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--op-green);
  border-radius: 50%;
  animation: op-pulse 2s infinite;
}

.op-hero h1 span.cyan { color: var(--op-cyan); }
.op-hero h1 span.gradient {
  background: linear-gradient(135deg, var(--op-orange), #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.op-hero__sub {
  font-size: 1.05rem;
  color: var(--op-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.op-hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.op-hero__stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.op-stat__number {
  font-family: var(--op-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--op-cyan);
  line-height: 1;
}
.op-stat__label { font-size: 0.75rem; color: var(--op-muted); margin-top: 2px; }

@media (max-width: 900px) {
  .op-hero { grid-template-columns: 1fr; padding-top: 3rem; }
}

/* ─── Terminal Hero ──────────────────────────────────────────────────────────── */
.op-terminal {
  background: var(--op-bg-3);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius-lg);
  overflow: hidden;
  box-shadow: var(--op-shadow-glow);
}

.op-terminal__bar {
  background: var(--op-bg-2);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--op-border);
}

.op-terminal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.op-terminal__label {
  font-family: var(--op-font-code);
  font-size: 0.7rem;
  color: var(--op-muted);
  margin-left: auto;
}

.op-terminal__body {
  padding: 18px;
  font-family: var(--op-font-code);
  font-size: 0.75rem;
  line-height: 1.8;
}

.op-terminal__cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--op-cyan);
  animation: op-blink 1s step-end infinite;
  vertical-align: middle;
}
@keyframes op-blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Colores sintaxis terminal */
.t-cyan   { color: var(--op-cyan); }
.t-green  { color: var(--op-green); }
.t-orange { color: var(--op-orange); }
.t-purple { color: var(--op-purple); }
.t-muted  { color: var(--op-muted); }
.t-white  { color: var(--op-text); }

/* ─── Cards de Ruta ──────────────────────────────────────────────────────────── */
.op-path-card {
  background: var(--op-bg-card);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius-lg);
  padding: 20px;
  transition: var(--op-transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.op-path-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent-color, var(--op-cyan));
  transform: scaleX(0);
  transition: transform 0.25s;
  transform-origin: left;
}

.op-path-card:hover::before { transform: scaleX(1); }
.op-path-card:hover {
  border-color: rgba(0,212,255,0.25);
  transform: translateY(-3px);
}

.op-path-card__icon { font-size: 1.75rem; margin-bottom: 10px; }
.op-path-card__name {
  font-family: var(--op-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--op-text);
}
.op-path-card__count { font-size: 0.75rem; color: var(--op-muted); }

.op-path-card__tag {
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 12px;
  display: inline-block;
  font-family: var(--op-font-code);
}

/* ─── Cards de Curso ─────────────────────────────────────────────────────────── */
.op-course-card {
  background: var(--op-bg-card);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius-lg);
  overflow: hidden;
  transition: var(--op-transition);
}

.op-course-card:hover {
  border-color: rgba(255,107,53,0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.op-course-card__thumb {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.op-course-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.op-course-card:hover .op-course-card__thumb img { transform: scale(1.05); }

.op-course-card__badge {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--op-font-code);
  font-weight: 500;
}

.op-badge--free { background:rgba(16,217,138,.15); color:var(--op-green); border:1px solid rgba(16,217,138,.3); }
.op-badge--paid { background:rgba(255,107,53,.15); color:var(--op-orange); border:1px solid rgba(255,107,53,.3); }
.op-badge--new  { background:rgba(139,92,246,.15); color:var(--op-purple); border:1px solid rgba(139,92,246,.3); }
.op-badge--soon { background:rgba(245,158,11,.15); color:var(--op-amber); border:1px solid rgba(245,158,11,.3); }

.op-course-card__body { padding: 18px; }
.op-course-card__title {
  font-family: var(--op-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
  color: var(--op-text);
}
.op-course-card__meta { font-size: 0.75rem; color: var(--op-muted); margin-bottom: 14px; }
.op-course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.op-course-card__price {
  font-family: var(--op-font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--op-cyan);
}

/* ─── Episodio Podcast ───────────────────────────────────────────────────────── */
.op-episode-card {
  background: var(--op-bg-card);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--op-transition);
  cursor: pointer;
  text-decoration: none;
}
.op-episode-card:hover {
  border-color: rgba(0,212,255,0.3);
  background: var(--op-bg-3);
}

.op-episode-card__num {
  font-family: var(--op-font-code);
  font-size: 0.7rem;
  color: var(--op-purple);
  min-width: 40px;
  flex-shrink: 0;
}
.op-episode-card__info { flex: 1; min-width: 0; }
.op-episode-card__title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--op-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.op-episode-card__meta { font-size: 0.7rem; color: var(--op-muted); margin-top: 2px; }
.op-episode-card__play {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--op-cyan);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  transition: background 0.2s;
}
.op-episode-card:hover .op-episode-card__play { background: rgba(0,212,255,0.2); }

/* ─── Mini reproductor ───────────────────────────────────────────────────────── */
.op-mini-player {
  background: var(--op-bg-card);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius);
  padding: 16px;
}
.op-mini-player__title { font-size: 0.875rem; font-weight: 500; margin-bottom: 12px; }
.op-mini-player__controls { display: flex; align-items: center; gap: 12px; }
.op-mini-player__progress {
  flex: 1;
  height: 4px;
  background: var(--op-border);
  border-radius: 2px;
  overflow: hidden;
}
.op-mini-player__progress-fill {
  height: 100%;
  background: var(--op-cyan);
  border-radius: 2px;
  width: 35%;
}
.op-mini-player__time {
  font-family: var(--op-font-code);
  font-size: 0.7rem;
  color: var(--op-muted);
}

/* ─── Tarjeta Certificación ──────────────────────────────────────────────────── */
.op-cert-card {
  background: var(--op-bg-card);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius);
  padding: 18px;
  text-align: center;
  transition: var(--op-transition);
}
.op-cert-card:hover {
  border-color: rgba(255,107,53,0.3);
  transform: translateY(-2px);
}
.op-cert-card__icon { font-size: 1.6rem; margin-bottom: 8px; }
.op-cert-card__name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--op-text);
  margin-bottom: 4px;
}
.op-cert-card__level { font-size: 0.7rem; color: var(--op-muted); }

/* ─── Recurso ────────────────────────────────────────────────────────────────── */
.op-resource-card {
  background: var(--op-bg-card);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius);
  padding: 20px;
  text-align: center;
  transition: var(--op-transition);
  cursor: pointer;
}
.op-resource-card:hover {
  border-color: rgba(139,92,246,0.35);
  transform: translateY(-2px);
}
.op-resource-card__icon { font-size: 2rem; margin-bottom: 10px; }
.op-resource-card__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--op-text);
  margin-bottom: 4px;
}
.op-resource-card__count { font-size: 0.7rem; color: var(--op-muted); margin-bottom: 6px; }
.op-resource-card__ext {
  font-size: 0.65rem;
  color: var(--op-purple);
  font-family: var(--op-font-code);
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.op-footer {
  background: var(--op-bg-2);
  border-top: 1px solid var(--op-border);
  padding: 3.5rem 2rem 2rem;
}

.op-footer__grid {
  max-width: var(--op-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--op-border);
}

.op-footer__brand-desc {
  font-size: 0.8rem;
  color: var(--op-muted);
  margin: 0.75rem 0 1.5rem;
  line-height: 1.6;
  max-width: 220px;
}

.op-footer__social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.op-footer__social-link {
  width: 34px; height: 34px;
  border-radius: var(--op-radius-sm);
  background: var(--op-bg-3);
  border: 1px solid var(--op-border);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-size: 0.875rem;
  color: var(--op-muted);
  transition: var(--op-transition);
}
.op-footer__social-link:hover {
  border-color: var(--op-cyan);
  color: var(--op-cyan);
}

.op-footer__col h5 {
  font-family: var(--op-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--op-text);
}
.op-footer__col a {
  display: block;
  font-size: 0.8rem;
  color: var(--op-muted);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.op-footer__col a:hover { color: var(--op-cyan); }

.op-footer__bottom {
  max-width: var(--op-max-w);
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.op-footer__copy {
  font-size: 0.75rem;
  color: var(--op-muted);
}
.op-footer__copy a {
  color: var(--op-cyan);
  text-decoration: none;
  transition: opacity 0.2s;
}
.op-footer__copy a:hover { opacity: 0.75; }

.op-footer__tagline {
  font-family: var(--op-font-code);
  font-size: 0.7rem;
  color: var(--op-purple);
}

@media (max-width: 900px) {
  .op-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .op-footer__grid { grid-template-columns: 1fr; }
  .op-footer__bottom { flex-direction: column; text-align: center; }
}

/* ─── Botón WhatsApp flotante ────────────────────────────────────────────────── */
.op-wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #25D366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.op-wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
  color: #fff;
}

.op-wa-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--op-bg-card);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius-sm);
  padding: 7px 12px;
  white-space: nowrap;
  font-size: 0.75rem;
  font-family: var(--op-font-body);
  color: var(--op-text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.op-wa-float:hover .op-wa-tooltip { opacity: 1; }

/* Shortcode de WhatsApp */
.op-wa-shortcode.op-wa-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 11px 22px;
  border-radius: var(--op-radius);
  text-decoration: none;
  transition: background 0.2s;
}
.op-wa-shortcode.op-wa-button:hover { background: #1da852; color: #fff; }

/* ─── Ticker / Banner deslizante ─────────────────────────────────────────────── */
.op-ticker {
  background: var(--op-bg-2);
  border-top: 1px solid var(--op-border);
  border-bottom: 1px solid var(--op-border);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}
.op-ticker__inner {
  display: inline-block;
  animation: op-ticker 35s linear infinite;
}
@keyframes op-ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.op-ticker:hover .op-ticker__inner { animation-play-state: paused; }

.op-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 3rem;
  font-size: 0.8rem;
  color: var(--op-muted);
}
.op-ticker__item strong { color: var(--op-cyan); font-weight: 500; }

/* ─── About strip ────────────────────────────────────────────────────────────── */
.op-about-strip {
  background: linear-gradient(135deg, rgba(0,212,255,0.03), rgba(139,92,246,0.03));
  border-top: 1px solid var(--op-border);
  border-bottom: 1px solid var(--op-border);
}
.op-about-strip__inner {
  max-width: var(--op-max-w);
  margin: 0 auto;
  padding: 3.5rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.5rem;
  align-items: center;
}
.op-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--op-cyan), var(--op-purple));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--op-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #04060F;
  flex-shrink: 0;
  border: 3px solid rgba(0,212,255,0.25);
}
.op-about-strip__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.op-tag {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--op-font-code);
  background: rgba(255,255,255,0.04);
  color: var(--op-muted);
  border: 1px solid var(--op-border);
}
@media (max-width: 768px) {
  .op-about-strip__inner { grid-template-columns: 1fr; text-align: center; }
  .op-about-strip__tags { justify-content: center; }
}

/* ─── Sección contacto ───────────────────────────────────────────────────────── */
.op-contact-card {
  background: var(--op-bg-card);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius-lg);
  padding: 28px;
}

.op-contact-alt {
  background: var(--op-bg-card);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s;
  text-decoration: none;
}
.op-contact-alt:hover { transform: translateX(4px); }

.op-contact-alt__icon {
  width: 48px; height: 48px;
  border-radius: var(--op-radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.op-contact-alt__icon--wa     { background:rgba(37,211,102,.15); border:1px solid rgba(37,211,102,.3); }
.op-contact-alt__icon--ig     { background:rgba(225,48,108,.15); border:1px solid rgba(225,48,108,.3); }
.op-contact-alt__icon--yt     { background:rgba(255,0,0,.15);    border:1px solid rgba(255,0,0,.3); }
.op-contact-alt__icon--email  { background:rgba(0,212,255,.1);   border:1px solid rgba(0,212,255,.2); }

.op-contact-alt__title {
  font-family: var(--op-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--op-text);
  margin-bottom: 2px;
}
.op-contact-alt__sub { font-size: 0.75rem; color: var(--op-muted); }

/* ─── Cert card como link ─────────────────────────────────────────────────────── */
a.op-cert-card { color: inherit; text-decoration: none; }
a.op-path-card { color: inherit; text-decoration: none; }
a.op-resource-card { color: inherit; text-decoration: none; }

/* ─── Mobile responsive extra ────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .op-certs-grid { grid-template-columns: repeat(2,1fr) !important; }
  .op-about-strip__inner { grid-template-columns: 1fr !important; gap: 1.5rem; text-align: center; }
  .op-about-strip__inner .op-avatar { margin: 0 auto; }
  .op-about-strip__tags { justify-content: center; }
  .op-mini-player { margin-top: 1.5rem; }
}
@media (max-width: 480px) {
  .op-certs-grid { grid-template-columns: 1fr !important; }
}

/* ─── Mejoras de nav dinámica ─────────────────────────────────────────────── */
.op-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: nowrap; }
.op-nav li { position: relative; }
.op-nav li a { display: block; color: var(--op-muted); text-decoration: none; font-size: 0.8rem; padding: 6px 10px; border-radius: var(--op-radius-sm); transition: var(--op-transition); white-space: nowrap; }
.op-nav li a:hover, .op-nav li.is-active > a, .op-nav li.current-menu-item > a { color: var(--op-text); background: rgba(255,255,255,0.05); }
.op-nav li.current-menu-item > a { color: var(--op-cyan); }
.op-nav__arrow { font-size: 0.6rem; margin-left: 2px; }

/* Submenú dropdown */
.op-submenu { display: none; position: absolute; top: 100%; left: 0; background: var(--op-bg-3); border: 1px solid var(--op-border); border-radius: var(--op-radius); padding: 6px; min-width: 180px; z-index: 100; flex-direction: column; gap: 2px; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.op-nav li:hover > .op-submenu { display: flex; }
.op-submenu li a { font-size: 0.8rem; border-radius: 6px; }

/* Hamburger mejorado */
.op-menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: 1px solid var(--op-border); border-radius: var(--op-radius-sm); color: var(--op-muted); padding: 8px 10px; cursor: pointer; width: 38px; height: 38px; }
.op-menu-toggle__bar { display: block; width: 16px; height: 1.5px; background: currentColor; transition: all 0.25s; transform-origin: center; }
.op-menu-toggle[aria-expanded="true"] .op-menu-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.op-menu-toggle[aria-expanded="true"] .op-menu-toggle__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.op-menu-toggle[aria-expanded="true"] .op-menu-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .op-nav ul { display: none; }
  .op-menu-toggle { display: flex; }
  .op-nav.is-open ul {
    display: flex; flex-direction: column;
    position: fixed; inset: 64px 0 0 0;
    background: var(--op-bg); padding: 1.5rem 2rem;
    gap: 4px; z-index: 999;
    border-top: 1px solid var(--op-border);
    overflow-y: auto;
  }
  .op-nav.is-open ul li a { font-size: 1rem; padding: 12px; }
  .op-submenu { position: static; border: none; background: transparent; padding-left: 1rem; box-shadow: none; }
  .op-nav li:hover > .op-submenu { display: flex; }
}
