:root {
  --bg: #000;
  --text: #f2f2f2;
  --muted: #aaaaaa;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #d2d2d2;
  --max: 1680px;
  --ease: 260ms ease;
  --topbar-h: 100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: auto; }

button, a {
  font: inherit;
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.page { width: 100%; }

/* ─── CURSOR ─── */
html, body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='6' fill='%23ff0000'/%3E%3C/svg%3E") 16 16, auto;
}

a, button {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='6' fill='%23ff0000'/%3E%3C/svg%3E") 16 16, pointer;
}

/* ─── TOPBAR ─── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.97);
  border-bottom: 1px solid var(--line);
  height: var(--topbar-h);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  gap: 32px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }

.brand-logo {
  height: 64px;
  width: auto;
  display: block;
}

.topnav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 24px;
}

.topnav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #b0b0b0;
  transition: color var(--ease);
}

.topnav a:hover,
.nav-active {
  color: var(--text) !important;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 0;
}

.topbar-social a {
  color: #ff0000;
  transition: color var(--ease);
  display: flex;
  align-items: center;
}

.topbar-social a:hover { color: var(--text); }

.topbar-social svg {
  width: 20px;
  height: 20px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: transform var(--ease), opacity var(--ease);
}

/* ─── SECTIONS ─── */
.section {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 32px 72px;
}

.section-first { padding-top: 32px; }

.section-head {
  padding-top: 12px;
  margin-bottom: 16px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── STRIP LIST ─── */
.strip-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.strip-card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: background var(--ease);
}

.strip-card:hover { background: rgba(255,255,255,0.015); }

.strip-media {
  height: 220px;
  overflow: hidden;
  background: #111;
  border-right: 1px solid var(--line);
}

.strip-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 380ms ease, transform 600ms ease;
  opacity: 0.9;
}

.strip-card:hover .strip-media img {
  filter: grayscale(0%);
  transform: scale(1.03);
  opacity: 1;
}

.strip-info {
  height: 220px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.strip-info-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.strip-info h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 300;
}

.strip-info p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.strip-plus {
  position: absolute;
  bottom: 22px;
  right: 24px;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  transition: color var(--ease), transform var(--ease);
  transform-origin: center center;
}

.strip-card:hover .strip-plus {
  color: var(--text);
  transform: rotate(45deg);
}

/* ─── NOSOTROS ─── */
.about-intro {
  max-width: 860px;
  display: grid;
  gap: 20px;
  margin-bottom: 48px;
}

.about-intro p {
  margin: 0;
  font-size: clamp(18px, 1.9vw, 28px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 300;
  color: var(--accent);
}

.people-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.person-card {
  border-right: 2px solid #e30613;
}

.person-card:last-child {
  border-right: 0;
}

.person-info {
  padding: 28px 32px;
}

.person-info h3 {
  margin: 0 0 14px;
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.person-info p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 560px;
}

/* ─── CONTACTO ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section-contact {
  border-top: 1px solid var(--line);
}

.contact-mail {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: color var(--ease);
}

.contact-mail:hover { color: var(--muted); }

.contact-meta {
  display: grid;
  gap: 8px;
}

.contact-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-social {
  display: flex;
  gap: 16px;
}

.contact-social-link {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color var(--ease);
}

.contact-social-link:hover { color: var(--text); }

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-channel-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 14px 20px;
  transition: color var(--ease), border-color var(--ease);
}

.contact-channel-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-channel-btn:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.3);
}

/* ─── PRENSA CON FECHA ─── */
.press-card {
  grid-template-columns: 110px minmax(0, 1fr);
}

.press-card .strip-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  gap: 2px;
  background: rgba(255,255,255,0.02);
  padding: 0 16px;
}

.strip-date-day {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}

.strip-date-month {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.strip-date-year {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ─── PORTFOLIO FILTROS ─── */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-btn {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 7px 16px;
  cursor: pointer;
  background: transparent;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}

.filter-btn:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.3);
}

.filter-btn.is-active {
  color: var(--bg);
  background: var(--text);
  border-color: var(--text);
}

/* ─── PORTFOLIO DOS COLUMNAS ─── */
.strip-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.strip-list-grid .strip-card {
  grid-template-columns: minmax(0, 1fr) 250px;
  border-right: 1px solid var(--line);
}

.strip-list-grid .strip-card:nth-child(even) {
  border-right: 0;
}

.strip-list-grid .strip-info h2 {
  font-size: clamp(16px, 1.8vw, 22px);
}

.strip-list-grid .strip-info {
  position: relative;
  height: 220px;
  padding: 22px 40px 22px 18px;
}

.strip-list-grid .strip-plus {
  position: absolute;
  bottom: 22px;
  right: 18px;
}

/* ─── VER MÁS ─── */
.portfolio-more {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
}

.ver-mas-btn {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 10px 28px;
  cursor: pointer;
  background: transparent;
  transition: color var(--ease), border-color var(--ease);
}

.ver-mas-btn:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.3);
}

.ver-mas-btn:disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

.portfolio-count {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ─── FOOTER ─── */
.site-footer { border-top: 1px solid var(--line); }

.footer-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand { display: flex; align-items: center; }

.footer-logo {
  height: 22px;
  width: auto;
  display: block;
  opacity: 0.6;
  transition: opacity var(--ease);
}

.footer-brand:hover .footer-logo { opacity: 1; }

.footer-copy {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

.footer-top {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color var(--ease);
  white-space: nowrap;
}

.footer-top:hover { color: var(--text); }

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 50;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.9);
  color: var(--muted);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease), color var(--ease), border-color var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.3);
}

/* ─── OVERLAY ─── */
.project-overlay {
  position: fixed;
  inset: var(--topbar-h) 0 0 0;
  z-index: 200;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
  overflow: hidden;
}

.project-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.overlay-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  height: 100%;
}

.overlay-image-col {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.overlay-main-image {
  flex: 1;
  overflow: hidden;
  background: #0a0a0a;
}

.overlay-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 200ms ease;
}

.overlay-gallery {
  display: flex;
  gap: 4px;
  padding: 12px;
  background: #000;
  border-top: 1px solid var(--line);
  overflow-x: auto;
  flex-shrink: 0;
}

.overlay-gallery::-webkit-scrollbar { height: 3px; }
.overlay-gallery::-webkit-scrollbar-track { background: transparent; }
.overlay-gallery::-webkit-scrollbar-thumb { background: var(--line); }

.overlay-gallery-item {
  flex: 0 0 72px;
  height: 72px;
  overflow: hidden;
  background: #111;
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color var(--ease);
}

.overlay-gallery-item.is-active { border-color: rgba(255,255,255,0.5); }

.overlay-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity var(--ease);
}

.overlay-gallery-item.is-active img,
.overlay-gallery-item:hover img { opacity: 1; }

.overlay-nav-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}

.overlay-arrow {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color var(--ease);
  padding: 6px 0;
}

.overlay-arrow:hover { color: var(--text); }

.overlay-info-col {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  position: relative;
}

.overlay-close {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: flex-end;
  padding: 14px 20px 8px;
  font-size: 36px;
  line-height: 1;
  color: var(--muted);
  background: rgba(0,0,0,0.95);
  transition: color var(--ease);
  z-index: 10;
  cursor: pointer;
  border: none;
}

.overlay-close:hover { color: var(--text); }

.overlay-info-body {
  padding: 12px 28px 40px;
  flex: 1;
}

.overlay-info-body h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.5vw, 50px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 300;
}

.overlay-meta {
  margin: 0 0 20px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.overlay-description {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--accent);
}

.overlay-details {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.overlay-details p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

.person-modulor {
  margin-bottom: 20px;
}

.modulor-img {
  height: 80px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter var(--ease);
}

.person-card:hover .modulor-img {
  filter: brightness(0) saturate(100%) invert(10%) sepia(90%) saturate(700%) hue-rotate(340deg);
}

/* ─── RESPONSIVE 1100px ─── */
@media (max-width: 1100px) {
  .strip-card {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .strip-list-grid {
    grid-template-columns: 1fr;
  }

  .strip-list-grid .strip-card {
    border-right: 0;
  }

  .overlay-shell {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .overlay-image-col {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    max-height: 55vh;
  }

  .overlay-info-col { overflow-y: visible; }

  .overlay-close {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
  }
}

/* ─── RESPONSIVE 720px ─── */
@media (max-width: 720px) {
  .topbar { padding: 0 18px; }

  .topnav {
    display: none;
    position: absolute;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.98);
    flex-direction: column;
    padding: 20px 18px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    z-index: 99;
  }

  .topnav.is-open { display: flex; }
  .topnav a { font-size: 15px; }

  .menu-toggle { display: flex; }

  .topbar-social { margin-left: 0; }

  .section { padding-left: 18px; padding-right: 18px; }

  .strip-card { grid-template-columns: 1fr; }

  .strip-media {
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .strip-media { order: 2; height: 180px; }

  .strip-info {
    order: 1;
    height: auto;
    min-height: 90px;
    padding: 16px 0 48px;
  }

  .strip-plus {
    bottom: 16px;
    right: 0;
  }

  .people-list {
    grid-template-columns: 1fr;
  }

  .person-card {
    border-right: 0;
    border-bottom: 2px solid #e30613;
  }

  .person-card:last-child {
    border-bottom: 0;
  }

  .press-card { grid-template-columns: 90px 1fr; }
  .press-card .strip-date { padding: 0 12px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-left { gap: 20px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; }
  .footer-copy  { display: none; }

  .back-to-top { bottom: 18px; right: 18px; }

  .overlay-image-col { max-height: 45vh; }
  .overlay-info-body { padding: 12px 18px 32px; }
}