/* ==========================================================================
   PARADIGMA CREATIVO — Cinematic Portfolio
   styles.css

   Architecture: Desktop-first. Responsive layers override downward.
   Desktop is the base layer. Media queries add targeted overrides only.

   Table of Contents:
   ──────────────────────────────────────────────────────────────────────
   00  Tokens              — CSS custom properties & design tokens
   01  Reset               — Box model, base element resets
   02  Accessibility       — Skip link, visually-hidden, focus ring,
                             language support (.t-en / .t-es)
   03  Preloader           — Loading screen & pulse animation
   04  Background Stage    — Fixed bg layers + per-section scrims
   05  Header Desktop      — Header, logo, desktop nav (always visible)
   06  Desktop Layout      — Content wall, editorial grid, typography,
                             all section layouts (Hero → Contact)
   07  Components          — Glass box, service modules, process steps,
                             portfolio items, about stats, CTA
   08  Animations          — Reveal system + stagger delays
   ──────────────────────────────────────────────────────────────────────
   09  Tablet              — @media (max-width: 1024px) layout overrides
   10  Mobile Navigation   — @media (max-width: 900px)  nav & hamburger
   11  Mobile Layout       — @media (max-width: 600px)  layout & type
   12  Reduced Motion      — prefers-reduced-motion + forced-colors
   ══════════════════════════════════════════════════════════════════════ */


/* ============================================================
   00. TOKENS
   ============================================================ */
:root {
  /* ── Brand Colours ── */
  --color-black:   #050505;
  --color-white:   #ffffff;
  --color-orange:  #F28C18;
  --color-gray:    #999999;
  --color-gray-lt: #cccccc;
  --color-border:  rgba(255, 255, 255, 0.10);
  --color-glass:   rgba(255, 255, 255, 0.03);

  /* ── Typography ── */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-main:    'Inter', system-ui, sans-serif;

  /* ── Spacing Scale ── */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  32px;
  --space-lg:  64px;
  --space-xl:  120px;

  /* ── Layout ── */
  --max-width:       1400px;
  --header-h-pad:    60px;
  --header-v-pad:    36px;
  --section-h-pad:   60px;
  --section-v-pad:   var(--space-xl);

  /* ── Motion ── */
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:  cubic-bezier(0.0, 0, 0.2, 1);
  --dur-fast:  0.3s;
  --dur-mid:   0.6s;
  --dur-slow:  1.1s;
  --dur-xslow: 1.5s;

  /* ── Touch targets (WCAG 2.5.5) ── */
  --touch-min: 44px;
}


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

:root {
  color-scheme: dark;
}

html {
  scroll-behavior: auto;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body {
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

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


/* ============================================================
   02. ACCESSIBILITY
   ============================================================ */

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -9999px;
  left: var(--space-sm);
  z-index: 9999;
  padding: var(--space-xs) var(--space-md);
  background: var(--color-orange);
  color: var(--color-black);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 2px;
  transition: top var(--dur-fast) var(--ease);
}

.skip-link:focus {
  top: var(--space-sm);
}

/* ── Visually hidden ── */
.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;
}

/* ── Focus ring ── */
:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ── Language support ──────────────────────────────────────
   .t-en and .t-es are translation wrappers placed inside
   every bilingual element. Spanish is hidden by default.
   When html[data-lang="es"], Spanish is shown and English
   is hidden. `display: revert` restores the element's
   natural display type (block for <p>, inline for <span>)
   so no extra class variants are needed.
   ─────────────────────────────────────────────────────── */

/* Spanish hidden by default */
/* Default language: English */
.t-en {
  display: inline;
}

.t-es {
  display: none;
}

/* Paragraph-level and block-level translations */
p .t-en,
h1 .t-en,
h2 .t-en,
h3 .t-en,
.label .t-en,
.hero-credit .t-en,
.scroll-hint .t-en,
.step-label .t-en,
.step-tagline .t-en,
.step-desc .t-en,
.stat-key .t-en,
.stat-val .t-en {
  display: inline;
}

p .t-es,
h1 .t-es,
h2 .t-es,
h3 .t-es,
.label .t-es,
.hero-credit .t-es,
.scroll-hint .t-es,
.step-label .t-es,
.step-tagline .t-es,
.step-desc .t-es,
.stat-key .t-es,
.stat-val .t-es {
  display: none;
}

/* Spanish mode */
html[data-lang="es"] .t-en {
  display: none !important;
}

html[data-lang="es"] .t-es {
  display: inline !important;
}


/* ============================================================
   03. PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity      var(--dur-xslow) var(--ease),
              visibility   var(--dur-xslow) var(--ease);
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.pulse-seed {
  width: 36px;
  height: 36px;
  background: var(--color-orange);
  border-radius: 50%;
  margin: 0 auto var(--space-sm);
  animation: seedPulse 2s infinite ease-in-out;
  filter: blur(4px);
}

.loader-text {
  font-size: 0.58rem;
  letter-spacing: 5px;
  color: var(--color-orange);
  text-transform: uppercase;
}

@keyframes seedPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.6);
    opacity: 1;
    box-shadow: 0 0 40px rgba(242, 140, 24, 0.6);
  }
}


/* ============================================================
   04. BACKGROUND STAGE
   ============================================================ */
.stage {
  position: fixed;
  inset: 0;
  z-index: 1;
}

.bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity var(--dur-xslow) var(--ease);
  will-change: opacity;
}

.bg-layer.active {
  opacity: 0.38;
}

.scrim-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: background var(--dur-xslow) var(--ease);
}

/* ── Per-section scrim gradients ── */
[data-state="hero"]       .scrim-overlay { background: radial-gradient(ellipse at 50% 60%, transparent 20%, rgba(0,0,0,0.85) 100%); }
[data-state="manifesto"]  .scrim-overlay { background: rgba(0,0,0,0.88); }
[data-state="philosophy"] .scrim-overlay { background: linear-gradient(to left, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 60%); }
[data-state="services"]   .scrim-overlay { background: rgba(0,0,0,0.65); }
[data-state="process"]    .scrim-overlay { background: linear-gradient(to top, rgba(0,0,0,0.95) 20%, rgba(0,0,0,0.5) 100%); }
[data-state="work"]       .scrim-overlay { background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.75) 100%); }
[data-state="about"]      .scrim-overlay { background: linear-gradient(to right, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 70%); }
[data-state="contact"]    .scrim-overlay { background: radial-gradient(circle at 50% 60%, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.88) 100%); }


/* ============================================================
   05. HEADER DESKTOP
   ============================================================
   Desktop state: inline nav, always visible, no overlay.
   The hamburger (.menu-toggle) is hidden at this layer.
   Overridden at ≤900px in Section 10.
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding-top:    var(--header-v-pad);
  padding-bottom: var(--header-v-pad);
  padding-left:   max(var(--header-h-pad), env(safe-area-inset-left));
  padding-right:  max(var(--header-h-pad), env(safe-area-inset-right));
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(5,5,5,0.7) 0%, transparent 100%);
}

/* ── Logo ── */
.logo {
  z-index: 101;
  transition: opacity var(--dur-fast) var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

.logo img {
  width: auto;
  max-width: none;
  flex-shrink: 0;
}

/* Desktop / tablet default */
.site-header .logo .logo-horizontal {
  display: block !important;
  height: 60px;
  width: auto;
}

.site-header .logo .logo-isotipo {
  display: none !important;
  height: 68px;
  width: auto;
}

.logo:hover {
  opacity: 0.75;
}

.accent {
  color: var(--color-orange);
}

/* ── Header controls group (language toggle + hamburger) ── */
.header-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 101;
}

/* ── Language toggle button ── */
.lang-toggle {
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-gray);
  font-family: var(--font-main);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 11px;
  cursor: pointer;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  transition: color        var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
}

/* ── Hamburger button — hidden on desktop, revealed at ≤900px ── */
.menu-toggle {
  display: none;          /* desktop: hamburger not shown */
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  padding: 12px;
  margin: -12px;
  position: relative;
  z-index: 101;
}

.line {
  position: absolute;
  width: 30px;
  height: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  transition: transform var(--dur-mid) var(--ease),
              opacity   var(--dur-mid) var(--ease);
}

.line-1 { top: calc(50% - 7px); }
.line-2 { top: calc(50% + 5px); }

/* ── Desktop nav — inline, always visible ── */
.main-nav {
  display: block;         /* explicit desktop state */
  position: static;       /* overridden to fixed at ≤900px */
  background: transparent;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;   /* always interactive on desktop */
}

.nav-container {
  display: flex;
  align-items: center;
}

.nav-link {
  color: var(--color-white);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-left: var(--space-md);
  opacity: 0.38;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  transition: opacity var(--dur-fast) var(--ease),
              color   var(--dur-fast) var(--ease);
}

.nav-link[aria-current="page"],
.nav-link:hover {
  opacity: 1;
  color: var(--color-orange);
}


/* ============================================================
   06. DESKTOP LAYOUT
   ============================================================ */

/* ── Content wall ── */
.content-wall {
  position: relative;
  z-index: 2;
}

/* ── Narrative sections ── */
.narrative-section,
.contact-section {
  min-height: 100svh;
  position: relative;
  padding-top:    var(--section-v-pad);
  padding-bottom: var(--section-v-pad);
  padding-left:   max(var(--section-h-pad), env(safe-area-inset-left));
  padding-right:  max(var(--section-h-pad), env(safe-area-inset-right));
  display: flex;
  align-items: center;
}

.contact-section {
  z-index: 2;
}

/* ── 12-column editorial grid — desktop base ── */
.editorial-grid {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  align-items: start;
}

/* ── Typography ── */
h1.display {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.4vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -1px;
  /* NOTE: margin-left/right intentionally omitted here.
     .hero-title overrides margin to auto for centering.
     Using shorthand 'margin: x 0' would win over .hero-title's
     margin-left/right:auto due to h1.display having higher specificity (0,1,1).
     Top/bottom margin set on .hero-title instead to avoid the conflict. */
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.2px;
}

p {
  line-height: 1.7;
}

.italic {
  font-style: italic;
  font-weight: 300;
}

/* Small uppercase category label */
.label {
  font-size: 0.62rem;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 5px;
  display: block;
  margin-bottom: var(--space-xs);
}

/* Shared section intro paragraph */
.section-intro {
  color: var(--color-gray);
  font-size: 1rem;
  max-width: 52ch;
  margin-top: calc(var(--space-xs) * -1);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

/* ── § 1  Hero ── */
.hero-block {
  grid-column: 1 / -1;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  transform: translateY(-6vh);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--color-gray);
  line-height: 1.7;
  margin-top: var(--space-sm);
}

.hero-title {
  max-width: 11ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
  font-size: clamp(2.2rem, 4.9vw, 4.9rem);
  letter-spacing: -0.5px;
}

.hero-line {
  display: block;
}

.hero-line-1 {
  font-size: 0.68em;
}

.hero-line-2 {
  font-size: 0.68em;
  margin-top: 0.1em;
}

.hero-credit {
  margin-top: 26px;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gray);
  line-height: 1.7;
}

.hero-credit strong {
  color: var(--color-white);
  font-weight: 600;
  letter-spacing: 1px;
}

.hero-role {
  color: var(--color-orange);
  font-size: 0.6rem;
  letter-spacing: 2.4px;
}

.scroll-hint {
  margin-top: var(--space-lg);
  font-size: 0.6rem;
  letter-spacing: 4px;
  color: var(--color-orange);
  opacity: 0.7;
  transition: opacity var(--dur-fast) var(--ease);
}

.scroll-hint.is-hidden {
  opacity: 0;
}
/* ── HERO LANGUAGE HARD OVERRIDE ───────────────────────────── */
html[data-lang="en"] .hero-line .t-en {
  display: inline !important;
}

html[data-lang="en"] .hero-line .t-es {
  display: none !important;
}

html[data-lang="es"] .hero-line .t-en {
  display: none !important;
}

html[data-lang="es"] .hero-line .t-es {
  display: inline !important;
}

.hero-title .t-en,
.hero-title .t-es {
  white-space: inherit;
}

/* ── § 2  Manifesto ── */
.manifesto-section {
  padding-top:    calc(var(--section-v-pad) * 0.85);
  padding-bottom: calc(var(--section-v-pad) * 0.85);
}

.manifesto-block {
  grid-column: 1 / 10;
}

.manifesto-line {
  font-family: var(--font-display);
  /* FIX: Playfair Display minimum weight is 400. font-weight: 200 caused
     the browser to synthesise a faux bold from 700 (the only loaded weight),
     completely defeating the "dim / recede" visual intent. The font URL
     in index.html now loads weights 400 and 700, so 400 renders correctly. */
  font-weight: 400;
  font-size: clamp(1.3rem, 3.5vw, 3.5rem);
  line-height: 1.05;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 0.08em;
  letter-spacing: -0.5px;
  display: block;
}

.manifesto-line.is-accent {
  font-size: clamp(2.2rem, 5.2vw, 5.2rem);
  color: var(--color-white);
  line-height: 0.95;
  margin-bottom: 0.14em;
}

.manifesto-line.is-accent .italic {
  color: var(--color-orange);
}

/* ── § 3  Philosophy ── */
.philosophy-panel {
  grid-column: 9 / 13;
}

/* ── § 4  Services ── */
.services-header {
  grid-column: 1 / -1;
}

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

/* ── § 5  Process ── */
.process-box {
  grid-column: 1 / -1;
  padding: var(--space-lg) var(--space-lg) calc(var(--space-lg) * 1.5);
}

.process-box h2 {
  margin-bottom: var(--space-xs);
}

.steps-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* ── § 6  Work / Portfolio ── */
.work-header {
  grid-column: 1 / -1;
  margin-bottom: var(--space-md);
}

.work-header h2 {
  margin-bottom: var(--space-xs);
}

.portfolio-asymmetric {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

/* Grid span helpers — desktop */
.p-item.featured  { grid-column: span 2; }
.p-item.secondary { grid-column: span 2; }
.p-item.small     { grid-column: span 1; }

/* ── § 7  About / Studio ── */
.about-panel {
  grid-column: 1 / 8;
}

.about-panel h2 {
  margin-bottom: var(--space-md);
}

.about-panel > p {
  color: var(--color-gray);
  font-size: 0.95rem;
  max-width: 48ch;
  line-height: 1.75;
}

.about-panel > p + p {
  margin-top: var(--space-sm);
}

/* ── § 8  Contact ── */
.contact-wrap {
  grid-column: 1 / -1;
  text-align: center;
}

.contact-wrap h2 {
  margin-bottom: 0;
}

.contact-sub {
  color: var(--color-gray);
  font-size: 1rem;
  max-width: 52ch;
  line-height: 1.75;
  margin: var(--space-md) auto 0;
}

.contact-email {
  display: block;
  margin-top: var(--space-md);
  font-size: 0.72rem;
  color: var(--color-gray);
  letter-spacing: 2px;
  transition: color var(--dur-fast) var(--ease);
}

.contact-email:hover {
  color: var(--color-white);
}


/* ── § 8b  Contact Form ── */

/* Form card container */
.form-card {
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 40px 36px 44px;
  position: relative;
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow    var(--dur-fast) var(--ease);
}

.form-card:focus-within {
  border-color: rgba(242, 140, 24, 0.18);
  box-shadow: 0 0 0 1px rgba(242,140,24,0.05) inset,
              0 24px 60px rgba(0, 0, 0, 0.35);
}

/* Two-column row (Name + Email) */
.fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

/* Individual field wrapper */
.field {
  position: relative;
  margin-top: 14px;
}

.fields-row .field {
  margin-top: 0;
}

/* Label */
.field-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 7px;
  transition: color var(--dur-fast) var(--ease);
}

.field:focus-within .field-label {
  color: var(--color-orange);
}

.field.has-error .field-label {
  color: #ff6b6b;
}

/* Input / Select / Textarea base */
.field-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 13px 16px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-white);
  outline: none;
  appearance: none;
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow   var(--dur-fast) var(--ease),
              background   var(--dur-fast) var(--ease);
}

.field-input::placeholder {
  color: rgba(255, 255, 255, 0.18);
}

/* Focus — orange glow */
.field-input:focus {
  border-color: rgba(242, 140, 24, 0.55);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(242, 140, 24, 0.07),
              0 0 16px rgba(242, 140, 24, 0.06);
}

/* Error state */
.field.has-error .field-input {
  border-color: rgba(255, 80, 60, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 80, 60, 0.06);
}

/* Disabled during submission */
.field-input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Textarea */
textarea.field-input {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* Custom select wrapper */
.select-wrapper {
  position: relative;
}

.select-wrapper select {
  cursor: pointer;
  padding-right: 40px;
  /*
   * FIX: force the browser's native dropdown to render in dark mode.
   * Without this, macOS/Windows renders the option list with a white
   * background regardless of the CSS background-color set on the select.
   */
  color-scheme: dark;
}

/*
 * FIX: explicit dark background + light text on every option.
 * Needed for Windows/Linux where color-scheme alone isn't enough.
 */
.field-input option {
  background-color: #141414;
  color: #f0f0f0;
}

.field-input option:checked {
  background-color: #1e1e1e;
  color: #FF6A00;
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-gray);
  display: flex;
  align-items: center;
  transition: color var(--dur-fast) var(--ease);
}

.select-wrapper:focus-within .select-arrow {
  color: var(--color-orange);
}

.select-arrow svg {
  width: 14px;
  height: 14px;
}

/* Inline error message */
.field-error {
  display: block;
  font-size: 0.72rem;
  color: #ff6b6b;
  margin-top: 5px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity     var(--dur-fast) var(--ease),
              transform   var(--dur-fast) var(--ease);
  pointer-events: none;
}

.field.has-error .field-error {
  opacity: 1;
  transform: translateY(0);
}

/* Submit button */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 28px;
  padding: 16px 32px;
  background: var(--color-orange);
  border: none;
  border-radius: 100px;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform      var(--dur-fast) var(--ease),
              box-shadow     var(--dur-fast) var(--ease),
              background     var(--dur-fast) var(--ease);
}

/* Shimmer sweep on hover */
.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.18) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}

.btn-submit:hover:not(:disabled)::before {
  transform: translateX(100%);
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 0 6px rgba(242, 140, 24, 0.14),
              0 12px 32px rgba(242, 140, 24, 0.28);
}

.btn-submit:active:not(:disabled) {
  transform: translateY(0);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Spinner inside button */
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: form-spin 0.7s linear infinite;
  display: none;
  flex-shrink: 0;
}

.btn-submit.is-loading .btn-spinner {
  display: block;
}

@keyframes form-spin {
  to { transform: rotate(360deg); }
}

/* Feedback message */
.form-feedback {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 0.87rem;
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity   0.35s ease,
              transform 0.35s ease;
  pointer-events: none;
}

.form-feedback.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.form-feedback.is-success {
  background: rgba(80, 200, 120, 0.08);
  border: 1px solid rgba(80, 200, 120, 0.22);
  color: #7ee8a2;
}

.form-feedback.is-error {
  background: rgba(255, 80, 60, 0.07);
  border: 1px solid rgba(255, 80, 60, 0.22);
  color: #ff9a8b;
}

/* Responsive — collapse to single column on mobile */
@media (max-width: 520px) {
  .fields-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 24px 18px 28px;
  }
}


/* ============================================================
   07. COMPONENTS
   ============================================================ */

/* ── Glass box (Philosophy card) ── */
.glass-box {
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  padding: var(--space-lg) var(--space-lg) calc(var(--space-lg) * 1.25);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

/* Left orange accent bar */
.glass-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--color-orange);
}

/*
  FIX: original had clamp(0.3rem, ...) — 0.3rem (4.8px) is
  unreadable at any viewport. Minimum raised to 0.9rem.
*/
.glass-box h2 {
  font-size: clamp(0.9rem, 1.7vw, 1.5rem);
  margin-bottom: var(--space-sm);
}

.glass-box p {
  color: var(--color-gray);
  font-size: 0.95rem;
  max-width: 36ch;
  line-height: 1.75;
}

.glass-box p + p {
  margin-top: var(--space-sm);
}

/* ── Service modules ── */
.service-module {
  position: relative;
  overflow: hidden;
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-border);
  padding: var(--space-lg) 36px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform      var(--dur-fast) var(--ease),
              border-color   var(--dur-fast) var(--ease),
              border-top-color var(--dur-fast) var(--ease),
              box-shadow     var(--dur-fast) var(--ease);
}

.service-module::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--color-orange);
  display: block;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0.85;
  transition: transform 0.8s cubic-bezier(.19,1,.22,1),
              opacity   0.4s ease;
  will-change: transform;
}

.service-module:hover::after,
.service-module:focus-within::after {
  transform: scaleX(1);
  opacity: 1;
}

.service-module:hover {
  border-top-color: var(--color-orange);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.service-module h3 {
  font-size: 1.65rem;
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.25px;
}

.service-module p {
  color: var(--color-gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Keep t-es sibling hidden without leaving a gap */
.service-module .t-es {
  margin: 0;
}

.m-id {
  color: var(--color-orange);
  font-size: 0.65rem;
  font-weight: 800;
  display: block;
  margin-bottom: 18px;
  letter-spacing: 2px;
}

/* ── Process steps ── */
.step {
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-top: 2px solid transparent;
  padding: var(--space-md) 28px 32px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-top-color var(--dur-fast) var(--ease);
}

.step:hover {
  border-top-color: rgba(242, 140, 24, 0.5);
}

.step-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: var(--space-xs);
}

.step-marker {
  font-family: var(--font-display);
  color: var(--color-orange);
  font-size: 1.6rem;
  line-height: 1;
  font-style: italic;
}

.step-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.step-tagline {
  display: block;
  font-size: 0.78rem;
  color: rgba(242, 140, 24, 0.8);
  font-style: italic;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.step-desc {
  color: var(--color-gray);
  font-size: 0.88rem;
  line-height: 1.75;
}

/* ── Portfolio items ── */
.p-item {
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease);
}

.p-item:hover,
.p-item:focus-within {
  transform: translateY(-5px);
}

.p-line {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin-bottom: var(--space-sm);
  transition: width      var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}

.p-item:hover .p-line,
.p-item:focus-within .p-line {
  background: var(--color-white);
  width: 55%;
}

.p-meta {
  font-size: 0.58rem;
  color: var(--color-gray);
  letter-spacing: 2px;
  display: block;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
}

.p-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
}

/* ── Case card — featured project (VicoScience) ── */

/*
 * The card sits inside .p-item.featured, which already handles
 * grid-column span and the reveal animation. We neutralise the
 * generic .p-item hover so the card manages its own lift.
 */
.p-item:has(.case-card):hover,
.p-item:has(.case-card):focus-within {
  transform: none;
}

.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform      0.4s cubic-bezier(.19,1,.22,1),
              border-color   0.3s ease,
              box-shadow     0.4s ease;
}

.case-card:hover,
.case-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(242, 140, 24, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  outline: none;
}

/* Image container */
.case-card__image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0b0b0b;
  flex-shrink: 0;
}

.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(.19,1,.22,1);
}

.case-card:hover .case-card__image img,
.case-card:focus-visible .case-card__image img {
  transform: scale(1.04);
}

/* Body */
.case-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.case-card__meta {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #F28C18;
}

.case-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.case-card__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #b8b8b8;
  margin-bottom: 20px;
  max-width: 42ch;
}

.case-card__cta {
  display: inline-block;
  margin-top: auto;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  transition: color 0.3s ease;
}

.case-card:hover .case-card__cta,
.case-card:focus-visible .case-card__cta {
  color: #F28C18;
}

/* ── About stats ── */
.about-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

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

.stat-key {
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gray);
}

.stat-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

/* ── CTA button ── */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  margin-top: var(--space-lg);
  padding: 22px 64px;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  transition: background  var(--dur-fast) var(--ease),
              color       var(--dur-fast) var(--ease),
              transform   var(--dur-fast) var(--ease);
}

.cta-button:hover,
.cta-button:focus-visible {
  background: var(--color-white);
  color: var(--color-black);
  transform: scale(1.04);
}


/* ============================================================
   08. ANIMATIONS
   ============================================================
   Elements with .reveal start invisible and shifted down.
   When their parent section receives .is-visible (added by
   the IntersectionObserver in script.js), they transition in.
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity   var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
}

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

/* Stagger delays */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.28s; }
.delay-4 { transition-delay: 0.38s; }
.delay-5 { transition-delay: 0.48s; }


/* ============================================================
   09. TABLET  (max-width: 1024px)
   ============================================================
   Layout collapses from 12-column to single fluid column.
   Navigation is unchanged at this breakpoint.
   ============================================================ */
@media (max-width: 1024px) {

  /* ── Token overrides ── */
  :root {
    --header-h-pad:  32px;
    --header-v-pad:  28px;
    --section-h-pad: 40px;
    --space-xl:      90px;
  }

  /* ── Grid: collapse to single fluid column ── */
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  /* All editorial panels span full width.
     FIX: .hero-block was missing — kept grid-column: 1/13 on a 1-col grid,
     creating 11 implicit zero-width columns and pushing the hero left. */
  .hero-block,
  .philosophy-panel,
  .services-header,
  .services-row,
  .work-header,
  .portfolio-asymmetric,
  .process-box,
  .about-panel,
  .contact-wrap,
  .manifesto-block {
    grid-column: 1 / -1;
  }

  .philosophy-panel {
    max-width: 640px;
  }

  /* Services: stacks to single column */
  .services-row {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  /* Portfolio: 2-column at tablet */
  .portfolio-asymmetric {
    grid-template-columns: 1fr 1fr;
  }

  .p-item.featured,
  .p-item.secondary { grid-column: span 2; }
  .p-item.small      { grid-column: span 1; }

  /* Process: stacks to single column */
  .steps-row {
    grid-template-columns: 1fr;
  }

  .about-panel {
    max-width: 640px;
  }
}


/* ============================================================
   10. MOBILE NAVIGATION  (max-width: 900px)
   ============================================================
   This block is EXCLUSIVELY for navigation behaviour.
   Layout overrides live in Section 11 (≤600px).
   ============================================================ */
@media (max-width: 900px) {

  /* ── Reveal hamburger button ── */
  .menu-toggle {
    display: block;
  }

  /* ── Nav becomes full-screen overlay ── */
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity    var(--dur-mid) var(--ease),
                visibility var(--dur-mid) var(--ease);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 99;
  }

  /* ── Nav open state (JS adds .nav-active to body) ── */
  body.nav-active .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* ── Hamburger lines → X ── */
  body.nav-active .line-1 { transform: translateX(-50%) translateY(6px)  rotate(45deg);  }
  body.nav-active .line-2 { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

  /* ── Overlay nav layout: centred vertical stack ── */
  .nav-container {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  /* ── Overlay nav links: large display type ── */
  .nav-link {
    font-size: 2.2rem;
    font-family: var(--font-display);
    font-style: italic;
    margin-left: 0;
    opacity: 0.5;
    min-height: auto;
    letter-spacing: 0;
  }

  .nav-link[aria-current="page"],
  .nav-link:hover {
    opacity: 1;
    color: var(--color-orange);
  }
}


/* ============================================================
   11. MOBILE LAYOUT  (max-width: 600px)
   ============================================================
   Calibrated against 360px, 390px, and 430px device widths.
   Content area = viewport − (2 × 20px section-h-pad) = 320–390px.

   Rules are ordered: Tokens → Display type → Body type →
   Support text (labels, meta, captions) → Hero → Components →
   Layout → Spacing

   Token overrides ALWAYS come first — all subsequent px/rem
   values in this block derive from the updated custom properties.
   ============================================================ */
@media (max-width: 600px) {
  .site-header .logo .logo-horizontal {
    display: none !important;
  }

  .site-header .logo .logo-isotipo {
    display: block !important;
    height: 42px;
    width: auto;
    max-width: none;
  }

  /* ══════════════════════════════════════════════════════════
     1. TOKEN OVERRIDES
     ══════════════════════════════════════════════════════════ */
  :root {
    --header-h-pad:  20px;
    --header-v-pad:  20px;
    --section-h-pad: 20px;
    --space-xl:      64px;
    --space-lg:      40px;
  }

  /* ══════════════════════════════════════════════════════════
     2. DISPLAY TYPE
     ══════════════════════════════════════════════════════════ */
  h1.display {
    line-height: 0.95;
    letter-spacing: -0.5px;
  }

  h2 {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
    line-height: 1.1;
    letter-spacing: -0.25px;
  }

  h3 {
    font-size: 1rem;
    line-height: 1.4;
  }

  .manifesto-line {
    font-size: clamp(1.35rem, 5.5vw, 2rem);
    line-height: 1.1;
  }

  .manifesto-line.is-accent {
    font-size: clamp(1.85rem, 7.5vw, 2.8rem);
    line-height: 1.0;
  }

  /* ══════════════════════════════════════════════════════════
     3. BODY TYPE
     ══════════════════════════════════════════════════════════ */
  .hero-sub,
  .section-intro,
  .contact-sub {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .glass-box p,
  .service-module p,
  .step-desc {
    font-size: 0.875rem;
  }

  .glass-box p {
    max-width: unset;
  }

  /* ══════════════════════════════════════════════════════════
     4. SUPPORT TEXT
     ══════════════════════════════════════════════════════════ */
  .label {
    letter-spacing: 3.5px;
  }

  .hero-credit {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    line-height: 1.8;
    margin-top: 20px;
  }

  .hero-role {
    font-size: 0.65rem;
    letter-spacing: 2px;
  }

  .p-meta {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
  }

  .m-id {
    letter-spacing: 1.5px;
  }

  .step-tagline {
    font-size: 0.8rem;
  }

  .stat-key {
    letter-spacing: 2.5px;
  }

  .contact-email {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
  }

  .cta-button {
    font-size: 0.68rem;
    letter-spacing: 2.5px;
    padding: 18px 32px;
    width: 100%;
    max-width: 320px;
  }

  /* ══════════════════════════════════════════════════════════
     5. HERO
     ══════════════════════════════════════════════════════════ */
  .hero-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transform: translateY(-2vh);
  }

  #hero-title {
    text-align: center;
    width: auto;
    max-width: 100%;
    margin-inline: auto;
    line-height: 0.88;
    font-size: clamp(2.35rem, 9.4vw, 3.2rem);
  }

  .hero-line {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  .hero-line-1,
  .hero-line-2 {
    font-size: 0.72em;
  }

  html[data-lang="es"] #hero-title {
    font-size: clamp(2.15rem, 8.8vw, 2.9rem);
    line-height: 0.88;
  }

  html[data-lang="es"] .hero-line-1 {
    white-space: nowrap;
  }

  html[data-lang="es"] .hero-line-2 {
    white-space: normal;
    max-width: 18ch;
    margin-inline: auto;
  }

  .scroll-hint {
    margin-top: var(--space-md);
  }

  /* ══════════════════════════════════════════════════════════
     6. COMPONENTS
     ══════════════════════════════════════════════════════════ */
  .glass-box,
  .service-module {
    padding: 28px 20px;
  }

  .glass-box h2 {
    font-size: clamp(1.3rem, 5.5vw, 1.9rem);
    line-height: 1.2;
  }

  .p-item h3 {
    font-size: 1.1rem;
  }

  .process-box {
    padding: 24px 20px 36px;
  }

  .steps-row {
    gap: var(--space-sm);
  }

  /* ══════════════════════════════════════════════════════════
     7. ABOUT STATS
     ══════════════════════════════════════════════════════════ */
  .about-stats {
    flex-direction: column;
    gap: var(--space-md);
  }

  .stat-val {
    font-size: 1.85rem;
  }

  /* ══════════════════════════════════════════════════════════
     8. PORTFOLIO GRID
     ══════════════════════════════════════════════════════════ */
  .portfolio-asymmetric {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .p-item.featured,
  .p-item.secondary,
  .p-item.small {
    grid-column: span 1;
  }

  /* ══════════════════════════════════════════════════════════
     9. CONTACT FORM — mobile
     ══════════════════════════════════════════════════════════ */
  .fields-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 22px 16px 28px;
  }
}


/* ============================================================
   11b. FORM — tablet / desktop refinements
   ============================================================ */
@media (min-width: 768px) {
  .form-card {
    padding: 36px 32px 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* ============================================================
   12. REDUCED MOTION & ACCESSIBILITY PREFERENCES
   ============================================================ */

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration:        0.01ms !important;
    animation-iteration-count: 1      !important;
    transition-duration:       0.01ms !important;
    scroll-behavior:           auto   !important;
  }

  /* Reveal elements immediately — no entrance animation */
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pulse-seed {
    animation: none;
    opacity: 1;
    filter: none;
  }

  .bg-layer,
  .scrim-overlay {
    transition: none;
  }
}

/* ── High-contrast mode ── */
@media (forced-colors: active) {
  .cta-button {
    border: 2px solid ButtonText;
  }

  .glass-box::before {
    background: Highlight;
  }

  .nav-link[aria-current="page"],
  .nav-link:hover {
    color: Highlight;
  }

  .step,
  .service-module {
    border: 1px solid ButtonText;
  }
}
/* ============================================================
   22. STUDIO FOOTER
   ============================================================ */
.pc-footer {
  position: relative;
  background: #080807;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.pc-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(242, 140, 24, 0.05) 0%,
      rgba(0, 0, 0, 0) 22%
    );
  opacity: 0.9;
}

.pc-footer__headline {
  padding: 80px 60px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.pc-footer__wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.4rem, 7.5vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.10);
  opacity: 0.9;
  white-space: nowrap;
  user-select: none;
}

.pc-footer__wordmark span {
  -webkit-text-stroke: 1px rgba(242, 140, 24, 0.18);
}

.pc-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 0;
  padding: 56px 60px 56px;
}

.pc-footer__col:not(:first-child) {
  border-left: 1px solid rgba(255,255,255,0.06);
  padding-left: 40px;
}

.pc-footer__col:not(:last-child) {
  padding-right: 40px;
}

.pc-brand__logo {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 20px;
}

.pc-brand__logo span {
  color: var(--color-orange);
}

.pc-brand__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--color-gray-lt);
  max-width: 260px;
  margin-bottom: 32px;
}

.pc-brand__divider {
  width: 34px;
  height: 1px;
  background: var(--color-orange);
  margin-bottom: 22px;
  opacity: 0.8;
}

.pc-brand__meta {
  font-size: 0.72rem;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gray);
}

.pc-col-label {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pc-col-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.pc-nav-list,
.pc-services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin: 0;
}

.pc-nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--color-gray-lt);
  text-decoration: none;
  transition: color 0.28s var(--ease);
}

.pc-nav-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 1px;
  background: var(--color-orange);
  transition: width 0.36s var(--ease);
}

.pc-nav-list a:hover {
  color: var(--color-white);
}

.pc-nav-list a:hover::after {
  width: 100%;
}

.pc-nav-list .arrow {
  color: var(--color-orange);
  font-size: 0.72rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.pc-nav-list a:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

.pc-services-list li {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--color-gray);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.pc-services-list li:hover {
  color: var(--color-gray-lt);
  border-bottom-color: rgba(255,255,255,0.08);
}

.pc-contact__email {
  display: block;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--color-gray-lt);
  text-decoration: none;
  transition: color 0.25s var(--ease);
  word-break: break-word;
}

.pc-contact__email:hover {
  color: var(--color-orange);
}

.pc-contact__cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 14px 20px;
  border: 1px solid rgba(242, 140, 24, 0.28);
  color: var(--color-orange);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.66rem;
  font-weight: 700;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.pc-contact__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-orange);
  transform: translateX(-101%);
  transition: transform 0.38s var(--ease);
  z-index: 0;
}

.pc-contact__cta > * {
  position: relative;
  z-index: 1;
}

.pc-contact__cta:hover {
  color: var(--color-black);
  border-color: var(--color-orange);
  transform: translateY(-2px);
}

.pc-contact__cta:hover::before {
  transform: translateX(0);
}

.cta-arrow {
  transition: transform 0.28s var(--ease);
}

.pc-contact__cta:hover .cta-arrow {
  transform: translateX(3px);
}

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

.pc-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--color-gray);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.pc-social a:hover {
  color: var(--color-orange);
}

.ext-icon {
  font-size: 0.7rem;
  opacity: 0.65;
}

.pc-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 60px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pc-footer__copyright,
.pc-footer__status {
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-gray);
}

.pc-footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pc-footer__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 0 0 0 rgba(242, 140, 24, 0.35);
  animation: pcFooterPulse 2.4s infinite;
}

@keyframes pcFooterPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 140, 24, 0.35);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(242, 140, 24, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(242, 140, 24, 0);
  }
}

/* ── Tablet ───────────────────────────────────── */
@media (max-width: 1024px) {
  .pc-footer__headline {
    padding: 64px 40px 0;
  }

  .pc-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 44px 0;
    padding: 48px 40px 48px;
  }

  .pc-footer__col:nth-child(2),
  .pc-footer__col:nth-child(4) {
    border-left: 1px solid rgba(255,255,255,0.06);
    padding-left: 32px;
  }

  .pc-footer__col:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }

  .pc-footer__col:nth-child(1),
  .pc-footer__col:nth-child(2) {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .pc-footer__bottom {
    padding: 18px 40px 22px;
  }
}

/* ── Mobile ───────────────────────────────────── */
@media (max-width: 768px) {
  .pc-footer__headline {
    padding: 46px 20px 0;
  }

  .pc-footer__wordmark {
    white-space: normal;
    font-size: clamp(2.8rem, 14vw, 4.4rem);
    line-height: 0.98;
  }

  .pc-footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 38px 20px 34px;
  }

  .pc-footer__col:not(:first-child) {
    border-left: none;
    padding-left: 0;
  }

  .pc-footer__col:not(:last-child) {
    padding-right: 0;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .pc-footer__bottom {
    padding: 16px 20px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .pc-brand__tagline {
    font-size: 1.2rem;
  }
}