/* ================================================================
   SONANDO HUERTAS — Design System & Styles
   A poetic editorial website for cinematic visual storytelling
   ================================================================ */

/* ===== DESIGN TOKENS ===== */
:root {
  --bg-deep: hsl(30, 10%, 5%);
  --bg-primary: hsl(30, 8%, 7%);
  --bg-elevated: hsl(30, 6%, 11%);
  --bg-card: hsl(30, 5%, 13%);
  --bg-card-hover: hsl(30, 5%, 16%);

  --text-primary: hsl(40, 30%, 88%);
  --text-secondary: hsl(40, 15%, 60%);
  --text-muted: hsl(40, 10%, 38%);

  --amethyst: #7B2D8E;
  --amethyst-light: #9B4DB0;
  --amethyst-dark: #5A1E6A;
  --amethyst-glow: rgba(123, 45, 142, 0.25);

  --gold: #C8A95E;
  --gold-light: #E0C878;
  --gold-muted: rgba(200, 169, 94, 0.15);

  --terracotta: hsl(18, 55%, 45%);
  --moss: hsl(140, 25%, 30%);

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-ui: 'Josefin Sans', 'Helvetica Neue', sans-serif;
  --font-body: 'Lora', 'Georgia', serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  --container-max: 1200px;
  --container-narrow: 800px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--amethyst-dark) var(--bg-deep);
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection {
  background: var(--amethyst);
  color: var(--text-primary);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--amethyst-dark); border-radius: 3px; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.section-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--amethyst), var(--gold));
  margin-bottom: var(--space-lg);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
  background: rgba(18, 16, 14, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  padding: var(--space-xs) var(--space-md);
  border-bottom: 1px solid rgba(200, 169, 94, 0.1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: transform 0.4s var(--ease-out);
}

.nav-logo:hover { transform: rotate(30deg) scale(1.1); }

.nav-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--amethyst-light), var(--gold));
  transition: width 0.4s var(--ease-out);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.lang-toggle {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--gold-muted);
  color: var(--gold);
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: var(--radius-sm);
}

.lang-toggle:hover {
  background: var(--gold-muted);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(6.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-6.5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: grayscale(100%) contrast(1.2);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-primary) 0%, transparent 60%);
  z-index: 1;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.hero-orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--amethyst-glow), transparent 70%);
  top: -250px;
  right: -150px;
  animation: float-slow 25s ease-in-out infinite;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--gold-muted), transparent 70%);
  bottom: -150px;
  left: -100px;
  animation: float-slow 20s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(165, 85, 60, 0.1), transparent 70%);
  top: 35%;
  left: 25%;
  animation: float-slow 30s ease-in-out infinite 5s;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.25'/%3E%3C/svg%3E");
  opacity: 0.2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-md);
}

.hero-logo-wrap {
  margin-bottom: var(--space-md);
  display: flex;
  justify-content: center;
}

.hero-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  animation: shimmer-pulse 4s ease-in-out infinite;
  filter: drop-shadow(0 0 30px var(--amethyst-glow));
  will-change: transform, opacity;
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.hero-tagline-line {
  display: block;
  font-size: clamp(2.5rem, 7vw, 5rem);
  opacity: 0;
  transform: translateY(30px);
  animation: reveal-up 1s var(--ease-out) forwards;
}

.hero-tagline-line:nth-child(2) {
  animation-delay: 0.2s;
}

.hero-tagline-accent {
  font-style: italic;
  background: linear-gradient(135deg, var(--amethyst-light), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: reveal-up 1s var(--ease-out) 0.5s forwards;
}

.hero-cta {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  opacity: 0;
  animation: reveal-up 1s var(--ease-out) 0.7s forwards;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--amethyst), var(--gold));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.hero-cta:hover {
  color: var(--text-primary);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--amethyst-glow);
}

.hero-cta:hover::before { opacity: 1; }

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0;
  animation: reveal-up 1s var(--ease-out) 1.2s forwards;
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: pulse-line 2.5s ease-in-out infinite;
}

/* ===== PORTFOLIO ===== */
.portfolio { background: var(--bg-primary); }

.portfolio-grid {
  display: grid;
  gap: var(--space-lg);
}

.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid rgba(200, 169, 94, 0.05);
  transition: all 0.5s var(--ease-out);
}

.project-card:hover {
  border-color: rgba(200, 169, 94, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--amethyst-glow);
  transform: translateY(-4px);
}

.project-card:nth-child(even) { direction: rtl; }
.project-card:nth-child(even) > * { direction: ltr; }

.project-card-vertical {
  grid-template-columns: 2fr 3fr;
}

.project-card-vertical:nth-child(even) {
  grid-template-columns: 3fr 2fr;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-wrapper-vertical {
  aspect-ratio: 9 / 16;
}

.project-info { padding: var(--space-sm) 0; }

.project-type {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amethyst-light);
  margin-bottom: var(--space-xs);
}

.project-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tag {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--gold-muted);
  border-radius: 2px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.project-card:hover .project-tag {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===== SERVICES ===== */
.services {
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--amethyst-glow), transparent 70%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amethyst), var(--gold));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-sm);
  color: var(--gold);
}

.service-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-item {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
}

.service-item::before {
  content: '◇';
  position: absolute;
  left: 0;
  color: var(--amethyst-light);
  font-size: 0.6rem;
  top: 0.25rem;
}

.service-remote {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--amethyst-glow);
  color: var(--amethyst-light);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ===== ABOUT ===== */
.about { background: var(--bg-primary); }

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--bg-elevated) 0%,
    var(--amethyst-dark) 50%,
    var(--bg-elevated) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(60deg, transparent 40%, rgba(123, 45, 142, 0.1) 50%, transparent 60%),
    linear-gradient(120deg, transparent 40%, rgba(200, 169, 94, 0.08) 50%, transparent 60%);
  animation: crystal-shift 8s ease-in-out infinite;
}

.about-monogram {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 6rem;
  font-weight: 300;
  color: rgba(200, 169, 94, 0.15);
  user-select: none;
  letter-spacing: 0.1em;
}

.about-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: grayscale(70%) sepia(20%) contrast(1.15) brightness(0.95); /* Efecto estilo plata vieja/cine clásico */
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 45%, black 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 85% at 50% 45%, black 45%, transparent 100%);
  transition: all 0.8s var(--ease-out);
}

.about-visual:hover .about-portrait {
  transform: scale(1.05);
  opacity: 1;
  filter: grayscale(0%) contrast(1.05) brightness(1); /* Revela el color natural */
  -webkit-mask-image: radial-gradient(ellipse 95% 95% at 50% 45%, black 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 95% 95% at 50% 45%, black 55%, transparent 100%);
}

.about-frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(200, 169, 94, 0.15);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.about-text h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.9;
}

.about-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold);
  border-left: 2px solid var(--amethyst);
  padding-left: var(--space-sm);
  margin: var(--space-md) 0;
  line-height: 1.6;
}

/* ===== CLIENTS ===== */
.clients {
  background: var(--bg-deep);
  padding: var(--space-lg) 0;
  overflow: hidden;
}

.clients .container {
  margin-bottom: var(--space-md);
}

.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.client-item {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0 var(--space-md);
  transition: color 0.4s ease;
  cursor: default;
}

.client-item:hover { color: var(--gold); }

.client-separator {
  color: var(--amethyst);
  padding: 0 var(--space-sm);
  font-size: 0.5rem;
  display: flex;
  align-items: center;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--amethyst-glow), transparent 70%);
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.contact-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
  border: none;
}

.contact-btn-primary {
  background: linear-gradient(135deg, var(--amethyst), var(--amethyst-dark));
  color: var(--text-primary);
}

.contact-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px var(--amethyst-glow);
}

.contact-btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-muted);
}

.contact-btn-secondary:hover {
  background: var(--gold-muted);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.contact-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.contact-project {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(200, 169, 94, 0.1);
}

.contact-project-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.contact-project-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-deep);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(200, 169, 94, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-secondary);
}

.footer-copy {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ===== ANIMATIONS ===== */
@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(40px, 30px) scale(1.02); }
}

@keyframes shimmer-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes crystal-shift {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .project-card, .project-card-vertical { grid-template-columns: 1fr; }
  .project-card:nth-child(even) { direction: ltr; }
  .video-wrapper-vertical { max-width: 400px; margin: 0 auto; }
  .about-content { grid-template-columns: 1fr; gap: var(--space-md); }
  .about-visual { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .section { padding: var(--space-lg) 0; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(18, 16, 14, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: var(--space-lg);
    transition: right 0.5s var(--ease-out);
    border-left: 1px solid rgba(200, 169, 94, 0.1);
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
  }

  .nav-toggle { display: flex; }

  .services-grid { grid-template-columns: 1fr; }

  .hero-logo { width: 100px; height: 100px; }

  .footer-content {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .contact-actions { flex-direction: column; align-items: center; }
}
