/*
Theme Name: Antonio Sotillo (Hello Elementor Child)
Theme URI: https://antoniosotillo.com
Description: Child theme del sitio Antonio Sotillo — variables, tipografia, animaciones y reglas responsive del diseno original, listas para las plantillas de Elementor.
Author: SotilloStudios
Template: hello-elementor
Version: 1.0.0
Text Domain: antonio-sotillo
*/

/* ============================================================
   1. DISENO ORIGINAL (copia fiel de app/globals.css)
   ============================================================ */

:root {
  --paper: #f1efe8;
  --ink: #121211;
  --red: #ee4b36;
  --line: rgba(18, 18, 17, 0.22);
  --muted: #6f6d67;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
section[id] { scroll-margin-top: 76px; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.025;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, #000 3px 4px);
}
a { color: inherit; text-decoration: none; }
.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  background: var(--red);
  transform-origin: left;
  z-index: 101;
}
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 2.2vw;
  border-bottom: 1px solid rgba(18, 18, 17, 0.13);
  background: rgba(241, 239, 232, 0.94);
  backdrop-filter: blur(12px);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.wordmark img { width: 32px; height: 32px; object-fit: contain; }
.nav { display: flex; gap: clamp(0.75rem, 1.65vw, 2rem); align-items: center; justify-self: end; margin-right: 1.4rem; }
.nav a {
  position: relative;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding-left: 0.85rem;
  border-left: 1px solid var(--line);
}
.language-switcher button {
  min-width: 30px;
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.language-switcher button:hover,
.language-switcher button:focus-visible,
.language-switcher button.active { background: var(--ink); color: var(--paper); }
.menu-button { display: none; }
.hero {
  min-height: 100svh;
  padding: 115px 2.2vw 3.2vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: 2.2vw;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--line);
}
.hero-kicker {
  display: flex;
  gap: 1rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hero-kicker span:not(:last-child)::after { content: "·"; margin-left: 1rem; color: var(--red); }
.hero-title-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 31vw);
  align-items: end;
  margin: auto 0;
  padding: 3vh 0 2vh;
  position: relative;
}
.hero-title {
  margin: 0;
  max-width: 88vw;
  font-size: clamp(3.5rem, 6.45vw, 8.25rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.87;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.hero-title span { display: block; }
.hero-title i {
  font-family: "Iowan Old Style", "Times New Roman", serif;
  font-size: 0.72em;
  font-weight: 400;
  text-transform: none;
}
.hero-title span:nth-child(2) i { color: var(--red); }
.hero-portrait {
  height: min(67vh, 690px);
  min-height: 480px;
  margin: 0 0 -2vh -5vw;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}
.hero-portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 25%;
  right: -2vw;
  bottom: 4%;
  height: 42%;
  background: var(--red);
}
.hero-portrait img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: contrast(1.06);
}
.hero-portrait figcaption {
  position: absolute;
  right: -0.2vw;
  bottom: 0.85rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--paper);
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-portrait figcaption span { font-size: 0.62rem; font-weight: 700; }
.hero-portrait figcaption small { margin-top: 0.25rem; font-size: 0.45rem; }
.hero-portrait .hero-brand-mark {
  width: clamp(94px, 9vw, 146px);
  height: auto;
  max-width: none;
  position: absolute;
  right: 3vw;
  top: 3%;
  z-index: 3;
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1.55fr 1.05fr 0.8fr;
  gap: 3vw;
  align-items: end;
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
}
.hero-intro {
  max-width: 650px;
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.55rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.hero-actions { display: flex; flex-direction: column; }
.button {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--ink);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: padding 220ms ease, background 220ms ease, color 220ms ease;
}
.button:hover { padding-inline: 0.6rem; background: var(--ink); color: var(--paper); }
.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.66rem;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.studio-link {
  position: absolute;
  right: 3vw;
  top: 96px;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 0.7rem;
  row-gap: 0.35rem;
  align-items: center;
}
.studio-link small { grid-column: 1; font-size: 0.52rem; text-transform: uppercase; letter-spacing: 0.12em; }
.studio-link img { grid-column: 1; width: clamp(120px, 11vw, 170px); height: auto; }
.studio-link span { grid-column: 2; grid-row: 1 / 3; color: var(--red); }
.section-dark { background: var(--ink); color: var(--paper); }
.manifesto {
  min-height: 86svh;
  padding: 8vh 2.2vw 4vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.section-label {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-label.light { color: #a8a69f; }
.manifesto h2 {
  margin: 10vh 0;
  max-width: 1480px;
  font-size: clamp(3rem, 7vw, 8.5rem);
  letter-spacing: -0.068em;
  line-height: 0.96;
  font-weight: 500;
}
.manifesto h2 em { color: var(--red); font-family: "Iowan Old Style", Georgia, serif; font-weight: 400; }
.manifesto-foot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #4a4945; }
.manifesto-foot p { margin: 0; padding: 1.2rem 0; font-size: clamp(0.9rem, 1.1vw, 1.2rem); }
.manifesto-foot p:last-child { border-left: 1px solid #4a4945; padding-left: 2vw; }
.section-pad { padding: clamp(5rem, 10vh, 9rem) 2.2vw; }
.section-heading { display: grid; grid-template-columns: 1fr 4fr; column-gap: 3vw; }
.section-heading h2 {
  grid-column: 2;
  margin: -0.15em 0 0;
  font-size: clamp(2.8rem, 6.5vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}
.section-heading h2 i { color: var(--red); font-family: Georgia, serif; font-weight: 400; }
.section-lead {
  grid-column: 2;
  width: min(650px, 100%);
  margin: 2rem 0 0;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 1.7vw, 2rem);
  line-height: 1.35;
}
.cycle { margin-top: clamp(4rem, 9vh, 8rem); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.cycle-core {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 4rem);
  min-height: 170px;
  border-bottom: 1px solid var(--line);
  font-family: Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 3rem);
  font-style: italic;
}
.cycle-core b { color: var(--red); font-family: Arial, sans-serif; font-weight: 400; font-style: normal; }
.cycle-steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.cycle-step { padding: 1.3rem 1.4rem 2.8rem 0; }
.cycle-step:not(:first-child) { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.step-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.3rem; }
.step-top span { color: var(--muted); font-size: 0.62rem; }
.step-top b { font-size: 0.78rem; letter-spacing: 0.12em; }
.step-top i { color: var(--red); font-size: 1.4rem; font-style: normal; }
.cycle-step h3 {
  margin: 4rem 0 1.1rem;
  max-width: 380px;
  font-size: clamp(1.7rem, 2.5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.cycle-step p { margin: 0; max-width: 330px; color: var(--muted); font-size: 0.78rem; line-height: 1.6; }
.evolution-preview { border-top: 1px solid var(--line); }
.evolution-line {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.evolution-item { min-height: 250px; padding: 1rem; display: flex; flex-direction: column; }
.evolution-item:not(:first-child) { border-left: 1px solid var(--line); }
.evolution-item span { font-size: 0.62rem; color: var(--muted); }
.evolution-item strong { margin-top: auto; font-size: clamp(1.2rem, 1.8vw, 2.3rem); letter-spacing: -0.05em; }
.evolution-item p { min-height: 2.6em; margin: 0.8rem 0 0; color: var(--muted); font-size: 0.7rem; line-height: 1.5; }
.evolution-statement { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: end; padding-top: 4rem; }
.evolution-statement h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.6rem, 5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.evolution-statement p { margin: 0; font-family: Georgia, serif; font-style: italic; font-size: clamp(1.2rem, 1.6vw, 1.8rem); }
.expertise { padding-top: 10rem; }
.expertise-intro {
  display: grid;
  grid-template-columns: 1fr 2.15fr 1fr;
  gap: 3vw;
  align-items: end;
  padding-bottom: clamp(5rem, 10vh, 9rem);
}
.expertise-intro h2 {
  margin: 0;
  font-size: clamp(3rem, 5.5vw, 7rem);
  letter-spacing: -0.065em;
  line-height: 0.95;
  font-weight: 500;
}
.expertise-intro > p:last-child {
  margin: 0;
  color: #b6b4ae;
  font-size: 0.9rem;
  line-height: 1.6;
}
.expertise-film {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2fr);
  gap: 3vw;
  padding: 0 0 clamp(5rem, 9vh, 8rem);
  align-items: stretch;
}
.film-context {
  padding: 1.2rem 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #55534e;
  border-bottom: 1px solid #55534e;
}
.film-context > span {
  color: var(--red);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.film-context h3 {
  margin: auto 0;
  max-width: 380px;
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 3.2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.film-context > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #8f8d87;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.film-frame {
  aspect-ratio: 16 / 9;
  min-width: 0;
  position: relative;
  overflow: hidden;
  background: #050505 url("/antonio-sotillo-video-cover.jpg") center / cover no-repeat;
}
.film-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.film-frame > a {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  min-width: 160px;
  padding: 0.8rem 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(18, 18, 17, 0.82);
  color: var(--paper);
  backdrop-filter: blur(8px);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}
.film-frame > a:hover { background: var(--red); color: var(--ink); }
.expertise-list { border-top: 1px solid #55534e; }
.expertise-row {
  min-height: 100px;
  display: grid;
  grid-template-columns: 0.35fr 2.3fr 1.3fr auto;
  gap: 2vw;
  align-items: center;
  border-bottom: 1px solid #55534e;
  position: relative;
  overflow: hidden;
  transition: padding 260ms ease, color 260ms ease;
}
.expertise-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--red);
  transform: translateY(101%);
  transition: transform 280ms cubic-bezier(0.77, 0, 0.18, 1);
}
.expertise-row:hover::before { transform: translateY(0); }
.expertise-row > * { position: relative; z-index: 1; }
.expertise-row > span { color: #8f8d87; font-size: 0.62rem; }
.expertise-row h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.1vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}
.expertise-row p { margin: 0; color: #aaa8a2; font-size: 0.75rem; line-height: 1.5; }
.expertise-row i { font-style: normal; color: var(--red); font-size: 1.2rem; }
.expertise-row:hover p, .expertise-row:hover span, .expertise-row:hover i { color: var(--ink); }
.industries-title { display: grid; grid-template-columns: 1fr 4fr; gap: 3vw; }
.industries-title h2 {
  margin: -0.15em 0 0;
  font-size: clamp(2.8rem, 5.6vw, 6.8rem);
  line-height: 1;
  letter-spacing: -0.065em;
  font-weight: 500;
}
.industries-title h2 em { color: var(--red); font-family: Georgia, serif; font-weight: 400; }
.industry-grid {
  margin-top: 7rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
}
.industry-item {
  min-height: 92px;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.industry-item:nth-child(odd) { border-right: 1px solid var(--line); }
.industry-item:nth-child(even) { padding-left: 2vw; }
.industry-item span { color: var(--red); font-size: 0.6rem; }
.industry-item strong { font-size: clamp(1.1rem, 1.5vw, 1.8rem); font-weight: 500; letter-spacing: -0.03em; }
.work { border-top: 1px solid var(--ink); }
.work-heading { display: grid; grid-template-columns: 1fr 2.5fr 1fr; gap: 3vw; align-items: end; }
.work-heading h2 {
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  font-weight: 500;
}
.work-heading > p:last-child { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.case-study { border-top: 1px solid var(--ink); }
.case-poster {
  --case-bg: #171716;
  --case-fg: #f1efe8;
  --case-accent: #f1efe8;
  min-height: clamp(360px, 48svh, 560px);
  margin: 0 2.2vw;
  padding: 1.4rem;
  background: var(--case-bg);
  color: var(--case-fg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
}
.case-poster::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: min(48vw, 700px);
  aspect-ratio: 1;
  right: -6vw;
  top: 50%;
  transform: translateY(-50%) rotate(12deg);
  border: 1px solid var(--case-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw color-mix(in srgb, var(--case-accent) 8%, transparent), 0 0 0 calc(7vw + 1px) var(--case-accent);
  opacity: 0.28;
}
.case-poster-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.case-poster-top span:first-child { color: var(--case-accent); }
.case-poster h3 {
  margin: auto 0;
  max-width: 82%;
  font-size: clamp(4rem, 10vw, 13rem);
  line-height: 0.78;
  letter-spacing: -0.09em;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.case-shift {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid currentColor;
  padding-top: 1rem;
  font-size: clamp(1rem, 1.6vw, 2rem);
}
.case-shift b { color: var(--case-accent); font-weight: 400; }
.case-shift span:last-child { text-align: right; }
.case-mark {
  position: absolute;
  right: 1.5rem;
  bottom: 2.8rem;
  font-family: Georgia, serif;
  font-size: clamp(8rem, 22vw, 28rem);
  line-height: 0.7;
  font-style: italic;
  color: var(--case-accent);
  opacity: 0.15;
}
.case-image {
  margin: 0 2.2vw;
  background: #070707;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}
.case-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 870;
  object-fit: cover;
}
.case-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 2.2vw;
  border-bottom: 1px solid var(--ink);
}
.case-process > div { min-height: 210px; padding: 1.4rem 3vw 3rem 0; }
.case-process > div:not(:first-child) { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.case-process span { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.13em; }
.case-process p { margin: 4rem 0 0; max-width: 390px; color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
.project-index { display: grid; grid-template-columns: 1fr 2fr; gap: 4vw; }
.project-index > div:first-child > p:last-child { max-width: 340px; margin: 2rem 0 0; color: var(--muted); font-size: 0.84rem; line-height: 1.6; }
.project-names { border-top: 1px solid var(--ink); }
.project-names span {
  min-height: 76px;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.3rem, 2.1vw, 2.7rem);
  letter-spacing: -0.045em;
}
.project-names small { color: var(--red); font-size: 0.55rem; letter-spacing: 0.08em; }
.studio { overflow: hidden; }
.studio-top { display: grid; grid-template-columns: 1fr 2.3fr 1fr; gap: 3vw; align-items: end; }
.studio-top h2 {
  margin: 0;
  font-size: clamp(3.3rem, 6.5vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  font-weight: 500;
}
.studio-lead { margin: 0; color: #aaa8a2; font-size: 0.9rem; line-height: 1.65; }
.studio-principles { border-top: 1px solid #4d4b47; }
.studio-principles p {
  margin: 0;
  padding: 0.25em 2.2vw;
  border-bottom: 1px solid #4d4b47;
  font-size: clamp(2.4rem, 5.4vw, 7rem);
  line-height: 1;
  letter-spacing: -0.06em;
}
.studio-principles em { color: var(--red); font-family: Georgia, serif; font-weight: 400; }
.studio-signature {
  min-height: 340px;
  padding: 3rem 2.2vw;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3vw;
  align-items: end;
}
.studio-logo { align-self: end; width: min(45vw, 620px); }
.studio-logo img { display: block; width: 100%; height: auto; filter: brightness(0) invert(1); }
.studio-monogram {
  width: min(13vw, 180px);
  aspect-ratio: 1;
  border: 1px solid var(--paper);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 5rem);
  font-style: italic;
}
.studio-signature h3 { margin: 0; font-size: clamp(2.2rem, 4vw, 5rem); letter-spacing: -0.06em; }
.studio-signature p { margin: 0.5rem 0 0; color: #aaa8a2; font-size: 0.78rem; }
.studio-signature > div:last-child { text-align: right; }
.studio-signature strong { display: block; margin-top: 1rem; color: var(--red); font-size: 0.72rem; letter-spacing: 0.12em; }
.technology-grid { margin-top: 5rem; display: grid; grid-template-columns: 2fr 1fr; gap: 7vw; }
.technology-grid h2 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  font-weight: 500;
}
.technology-grid h2 em { color: var(--red); font-family: Georgia, serif; font-weight: 400; }
.technology-copy { align-self: end; }
.technology-copy p { margin: 0; padding: 1.4rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.technology-copy p:last-child { border-bottom: 1px solid var(--line); }
.ai-statement {
  margin-top: 8rem;
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: clamp(1.2rem, 2vw, 2.5rem);
  letter-spacing: -0.04em;
}
.ai-statement strong { color: var(--red); font-family: Georgia, serif; font-style: italic; font-weight: 400; }
.ways-heading { display: grid; grid-template-columns: 1fr 3fr; gap: 3vw; }
.ways-heading h2 {
  margin: -0.15em 0 0;
  max-width: 1050px;
  font-size: clamp(3rem, 6vw, 7.5rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  font-weight: 500;
}
.ways-list { margin-top: 7rem; border-top: 1px solid #55534e; }
.ways-list article {
  min-height: 128px;
  display: grid;
  grid-template-columns: 0.35fr 2fr 1.2fr;
  gap: 2vw;
  align-items: center;
  border-bottom: 1px solid #55534e;
}
.ways-list span { color: var(--red); font-size: 0.6rem; }
.ways-list h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 4rem); font-weight: 500; letter-spacing: -0.05em; }
.ways-list p { margin: 0; color: #aaa8a2; font-size: 0.78rem; line-height: 1.6; }
.insights-heading { display: grid; grid-template-columns: 1fr 2.4fr 1fr; gap: 3vw; align-items: end; }
.insights-heading h2 {
  margin: 0;
  font-size: clamp(3rem, 5.5vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  font-weight: 500;
}
.insights-heading > p:last-child { margin: 0; color: var(--muted); font-family: Georgia, serif; font-style: italic; font-size: 1.2rem; }
.insight-list { margin-top: 6rem; border-top: 1px solid var(--ink); }
.insight-list article {
  min-height: 110px;
  display: grid;
  grid-template-columns: 0.3fr 0.7fr 3fr auto;
  gap: 2vw;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: color 200ms ease, padding 200ms ease;
}
.insight-list article:hover { color: var(--red); padding-inline: 0.7rem; }
.insight-list span { color: var(--red); font-size: 0.6rem; }
.insight-list small { color: var(--muted); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; }
.insight-list h3 { margin: 0; font-size: clamp(1.4rem, 2.3vw, 3rem); font-weight: 500; letter-spacing: -0.045em; }
.insight-list i { font-style: normal; }
.contact { min-height: 92svh; padding: 7rem 2.2vw 2.5rem; display: flex; flex-direction: column; }
.contact-top { display: flex; justify-content: space-between; gap: 2rem; }
.contact-top > p:last-child { margin: 0; color: #aaa8a2; font-family: Georgia, serif; font-style: italic; }
.contact h2 {
  margin: auto 0;
  max-width: 1300px;
  font-size: clamp(4rem, 10vw, 13rem);
  line-height: 0.78;
  letter-spacing: -0.09em;
  font-weight: 500;
}
.contact-link {
  min-height: 92px;
  padding: 0 0.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--paper);
  border-bottom: 1px solid var(--paper);
  color: var(--red);
  font-size: clamp(1.4rem, 2.5vw, 3.2rem);
  transition: padding 220ms ease, background 220ms ease, color 220ms ease;
}
.contact-link:hover { padding-inline: 1rem; background: var(--red); color: var(--ink); }
footer {
  min-height: 100px;
  padding: 1.5rem 2.2vw;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.5fr auto;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid #3d3c39;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
footer p { margin: 0; color: #87857f; }
footer > div { display: flex; gap: 1.5rem; }
footer > span { color: #87857f; }

@media (max-width: 900px) {
  section[id] { scroll-margin-top: 64px; }
  .site-header { height: 64px; padding-inline: 18px; grid-template-columns: 1fr auto auto; gap: 0.55rem; }
  .language-switcher { gap: 0; padding-left: 0.45rem; }
  .language-switcher button { min-width: 27px; min-height: 27px; font-size: 0.52rem; }
  .menu-button {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 32px;
    border: 0;
    background: transparent;
    padding: 8px 0;
  }
  .menu-button span { height: 1px; width: 100%; background: var(--ink); transition: transform 200ms ease; }
  .menu-button.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button.active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav {
    position: fixed;
    inset: 64px 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 24px 18px;
    background: var(--red);
    transform: translateX(100%);
    transition: transform 320ms cubic-bezier(0.77, 0, 0.18, 1);
  }
  .nav.open { transform: translateX(0); }
  .nav a {
    width: 100%;
    padding: 0.3em 0;
    border-bottom: 1px solid rgba(18, 18, 17, 0.35);
    font-size: clamp(2.4rem, 12vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    text-transform: none;
  }
  .hero { padding: 92px 18px 24px; min-height: 100svh; }
  .hero::before, .studio-link { display: none; }
  .hero-kicker { flex-wrap: wrap; gap: 0.35rem; font-size: 0.57rem; }
  .hero-kicker span:not(:last-child)::after { margin-left: 0.35rem; }
  .hero-title-wrap { grid-template-columns: 1fr; padding: 6vh 0 2vh; }
  .hero-title { max-width: 100%; font-size: clamp(3rem, 13vw, 5.4rem); line-height: 0.94; }
  .hero-title span { margin-bottom: 0.18em; }
  .hero-title i { display: block; margin-left: 0.5em; }
  .hero-portrait {
    width: calc(100% + 36px);
    height: 50vh;
    min-height: 360px;
    margin: -1.2rem -18px 1.5rem;
    overflow: hidden;
    justify-content: flex-end;
  }
  .hero-portrait::before { left: 42%; right: 0; bottom: 0; height: 44%; }
  .hero-portrait img { max-width: 92%; height: 100%; }
  .hero-portrait figcaption { right: 18px; bottom: 0.8rem; }
  .hero-portrait .hero-brand-mark { width: 74px; height: auto; right: 18px; top: 7%; }
  .hero-bottom { grid-template-columns: 1fr; gap: 1.3rem; padding-top: 0.9rem; }
  .hero-intro { font-size: 1rem; }
  .hero-actions { order: 3; }
  .hero-meta { flex-direction: row; justify-content: space-between; align-items: center; font-size: 0.55rem; }
  .manifesto, .section-pad { padding-left: 18px; padding-right: 18px; }
  .manifesto { min-height: 78svh; }
  .manifesto h2 { margin: 7vh 0; font-size: clamp(2.7rem, 12vw, 5rem); }
  .manifesto-foot { grid-template-columns: 1fr; }
  .manifesto-foot p:last-child { border-left: 0; border-top: 1px solid #4a4945; padding-left: 0; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading h2, .section-lead { grid-column: 1; }
  .section-heading h2 { margin-top: 2.2rem; font-size: clamp(3rem, 15vw, 5.2rem); }
  .cycle-core { min-height: 110px; gap: 0.65rem; font-size: 1.25rem; }
  .cycle-steps { grid-template-columns: 1fr; }
  .cycle-step, .cycle-step:not(:first-child) {
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding: 1.1rem 0 2rem;
  }
  .cycle-step:last-child { border-bottom: 0; }
  .cycle-step h3 { margin-top: 2.4rem; }
  .evolution-line { grid-template-columns: 1fr; }
  .evolution-item { min-height: 132px; }
  .evolution-item:not(:first-child) { border-left: 0; border-top: 1px solid var(--line); }
  .evolution-statement { grid-template-columns: 1fr; }
  .expertise { padding-top: 6rem; }
  .expertise-intro, .industries-title, .work-heading, .studio-top,
  .ways-heading, .insights-heading {
    grid-template-columns: 1fr;
  }
  .expertise-intro h2, .industries-title h2, .work-heading h2,
  .studio-top h2, .ways-heading h2, .insights-heading h2 {
    margin-top: 2rem;
  }
  .expertise-intro > p:last-child, .work-heading > p:last-child,
  .studio-lead, .insights-heading > p:last-child {
    margin-top: 2rem;
  }
  .expertise-film {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 4rem;
  }
  .film-context { min-height: 230px; }
  .film-frame { width: calc(100% + 36px); margin-left: -18px; }
  .film-frame > a { right: 18px; bottom: 18px; }
  .expertise-row {
    min-height: 0;
    grid-template-columns: 40px 1fr auto;
    padding: 1.4rem 0;
  }
  .expertise-row h3 { font-size: 1.55rem; }
  .expertise-row p { grid-column: 2 / 4; margin-top: 0.8rem; }
  .expertise-row i { grid-column: 3; grid-row: 1; }
  .industry-grid { margin-top: 4rem; grid-template-columns: 1fr; }
  .industry-item, .industry-item:nth-child(even) { min-height: 72px; padding: 0.8rem 0; }
  .industry-item:nth-child(odd) { border-right: 0; }
  .work-heading { align-items: start; }
  .case-poster {
    min-height: 46svh;
    margin: 0;
    padding: 1rem 18px;
  }
  .case-poster::after {
    width: 78vw;
    right: -28vw;
    box-shadow: 0 0 0 14vw color-mix(in srgb, var(--case-accent) 8%, transparent), 0 0 0 calc(14vw + 1px) var(--case-accent);
  }
  .case-poster-top { gap: 1rem; font-size: 0.48rem; }
  .case-poster-top span:last-child { text-align: right; }
  .case-poster h3 { max-width: 100%; font-size: clamp(3.7rem, 18vw, 6.5rem); line-height: 0.82; }
  .case-shift { gap: 0.75rem; font-size: 0.82rem; }
  .case-mark { right: 18px; }
  .case-image { margin: 0; }
  .case-process { margin: 0 18px; grid-template-columns: 1fr; }
  .case-process > div, .case-process > div:not(:first-child) {
    min-height: 0;
    padding: 1.2rem 0 1.6rem;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .case-process > div:last-child { border-bottom: 0; }
  .case-process p { margin-top: 1.6rem; }
  .project-index { grid-template-columns: 1fr; }
  .project-names { margin-top: 2rem; }
  .project-names span { min-height: 62px; }
  .studio-principles p { padding: 0.45em 18px; font-size: clamp(2.3rem, 11vw, 4rem); }
  .studio-signature {
    min-height: 0;
    padding: 3rem 18px;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
  }
  .studio-logo { width: 100%; }
  .studio-monogram { width: 110px; }
  .studio-signature > div:last-child { text-align: left; padding-top: 2rem; border-top: 1px solid #4d4b47; }
  .technology-grid { margin-top: 3rem; grid-template-columns: 1fr; gap: 3rem; }
  .technology-grid h2 { font-size: clamp(3.2rem, 14vw, 5rem); }
  .ai-statement { margin-top: 4rem; flex-direction: column; gap: 0.6rem; }
  .ways-list { margin-top: 4rem; }
  .ways-list article {
    min-height: 0;
    grid-template-columns: 40px 1fr;
    padding: 1.4rem 0;
  }
  .ways-list h3 { font-size: 1.8rem; }
  .ways-list p { grid-column: 2; margin-top: 0.8rem; }
  .insight-list { margin-top: 4rem; }
  .insight-list article {
    min-height: 0;
    grid-template-columns: 38px 1fr auto;
    padding: 1.2rem 0;
  }
  .insight-list small { grid-column: 2; }
  .insight-list h3 { grid-column: 2; margin-top: 0.7rem; font-size: 1.45rem; }
  .insight-list i { grid-column: 3; grid-row: 1 / 3; }
  .contact { min-height: 78svh; padding: 5rem 18px 1.5rem; }
  .contact-top { flex-direction: column; }
  .contact h2 { font-size: clamp(4rem, 20vw, 7rem); line-height: 0.82; }
  .contact-link { min-height: 78px; font-size: 1.45rem; }
  footer {
    padding: 2.2rem 18px;
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  footer > div { flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .wordmark span { display: none; }
  .wordmark img { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}


/* ============================================================
   2. COMPATIBILIDAD CON ELEMENTOR
   Neutraliza el envoltorio de los widgets para que manden
   las clases del diseno (.hero, .case-study, .section-pad...).
   ============================================================ */
body.as-page { background: var(--paper); color: var(--ink); }
.as-page .e-con,
.as-page .e-con-inner { max-width: none; padding: 0; --container-max-width: 100%; }
.as-page .e-con > .e-con-inner { width: 100%; }
.as-page .elementor-widget { width: 100%; margin: 0; }
.as-page .elementor-widget-container { margin: 0; }
.as-page .elementor-heading-title,
.as-page .elementor-widget-text-editor,
.as-page .elementor-widget-html { font: inherit; color: inherit; letter-spacing: inherit; line-height: inherit; }
.as-page .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.as-page .elementor-widget-image img { display: block; width: 100%; height: auto; }
.as-page .elementor-button {
  all: revert;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: inherit;
  font: inherit;
  border-radius: 0;
  padding: 0;
  text-decoration: none;
}
.as-page .elementor-widget-video .elementor-wrapper { aspect-ratio: 16 / 9; }
.as-page .as-film iframe { width: 100%; height: 100%; border: 0; }

/* el retrato del hero, montado como widget de imagen */
.as-page .hero-portrait-wrap { position: relative; align-items: flex-end; }
.as-page .as-hero-portrait img { max-width: 500px; margin-left: auto; }
.as-page .as-portrait-caption { display: flex; flex-direction: column; gap: 2px; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }

/* ============================================================
   3. ANIMACIONES Y DINAMISMO
   Se activan con antonio-sotillo.js (IntersectionObserver).
   Respetan prefers-reduced-motion.
   ============================================================ */
.as-page .as-reveal > * { opacity: 0; transform: translateY(22px); }
.as-page .as-reveal.is-in > * {
  opacity: 1;
  transform: none;
  transition: opacity 700ms cubic-bezier(.22,.61,.36,1), transform 700ms cubic-bezier(.22,.61,.36,1);
}
.as-page .as-reveal.is-in > *:nth-child(2) { transition-delay: 90ms; }
.as-page .as-reveal.is-in > *:nth-child(3) { transition-delay: 180ms; }
.as-page .as-reveal.is-in > *:nth-child(4) { transition-delay: 270ms; }

.as-page .hero-title span { display: block; overflow: hidden; }
.as-page .is-in .hero-title span > * { animation: as-rise 900ms cubic-bezier(.22,.61,.36,1) both; }
@keyframes as-rise { from { transform: translateY(105%); } to { transform: translateY(0); } }

.as-page .case-study img { transition: transform 900ms cubic-bezier(.22,.61,.36,1); }
.as-page .case-study:hover img { transform: scale(1.03); }
.as-page .expertise-row,
.as-page .insight-list article,
.as-page .insight-item { transition: background 320ms ease, padding-left 320ms ease; }
.as-page .expertise-row:hover,
.as-page .insight-item:hover { padding-left: 0.9rem; }
.as-page .cycle-core b { animation: as-pulse 2.6s ease-in-out infinite; }
@keyframes as-pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.as-page .progress { will-change: transform; }
.as-page .language-switcher a {
  min-width: 30px; min-height: 30px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.08em; text-decoration: none;
}
.as-page .language-switcher a:hover,
.as-page .language-switcher a.active { background: var(--ink); color: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  .as-page .as-reveal > *,
  .as-page .as-reveal.is-in > * { opacity: 1; transform: none; transition: none; }
  .as-page .is-in .hero-title span > * { animation: none; }
  .as-page .cycle-core b { animation: none; }
}

/* ============================================================
   4. AJUSTES RESPONSIVE PARA CONTAINERS DE ELEMENTOR
   ============================================================ */
@media (max-width: 1024px) {
  .as-page .e-con[class*="flex-row"] { flex-wrap: wrap; }
  .as-page .case-process { flex-direction: column; }
}
@media (max-width: 767px) {
  .as-page .hero-portrait-wrap,
  .as-page .expertise-film,
  .as-page .technology-grid,
  .as-page .cycle-steps,
  .as-page .evolution-line,
  .as-page .project-index,
  .as-page .studio-signature,
  .as-page .hero-actions { flex-direction: column !important; }
  .as-page .as-hero-portrait img { max-width: 100%; margin: 0; }
  .as-page section[id] { scroll-margin-top: 64px; }
}
