/* ═══════════════════════════════════════════════
   artiva-nosotros.css — Scoped styles for page-nosotros.php
   All selectors prefixed with .nos- to avoid collisions
═══════════════════════════════════════════════ */

/* ─── Tokens locales (heredados del :root global) ─── */
/* Usar var(--v), var(--bk), etc. del style.css global  */

/* ─── Shared ─── */
.nos-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border: 1.5px solid rgba(116,33,252,.14);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--v);
  background: #fff;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.nos-section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  color: var(--bk);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.nos-section-title strong,
.nos-section-title em {
  font-weight: 300;
  font-style: normal;
  background: linear-gradient(125deg, var(--v), var(--vm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nos-section-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gy);
  max-width: 560px;
}

/* ─── Scroll reveal ─── */
.nos-rev {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.nos-rev.nos-vis {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.nos-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 88px 48px 80px;
  max-width: var(--max);
  margin: 0 auto;
}
.nos-hero__ann {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
  border: 1.5px solid var(--line);
  border-radius: 50px;
  font-size: 13.5px;
  color: var(--gy);
  margin-bottom: 40px;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
}
.nos-hero__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(208,255,95,.25);
}
.nos-hero__h {
  font-family: 'Anton', sans-serif;
  font-size: clamp(64px, 9vw, 108px);
  line-height: .88;
  text-transform: uppercase;
  color: var(--bk);
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.nos-hero__h em {
  font-style: normal;
  background: linear-gradient(125deg, var(--v), var(--vm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nos-hero__desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gy);
  max-width: 400px;
}
.nos-hero__visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--vmist) 0%, #fff 60%);
  border: 1px solid rgba(116,33,252,.1);
  aspect-ratio: 4/5;
}
.nos-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nos-hero__badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(27,27,27,.7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  letter-spacing: .01em;
}

/* ══════════════════════════════════════════════
   QUOTE
══════════════════════════════════════════════ */
.nos-quote {
  background: var(--bk);
  padding: 88px 48px;
  position: relative;
  overflow: hidden;
}
.nos-quote::after {
  content: '"';
  font-family: 'Anton', sans-serif;
  font-size: 500px;
  position: absolute;
  top: -80px;
  left: 30px;
  color: rgba(255,255,255,.02);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -.05em;
}
.nos-quote__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.nos-quote__text {
  font-family: 'Anton', sans-serif;
  font-size: clamp(30px, 4.5vw, 56px);
  text-transform: uppercase;
  line-height: 1.0;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.nos-quote__text em {
  font-style: normal;
  background: linear-gradient(125deg, var(--lime), #a8d640);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nos-quote__sub {
  font-size: 16px;
  color: rgba(255,255,255,.4);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   TEAM
══════════════════════════════════════════════ */
.nos-team {
  padding: 88px 48px 0;
}
.nos-team__header {
  text-align: center;
  margin-bottom: 40px;
}
.nos-team__row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
}
.nos-tmember {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50px;
  transition: border-color .22s, box-shadow .22s;
}
.nos-tmember:hover {
  border-color: rgba(116,33,252,.22);
  box-shadow: 0 6px 24px rgba(116,33,252,.08);
}
.nos-tphoto {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.nos-tphoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.nos-tphoto--a { background: linear-gradient(135deg, #7421fc, #e221fc); }
.nos-tphoto--b { background: linear-gradient(135deg, #7421fc, #213bfc); }
.nos-tphoto--c { background: linear-gradient(135deg, #1b1b1b, #7421fc); }
.nos-tname {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bk);
  white-space: nowrap;
}
.nos-trole {
  font-size: 12px;
  color: var(--gy);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════
   MISIÓN — ilustraciones
══════════════════════════════════════════════ */
.nos-illus {
  padding: 88px 48px;
}
.nos-illus__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.nos-illus__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  margin-top: 40px;
}
.nos-ig-card {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: var(--vmist);
  border: 1px solid rgba(116,33,252,.08);
  min-height: 230px;
}
.nos-ig-card--tall {
  grid-row: span 2;
  min-height: 360px;
}
.nos-ig-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}
.nos-ig-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(255,255,255,.88);
  border-radius: 12px;
  padding: 10px 14px;
  backdrop-filter: blur(6px);
  z-index: 1;
}
.nos-ig-label p {
  font-size: 13px;
  font-weight: 700;
  color: var(--bk);
  margin-bottom: 2px;
}
.nos-ig-label span {
  font-size: 12px;
  color: var(--gy);
}

/* ══════════════════════════════════════════════
   HISTORIA — timeline
══════════════════════════════════════════════ */
.nos-historia {
  background: var(--gl);
  padding: 88px 48px;
}
.nos-historia__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.nos-historia__header {
  text-align: center;
  margin-bottom: 64px;
}
.nos-historia__header .nos-section-desc {
  margin: 0 auto;
}
.nos-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 52px;
}
.nos-timeline::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--v) 0%, var(--vm) 50%, var(--lime) 100%);
  border-radius: 2px;
}
.nos-tl-item {
  position: relative;
  margin-bottom: 28px;
}
.nos-tl-item:last-child { margin-bottom: 0; }
.nos-tl-dot {
  position: absolute;
  left: -44px;
  top: 20px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--v);
  border: 3px solid var(--gl);
  box-shadow: 0 0 0 2px var(--v);
  z-index: 1;
  transition: transform .25s;
}
.nos-tl-item:hover .nos-tl-dot { transform: scale(1.3); }
.nos-tl-year {
  font-family: 'Anton', sans-serif;
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--v);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.nos-tl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
  transition: border-color .25s, transform .25s;
}
.nos-tl-card:hover {
  border-color: rgba(116,33,252,.18);
  transform: translateY(-2px);
}
.nos-tl-card h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--bk);
  margin-bottom: 6px;
}
.nos-tl-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gy);
}

/* ══════════════════════════════════════════════
   VALORES — acordeón
══════════════════════════════════════════════ */
.nos-valores {
  padding: 88px 48px 0;
  background: var(--bg);
}
.nos-valores__header {
  text-align: center;
  margin-bottom: 48px;
}
.nos-valores__header .nos-section-desc {
  margin: 0 auto;
}
.nos-accordion {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.nos-ac-item { border-bottom: 1px solid var(--line); }
.nos-ac-item:last-child { border-bottom: none; }
.nos-ac-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
  transition: background .18s;
}
.nos-ac-trigger:hover { background: var(--vmist); }
.nos-ac-item--open .nos-ac-trigger { background: var(--vmist); }
.nos-ac-num {
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  letter-spacing: -.03em;
  line-height: 1;
  background: linear-gradient(125deg, var(--v), var(--vm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  width: 32px;
}
.nos-ac-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--bk);
  letter-spacing: -.02em;
  flex: 1;
}
.nos-ac-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--v);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 12px;
  border: 1.5px solid rgba(116,33,252,.15);
  border-radius: 50px;
  flex-shrink: 0;
}
.nos-ac-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .3s, background .2s, border-color .2s;
}
.nos-ac-arrow svg {
  width: 11px;
  height: 11px;
  stroke: var(--gy);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: stroke .2s;
}
.nos-ac-item--open .nos-ac-arrow {
  transform: rotate(180deg);
  background: var(--v);
  border-color: var(--v);
}
.nos-ac-item--open .nos-ac-arrow svg { stroke: #fff; }
.nos-ac-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s cubic-bezier(.4,0,.2,1);
}
.nos-ac-body-inner {
  padding: 0 28px 22px 80px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gy);
}

/* ══════════════════════════════════════════════
   CTA
══════════════════════════════════════════════ */
.nos-cta {
  padding: 88px 48px;
  background: var(--gl);
}
.nos-cta__card {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5c0fd6 0%, #7421fc 40%, #9a4eff 72%, #b06eff 100%);
}
.nos-cta__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16) 0%, transparent 68%);
  pointer-events: none;
  animation: nos-glow-pulse 7s ease-in-out infinite alternate;
}
@keyframes nos-glow-pulse {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.08); opacity: 1; }
}
.nos-cta__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 40px;
}
.nos-cta__label {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(208,255,95,.15);
  border: 1.5px solid rgba(208,255,95,.25);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
}
.nos-cta__title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .95;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.nos-cta__title em {
  font-style: normal;
  color: var(--lime);
}
.nos-cta__desc {
  max-width: 460px;
  margin: 0 auto 32px;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(255,255,255,.65);
}
.nos-cta__btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.nos-cta__btn-lime {
  display: inline-block;
  padding: 14px 44px;
  background: var(--lime);
  color: var(--bk);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: background .22s, transform .22s, box-shadow .22s;
}
.nos-cta__btn-lime:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.16);
}
.nos-cta__btn-ghost {
  display: inline-block;
  padding: 14px 44px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: border-color .22s, background .22s;
}
.nos-cta__btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
}
.nos-cta__roles {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nos-cta__role-tag {
  padding: 7px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50px;
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nos-hero {
    grid-template-columns: 1fr;
    padding: 48px 20px 40px;
    gap: 36px;
  }
  .nos-hero__visual { aspect-ratio: 16/9; }
  .nos-hero__h { font-size: clamp(56px, 16vw, 88px); }
  .nos-hero__desc { max-width: 100%; font-size: 14px; }

  .nos-quote { padding: 60px 20px; }

  .nos-team { padding: 60px 20px 0; }
  .nos-team__row { flex-direction: column; align-items: center; }
  .nos-tmember { width: 100%; max-width: 320px; }

  .nos-illus { padding: 60px 20px; }
  .nos-illus__grid { grid-template-columns: 1fr; }
  .nos-ig-card--tall { grid-row: span 1; min-height: 240px; }
  .nos-ig-card { min-height: 200px; }

  .nos-historia { padding: 60px 20px; }
  .nos-timeline { padding-left: 40px; }

  .nos-valores { padding: 60px 20px 0; }
  .nos-ac-trigger { padding: 18px 20px; gap: 14px; }
  .nos-ac-body-inner { padding: 0 20px 18px 20px; }
  .nos-ac-tag { display: none; }

  .nos-cta { padding: 60px 20px; }
  .nos-cta__content { padding: 44px 24px; }
  .nos-cta__btns { flex-direction: column; align-items: center; }
  .nos-cta__btn-lime,
  .nos-cta__btn-ghost { width: 100%; max-width: 300px; text-align: center; }
}

@media (max-width: 600px) {
  .nos-ac-num { display: none; }
  .nos-ac-body-inner { padding: 0 16px 18px 16px; }
  .nos-cta__roles { gap: 6px; }
  .nos-cta__role-tag { font-size: 12px; padding: 6px 12px; }
}

/* ── Mobile fixes adicionales ── */
@media (max-width: 600px) {
  .nos-ig-card--tall { min-height: 260px; }
  .nos-cta__card { padding: 36px 20px; border-radius: 20px; }
  .nos-cta__title { font-size: clamp(26px, 9vw, 36px); }
  .nos-team__row { gap: 10px; }
  .nos-tmember { padding: 12px 14px; gap: 10px; border-radius: 14px; }
}

/* Fix: safe-area en foundation y nosotros */
@media (max-width: 900px) {
  .nos-hero, .fnd-hero { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
}
