/* L&S.Design — Mobile-first, dark cinematic UI */

:root {
  --bg-deep: #0a0a0a;
  --bg-elevated: #111113;
  --bg-card: rgba(18, 18, 22, 0.72);
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --accent-blue: #38bdf8;
  --accent-purple: #a855f7;
  --accent-hot: #e879f9;
  --line: rgba(255, 255, 255, 0.08);
  --glow-blue: rgba(56, 189, 248, 0.45);
  --glow-purple: rgba(168, 85, 247, 0.4);
  --radius: 14px;
  --radius-sm: 10px;
  /* Tipografía alineada con logo_txiki.png (L&S.Design + Lighting & Set Design) */
  --font-sans: 'Montserrat', system-ui, sans-serif;
  --font-brand: 'Montserrat', var(--font-sans);
  --font-tagline: 'Barlow Condensed', var(--font-sans);
  --font-display: var(--font-brand);
  --header-h: 64px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--accent-blue);
  color: #000;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* Ambient background lights */
.ambient-lights {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.light-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float-orb 18s var(--ease-out) infinite alternate;
}

.light-orb--1 {
  width: min(90vw, 520px);
  height: min(90vw, 520px);
  background: radial-gradient(circle, var(--glow-purple), transparent 65%);
  top: -10%;
  left: -15%;
}

.light-orb--2 {
  width: min(80vw, 420px);
  height: min(80vw, 420px);
  background: radial-gradient(circle, var(--glow-blue), transparent 65%);
  bottom: -5%;
  right: -10%;
  animation-delay: -6s;
}

.light-orb--3 {
  width: min(60vw, 320px);
  height: min(60vw, 320px);
  background: radial-gradient(circle, rgba(232, 121, 249, 0.5), transparent 70%);
  top: 40%;
  left: 35%;
  animation-delay: -12s;
}

@keyframes float-orb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, -24px) scale(1.08);
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.65) 60%,
    transparent 100%
  );
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.88);
  border-bottom-color: var(--line);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo__img {
  display: block;
  height: clamp(2rem, 5.5vw, 2.75rem);
  width: auto;
  max-width: min(200px, 48vw);
  object-fit: contain;
}

.nav {
  position: relative;
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
}

.nav__toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

.nav.is-open .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.is-open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  display: block;
  padding: 0.65rem 0.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, text-shadow 0.2s;
}

.nav__list a:hover,
.nav__list a:focus-visible {
  color: var(--text);
  text-shadow: 0 0 12px var(--glow-blue);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  background: rgba(0, 0, 0, 0.35);
}

.lang-switch__btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.lang-switch__btn:hover {
  color: var(--text);
}

.lang-switch__btn.is-active {
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  box-shadow: 0 0 20px var(--glow-blue);
}

/* Mobile nav panel */
@media (max-width: 899px) {
  .nav__list {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(10, 10, 10, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease-out), opacity 0.25s;
    backdrop-filter: blur(16px);
  }

  .nav.is-open .nav__list {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

@media (min-width: 900px) {
  .nav__toggle {
    display: none;
  }

  .nav__list {
    display: flex;
    gap: 1.25rem;
  }
}

/* Main offset */
main {
  position: relative;
  z-index: 1;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 1.25rem 5rem;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video-ratio {
  position: absolute;
  inset: 0;
  overflow: hidden;
  min-height: 100%;
  background: #0a0a0a;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* Sin multiply: el vídeo debe leerse claramente; el tinte mantiene la lectura del texto encima */
  background: radial-gradient(
      ellipse 85% 65% at 50% 42%,
      rgba(10, 10, 10, 0.25) 0%,
      rgba(10, 10, 10, 0.65) 50%,
      rgba(10, 10, 10, 0.88) 100%
    ),
    linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(168, 85, 247, 0.12));
  pointer-events: none;
}

.hero__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.12) 2px,
    rgba(0, 0, 0, 0.12) 4px
  );
  opacity: 0.25;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-blue);
  text-shadow: 0 0 24px var(--glow-blue);
}

.hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero__brand {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: clamp(2.4rem, 9vw, 4.5rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: #d4d4d8;
  text-shadow: 0 0 48px rgba(255, 255, 255, 0.12);
}

.hero__tagline {
  font-family: var(--font-tagline);
  font-size: clamp(1.05rem, 3.2vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.hero__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.35rem auto 0;
  max-width: 36rem;
}

.quick-contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(12, 12, 16, 0.82);
  backdrop-filter: blur(10px);
  font-size: clamp(0.82rem, 2.8vw, 0.95rem);
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s var(--ease-out),
    color 0.2s;
}

.quick-contact__link:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.2);
}

.quick-contact__link--instagram:hover {
  border-color: rgba(225, 48, 108, 0.55);
  box-shadow: 0 0 28px rgba(225, 48, 108, 0.25);
}

.quick-contact__link--email:hover {
  border-color: rgba(56, 189, 248, 0.55);
}

.quick-contact__link--phone:hover {
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.2);
}

.quick-contact__icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.quick-contact__text {
  white-space: nowrap;
}

@media (max-width: 380px) {
  .quick-contact__link {
    padding: 0.65rem 0.85rem;
    font-size: 0.78rem;
  }

  .quick-contact__icon {
    width: 18px;
    height: 18px;
  }
}

.hero__lead {
  margin: 1.25rem auto 0;
  max-width: 38rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.hero__cta {
  display: inline-flex;
  margin-top: 2rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  box-shadow: 0 0 32px rgba(56, 189, 248, 0.35);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(168, 85, 247, 0.45);
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-hint__line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--accent-blue), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.85);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Sections */
.section {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section__head {
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.section__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.section__subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Portfolio grid */
.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.portfolio__channel {
  margin-top: 1.75rem;
  text-align: center;
}

.portfolio__channel-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s, text-shadow 0.2s;
}

.portfolio__channel-link:hover {
  color: var(--accent-hot);
  text-shadow: 0 0 18px var(--glow-blue);
}

.portfolio__embed-strip {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.portfolio__embed-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.portfolio__embed-note {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 52rem;
}

.portfolio__embed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .portfolio__embed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .portfolio__embed-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio__embed-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c0c0e;
}

.portfolio__embed-ratio {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.portfolio__embed-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  cursor: pointer;
  text-align: left;
  min-height: 280px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.3s;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.4),
    transparent 40%,
    rgba(168, 85, 247, 0.35)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.25);
}

.project-card:hover::before,
.project-card:focus-visible::before {
  opacity: 1;
}

.project-card__media {
  position: absolute;
  inset: 0;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s var(--ease-out);
}

.project-card:hover .project-card__media img {
  transform: scale(1.08);
}

.project-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 20%,
    rgba(10, 10, 10, 0.85) 100%
  );
}

.project-card__body {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
}

.project-card__meta {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.35rem;
}

.project-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.project-card__excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card__more {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.project-card__more span {
  color: var(--accent-purple);
}

/* About */
.about {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.about__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .about__inner {
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
    gap: 3rem;
  }
}

.about {
  position: relative;
}

.about__glow {
  position: absolute;
  inset: 10% 20% auto;
  height: 200px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.about__body p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.about__body p:last-child {
  margin-bottom: 0;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 500px) {
  .about__stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  text-align: center;
}

.stat-card__num {
  display: block;
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 2.5rem;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card__label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(24, 24, 30, 0.9), rgba(10, 10, 12, 0.95));
  transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.35s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.12);
}

.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.services__refs {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.services__refs-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.services__refs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .services__refs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }
}

.testimonial-card {
  margin: 0;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(12, 12, 16, 0.85);
}

.testimonial-card__quote {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.65;
}

.testimonial-card__footer {
  font-size: 0.85rem;
  color: var(--text);
  font-style: normal;
}

.testimonial-card__role {
  font-style: normal;
  color: var(--text-muted);
}

.testimonial-card__link {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.testimonial-card__link:hover {
  color: var(--accent-hot);
}

/* Clients marquee */
.clients__track-wrap {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.clients__track:hover {
  animation-play-state: paused;
}

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

.client-pill {
  flex: 0 0 auto;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.client-pill:hover {
  color: var(--text);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

/* Contact */
.contact__layout {
  display: grid;
  gap: 2rem;
  max-width: 920px;
}

@media (min-width: 800px) {
  .contact__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.contact__lead {
  color: var(--text-muted);
  font-size: 1rem;
}

.contact__note {
  margin-top: 1rem;
  font-family: var(--font-tagline);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.contact__card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(22, 22, 28, 0.95), rgba(8, 8, 10, 0.98));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.contact__person {
  margin: 0 0 1.25rem;
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.contact__address {
  margin-bottom: 1.25rem;
}

.contact__address-title {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-purple);
}

.contact__line {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact__label {
  margin: 1.25rem 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact__link {
  display: inline-block;
  font-weight: 600;
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

.contact__link:hover {
  color: var(--accent-hot);
  text-shadow: 0 0 16px var(--glow-blue);
}

.contact__link--email {
  font-size: 1rem;
  word-break: break-all;
}

.contact__link--instagram {
  color: #f472b6;
}

.contact__link--instagram:hover {
  color: #fb7185;
  text-shadow: 0 0 16px rgba(244, 114, 182, 0.35);
}

.contact__phones {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.contact__phone {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact__phone:last-child {
  margin-bottom: 0;
}

.contact__phone-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 0;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn--primary {
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.3);
}

.form-feedback {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--accent-blue);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem;
  margin-top: 2rem;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

@media (min-width: 700px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.site-footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer__credit {
  margin: 0;
  font-family: var(--font-tagline);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* Modal */
.modal[hidden] {
  display: none;
}

.modal:not([hidden]) {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 200;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(96vw, 920px);
  max-height: 90vh;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-deep);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(56, 189, 248, 0.08);
  display: flex;
  flex-direction: column;
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.5);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal__close:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 0 18px var(--glow-purple);
}

.modal__content {
  overflow-y: auto;
  padding: 1.5rem;
}

.modal-project__hero {
  margin: -1.5rem -1.5rem 1.25rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.modal-project__hero iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-project__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 1.75rem;
  letter-spacing: 0.02em;
}

.modal-project__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-project__meta span {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.modal-project__desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
}

.modal-project__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 600px) {
  .modal-project__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.modal-project__gallery img {
  border-radius: var(--radius-sm);
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.modal-project__tech h4 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.modal-project__tech ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.modal-project__tech li {
  margin-bottom: 0.35rem;
}

body.modal-open {
  overflow: hidden;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .clients__track,
  .light-orb,
  .scroll-hint__line {
    animation: none !important;
  }
}
