:root {
  --bg: #080c10;
  --bg2: #0d141a;
  --panel: #111a21;
  --text: #f1eee5;
  --paper: #f1eee5;
  --muted: #b8c4cb;
  --cyan: #25bfe9;
  --orange: #ffae19;
  --line: #283740;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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

/* BLINDAJE GLOBAL CONTRA ARRASTRE Y DESCARGA DE MEDIOS */
img, video {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.wrap {
  width: min(var(--max), 92%);
  margin: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 12, 16, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wordmark-link {
  display: flex;
  align-items: center;
  min-width: 190px;
}

.wordmark {
  width: 190px;
  height: auto;
  display: block;
}

.menu-btn {
  display: none;
}

.links {
  display: flex;
  gap: 25px;
  color: #c8d0d5;
  font-size: 0.88rem;
}

.links a {
  transition: color 0.15s ease;
  -webkit-tap-highlight-color: rgba(255, 174, 25, 0.2);
}

.links a:hover,
.links a:active {
  color: var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 7px;
  font-weight: 850;
  border: 1px solid transparent;
}

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

.ghost {
  border-color: #40515b;
}

.ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

section {
  padding: 90px 0;
}

.dark {
  background: var(--bg2);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 900;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 105px 0 80px;
  min-height: 680px;
}

.hero:before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(37, 191, 233, 0.13);
  border-radius: 50%;
  right: -270px;
  top: -120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(3.5rem, 7vw, 6.4rem);
  line-height: 0.88;
  letter-spacing: -5px;
  font-style: italic;
  margin: 18px 0 28px;
}

.hero h1 span {
  display: block;
}

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

.lead {
  font-size: 1.12rem;
  color: #c7d0d5;
  max-width: 680px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.micro {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

/* LOGO DEL HERO EN ESCRITORIO */
.hero-logo-full {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto !important;
  margin: auto;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.45));
  transform: rotate(-1deg);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(13, 20, 26, 0.8);
}

.fact {
  padding: 14px 12px;
  font-size: 0.76rem;
  color: var(--muted);
  border-right: 1px solid var(--line);
  line-height: 1.4;
}

.fact:last-child {
  border: 0;
}

.fact strong {
  display: block;
  color: var(--text);
  font-size: 0.84rem;
  white-space: nowrap;
  margin-bottom: 4px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.96;
  letter-spacing: -2px;
  margin: 12px 0 18px;
}

.section-head p {
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card, .box, .price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 28px;
}

.card h3, .box h3 {
  font-size: 1.5rem;
  margin: 9px 0;
}

.card p, .box p, .price-card p {
  color: var(--muted);
}

.format, .label {
  color: var(--cyan);
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  font-weight: 900;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.price {
  font-size: 2rem;
  font-weight: 950;
  color: var(--orange);
}

/* CAJETILLA DE ENTREGA */
.delivery-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 28px;
  margin-top: 24px;
  align-items: center;
}

.delivery-options {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.delivery-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.delivery-tag,
.delivery-price {
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
}

.result-video {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #05080b;
}

/* VÍDEO EN ESCRITORIO: Formato alargado y cinemático de punta a punta */
.result-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #05080b;
}

/* Ocultar botones residuales de descarga en Chromium */
.result-video video::-internal-media-controls-download-button {
  display: none !important;
}

.result-video video::-webkit-media-controls-enclosure {
  overflow: hidden;
}

.video-note {
  margin: 0;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.video-note strong {
  color: var(--text);
}

.notice {
  margin-top: 22px;
  background: #0e171e;
  border: 1px solid #334650;
  border-radius: 13px;
  padding: 25px;
}

.notice p {
  color: var(--muted);
  margin: 6px 0 0;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.step {
  padding: 28px 22px;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border: 0;
}

.num {
  color: var(--orange);
  font-size: 0.72rem;
  letter-spacing: 3px;
  font-weight: 900;
}

.step h3 {
  margin: 11px 0 7px;
}

.step p {
  color: var(--muted);
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.philosophy {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 65px;
}

.quote {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -2px;
  font-weight: 900;
  font-style: italic;
}

.philosophy-copy p {
  color: var(--muted);
  font-size: 1.03rem;
}

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 25px;
}

.principle {
  border-left: 2px solid var(--cyan);
  padding-left: 14px;
  font-weight: 700;
}

.usb {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.usb-list {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.usb-item {
  display: flex;
  justify-content: space-between;
  padding: 17px 20px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.usb-item:last-child {
  border: 0;
}

.usb-item strong {
  color: var(--orange);
}

.faq {
  max-width: 860px;
}

details {
  border-top: 1px solid var(--line);
  padding: 19px 0;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

details p {
  color: var(--muted);
  max-width: 800px;
}

.cta {
  background: linear-gradient(120deg, #121d25, #0b1116);
  border: 1px solid #344650;
  border-radius: 19px;
  padding: 60px;
  text-align: center;
}

.cta h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -2.5px;
  margin: 10px auto 20px;
  max-width: 800px;
}

.cta p {
  max-width: 650px;
  margin: auto;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  color: #9eb0bc;
  font-size: 0.82rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 35px;
}

.footer-col h4 {
  color: var(--text);
  margin: 0 0 16px;
  font-size: 0.92rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #8fa0ac;
  flex-wrap: wrap;
  gap: 15px;
}

.article-hero {
  padding: 85px 0 55px;
  border-bottom: 1px solid var(--line);
}

.article-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -3px;
  max-width: 900px;
  margin: 15px 0;
}

.article-hero .intro {
  font-size: 1.15rem;
  color: #c7d0d5;
  max-width: 760px;
}

.article {
  max-width: 800px;
  margin: auto;
  padding: 65px 0;
}

.article h2 {
  font-size: 2rem;
  line-height: 1.05;
  margin-top: 48px;
}

.article p, .article li {
  color: #c5cdd1;
  font-size: 1.04rem;
}

.article strong {
  color: var(--text);
}

.article blockquote {
  margin: 35px 0;
  padding: 24px 26px;
  border-left: 3px solid var(--orange);
  background: var(--panel);
  font-size: 1.45rem;
  font-weight: 800;
  font-style: italic;
}

.sources {
  border-top: 1px solid var(--line);
  margin-top: 55px;
  padding-top: 25px;
  font-size: 0.85rem;
  color: var(--muted);
}

.sources a {
  color: var(--cyan);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.article-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 28px;
}

.article-card h2 {
  font-size: 1.55rem;
  line-height: 1.05;
  margin: 10px 0;
}

.article-card p {
  color: var(--muted);
}

.back {
  display: inline-block;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.anchor-section {
  scroll-margin-top: 90px;
}

.service-details {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 22px;
}

.service-details-single {
  grid-template-columns: 1fr 1fr;
}

.technical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.muted-small {
  color: var(--muted);
  font-size: 0.85rem;
}

.philosophy-copy h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -2px;
  margin: 10px 0 20px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.guide-photo {
  margin: 0;
}

.guide-photo img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #111;
  border-radius: 16px;
}

.guide-photo figcaption, .media-credit {
  font-size: 0.82rem;
  opacity: 0.68;
  margin-top: 10px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.check-grid > div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.faq-list {
  max-width: 920px;
  margin: 28px auto 0;
}

.faq-list details {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:after {
  content: '+';
  float: right;
  font-size: 1.3rem;
  opacity: 0.7;
}

.faq-list details[open] summary:after {
  content: '−';
}

.faq-list p {
  max-width: 780px;
  margin: 12px 0 0;
  opacity: 0.85;
}

.result-section, .faq-section {
  padding: 5rem 0;
}

.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: #0b1c11;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-wa:hover {
  transform: scale(1.05);
  color: #050d08;
  box-shadow: 0 10px 28px rgba(0,0,0,0.5);
}

.legal-page {
  padding: 110px 0 70px;
  color: var(--text);
}

.legal-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 40px;
  margin-bottom: 30px;
  line-height: 1.7;
  font-size: 0.96rem;
}

.legal-box h2 {
  color: var(--text);
  margin: 0 0 16px;
  font-size: 1.45rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.legal-box h3 {
  color: var(--cyan);
  margin: 22px 0 10px;
  font-size: 1.05rem;
}

.legal-box p {
  color: var(--muted);
  margin: 0 0 14px;
}

.legal-box ul {
  color: var(--muted);
  margin: 0 0 16px 20px;
  padding: 0;
}

.legal-box li {
  margin-bottom: 8px;
}

.legal-box strong {
  color: var(--text);
}

/* RESPONSIVE MÓVIL Y TABLET */
@media (max-width: 850px) {
  .hero {
    padding-top: 70px;
  }
  .hero-grid, .philosophy, .usb, .split, .service-details, .service-details-single, .technical-grid, .two-col, .check-grid {
    grid-template-columns: 1fr;
  }
  .cards, .guide-grid {
    grid-template-columns: 1fr;
  }
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process {
    grid-template-columns: 1fr;
  }
  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .fact {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 15px;
  }
  .fact:last-child {
    border-bottom: 0;
  }
  .cta {
    padding: 42px 22px;
  }
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero h1 {
    letter-spacing: -3px;
  }
  .brand-wordmark-link {
    min-width: 150px;
  }
  .wordmark {
    width: 155px;
  }

  /* LOGO EN MÓVIL: Centrado y sin desbordar */
  .hero-logo-full {
    max-width: 250px;
    margin: 0 auto 24px auto;
  }

  /* VÍDEO EN MÓVIL: Pasa a 4:3 para no convertirse en formato vertical 9:16 */
  .result-video video {
    aspect-ratio: 4 / 3;
  }

  /* AJUSTE RESPONSIVE DE LA CAJETILLA DE ENTREGA */
  .delivery-options {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  
  nav {
    position: relative;
    min-height: 68px;
  }
  .menu-btn {
    display: flex;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: space-around;
    width: 44px;
    height: 44px;
    z-index: 101;
  }
  .menu-btn span {
    display: block;
    height: 3px;
    width: 26px;
    background: var(--text);
    border-radius: 3px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    margin: 0 auto;
  }
  .links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px 24px;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
    z-index: 100;
  }
  .links.is-open {
    display: flex;
  }
  .links a {
    width: 100%;
    padding: 6px 0;
  }
  .menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }
  .menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }
  .legal-box {
    padding: 24px 20px;
  }
}

@media (max-width: 700px) {
  .btn.primary {
    padding: 10px 13px;
  }
}

@media (max-width: 500px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
  .wordmark {
    width: 135px;
  }
}