/* ── DIARIO DE ABORDO — GODLY EDITION v4 ── */
:root {
  --bg: #000;
  --fg: #fff;
  --fg-dim: #666;
  --accent: #c9a84c;
  --font-mono: 'Space Mono', monospace;
  --font-sans: 'Space Grotesk', sans-serif;
  --line: rgba(255,255,255,0.1);
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT DE PRECISIÓN ── */
.container { padding: 0 40px; }

.technical-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--fg-dim);
}

/* ── SPIRAL TICKER (THE ENHANCED RING) ── */
.ring-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(65deg) rotateY(15deg); /* Spiral tilt */
  width: 900px;
  height: 900px;
  perspective: 2000px;
  transform-style: preserve-3d;
  pointer-events: none;
  z-index: 1;
}

.ring {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: ring-rotate 30s linear infinite;
}

.ring-text {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 26px; /* Wider/Bigger */
  font-weight: 700;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--fg);
  letter-spacing: 0.4em; /* Better legibility */
  opacity: 0.5;
  text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

@keyframes ring-rotate {
  from { transform: rotateZ(0deg); }
  to { transform: rotateZ(-360deg); }
}

/* ── NAVIGATION ── */
#da-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}

#da-nav .logo {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  display: flex;
  align-items: center;
}

#da-nav .links {
  display: flex;
  gap: 32px;
  align-items: center;
}

#da-nav .links a {
  text-decoration: none;
  font-size: 10px;
  color: var(--fg-dim);
  transition: color 0.3s;
}

#da-nav .links a:hover { color: var(--fg); }

/* Buttons */
.btn-primary {
  display: inline-flex;
  background: var(--fg);
  color: var(--bg);
  padding: 18px 36px;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .15em;
  transition: transform 0.3s, background 0.3s;
}

.btn-secondary {
  display: inline-flex;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg);
  padding: 18px 36px;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .15em;
  transition: background 0.3s;
}

.btn-sub {
  background: var(--accent);
  color: var(--bg) !important;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 10px 18px !important;
}

/* ── HORIZONTAL ACCORDION ── */
.accordion {
  display: flex;
  height: 70vh;
  width: 100%;
  gap: 1px;
  background: var(--line);
  margin: 100px 0;
  overflow: hidden;
}

.accordion-item {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  filter: grayscale(100%);
  background-color: #111;
}

.accordion-item:hover { flex: 3; filter: grayscale(0%); }

.accordion-item::after {
  content: '';
  position: absolute;
  inset: 0;/* ── BRAND LOGO SYSTEM ── */
.da-brand-logo { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    text-decoration: none; 
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.da-brand-logo:hover { transform: translateX(5px); }
.da-brand-logo img { 
    height: 18px; 
    /* Ultra-compact for the top bar */
}
.da-brand-logo .brand-text {
    display: flex;
    flex-direction: column;
    line-height: .95;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.da-brand-logo .brand-text span:first-child { 
    font-size: 8px; 
    font-family: var(--font-mono); 
    color: var(--fg-dim); 
}
.da-brand-logo .brand-text span:last-child { 
    font-size: 13px; 
    font-weight: 700; 
    color: #fff; 
}
.da-brand-logo .brand-text span:last-child em { 
    font-style: normal; 
    color: var(--accent); 
}
  background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, transparent 60%);
  opacity: 0.8;
}

.item-content {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s;
}

.accordion-item:hover .item-content { opacity: 1; transform: translateY(0); }

.item-content h3 {
  font-size: 32px;
  font-weight: 700;
  margin-top: 16px;
  line-height: .9;
}

/* ── GENERAL UTILS ── */
.vertical-line {
  position: fixed;
  left: 50%;
  top: 0; bottom: 0; width: 1px;
  background: var(--line);
  z-index: 10;
  pointer-events: none;
}

.hero-title {
  font-size: clamp(60px, 12vw, 160px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin-top: 100px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
