/*
Theme Name: TWO Foto Fotografía Deportiva
Theme URI: https://twofoto.com
Description: Minimal sport photography theme with Gutenberg support and shortcodes.
Version: 1.0.0
Author: Pablo Herrera Design
Author URI: https://pabloherrera.design
Text Domain: twofoto
*/

/* ── RESET & VARIABLES ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #080808;
  --white: #F2F0EC;
  --accent: #FF3400;
  --mid: #1A1A1A;
  --border: rgba(242,240,236,0.1);
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'Space Grotesk', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  overflow-x: hidden;
  cursor: crosshair;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

/* ── WP overrides ── */
.wp-site-blocks { padding: 0 !important; }
.entry-content { max-width: none !important; padding: 0 !important; }
.entry-content > * { max-width: none !important; }

/* ── TIPOGRAFÍA GLOBAL ── */

/* Párrafos */
p,
.wp-block-paragraph,
.entry-content p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(242,240,236,0.55);
  font-weight: 300;
}

/* Headings */
h1, h2, h3, h4, h5,
.wp-block-heading {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
}

h1, .wp-block-heading:where(h1) { font-size: clamp(52px, 6vw, 88px); line-height: 0.92; }
h2, .wp-block-heading:where(h2) { font-size: clamp(32px, 4vw, 54px); }
h3, .wp-block-heading:where(h3) { font-size: clamp(22px, 3vw, 38px); }
h4, .wp-block-heading:where(h4) { font-size: clamp(18px, 2vw, 28px); }
h5, .wp-block-heading:where(h5) { font-size: 18px; }

/* H6 = section label tipo // LATEST SERIES */
h6, .wp-block-heading:where(h6) {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

h6::before, .wp-block-heading:where(h6)::before {
  content: '//';
  opacity: 0.5;
}

/* Cursiva dentro de headings = texto tenue */
h1 em, h2 em, h3 em, h4 em, h5 em,
.wp-block-heading em {
  font-style: normal;
  font-weight: 300;
  color: rgba(242,240,236,0.4);
}

/* Links dentro de contenido */
.entry-content a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(232,255,0,0.3);
  transition: border-color 0.2s;
}

.entry-content a:hover {
  border-color: var(--accent);
}

/* Listas */
.entry-content ul,
.entry-content ol {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(242,240,236,0.55);
  font-weight: 300;
  padding-left: 20px;
}

/* Botones globales */
.wp-block-button__link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  /* agrega aquí lo que necesites */
}


/* ── NAV ── */
.twofoto-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(8,8,8,0.7);
}

.nav-logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-logo span { color: var(--accent); }

.nav-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(242,240,236,0.4);
  text-transform: uppercase;
  margin-right: auto;
  margin-left: 20px;
}

.nav-links {
  display: flex; gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: rgba(242,240,236,0.5);
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 28px; height: 20px;
  position: relative;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: '';
  position: absolute; left: 0;
  width: 100%; height: 1px;
  background: var(--white);
  transition: 0.3s;
}
.nav-toggle span { top: 50%; }
.nav-toggle::before { top: 0; }
.nav-toggle::after { bottom: 0; }


/* ══════════════════════════════════════════
   HOMEPAGE
   ══════════════════════════════════════════ */

/* ── Home Hero ── */
.home-hero {
  min-height: 95vh;
  display: grid;
  grid-template-columns: 40% 60%;
  position: relative;
  overflow: hidden;
}

.home-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 60px 80px;
  position: relative;
  z-index: 2;
}

.home-hero-left > * {
  animation: fade-up 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.home-hero-left > *:nth-child(1) { animation-delay: 0.1s; }
.home-hero-left > *:nth-child(2) { animation-delay: 0.25s; }
.home-hero-left > *:nth-child(3) { animation-delay: 0.4s; }
.home-hero-left > *:nth-child(4) { animation-delay: 0.55s; }

.home-hero-right {
  position: relative;
  overflow: hidden;
}

/* ── Slider ── */
.home-slider {
  position: absolute;
  inset: 0;
}

.home-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.home-slide.active {
  opacity: 1;
}

.home-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(8,8,8,0.5) 0%, transparent 30%),
    linear-gradient(to top, rgba(8,8,8,0.4) 0%, transparent 40%);
}

/* Placeholder cuando no hay slides */
.home-slider-placeholder {
  position: absolute;
  inset: 0;
}

.home-slider-placeholder .hero-photo {
  width: 100%;
  height: 100%;
}

/* Data chips sobre slider */
.home-hero-right .photo-data {
  position: absolute;
  top: 120px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
}

/* ── Home Responsive ── */
@media (max-width: 1024px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .home-hero-right {
    min-height: 50vh;
    order: -1;
  }
  .home-hero-left {
    padding: 60px 32px;
  }
  .home-hero-right .photo-data {
    top: 80px;
  }
}

@media (max-width: 768px) {
  .home-hero-left {
    padding: 48px 20px;
  }
  .home-hero-right {
    min-height: 40vh;
  }
  .home-hero-right .photo-data {
    top: 70px;
    right: 16px;
  }
}








.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 60px 80px;
  position: relative;
  z-index: 2;
}

.hero-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero h1,
.twofoto-h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(52px, 3vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

.line-thin {
  font-weight: 300;
  display: block;
  color: rgba(242,240,236,0.5);
}

.line-accent {
  display: block;
  color: var(--accent);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(242,240,236,0.4);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
}


.btn-primary {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--accent);
  padding: 14px 28px;
  display: inline-block;
  transition: all 0.2s;
  border: none; cursor: pointer;
}

.btn-primary:hover { background: var(--white);color: var(--black); }

.btn-ghost {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(242,240,236,0.5);
  border-bottom: 1px solid rgba(242,240,236,0.2);
  padding-bottom: 2px;
  transition: all 0.2s;
}

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

.hero-right {
  position: relative;
  overflow: hidden;
}

/* Hero photo (placeholder) */
.hero-photo {
  width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 30%, #0f3460 60%, #1a1a2e 100%);
  overflow: hidden;
}

.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 55% 60%, rgba(100,120,200,0.15) 0%, transparent 70%),
    linear-gradient(to right, rgba(8,8,8,0.4) 0%, transparent 30%),
    linear-gradient(to top, rgba(8,8,8,0.6) 0%, transparent 40%);
  z-index: 1;
}

.photo-motion-blur {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    92deg,
    transparent 0px, transparent 3px,
    rgba(255,255,255,0.012) 3px, rgba(255,255,255,0.012) 4px
  );
  z-index: 1;
}

/* Athlete silhouette (CSS placeholder) */
.athlete-silhouette {
  position: absolute;
  bottom: 15%; left: 50%;
  transform: translateX(-50%);
  width: 180px; height: 320px;
}

.athlete-body {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
}

.a-head {
  width: 36px; height: 36px;
  background: rgba(220,200,180,0.9);
  border-radius: 50%;
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%) rotate(-5deg);
}

.a-torso {
  width: 52px; height: 70px;
  background: rgba(40,60,180,0.95);
  position: absolute;
  top: 32px; left: 50%;
  transform: translateX(-60%) rotate(-8deg);
  clip-path: polygon(10% 0%, 90% 5%, 80% 100%, 20% 95%);
}

.a-arm-f {
  width: 14px; height: 68px;
  background: rgba(40,60,180,0.9);
  position: absolute;
  top: 38px; left: 50%;
  transform: translateX(10px) rotate(35deg);
  border-radius: 7px;
}

.a-arm-b {
  width: 12px; height: 60px;
  background: rgba(20,40,140,0.8);
  position: absolute;
  top: 42px; left: 50%;
  transform: translateX(-32px) rotate(-25deg);
  border-radius: 6px;
}

.a-leg-f {
  width: 18px; height: 90px;
  background: rgba(20,20,20,0.95);
  position: absolute;
  top: 95px; left: 50%;
  transform: translateX(-4px) rotate(18deg);
  border-radius: 9px;
}

.a-leg-f::after {
  content: '';
  width: 14px; height: 60px;
  background: rgba(20,20,20,0.9);
  position: absolute;
  top: 72px; left: -2px;
  transform: rotate(-40deg);
  border-radius: 7px;
}

.a-leg-b {
  width: 16px; height: 80px;
  background: rgba(10,10,10,0.9);
  position: absolute;
  top: 98px; left: 50%;
  transform: translateX(-18px) rotate(-22deg);
  border-radius: 8px;
}

.a-leg-b::after {
  content: '';
  width: 13px; height: 55px;
  background: rgba(10,10,10,0.85);
  position: absolute;
  top: 65px; left: 0px;
  transform: rotate(50deg);
  border-radius: 6px;
}

/* Motion lines */
.motion-lines {
  position: absolute;
  right: 0; top: 30%;
  width: 40%; height: 40%;
  overflow: hidden;
  opacity: 0.15;
}

.motion-line {
  height: 1px;
  background: linear-gradient(to left, transparent, var(--white));
  margin-bottom: 8px;
  animation: motion 1.5s ease-in-out infinite;
}

.motion-line:nth-child(1) { width: 80%; animation-delay: 0s; }
.motion-line:nth-child(2) { width: 60%; animation-delay: 0.1s; }
.motion-line:nth-child(3) { width: 90%; animation-delay: 0.2s; }
.motion-line:nth-child(4) { width: 50%; animation-delay: 0.15s; }
.motion-line:nth-child(5) { width: 70%; animation-delay: 0.05s; }
.motion-line:nth-child(6) { width: 85%; animation-delay: 0.3s; }

@keyframes motion {
  0%, 100% { opacity: 0.3; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.05); }
}

/* Data overlay in photo */
.photo-data {
  position: absolute;
  top: 120px; right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
}

.data-chip {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(8,8,8,0.7);
  border: 1px solid rgba(232,255,0,0.3);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  animation: pulse-chip 2s ease-in-out infinite;
}

.data-chip::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes pulse-chip {
  0%, 100% { border-color: rgba(232,255,0,0.3); }
  50% { border-color: rgba(232,255,0,0.7); }
}


/* Logo dot parpadeante */
.nav-logo::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  animation: blink 1s step-end infinite;
}




.photo-index {
  position: absolute;
  bottom: 24px; right: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(242,240,236,0.3);
  z-index: 2;
}

/* ── TICKER ── */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--mid);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 20s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242,240,236,0.4);
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.ticker-item .sep {
  color: var(--accent);
  font-size: 14px;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── GALLERY GRID ── */
.gallery {
  padding: 100px 40px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.section-label::before {
  content: '//';
  opacity: 0.5;
}

.twofoto-h2,
.gallery h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -0.03em;
  line-height: 1;
}

.twofoto-h2 em,
.gallery h2 em {
  font-style: normal;
  font-weight: 300;
  color: rgba(242,240,236,0.4);
}

.grid-count {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(242,240,236,0.3);
  text-transform: uppercase;
}

.photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 3px;
}

.grid-item {
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}

.grid-item:first-child {
  grid-row: span 2;
}

.grid-photo {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.grid-item:hover .grid-photo {
  transform: scale(1.04);
}

/* Placeholder gradient backgrounds */
.photo-1 { background: linear-gradient(160deg, #0d0d1a 0%, #1a1040 40%, #2d1b69 70%, #150d30 100%); }
.photo-2 { background: linear-gradient(135deg, #1a0a0a 0%, #3d1515 50%, #1a0a0a 100%); }
.photo-3 { background: linear-gradient(160deg, #0a1a0a 0%, #0d2b0d 50%, #1a3a10 100%); }
.photo-4 { background: linear-gradient(135deg, #1a1200 0%, #3d2d00 50%, #1a0a00 100%); }
.photo-5 { background: linear-gradient(160deg, #001a1a 0%, #003d3d 50%, #001a2d 100%); }

.grid-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}

.sport-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 80px;
  opacity: 0.06;
  letter-spacing: -0.05em;
  user-select: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.8) 0%, transparent 50%);
  transition: opacity 0.3s;
}

.grid-item:hover .grid-overlay { opacity: 0.4; }

.grid-meta {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 2;
}

.grid-sport {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 4px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s;
}

.grid-item:hover .grid-sport { opacity: 1; transform: translateY(0); }

.grid-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.grid-num {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(242,240,236,0.3);
  z-index: 2;
}

/* ── FEATURED SHOT ── */
.featured {
  padding: 0 40px 100px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3px;
  align-items: stretch;
}

.featured-photo {
  height: 560px;
  background: linear-gradient(145deg, #0a0a2e 0%, #1a1060 30%, #3d1a8a 60%, #0a0520 100%);
  position: relative;
  overflow: hidden;
}

.featured-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}

.featured-photo-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 40% 50%, rgba(80,60,200,0.2) 0%, transparent 70%);
}

.featured-sport-text {
  position: absolute;
  bottom: -20px; left: -10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 200px;
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.08em;
  line-height: 1;
  user-select: none;
}

.featured-badge {
  position: absolute;
  top: 24px; left: 24px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  background: rgba(8,8,8,0.75);
  border: 1px solid rgba(232,255,0,0.4);
  padding: 6px 12px;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.featured-info {
  background: var(--mid);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 3px solid var(--accent);
}

.featured-series {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(242,240,236,0.4);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.featured-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}

.featured-title span {
  display: block;
  font-weight: 300;
  color: rgba(242,240,236,0.4);
}

.featured-desc {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(242,240,236,0.55);
  font-weight: 300;
  margin-bottom: 32px;
}

.featured-data-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 32px;
}

.data-block {
  background: rgba(255,255,255,0.03);
  padding: 16px;
}

.data-block-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: rgba(242,240,236,0.3);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.data-block-value {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.data-block-value--white {
  font-size: 13px;
  color: var(--white);
}

.featured-link {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  transition: gap 0.2s;
}

.featured-link::after {
  content: '\2192';
  color: var(--accent);
}

.featured-link:hover { gap: 20px; }

/* ── TYPE SHOWCASE ── */
.type-demo {
  padding: 80px 40px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.type-col-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.display-sample {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--white);
}

.display-sample .dim { color: rgba(242,240,236,0.2); }

.mono-sample {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 2;
  color: rgba(242,240,236,0.5);
}

.mono-sample .highlight {
  color: var(--accent);
  font-weight: 500;
}

.pair-sample {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pair-heading {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.pair-body {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(242,240,236,0.5);
  font-weight: 300;
}

.pair-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 8px;
}

/* ── FOOTER ── */
.twofoto-footer {
  padding: 24px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}

.footer-logo span { color: var(--accent); }

.footer-meta {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(242,240,236,0.5);
  text-transform: uppercase;
}

.footer-phd-logo {
  height: 16px;
  width: auto;
  vertical-align: middle;
  position: relative;
  top: -1px;
  margin-right: 4px;
  opacity: 0.5;
}


/* ══════════════════════════════════════════
   ABOUT / QUIÉNES SOMOS PAGE
   ══════════════════════════════════════════ */

/* ── About Hero ── */
.about-hero {
  min-height: 40vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 120px 60px 80px;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--black) 0%, #0a0a1e 40%, #12081f 70%, var(--black) 100%);
  background-size: cover;
  background-position: center;
}

.about-hero-grain {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px, transparent 2px,
    rgba(242,240,236,0.008) 2px, rgba(242,240,236,0.008) 3px
  );
}

.about-hero-lines {
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  overflow: hidden;
  opacity: 0.04;
}

.about-hero-lines span {
  display: block;
  position: absolute;
  right: 0;
  height: 1px;
  background: var(--white);
}

.about-hero-lines span:nth-child(1) { top: 20%; width: 80%; }
.about-hero-lines span:nth-child(2) { top: 35%; width: 60%; }
.about-hero-lines span:nth-child(3) { top: 50%; width: 90%; }
.about-hero-lines span:nth-child(4) { top: 65%; width: 45%; }
.about-hero-lines span:nth-child(5) { top: 80%; width: 70%; }

.about-hero-content {
  position: relative;
  z-index: 2;
  animation: fade-up 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.about-hero-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.about-hero-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(42px, 5.5vw, 80px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.about-hero-index {
  position: absolute;
  bottom: 0;
  right: 60px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(242,240,236,0.2);
}

.about-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(242,240,236,0.3);
  z-index: 2;
}

.scroll-line {
  width: 48px;
  height: 1px;
  background: rgba(242,240,236,0.15);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}

/* ── Manifesto ── */
.about-manifesto {
  padding: 120px 60px;
  border-top: 1px solid var(--border);
}

.about-manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-manifesto-heading {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.about-manifesto-heading em {
  font-style: normal;
  font-weight: 300;
  color: rgba(242,240,236,0.4);
}

.about-manifesto-text {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(242,240,236,0.55);
  font-weight: 300;
  margin-bottom: 24px;
}

.about-manifesto-signature {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ── Stats Bar ── */
.about-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 48px 60px;
  background: var(--mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 40px;
}

.about-stat-num {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.03em;
  color: var(--accent);
}

.about-stat-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(242,240,236,0.4);
}

.about-stat-sep {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Team ── */
.about-team {
  padding: 120px 60px;
}

.about-section-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 60px;
}

.about-section-title em {
  font-style: normal;
  font-weight: 300;
  color: rgba(242,240,236,0.4);
}

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

.about-team-card {
  background: var(--mid);
  overflow: hidden;
}

.about-team-photo {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.about-team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-team-photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-team-initials {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 64px;
  color: rgba(255,255,255,0.06);
  letter-spacing: -0.05em;
  user-select: none;
}

.about-team-index {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(242,240,236,0.3);
}

.about-team-info {
  padding: 32px;
}

.about-team-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.about-team-role {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.about-team-role a.span {text-decoration: none;}

.about-team-bio {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(242,240,236,0.5);
  font-weight: 300;
  margin-bottom: 20px;
}

.about-team-specs {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(242,240,236,0.3);
  display: flex;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ── Approach / Method ── */
.about-approach {
  padding: 120px 60px;
  border-top: 1px solid var(--border);
}

.about-approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-approach-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 80px 0px;
}

.about-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.about-step:first-child {
  border-top: 1px solid var(--border);
}

.about-step-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 2px;
}

.about-step-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.about-step-desc {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(242,240,236,0.5);
  font-weight: 300;
}

/* ── Gear ── */
.about-gear {
  padding: 120px 60px;
  border-top: 1px solid var(--border);
  background: var(--mid);
}

.about-gear-header {
  margin-bottom: 60px;
}

.about-gear-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.about-gear-block {
  background: rgba(255,255,255,0.02);
  padding: 32px;
}

.about-gear-category {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.about-gear-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-gear-items span {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: rgba(242,240,236,0.6);
  line-height: 1.4;
}

/* ── CTA ── */
.about-cta {
  padding: 120px 60px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.about-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.about-cta-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.about-cta-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}

.about-cta-title span {
  font-weight: 300;
  color: rgba(242,240,236,0.4);
}

.about-cta-desc {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(242,240,236,0.5);
  font-weight: 300;
  margin-bottom: 40px;
}

/* ══════════════════════════════════════════
   SERVICIOS DE FOTOGRAFÍA PAGE
   ══════════════════════════════════════════ */

/* ── Services Hero ── */
.services-hero {
  min-height: 40vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 120px 60px 80px;
  overflow: hidden;
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--black) 0%, #0d0818 40%, #110a1e 70%, var(--black) 100%);
  background-size: cover;
  background-position: center;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.85) 0%, rgba(8,8,8,0.3) 50%, rgba(8,8,8,0.5) 100%);
}

.services-hero-grain {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px, transparent 2px,
    rgba(242,240,236,0.008) 2px, rgba(242,240,236,0.008) 3px
  );
}

.services-hero-content {
  position: relative;
  z-index: 2;
  animation: fade-up 0.8s cubic-bezier(0.25,0.46,0.45,0.94) both;
}

.services-hero-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.services-hero-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(42px, 5.5vw, 80px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.services-hero-scroll {
  position: absolute;
  bottom: 32px; left: 60px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(242,240,236,0.3);
  z-index: 2;
}

/* ── Services Intro ── */
.services-intro {
  padding: 120px 60px;
  border-top: 1px solid var(--border);
}

.services-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.services-intro-right p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(242,240,236,0.55);
  font-weight: 300;
}

/* ── Service Cards ── */




.services-lines {
  padding: 0 60px 60px;
}

.service-card {
  border-top: 1px solid var(--border);
  padding: 60px 0;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.service-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  flex-shrink: 0;
}

.service-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.service-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.service-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.service-card--reverse .service-card-body {
  direction: rtl;
}

.service-card--reverse .service-card-body > * {
  direction: ltr;
}

.service-card-visual {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.service-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-card-visual img {
  transform: scale(1.04);
}

.service-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-placeholder span {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 80px;
  color: rgba(255,255,255,0.04);
  letter-spacing: -0.05em;
  user-select: none;
}

.service-badge {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  background: rgba(8,8,8,0.75);
  border: 1px solid rgba(232,255,0,0.3);
  padding: 6px 10px;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.service-card-info {
  background: var(--mid);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-info p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(242,240,236,0.55);
  font-weight: 300;
  margin-bottom: 32px;
}

.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Service lines en 4 columnas */
.services-lines .about-approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.services-lines .about-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--mid);
  border: none;
  border-top: none;
}

.services-lines .about-step:first-child {
  border-top: none;
}

.services-lines .about-step-num {
  padding-top: 0;
}

/* ── Gallery ── */
.services-gallery {
  padding: 60px 60px;
  border-top: 0px solid var(--border);
}

.services-gallery-header {
  margin-bottom: 60px;
}

.services-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.gallery-lightbox-item {
  position: relative;
  display: block;
  height: 280px;
  overflow: hidden;
  cursor: crosshair;
}

.gallery-lightbox-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-lightbox-item:hover img {
  transform: scale(1.04);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.7) 0%, transparent 50%);
  opacity: 1;
  transition: opacity 0.3s;
}

.gallery-lightbox-item:hover .gallery-item-overlay {
  opacity: 0.3;
}

.gallery-item-num {
  position: absolute;
  bottom: 12px; right: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(242,240,236,0.4);
  z-index: 2;
}

.services-gallery-empty {
  padding: 80px 0;
  text-align: center;
}

.services-gallery-empty p {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(242,240,236,0.3);
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  animation: fade-up 0.3s ease both;
}

.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none; border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 300;
  opacity: 0.5;
  transition: opacity 0.2s;
  z-index: 2;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  font-family: var(--mono);
  padding: 16px;
  opacity: 0.4;
  transition: opacity 0.2s, color 0.2s;
  z-index: 2;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
  color: var(--accent);
}

.lightbox-counter {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(242,240,236,0.3);
  z-index: 2;
}



/* ══════════════════════════════════════════
   EVENTOS DEPORTIVOS
   ══════════════════════════════════════════ */

/* ── Events section (homepage + page) ── */
.home-events {
  padding: 120px 60px;
}

.home-events-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
}

.home-events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

/* ── Event Card ── */
.event-card {
  display: block;
  text-decoration: none;
  color: var(--white);
  background: var(--mid);
  overflow: hidden;
  cursor: crosshair;
}

.event-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.event-card:hover .event-card-image img {
  transform: scale(1.04);
}

.event-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.7) 0%, transparent 50%);
  transition: opacity 0.3s;
}

.event-card:hover .event-card-overlay {
  opacity: 0.4;
}

.event-card-num {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(242,240,236,0.3);
  z-index: 2;
}

.event-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1a1040 0%, #2d1b69 100%);
}

.event-card-info {
  padding: 24px;
}

.event-card-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.event-card-cats .data-chip {
  display: inline-flex;
  width: auto;
  font-size: 8px;
  padding: 4px 8px;
}

.event-card-cats .data-chip::before {
  width: 4px;
  height: 4px;
}

.event-card-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.event-card-date {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242,240,236,0.4);
}

/* ── Events Page Hero ── */
.events-hero {
  min-height: 40vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 120px 60px 80px;
  overflow: hidden;
}

.events-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--black) 0%, #0d0818 40%, #110a1e 70%, var(--black) 100%);
  background-size: cover;
  background-position: center;
}

/* ── Filter Bar ── */
.events-filter-bar {
  display: flex;
  gap: 4px;
  padding: 24px 60px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--mid);
  flex-wrap: wrap;
}

.events-filter {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242,240,236,0.4);
  background: none;
  border: 1px solid var(--border);
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.events-filter:hover {
  color: var(--white);
  border-color: rgba(242,240,236,0.3);
}

.events-filter.active {
  color: var(--black);
  background: var(--accent);
  border-color: var(--accent);
}

/* ── Events All (page template) ── */
.events-all {
  padding: 60px;
}





/* ── ANIMATIONS ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-left > * {
  animation: fade-up 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.hero-tag { animation-delay: 0.1s; }
.hero .twofoto-h1,
.hero h1 { animation-delay: 0.25s; }
.hero-stats { animation-delay: 0.4s; }
.hero-cta { animation-delay: 0.55s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    padding: 120px 32px 60px;
    order: 2;
  }
  .hero-right {
    min-height: 50vh;
    order: 1;
  }
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 240px 240px;
  }
  .grid-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  .featured {
    grid-template-columns: 1fr;
    padding: 0 24px 60px;
  }
  .featured-photo { height: 360px; }
  .featured-info { border-left: none; border-top: 3px solid var(--accent); }
  .type-demo {
    grid-template-columns: 1fr;
    padding: 60px 24px;
  }
  
  
  .about-hero { padding: 120px 32px 60px; min-height: 60vh; }
  .about-manifesto { padding: 80px 32px; }
  .about-manifesto-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-stats-bar { flex-wrap: wrap; gap: 24px; padding: 40px 32px; }
  .about-stat-sep { display: none; }
  .about-stat { padding: 0 24px; }
  .about-team { padding: 80px 32px; }
  .about-team-grid { grid-template-columns: 1fr 1fr; }
  .about-approach { padding: 80px 32px; }
  .about-approach-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-gear { padding: 80px 32px; }
  .about-gear-grid { grid-template-columns: 1fr 1fr; }
  .about-cta { padding: 80px 32px; }
  
  
  .services-hero { padding: 120px 32px 60px; min-height: 50vh; }
  .services-intro { padding: 80px 32px; }
  .services-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-lines { padding: 0 32px 80px; }
  .service-card-body { grid-template-columns: 1fr; }
  .service-card--reverse .service-card-body { direction: ltr; }
  .service-card-visual { height: 300px; }
  .services-gallery { padding: 80px 32px; }
  .services-gallery-grid { grid-template-columns: repeat(3, 1fr); }
  
  .services-lines .about-approach-steps {
    grid-template-columns: 1fr 1fr;
  }
  
  .home-events { padding: 80px 32px; }
  .home-events-grid { grid-template-columns: repeat(3, 1fr); }
  .events-hero { padding: 120px 32px 60px; min-height: 50vh; }
  .events-filter-bar { padding: 20px 32px; }
  .events-all { padding: 40px 32px; }
  
}

@media (max-width: 768px) {
  .twofoto-nav {
    padding: 16px 20px;
  }
  .nav-meta { display: none; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(8,8,8,0.95);
    backdrop-filter: blur(12px);
    padding: 24px 20px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: block; }
  .hero-left { padding: 100px 20px 48px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .gallery { padding: 60px 20px; }
  .photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
  }
  .grid-item:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }
  .grid-sport { opacity: 1; transform: translateY(0); }
  .featured { padding: 0 20px 48px; }
  .featured-info { padding: 32px 24px; }
  .featured-title { font-size: 28px; }
  .twofoto-footer { padding: 20px; flex-direction: column; gap: 12px; text-align: center; }
  
  .about-hero { padding: 100px 20px 48px; min-height: 50vh; }
  .about-hero-scroll { left: 20px; }
  .about-hero-index { right: 20px; }
  .about-manifesto { padding: 60px 20px; }
  .about-stats-bar { padding: 32px 20px; justify-content: flex-start; }
  .about-stat { align-items: flex-start; }
  .about-team { padding: 60px 20px; }
  .about-team-grid { grid-template-columns: 1fr; }
  .about-team-photo { height: 240px; }
  .about-approach { padding: 60px 20px; }
  .about-step { grid-template-columns: 36px 1fr; gap: 16px; padding: 24px 0; }
  .about-gear { padding: 60px 20px; }
  .about-gear-grid { grid-template-columns: 1fr; }
  .about-cta { padding: 60px 20px; }
  
  
  .services-hero { padding: 100px 20px 48px; }
  .services-hero-scroll { left: 20px; }
  .services-intro { padding: 60px 20px; }
  .services-lines { padding: 0 20px 60px; }
  .service-card { padding: 40px 0; }
  .service-card-header { gap: 12px; }
  .service-card-visual { height: 240px; }
  .service-card-info { padding: 32px 24px; }
  .services-gallery { padding: 60px 20px; }
  .services-gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-lightbox-item { height: 200px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  
  .services-lines .about-approach-steps {
    grid-template-columns: 1fr;
  }
  
  .home-events { padding: 60px 20px; }
  .home-events-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .home-events-grid { grid-template-columns: 1fr 1fr; }
  .event-card-image { height: 180px; }
  .event-card-info { padding: 16px; }
  .events-hero { padding: 100px 20px 48px; }
  .events-filter-bar { padding: 16px 20px; gap: 6px; }
  .events-all { padding: 24px 20px; }
  
  
}


@media (max-width: 480px) {
  .home-events-grid { grid-template-columns: 1fr; }
}

