/* ============================================
   STUDIO ABERRANTE — style.css
   Dark Editorial / AI Studio
   ============================================ */

:root {
  --bg: #080808;
  --bg-2: #0f0f0f;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.38);
  --text-mid: rgba(255, 255, 255, 0.65);
  --border: rgba(255, 255, 255, 0.07);
  --header-h: 64px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 200;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.header.scrolled {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.logo-img {
  height: 26px;
  filter: none;
  opacity: 0.9;
  transition: filter 0.4s ease;
}

.header.scrolled .logo-img {
  filter: none;
}

.header-nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.header-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  transition: color 0.25s ease;
}

.header.scrolled .header-nav a {
  color: rgba(0,0,0,0.55);
}

.header-nav a:hover {
  color: #000;
}

.header.scrolled .header-nav a:hover {
  color: #000;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100svh; /* svh = viewport sin barra del navegador → constante en iOS */
  overflow: hidden;
  background: #f0eeeb;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Subtle gradient overlay for text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(255,255,255,0.55) 0%, transparent 40%),
    linear-gradient(to bottom, rgba(255,255,255,0.25) 0%, transparent 25%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
}

/* Logo flotando lado derecho */
.hero-logo-float {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
}

.hero-logo {
  height: 52px;
  filter: none;
  opacity: 0.88;
}

/* Texto hero */
.hero-text {
  margin-bottom: 56px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 8.5vw, 118px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: #080808;
}

.hero-word-wrap {
  display: inline-block;
  overflow: hidden;
  line-height: 0.92;
  vertical-align: top;
}

.hero-word {
  display: inline-block;
  line-height: 0.92;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.hero-word.exit {
  transform: translateY(-110%);
  opacity: 0;
}

.hero-word.enter {
  transform: translateY(110%);
  opacity: 0;
  transition: none;
}

/* Scroll hint */
.scroll-hint {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}

.scroll-line {
  width: 36px;
  height: 1px;
  background: rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #080808;
  transform: translateX(-100%);
  animation: slide-line 2s ease-in-out infinite 1.5s;
}

@keyframes slide-line {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.scroll-hint span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
}

/* ============================================
   DIVIDER
   ============================================ */
.section-divider {
  height: 1px;
  background: var(--border);
}

/* ============================================
   BRANDS MARQUEE
   ============================================ */
.brands {
  background: var(--bg);
  padding: 28px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.brands-track-wrap {
  overflow: hidden;
  width: 100%;
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.brand-item {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding: 0 32px;
  transition: color 0.25s ease;
}

.brand-item:hover {
  color: rgba(255, 255, 255, 0.9);
}

.brand-sep {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.18);
  line-height: 1;
}

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

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 120px 48px 100px;
  background: var(--bg);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.services-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 6vw, 100px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-align: right;
}

/* Collage Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 420px 340px 300px;
  grid-template-areas:
    "one one two"
    "three four four"
    "five five six";
  gap: 6px;
}

/* Card layout */
.service-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
}

.service-item:nth-child(1) { grid-area: one; }
.service-item:nth-child(2) { grid-area: two; }
.service-item:nth-child(3) { grid-area: three; }
.service-item:nth-child(4) { grid-area: four; }
.service-item:nth-child(5) { grid-area: five; }
.service-item:nth-child(6) { grid-area: six; }

/* Image inside card */
.service-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

.service-item:hover .service-img {
  transform: scale(1.07);
}

/* Dark overlay on image */
.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.25) 50%,
    rgba(0,0,0,0.05) 100%
  );
  transition: background 0.4s ease;
}

.service-item:hover .service-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.35) 55%,
    rgba(0,0,0,0.08) 100%
  );
}

/* Text on top of image */
.service-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 32px;
  z-index: 2;
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.service-num {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
}

.service-arrow {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  transition: transform 0.35s ease, color 0.35s ease;
  line-height: 1;
}

.service-item:hover .service-arrow {
  transform: translate(4px, -4px);
  color: white;
}

.service-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 8px;
}

.service-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.service-item:hover .service-desc {
  max-height: 80px;
  opacity: 1;
}

.services-more-row {
  margin-top: 48px;
  text-align: center;
}

.services-more {
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ============================================
   MANIFESTO
   ============================================ */
.manifesto {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 880px;
}

.manifesto-text {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--text-mid);
  letter-spacing: -0.01em;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 120px 48px 60px;
  border-top: 1px solid var(--border);
}

.footer-content {
  margin-bottom: 96px;
}

.footer-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 9vw, 130px);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin-bottom: 48px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: center;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 6px;
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

.footer-cta:hover {
  border-color: white;
  opacity: 0.75;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.footer-logo {
  height: 22px;
  filter: invert(1);
  opacity: 0.4;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-logo-float {
    right: 40px;
  }

  .hero-logo {
    height: 40px;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
  .header {
    padding: 0 24px;
  }

  .header-nav {
    gap: 24px;
  }

  .hero-content {
    padding: 24px;
  }

  .hero-logo-float {
    top: auto;
    bottom: auto;
    right: 24px;
    top: calc(var(--header-h) + 24px);
    transform: none;
  }

  .hero-logo {
    height: 32px;
  }

  .hero-title {
    font-size: clamp(58px, 14vw, 80px);
  }

  .services {
    padding: 72px 24px 80px;
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 48px;
    padding-bottom: 32px;
  }

  .services-title {
    text-align: left;
    font-size: 64px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 280px 280px 280px 280px 240px 240px;
    grid-template-areas:
      "one"
      "two"
      "three"
      "four"
      "five"
      "six";
  }

  .service-desc {
    max-height: 60px;
    opacity: 1;
  }

  .service-item {
    padding: 36px 24px;
  }

  .manifesto {
    padding: 80px 24px;
  }

  .footer {
    padding: 80px 24px 48px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ============================================
   AVATARES PROMO (index)
   ============================================ */
.avatares-promo {
  padding: 120px 48px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.avatares-promo-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 72px;
}

.avatares-promo-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 6vw, 100px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin-top: 20px;
}

.avatares-promo-right {
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 8px;
}

.avatares-promo-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-mid);
  letter-spacing: -0.01em;
}

.avatares-promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 6px;
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

.avatares-promo-cta:hover {
  border-color: white;
  opacity: 0.75;
}

.avatares-promo-arrow {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.avatares-promo-cta:hover .avatares-promo-arrow {
  transform: translate(3px, -3px);
}

.avatares-promo-strip {
  margin: 0 -48px;
  overflow: hidden;
}

.avatares-promo-photos {
  display: flex;
  gap: 6px;
  width: max-content;
  animation: avatares-marquee 28s linear infinite;
}

.avatares-promo-photos:hover {
  animation-play-state: paused;
}

.avatares-promo-photos img {
  width: 280px;
  height: 380px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.avatares-promo-photos img:hover {
  filter: grayscale(0%);
  transform: scale(1.03);
}

@keyframes avatares-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   AVATARES PAGE — Circular Gallery
   ============================================ */
.av-page {
  background: var(--bg);
  min-height: 100vh;
}

.av-gallery-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 80px 16px;
  overflow: hidden;
}

.av-gallery {
  position: relative;
  width: min(700px, 90vw);
  aspect-ratio: 1;
}

.av-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  padding: 20%;
}

.av-center-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 16px;
}

.av-center-hint {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Flip card */
.av-card {
  position: absolute;
  width: 88px;
  height: 120px;
  border-radius: 10px;
  perspective: 1000px;
  transition: z-index 0s;
}

.av-card:hover {
  z-index: 20;
}

.av-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.7);
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.av-card:hover .av-card-inner {
  transform: rotateY(180deg) scale(1.12);
}

.av-card-front,
.av-card-back {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.av-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  display: block;
}

.av-card-back {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.1);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
}

.av-card-back h3 {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}

.av-card-back p {
  font-size: 9.5px;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 300;
}

/* Epic golden card — Josefa */
@keyframes epic-glow {
  0%   { box-shadow: 0 0 8px 2px rgba(212,175,55,0.6), 0 0 18px 4px rgba(212,175,55,0.3); }
  50%  { box-shadow: 0 0 16px 4px rgba(255,215,0,0.9), 0 0 32px 8px rgba(212,175,55,0.5); }
  100% { box-shadow: 0 0 8px 2px rgba(212,175,55,0.6), 0 0 18px 4px rgba(212,175,55,0.3); }
}
@keyframes epic-border-spin {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.av-card--epic {
  z-index: 5;
}

.av-card--epic .av-card-inner {
  border-radius: 8px;
}

.av-card--epic::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    #b8860b, #ffd700, #fffacd, #ffd700, #daa520, #ffd700, #b8860b
  );
  background-size: 200% 100%;
  animation: epic-border-spin 2.5s linear infinite, epic-glow 2.5s ease-in-out infinite;
  z-index: -1;
}

.av-card--epic .av-card-front img {
  border-radius: 7px;
}

.av-epic-badge {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #b8860b, #ffd700, #daa520);
  color: #000;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase;
  pointer-events: none;
}

@media (max-width: 768px) {
  .avatares-promo {
    padding: 80px 24px 0;
  }

  .avatares-promo-inner {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 48px;
  }

  .avatares-promo-right {
    max-width: 100%;
  }

  .avatares-promo-strip {
    margin: 0 -24px;
  }

  .avatares-promo-photos {
    gap: 4px;
    animation-duration: 20s;
  }

  .avatares-promo-photos img {
    width: 180px;
    height: 240px;
  }

  .av-card {
    width: 68px;
    height: 92px;
  }
}

/* ============================================
   AVATARES — BENEFITS SECTION
   ============================================ */
.av-benefits {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
}

.av-benefits-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.av-benefits-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 5.5vw, 88px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-align: right;
}

.av-benefits-intro {
  max-width: 340px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-mid);
  padding-bottom: 8px;
}

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

.av-benefit-item {
  padding: 48px 40px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.3s ease;
}

.av-benefit-item:hover {
  background: var(--bg-2);
}

.av-benefit-num {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.av-benefit-icon {
  font-size: 28px;
  line-height: 1;
}

.av-benefit-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 2.5vw, 36px);
  letter-spacing: 0.01em;
  line-height: 1;
}

.av-benefit-desc {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-mid);
  max-width: 360px;
}

/* ============================================
   AVATAR DETALLE PAGE
   ============================================ */
.avd-page {
  background: var(--bg);
  min-height: 100vh;
}

.avd-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: var(--header-h);
}

.avd-photo-col {
  position: relative;
  overflow: hidden;
}

.avd-photo-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(8%);
}

.avd-info-col {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
}

.avd-type {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.avd-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 7vw, 110px);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin-bottom: 32px;
}

.avd-bio {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 40px;
  max-width: 420px;
}

.avd-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 40px;
  border-top: 1px solid var(--border);
}

.avd-stat {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.avd-stat:nth-child(odd) {
  padding-right: 24px;
  border-right: 1px solid var(--border);
}

.avd-stat:nth-child(even) {
  padding-left: 24px;
}

.avd-stat-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.avd-stat-value {
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
}

.avd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.avd-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 2px;
  transition: color 0.25s, border-color 0.25s;
}

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

.avd-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 6px;
  transition: border-color 0.25s, opacity 0.25s;
  text-decoration: none;
}

.avd-cta:hover {
  border-color: white;
  opacity: 0.75;
}

/* Gallery section */
.avd-gallery {
  padding: 80px 48px 120px;
  border-top: 1px solid var(--border);
}

.avd-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.avd-gallery-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 3.5vw, 56px);
  line-height: 0.9;
}

.avd-gallery-note {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.avd-gallery-item {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

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

.avd-gallery-item:hover img {
  transform: scale(1.05);
}

.avd-gallery-placeholder {
  aspect-ratio: 3/4;
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: default;
}

.avd-gallery-placeholder span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.avd-gallery-placeholder .avd-plus {
  font-size: 24px;
  color: rgba(255,255,255,0.1);
  line-height: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .avd-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .avd-photo-col {
    height: 60vw;
    max-height: 520px;
  }

  .avd-info-col {
    padding: 48px 32px;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .avd-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .av-benefits {
    padding: 80px 24px;
  }

  .av-benefits-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .av-benefits-title {
    text-align: left;
  }

  .av-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .avd-gallery {
    padding: 60px 24px 80px;
  }

  .avd-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .avd-info-col {
    padding: 40px 24px;
  }
}
