
/* ===== Variables generales: colores, tipografías y medidas ===== */
:root {
  color-scheme: dark;
  --ink: #262526;
  --ink-soft: #302e30;
  --cream: #f4f0e8;
  --paper: var(--site-white, #f4f0e8);
  --muted: #b5b0aa;
  --pink: #e5aabf;
  --pink-light: #e5aabf;
  --line: rgba(244, 240, 232, .18);
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --mono: "DM Mono", monospace;
  --rail-width: 236px;
}
/* ===== Base de la página: fondo, comportamiento y estilos generales ===== */


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .035) .7px, transparent .7px);
  background-size: 5px 5px;
  content: "";
  pointer-events: none;
}
/* ===== Elementos comunes y tipografía ===== */

a { color: inherit; text-decoration: none; }
/* ===== Botones y enlaces ===== */

button, input, select, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}
/* ===== Elementos comunes y tipografía ===== */

img { display: block; max-width: 100%; }
/* ===== Estructura de página, títulos y secciones ===== */

.main-content { margin-left: var(--rail-width); padding: 0 7.2% 72px; }
.section-shell { width: min(100%, 1060px); margin-inline: auto; }
/* ===== Cabecera, logo y botón del menú ===== */


.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: var(--rail-width) 1fr var(--rail-width);
  align-items: center;
  min-height: 112px;
  padding: 10px 4.2%;
}
.brand-mark {
  position: relative;
  left: 0;
  display: block;
  grid-column: 2;
  justify-self: center;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 232, .2);
  border-radius: 50%;
  background: #181718;
  transition: transform .35s ease, border-color .35s ease;
}
.brand-mark:hover { transform: rotate(-5deg) scale(1.04); border-color: var(--pink); }
.brand-mark img {
  position: absolute;
  top: -110%;
  left: -110%;
  width: 320%;
  max-width: none;
  height: 320%;
  object-fit: cover;
}
.header-cta {
  grid-column: 3;
  justify-self: end;
  padding: 10px 16px;
  border: 1px solid rgba(244, 240, 232, .3);
  border-radius: 99px;
  font-size: 12px;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.header-cta span { margin-left: 8px; color: var(--pink); }
.header-cta:hover { border-color: var(--pink); background: var(--pink); color: var(--ink); }
.header-cta:hover span { color: var(--ink); }
.menu-toggle { display: none; }
/* ===== Menú principal y navegación ===== */


.side-nav {
  position: fixed;
  z-index: 15;
  top: 50%;
  left: 4.2%;
  display: flex;
  flex-direction: column;
  width: 172px;
  transform: translateY(-50%);
}
/* ===== Estructura de página, títulos y secciones ===== */

.eyebrow {
  margin: 0 0 18px;
  color: var(--pink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .11em;
  line-height: 1.5;
  text-transform: uppercase;
}
/* ===== Menú principal y navegación ===== */

.side-nav > .eyebrow { margin-bottom: 21px; color: #88837e; font-size: 9px; }
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 45px;
  border-bottom: 1px solid var(--line);
  color: #bdb8b1;
  font-size: 12px;
  transition: color .2s ease, padding .2s ease;
}
.nav-link span:first-child { color: #79736f; font-family: var(--mono); font-size: 9px; }
.nav-link:hover, .nav-link.is-active { padding-left: 5px; color: var(--cream); }
.nav-link.is-active::before { position: absolute; left: -11px; width: 4px; height: 4px; border-radius: 50%; background: var(--pink); content: ""; }
.nav-link.nav-contact { margin-top: 14px; border: 0; color: var(--pink-light); }
.nav-contact span:last-child { margin-left: auto; color: var(--pink); font-size: 15px; }
.nav-note { margin-top: 38px; color: #827d78; font-family: var(--serif); font-size: 13px; font-style: italic; line-height: 1.5; }
/* ===== Inicio: presentación, ilustración y detalles ===== */


.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  min-height: 580px;
  padding: 46px 0 70px;
}
.hero-copy { position: relative; z-index: 2; max-width: 490px; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--pink); box-shadow: none; }
/* ===== Elementos comunes y tipografía ===== */

h1, h2, h3, p { margin-top: 0; }
/* ===== Cuestionario y campos del formulario ===== */

.home-hero h1, .page-heading h1, .questionnaire-intro h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.04;
}
/* ===== Inicio: presentación, ilustración y detalles ===== */

.home-hero h1 { font-size: clamp(46px, 5vw, 64px); }
/* ===== Elementos comunes y tipografía ===== */

h1 em, h2 em { color: var(--pink); font-weight: 500; }
/* ===== Inicio: presentación, ilustración y detalles ===== */

.hero-intro, .page-lead { max-width: 430px; color: #bdb8b1; font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 31px; }
/* ===== Botones y enlaces ===== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-3px); }
.button span { font-size: 16px; }
.button-pink { background: var(--pink); color: var(--ink); }
.button-pink:hover { background: var(--pink-light); }
.button-light { border-color: rgba(244, 240, 232, .4); background: transparent; color: var(--cream); }
.button-light:hover { background: var(--cream); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(244, 240, 232, .38); padding-bottom: 4px; font-size: 12px; transition: gap .2s ease, color .2s ease; }
.text-link:hover { gap: 17px; color: var(--pink-light); }
.text-link span { color: var(--pink); }
/* ===== Inicio: presentación, ilustración y detalles ===== */


.hero-art { position: relative; display: grid; min-height: 400px; place-items: center; isolation: isolate; }
.hero-art::before { position: absolute; z-index: -2; width: min(85%, 340px); aspect-ratio: 1; border: 1px solid rgba(244, 240, 232, .13); border-radius: 50%; content: ""; }
.hero-art::after { position: absolute; z-index: -1; width: min(64%, 260px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #4b4246, #282527 72%); content: ""; }
.art-orbit { position: absolute; width: 90%; height: 50%; border: 1px solid rgba(229,170,191, .5); border-radius: 50%; transform: rotate(-38deg); }
.orbit-two { width: 83%; height: 37%; border-color: rgba(244, 240, 232, .38); transform: rotate(46deg); }
.art-sticker { position: relative; display: flex; flex-direction: column; align-items: center; width: 188px; padding: 14px 15px 16px; transform: rotate(-8deg); background: var(--pink); color: var(--ink); box-shadow: 10px 13px 0 rgba(0, 0, 0, .2); animation: sticker-float 5s ease-in-out infinite; }
.art-sticker::before, .art-sticker::after { position: absolute; top: -8px; width: 42px; height: 15px; background: rgba(244, 240, 232, .56); content: ""; }
.art-sticker::before { left: 20px; transform: rotate(-8deg); }
.art-sticker::after { right: 19px; transform: rotate(7deg); }
.sticker-kicker, .sticker-caption { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.sticker-number { margin: 3px 0 -10px; font-family: var(--sans); font-size: 85px; font-weight: 700; letter-spacing: -.1em; line-height: .95; }
.sticker-number span { color: var(--cream); }
.sticker-caption { align-self: flex-end; margin-right: 5px; }
.art-caption { position: absolute; right: 0; bottom: 42px; color: #a6a09a; font-family: var(--serif); font-size: 13px; font-style: italic; line-height: 1.35; transform: rotate(-7deg); }
.art-star { position: absolute; top: 42px; right: 14%; color: var(--pink); font-size: 35px; animation: slow-spin 16s linear infinite; }
.art-sparkle { position: absolute; color: var(--cream); }
.sparkle-one { left: 2%; bottom: 22%; font-size: 22px; }
.sparkle-two { top: 23%; left: 15%; color: var(--pink); font-size: 15px; }
.scroll-cue { position: absolute; bottom: 23px; left: 0; display: flex; align-items: center; gap: 11px; color: #88837e; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.scroll-cue span { position: relative; width: 1px; height: 28px; background: rgba(244, 240, 232, .28); }
.scroll-cue span::after { position: absolute; top: 0; left: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--pink); content: ""; animation: scroll-dot 1.7s ease-in-out infinite; }
/* ===== Estructura de página, títulos y secciones ===== */


.section-index { display: flex; align-items: center; gap: 14px; color: #89837d; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.index-line { flex: 1; height: 1px; background: var(--line); }
.section-index a { color: var(--pink-light); font-family: var(--sans); font-size: 11px; letter-spacing: 0; text-transform: none; }
/* ===== Inicio: el estudio / quiénes somos ===== */

.intro-section { padding: 98px 0 45px; border-top: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 50px; margin-top: 48px; }
.intro-grid h2, .process-grid h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 65px); font-weight: 500; letter-spacing: -.05em; line-height: 1.1; }
.intro-text p { margin-bottom: 23px; color: #bdb8b1; font-size: 14px; line-height: 1.9; }
/* ===== Tarjetas, contenido y categorías de servicios ===== */

.home-service-note { display: flex; align-items: center; gap: 20px; max-width: 640px; margin: 70px auto 0; padding: 23px 25px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
/* ===== Inicio: el estudio / quiénes somos ===== */

.note-mark { color: var(--pink); font-size: 25px; }
/* ===== Tarjetas, contenido y categorías de servicios ===== */

.home-service-note p { flex: 1; margin: 0; color: #d2cdc6; font-family: var(--serif); font-size: 18px; line-height: 1.4; }
.home-service-note > a { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(244, 240, 232, .25); border-radius: 50%; color: var(--pink); }
/* ===== Inicio: galería de trabajos ===== */

.home-projects { padding: 72px 0 85px; }
.home-project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.home-project-card { min-width: 0; }
.home-project-card img { width: 100%; aspect-ratio: 1 / 1.15; object-fit: cover; filter: saturate(.78); transition: filter .4s ease, transform .5s ease; }
.home-project-card:hover img { filter: saturate(1); transform: translateY(-5px); }
/* ===== Elementos comunes y tipografía ===== */

.project-meta { display: flex; justify-content: space-between; margin: 15px 0 7px; color: #968f89; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.project-meta span:last-child { color: var(--pink); }
/* ===== Inicio: galería de trabajos ===== */

.home-project-card h3 { margin: 0; font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.35; }
/* ===== Bloque de llamada a la acción ===== */

.home-cta { position: relative; overflow: hidden; padding: 58px 8%; background: var(--pink); color: var(--ink); }
.home-cta .eyebrow { color: #5b424b; }
.home-cta h2 { position: relative; z-index: 1; max-width: 680px; margin: 0 0 26px; font-family: var(--serif); font-size: clamp(38px, 5vw, 62px); font-weight: 500; letter-spacing: -.05em; line-height: 1.08; }
.home-cta h2 em { color: var(--cream); }
.cta-star { position: absolute; top: 14px; right: 8%; color: rgba(38, 37, 38, .15); font-size: 150px; line-height: 1; animation: slow-spin 25s linear infinite; }
.home-cta .button { position: relative; z-index: 1; border-color: rgba(38, 37, 38, .5); color: var(--ink); }
.home-cta .button:hover { background: var(--ink); color: var(--cream); }
/* ===== Estructura de página, títulos y secciones ===== */


.page-heading { padding-top: 34px; padding-bottom: 43px; }
.page-heading > .eyebrow { margin-top: 66px; }
.page-heading h1 { margin-bottom: 22px; }
.page-heading .page-lead { max-width: 550px; }
.page-about .page-heading { padding-bottom: 70px; }
/* ===== Sobre nosotros: historia y valores ===== */

.about-story { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: 9%; padding: 20px 0 95px; }
.about-image { position: relative; padding: 0 15px 16px 0; }
.about-image::after { position: absolute; z-index: -1; right: 0; bottom: 0; width: 85%; height: 82%; border: 1px solid rgba(229,170,191, .55); content: ""; }
.about-image img { width: 100%; max-height: 500px; object-fit: cover; }
.image-stamp { position: absolute; right: -12px; bottom: 29px; display: grid; width: 94px; height: 94px; place-content: center; border: 1px solid var(--pink); border-radius: 50%; background: var(--ink); color: var(--pink-light); font-family: var(--serif); font-size: 13px; font-style: italic; line-height: 1.3; text-align: center; transform: rotate(9deg); }
.about-copy h2 { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(35px, 4vw, 52px); font-weight: 500; letter-spacing: -.05em; line-height: 1.15; }
.about-copy p:not(.eyebrow) { color: #bdb8b1; font-size: 13px; line-height: 1.9; }
.about-copy .text-link { margin-top: 13px; }
.about-values { padding: 55px 0 92px; border-top: 1px solid var(--line); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin-top: 31px; }
.value-card { min-height: 175px; padding: 20px; border: 1px solid var(--line); }
.value-card > span, .process-step > span { color: var(--pink); font-family: var(--mono); font-size: 10px; }
.value-card h3 { margin: 22px 0 7px; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.value-card p { margin: 0; color: #aaa39d; font-size: 12px; line-height: 1.75; }
/* ===== Tarjetas, contenido y categorías de servicios ===== */


.services-heading { padding-bottom: 38px; }
.services-board { padding: 17px 2px 80px; }
/* ===== Elementos comunes y tipografía ===== */

.paper-sheet { position: relative; width: min(100%, 790px); margin: 0 auto; padding: 29px 33px 22px; background: var(--paper); color: #292729; box-shadow: 0 20px 55px rgba(0, 0, 0, .27); transform: rotate(-.6deg); }
.paper-sheet::before { position: absolute; inset: 0; background-image: radial-gradient(rgba(49, 45, 43, .055) .6px, transparent .6px); background-size: 4px 4px; content: ""; pointer-events: none; }
.paper-heading { position: relative; min-height: 190px; padding: 4px 20px 25px; text-align: center; }
.paper-heading::after { position: absolute; bottom: 0; left: 0; width: 100%; border-bottom: 1px dashed rgba(38, 37, 38, .42); content: ""; }
.paper-number { color: #68615d; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.paper-heading h2 { margin: 20px 0 0; color: #343033; font-family: var(--sans); font-size: clamp(34px, 5vw, 54px); font-weight: 700; letter-spacing: -.06em; line-height: 1; text-transform: uppercase; }
.paper-heading p { margin: 7px 0 0; color: #b5637b; font-family: var(--serif); font-size: 18px; font-style: italic; text-align: right; }
.paper-heading p span { margin-left: 8px; font-family: var(--sans); font-size: 15px; }
.paper-tape { position: absolute; top: -28px; right: 6%; width: 73px; height: 23px; background: rgba(221, 215, 202, .78); transform: rotate(12deg); }
/* ===== Tarjetas, contenido y categorías de servicios ===== */

.service-strips { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); min-height: 238px; }
.service-strip { position: relative; min-width: 0; }
.service-strip:not(:last-child) { border-right: 1px dashed rgba(38, 37, 38, .4); }
.service-strip summary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; height: 238px; padding: 15px 9px; cursor: pointer; list-style: none; text-align: center; transition: background .25s ease, transform .3s ease; }
.service-strip summary::-webkit-details-marker { display: none; }
.service-strip summary:hover, .service-strip[open] summary { z-index: 2; background: var(--site-white, #f4f0e8); transform: translateY(-6px); }
.service-strip summary > span { color: #b3657c; font-family: var(--mono); font-size: 9px; }
.service-strip summary strong { color: #393435; font-family: var(--sans); font-size: 12px; line-height: 1.45; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.service-strip summary i { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid rgba(38, 37, 38, .3); border-radius: 50%; color: #b3657c; font-size: 15px; font-style: normal; line-height: 1; transition: transform .3s ease; }
.service-strip[open] summary i { transform: rotate(45deg); }
/* ===== Elementos comunes y tipografía ===== */

.strip-details { position: absolute; z-index: 5; top: calc(100% + 1px); left: -1px; width: calc(100% + 2px); padding: 20px 16px; border: 1px solid rgba(38, 37, 38, .18); background: var(--site-white, #f4f0e8); box-shadow: 0 12px 18px rgba(38, 37, 38, .17); }
.strip-details p { margin-bottom: 14px; color: #655c58; font-size: 12px; line-height: 1.7; }
/* ===== Botones y enlaces ===== */

.strip-details .text-link { border-color: rgba(38, 37, 38, .3); font-size: 11px; }
/* ===== Elementos comunes y tipografía ===== */

.strip-missing { display: grid; place-items: center; overflow: hidden; background: #e7dfd4; }
.torn-edge { position: absolute; top: 0; left: 0; width: 100%; height: 37px; background: var(--paper); clip-path: polygon(0 0,100% 0,100% 40%,88% 48%,76% 29%,64% 54%,52% 32%,39% 57%,27% 37%,15% 56%,0 39%); }
.missing-note { color: #aaa097; font-family: var(--serif); font-size: 13px; font-style: italic; line-height: 1.4; text-align: center; transform: rotate(-7deg); }
.paper-foot { display: flex; justify-content: space-between; gap: 10px; padding: 14px 3px 0; border-top: 1px dashed rgba(38, 37, 38, .38); color: #756d67; font-family: var(--mono); font-size: 8px; letter-spacing: .03em; text-transform: uppercase; }
.board-caption { margin: 31px 0 0; color: #9e9891; font-family: var(--serif); font-size: 13px; font-style: italic; text-align: center; }
.board-caption span { margin-right: 7px; color: var(--pink); }
/* ===== Tarjetas, contenido y categorías de servicios ===== */

.services-process { padding: 20px 0 80px; border-top: 1px solid var(--line); }
/* ===== Elementos comunes y tipografía ===== */

.process-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 12%; margin-top: 40px; }
.process-steps { border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.process-step h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 18px; font-weight: 500; }
.process-step p { margin: 0; color: #aaa39d; font-size: 12px; }

.projects-heading { padding-bottom: 26px; }
/* ===== Carpetas y contenido de los proyectos ===== */

.folder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 30px 20px; padding-top: 14px; }
.folder-card { min-width: 0; scroll-margin-top: 22px; }
.folder-card summary { display: block; cursor: pointer; list-style: none; }
.folder-card summary::-webkit-details-marker { display: none; }
.folder-tab { position: relative; display: block; width: 57%; min-height: 29px; padding: 6px 12px 3px; border-radius: 7px 7px 0 0; background: var(--pink); color: #34282d; font-family: var(--mono); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; transition: transform .4s ease; }
.folder-cover { position: relative; display: flex; flex-direction: column; min-height: 270px; overflow: hidden; padding: 18px 18px 16px; border: 1px solid rgba(244, 240, 232, .09); background: #3a3739; box-shadow: 0 12px 25px rgba(0, 0, 0, .15); transition: transform .45s ease, background .4s ease, box-shadow .4s ease; }
.folder-cover::before { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(32, 30, 31, .25), transparent 62%); content: ""; }
.folder-cover-label { position: relative; z-index: 1; align-self: flex-start; padding: 4px 7px; border: 1px dashed rgba(244, 240, 232, .4); color: #cbc4bd; font-family: var(--mono); font-size: 8px; line-height: 1.45; }
.folder-cover-title { position: relative; z-index: 1; margin-top: auto; font-family: var(--serif); font-size: 37px; letter-spacing: -.05em; line-height: 1; }
.folder-cover-subtitle { position: relative; z-index: 1; margin-top: 8px; color: #cec8c2; font-family: var(--serif); font-size: 11px; font-style: italic; }
.folder-cover img { position: absolute; top: 0; right: 0; width: 59%; height: 100%; object-fit: cover; opacity: .32; mix-blend-mode: screen; transition: opacity .4s ease, transform .7s ease; }
.folder-open { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 18px; padding-top: 9px; border-top: 1px solid rgba(244, 240, 232, .25); color: #e4ded7; font-size: 10px; }
.folder-open b { color: var(--pink); font-size: 15px; font-weight: 400; transition: transform .25s ease; }
.folder-card summary:hover .folder-cover { transform: translateY(-4px); }
.folder-card summary:hover .folder-cover img { opacity: .52; transform: scale(1.04); }
.folder-card summary:hover .folder-open b { transform: translate(3px, -3px); }
.folder-card[open] .folder-tab { transform: translateY(-4px) rotate(-2deg); }
.folder-card[open] .folder-cover { background: #494044; box-shadow: 0 20px 34px rgba(0, 0, 0, .3); transform: perspective(700px) rotateX(3deg); }
.folder-card[open] .folder-cover img { opacity: .5; }
.folder-card[open] .folder-open b { transform: rotate(45deg); }
.folder-content { padding: 17px 2px 0; animation: content-drop .35s ease both; }
.folder-content > p { min-height: 60px; margin-bottom: 13px; color: #bdb8b1; font-size: 11px; line-height: 1.7; }
.folder-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 15px; }
.folder-gallery img { width: 100%; height: 124px; object-fit: cover; background: #393638; }
.folder-gallery img:only-child { grid-column: 1 / -1; height: 180px; }
.folder-content .text-link { font-size: 10px; }
.project-note { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 70px; padding: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-note > span { color: var(--pink); font-size: 24px; }
.project-note p { margin: 0; font-family: var(--serif); font-size: 18px; }
.project-note .button { min-height: 40px; padding-inline: 15px; font-size: 10px; }
/* ===== Cuestionario y campos del formulario ===== */


.questionnaire-layout { display: grid; grid-template-columns: .75fr 1fr; gap: 8%; padding-top: 36px; padding-bottom: 50px; }
.questionnaire-intro { position: sticky; top: 45px; align-self: start; }
.questionnaire-intro > .eyebrow { margin-top: 67px; }
.questionnaire-intro h1 { font-size: clamp(48px, 5.5vw, 70px); }
.questionnaire-aside { display: flex; align-items: flex-start; gap: 13px; margin-top: 45px; padding: 17px; border: 1px solid var(--line); }
.questionnaire-aside > span { color: var(--pink); font-size: 19px; }
.questionnaire-aside p { margin: 0; color: #aaa39d; font-family: var(--serif); font-size: 13px; font-style: italic; line-height: 1.55; }
.project-form { padding: 25px 27px 27px; border: 1px solid rgba(244, 240, 232, .17); background: rgba(255, 255, 255, .025); }
.form-heading { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 21px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: #8e8882; font-family: var(--mono); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.project-form > label, .form-row > label { display: block; margin-bottom: 17px; color: #ddd8d1; font-size: 11px; }
.project-form label > span:not(.consent-label span) { color: var(--pink); }
.project-form input:not([type="checkbox"]), .project-form select, .project-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 11px 12px;
  border: 1px solid rgba(244, 240, 232, .17);
  border-radius: 0;
  background: #2e2c2d;
  color: var(--cream);
  font-size: 12px;
}
.project-form input::placeholder, .project-form textarea::placeholder { color: #817b76; }
.project-form select:invalid { color: #817b76; }
.project-form select option { color: var(--cream); }
.project-form textarea { min-height: 112px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent-label { display: flex !important; align-items: flex-start; gap: 9px; margin: 5px 0 19px !important; color: #aaa39d !important; font-size: 10px !important; line-height: 1.5; }
.consent-label input { flex: 0 0 auto; width: 14px; height: 14px; margin: 1px 0 0; accent-color: var(--pink); }
.consent-label b { color: var(--pink); }
.form-submit { width: 100%; cursor: pointer; }
.form-status { min-height: 0; margin: 0; color: var(--pink-light); font-size: 11px; }
.form-status.is-success { margin-top: 15px; }
.form-note { margin: 12px 0 0; color: #8e8882; font-size: 9px; line-height: 1.6; }
/* ===== Footer, contacto y redes sociales ===== */


.site-footer {
  display: flex;
  align-items: center;
  gap: 27px;
  min-height: 110px;
  margin-left: var(--rail-width);
  padding: 22px 7.2%;
  border-top: 1px solid var(--line);
  color: #9f9992;
  font-size: 10px;
}
.footer-brand { display: flex; align-items: center; gap: 9px; color: var(--cream); font-family: var(--sans); font-size: 11px; font-weight: 700; line-height: 1.05; }
.footer-brand small { color: #a49d96; font-size: 8px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.footer-logo { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--pink); border-radius: 50%; color: var(--pink); font-size: 12px; letter-spacing: -.1em; }
.site-footer > p { margin: 0 auto 0 0; }
.social-links { display: flex; align-items: center; gap: 9px; }
.social-links a { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(244, 240, 232, .2); border-radius: 50%; color: var(--cream); transition: border-color .2s ease, color .2s ease; }
.social-links a:hover { border-color: var(--pink); color: var(--pink); }
.social-links svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.social-links svg path { fill: currentColor; stroke: none; }
.social-links svg .icon-fill { fill: currentColor; stroke: none; }
.footer-copy { white-space: nowrap; font-family: var(--mono); font-size: 8px; }
/* ===== Animaciones de aparición al deslizar ===== */


.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
/* ===== Carpetas y contenido de los proyectos ===== */

.home-project-card.reveal:nth-child(2), .value-card.reveal:nth-child(2), .folder-card.reveal:nth-child(2) { transition-delay: .08s; }
.home-project-card.reveal:nth-child(3), .value-card.reveal:nth-child(3), .folder-card.reveal:nth-child(3) { transition-delay: .16s; }
.folder-card.reveal:nth-child(4) { transition-delay: .05s; }
/* ===== ANIMACIÓN: sticker-float ===== */


@keyframes sticker-float { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-9px) rotate(-5deg); } }
/* ===== ANIMACIÓN: slow-spin ===== */

@keyframes slow-spin { to { transform: rotate(360deg); } }
/* ===== ANIMACIÓN: scroll-dot ===== */

@keyframes scroll-dot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(21px); } }
/* ===== ANIMACIÓN: content-drop ===== */

@keyframes content-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 1100px) ===== */


@media (max-width: 1100px) {
  :root { --rail-width: 190px; }
  .side-nav { left: 3%; width: 150px; }
  .main-content { padding-right: 5%; padding-left: 5%; }
  .site-footer { padding-right: 5%; padding-left: 5%; }
  .home-hero { min-height: 535px; }
  .folder-grid { gap: 25px 14px; }
  .folder-cover { min-height: 245px; padding: 14px; }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 800px) ===== */


@media (max-width: 800px) {
  :root { --rail-width: 0px; }
  .site-header { min-height: 85px; grid-template-columns: 1fr auto 1fr; padding: 5px 6%; }
  .brand-mark { width: 72px; height: 72px; }
  .brand-mark img { top: -110%; left: -110%; }
  .menu-toggle {
    display: flex;
    grid-column: 1;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    padding: 9px;
    border: 1px solid rgba(244, 240, 232, .28);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span { width: 100%; height: 1px; background: var(--cream); transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .brand-mark { grid-column: 2; }
  .header-cta { grid-column: 3; font-size: 10px; }
  .side-nav {
    position: fixed;
    z-index: 18;
    top: 0;
    left: 0;
    width: min(84vw, 330px);
    height: 100dvh;
    justify-content: center;
    padding: 30px 34px;
    background: #222122;
    box-shadow: 20px 0 60px rgba(0, 0, 0, .34);
    transform: translateX(-110%);
    transition: transform .35s ease;
  }
  .side-nav.is-open { transform: translateX(0); }
  .side-nav > .eyebrow { margin-bottom: 24px; }
  .nav-link { min-height: 53px; font-size: 14px; }
  .nav-note { margin-top: 28px; }
  body.menu-open { overflow: hidden; }
  .main-content { margin-left: 0; padding: 0 7% 55px; }
  .site-footer { margin-left: 0; padding: 22px 7%; }
  .home-hero { min-height: 530px; grid-template-columns: 1fr .82fr; }
  .home-hero h1 { font-size: clamp(47px, 8vw, 65px); }
  .hero-art { min-height: 330px; }
  .art-sticker { width: 155px; }
  .sticker-number { font-size: 70px; }
  .home-project-grid { gap: 14px; }
  .folder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .folder-cover { min-height: 260px; }
  .questionnaire-layout { grid-template-columns: .78fr 1fr; gap: 5%; }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 560px) ===== */


@media (max-width: 560px) {
  .site-header { min-height: 77px; padding-inline: 5%; }
  .brand-mark { width: 64px; height: 64px; }
  .header-cta { padding: 8px 10px; }
  .main-content { padding-inline: 6%; }
  .home-hero { display: flex; flex-direction: column; align-items: stretch; min-height: auto; padding: 52px 0 55px; }
  .hero-copy { max-width: none; }
  .home-hero h1, .page-heading h1 { font-size: clamp(47px, 14vw, 67px); }
  .hero-intro { max-width: 380px; }
  .hero-actions { flex-wrap: wrap; gap: 18px; }
  .hero-art { min-height: 300px; margin: 20px 0 0; }
  .hero-art::before { width: 260px; }
  .hero-art::after { width: 196px; }
  .art-orbit { width: 80%; }
  .scroll-cue { bottom: 0; }
  .intro-section { padding-top: 70px; }
  .intro-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; }
  .intro-grid h2, .process-grid h2 { font-size: 47px; }
  .home-service-note { gap: 12px; margin-top: 40px; padding: 17px 14px; }
  .home-service-note p { font-size: 15px; }
  .home-projects { padding: 58px 0 65px; }
  .home-project-grid { grid-template-columns: 1fr; gap: 30px; }
  .home-project-card img { aspect-ratio: 1.18; }
  .home-project-card h3 { font-size: 19px; }
  .home-cta { padding: 42px 24px; }
  .home-cta h2 { font-size: 43px; }
  .cta-star { top: 22px; right: -5px; font-size: 105px; }
  .section-index { font-size: 8px; }
  .section-index a { font-size: 9px; }
  .page-heading { padding-top: 23px; padding-bottom: 33px; }
  .page-heading > .eyebrow { margin-top: 45px; }
  .page-heading .page-lead { font-size: 13px; }
  .page-about .page-heading { padding-bottom: 45px; }
  .about-story { grid-template-columns: 1fr; gap: 37px; padding: 10px 0 65px; }
  .about-image { max-width: 420px; padding-right: 10px; }
  .about-image img { max-height: 420px; }
  .about-copy h2 { font-size: 42px; }
  .about-values { padding: 38px 0 65px; }
  .value-grid { grid-template-columns: 1fr; gap: 10px; }
  .value-card { min-height: 0; padding: 17px; }
  .value-card h3 { margin-top: 12px; }
  .paper-sheet { padding: 21px 12px 13px; }
  .paper-heading { min-height: 150px; padding-inline: 6px; }
  .paper-heading h2 { margin-top: 17px; font-size: clamp(28px, 8vw, 40px); }
  .paper-heading p { font-size: 15px; }
  .service-strips { grid-template-columns: repeat(5, 1fr); min-height: 203px; }
  .service-strip summary { height: 203px; gap: 18px; padding: 10px 3px; }
  .service-strip summary strong { font-size: 9px; }
  .service-strip summary > span { font-size: 7px; }
  .service-strip summary i { width: 18px; height: 18px; font-size: 12px; }
  .strip-details { left: -40%; width: 180%; }
  .strip-missing .missing-note { font-size: 10px; }
  .paper-foot { font-size: 6px; }
  .services-process { padding: 10px 0 60px; }
  .process-grid { grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
  .folder-grid { grid-template-columns: 1fr; gap: 26px; }
  .folder-cover { min-height: 300px; }
  .folder-cover-title { font-size: 42px; }
  .folder-content > p { min-height: auto; }
  .folder-gallery img { height: 155px; }
  .project-note { flex-wrap: wrap; justify-content: flex-start; gap: 12px; margin-top: 49px; padding: 19px 0; }
  .project-note p { flex: 1; font-size: 16px; }
  .project-note .button { flex-basis: 100%; }
  .questionnaire-layout { grid-template-columns: 1fr; gap: 35px; padding-top: 23px; }
  .questionnaire-intro { position: static; }
  .questionnaire-intro > .eyebrow { margin-top: 46px; }
  .questionnaire-intro h1 { font-size: 57px; }
  .questionnaire-aside { max-width: 330px; margin-top: 25px; }
  .project-form { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer { display: grid; grid-template-columns: 1fr auto; gap: 15px 10px; padding: 20px 6%; }
  .site-footer > p { grid-column: 1; grid-row: 2; margin: 0; }
  .social-links { grid-column: 2; grid-row: 1; }
  .footer-copy { grid-column: 2; grid-row: 2; text-align: right; }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (prefers-reduced-motion: reduce) ===== */


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
/* ===== Base de la página: fondo, comportamiento y estilos generales ===== */



/* Fondo fijo y cabecera siempre visible en móvil. */
body { isolation: isolate; }
body::before {
  position: fixed;
  inset: 0;
  background-color: var(--ink);
  pointer-events: none;
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 800px) ===== */

@media (max-width: 800px) {
  html { scroll-padding-top: 105px; }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: var(--ink);
    background-image: radial-gradient(rgba(255, 255, 255, .035) .7px, transparent .7px);
    background-size: 5px 5px;
    box-shadow: 0 1px 0 var(--line);
  }
}
/* ===== Iconos vectoriales: flechas y estrellas ===== */


/* Flechas vectoriales: mismo aspecto en todos los dispositivos. */
.arrow-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -.125em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* ===== Cabecera, logo y botón del menú ===== */


/* Logo rectangular con movimiento continuo. */
.site-header .brand-mark {
  width: 132px;
  height: 86px;
  border: 0;
  border-radius: 0;
  background: transparent;
  animation: brand-float 5s ease-in-out infinite;
}
.site-header .brand-mark img {
  top: 50%;
  left: 50%;
  width: 320%;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
}
/* ===== ANIMACIÓN: brand-float ===== */

@keyframes brand-float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-4px) rotate(1.5deg); }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 800px) ===== */

@media (max-width: 800px) {
  .site-header .brand-mark { width: 104px; height: 68px; }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 560px) ===== */

@media (max-width: 560px) {
  .site-header .brand-mark { width: 92px; height: 60px; }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (prefers-reduced-motion: reduce) ===== */

@media (prefers-reduced-motion: reduce) {
  .site-header .brand-mark { animation: none; transform: none; }
}
/* ===== Cabecera, logo y botón del menú ===== */




/* Marca original sin fondo ni recorte geometricamente visible. */
.site-header .brand-mark { position: relative; left: 0; top: auto; }
.site-header .brand-mark img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}
/* ===== Iconos vectoriales: flechas y estrellas ===== */


/* Estrellas vectoriales del color del diseño, sin representación emoji. */
.star-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -.125em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
/* ===== Footer, contacto y redes sociales ===== */


/* Acceso al cuestionario en el centro del footer. */
.site-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px 22px; }
.site-footer .footer-brand { grid-column: 1; grid-row: 1; justify-self: start; }
.site-footer > p { grid-column: 1; grid-row: 2; margin: 0; }
.site-footer .social-links { grid-column: 3; grid-row: 1; justify-self: end; }
.site-footer .footer-copy { grid-column: 3; grid-row: 2; justify-self: end; text-align: right; }
.footer-questionnaire {
  display: inline-flex;
  grid-column: 2;
  grid-row: 1 / 3;
  align-items: center;
  justify-self: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--pink);
  color: var(--pink-light);
  font-size: 12px;
  transition: color .2s ease;
}
.footer-questionnaire .arrow-icon { transition: transform .2s ease; }
.footer-questionnaire:hover { color: var(--cream); }
.footer-questionnaire:hover .arrow-icon { transform: translate(2px, -2px); }
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 560px) ===== */

@media (max-width: 560px) {
  .site-footer { grid-template-columns: minmax(0, 1fr) auto; gap: 15px 10px; }
  .site-footer .social-links, .site-footer .footer-copy { grid-column: 2; }
  .footer-questionnaire { grid-column: 1 / -1; grid-row: 3; margin-top: 4px; }
}
/* ===== Inicio: el estudio / quiénes somos ===== */


/* Movimiento propio de la sección El estudio. */
#estudio { position: relative; isolation: isolate; }
#estudio .intro-grid h2 em { position: relative; display: inline-block; }
#estudio .intro-grid h2 em::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 7px;
  border-bottom: 2px solid var(--pink);
  border-radius: 50%;
  opacity: .7;
  transform: rotate(-3deg);
  content: "";
  pointer-events: none;
}
/* ===== Tarjetas, contenido y categorías de servicios ===== */

#estudio .home-service-note { position: relative; overflow: hidden; }
#estudio .home-service-note > * { position: relative; z-index: 1; }
/* ===== Inicio: el estudio / quiénes somos ===== */

#estudio .note-mark { display: grid; flex-shrink: 0; place-items: center; }
/* ===== Tarjetas, contenido y categorías de servicios ===== */

#estudio .home-service-note > a { flex-shrink: 0; transition: background .25s ease, color .25s ease, border-color .25s ease; }
#estudio .home-service-note > a:hover { background: var(--pink); color: var(--ink); border-color: var(--pink); }
/* ===== RESPONSIVE / PREFERENCIAS: @media (prefers-reduced-motion: no-preference) ===== */

@media (prefers-reduced-motion: no-preference) {
  #estudio .intro-grid h2.reveal { transition-duration: .9s; }
  #estudio .intro-text.reveal { transition-delay: .16s; transition-duration: .9s; }
  #estudio .home-service-note.reveal { transition-delay: .26s; transition-duration: .85s; }
  #estudio > .section-index.is-visible .index-line {
    transform-origin: left;
    animation: studio-line-in 1.2s cubic-bezier(.2, .7, .2, 1) both;
  }
  #estudio .intro-grid h2.is-visible em {
    animation: studio-word-in .9s .2s cubic-bezier(.2, .7, .2, 1) both;
  }
  #estudio .intro-grid h2.is-visible em::after {
    transform-origin: left;
    animation: studio-underline 1s .75s ease both;
  }
  #estudio .home-service-note.is-visible .note-mark .star-icon {
    animation: studio-star-turn 14s linear infinite;
  }
  #estudio .home-service-note.is-visible::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 35%, rgba(229,170,191, .1) 50%, transparent 65%);
    transform: translateX(-130%);
    animation: none;
    content: "";
    pointer-events: none;
  }
  #estudio .home-service-note.is-visible > a .arrow-icon {
    animation: studio-arrow-nudge 3.5s 1s ease-in-out infinite;
  }
  #estudio .intro-text .text-link .arrow-icon { transition: transform .3s ease; }
  #estudio .intro-text .text-link:hover .arrow-icon { transform: translateX(5px); }
}
/* ===== ANIMACIÓN: studio-line-in ===== */

@keyframes studio-line-in {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}
/* ===== ANIMACIÓN: studio-word-in ===== */

@keyframes studio-word-in {
  from { opacity: 0; transform: translateY(18px) rotate(-5deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}
/* ===== ANIMACIÓN: studio-underline ===== */

@keyframes studio-underline {
  from { transform: rotate(-3deg) scaleX(0); }
  to { transform: rotate(-3deg) scaleX(1); }
}
/* ===== ANIMACIÓN: studio-star-turn ===== */

@keyframes studio-star-turn { to { transform: rotate(360deg); } }
/* ===== ANIMACIÓN: studio-light-pass ===== */

@keyframes studio-light-pass {
  0%, 30% { transform: translateX(-130%); }
  65%, 100% { transform: translateX(130%); }
}
/* ===== ANIMACIÓN: studio-arrow-nudge ===== */

@keyframes studio-arrow-nudge {
  0%, 70%, 100% { transform: translate(0, 0); }
  80% { transform: translate(3px, -3px); }
  90% { transform: translate(0, 0); }
}
/* ===== Variables generales: colores, tipografías y medidas ===== */

/* ===== Menú principal y navegación ===== */

.status-dot, .nav-link.is-active::before { box-shadow: none; }
/* ===== Cuestionario y campos del formulario ===== */

.page-heading > .eyebrow::before,
.questionnaire-intro > .eyebrow::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: none;
  content: "";
}
.home-hero h1 em,
.page-heading h1 em,
.questionnaire-intro h1 em,
#estudio h2 em,
.about-copy h2 em,
.process-grid h2 em { text-shadow: none; }
/* ===== Footer, contacto y redes sociales ===== */

.footer-questionnaire .arrow-icon { filter: none; }
.text-link, .footer-questionnaire { transition: color .25s ease, text-shadow .25s ease, border-color .25s ease; }
.text-link:hover, .text-link:focus-visible,
.footer-questionnaire:hover, .footer-questionnaire:focus-visible { text-shadow: none; }
/* ===== Cuestionario y campos del formulario ===== */

.project-form input:not([type="checkbox"]):focus,
.project-form select:focus,
.project-form textarea:focus { border-color: var(--pink); box-shadow: none; }
/* ===== RESPONSIVE / PREFERENCIAS: @media (prefers-reduced-motion: no-preference) ===== */

@media (prefers-reduced-motion: no-preference) {
  .status-dot { animation: none; }
}
/* Acentos de color sin brillo. */


/* ===== Inicio: qué necesitas crear ===== */


/* Accesos según lo que quiere crear cada persona. */
.creation-section { padding: 65px 0 10px; }
.creation-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 30px 0; }
.creation-heading h2 { margin: 0; max-width: 440px; font-family: var(--serif); font-size: clamp(36px, 4.5vw, 57px); font-weight: 500; letter-spacing: -.05em; line-height: 1.1; }
.creation-heading > p { max-width: 270px; margin: 0; color: var(--muted); font-size: 13px; }
.creation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.creation-card { --creation-accent: #d2b8c8; position: relative; display: flex; flex-direction: column; align-items: start; padding: 26px; border: 1px solid var(--line); border-radius: 5px 23px 5px 5px; background: rgba(255, 255, 255, .018); transition: border-color .25s ease, background .25s ease; }
.creation-card:nth-child(2) { --creation-accent: #e5aabf; }
.creation-card:nth-child(3) { --creation-accent: #cfbac7; }
.creation-card:nth-child(4) { --creation-accent: #eccdd8; }
.creation-icon { width: 34px; height: 34px; margin-bottom: 23px; fill: none; stroke: var(--creation-accent); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.creation-card h3 { margin: 0 0 9px; font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -.025em; }
.creation-card > p { flex: 1; margin: 0 0 24px; color: var(--muted); font-size: 12px; }
.creation-next { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; color: var(--creation-accent); font-size: 11px; }
.creation-next .arrow-icon { transition: transform .25s ease; }
.creation-card:hover { border-color: var(--creation-accent); background: rgba(229,170,191, .04); }
/* ===== RESPONSIVE / PREFERENCIAS: @media (hover: hover) and (prefers-reduced-motion: no-preference) ===== */

@media (hover: hover) and (prefers-reduced-motion: no-preference) { .creation-card:hover .arrow-icon { transform: translate(3px, -3px); } }
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 560px) ===== */

@media (max-width: 560px) {
  .creation-section { padding-top: 46px; }
  .creation-heading { align-items: start; flex-direction: column; gap: 17px; }
  .creation-heading > p { max-width: 330px; }
  .creation-grid { grid-template-columns: minmax(0, 1fr); }
  .creation-card { padding: 23px; }
}
/* ===== Footer, contacto y redes sociales ===== */


/* Contacto y preguntas frecuentes en el footer. */
.footer-center { display: flex; flex-direction: column; align-items: center; gap: 9px; grid-column: 2; grid-row: 1 / 3; }
.footer-center .footer-questionnaire { margin: 0; }
.footer-faq { color: var(--muted); font-size: 11px; text-align: center; transition: color .2s ease; }
.footer-faq:hover, .footer-faq[aria-current="page"] { color: var(--pink-light); }
.social-links .whatsapp-link svg path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* ===== Bloque para solicitar presupuesto ===== */

.budget-request { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 50px; padding: 42px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.budget-request h2 { margin: 0 0 17px; font-family: var(--serif); font-size: clamp(36px, 4.5vw, 55px); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; }
.budget-request h2 em { text-shadow: none; }
.budget-request div > p:last-child { max-width: 450px; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.budget-request > .button { flex-shrink: 0; }
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 800px) ===== */

@media (max-width: 800px) {
  .budget-request { align-items: flex-start; flex-direction: column; gap: 23px; }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 560px) ===== */

@media (max-width: 560px) {
  .footer-center { grid-column: 1 / -1; grid-row: 3; margin-top: 4px; }
  .budget-request { margin-top: 35px; padding-block: 31px; }
}
/* ===== Carrusel de ideas del inicio ===== */


/* Carrusel de ideas: situaciones reales, con el lenguaje visual del estudio. */
.idea-carousel { padding: 62px 0 20px; }
.idea-carousel-heading { margin: 33px 0 23px; text-align: center; }
.idea-carousel-heading h2 { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(39px, 5vw, 61px); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; }
.idea-carousel-heading h2 em { text-shadow: none; }
.idea-carousel-heading > p:last-child { color: var(--muted); font-size: 13px; }
.idea-carousel-track { position: relative; display: flex; align-items: stretch; gap: 21px; padding: 20px 12px 26px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: 12px; scrollbar-width: none; overscroll-behavior-x: contain; }
.idea-carousel-track::-webkit-scrollbar { display: none; }
.idea-slide { --slide-bg: #493943; --slide-text: #f4f0e8; position: relative; isolation: isolate; display: flex; flex: 0 0 calc((100% - 42px) / 3); min-width: 0; flex-direction: column; align-items: start; min-height: 310px; padding: 23px; border: 1px solid rgba(244, 240, 232, .16); border-radius: 4px 24px 4px 4px; background: var(--slide-bg); color: var(--slide-text); scroll-snap-align: start; overflow: hidden; transition: box-shadow .25s ease; }
.idea-slide:nth-child(3n + 2) { --slide-bg: #e5aabf; --slide-text: #30252c; }
.idea-slide:nth-child(3n) { --slide-bg: #66505e; }
.idea-slide::before { content:none; }
.idea-slide-number { opacity: .65; font-family: var(--mono); font-size: 8px; letter-spacing: .07em; }
.idea-slide-symbol { width: 38px; height: 38px; margin: 25px 0; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.idea-slide h3 { margin: 0 0 17px; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.18; }
.idea-slide > p { flex: 1; margin-bottom: 22px; opacity: .8; font-size: 12px; line-height: 1.7; }
.idea-slide-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; padding-top: 12px; border-top: 1px solid currentColor; font-size: 10px; }
.idea-carousel-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding: 0 12px; }
.idea-carousel-controls { display: flex; align-items: center; gap: 15px; }
.idea-carousel-controls[hidden] { display: none; }
.idea-carousel-controls button { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--pink); cursor: pointer; }
.idea-carousel-controls button:hover:not(:disabled) { border-color: var(--pink); background: rgba(229,170,191, .08); }
.idea-carousel-controls button:disabled { opacity: .3; cursor: default; }
.idea-carousel-position { min-width: 48px; color: var(--muted); font-family: var(--mono); font-size: 9px; }
/* ===== RESPONSIVE / PREFERENCIAS: @media (hover: hover) and (prefers-reduced-motion: no-preference) ===== */

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .idea-slide-symbol { transition: transform .35s ease; }
  .idea-slide:hover .idea-slide-symbol { transform: rotate(-10deg); }
  .idea-slide:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, .22); }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 1100px) ===== */

@media (max-width: 1100px) { .idea-slide { flex-basis: calc((100% - 21px) / 2); } }
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 560px) ===== */

@media (max-width: 560px) {
  .idea-carousel { padding-top: 43px; }
  .idea-carousel-track { gap: 15px; padding-inline: 6px; scroll-padding-inline: 6px; }
  .idea-slide { flex-basis: 85%; min-height: 315px; padding: 24px; }
  .idea-slide h3 { font-size: 29px; }
  .idea-carousel-bottom { padding-inline: 6px; }
}
/* ===== Carrusel de ideas del inicio ===== */


/* Tira continua de pequeñas tarjetas inclinadas. */
.idea-carousel-window {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 14px 0;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.idea-carousel-window::-webkit-scrollbar { display: none; }
.idea-carousel.is-looping .idea-carousel-window { overflow-x: hidden; }
.idea-carousel .idea-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: max-content;
  padding: 17px 0 25px;
  overflow: visible;
  scroll-snap-type: none;
}
.idea-carousel-group { display: flex; align-items: stretch; gap: 18px; padding-right: 18px; flex-shrink: 0; }
.idea-carousel-copy { display: none; }
.idea-carousel.is-looping .idea-carousel-copy { display: flex; }
.idea-carousel .idea-slide {
  flex: 0 0 205px;
  width: 205px;
  min-height: 228px;
  padding: 19px;
  border-radius: 5px 16px 5px 5px;
  rotate: -4deg;
  scroll-snap-align: none;
}
.idea-carousel .idea-slide:nth-child(4n + 2) { rotate: 3deg; translate: 0 -3px; }
.idea-carousel .idea-slide:nth-child(4n + 3) { rotate: -2deg; translate: 0 5px; }
.idea-carousel .idea-slide:nth-child(4n) { rotate: 5deg; translate: 0 -2px; }
.idea-carousel .idea-slide-symbol { width: 28px; height: 28px; margin: 18px 0; }
.idea-carousel .idea-slide h3 { margin-bottom: 20px; font-size: 23px; line-height: 1.2; }
.idea-carousel .idea-slide > p { display: none; }
.idea-carousel .idea-slide-link { margin-top: auto; padding-top: 10px; font-size: 9px; }
.idea-carousel .idea-slide-number { font-size: 7px; }
.idea-carousel .idea-carousel-controls .idea-motion-toggle { display: inline-flex; align-items: center; justify-content: center; width: auto; height: auto; min-height: 35px; padding: 8px 13px; border-radius: 99px; color: var(--muted); font-size: 10px; }
/* ===== RESPONSIVE / PREFERENCIAS: @media (prefers-reduced-motion: no-preference) ===== */

@media (prefers-reduced-motion: no-preference) {
  .idea-carousel.is-looping .idea-carousel-track { animation: ideas-continuous-scroll 45.4545s linear infinite; }
  .idea-carousel.is-paused .idea-carousel-track,
  .idea-carousel .idea-carousel-window:focus-within .idea-carousel-track { animation-play-state: paused; }
}
/* ===== ANIMACIÓN: ideas-continuous-scroll ===== */

@keyframes ideas-continuous-scroll { to { transform: translateX(calc(-1 * var(--ideas-distance, 892px))); } }
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 560px) ===== */

@media (max-width: 560px) {
  .idea-carousel .idea-slide { flex-basis: 180px; width: 180px; min-height: 218px; padding: 17px; }
  .idea-carousel .idea-slide h3 { font-size: 21px; }
  .idea-carousel-group { gap: 15px; padding-right: 15px; }
}
/* ===== Inicio: el estudio / quiénes somos ===== */


/* Quiénes somos, identidad completa y proceso en el inicio. */
#estudio .studio-introduction { margin: 30px 0 -18px; }
/* ===== Inicio: identidad de marca de principio a fin ===== */

.brand-universe { padding: 65px 0 24px; }
.brand-universe-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 7%; margin-top: 40px; }
.brand-universe-copy h2, .workflow-heading h2 { margin: 0 0 22px; font-family: var(--serif); font-size: clamp(38px, 4.6vw, 61px); font-weight: 500; letter-spacing: -.05em; line-height: 1.08; }
.brand-universe-copy h2 em, .workflow-heading h2 em { text-shadow: none; }
.brand-universe-copy > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.9; }
.brand-touchpoints { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 25px 0 28px; list-style: none; }
.brand-touchpoints li { padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; color: #d4c9ce; font-size: 10px; }
.brand-universe-copy .text-link { font-size: 11px; }
.brand-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.brand-piece { position: relative; isolation: isolate; min-width: 0; min-height: 120px; padding: 15px; border: 1px solid var(--line); border-radius: 3px; }
.brand-piece-label { position: relative; z-index: 2; display: block; font-family: var(--mono); font-size: 7px; letter-spacing: .05em; text-transform: uppercase; }
.brand-piece-caption { display: block; font-size: 8px; opacity: .7; }
.piece-logo { grid-column: span 2; display: flex; flex-direction: column; background: #493943; }
.brand-demo-logo { margin: auto 0; padding: 15px 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 39px); font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.brand-demo-logo > span { color: var(--pink); }
.piece-palette { padding: 15px 10px; background: rgba(255, 255, 255, .02); }
.brand-swatches { display: flex; height: 55px; margin-top: 19px; }
.brand-swatches > span { flex: 1; background: var(--pink); }
.brand-swatches > span:nth-child(2) { background: var(--cream); }
.brand-swatches > span:nth-child(3) { background: #493943; }
.piece-type { display: flex; flex-direction: column; justify-content: space-between; background: var(--cream); color: var(--ink); }
.brand-demo-type { align-self: center; font-family: var(--serif); font-size: 60px; letter-spacing: -.08em; line-height: 1.1; }
.piece-cards { grid-column: span 2; min-height: 155px; overflow: hidden; background: #302c30; }
.brand-business-card { position: absolute; width: 70%; min-height: 75px; padding: 12px; font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.card-back { top: 36px; right: 8px; transform: rotate(9deg); background: #66505e; color: var(--cream); font-size: 13px; }
.card-front { top: 64px; left: 11px; transform: rotate(-7deg); background: var(--pink); color: var(--ink); box-shadow: 0 7px 12px rgba(0, 0, 0, .2); }
.card-front > span { color: var(--cream); }
.card-front small { display: block; margin-top: 9px; font-family: var(--sans); font-size: 7px; }
.piece-poster { display: flex; flex-direction: column; justify-content: space-between; min-height: 175px; background: var(--pink); color: var(--ink); }
.brand-demo-poster { padding-block: 16px; font-family: var(--serif); font-size: clamp(19px, 2.2vw, 29px); letter-spacing: -.04em; line-height: .98; }
.brand-demo-poster em { color: var(--cream); }
.piece-web { grid-column: span 2; background: rgba(255, 255, 255, .02); }
.brand-browser { overflow: hidden; margin-top: 15px; border: 1px solid var(--line); border-radius: 4px; }
.brand-browser-bar { display: flex; align-items: center; gap: 3px; padding: 6px; border-bottom: 1px solid var(--line); }
.brand-browser-bar i { width: 3px; height: 3px; border-radius: 50%; background: var(--pink); }
.brand-browser-bar > span { margin-left: auto; color: var(--muted); font-size: 6px; }
.brand-browser-content { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: start; gap: 11px; padding: 14px 10px; }
.brand-browser-content > span:first-child { font-family: var(--serif); font-size: 11px; }
.brand-browser-content > strong { font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.brand-browser-content strong em { color: var(--pink); }
.brand-browser-button { padding: 4px 5px; background: var(--pink); color: var(--ink); font-size: 5px; }
.brand-browser-orbit { position: absolute; z-index: -1; width: 90px; height: 45px; right: -35px; top: 35px; border: 1px solid var(--pink); border-radius: 50%; transform: rotate(-40deg); opacity: .5; }
.brand-universe-closing { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 28px 0 0; color: var(--muted); font-family: var(--serif); font-size: 14px; font-style: italic; }
.brand-universe-closing .arrow-icon { color: var(--pink); }
/* ===== Inicio: vídeo y proceso de trabajo ===== */

.home-workflow { padding: 60px 0 10px; }
.workflow-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin: 35px 0; }
.workflow-heading h2 { margin: 0; }
.workflow-heading > p { max-width: 280px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.workflow-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 7%; }
.workflow-film { margin: 0; padding: 13px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255, 255, 255, .02); }
.workflow-film-heading { display: flex; align-items: center; gap: 8px; padding: 0 0 12px; color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .04em; }
.workflow-record-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--pink); box-shadow: none; }
.workflow-film video { display: block; width: 100%; height: auto; max-height: 570px; background: #211f21; object-fit: contain; border-radius: 2px; }
.workflow-film figcaption { padding: 12px 0 0; color: var(--muted); font-family: var(--serif); font-size: 12px; font-style: italic; }
.workflow-steps { margin: 0; padding: 0; list-style: none; }
.workflow-step { position: relative; display: grid; grid-template-columns: 33px minmax(0, 1fr); gap: 16px; padding: 6px 0 28px; }
.workflow-step:not(:last-child)::after { position: absolute; left: 16px; top: 43px; bottom: 9px; width: 1px; background: linear-gradient(var(--pink), var(--line)); opacity: .45; content: ''; }
.workflow-step-number { position: relative; z-index: 1; display: grid; width: 33px; height: 33px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--pink); font-family: var(--mono); font-size: 9px; }
.workflow-step .eyebrow { margin: 0 0 9px; font-size: 8px; }
.workflow-step h3 { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(23px, 2.5vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.workflow-step div > p:last-child { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
/* ===== RESPONSIVE / PREFERENCIAS: @media (prefers-reduced-motion: no-preference) ===== */

@media (prefers-reduced-motion: no-preference) {
  .brand-piece.reveal:nth-child(2n) { transition-delay: .12s; }
  .brand-piece.reveal:nth-child(3n) { transition-delay: .2s; }
  .brand-piece.is-visible .brand-demo-logo { animation: brand-piece-in .8s .2s ease both; }
  .brand-piece.is-visible .brand-swatches > span { transform-origin: bottom; animation: brand-swatch-in .65s ease both; }
  .brand-piece.is-visible .brand-swatches > span:nth-child(2) { animation-delay: .12s; }
  .brand-piece.is-visible .brand-swatches > span:nth-child(3) { animation-delay: .24s; }
  .brand-business-card { transition: transform .4s ease; }
  .workflow-step.is-visible .workflow-step-number { animation: workflow-node-in .8s .2s ease both; }
  .workflow-step.is-visible::after { transform-origin: top; animation: workflow-line-in .85s .3s ease both; }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (hover: hover) and (prefers-reduced-motion: no-preference) ===== */

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .piece-cards:hover .card-front { transform: translateY(-4px) rotate(-3deg); }
  .piece-cards:hover .card-back { transform: translateY(-3px) rotate(5deg); }
}
/* ===== ANIMACIÓN: brand-piece-in ===== */

@keyframes brand-piece-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
/* ===== ANIMACIÓN: brand-swatch-in ===== */

@keyframes brand-swatch-in { from { opacity: 0; transform: scaleY(.3); } to { opacity: 1; transform: scaleY(1); } }
/* ===== ANIMACIÓN: workflow-node-in ===== */

@keyframes workflow-node-in { from { border-color: var(--line); box-shadow: none; } to { border-color: var(--pink); box-shadow: none; } }
/* ===== ANIMACIÓN: workflow-line-in ===== */

@keyframes workflow-line-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 1100px) ===== */

@media (max-width: 1100px) {
  .brand-universe-layout { gap: 5%; }
  .brand-piece { padding: 11px; }
  .brand-piece-label { font-size: 6px; }
  .brand-piece-caption { font-size: 7px; }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 800px) ===== */

@media (max-width: 800px) {
  .brand-universe-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .brand-universe-copy > p:not(.eyebrow) { max-width: 550px; }
  .brand-board { max-width: 570px; width: 100%; justify-self: center; }
  .brand-demo-logo { font-size: 40px; }
  .brand-demo-poster { font-size: 29px; }
  .brand-piece { padding: 15px; }
  .brand-piece-label { font-size: 7px; }
  .brand-piece-caption { font-size: 8px; }
  .workflow-layout { gap: 5%; }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 560px) ===== */

@media (max-width: 560px) {
  .brand-universe { padding-top: 46px; }
  .brand-universe-layout { margin-top: 30px; }
  .brand-universe-copy h2, .workflow-heading h2 { font-size: 43px; }
  .brand-piece { padding: 10px; }
  .brand-piece-label { font-size: 6px; }
  .brand-demo-logo { font-size: 34px; }
  .brand-demo-type { font-size: 52px; }
  .brand-demo-poster { font-size: 25px; }
  .brand-piece-caption { font-size: 7px; }
  .brand-business-card { width: 76%; }
  .brand-universe-closing { align-items: start; font-size: 12px; text-align: center; }
  .home-workflow { padding-top: 45px; }
  .workflow-heading { align-items: start; flex-direction: column; gap: 18px; }
  .workflow-heading > p { max-width: 340px; }
  .workflow-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .workflow-film video { max-height: 480px; }
  .workflow-step { padding-bottom: 30px; }
}
/* ===== Inicio: proyectos favoritos y marcos Polaroid ===== */


/* Selección editorial de proyectos: imágenes, títulos y contexto unidos. */
.favorite-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 32px 0 35px; }
.favorite-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(39px, 5vw, 62px); font-weight: 500; letter-spacing: -.05em; line-height: 1.07; }
.favorite-heading h2 em { text-shadow: none; }
.favorite-heading > p { max-width: 260px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.home-project-grid.favorite-project-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; align-items: stretch; gap: 20px; margin-top: 0; }
.favorite-project { --favorite-bg: #493943; --favorite-text: #f4f0e8; display: flex; flex-direction: column; min-width: 0; padding: 17px; border: 1px solid rgba(244, 240, 232, .13); border-radius: 4px 24px 4px 4px; background: var(--favorite-bg); color: var(--favorite-text); }
.favorite-project:first-child { grid-row: 1 / 3; }
.favorite-project:nth-child(2) { --favorite-bg: #e5aabf; --favorite-text: #30252c; }
.favorite-card-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; font-family: var(--mono); font-size: 8px; letter-spacing: .03em; }
.favorite-project-tag { padding: 3px 7px; border: 1px solid currentColor; border-radius: 99px; font-family: var(--sans); font-size: 9px; opacity: .7; }
.favorite-art { position: relative; flex: 1; display: grid; place-items: center; min-height: 150px; overflow: hidden; }
.favorite-project:first-child .favorite-art { min-height: 390px; }
.favorite-project .favorite-art img { display: block; width: 100%; height: 185px; aspect-ratio: auto; object-fit: contain; filter: none; }
.favorite-project:first-child .favorite-art img { height: 100%; max-height: 490px; }
.home-project-card.favorite-project:hover img { transform: none; filter: none; }
.favorite-project-info { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 18px; padding-top: 15px; border-top: 1px solid currentColor; }
.favorite-project-info > div { min-width: 0; }
.favorite-project .favorite-project-info h3 { margin: 0; font-size: clamp(25px, 3vw, 34px); font-family: var(--serif); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; }
.favorite-project-info p { margin: 8px 0 0; opacity: .8; font-size: 11px; }
.favorite-project-open { display: grid; width: 34px; height: 34px; flex-shrink: 0; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.favorite-projects-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 17px; margin-top: 25px; }
.favorite-projects-bottom > span { color: var(--muted); font-family: var(--serif); font-size: 14px; font-style: italic; }
.favorite-projects-bottom .text-link { font-size: 11px; }
/* ===== RESPONSIVE / PREFERENCIAS: @media (hover: hover) and (prefers-reduced-motion: no-preference) ===== */

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .favorite-project .favorite-art img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
  .favorite-project-open .arrow-icon { transition: transform .3s ease; }
  .home-project-card.favorite-project:hover .favorite-art img { transform: scale(1.035); }
  .favorite-project:hover .favorite-project-open .arrow-icon { transform: translate(2px, -2px); }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 560px) ===== */

@media (max-width: 560px) {
  .favorite-heading { align-items: start; flex-direction: column; gap: 20px; margin-block: 28px; }
  .favorite-heading > p { max-width: 340px; }
  .home-project-grid.favorite-project-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 20px; }
  .favorite-project:first-child { grid-row: auto; }
  .favorite-project .favorite-art, .favorite-project:first-child .favorite-art { min-height: 0; }
  .favorite-project .favorite-art img, .favorite-project:first-child .favorite-art img { height: auto; max-height: 350px; width: 100%; aspect-ratio: auto; object-fit: contain; }
  .favorite-project .favorite-project-info h3 { font-size: 30px; }
}
/* ===== Inicio: proyectos favoritos y marcos Polaroid ===== */


/* Favoritos conectados con la identidad de cada categoría de servicios. */
.favorite-project[data-category="branding"] {
  --favorite-bg: #493943;
  --favorite-text: #f4f0e8;
  --favorite-orbit-angle: -32deg;
}
.favorite-project[data-category="diseno-grafico"] {
  --favorite-bg: #e5aabf;
  --favorite-text: #30252c;
  --favorite-orbit-angle: 32deg;
}
.favorite-project[data-category="ilustracion"] {
  --favorite-bg: #66505e;
  --favorite-text: #f4f0e8;
  --favorite-orbit-angle: -32deg;
}
.favorite-project[data-category="web"] {
  --favorite-bg: #eccdd8;
  --favorite-text: #30252c;
  --favorite-orbit-angle: 32deg;
}
.favorite-project[data-category] {
  --photo-angle: -3deg;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--favorite-bg);
  color: var(--favorite-text);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}
.favorite-project[data-category]:nth-child(2) { --photo-angle: 3deg; }
.favorite-project[data-category]:nth-child(3) { --photo-angle: -2deg; }
.favorite-project[data-category]::before {
  position: absolute;
  z-index: -1;
  top: 63px;
  right: -70px;
  width: 260px;
  height: 110px;
  border: 1px solid currentColor;
  border-radius: 50%;
  rotate: var(--favorite-orbit-angle);
  opacity: .18;
  content: '';
  pointer-events: none;
}
.favorite-project[data-category]::after {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 11px;
  height: 11px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  opacity: .5;
  content: '';
  pointer-events: none;
}
.favorite-project[data-category] .favorite-art { overflow: visible; padding: 12px 6px; }
.favorite-project[data-category] .favorite-art img {
  width: 94%;
  rotate: var(--photo-angle);
  box-shadow: 0 9px 17px rgba(0, 0, 0, .18);
}
.favorite-project[data-category] .favorite-art::after {
  position: absolute;
  right: 3px;
  bottom: 2px;
  color: var(--favorite-text);
  font-family: var(--mono);
  font-size: 21px;
  line-height: 1;
  opacity: .65;
  content: '+';
  pointer-events: none;
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (prefers-reduced-motion: no-preference) ===== */

@media (prefers-reduced-motion: no-preference) {
  .favorite-project[data-category].is-visible::before { animation: favorite-orbit-glow 6s ease-in-out infinite; }
  .favorite-project[data-category].is-visible .favorite-art::after { animation: favorite-detail-turn 18s linear infinite; }
  .favorite-project[data-category]:nth-child(2)::before { animation-delay: -2s; }
  .favorite-project[data-category]:nth-child(3)::before { animation-delay: -4s; }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (hover: hover) and (prefers-reduced-motion: no-preference) ===== */

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .favorite-project[data-category] .favorite-art img { transition: rotate .5s ease, transform .5s ease, box-shadow .5s ease; }
  .favorite-project[data-category]:hover .favorite-art img {
    rotate: calc(var(--photo-angle) * .4);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 24px rgba(0, 0, 0, .24);
  }
  .favorite-project[data-category]:hover::after { opacity: 1; }
}
/* ===== ANIMACIÓN: favorite-orbit-glow ===== */

@keyframes favorite-orbit-glow {
  0%, 100% { opacity: .12; }
  50% { opacity: .3; }
}
/* ===== ANIMACIÓN: favorite-detail-turn ===== */

@keyframes favorite-detail-turn { to { transform: rotate(360deg); } }
/* ===== Inicio: vídeo y proceso de trabajo ===== */


/* El vídeo conserva su formato vertical real (576 × 1024), sin bandas del reproductor. */
.workflow-film {
  width: min(100%, 360px);
  justify-self: center;
}
.workflow-film video {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: transparent;
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 560px) ===== */

@media (max-width: 560px) {
  .workflow-film { width: min(100%, 330px); }
  .workflow-film video { max-height: none; }
}
/* ===== Inicio: proyectos favoritos y marcos Polaroid ===== */


/* Fotografías favoritas con marco Polaroid y la imagen a sangre dentro. */
.favorite-project[data-category] .favorite-art {
  flex: 0 0 auto;
  display: block;
  min-height: 0;
  margin: 9px 10px 14px;
  padding: 10px 10px 31px;
  background: var(--paper);
  box-shadow: 0 9px 17px rgba(0, 0, 0, .18);
  rotate: var(--photo-angle);
}
.favorite-project[data-category] .favorite-art img,
.favorite-project[data-category]:first-child .favorite-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  rotate: 0deg;
  box-shadow: none;
  transform: none;
}
.favorite-project[data-category]:first-child .favorite-art img { aspect-ratio: 4 / 5; }
.favorite-project[data-category] .favorite-art::after {
  right: 13px;
  bottom: 8px;
  color: #a48a96;
  font-size: 14px;
}
.favorite-project[data-category] .favorite-project-info { margin-top: auto; }
/* ===== RESPONSIVE / PREFERENCIAS: @media (hover: hover) and (prefers-reduced-motion: no-preference) ===== */

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .favorite-project[data-category] .favorite-art { transition: rotate .5s ease, transform .5s ease, box-shadow .5s ease; }
  .favorite-project[data-category]:hover .favorite-art {
    rotate: calc(var(--photo-angle) * .4);
    transform: translateY(-4px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, .24);
  }
  .favorite-project[data-category]:hover .favorite-art img { rotate: 0deg; transform: none; box-shadow: none; }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 560px) ===== */

@media (max-width: 560px) {
  .favorite-project[data-category] .favorite-art { margin-inline: 6px; margin-bottom: 21px; padding: 9px 9px 29px; }
  .favorite-project[data-category] .favorite-art img,
  .favorite-project[data-category]:first-child .favorite-art img { aspect-ratio: 1 / 1; max-height: none; }
}
/* ===== Selector de idioma ===== */


/* Idioma y acceso al proceso: mismos estilos en cada página. */
.language-switcher{grid-column:1/-1;grid-row:4;justify-self:center;display:flex;align-items:center;gap:8px;margin-top:8px}
.language-switcher a{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid var(--line);border-radius:99px;color:var(--muted);font-size:10px}
.language-switcher a[aria-current="true"]{border-color:var(--pink);color:var(--cream)}
.language-switcher svg{width:20px;height:14px;display:block;border-radius:2px;flex-shrink:0}
/* ===== Footer, contacto y redes sociales ===== */

.footer-process{color:var(--muted);font-size:11px}.footer-process:hover{color:var(--pink)}
/* ===== Cuestionario y campos del formulario ===== */

.project-form .form-honeypot{display:none}.form-submit:disabled{opacity:.65;cursor:wait}.form-status.is-error{margin-top:15px;color:#f4cad4}
/* ===== RESPONSIVE / PREFERENCIAS: @media(max-height:700px) and (min-width:801px) ===== */

@media(max-height:700px) and (min-width:801px){.side-nav{top:130px;transform:none}.nav-note{margin-top:15px}}
/* ===== Inicio: recorrido del cliente ===== */

.client-journey{display:grid;grid-template-columns:1.2fr .8fr;gap:8%;align-items:center;margin-top:55px;padding:35px 0;border-top:1px solid var(--line)}
.client-journey h2{margin:0 0 18px;font-family:var(--serif);font-size:clamp(36px,4vw,53px);font-weight:500;letter-spacing:-.045em;line-height:1.1}
.client-journey div>p:not(.eyebrow){max-width:460px;color:var(--muted);font-size:13px;line-height:1.85}.client-journey .text-link{font-size:12px}
.client-journey ol{margin:0;padding:0;list-style:none}.client-journey li{display:flex;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid var(--line);font-family:var(--serif);font-size:20px}.client-journey li span{color:var(--pink);font-family:var(--mono);font-size:9px}
/* ===== RESPONSIVE / PREFERENCIAS: @media(max-width:560px) ===== */

@media(max-width:560px){.client-journey{grid-template-columns:minmax(0,1fr);gap:25px}}
/* Video de la tarjeta en la presentacion del inicio. */
.hero-video::before, .hero-video::after { content: none; }
.hero-video img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }

/* Acceso directo a Sobre nosotros */
.studio-invitation { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 58px; padding: 30px 0; border-bottom: 1px solid var(--pink); color: var(--cream); }
.studio-invitation-title { font-family: var(--serif); font-size: clamp(32px, 5vw, 64px); line-height: 1.15; letter-spacing: -.04em; }
.studio-invitation-title em { color: var(--pink); font-weight: inherit; }
.studio-invitation-arrow { width: clamp(32px, 5vw, 58px); height: auto; flex-shrink: 0; fill: none; stroke: var(--pink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.studio-invitation:hover, .studio-invitation:focus-visible { color: var(--pink); }
@media (prefers-reduced-motion: no-preference) {
  .studio-invitation { transition: color .25s ease; }
  .studio-invitation-arrow { transition: transform .25s ease; }
  .studio-invitation:hover .studio-invitation-arrow, .studio-invitation:focus-visible .studio-invitation-arrow { transform: translate(4px, -4px); }
}
@media (max-width: 560px) {
  .studio-invitation { margin-top: 36px; padding-block: 24px; gap: 16px; }
}
/* Cielo decorativo y acceso con el mismo brillo rosa del resto del inicio. */
.studio-sky { display: flex; align-items: center; justify-content: space-between; height: 96px; margin: 20px 8% 0 17%; pointer-events: none; }
.studio-cloud { width: 112px; height: 64px; fill: var(--cream); transform: rotate(-8deg); filter: none; }
.studio-moon { width: 49px; height: 58px; fill: var(--cream); transform: rotate(12deg); filter: none; }
#estudio .studio-invitation { margin-top: 10px; }
.studio-invitation-title { text-shadow: none; }
.studio-invitation-title em { text-shadow: none; }
.studio-invitation-arrow { filter: none; }
@media (max-width: 560px) {
  .studio-sky { height: 76px; margin: 12px 5% 0 9%; }
  .studio-cloud { width: 86px; height: 50px; }
  .studio-moon { width: 38px; height: 46px; }
}
/* El titulo puede ajustarse sin desplazar la flecha en pantallas estrechas. */
.studio-invitation-title { min-width: 0; }


/* Texto ampliado del estudio: columnas equilibradas y lectura fluida. */
#estudio .intro-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(28px, 5vw, 64px); }
#estudio .intro-text { min-width: 0; max-width: 58ch; }
#estudio .intro-text p { margin: 0 0 18px; line-height: 1.8; }
#estudio .intro-text p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  #estudio .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  #estudio .intro-text { max-width: 65ch; }
}

/* El estudio: reparto compacto adaptado al texto actual. */
#estudio { padding-block: 64px 36px; }
#estudio .studio-introduction { margin: 24px 0 0; }
#estudio .intro-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(28px, 4vw, 56px); margin-top: 28px; }
#estudio .studio-heading { min-width: 0; }
#estudio .studio-heading h2 { font-size: clamp(36px, 4vw, 56px); }
#estudio .studio-sky { justify-content: flex-start; height: auto; margin: 20px 0 16px; }
#estudio .studio-cloud { width: 68px; height: 40px; }
#estudio .studio-invitation { margin-top: 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom-color: var(--line); }
#estudio .studio-invitation-title { font-size: clamp(25px, 2.6vw, 36px); text-shadow: none; }
#estudio .studio-invitation-title em { text-shadow: none; }
#estudio .studio-invitation-arrow { width: 28px; filter: none; }
#estudio .intro-text { max-width: 60ch; padding-top: 0; }
#estudio .intro-text p { margin: 0 0 16px; font-size: 14px; line-height: 1.75; }
#estudio .intro-text p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  #estudio { padding-block: 44px 28px; }
  #estudio .intro-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; }
  #estudio .studio-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; }
  #estudio .studio-heading h2 { font-size: clamp(34px, 6vw, 46px); }
  #estudio .studio-sky { margin: 0; }
  #estudio .studio-invitation { grid-column: 1 / -1; }
  #estudio .intro-text { max-width: 65ch; }
}

/* Acceso amplio bajo el contenido y pequenos detalles celestes. */
#estudio > .studio-invitation { margin-top: 32px; padding-block: 24px; border-top-color: var(--pink); border-bottom-color: var(--pink); gap: 20px; }
#estudio > .studio-invitation .studio-invitation-title { font-size: clamp(40px, 6.5vw, 88px); line-height: 1.1; }
#estudio > .studio-invitation .studio-invitation-arrow { width: clamp(32px, 5vw, 64px); }
#estudio .studio-sky { position: relative; justify-content: space-between; gap: 16px; max-width: 330px; margin: 28px 0 4px; min-height: 80px; }
#estudio .studio-planet { width: 100px; height: 80px; }
#estudio .studio-sparkle-one { align-self: flex-start; width: 20px; height: 20px; }
#estudio .studio-sparkle-two { align-self: flex-end; width: 14px; height: 14px; }
@media (prefers-reduced-motion: no-preference) {
  #estudio .studio-planet { animation: celestial-float 9s ease-in-out infinite; animation-delay: -2s; }
  #estudio .studio-sparkle-two { animation-delay: -2.5s; }
}
@media (max-width: 760px) {
  #estudio .studio-heading { display: block; }
  #estudio .studio-sky { max-width: 280px; min-height: 60px; margin-top: 24px; }
  #estudio .studio-planet { width: 80px; height: 64px; }
  #estudio > .studio-invitation { margin-top: 24px; padding-block: 20px; }
}

/* Four starting points, with the full description visible on each card. */
.idea-carousel .idea-slide > p { display: block; margin-bottom: 24px; font-size: 12px; line-height: 1.7; }
.idea-carousel .idea-slide { min-height: 350px; }
@media (max-width: 560px) { .idea-carousel .idea-slide { min-height: 340px; width: 240px; flex-basis: 240px; } }

/* Shared charcoal palette on every home card. */
.idea-carousel .idea-slide:nth-child(n) {
  --slide-bg:var(--ink); --slide-text:var(--cream);
  background:var(--ink); color:var(--cream); border-color:rgba(229,170,191,.5);
}
.idea-carousel .idea-slide h3 { color:var(--cream); }
.idea-carousel .idea-slide-symbol,.idea-carousel .idea-slide-link { color:var(--pink-light); }
html.idea-detail-open { overflow:hidden; }
.idea-detail-dialog {
  position:fixed; width:min(520px,92vw); max-height:85dvh; overflow:auto;
  padding:38px 30px; border:1px solid var(--pink); border-radius:22px;
  background:#302e30; color:var(--cream); box-shadow:0 24px 70px rgba(0,0,0,.4);
}
.idea-detail-dialog::backdrop { background:rgba(0,0,0,.65); backdrop-filter:blur(5px); }
.idea-detail-close {
  position:absolute; right:14px; top:14px; display:grid; place-items:center;
  width:38px; height:38px; border:1px solid var(--pink); border-radius:50%;
  background:transparent; color:var(--pink-light); cursor:pointer;
}
.idea-detail-close svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.5; }
.idea-detail-dialog .idea-slide-number { color:var(--pink-light); font-size:10px; }
.idea-detail-dialog .idea-slide-symbol { display:block; width:38px; height:38px; margin:30px 0; color:var(--pink-light); fill:none; stroke:currentColor; stroke-width:1.2; }
.idea-detail-dialog h3 { margin:0 0 22px; font-family:var(--sans); font-size:clamp(28px,5vw,40px); line-height:1.15; letter-spacing:-.04em; }
.idea-detail-dialog p { color:#d0c9c6; font-size:15px; line-height:1.8; }
.idea-detail-action { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:30px; padding:15px 20px; border:1px solid var(--pink); border-radius:30px; color:var(--pink-light); }
.idea-detail-action:hover,.idea-detail-close:hover { color:var(--ink); background:var(--pink); }

/* More compact carousel cards on phones. */
@media(max-width:560px) {
  .idea-carousel .idea-slide { width:210px; flex-basis:210px; min-height:310px; padding:16px; }
  .idea-carousel .idea-slide h3 { font-size:20px; margin-bottom:15px; }
  .idea-carousel .idea-slide-symbol { width:24px; height:24px; margin:14px 0; }
  .idea-carousel .idea-slide > p { font-size:12px; margin-bottom:18px; }
}

/* Video ambiental: sin interaccion ni controles, tambien en movil. */
.workflow-film video { pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.workflow-film video::-webkit-media-controls,
.workflow-film video::-webkit-media-controls-enclosure { display: none !important; }
