
/* =========================================================
   1. VARIABLES Y CONFIGURACIÓN GENERAL
   ========================================================= */

:root {
  --cyan: #00efff;
  --blue: #00a5e2;
  --violet: #4754e6;
  --ice: #bcdaed;
  --ink: #050505;
  --paper: #f5f6f7;
  --line: rgba(0,0,0,.16);
  --radius: 28px;
  --max: 1540px;
  --pad: clamp(20px,4vw,72px);
}


/* =========================================================
   2. RESET Y ESTILOS BASE
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
  overflow-x: hidden;
}

body.locked {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

.container {
  width: min(var(--max),calc(100% - var(--pad)*2));
  margin: auto;
}

.dark-section {
  background: #050505;
  color: white;
}

.light-section {
  background: var(--paper);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  background: white;
  color: black;
  padding: 12px 18px;
  z-index: 999;
}

.skip-link:focus {
  top: 16px;
}


/* =========================================================
   3. HEADER Y NAVEGACIÓN
   ========================================================= */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: .3s;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(5,5,5,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.brand img {
  width: 154px;
  display: block;
}

.desktop-nav {
  display: flex;
  gap: 30px;
  color: #fff;
  font-size: 14px;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: .25s;
}

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

/* =========================================================
   BOTONES PILL / CTA
   ========================================================= */

.pill-button{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-width:260px;
  padding:10px 12px 10px 24px;
  border-radius:999px;
  border:2px solid #111111;
  background:var(--blue);
  color:#050505;
  font-weight:700;
  text-decoration:none;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  box-shadow:none;
}

.pill-button b{
  width:44px;
  height:44px;
  flex-shrink:0;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:18px;
  font-weight:700;
  background:#ffffff;
  color:#050505;
}

/* Variante clara sobre fondos oscuros */
.pill-button--light{
  background:#ffffff;
  color:#050505;
  border-color:#ffffff;
}

.pill-button--light b{
  background:#050505;
  color:#ffffff;
}

/* Variante azul / principal */
.pill-button--accent{
  background:#4282e8;
  color:#7eefff;
  border-color:var(--cyan);
}

.pill-button--accent b{
  background:#050505;
  color:#ffffff;
}

/* Variante oscura */
.pill-button--dark{
  background:#050505;
  color:#ffffff;
  border-color:#050505;
}

.pill-button--dark b{
  background:#ffffff;
  color:#050505;
}

.pill-button:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 28px rgba(0,0,0,.18);
}

.pill-button:active{
  transform:translateY(-1px);
}


/* =========================================================
   4. MENÚ MÓVIL
   ========================================================= */

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: white;
  margin: 8px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #050505;
  color: white;
  z-index: 90;
  display: none;
  place-content: center;
  gap: 24px;
  font-size: 42px;
  text-align: center;
}

.mobile-menu.open {
  display: grid;
}


/* =========================================================
   5. PROGRESO DE SCROLL Y CURSOR
   ========================================================= */

.scroll-progress {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg,var(--cyan),var(--violet));
}

.cursor-dot,.cursor-ring {
  position: fixed;
  z-index: 200;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%,-50%);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.7);
  transition: width .2s,height .2s;
}


/* =========================================================
   6. HERO
   ========================================================= */

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 150px 0 88px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom,black,transparent 88%);
}

.hero-glow {
  position: absolute;
  width: 65vw;
  height: 65vw;
  right: -20vw;
  top: -18vw;
  background: radial-gradient(circle,var(--blue),transparent 68%);
  filter: blur(40px);
  opacity: .55;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) 420px;
  gap: 60px;
  align-items: center;
}

.micro-label,.section-index {
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(62px,9vw,152px);
  line-height: .83;
  letter-spacing: -.07em;
  margin: 35px 0;
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-line>span {
  display: block;
  transform: translateY(110%);
  animation: lineIn .9s cubic-bezier(.2,.8,.2,1) forwards;
}

.hero-line:nth-child(2)>span {
  animation-delay: .12s;
}

.hero-line:nth-child(3)>span {
  animation-delay: .24s;
}

.hero-title .accent {
  color: var(--cyan);
}

@keyframes lineIn {
  to {
    transform: none;
  }
}

.hero-lead {
  font-size: clamp(17px,1.6vw,25px);
  max-width: 680px;
  line-height: 1.45;
  color: #d7d7d7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.text-link {
  font-weight: 700;
}

.text-link span {
  display: inline-block;
  transition: .2s;
}

.text-link:hover span {
  transform: translateX(8px);
}

.hero-orbit {
  position: relative;
  width: 400px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.hero-orbit:before {
  content: "";
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--cyan),var(--violet));
  filter: blur(3px);
}

.hero-orbit img {
  position: relative;
  width: 130px;
  z-index: 2;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.orbit-a {
  inset: 2%;
}

.orbit-b {
  inset: 15%;
  animation-direction: reverse;
  animation-duration: 12s;
}

.orbit-c {
  inset: 31%;
  animation-duration: 8s;
}

.orbit-label {
  position: absolute;
  font-size: 11px;
  letter-spacing: .14em;
  background: white;
  color: #050505;
  padding: 8px 11px;
  border-radius: 999px;
}

.orbit-label-a {
  top: 5%;
  left: 24%;
}

.orbit-label-b {
  right: -2%;
  top: 50%;
}

.orbit-label-c {
  bottom: 10%;
  left: 10%;
}

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

.hero-shape {
  position: absolute;
  border: 1px solid rgba(0,239,255,.5);
}

.hero-shape--one {
  width: 120px;
  height: 120px;
  left: 4%;
  top: 18%;
  transform: rotate(18deg);
}

.hero-shape--two {
  width: 50px;
  height: 220px;
  right: 4%;
  bottom: 8%;
  transform: rotate(35deg);
}

.ticker {
  position: absolute;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 18px 0;
}

.ticker div {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: ticker 22s linear infinite;
}

.ticker span {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .12em;
}

.ticker i {
  color: var(--cyan);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}


/* =========================================================
   7. PRESENTACIÓN / MANIFIESTO
   ========================================================= */

.statement {
  padding: 140px 0 80px;
  overflow: hidden;
}

.statement-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
}

.statement-text {
  font-size: clamp(42px,6vw,100px);
  line-height: .98;
  letter-spacing: -.055em;
  margin: 0;
  max-width: 1200px;
}

.statement-text em,.section-head em,.live-copy em,.page-hero em,.lab-copy em,.contact-copy em,.service-cta em {
  font-style: normal;
  color: var(--blue);
}

.statement-points {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  margin-top: 55px;
}

.statement-points p {
  font-size: 20px;
  line-height: 1.5;
  max-width: 680px;
}

.chip-link {
  display: inline-flex;
  gap: 18px;
  border-bottom: 1px solid;
  padding: 12px 0;
  font-weight: 700;
}

.centered {
  margin: 42px auto 0;
  width: max-content;
}

.kinetic-word {
  font-size: 12vw;
  white-space: nowrap;
  font-weight: 900;
  letter-spacing: -.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,0,0,.18);
  transform: translateX(-5vw);
  margin-top: 90px;
}


/* =========================================================
   8. ESPACIADO GENERAL DE SECCIONES
   ========================================================= */

.work,.services,.process,.contact,.archive,.capabilities,.studio-story,.playground {
  padding: 130px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 55px;
}

.section-head h2,.live-copy h2,.lab-copy h2,.contact-copy h2,.service-cta h2 {
  font-size: clamp(48px,6vw,96px);
  line-height: .95;
  letter-spacing: -.055em;
  margin: 18px 0 0;
}

.side-copy {
  max-width: 420px;
  font-size: 18px;
  line-height: 1.5;
}


/* =========================================================
   9. PORTFOLIO Y PROYECTOS
   ========================================================= */

.project-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.project-filters button,.device-switcher button,.project-picker button {
  background: transparent;
  border: 1px solid rgba(0,0,0,.23);
  border-radius: 999px;
  padding: 11px 18px;
}

.project-filters button.active {
  background: #050505;
  color: white;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
}

.project-card {
  border-radius: 24px;
  overflow: hidden;
  background: #e9eaec;
  min-height: 470px;
  position: relative;
  transition: .35s;
}

.project-card:nth-child(3n/**/+1) {
  grid-row: span 2;
  min-height: 700px;
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-visual {
  height: 75%;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: linear-gradient(145deg,#d7d7d7,#f5f5f5);
}

.project-card:nth-child(2) .project-visual {
  background: linear-gradient(145deg,#04182c,#0f7ddc);
}

.project-card:nth-child(3) .project-visual {
  background: linear-gradient(145deg,#f7eadb,#d3b99e);
}

.project-card:nth-child(4) .project-visual {
  background: linear-gradient(145deg,#dcf1e0,#fff8be);
}

.project-browser {
  height: 100%;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
  overflow: hidden;
  transform: perspective(1000px) rotateX(1deg);
  transition: .5s;
}

.project-card:hover .project-browser {
  transform: scale(1.025);
}

.mini-bar {
  height: 34px;
  background: #141414;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}

.mini-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6f6f6f;
}

.mock-page {
  height: calc(100% - 34px);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mock-page strong {
  font-size: clamp(34px,4vw,72px);
  line-height: .9;
}

.mock-page small {
  letter-spacing: .16em;
  margin-bottom: 12px;
}

.mock-page--sandro {
  background: #091b24;
  color: white;
}

.mock-page--sandro b {
  color: #f2b95f;
}

.mock-page--jarama {
  background: linear-gradient(120deg,#f7f2eb,#cdb59c);
  font-family: Georgia,serif;
}

.mock-page--celeste {
  background: linear-gradient(#46b7ee,#00479c);
  color: white;
  text-align: center;
}

.mock-page--syb {
  background: linear-gradient(120deg,#fbf5bc,#d9f0dd);
  color: #173c2a;
}

.project-info {
  padding: 24px 26px 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.project-info h3 {
  font-size: 30px;
  margin: 0 0 8px;
}

.project-info p {
  margin: 0;
  color: #555;
}

.project-open {
  border: 0;
  background: #050505;
  color: white;
  border-radius: 999px;
  padding: 0 18px;
  white-space: nowrap;
}


/* =========================================================
   10. PREVISUALIZADOR INTERACTIVO
   ========================================================= */

.live-preview {
  padding: 120px 0;
}

.live-layout {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 70px;
  align-items: center;
}

.live-copy p:not(.section-index) {
  color: #bdbdbd;
  font-size: 18px;
  line-height: 1.55;
}

.project-picker {
  display: grid;
  gap: 8px;
  margin: 30px 0;
}

.project-picker button {
  color: white;
  border-color: #3c3c3c;
  text-align: left;
}

.project-picker button.active {
  background: var(--cyan);
  color: #050505;
  border-color: var(--cyan);
}

.device-switcher {
  display: flex;
  gap: 8px;
}

.device-switcher button {
  color: white;
  border-color: #555;
}

.device-switcher button.active {
  background: white;
  color: #050505;
}

.live-frame {
  width: 100%;
  height: 610px;
  background: #171717;
  border: 1px solid #3d3d3d;
  border-radius: 26px;
  overflow: hidden;
  transition: .45s;
  margin: auto;
}

.live-frame.tablet {
  max-width: 720px;
}

.live-frame.mobile {
  max-width: 390px;
}

.browser-top {
  height: 48px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  padding: 0 16px;
  font-size: 11px;
  color: #a7a7a7;
}

.browser-top>a {
  text-align: right;
  color: white;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #646464;
}

.live-screen {
  height: calc(100% - 48px);
  background: #fff;
  position: relative;
}

.live-screen iframe {
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: .4s;
}

.live-screen iframe.loaded {
  opacity: 1;
}

.loading-state,.preview-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  background: #101010;
  color: white;
  z-index: 2;
}

.loading-state span {
  width: 40px;
  height: 40px;
  border: 3px solid #333;
  border-top-color: var(--cyan);
  border-radius: 50%;
  margin: auto;
  animation: spin 1s linear infinite;
}

.preview-fallback {
  display: none;
}

.preview-fallback img {
  width: 180px;
  margin: auto;
}


/* =========================================================
   11. SERVICIOS
   ========================================================= */

.service-deck {
  border-top: 1px solid var(--line);
}

.service-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.service-card>span {
  font-size: 13px;
}

.service-card h3 {
  font-size: clamp(30px,4vw,58px);
  margin: 0;
}

.service-card button {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #050505;
  color: white;
  border: 0;
  font-size: 24px;
  transition: .3s;
}

.service-card.open button {
  transform: rotate(45deg);
  background: var(--blue);
}

.service-details {
  grid-column: 2/-1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s,padding .5s;
}

.service-card.open .service-details {
  max-height: 340px;
  padding: 18px 0 10px;
}

.service-details p {
  font-size: 18px;
  line-height: 1.5;
}

.service-details ul {
  columns: 2;
  margin: 0;
  padding-left: 18px;
}


/* =========================================================
   12. IDEA LAB
   ========================================================= */

.idea-lab {
  padding: 120px 0;
}

.lab-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.idea-builder {
  display: grid;
  gap: 18px;
}

.idea-builder label {
  display: grid;
  gap: 8px;
  color: #bcbcbc;
}

.idea-builder select {
  background: #151515;
  color: white;
  border: 1px solid #424242;
  padding: 18px;
  border-radius: 16px;
}

.idea-result {
  grid-column: 1/-1;
  background: linear-gradient(135deg,var(--cyan),var(--blue),var(--violet));
  padding: clamp(30px,6vw,80px);
  border-radius: 30px;
  color: #050505;
}

.idea-result h3 {
  font-size: clamp(40px,6vw,90px);
  line-height: .95;
  letter-spacing: -.05em;
  margin: 30px 0;
}

.idea-result p {
  font-size: 20px;
  max-width: 760px;
}

.idea-result div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.idea-result b {
  border: 1px solid;
  padding: 8px 12px;
  border-radius: 999px;
}


/* =========================================================
   13. PROCESO DE TRABAJO
   ========================================================= */

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 20px;
}

.process-track:before {
  content: "";
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  height: 1px;
  background: #bbb;
}

.process-progress {
  position: absolute;
  top: 26px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--blue);
}

.process-track article {
  position: relative;
  padding-top: 60px;
}

.process-track article span {
  position: absolute;
  top: 14px;
  width: 24px;
  height: 24px;
  background: var(--paper);
  border: 2px solid #050505;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0;
}

.process-track h3 {
  font-size: 26px;
}

.process-track p {
  line-height: 1.5;
  color: #555;
}


/* =========================================================
   14. POR QUÉ ATRY
   ========================================================= */

.why {
  padding: 110px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 50px;
}

.why-lines p {
  font-size: clamp(34px,5vw,72px);
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid #333;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: .25s;
}

.why-lines p:hover {
  color: var(--cyan);
  padding-left: 20px;
}

.why-lines span {
  font-size: 12px;
  color: #888;
}


/* =========================================================
   15. CONTACTO Y FORMULARIO
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
}

.contact-copy>p {
  font-size: 18px;
  line-height: 1.5;
  max-width: 560px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,.contact-form select,.contact-form textarea {
  border: 0;
  border-bottom: 1px solid #999;
  background: transparent;
  padding: 14px 0;
  outline: none;
}

.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus {
  border-color: var(--blue);
}

.contact-form .wide,.form-bottom {
  grid-column: 1/-1;
}

.form-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
}


/* =========================================================
   16. FOOTER
   ========================================================= */

.site-footer {
  padding: 80px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-bottom: 60px;
  border-bottom: 1px solid #333;
}

.footer-top img {
  width: 220px;
}

.footer-top p {
  font-size: 32px;
  max-width: 650px;
  text-align: right;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 25px;
  font-size: 13px;
}

.footer-bottom nav {
  display: flex;
  gap: 20px;
}


/* =========================================================
   17. MODAL DE PROYECTOS
   ========================================================= */

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
}

.project-modal.open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(760px,100%);
  background: white;
  padding: 80px 50px;
  overflow: auto;
}

.modal-close {
  position: absolute;
  right: 24px;
  top: 24px;
  border: 0;
  background: #050505;
  color: white;
  border-radius: 999px;
  padding: 12px 18px;
}

.modal-project-visual {
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.modal-panel h2 {
  font-size: 60px;
  line-height: .95;
  margin: 20px 0;
}

.modal-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-tags span {
  border: 1px solid #aaa;
  border-radius: 999px;
  padding: 8px 12px;
}


/* =========================================================
   18. PÁGINAS INTERNAS
   ========================================================= */

.page-hero {
  padding: 180px 0 110px;
}

.page-hero h1 {
  font-size: clamp(60px,9vw,150px);
  line-height: .88;
  letter-spacing: -.06em;
  margin: 25px 0;
}

.page-hero>div>p:last-child {
  font-size: 22px;
  max-width: 780px;
  color: #c8c8c8;
}

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

.capability-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 30px;
  padding: 50px 0;
  border-bottom: 1px solid #bbb;
}

.capability-row h2 {
  font-size: 50px;
  margin: 0;
}

.capability-row p {
  font-size: 18px;
  line-height: 1.5;
}

.capability-row ul {
  padding-left: 18px;
  line-height: 1.8;
}

.service-cta {
  padding: 110px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 50px;
}

.story-grid h2 {
  font-size: clamp(45px,6vw,90px);
  line-height: .98;
  margin: 0;
}

.story-grid p {
  font-size: 20px;
  line-height: 1.6;
  max-width: 850px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin-top: 80px;
}

.principles article {
  padding: 30px;
  border: 1px solid #bbb;
  border-radius: 20px;
}

.principles h3 {
  font-size: 30px;
}


/* =========================================================
   19. PLAYGROUND
   ========================================================= */

.playground-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 50px;
}

.control-panel {
  display: grid;
  gap: 28px;
  align-content: start;
}

.control-panel label {
  display: grid;
  gap: 10px;
  font-weight: 700;
}

.control-panel input {
  width: 100%;
  accent-color: var(--blue);
}

.brand-canvas {
  min-height: 620px;
  border-radius: 30px;
  background: linear-gradient(135deg,#050505,var(--blue));
  color: white;
  display: grid;
  place-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.brand-canvas:before,.brand-canvas:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
}

.brand-canvas:before {
  width: 400px;
  height: 400px;
  left: -120px;
  top: -80px;
}

.brand-canvas:after {
  width: 260px;
  height: 260px;
  right: -40px;
  bottom: -70px;
}

.canvas-symbol img {
  width: 120px;
}

.brand-canvas p {
  font-size: clamp(55px,8vw,120px);
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.06em;
  margin: 30px 0;
}

.brand-canvas strong {
  color: var(--cyan);
}

.brand-canvas>span {
  letter-spacing: .18em;
}


/* =========================================================
   20. ANIMACIONES Y ACCESIBILIDAD
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: .8s;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}


/* =========================================================
   21. RESPONSIVE: TABLETS Y PANTALLAS MEDIAS
   ========================================================= */

@media (max-width:1100px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    display: none;
  }

  .live-layout,.contact-grid,.lab-layout {
    grid-template-columns: 1fr;
  }

  .live-copy {
    max-width: 760px;
  }

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

  .statement-grid,.why-grid,.story-grid {
    grid-template-columns: 1fr;
  }

  .process-track {
    grid-template-columns: 1fr;
  }

  .process-track:before,.process-progress {
    display: none;
  }

  .process-track article {
    padding: 20px;
    border-top: 1px solid #aaa;
  }

  .process-track article span {
    position: static;
    font-size: 12px;
    border: 0;
    background: none;
    display: block;
  }

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

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

  .control-panel {
    grid-template-columns: repeat(3,1fr);
  }

  .control-panel button {
    grid-column: 1/-1;
    width: max-content;
  }

  .capability-row {
    grid-template-columns: 70px 1fr;
  }
}


/* =========================================================
   22. RESPONSIVE: CELULARES
   ========================================================= */

@media (max-width:780px) {
  .site-header {
    height: 74px;
  }

  .desktop-nav,.site-header>.pill-button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .brand img {
    width: 125px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-title {
    font-size: clamp(52px,17vw,90px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .statement,.work,.services,.process,.contact,.archive,.capabilities,.studio-story,.playground {
    padding: 85px 0;
  }

  .statement-points,.section-head,.footer-top,.footer-bottom,.form-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .kinetic-word {
    font-size: 24vw;
  }

  .project-grid,.archive-grid {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(3n/**/+1) {
    grid-row: auto;
    min-height: 520px;
  }

  .project-info {
    flex-direction: column;
  }

  .project-open {
    width: max-content;
    padding: 12px 18px;
  }

  .live-frame {
    height: 520px;
  }

  .service-card {
    grid-template-columns: 45px 1fr auto;
  }

  .service-details {
    grid-column: 1/-1;
    grid-template-columns: 1fr;
  }

  .service-details ul {
    columns: 1;
  }

  .idea-result {
    grid-column: auto;
  }

  .why-lines p {
    font-size: 34px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form label,.contact-form .wide,.form-bottom {
    grid-column: auto;
  }

  .footer-top p {
    text-align: left;
    font-size: 24px;
  }

  .footer-bottom nav {
    flex-wrap: wrap;
  }

  .page-hero {
    padding-top: 140px;
  }

  .modal-panel {
    padding: 76px 22px;
  }

  .modal-panel h2 {
    font-size: 44px;
  }

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

  .control-panel {
    grid-template-columns: 1fr;
  }

  .capability-row {
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: 300px;
  }

  .cursor-dot,.cursor-ring {
    display: none;
  }
}


/* =========================================================
   23. REDUCCIÓN DE MOVIMIENTO
   ========================================================= */

@media (prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-line>span {
    transform: none;
  }
}

/* =========================================================
   24. AJUSTES AISLADOS — MENÚ MÓVIL ATRY
   Solo modifica el menú hamburguesa. No altera otros botones.
   ========================================================= */

.menu-toggle {
  width: 46px;
  height: 46px;
  position: relative;
  z-index: 110;
  border-radius: 50%;
  padding: 0;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 24px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              top 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 0.25s;
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 27px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: grid;
  place-content: center;
  gap: 22px;
  font-size: clamp(38px, 11vw, 64px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 42%, var(--violet) 100%);
  background-size: 180% 180%;
  animation: mobileGradient 8s ease infinite;
  clip-path: circle(0 at calc(100% - 42px) 42px);
  visibility: hidden;
  pointer-events: none;
  transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.18, 1),
              visibility 0s linear 0.8s;
}

.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.24), transparent 28%),
              linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.32));
  pointer-events: none;
}

/* Elimina de forma explícita el 555 decorativo. */
.mobile-menu::after {
  content: none !important;
  display: none !important;
}

.mobile-menu a {
  position: relative;
  z-index: 2;
  width: max-content;
  max-width: 90vw;
  margin: auto;
  opacity: 0;
  transform: translateY(34px) rotate(2deg);
  transition: opacity 0.35s ease,
              transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.mobile-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 3px;
  background: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.mobile-menu a:hover::after,
.mobile-menu a:focus-visible::after {
  transform: scaleX(1);
}

.mobile-menu.open {
  display: grid;
  clip-path: circle(145vmax at calc(100% - 42px) 42px);
  visibility: visible;
  pointer-events: auto;
  transition: clip-path 0.9s cubic-bezier(0.77, 0, 0.18, 1),
              visibility 0s;
}

.mobile-menu.open a {
  opacity: 1;
  transform: none;
}

.mobile-menu.open a:nth-child(1) { transition-delay: 0.18s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.32s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.39s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.46s; }

@keyframes mobileGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* =========================================================
   25. AJUSTE AISLADO — TARJETAS DE PROYECTOS EN CELULAR
   Evita que el texto inferior quede recortado.
   ========================================================= */

@media (max-width: 780px) {
  .project-card,
  .project-card:nth-child(3n + 1) {
    grid-row: auto;
    min-height: 0;
    height: auto;
    overflow: hidden;
  }

  .project-visual {
    height: 340px;
    min-height: 340px;
    padding: 26px;
  }

  .project-info {
    min-height: 0;
    padding: 22px 24px 26px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .project-info > div {
    width: 100%;
  }

  .project-info h3 {
    font-size: 28px;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .project-info p {
    line-height: 1.45;
  }
}

/* =========================================================
   PARCHE HERO — TIPOGRAFÍA V1 + ESTRUCTURA V2
   Requiere el nuevo HTML con:
   .hero-title--v1
   .hero-line--split
   .hero-outline
   ========================================================= */

/* Permite que el título use más espacio sin romper la órbita */
.hero-copy{
  position:relative;
  z-index:2;
  min-width:0;
}

/* Título principal */
.hero-title.hero-title--v1{
  width:min(1220px,calc(100vw - var(--pad) * 2));
  max-width:none;
  margin:34px 0 28px;

  font-size:clamp(68px,7.4vw,148px);
  font-weight:900;
  line-height:.82;
  letter-spacing:-.075em;
  text-transform:uppercase;
}

/* Cada línea conserva la animación original */
.hero-title--v1 .hero-line{
  display:block;
  overflow:hidden;
}

.hero-title--v1 .hero-line > span{
  display:block;
  transform:translateY(110%);
  animation:lineIn .9s cubic-bezier(.2,.8,.2,1) forwards;
}

/* Entrada escalonada */
.hero-title--v1 .hero-line:nth-child(1) > span{
  animation-delay:0s;
}

.hero-title--v1 .hero-line:nth-child(2) > span{
  animation-delay:.10s;
}

.hero-title--v1 .hero-line:nth-child(3) > span{
  animation-delay:.20s;
}

.hero-title--v1 .hero-line:nth-child(4) > span{
  animation-delay:.30s;
}

/* Línea MEETS DIGITAL */
.hero-title--v1 .hero-line--split{
  display:flex;
  align-items:baseline;
  flex-wrap:nowrap;
  gap:.14em;
  overflow:hidden;
}

.hero-title--v1 .hero-line--split > span{
  flex:0 0 auto;
}

.hero-title--v1 .hero-line--split > span:first-child{
  animation-delay:.20s;
}

.hero-title--v1 .hero-line--split > span:last-child{
  animation-delay:.27s;
}

/* DIGITAL en contorno cian */
.hero-title--v1 .hero-outline{
  color:transparent;
  -webkit-text-fill-color:transparent;
  -webkit-text-stroke:2px var(--cyan);
  paint-order:stroke fill;
}

/* Fallback para navegadores sin soporte de text-stroke */
@supports not (-webkit-text-stroke:1px #ffffff){
  .hero-title--v1 .hero-outline{
    color:var(--cyan);
    -webkit-text-fill-color:var(--cyan);
  }
}

/* La órbita permanece detrás del título cuando se acercan */
.hero-orbit{
  position:relative;
  z-index:1;
}

/* =========================================================
   TABLETS
   ========================================================= */

@media(max-width:1100px){
  .hero-title.hero-title--v1{
    width:100%;
    font-size:clamp(64px,11.4vw,120px);
    line-height:.84;
  }

  .hero-title--v1 .hero-line--split{
    flex-wrap:wrap;
    gap:0 .14em;
  }
}

/* =========================================================
   CELULARES
   ========================================================= */

@media(max-width:780px){
  .hero-title.hero-title--v1{
    width:100%;
    margin:28px 0 24px;

    font-size:clamp(48px,15.2vw,78px);
    line-height:.87;
    letter-spacing:-.065em;
  }

  /* En celular MEETS y DIGITAL ocupan líneas separadas */
  .hero-title--v1 .hero-line--split{
    display:block;
    overflow:hidden;
  }

  .hero-title--v1 .hero-line--split > span{
    display:block;
  }

  .hero-title--v1 .hero-outline{
    -webkit-text-stroke:1.4px var(--cyan);
  }
}

/* =========================================================
   CELULARES MUY ANGOSTOS
   ========================================================= */

@media(max-width:390px){
  .hero-title.hero-title--v1{
    font-size:clamp(44px,14.6vw,62px);
    letter-spacing:-.055em;
  }
}

/* =========================================================
   MOVIMIENTO REDUCIDO
   ========================================================= */

@media(prefers-reduced-motion:reduce){
  .hero-title--v1 .hero-line > span{
    transform:none;
    animation:none;
  }
}

/* =========================================================
   26. SISTEMA GLOBAL DE ICONOS — PHOSPHOR
   Iconografía funcional compartida por todas las páginas.
   ========================================================= */

.ph,
.ph-bold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 1;
  vertical-align: middle;
}

/* Iconos dentro del círculo final de los botones principales */
.pill-button b .ph,
.pill-button b .ph-bold {
  font-size: 20px;
}

/* Flechas de enlaces de texto y enlaces subrayados */
.text-link,
.chip-link,
.browser-top > a,
.footer-bottom > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.text-link span,
.chip-link span,
.footer-bottom > a span {
  display: inline-flex;
  align-items: center;
}

/* Mantiene la animación original de la flecha del hero */
.text-link:hover span {
  transform: translateX(8px);
}

/* Selector de dispositivos */
.device-switcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.device-switcher button .ph {
  font-size: 17px;
}

/* Selector dinámico de proyectos del preview */
.project-picker button {
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-picker button .ph {
  font-size: 17px;
}

/* Botón Ver caso de las tarjetas */
.project-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.project-open .ph {
  font-size: 17px;
  transition: transform .22s ease;
}

.project-open:hover .ph {
  transform: translate(2px, -2px);
}

/* Abrir sitio del navegador simulado */
.browser-top > a {
  justify-self: end;
}

.browser-top > a .ph {
  font-size: 15px;
}

/* Acordeón de servicios */
.service-card button {
  display: grid;
  place-items: center;
}

.service-card button .ph-bold {
  font-size: 24px;
}

/*
  La rotación ya se aplicaba al botón completo al abrir el acordeón.
  El icono Phosphor mantiene exactamente ese comportamiento.
*/

/* Botón de cierre del modal */
.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.modal-close .ph {
  font-size: 18px;
}

/* Iconos decorativos dentro del Playground */
.pg-app .ph,
.pg-app .ph-bold {
  vertical-align: middle;
}

/* Pequeña mejora táctil y visual */
.pill-button b,
.project-open,
.service-card button,
.modal-close,
.device-switcher button {
  -webkit-tap-highlight-color: transparent;
}

/* Ajustes responsive de iconos */
@media (max-width: 780px) {
  .device-switcher {
    flex-wrap: wrap;
  }

  .device-switcher button {
    min-height: 42px;
  }

  .project-open {
    min-height: 44px;
  }

  .browser-top > a span {
    display: none;
  }

  .browser-top > a .ph {
    font-size: 18px;
  }
}


/* =========================================================
   27. V5 — CONVERSIÓN, CONFIANZA Y CONTACTO HUMANO
   ========================================================= */

/* Intro breve de primera visita por sesión */
.site-intro {
  position: fixed;
  height: 100vh;
  height: 100dvh;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  background: #050505;
  color: #fff;
  transition: opacity .45s ease, visibility .45s;
}

.site-intro.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.site-intro__mark {
  position: relative;
  width: 180px;
  height: 90px;
  display: grid;
  place-items: center;
}

.site-intro__mark span {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -36px;
  margin-top: -36px;
  width: 72px;
  height: 72px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  animation: intro-meet .7s cubic-bezier(.2,.8,.2,1) forwards;
}

.site-intro__mark span:first-child {
  transform: translateX(-55px);
}

.site-intro__mark span:nth-child(2) {
  transform: translateX(55px);
  border-color: var(--violet);
}

.site-intro__mark strong {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: max-content;
  line-height: 1;
  padding-left: .18em;
  z-index: 2;
  opacity: 0;
  letter-spacing: .18em;
  animation: intro-word .4s .38s forwards;
}

@keyframes intro-meet {
  to { transform: translateX(0) scale(.85); }
}

@keyframes intro-word {
  to { opacity: 1; }
}

/* Café teaser */
.coffee-teaser {
  padding: 130px 0;
  overflow: hidden;
}

.coffee-teaser__grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 430px;
  gap: 70px;
  align-items: center;
}

.coffee-teaser h2 {
  margin: 18px 0;
  font-size: clamp(54px,7vw,108px);
  line-height: .9;
  letter-spacing: -.06em;
}

.coffee-teaser h2 em {
  color: var(--cyan);
  font-style: normal;
}

.coffee-teaser__copy > p:not(.section-index) {
  max-width: 720px;
  color: #c8c8c8;
  font-size: 19px;
  line-height: 1.55;
}

.coffee-teaser__actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.coffee-teaser__time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aaa;
  font-size: 13px;
}

.coffee-teaser__visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.coffee-cup {
  position: relative;
  z-index: 2;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--cyan),var(--blue),var(--violet));
  color: #050505;
  font-size: 78px;
}

.coffee-orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.coffee-orbit--one { width: 380px; height: 380px; }
.coffee-orbit--two { width: 290px; height: 290px; animation-direction:reverse; }

.coffee-teaser__visual > p {
  position: absolute;
  right: 0;
  bottom: 15px;
  color: #aaa;
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: .12em;
}

.coffee-teaser__visual > p strong {
  color: var(--cyan);
}

/* FAQ */
.faq {
  padding: 130px 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 420px minmax(0,1fr);
  gap: 80px;
}

.faq-copy h2 {
  margin: 18px 0;
  font-size: clamp(48px,6vw,88px);
  line-height: .94;
  letter-spacing: -.055em;
}

.faq-copy h2 em {
  color: var(--blue);
  font-style: normal;
}

.faq-copy > p:last-child {
  color: #555;
  font-size: 18px;
  line-height: 1.55;
}

.faq-list {
  border-top: 1px solid #bbb;
}

.faq-list article {
  border-bottom: 1px solid #bbb;
}

.faq-list button {
  width: 100%;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border: 0;
  background: transparent;
  color: #050505;
  text-align: left;
  font-size: clamp(20px,2.3vw,31px);
  font-weight: 800;
}

.faq-list button i {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #050505;
  color: #fff;
  transition: transform .3s, background .3s;
}

.faq-list article.open button i {
  transform: rotate(45deg);
  background: var(--blue);
}

.faq-list article > div {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease, padding .45s ease;
}

.faq-list article.open > div {
  max-height: 260px;
  padding: 0 70px 24px 0;
}

.faq-list article > div p {
  margin: 0;
  color: #555;
  font-size: 17px;
  line-height: 1.55;
}

/* Contacto conversacional */
.contact-human-note {
  margin-top: 28px;
  max-width: 560px;
  padding: 18px;
  display: flex;
  gap: 13px;
  border: 1px solid #bbb;
  border-radius: 16px;
  background: rgba(255,255,255,.5);
}

.contact-human-note > i {
  color: var(--blue);
  font-size: 25px;
}

.contact-human-note p {
  margin: 0;
  font-size: 15px !important;
  line-height: 1.5;
}

.contact-methods {
  margin: 5px 0 0;
  padding: 0;
  border: 0;
}

.contact-methods legend {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.contact-methods label {
  display: block;
}

.contact-methods input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-methods span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #aaa;
  border-radius: 999px;
  padding: 11px 14px;
  cursor: pointer;
}

.contact-methods input:checked + span {
  border-color: #050505;
  background: #050505;
  color: #fff;
}

.contact-phone[hidden] {
  display: none;
}

/* Casos de estudio dentro del modal */
.case-study-flow {
  margin: 35px 0;
  display: grid;
  gap: 12px;
}

.case-study-flow article {
  padding: 22px;
  border: 1px solid #ccc;
  border-radius: 17px;
}

.case-study-flow small {
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.case-study-flow h3 {
  margin: 8px 0;
  font-size: 25px;
}

.case-study-flow p {
  margin: 0;
  color: #555;
  line-height: 1.5;
}

/* Testimonios: permanece oculto si no hay citas reales */
.testimonials {
  padding: 120px 0;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}

.testimonial-track blockquote {
  margin: 0;
  padding: clamp(28px,4vw,55px);
  border: 1px solid #333;
  border-radius: 24px;
}

.testimonial-track blockquote p {
  margin: 0 0 35px;
  font-size: clamp(27px,3.5vw,47px);
  line-height: 1.15;
}

.testimonial-track footer {
  display: grid;
  gap: 4px;
  color: #aaa;
}

@media(max-width:1000px){
  .coffee-teaser__grid,
  .faq-layout {
    grid-template-columns:1fr;
  }
  .coffee-teaser__visual { min-height:400px; }
}

@media(max-width:780px){
  .coffee-teaser,
  .faq { padding:85px 0; }
  .coffee-teaser__visual { min-height:340px; }
  .coffee-orbit--one { width:300px;height:300px; }
  .coffee-orbit--two { width:225px;height:225px; }
  .coffee-cup { width:150px;height:150px;font-size:60px; }
  .faq-list article.open > div { padding-right:0; }
  .contact-methods { flex-direction:column;align-items:flex-start; }
  .testimonial-track { grid-template-columns:1fr; }
}

@media(prefers-reduced-motion:reduce){
  .site-intro { display:none; }
}

.error-page {
  position:relative;
  min-height:100vh;
  display:grid;
  align-items:center;
  overflow:hidden;
}
.error-page__content { position:relative;z-index:2;padding:120px 0; }
.error-page h1 {
  margin:24px 0;
  max-width:1200px;
  font-size:clamp(65px,10vw,160px);
  line-height:.84;
  letter-spacing:-.07em;
}
.error-page h1 em { color:var(--cyan);font-style:normal; }
.error-page__content > p:not(.micro-label) {
  max-width:650px;color:#bbb;font-size:20px;line-height:1.5;
}
.error-page__content > div {
  margin-top:35px;display:flex;align-items:center;flex-wrap:wrap;gap:25px;
}
.error-page__orbit span {
  position:absolute;right:-12vw;top:5vh;width:55vw;height:55vw;
  border:1px solid rgba(0,239,255,.25);border-radius:50%;
}
.error-page__orbit span:last-child {
  right:2vw;top:19vh;width:28vw;height:28vw;border-color:rgba(71,84,230,.45);
}


/* =========================================================
   ATRY — PARCHE EUROSTYLE
   La carpeta debe estar en: assets/eurostyle/
   ========================================================= */

@font-face {
  font-family: "Eurostile";
  src: url("assets/eurostyle/Eurostile-LT-Std-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Eurostile";
  src: url("assets/eurostyle/Eurostile-LT-Std-Demi.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Eurostile";
  src: url("assets/eurostyle/Eurostile-LT-Std-Demi-Oblique.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Eurostile Extended";
  src: url("assets/eurostyle/Eurostile-Extended-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Eurostile Extended";
  src: url("assets/eurostyle/Eurostile-LT-Std-Bold-Extended-2.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Texto general */
body,
input,
select,
textarea {
  font-family: "Eurostile", Arial, Helvetica, sans-serif;
  font-weight: 500;
}

/* Títulos principales */
h1,
h2,
.hero-title,
.page-hero h1,
.pg-hero h1,
.cafe-hero h1,
.statement-text,
.idea-result h3,
.modal-panel h2 {
  font-family: "Eurostile Extended", Arial, Helvetica, sans-serif;
  font-weight: 800;
}

/* Navegación, botones y etiquetas */
.desktop-nav,
.mobile-menu,
button,
.pill-button,
.micro-label,
.section-index,
.project-filters,
.device-switcher,
.project-picker {
  font-family: "Eurostile Extended", Arial, Helvetica, sans-serif;
}

/* Subtítulos y bloques de peso medio */
h3,
h4,
strong,
.project-info h3,
.service-card h3,
.capability-row h2 {
  font-family: "Eurostile", Arial, Helvetica, sans-serif;
  font-weight: 700;
}

/* Cursivas destacadas */
h1 em,
h2 em,
.statement-text em,
.page-hero em,
.pg-hero em,
.cafe-hero em {
  font-family: "Eurostile", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-style: italic;
}

/* Ajuste para que Extended no quede demasiado apretada */
h1,
h2,
.hero-title,
.page-hero h1,
.pg-hero h1,
.cafe-hero h1 {
  letter-spacing: -0.045em;
}

/* =========================================================
   ATRY — AJUSTE FINO EUROSTILE
   Corrige tamaños, saltos y jerarquías después del cambio
   tipográfico sin alterar la estructura de la web.
   ========================================================= */

/* Texto general: Eurostile necesita un poco más de aire */
body {
  line-height: 1.45;
}

p,
li,
input,
select,
textarea {
  letter-spacing: 0;
}

/* Navegación y botones */
.desktop-nav {
  gap: 26px;
  font-size: 13px;
  letter-spacing: .015em;
}

.desktop-nav a,
.mobile-menu a,
.pill-button,
.project-filters button,
.device-switcher button,
.project-picker button {
  letter-spacing: .01em;
}

.pill-button {
  min-width: 248px;
  font-size: 14px;
}

.micro-label,
.section-index {
  font-size: 11px;
  letter-spacing: .13em;
}

/* Hero principal */
.hero-title.hero-title--v1 {
  font-size: clamp(64px, 6.7vw, 134px);
  line-height: .86;
  letter-spacing: -.052em;
}

.hero-lead {
  max-width: 720px;
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.5;
}

/* Grandes títulos de sección */
.statement-text {
  font-size: clamp(38px, 5.2vw, 86px);
  line-height: 1.02;
  letter-spacing: -.038em;
}

.section-head h2,
.live-copy h2,
.lab-copy h2,
.contact-copy h2,
.service-cta h2,
.coffee-teaser h2,
.faq-copy h2 {
  font-size: clamp(44px, 5.1vw, 82px);
  line-height: .99;
  letter-spacing: -.036em;
}

/* Héroes internos */
.page-hero h1 {
  font-size: clamp(56px, 7.6vw, 126px);
  line-height: .91;
  letter-spacing: -.045em;
}

.page-hero > div > p:last-child {
  max-width: 860px;
  font-size: 20px;
  line-height: 1.5;
}

/* Playground y Café */
.pg-hero h1,
.cafe-hero h1,
.error-page h1 {
  line-height: .9;
  letter-spacing: -.045em;
}

.cafe-hero h1 {
  font-size: clamp(66px, 8.7vw, 145px);
}

.pg-personal-entry h2,
.pg-section-head h2,
.pg-outro h2 {
  letter-spacing: -.035em;
  line-height: .98;
}

/* Títulos medianos */
.service-card h3 {
  font-size: clamp(28px, 3.35vw, 48px);
  line-height: 1.02;
}

.project-info h3 {
  font-size: 27px;
  line-height: 1.08;
}

.capability-row h2 {
  font-size: clamp(36px, 4.3vw, 56px);
  line-height: 1;
}

.story-grid h2 {
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -.032em;
}

.idea-result h3 {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.035em;
}

.modal-panel h2 {
  font-size: clamp(42px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -.035em;
}

/* Bloques de lectura */
.statement-points p,
.side-copy,
.live-copy p:not(.section-index),
.service-details p,
.capability-row p,
.story-grid p,
.contact-copy > p,
.faq-copy > p:last-child,
.coffee-teaser__copy > p:not(.section-index) {
  line-height: 1.58;
}

/* Evita cortes raros en palabras largas */
h1,
h2,
h3,
.hero-title,
.statement-text,
.page-hero h1,
.pg-hero h1,
.cafe-hero h1 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* Botones y formularios */
.contact-form label,
.idea-builder label {
  font-size: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.idea-builder select {
  font-size: 16px;
}

/* Tablet */
@media (max-width: 1100px) {
  .hero-title.hero-title--v1 {
    font-size: clamp(58px, 10vw, 104px);
    line-height: .88;
  }

  .section-head h2,
  .live-copy h2,
  .lab-copy h2,
  .contact-copy h2,
  .service-cta h2,
  .coffee-teaser h2,
  .faq-copy h2 {
    font-size: clamp(42px, 7vw, 72px);
  }

  .page-hero h1 {
    font-size: clamp(54px, 9vw, 104px);
  }
}

/* Mobile */
@media (max-width: 780px) {
  .mobile-menu {
    font-size: clamp(32px, 9.5vw, 50px);
    line-height: 1;
    letter-spacing: -.025em;
  }

  .hero-title.hero-title--v1 {
    font-size: clamp(43px, 13.3vw, 68px);
    line-height: .91;
    letter-spacing: -.038em;
  }

  .hero-title--v1 .hero-line--split {
    gap: 0;
  }

  .hero-lead {
    font-size: 17px;
    line-height: 1.52;
  }

  .statement-text {
    font-size: clamp(34px, 10vw, 54px);
    line-height: 1.04;
    letter-spacing: -.03em;
  }

  .section-head h2,
  .live-copy h2,
  .lab-copy h2,
  .contact-copy h2,
  .service-cta h2,
  .coffee-teaser h2,
  .faq-copy h2 {
    font-size: clamp(38px, 11vw, 58px);
    line-height: 1.02;
  }

  .page-hero h1,
  .pg-hero h1,
  .cafe-hero h1,
  .error-page h1 {
    font-size: clamp(48px, 14vw, 76px);
    line-height: .94;
    letter-spacing: -.035em;
  }

  .service-card h3 {
    font-size: clamp(25px, 7.4vw, 37px);
  }

  .project-info h3 {
    font-size: 25px;
  }

  .pill-button {
    min-width: min(100%, 240px);
    font-size: 13px;
  }

  .micro-label,
  .section-index {
    font-size: 10px;
    letter-spacing: .115em;
  }
}

/* Celulares muy angostos */
@media (max-width: 390px) {
  .hero-title.hero-title--v1 {
    font-size: clamp(40px, 12.6vw, 56px);
  }

  .page-hero h1,
  .pg-hero h1,
  .cafe-hero h1,
  .error-page h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .mobile-menu {
    font-size: clamp(29px, 8.8vw, 43px);
  }
}


/* =========================================================
   ATRY — AJUSTE HERO + MENÚ MÓVIL EUROSTILE
   Pegar al final de styles.css
   ========================================================= */


/* =========================================================
   HERO ESCRITORIO
   Reduce un poco el título y le devuelve espacio a la órbita
   ========================================================= */

.hero-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
}

.hero-title.hero-title--v1 {
  width: 100%;
  max-width: 1120px;

  font-size: clamp(62px, 6.15vw, 122px);
  line-height: .87;
  letter-spacing: -.045em;
}

.hero-title--v1 .hero-line--split {
  gap: .1em;
}

.hero-orbit {
  width: 350px;
}

.hero-lead {
  max-width: 650px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-title.hero-title--v1 {
    max-width: 900px;
    font-size: clamp(56px, 9.3vw, 96px);
    line-height: .89;
  }
}


/* =========================================================
   HERO CELULAR
   Hace que STRATEGY entre completa y ordena los espacios
   ========================================================= */

@media (max-width: 780px) {
  .hero {
    min-height: auto;
    padding: 112px 0 74px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-title.hero-title--v1 {
    width: 100%;
    max-width: none;
    margin: 26px 0 24px;

    font-size: clamp(40px, 10.8vw, 58px);
    line-height: .92;
    letter-spacing: -.035em;
  }

  .hero-title--v1 .hero-line {
    width: 100%;
  }

  .hero-title--v1 .hero-line > span {
    max-width: 100%;
  }

  .hero-title--v1 .hero-line--split {
    display: block;
  }

  .hero-title--v1 .hero-outline {
    -webkit-text-stroke: 1.2px var(--cyan);
  }

  .hero-lead {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.48;
  }

  .hero-actions {
    gap: 22px;
    margin-top: 30px;
  }

  .pill-button {
    min-width: 220px;
  }
}


/* =========================================================
   CELULARES MUY ANGOSTOS
   ========================================================= */

@media (max-width: 390px) {
  .hero-title.hero-title--v1 {
    font-size: clamp(37px, 10.2vw, 48px);
    letter-spacing: -.025em;
  }
}


/* =========================================================
   MENÚ MÓVIL
   Más editorial, ordenado y menos pesado
   ========================================================= */

@media (max-width: 780px) {
  .mobile-menu {
    place-content: center;
    justify-items: stretch;

    padding: 100px 34px 60px;
    gap: 0;

    text-align: left;
    font-size: clamp(25px, 7vw, 36px);
    line-height: 1.05;
    letter-spacing: -.02em;
  }

  .mobile-menu a {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 15px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    border-bottom: 1px solid rgba(255, 255, 255, .32);
    text-shadow: none;
  }

  /* Quita el subrayado anterior */
  .mobile-menu a::after {
    content: "↗";
    position: static;

    width: auto;
    height: auto;

    background: none;
    transform: none;

    color: rgba(255, 255, 255, .75);
    font-family: Arial, sans-serif;
    font-size: .55em;
  }

  .mobile-menu a:hover::after,
  .mobile-menu a:focus-visible::after {
    transform: translate(4px, -4px);
  }

  /* El enlace largo puede ocupar dos líneas sin quedar gigante */
  .mobile-menu a:nth-child(5) {
    max-width: 520px;
  }

  .mobile-menu a:nth-child(5)::first-line {
    line-height: 1;
  }

  /* Contacto destacado */
  .mobile-menu a:last-child {
    margin-top: 18px;
    padding: 17px 20px;

    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 999px;
  }

  .mobile-menu a:last-child::after {
    content: "+";
    font-size: .8em;
  }
}


/* =========================================================
   MENÚ EN CELULARES PEQUEÑOS
   ========================================================= */

@media (max-width: 390px) {
  .mobile-menu {
    padding-inline: 26px;
    font-size: clamp(23px, 6.7vw, 31px);
  }

  .mobile-menu a {
    padding: 13px 0;
  }

  .mobile-menu a:last-child {
    padding: 15px 18px;
  }
}

/* =========================================================
   FIX HERO PRINCIPAL + MENÚ MÓVIL
   ========================================================= */

/* HERO ESCRITORIO */
.hero-copy {
  overflow: visible;
}

.hero-title.hero-title--v1 {
  width: min(1120px, calc(100vw - 430px));
  max-width: none;
  font-size: clamp(58px, 5.45vw, 108px);
  line-height: .89;
  letter-spacing: -.038em;
}

.hero-title--v1 .hero-line--split {
  width: max-content;
  max-width: none;
  overflow: visible;
  gap: .08em;
}

.hero-title--v1 .hero-line--split > span {
  flex-shrink: 0;
}

/* MENÚ MÓVIL */
@media (max-width: 780px) {
  .mobile-menu {
    place-content: center;
    justify-items: center;
    padding: 95px 24px 55px;
    gap: 10px;
    text-align: center;
    font-size: clamp(21px, 5.8vw, 28px);
    line-height: 1;
    letter-spacing: -.012em;
  }

  .mobile-menu a {
    width: auto;
    max-width: calc(100vw - 48px);
    margin: 0 auto;
    padding: 14px 8px;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,.24);
    white-space: nowrap;
    text-align: center;
  }

  .mobile-menu a::after {
    content: none !important;
    display: none !important;
  }

  .mobile-menu a:nth-child(5) {
    font-size: clamp(17px, 4.6vw, 22px);
    white-space: nowrap;
  }

  .mobile-menu a:last-child {
    width: min(300px, 88vw);
    margin-top: 18px;
    padding: 15px 22px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 999px;
  }

  /* HERO PRINCIPAL MOBILE */
  .hero-title.hero-title--v1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(37px, 9.8vw, 52px);
    line-height: .94;
    letter-spacing: -.025em;
  }

  .hero-title--v1 .hero-line,
  .hero-title--v1 .hero-line--split {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-title--v1 .hero-line--split {
    display: block;
  }

  .hero-title--v1 .hero-line--split > span {
    display: block;
    width: 100%;
  }
}

@media (max-width: 390px) {
  .mobile-menu {
    font-size: 20px;
    gap: 7px;
  }

  .mobile-menu a {
    padding-block: 12px;
  }

  .mobile-menu a:nth-child(5) {
    font-size: 16px;
  }

  .hero-title.hero-title--v1 {
    font-size: clamp(34px, 9.2vw, 45px);
  }
}

/* =========================================================
   FIX ESTUDIO — HERO MOBILE
   Evita que el título se corte
   ========================================================= */

@media (max-width: 780px) {
  .studio-hero {
    min-height: auto;
    padding: 135px 0 90px;
    overflow: hidden;
  }

  .studio-hero .container {
    min-width: 0;
  }

  .studio-hero h1 {
    width: 100%;
    max-width: 100%;
    margin: 24px 0;

    font-size: clamp(42px, 10.7vw, 60px);
    line-height: .94;
    letter-spacing: -.025em;

    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .studio-hero h1 br {
    display: none;
  }

  .studio-hero h1 em {
    display: block;
    width: 100%;
    margin-top: 8px;

    font-size: .82em;
    line-height: 1.02;
    letter-spacing: -.015em;
  }

  .studio-hero > .container > p:last-child {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.55;
  }
}

@media (max-width: 390px) {
  .studio-hero h1 {
    font-size: clamp(39px, 10vw, 52px);
  }

  .studio-hero h1 em {
    font-size: .78em;
  }
}

