/* Dana & Co — Gotra / dana-co.cl: Poppins, oscuro, #eee · sin rosa */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --bg: #111111;
  --surface: #222222;
  --surface-2: #1a1a1a;
  --text: #eeeeee;
  --text-soft: #888888;
  --white: #ffffff;
  --accent: #eeeeee;
  --accent-hover: #ffffff;
  --line: rgba(238, 238, 238, 0.12);
  --font: "Poppins", system-ui, sans-serif;
  --maxw: 1440px;
  --pad-x: clamp(20px, 4vw, 48px);
  /* compat danaco-site */
  --ink: var(--white);
  --ink-soft: var(--text-soft);
  --paper: var(--bg);
  --paper-2: var(--surface);
  --card: var(--surface);
  --line-legacy: var(--line);
  --black: #000000;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg) url("../assets/img/gotra-bg.gif") repeat left top;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

a {
  color: inherit;
  text-decoration: none;
}

.accent {
  color: var(--accent);
}

/* —— Nav —— */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--black) !important;
  background-image: none !important;
  border-bottom: 1px solid var(--line);
}

nav .nav-in {
  background-color: var(--black);
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(32px, 5vw, 72px);
  height: 104px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 var(--pad-x);
}

.logo {
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 80px;
  width: auto;
  max-width: min(340px, 60vw);
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  margin-left: auto;
  gap: clamp(16px, 2.8vw, 32px);
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--bg) !important;
  padding: 10px 18px !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--white) !important;
}

.dd {
  position: relative;
}

.dd-menu {
  position: absolute;
  top: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 300;
}

.dd:hover .dd-menu {
  opacity: 1;
  visibility: visible;
}

.dd-menu a {
  display: block;
  padding: 10px 14px;
  text-transform: none;
  letter-spacing: 0;
}

.dd-menu a:hover {
  background: var(--surface-2);
}

.dd-menu a b {
  display: block;
  font-weight: 600;
  color: var(--white);
}

.dd-menu a span {
  font-size: 0.76rem;
  color: var(--text-soft);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--white);
}

.page {
  display: none;
  animation: fade 0.4s ease;
}

.page.active {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.btn {
  padding: 14px 26px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  transition: 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-image-link {
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 660px;
}

.btn-image-link img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 156px;
  object-fit: contain;
}

.btn-primary:hover {
  background: var(--white);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--bg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: none;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.phero .phero-brand {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  color: var(--white);
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}

.phero .phero-brand::before {
  width: 36px;
  background: var(--white);
}

.phero-brand--sm {
  font-size: clamp(0.95rem, 2vw, 1.1rem) !important;
}

section {
  padding: 72px 0;
}

.sec-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.sec-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 14px;
  text-transform: none;
  font-weight: 700;
  line-height: 1.05;
}

.sec-head p {
  color: var(--text-soft);
  font-weight: 300;
}

/* Hero — copy izquierda, foto a ancho completo en la mitad derecha */
.hero {
  padding: 0;
  min-height: min(88vh, 820px);
  width: 100%;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  min-height: inherit;
  align-items: stretch;
  width: 100%;
}

.hero-copy {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 28px clamp(20px, 3vw, 40px) 40px;
  min-width: 0;
}

.hero-copy-in {
  width: 100%;
  max-width: 620px;
  margin: 0;
}

@media (min-width: 901px) {
  .hero-copy {
    padding-left: max(var(--pad-x), calc((100vw - var(--maxw)) / 2 + var(--pad-x)));
    padding-top: 36px;
  }

  .hero-copy-in {
    max-width: min(620px, 100%);
  }
}

.hero-visual {
  display: flex;
  flex-direction: column;
  min-height: min(88vh, 820px);
  min-width: 0;
  width: 100%;
}

.hero-carousel {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--black);
}

.hero-carousel img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  transition: opacity 1s ease;
  background: var(--surface);
  padding: clamp(10px, 2vw, 24px);
  box-sizing: border-box;
}

.hero-carousel img.active {
  opacity: 1;
}

/* Franja experiencia — ancho completo */
.exp-strip {
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  padding: 28px 0 30px;
}

.exp-strip-label {
  display: none;
}

.exp-strip-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.exp-strip-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: strip-scroll 52s linear infinite;
  padding: 8px var(--pad-x);
}

.exp-strip-track .exp-strip-item {
  font-family: var(--font);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #7e838e;
  white-space: nowrap;
  padding: 0;
  border: 0;
  background: transparent;
}

.exp-strip-track .exp-strip-sep {
  font-size: 0.95rem;
  line-height: 1;
  color: #aab0bb;
  opacity: 0.85;
  font-weight: 300;
  white-space: nowrap;
}

@keyframes strip-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .exp-strip-track,
  .tech-strip-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-carousel img {
    transition: none;
  }
}

.gotra-h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: none;
  margin-bottom: 20px;
}

.gotra-h1 span {
  display: block;
}

.gotra-h1 .dim {
  font-weight: 300;
  color: var(--text-soft);
}

.hero .lead {
  font-size: 1.05rem;
  color: var(--text-soft);
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 28px;
}

.hero .tagline {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Bloque breve de bio bajo el carrusel */
.bio-spotlight {
  padding: 10px 0 0;
}

.bio-spotlight__inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) minmax(220px, 0.9fr) minmax(300px, 1.3fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
  padding: 40px clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border-radius: 8px;
}

.bio-spotlight__left {
  display: flex;
  align-items: center;
  min-height: 100%;
  grid-column: 1;
}

.bio-spotlight__bigline {
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 0;
  text-transform: lowercase;
  max-width: 560px;
}

.bio-spotlight__photo {
  display: flex;
  justify-content: center;
  grid-column: 2;
}

.bio-spotlight__photo img,
.bio-spotlight__video {
  width: min(100%, 320px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  border: 1px solid var(--line);
  background: var(--surface);
}

.bio-spotlight__copy {
  grid-column: 3;
}

.bio-spotlight__copy .eyebrow {
  justify-content: flex-start;
  margin-bottom: 10px;
}

.bio-spotlight__copy h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
  margin-bottom: 12px;
}

.bio-spotlight__copy p {
  color: var(--text-soft);
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.72;
  max-width: 720px;
  letter-spacing: 0.01em;
}

.bio-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8em;
  height: 1.8em;
  margin-left: 0.3em;
  border-radius: 0.28em;
  border: 1px solid transparent;
  background: #0A66C2;
  color: #ffffff;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: middle;
  transition: transform 160ms ease, filter 160ms ease;
  text-decoration: none;
}

.bio-linkedin:hover,
.bio-linkedin:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .bio-spotlight__inner {
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 0.8fr);
  }

  .bio-spotlight__copy {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .bio-spotlight__photo {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 780px) {
  .bio-spotlight__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bio-spotlight__left,
  .bio-spotlight__photo,
  .bio-spotlight__copy {
    grid-column: auto;
    grid-row: auto;
  }

  .bio-spotlight__left {
    justify-content: center;
  }

  .bio-spotlight__photo {
    display: flex;
    justify-content: center;
  }

  .bio-spotlight__copy .eyebrow {
    justify-content: center;
  }
}

/* Productos — editorial list */
.products-section {
  padding-top: 72px;
  padding-bottom: 88px;
  background: transparent;
}

.sec-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
}

.sec-head--center .eyebrow {
  justify-content: center;
}

.sec-head--center h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.sec-head--center p {
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4.8vw, 72px) clamp(44px, 6vw, 88px);
  margin-top: 40px;
}

.service-item {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  align-items: flex-start;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 180ms ease;
}

.service-item:hover {
  border-color: rgba(255, 255, 255, 0.34);
}

.service-item:hover .service-item__title {
  color: var(--white);
}

.service-item:hover .service-item__link {
  color: var(--white);
  transform: translateX(6px);
}

.service-item__index {
  flex: 0 0 56px;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  color: rgba(238, 238, 238, 0.55);
  letter-spacing: 0.12em;
  line-height: 1;
  padding-top: 2px;
}

.service-item__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-item__title {
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
  color: var(--white);
}

.service-item__content p {
  color: var(--text-soft);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  max-width: 560px;
}

.service-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-item__meta span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  padding: 6px 10px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.service-item__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: transform 180ms ease, color 180ms ease;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .services-grid {
    gap: 32px 40px;
  }
}

@media (max-width: 720px) {
  .products-section {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
  }

  .service-item {
    padding-top: 20px;
  }

  .service-item__index {
    flex-basis: 44px;
  }
}

/* Carrusel tecnología */
.tech-section {
  padding: 48px 0 64px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.tech-section-head {
  text-align: center;
  margin-bottom: 28px;
}

.tech-section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-transform: none;
  font-weight: 700;
}

.tech-section-head .eyebrow {
  justify-content: center;
}

.tech-strip-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.tech-strip-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: strip-scroll 36s linear infinite reverse;
  padding: 8px var(--pad-x);
  align-items: center;
}

.tech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 88px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 4px;
}

.tech-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.92;
}

.tech-logo span {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

/* compat páginas internas */
.brandstack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brandcard {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 36px 32px;
  cursor: pointer;
  transition: 0.22s;
  position: relative;
}

.brandcard:hover {
  border-color: rgba(238, 238, 238, 0.35);
}

.brandcard.studio {
  border-color: var(--white);
  background: var(--surface-2);
}

.brandcard .tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: none;
  color: var(--text-soft);
  margin-bottom: 12px;
  display: block;
}

.brandcard.studio .tag {
  color: var(--white);
}

.brandcard h3 {
  font-size: 1.65rem;
  font-weight: 700;
  text-transform: none;
  margin-bottom: 12px;
}

.brandcard p {
  color: var(--text-soft);
  font-weight: 300;
  max-width: 720px;
  margin-bottom: 16px;
}

.brandcard .go {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.1em;
  color: var(--white);
}

.cards3,
.case-grid,
.packs,
.uc-grid,
.who-grid,
.pillars {
  display: grid;
  gap: 14px;
}

.cards3 {
  grid-template-columns: repeat(3, 1fr);
}

.case-grid {
  grid-template-columns: repeat(3, 1fr);
}

.packs {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.case,
.pack {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px 24px;
  transition: 0.2s;
}

.case {
  cursor: pointer;
}

.case.has-thumb {
  padding: 0;
  overflow: hidden;
}

.case-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--line);
}

.case-body {
  padding: 24px 22px;
}

.case:hover {
  border-color: rgba(238, 238, 238, 0.3);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.trust-logos img {
  opacity: 0.75;
  filter: grayscale(1) brightness(1.4);
  transition: opacity 0.2s;
}

.trust-logos img:hover {
  opacity: 1;
}

.trust-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: none;
  color: var(--text-soft);
}

.pull-quote {
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  margin: 20px 0;
  padding-left: 16px;
  border-left: 2px solid var(--line);
}

.cv-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 16px;
}

.cv-lead {
  color: var(--text-soft);
  font-size: 1.02rem;
  font-weight: 300;
  margin-bottom: 14px;
  line-height: 1.6;
}

.card .n,
.case .cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: none;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.card h3,
.case h3 {
  font-size: 1.2rem;
  text-transform: none;
  margin-bottom: 10px;
}

.card p,
.case p {
  font-size: 0.9rem;
  color: var(--text-soft);
  font-weight: 300;
}

.case .role {
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 12px;
  text-transform: none;
  letter-spacing: 0.06em;
}

.phero {
  padding: 80px 0 24px;
}

.phero h1,
.phero .gotra-h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: none;
  margin-bottom: 16px;
}

.phero .sub {
  color: var(--text-soft);
  font-weight: 300;
  font-size: 1.1rem;
  max-width: 640px;
}

.phero h1 em {
  font-style: normal;
  font-weight: 300;
  color: var(--text-soft);
}

.whofor {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 36px;
  margin: 24px 0;
}

.who-grid {
  grid-template-columns: repeat(2, 1fr);
}

.who {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.who .dot {
  width: 6px;
  height: 6px;
  background: var(--white);
  margin-top: 8px;
  flex-shrink: 0;
}

.flow {
  grid-template-columns: repeat(5, 1fr);
  margin: 24px 0;
}

.flow-step {
  text-align: center;
  padding: 16px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.flow-step .s {
  width: 30px;
  height: 30px;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 8px;
  font-size: 0.85rem;
}

.pack.featured {
  border-color: var(--white);
}

.pack-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: none;
  color: var(--text-soft);
  margin-bottom: 10px;
  display: block;
}

.pack h3 {
  text-transform: none;
  margin-bottom: 8px;
}

.pack ul {
  list-style: none;
  margin: 14px 0;
}

.pack li {
  font-size: 0.85rem;
  color: var(--text-soft);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.pack-price b {
  font-size: 1.15rem;
  color: var(--white);
}

.pack-price span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 4px;
}

.sprint {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  margin-top: 32px;
  border: 1px solid var(--line);
  padding: 32px;
  background: var(--surface);
}

.sprint-box {
  text-align: center;
  border: 1px solid var(--line);
  padding: 24px;
}

.sprint-box .big {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
}

.star {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 36px;
}

.star .badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: none;
  color: var(--text-soft);
}

.star h2 {
  font-size: 1.6rem;
  text-transform: none;
  margin: 12px 0;
}

.star .lead {
  color: var(--text-soft);
  font-weight: 300;
}

.uc-grid {
  grid-template-columns: repeat(2, 1fr);
}

.uc {
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.uc h4 {
  font-size: 0.95rem;
  text-transform: none;
  margin-bottom: 6px;
}

.uc p {
  font-size: 0.86rem;
  color: var(--text-soft);
  font-weight: 300;
}

.case-detail .back {
  cursor: pointer;
  color: var(--white);
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: inline-block;
}

.case-detail h3 {
  margin: 20px 0 10px;
  text-transform: none;
}

.case-detail p {
  color: var(--text-soft);
  font-weight: 300;
}

.pillars {
  grid-template-columns: 1fr 1fr;
}

.pillar {
  padding: 14px;
  border-left: 2px solid var(--white);
  background: var(--surface);
}

.pillar b {
  display: block;
  margin-bottom: 4px;
}

.pillar span {
  font-size: 0.88rem;
  color: var(--text-soft);
  font-weight: 300;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tg {
  font-size: 0.65rem;
  padding: 6px 12px;
  border: 1px solid var(--line);
  text-transform: none;
  letter-spacing: 0.06em;
}

.cv-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}

.cv-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  position: sticky;
  top: 90px;
}

.cv-card .big {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
}

.cv-block h3 {
  text-transform: none;
  margin-bottom: 12px;
}

.cv-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cv-item .role {
  font-weight: 600;
  color: var(--white);
}

.cv-item .org {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin: 4px 0;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tags span {
  font-size: 0.7rem;
  padding: 8px 12px;
  border: 1px solid var(--line);
  text-transform: none;
  letter-spacing: 0.05em;
}

.final {
  text-align: center;
  padding: 132px 0 100px;
  background-color: var(--black) !important;
  background-image: none !important;
}

.final h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-transform: none;
  margin-bottom: 16px;
}

.final h2 em {
  font-style: normal;
  font-weight: 300;
  color: var(--text-soft);
}

.final p {
  color: var(--text-soft);
  max-width: 520px;
  margin: 0 auto 28px;
  font-weight: 300;
}

footer,
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 0;
  background-color: var(--black) !important;
  background-image: none !important;
}

footer .foot-in,
footer .wrap {
  background-color: transparent;
}

.foot-in {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 32px;
}

.foot-logo img {
  height: 38px;
  width: auto;
}

.foot-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.foot-col h5 {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: none;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.foot-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-soft);
  padding: 4px 0;
  cursor: pointer;
}

.foot-col a:hover {
  color: var(--white);
}

.foot-bottom {
  text-align: center;
  margin-top: 0;
  padding: 20px var(--pad-x) 24px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--text-soft);
  background-color: var(--black) !important;
  background-image: none !important;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* —— Studio —— */
.studio-block {
  padding: 24px 0 72px;
}

.studio-footnote {
  text-align: center;
  margin-top: 40px;
  color: var(--text-soft);
}

.studio-footnote a {
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.adw-section {
  margin-bottom: 56px;
}

.adw-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}

.adw-section-head .adw-subtitle a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#dana-demos-widget {
  color: var(--text);
}

#dana-demos-widget .adw-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #1e1e1e 0%, #141414 100%);
  border-radius: 4px;
  overflow: hidden;
  min-height: 520px;
}

.adw-ind-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.adw-ind-tab {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-soft);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  text-transform: none;
  letter-spacing: 0.06em;
}

.adw-ind-tab:hover,
.adw-ind-tab.active {
  color: var(--white);
  border-color: rgba(238, 238, 238, 0.45);
  background: var(--surface);
}

#dana-demos-widget .adw-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 32px;
  border-right: 1px solid var(--line);
}

#dana-demos-widget .adw-badge {
  align-self: flex-start;
  padding: 8px 14px;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: none;
  color: var(--text-soft);
}

.adw-section-head .adw-title,
#dana-demos-widget .adw-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  text-transform: none;
  color: var(--white);
  margin-bottom: 12px;
}

#dana-demos-widget .adw-title span {
  color: var(--white);
  font-weight: 300;
}

#dana-demos-widget .adw-subtitle {
  font-size: 0.95rem;
  color: var(--text-soft);
  font-weight: 300;
  line-height: 1.6;
}

#dana-demos-widget .adw-tabs-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: none;
  color: var(--text-soft);
  margin-top: 8px;
}

#dana-demos-widget .adw-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#dana-demos-widget .adw-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-soft);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: 0.2s;
}

#dana-demos-widget .adw-tab:hover {
  color: var(--text);
  border-color: rgba(238, 238, 238, 0.25);
}

#dana-demos-widget .adw-tab.active {
  background: var(--surface);
  color: var(--white);
  border-color: var(--white);
}

#dana-demos-widget .adw-tab-icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

#dana-demos-widget .adw-features {
  list-style: none;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#dana-demos-widget .adw-features li {
  font-size: 0.88rem;
  color: var(--text-soft);
  font-weight: 300;
  padding-left: 18px;
  position: relative;
}

#dana-demos-widget .adw-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: radial-gradient(ellipse at 50% 30%, #2a2a2a 0%, #111 70%);
}

.dana-phone-wrap {
  width: 100%;
  max-width: 320px;
}

.dana-phone {
  background: #0b141a;
  border-radius: 28px;
  border: 3px solid #2a3942;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.dana-phone-notch {
  width: 100px;
  height: 22px;
  background: #0b141a;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
}

.dana-phone-head {
  padding: 10px 14px 12px;
  background: #1f2c34;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e9edef;
}

.dana-phone-online {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 500;
  color: #25d366;
  text-transform: none;
}

.dana-phone-input {
  padding: 10px 14px 14px;
  background: #1f2c34;
  border-top: 1px solid #2a3942;
}

.dana-phone-input {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dana-phone-input input {
  flex: 1;
  border: 1px solid #2a3942;
  background: #2a3942;
  border-radius: 20px;
  font-size: 0.78rem;
  color: #e9edef;
  padding: 10px 14px;
  font-family: var(--font);
}

.dana-phone-input input::placeholder {
  color: #8696a0;
}

.dana-phone-input input:focus-visible {
  outline: 2px solid #25d366;
  outline-offset: 1px;
}

.dana-phone-input button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #25d366;
  color: #0b141a;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
}

.dana-phone-input button:hover {
  filter: brightness(1.05);
}

.dana-phone-input button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.dana-phone-dot {
  width: 28px;
  height: 28px;
  background: #25d366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
}

.dana-phone-body {
  padding: 12px;
  min-height: 300px;
  max-height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #0b141a url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h30v30H0zm30 30h30v30H30z' fill='%23111b21' fill-opacity='.4'/%3E%3C/svg%3E");
}

.dana-msg {
  max-width: 90%;
  padding: 8px 10px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #e9edef;
  animation: msg-in 0.22s ease;
}

.dana-msg.in {
  align-self: flex-start;
  background: #202c33;
  border-radius: 8px 8px 8px 2px;
}

.dana-msg.out {
  align-self: flex-end;
  background: #005c4b;
  border-radius: 8px 8px 2px 8px;
}

.dana-msg p {
  margin: 0;
}

.dana-msg-meta {
  margin-top: 5px;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  font-size: 0.62rem;
  color: #8696a0;
}

.dana-msg-status {
  letter-spacing: -0.06em;
}

.dana-msg-typing {
  width: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.dana-msg-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9aa9b3;
  animation: typing-dot 1s infinite ease-in-out;
}

.dana-msg-typing span:nth-child(2) {
  animation-delay: 0.14s;
}

.dana-msg-typing span:nth-child(3) {
  animation-delay: 0.28s;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typing-dot {
  0%,
  80%,
  100% {
    transform: scale(0.5);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

#dana-demos-widget .adw-features li::before {
  content: "✓";
  color: #25d366;
  font-weight: 700;
}

/* Industrias interactivas */
.industries-block {
  margin-bottom: 56px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.industry-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  color: var(--text);
  transition: 0.22s;
  position: relative;
  overflow: hidden;
}

.industry-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent);
  opacity: 0;
  transition: opacity 0.22s;
}

.industry-chip:hover::before,
.industry-chip.active::before {
  opacity: 1;
}

.industry-chip:hover,
.industry-chip.active {
  border-color: rgba(238, 238, 238, 0.45);
  transform: translateY(-2px);
  background: var(--surface-2);
}

.industry-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.industry-chip strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}

.industry-chip small {
  font-size: 0.72rem;
  color: var(--text-soft);
  font-weight: 400;
}

.industry-detail {
  margin-top: 20px;
  padding: 16px 20px;
  border-left: 3px solid var(--white);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  min-height: 3.5em;
}

/* Flujo editorial */
.flow-play {
  margin-bottom: 56px;
}

.flow-full-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.flow-steps {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.flow-step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.flow-step--final {
  border-bottom: 1px solid var(--line);
}

.flow-step__num {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(238, 238, 238, 0.55);
  padding-top: 2px;
}

.flow-step__body h3 {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--white);
}

.flow-step__body p {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 680px) {
  .flow-step {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0;
  }
}

/* Planes dinámicos */
.plans-block {
  margin-bottom: 48px;
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.plan-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.plan-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.plan-card--basic {
  background: linear-gradient(160deg, #2e2e2e, #222);
}

.plan-card--featured {
  background: linear-gradient(160deg, #3d3d3d, #282828);
  border-color: var(--white);
  transform: scale(1.04);
  z-index: 1;
}

.plan-card--featured:hover {
  transform: translateY(-6px) scale(1.06);
}

.plan-card--pro {
  background: linear-gradient(160deg, #252525, #1a1a1a);
}

.plan-ribbon {
  position: absolute;
  top: 14px;
  right: -28px;
  background: var(--white);
  color: var(--bg);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.08em;
  padding: 4px 32px;
  transform: rotate(35deg);
}

.plan-icon {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 10px;
  opacity: 0.9;
}

.plan-tier {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}

.plan-card h3 {
  font-size: 1.25rem;
  text-transform: none;
  margin: 8px 0;
}

.plan-for {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 14px;
  flex: 1;
}

.plan-feats {
  list-style: none;
  margin-bottom: 18px;
}

.plan-feats li {
  font-size: 0.82rem;
  color: var(--text-soft);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  padding-left: 16px;
  position: relative;
}

.plan-feats li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--white);
}

.plan-price strong {
  font-size: 1.2rem;
  color: var(--white);
}

.plan-price span {
  font-size: 0.75rem;
  color: var(--text-soft);
  margin-left: 6px;
}

.plan-maint {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-top: 6px;
}

/* Sprint animado */
.sprint--fun {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, #2a2a2a 0%, #1a1a1a 100%);
  margin-top: 16px;
}

.sprint-visual {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
}

.sprint-ring {
  position: absolute;
  inset: 20px;
  border: 2px solid var(--line);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.sprint-ring span {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}

.sprint-ring small {
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0.1em;
  color: var(--text-soft);
}

.sprint-orbit {
  position: absolute;
  font-size: 1.25rem;
  animation: orbit 8s linear infinite;
}

.sprint-orbit--1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.sprint-orbit--2 {
  animation-delay: -2.6s;
  bottom: 10%;
  right: 0;
}

.sprint-orbit--3 {
  animation-delay: -5.2s;
  bottom: 10%;
  left: 0;
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(90px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(90px) rotate(-360deg);
  }
}

.sprint-timeline {
  display: flex;
  gap: 12px;
  margin: 20px 0 24px;
  flex-wrap: wrap;
}

.sprint-step {
  flex: 1;
  min-width: 120px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
}

.sprint-step b {
  display: block;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.sprint-step span {
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s;
}

.wa-float:hover {
  transform: scale(1.06);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding-top: 100px;
    padding-bottom: 32px;
    order: 1;
  }

  .hero-copy-in {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    max-width: none;
  }

  .hero-visual {
    order: 2;
    min-height: auto;
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: clamp(320px, 56vw, 440px);
  }

  .hero-carousel img {
    object-fit: cover;
    object-position: center center;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .cv-grid,
  .sprint,
  .cards3,
  .case-grid,
  .packs,
  #dana-demos-widget .adw-container {
    grid-template-columns: 1fr;
  }

  #dana-demos-widget .adw-left {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .industry-grid {
    grid-template-columns: 1fr 1fr;
  }

  .flow-play-inner {
    grid-template-columns: 1fr;
  }

  .flow-track {
    grid-template-columns: 1fr 1fr;
  }

  .flow-line {
    display: none;
  }

  .plan-cards {
    grid-template-columns: 1fr;
  }

  .plan-card--featured {
    transform: none;
  }

  .sprint--fun {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .flow {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    position: fixed;
    top: 104px;
    left: 0;
    right: 0;
    background-color: var(--black) !important;
    background-image: none !important;
    flex-direction: column;
    padding: 24px;
    transform: translateY(-150%);
    transition: 0.3s;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    transform: none;
  }

  .burger {
    display: flex;
  }

  .dd-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: none;
    padding-left: 12px;
  }

  .cv-card {
    position: static;
  }

  .foot-in {
    grid-template-columns: 1fr;
  }
}
