* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --vino: #241820;
  --vino-dark: #1b1118;
  --naranja: #ff5a19;
  --blanco: #ffffff;
  --gris: rgba(255,255,255,.72);
  --gris-suave: rgba(255,255,255,.52);
  --linea: rgba(255,255,255,.1);
  --panel: rgba(255,255,255,.04);
  --panel-strong: rgba(255,255,255,.08);
  --ease-apple: cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--vino);
  color: var(--blanco);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

img {
  max-width: 100%;
}

::selection {
  background: var(--naranja);
  color: var(--blanco);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--vino-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--naranja);
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 0;
  height: 2px;
  background: var(--naranja);
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  background: var(--vino);
  transition: opacity .45s var(--ease-apple), visibility .45s var(--ease-apple);
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: reportSplashIn .75s var(--ease-apple) both;
}

.splash-mark {
  width: 76px;
  height: auto;
}

.splash-wordmark {
  width: 178px;
  height: auto;
}

.loading-bar {
  width: 220px;
  height: 3px;
  overflow: hidden;
  background: rgba(255,255,255,.12);
}

.loading-progress {
  width: 100%;
  height: 100%;
  background: var(--naranja);
  transform-origin: left;
  animation: reportLoading .9s var(--ease-apple) both;
}

.report-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 56px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(36,24,32,.74);
  border-bottom: 1px solid var(--linea);
  backdrop-filter: blur(18px);
  transition: background .3s var(--ease-apple);
}

.report-nav.scrolled {
  background: rgba(36,24,32,.94);
}

.nav-logo,
.nav-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-logo img,
.nav-footer img {
  height: 28px;
  width: auto;
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--gris);
  font-size: 13px;
  font-weight: 500;
}

.report-hero {
  position: relative;
  min-height: 86svh;
  padding: 118px 5% 78px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--vino-dark);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(1.04);
  transform: scale(1.02);
  animation: heroSettle 1.2s var(--ease-apple) both;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20,13,18,.92) 0%, rgba(20,13,18,.76) 39%, rgba(20,13,18,.26) 74%, rgba(20,13,18,.58) 100%),
    linear-gradient(0deg, rgba(36,24,32,.82) 0%, rgba(36,24,32,0) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  animation: heroCopyIn .75s var(--ease-apple) .18s both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--naranja);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.report-hero h1 {
  max-width: 760px;
  color: var(--blanco);
  font-size: 64px;
  line-height: 1.02;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.report-hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 19px;
  line-height: 1.56;
  overflow-wrap: anywhere;
}

.hero-copy span {
  display: block;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(960px, 100%);
  margin-top: 34px;
  border: 1px solid var(--linea);
  background: rgba(255,255,255,.1);
}

.hero-meta div {
  min-width: 0;
  padding: 18px;
  background: rgba(36,24,32,.72);
}

.hero-meta span,
.metric span {
  display: block;
  margin-bottom: 8px;
  color: var(--gris-suave);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-meta strong {
  display: block;
  color: var(--blanco);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

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

.action-btn {
  width: auto;
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  background: var(--naranja);
  color: var(--blanco);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s var(--ease-apple), filter .25s var(--ease-apple), border-color .25s var(--ease-apple);
}

.action-btn.secondary {
  background: var(--panel-strong);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--blanco);
}

.action-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.report-tabs-wrap {
  position: sticky;
  top: 56px;
  z-index: 50;
  margin: 0;
  padding: 14px 5%;
  background: rgba(36,24,32,.9);
  border-bottom: 1px solid var(--linea);
  backdrop-filter: blur(16px);
}

.report-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tab-btn {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--linea);
  border-radius: 8px;
  background: var(--panel);
  color: var(--gris);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s var(--ease-apple), border-color .25s var(--ease-apple), color .25s var(--ease-apple);
}

.tab-btn i {
  margin-right: 7px;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--naranja);
  border-color: var(--naranja);
  color: var(--blanco);
}

.report-section {
  display: none;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 5% 86px;
}

.report-section.active {
  display: block;
  animation: sectionReveal .42s var(--ease-apple) both;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 36px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--linea);
}

.section-heading h2 {
  font-size: 42px;
  line-height: 1.08;
  font-weight: 800;
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 42px;
  align-items: start;
}

.report-copy {
  color: var(--gris);
  font-size: 16px;
  line-height: 1.78;
}

.report-copy p + p {
  margin-top: 18px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric,
.spec-item,
.timeline-list > div,
.warranty-grid article,
.legal-note,
.evidence-card {
  background: var(--panel);
  border: 1px solid var(--linea);
  border-radius: 8px;
}

.metric {
  min-height: 168px;
  padding: 20px;
}

.metric strong {
  display: block;
  margin-bottom: 18px;
  color: var(--naranja);
  font-size: 42px;
  line-height: 1;
}

.metric small {
  color: rgba(255,255,255,.64);
  font-size: 13px;
  line-height: 1.45;
}

.featured-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.spec-list,
.timeline-list {
  display: grid;
  gap: 12px;
}

.spec-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
}

.spec-item i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--naranja);
  background: rgba(255,90,25,.1);
  border-radius: 8px;
}

.spec-item strong,
.timeline-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--blanco);
  font-size: 15px;
}

.spec-item span,
.timeline-list p {
  color: rgba(255,255,255,.66);
  font-size: 13px;
  line-height: 1.5;
}

.timeline-list > div {
  padding: 20px;
}

.timeline-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: var(--naranja);
  font-weight: 800;
  background: rgba(255,90,25,.1);
  border-radius: 8px;
}

.gallery-block {
  margin-top: 48px;
}

.gallery-block h3,
.legal-note h3 {
  margin: 0 0 18px;
  color: var(--naranja);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.evidence-grid.full {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.evidence-card {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s var(--ease-apple), transform .45s var(--ease-apple), border-color .25s var(--ease-apple);
}

.evidence-card.visible,
.report-section.active .evidence-card {
  opacity: 1;
  transform: translateY(0);
}

.evidence-card:hover {
  border-color: rgba(255,90,25,.44);
}

.evidence-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: rgba(0,0,0,.24);
}

.evidence-card.compact img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.evidence-card figcaption {
  padding: 12px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.45;
}

.evidence-card figcaption span {
  display: block;
  margin-bottom: 4px;
  color: var(--naranja);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.warranty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.warranty-grid article,
.legal-note {
  padding: 24px;
}

.warranty-grid h3 {
  margin: 0 0 14px;
  color: var(--naranja);
  font-size: 17px;
}

.warranty-grid p,
.legal-note p {
  margin: 0 0 14px;
  color: rgba(255,255,255,.7);
  line-height: 1.68;
}

.warranty-grid ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,.68);
  line-height: 1.68;
}

.warranty-grid li + li {
  margin-top: 8px;
}

.legal-note {
  margin-top: 16px;
}

.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  color: rgba(255,255,255,.66);
}

.report-footer {
  padding: 44px 5%;
  text-align: center;
  border-top: 1px solid var(--linea);
  background: var(--vino-dark);
}

.report-footer .nav-footer {
  justify-content: center;
  margin-bottom: 12px;
}

.report-footer p {
  color: rgba(255,255,255,.56);
  font-size: 13px;
}

.metric,
.spec-item,
.timeline-list > div,
.warranty-grid article {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s var(--ease-apple), transform .45s var(--ease-apple);
}

.metric.visible,
.spec-item.visible,
.timeline-list > div.visible,
.warranty-grid article.visible,
.report-section.active .metric,
.report-section.active .spec-item,
.report-section.active .timeline-list > div,
.report-section.active .warranty-grid article {
  opacity: 1;
  transform: translateY(0);
}

@keyframes reportSplashIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes reportLoading {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes heroSettle {
  from {
    transform: scale(1.06);
    opacity: .7;
  }
  to {
    transform: scale(1.02);
    opacity: 1;
  }
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sectionReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .report-hero h1 {
    font-size: 48px;
  }

  .hero-meta,
  .report-layout,
  .section-heading,
  .warranty-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .report-nav {
    padding: 0 4%;
  }

  .nav-contact {
    display: none;
  }

  .report-hero {
    min-height: 88svh;
    padding: 92px 4% 48px;
  }

  .hero-content,
  .report-hero h1,
  .hero-meta {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 56px);
  }

  .report-hero h1 {
    font-size: 29px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-meta {
    margin-top: 24px;
  }

  .hero-meta div {
    padding: 14px;
  }

  .report-tabs-wrap {
    top: 56px;
    padding: 10px 4%;
  }

  .tab-btn {
    min-height: 38px;
    padding: 0 11px;
    font-size: 12px;
  }

  .report-section {
    padding: 52px 4% 66px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .metrics-grid,
  .featured-strip {
    grid-template-columns: 1fr;
  }

  .gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  .splash-screen,
  .report-nav,
  .report-tabs-wrap,
  .hero-actions,
  .gallery-toolbar,
  .progress-bar {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .report-hero {
    min-height: auto;
    padding: 40px 0;
    background: #fff;
  }

  .hero-photo,
  .hero-overlay {
    display: none;
  }

  .hero-content,
  .report-hero h1,
  .hero-copy,
  .report-copy,
  .warranty-grid p,
  .warranty-grid ul,
  .legal-note p {
    color: #111;
  }

  .report-section {
    display: block !important;
    padding: 28px 0;
  }

  .metric,
  .spec-item,
  .timeline-list > div,
  .warranty-grid article,
  .legal-note,
  .evidence-card {
    break-inside: avoid;
    border-color: #ddd;
    background: #fff;
  }
}
