
/* ===== 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-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; }
}
/* ===== Tarjetas, contenido y categorías de servicios ===== */



/* Catálogo creativo de servicios */
.services-catalog { padding: 8px 0 78px; }
/* ===== Elementos comunes y tipografía ===== */

.catalog-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 0 0 22px; }
/* ===== Estructura de página, títulos y secciones ===== */

.catalog-heading .eyebrow { margin: 0; }
/* ===== Elementos comunes y tipografía ===== */

.catalog-heading > span { color: #a9a19b; font-family: var(--serif); font-size: 13px; font-style: italic; }
/* ===== Tarjetas, contenido y categorías de servicios ===== */

.services-list { border-top: 1px solid var(--line); }
.service-entry { border-bottom: 1px solid var(--line); transition: background .3s ease; }
.service-entry > summary { display: grid; grid-template-columns: 32px minmax(0, 1fr) 96px 32px; align-items: center; gap: 22px; padding: 30px 18px 30px 0; list-style: none; cursor: pointer; }
.service-entry > summary::-webkit-details-marker { display: none; }
.service-number { align-self: start; padding-top: 9px; color: var(--pink); font-family: var(--mono); font-size: 10px; }
.service-title-group { display: flex; flex-direction: column; gap: 9px; }
.service-title { color: var(--cream); font-family: var(--serif); font-size: clamp(27px, 3.3vw, 43px); font-weight: 500; letter-spacing: -.045em; line-height: 1.15; transition: color .25s ease; }
.service-tagline { color: #a9a19b; font-size: 12px; }
.service-toggle { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--pink); font-size: 22px; font-weight: 400; line-height: 1; transition: transform .3s ease, background .3s ease, color .3s ease; }
.service-entry > summary:hover .service-title, .service-entry[open] .service-title { color: var(--pink-light); }
.service-entry > summary:hover .service-toggle, .service-entry[open] .service-toggle { background: var(--pink); color: var(--ink); }
.service-entry[open] { background: rgba(229,170,191, .045); }
.service-entry[open] .service-toggle { transform: rotate(45deg); }
.service-symbol { position: relative; display: block; width: 80px; height: 80px; color: var(--pink); transition: transform .45s ease; }
.service-entry > summary:hover .service-symbol { transform: rotate(-9deg); }
.service-entry[open] .service-symbol { transform: rotate(9deg); }
.service-symbol > span { position: absolute; display: block; border: 1px solid currentColor; }
.symbol-brand > span { width: 49px; height: 49px; border-radius: 50%; }
.symbol-brand > span:nth-child(1) { top: 5px; left: 3px; }
.symbol-brand > span:nth-child(2) { top: 5px; right: 3px; }
.symbol-brand > span:nth-child(3) { bottom: 4px; left: 16px; background: rgba(229,170,191, .14); }
.symbol-design > span { width: 48px; height: 57px; top: 12px; left: 16px; }
.symbol-design > span:nth-child(1) { transform: rotate(-20deg); opacity: .4; }
.symbol-design > span:nth-child(2) { transform: rotate(0); opacity: .65; }
.symbol-design > span:nth-child(3) { transform: rotate(20deg); background: rgba(229,170,191, .1); }
.symbol-illustration > span { width: 25px; height: 70px; top: 5px; left: 28px; border-radius: 50%; }
.symbol-illustration > span:nth-child(2) { transform: rotate(60deg); }
.symbol-illustration > span:nth-child(3) { transform: rotate(120deg); background: rgba(229,170,191, .1); }
.symbol-web > span:nth-child(1) { inset: 12px 1px; border-radius: 5px; }
.symbol-web > span:nth-child(2) { top: 26px; left: 1px; right: 1px; height: 0; border-bottom: 0; }
.symbol-web > span:nth-child(3) { top: 37px; left: 28px; width: 27px; height: 17px; border-width: 0 1px 1px 0; transform: rotate(-45deg); }
.service-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 38px; padding: 0 24px 32px 54px; animation: content-drop .3s ease both; }
.service-tags { margin: 0 0 13px; color: var(--pink); font-family: var(--mono); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.service-description > p:not(.service-tags) { max-width: 480px; margin-bottom: 19px; color: #bdb8b1; font-size: 13px; line-height: 1.85; }
.service-description .text-link { font-size: 11px; }
.service-deliverables { align-self: start; padding-left: 22px; border-left: 1px solid var(--line); }
.service-deliverables > p { margin: 0 0 13px; color: #928982; font-family: var(--mono); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.service-deliverables ul { margin: 0; padding: 0; list-style: none; }
.service-deliverables li { position: relative; padding: 7px 0 7px 17px; color: #d2c8c2; font-size: 11px; }
.service-deliverables li::before { position: absolute; left: 0; color: var(--pink); content: '+'; }
/* ===== Elementos comunes y tipografía ===== */

.catalog-note { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 27px; }
.catalog-note > span { color: var(--pink); font-size: 26px; }
.catalog-note > p { flex: 1; margin: 0; color: #bdb8b1; font-family: var(--serif); font-size: 15px; font-style: italic; }
/* ===== Botones y enlaces ===== */

.catalog-note .text-link { font-size: 11px; }
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 800px) ===== */

@media (max-width: 800px) {
  .service-entry > summary { grid-template-columns: 25px minmax(0, 1fr) 70px 30px; gap: 14px; }
  .service-symbol { transform: scale(.8); transform-origin: center; width: 70px; }
  .service-body { padding-left: 39px; gap: 22px; }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 560px) ===== */

@media (max-width: 560px) {
  .services-catalog { padding-bottom: 52px; }
  .catalog-heading { align-items: start; flex-direction: column; gap: 8px; padding-bottom: 19px; }
  .catalog-heading > span { font-size: 12px; }
  .service-entry > summary { position: relative; grid-template-columns: 22px minmax(0, 1fr) 28px; gap: 10px; padding: 25px 8px 25px 0; }
  .service-title { font-size: clamp(25px, 7vw, 35px); }
  .service-tagline { max-width: 230px; font-size: 11px; }
  .service-number { font-size: 9px; padding-top: 5px; }
  .service-symbol { display: none; }
  .service-toggle { width: 27px; height: 27px; font-size: 20px; }
  .service-body { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 0 16px 27px 32px; }
  .service-deliverables { padding-left: 16px; }
  .catalog-note { gap: 10px; }
  .catalog-note > p { font-size: 14px; }
  .catalog-note .text-link { margin-left: 32px; }
}
/* ===== 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; }
}
/* ===== Variables generales: colores, tipografías y medidas ===== */


/* Acentos de color sin brillo. */
:root {
  
  
}
/* ===== 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. */


/* ===== Tarjetas, contenido y categorías de servicios ===== */

.service-number { text-shadow: none; }
.service-entry[open] .service-symbol,
.service-entry > summary:hover .service-symbol { filter: none; }
.service-entry[open] .service-toggle { box-shadow: none; }
.service-entry[open] .service-title { text-shadow: none; }

/* Cuatro tarjetas creativas con la paleta del estudio. */
.services-catalog .services-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
  padding: 25px 8px 32px;
  border: 0;
}
.services-list .service-entry {
  --card-bg: #493943;
  --card-text: #f4f0e8;
  --card-line: rgba(244, 240, 232, .26);
  position: relative;
  isolation: isolate;
  min-width: 0;
  border: 1px solid var(--card-line);
  border-radius: 17px;
  background: var(--card-bg);
  color: var(--card-text);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
  rotate: -4deg;
  transition: opacity .65s ease, transform .65s ease, rotate .35s ease, box-shadow .35s ease;
}
.services-list .service-entry:nth-child(2) { --card-bg: #e5aabf; --card-text: #30252c; --card-line: rgba(48, 37, 44, .22); rotate: 3deg; margin-top: -14px; }
.services-list .service-entry:nth-child(3) { --card-bg: #66505e; rotate: -3deg; margin-top: 5px; }
.services-list .service-entry:nth-child(4) { --card-bg: #eccdd8; --card-text: #30252c; --card-line: rgba(48, 37, 44, .22); rotate: 4deg; margin-top: 16px; }
.services-list .service-entry[open] { z-index: 3; background: var(--card-bg); rotate: 0deg; }
.services-list .service-entry > summary {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-height: 390px;
  padding: 22px 19px 48px;
  border-radius: 16px;
  overflow: hidden;
}
.services-list .service-entry > summary::before {
  position: absolute;
  z-index: -1;
  top: 70px;
  left: -65px;
  width: 230px;
  height: 230px;
  border: 40px solid currentColor;
  border-radius: 45% 55% 68% 32%;
  opacity: .045;
  rotate: -25deg;
  content: "";
  pointer-events: none;
}
.services-list .service-entry:nth-child(even) > summary::before { top: -80px; left: 20px; rotate: 35deg; }
.services-list .service-number {
  align-self: flex-start;
  display: inline-grid;
  min-width: 30px;
  min-height: 24px;
  padding: 4px 7px;
  place-items: center;
  border: 1px solid var(--card-line);
  border-radius: 99px;
  color: var(--card-text);
  font-size: 10px;
  text-shadow: none;
}
.services-list .service-title-group { display: contents; }
.services-list .service-title {
  display: block;
  margin: 21px 0 0;
  color: var(--card-text);
  font-size: clamp(25px, 2.4vw, 35px);
  line-height: 1.08;
  letter-spacing: -.045em;
  text-shadow: none;
  overflow-wrap: normal;
}
.services-list .service-entry > summary:hover .service-title,
.services-list .service-entry[open] .service-title { color: var(--card-text); text-shadow: none; }
.services-list .service-tagline {
  order: 3;
  max-width: none;
  margin-top: auto;
  padding-top: 20px;
  color: var(--card-text);
  font-size: 12px;
  line-height: 1.65;
}
.services-list .service-symbol {
  order: 2;
  display: block;
  width: 80px;
  height: 80px;
  margin: 24px 0 12px;
  align-self: center;
  color: var(--card-text);
  opacity: .8;
  filter: none;
  transform: none;
}
.services-list .service-entry[open] .service-symbol,
.services-list .service-entry > summary:hover .service-symbol { filter: none; }
.services-list .service-toggle {
  position: absolute;
  right: 17px;
  bottom: 14px;
  width: 26px;
  height: 26px;
  border-color: var(--card-line);
  background: transparent;
  color: var(--card-text);
  box-shadow: none;
}
.services-list .service-entry > summary::after { position: absolute; bottom: 20px; left: 19px; color: var(--card-text); opacity: .75; font-family: var(--mono); font-size: 8px; letter-spacing: .04em; content: 'VER DETALLES'; }
.services-list .service-entry[open] > summary::after { content: 'CERRAR DETALLES'; }
.services-list .service-entry > summary:hover .service-toggle,
.services-list .service-entry[open] .service-toggle { background: transparent; color: var(--card-text); }
.services-list .service-body { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 0 19px 24px; }
.services-list .service-tags { padding-top: 17px; border-top: 1px solid var(--card-line); color: var(--card-text); font-size: 8px; line-height: 1.7; }
.services-list .service-description > p:not(.service-tags) { color: var(--card-text); font-size: 12px; }
.services-list .service-description .text-link { gap: 8px; border-color: var(--card-line); color: var(--card-text); font-size: 10px; }
.services-list .service-description .text-link span { color: inherit; }
.services-list .service-deliverables { padding-left: 12px; border-color: var(--card-line); }
.services-list .service-deliverables > p,
.services-list .service-deliverables li,
.services-list .service-deliverables li::before { color: var(--card-text); }
.services-list .service-deliverables li { font-size: 10px; }
.services-ribbon { margin: 12px -2% 0; pointer-events: none; }
.services-ribbon svg { display: block; width: 100%; height: auto; overflow: hidden; }
.services-ribbon .ribbon-band { fill: none; stroke: var(--pink); stroke-width: 34px; }
.services-ribbon text { fill: var(--ink); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 1.6px; }
/* ===== RESPONSIVE / PREFERENCIAS: @media (hover: hover) and (prefers-reduced-motion: no-preference) ===== */

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .services-list .service-entry:hover { z-index: 4; rotate: 0deg; box-shadow: 0 22px 38px rgba(0, 0, 0, .3); }
  .services-list .service-entry > summary:hover .service-symbol { transform: rotate(-12deg) scale(1.07); }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 1100px) ===== */

@media (max-width: 1100px) {
  .services-catalog .services-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 22px; }
  .services-list .service-entry > summary { min-height: 370px; }
  .services-list .service-title { font-size: 33px; }
  .services-list .service-entry:nth-child(n) { margin-top: 0; }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 560px) ===== */

@media (max-width: 560px) {
  .catalog-heading { padding-bottom: 5px; }
  .services-catalog .services-list { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 22px 9px; }
  .services-list .service-entry:nth-child(n) { rotate: -2deg; }
  .services-list .service-entry:nth-child(even) { rotate: 2deg; }
  .services-list .service-entry[open] { rotate: 0deg; }
  .services-list .service-entry > summary { min-height: 345px; padding-inline: 23px; }
  .services-list .service-title { max-width: 270px; font-size: 37px; }
  .services-list .service-symbol { margin-block: 20px 10px; }
  .services-list .service-body { padding-inline: 23px; }
  .services-ribbon { margin-top: 3px; }
  .services-ribbon svg { min-height: 85px; }
}
/* ===== Variables generales: colores, tipografías y medidas ===== */


/* Identidad visual por categoría, igual en servicios y proyectos. */
:root {
  --category-branding-bg: #493943;
  --category-branding-text: #f4f0e8;
  --category-design-bg: #e5aabf;
  --category-design-text: #30252c;
  --category-illustration-bg: #66505e;
  --category-illustration-text: #f4f0e8;
  --category-web-bg: #eccdd8;
  --category-web-text: #30252c;
}
/* ===== Colores y patrones por categoría ===== */

[data-category="branding"] {
  --category-bg: var(--category-branding-bg);
  --category-text: var(--category-branding-text);
  --category-line: rgba(244, 240, 232, .26);
  --pattern-top: 70px;
  --pattern-left: -65px;
  --pattern-angle: -25deg;
}
[data-category="diseno-grafico"] {
  --category-bg: var(--category-design-bg);
  --category-text: var(--category-design-text);
  --category-line: rgba(48, 37, 44, .22);
  --pattern-top: -80px;
  --pattern-left: 20px;
  --pattern-angle: 35deg;
}
[data-category="ilustracion"] {
  --category-bg: var(--category-illustration-bg);
  --category-text: var(--category-illustration-text);
  --category-line: rgba(244, 240, 232, .26);
  --pattern-top: 70px;
  --pattern-left: -65px;
  --pattern-angle: -25deg;
}
[data-category="web"] {
  --category-bg: var(--category-web-bg);
  --category-text: var(--category-web-text);
  --category-line: rgba(48, 37, 44, .22);
  --pattern-top: -80px;
  --pattern-left: 20px;
  --pattern-angle: 35deg;
}
/* ===== Tarjetas, contenido y categorías de servicios ===== */

.services-list .service-entry[data-category] {
  --card-bg: var(--category-bg);
  --card-text: var(--category-text);
  --card-line: var(--category-line);
}
.services-list .service-entry[data-category] > summary::before {
  top: var(--pattern-top);
  left: var(--pattern-left);
  rotate: var(--pattern-angle);
}

/* Trabajos relacionados con cada servicio. */
.services-list .service-work-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 17px;
  padding: 10px 12px;
  border: 1px solid var(--card-line);
  border-radius: 4px;
  color: var(--card-text);
  font-size: 11px;
  transition: background .2s ease;
}
.services-list .service-work-link:hover { background: rgba(255, 255, 255, .1); }
/* ===== Base de la página: fondo, comportamiento y estilos generales ===== */


/* La tarjeta se amplía en una ventana con su propia identidad visual. */
html.service-dialog-open { overflow: hidden; }
/* ===== Ventana ampliada de los servicios ===== */

.service-dialog-ready .services-list .service-entry > summary::after { content: 'VER SERVICIO'; }
.service-dialog {
  --card-bg: var(--category-bg);
  --card-text: var(--category-text);
  --card-line: var(--category-line);
  isolation: isolate;
  width: min(780px, 92vw);
  max-width: 92vw;
  max-height: 90vh;
  max-height: 90dvh;
  padding: 42px;
  overflow: auto;
  border: 1px solid var(--card-line);
  border-radius: 20px;
  background: var(--card-bg);
  color: var(--card-text);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .5);
}
.service-dialog::backdrop { background: rgba(18, 16, 19, .8); backdrop-filter: blur(7px); }
.service-dialog::before {
  position: absolute;
  z-index: -1;
  top: var(--pattern-top);
  left: var(--pattern-left);
  width: 400px;
  height: 400px;
  border: 65px solid currentColor;
  border-radius: 45% 55% 68% 32%;
  opacity: .045;
  rotate: var(--pattern-angle);
  content: "";
  pointer-events: none;
}
.service-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 35px;
  height: 35px;
  padding: 8px;
  place-items: center;
  border: 1px solid var(--card-line);
  border-radius: 50%;
  background: transparent;
  color: var(--card-text);
  cursor: pointer;
}
.service-dialog-close:hover { background: rgba(255, 255, 255, .12); }
.service-dialog-close svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.service-dialog-number { display: inline-block; padding: 4px 10px; border: 1px solid var(--card-line); border-radius: 99px; font-family: var(--mono); font-size: 11px; }
.service-dialog-heading { padding-right: 18px; }
.service-dialog-heading h2 { margin: 22px 0 14px; font-family: var(--serif); font-size: clamp(35px, 5vw, 58px); font-weight: 500; letter-spacing: -.045em; line-height: 1.08; }
.service-dialog-tagline { margin: 0 0 27px; font-size: 15px; }
.service-dialog .service-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; padding: 25px 0 0; border-top: 1px solid var(--card-line); animation: none; }
.service-dialog .service-tags { color: var(--card-text); font-size: 9px; line-height: 1.7; }
.service-dialog .service-description > p:not(.service-tags) { color: var(--card-text); font-size: 14px; }
.service-dialog .service-description .text-link,
.service-dialog .service-description .text-link span { color: var(--card-text); border-color: var(--card-line); }
.service-dialog .service-description .text-link { font-size: 12px; }
.service-dialog .service-deliverables { padding-left: 20px; border-color: var(--card-line); }
.service-dialog .service-deliverables > p,
.service-dialog .service-deliverables li,
.service-dialog .service-deliverables li::before { color: var(--card-text); }
.service-dialog .service-deliverables li { font-size: 12px; }
.service-dialog .service-work-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding: 12px 15px; border: 1px solid var(--card-line); border-radius: 5px; color: var(--card-text); font-size: 13px; }
.service-dialog .service-work-link:hover { background: rgba(255, 255, 255, .1); }
.service-dialog :focus-visible { outline-color: currentColor; }
/* ===== RESPONSIVE / PREFERENCIAS: @media (prefers-reduced-motion: no-preference) ===== */

@media (prefers-reduced-motion: no-preference) {
  .service-dialog[open] { animation: service-dialog-in .3s ease both; }
}
/* ===== ANIMACIÓN: service-dialog-in ===== */

@keyframes service-dialog-in {
  from { opacity: 0; transform: translateY(15px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 560px) ===== */

@media (max-width: 560px) {
  .service-dialog { padding: 30px 23px; border-radius: 15px; }
  .service-dialog .service-body { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .service-dialog-number { margin-top: 5px; }
  .service-dialog-heading h2 { margin-top: 23px; }
  .service-dialog-tagline { font-size: 13px; }
}
/* ===== Tarjetas, contenido y categorías de servicios ===== */


/* Composición propia del estudio: paneles orbitales. */
.services-catalog .services-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 8px 0 28px;
}
.services-list .service-entry[data-category],
.services-list .service-entry[data-category]:nth-child(n),
.services-list .service-entry[data-category]:hover {
  margin-top: 0;
  rotate: 0deg;
  border-radius: 3px 30px 3px 3px;
}
.services-list .service-entry[data-category] > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  column-gap: 22px;
  row-gap: 20px;
  min-height: 290px;
  padding: 25px 25px 65px;
  border-radius: 2px 29px 2px 2px;
}
.services-list .service-entry[data-category] .service-number {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  min-width: 0;
  min-height: 0;
  padding: 0 0 0 13px;
  border: 0;
  border-radius: 0;
  position: relative;
  letter-spacing: .1em;
}
.services-list .service-entry[data-category] .service-number::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: none;
  transform: translateY(-50%);
  content: "";
}
.services-list .service-entry[data-category] .service-title {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  margin: 0;
  font-size: clamp(29px, 3.1vw, 42px);
  line-height: 1.04;
}
.services-list .service-entry[data-category] .service-tagline {
  grid-column: 1;
  grid-row: 3;
  margin: 0;
  padding: 0;
  font-size: 12px;
}
.services-list .service-entry[data-category] .service-symbol {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  justify-self: center;
  margin: 0;
  opacity: .85;
}
.services-list .service-entry[data-category] > summary::before {
  top: 63px;
  right: -70px;
  bottom: auto;
  left: auto;
  width: 260px;
  height: 110px;
  border: 1px solid currentColor;
  border-radius: 50%;
  rotate: -32deg;
  opacity: .18;
}
.services-list .service-entry[data-category="diseno-grafico"] > summary::before,
.services-list .service-entry[data-category="web"] > summary::before { rotate: 32deg; }
.services-list .service-entry[data-category] > summary::after {
  right: 25px;
  bottom: 24px;
  left: 25px;
  padding-top: 13px;
  border-top: 1px solid var(--card-line);
  font-size: 8px;
  letter-spacing: .09em;
  content: 'EXPLORAR SERVICIO';
}
.services-list .service-entry[data-category] .service-toggle { z-index: 1; right: 24px; bottom: 17px; width: 28px; height: 28px; border: 0; }
.services-list .service-entry[data-category] { transition: opacity .65s ease, transform .65s ease, box-shadow .3s ease; }
.services-list .service-body { padding-inline: 25px; }
/* ===== Elementos comunes y tipografía ===== */

.catalog-note { margin-top: 7px; padding-top: 22px; border-top: 1px solid var(--line); }
/* ===== Ventana ampliada de los servicios ===== */

.service-dialog::before {
  top: 80px;
  right: -80px;
  left: auto;
  width: 440px;
  height: 190px;
  border-width: 1px;
  border-radius: 50%;
  rotate: -32deg;
  opacity: .16;
}
.service-dialog[data-category="diseno-grafico"]::before,
.service-dialog[data-category="web"]::before { rotate: 32deg; }
/* ===== RESPONSIVE / PREFERENCIAS: @media (hover: hover) and (prefers-reduced-motion: no-preference) ===== */

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .services-list .service-entry[data-category]:hover { transform: translateY(-5px); box-shadow: 0 18px 32px rgba(0, 0, 0, .25); }
  .services-list .service-entry[data-category] > summary:hover .service-symbol { transform: rotate(-8deg) scale(1.06); }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 1100px) ===== */

@media (max-width: 1100px) {
  .services-list .service-entry[data-category] > summary { grid-template-columns: minmax(0, 1fr) 75px; column-gap: 12px; padding-inline: 20px; }
  .services-list .service-entry[data-category] .service-symbol { scale: .85; }
  .services-list .service-entry[data-category] .service-title { font-size: 31px; }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 560px) ===== */

@media (max-width: 560px) {
  .services-catalog .services-list { grid-template-columns: minmax(0, 1fr); gap: 17px; padding: 8px 0 25px; }
  .services-list .service-entry[data-category] > summary { min-height: 260px; grid-template-columns: minmax(0, 1fr) 95px; }
  .services-list .service-entry[data-category] .service-title { font-size: 35px; }
  .services-list .service-entry[data-category] .service-symbol { scale: .9; }
}
/* ===== Tarjetas, contenido y categorías de servicios ===== */


/* Tarjetas verticales: forma original con detalles propios del estudio. */
.services-catalog .services-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 28px 8px 38px;
}
.services-list .service-entry[data-category]:nth-child(n) {
  --card-tilt: -3deg;
  margin-top: 0;
  border-radius: 17px;
  rotate: var(--card-tilt);
  transition: opacity .65s ease, transform .65s ease, rotate .35s ease, box-shadow .35s ease;
}
.services-list .service-entry[data-category]:nth-child(2) { --card-tilt: 2deg; margin-top: -12px; }
.services-list .service-entry[data-category]:nth-child(3) { --card-tilt: -2deg; margin-top: 5px; }
.services-list .service-entry[data-category]:nth-child(4) { --card-tilt: 3deg; margin-top: 15px; }
.services-list .service-entry[data-category] > summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-height: 400px;
  padding: 24px 19px 64px;
  border-radius: 16px;
}
.services-list .service-entry[data-category] .service-title {
  align-self: stretch;
  margin-top: 24px;
  font-size: clamp(25px, 2.4vw, 35px);
  line-height: 1.08;
}
.services-list .service-entry[data-category] .service-symbol {
  flex-shrink: 0;
  align-self: center;
  margin: 28px 0 22px;
  scale: 1;
}
.services-list .service-entry[data-category] .service-tagline {
  align-self: stretch;
  margin-top: auto;
  padding-top: 10px;
  font-size: 12px;
}
.services-list .service-entry[data-category] > summary::after { left: 19px; right: 19px; font-size: 7px; }
.services-list .service-entry[data-category] .service-toggle { right: 16px; }
.services-list .service-entry[data-category][open] { rotate: 0deg; }
/* ===== RESPONSIVE / PREFERENCIAS: @media (hover: hover) and (prefers-reduced-motion: no-preference) ===== */

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .services-list .service-entry[data-category]:nth-child(n):hover {
    z-index: 4;
    rotate: 0deg;
    transform: translateY(-5px);
  }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 1100px) ===== */

@media (max-width: 1100px) {
  .services-catalog .services-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .services-list .service-entry[data-category]:nth-child(n) { margin-top: 0; }
  .services-list .service-entry[data-category] > summary { min-height: 370px; padding-inline: 22px; }
  .services-list .service-entry[data-category] .service-title { font-size: 33px; }
}
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 560px) ===== */

@media (max-width: 560px) {
  .services-catalog .services-list { grid-template-columns: minmax(0, 1fr); gap: 29px; padding: 24px 10px 30px; }
  .services-list .service-entry[data-category]:nth-child(n) { rotate: -2deg; }
  .services-list .service-entry[data-category]:nth-child(even) { rotate: 2deg; }
  .services-list .service-entry[data-category] > summary { min-height: 350px; }
  .services-list .service-entry[data-category] .service-title { max-width: 270px; font-size: 37px; }
  .services-list .service-entry[data-category] .service-symbol { margin-block: 22px 15px; }
}
/* ===== Ventana ampliada de los servicios ===== */


/* Servicio ampliado en formato de tarjeta vertical. */
.service-dialog {
  width: min(460px, 92vw);
  max-width: 92vw;
  padding: 36px 30px 30px;
  border-radius: 19px;
}
.service-dialog-heading { padding-right: 15px; }
.service-dialog-heading h2 {
  max-width: 350px;
  margin-top: 25px;
  font-size: clamp(35px, 5vw, 46px);
  line-height: 1.06;
}
.service-dialog-tagline { margin-bottom: 24px; font-size: 14px; }
.service-dialog .service-body {
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  padding-top: 22px;
}
.service-dialog .service-description > p:not(.service-tags) { font-size: 13px; line-height: 1.8; }
.service-dialog .service-work-link { margin-top: 18px; }
.service-dialog .service-deliverables { padding-left: 15px; }
.service-dialog::before { width: 290px; height: 130px; right: -80px; top: 100px; }
/* ===== RESPONSIVE / PREFERENCIAS: @media (max-width: 560px) ===== */

@media (max-width: 560px) {
  .service-dialog { width: min(420px, 92vw); padding: 31px 23px 25px; }
  .service-dialog-heading h2 { font-size: 37px; }
}
/* ===== Ventana ampliada de los servicios ===== */


/* Tarjeta desplazable en vertical, sin barras visibles. */
.service-dialog {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-y: contain;
}
.service-dialog::-webkit-scrollbar { display: none; width: 0; height: 0; }
.service-dialog .service-body,
.service-dialog .service-description,
.service-dialog .service-deliverables { min-width: 0; }
.service-dialog p,
.service-dialog li,
.service-dialog a { overflow-wrap: anywhere; }
/* ===== 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; }
}
/* ===== 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}}
/* ===== Base de la página: fondo, comportamiento y estilos generales ===== */

/* English interface labels. */
html[lang="en"] .services-list .service-entry[data-category] > summary::after{content:'EXPLORE SERVICE'}
html[lang="en"] .services-list .service-entry[data-category][open] > summary::after{content:'CLOSE DETAILS'}
/* ===== Ventana ampliada de los servicios ===== */


/* Desglose del servicio antes de los accesos a presupuesto y proyectos. */
.services-list .service-deliverables,.service-dialog .service-deliverables{padding-left:0;border-left:0}
/* ===== Tarjetas, contenido y categorías de servicios ===== */

.service-offering-group{margin-top:22px;padding-top:17px;border-top:1px solid var(--card-line)}
.service-offering-group h4{margin:0 0 9px;font-family:var(--serif);font-size:22px;font-weight:500;letter-spacing:-.025em;line-height:1.2;color:var(--card-text)}
/* ===== Ventana ampliada de los servicios ===== */

.service-dialog .service-offering-group li{padding-block:6px;font-size:12px;line-height:1.75}
/* ===== Tarjetas, contenido y categorías de servicios ===== */

.service-deliverables .service-scope-note{margin:24px 0 0;padding-top:17px;border-top:1px solid var(--card-line);font-size:11px;line-height:1.85;letter-spacing:0;text-transform:none;font-family:var(--sans);opacity:.8;color:var(--card-text)}
.service-actions{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding-top:5px}
.service-actions .text-link{justify-content:space-between;color:var(--card-text);border-color:var(--card-line);font-size:12px}
.service-actions .text-link span{color:inherit}
/* ===== Ventana ampliada de los servicios ===== */

.service-actions .service-work-link,.service-dialog .service-actions .service-work-link{margin-top:0}
/* Consistent white stock, charcoal type and quiet editorial details. */
.services-list .service-entry[data-category]:nth-child(n),
.service-dialog[data-category] {
  --category-bg: #fbf8f1;
  --category-text: #262526;
  --category-line: rgba(38,37,38,.2);
  --card-bg: #fbf8f1;
  --card-text: #262526;
  --card-line: rgba(38,37,38,.2);
}
.services-list .service-entry[data-category]:nth-child(n) {
  border-color: rgba(244,240,232,.3);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

/* Service cards without decorative illustrations. */
.services-list .service-entry[data-category] .service-symbol { display: none; }
.services-list .service-entry[data-category] > summary::before { content: none; }

/* Pink lettering on the white service cards. */
.services-list .service-entry[data-category]:nth-child(n) {
  --card-text: var(--pink);
  --category-text: var(--pink);
}

/* Fit long service names to the actual card width. */
.services-list .service-entry[data-category] > summary { container-type: inline-size; }
.services-list .service-entry[data-category] .service-title-group { width: 100%; min-width: 0; }
.services-list .service-entry[data-category] .service-title {
  max-width: 100%; font-size: clamp(22px, 11cqi, 35px); overflow-wrap: anywhere;
}

/* Framed charcoal service cards with a quiet pink grain and corner arc. */
.services-list .service-entry[data-category]:nth-child(n) {
  --card-bg:#1d1c1d;
  --card-text:var(--cream);
  --category-bg:#1d1c1d;
  --category-text:var(--cream);
  --card-line:rgba(229,170,191,.45);
  position:relative;
  isolation:isolate;
  overflow:hidden;
  rotate:0deg;
  margin-top:0;
  border:1px solid var(--pink);
  border-radius:22px;
  background:linear-gradient(145deg,#252325,#1b1a1b 65%);
  box-shadow:0 14px 30px rgba(0,0,0,.2);
}
.services-list .service-entry[data-category]::after {
  position:absolute; z-index:-1; inset:35% 0 0; content:""; pointer-events:none;
  background-image:radial-gradient(rgba(229,170,191,.36) .65px,transparent .9px);
  background-size:3px 3px;
  -webkit-mask-image:linear-gradient(150deg,transparent 28%,#000 77%,transparent);
  mask-image:linear-gradient(150deg,transparent 28%,#000 77%,transparent);
}
.services-list .service-entry[data-category] > summary {
  min-height:420px;
  padding:30px 24px 72px;
  border-radius:21px;
}
.services-list .service-entry[data-category] > summary::before {
  content:""; position:absolute; inset:0 0 auto auto;
  width:54px; height:96px; border:0; border-left:1px solid var(--pink);
  border-bottom:1px solid var(--pink); border-radius:0 0 0 80px;
  background:none; opacity:.65; rotate:0deg; pointer-events:none;
}
.services-list .service-entry[data-category] .service-number {
  padding:0 0 20px; color:var(--pink); font-size:11px;
}
.services-list .service-entry[data-category] .service-number::before {
  top:auto; bottom:0; left:0; width:24px; height:1px; border-radius:0; background:rgba(244,240,232,.6);
}
.services-list .service-entry[data-category] .service-title-group { margin-top:46px; }
.services-list .service-entry[data-category] .service-title {
  display:block; margin:0; font-family:var(--sans);
  font-size:clamp(22px,10.5cqi,34px); line-height:1.13;
  font-weight:600; letter-spacing:-.045em; color:var(--cream);
}
.services-list .service-title .service-title-accent { display:block; color:var(--pink-light); }
.services-list .service-entry[data-category] .service-tagline {
  display:block; margin-top:30px; padding:0; max-width:24ch;
  color:#c5bfbd; font-size:13px; line-height:1.6;
}
.services-list .service-entry[data-category] > summary::after {
  left:24px; right:24px; bottom:27px; padding-top:17px;
  border-top:1px solid rgba(244,240,232,.25);
  font-size:8px; letter-spacing:.16em; color:var(--cream);
}
.services-list .service-entry[data-category] .service-toggle {
  right:17px; bottom:13px; width:36px; height:36px;
  border:1px solid var(--pink); border-radius:50%; color:var(--pink); background:#211e21;
}
.services-list .service-entry[data-category] .service-symbol { display:none; }
@media(max-width:560px) {
  .services-list .service-entry[data-category]:nth-child(n) { rotate:0deg; }
  .services-list .service-entry[data-category] > summary { min-height:395px; }
}

/* Shared interaction on all four service cards. */
.services-list .service-entry[data-category]:nth-child(n) {
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, opacity .65s ease;
}
.services-list .service-entry[data-category] .service-toggle {
  transition: transform .35s ease, background-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.services-list .service-entry[data-category] .service-title,
.services-list .service-entry[data-category] .service-title-accent,
.services-list .service-entry[data-category] > summary::before,
.services-list .service-entry[data-category] > summary::after,
.services-list .service-entry[data-category]::after {
  transition: transform .35s ease, color .35s ease, opacity .35s ease, border-color .35s ease;
}
.services-list .service-entry[data-category] > summary { cursor:pointer; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .services-list .service-entry[data-category]:nth-child(n):hover {
    transform:translateY(-8px); border-color:var(--pink-light);
    box-shadow:0 22px 42px rgba(0,0,0,.35);
  }
  .services-list .service-entry[data-category]:hover .service-toggle {
    transform:rotate(90deg) scale(1.12); background:var(--pink);
    color:var(--ink); box-shadow: none;
  }
  .services-list .service-entry[data-category]:hover .service-title { transform:translateY(-3px); color:var(--cream); }
  .services-list .service-entry[data-category]:hover .service-title-accent { color:#f7d6e2; }
  .services-list .service-entry[data-category]:hover > summary::before { transform:translate(-3px,3px); opacity:1; }
  .services-list .service-entry[data-category]:hover > summary::after { color:var(--pink-light); border-color:var(--pink); }
  .services-list .service-entry[data-category]:hover::after { transform:translateY(-12px); }
}
.services-list .service-entry[data-category]:focus-within {
  border-color:var(--pink-light);
  box-shadow:0 0 0 2px rgba(229,170,191,.25);
}
.services-list .service-entry[data-category]:focus-within .service-toggle {
  background:var(--pink); color:var(--ink);
}
.services-list .service-entry[data-category] > summary:active .service-toggle { background:var(--pink); color:var(--ink); }
@media(prefers-reduced-motion:reduce) {
  .services-list .service-entry[data-category],
  .services-list .service-entry[data-category] *,
  .services-list .service-entry[data-category]::after,
  .services-list .service-entry[data-category] > summary::before,
  .services-list .service-entry[data-category] > summary::after { transition:none; }
}

/* Plain charcoal stock and a gently irregular arrangement. */
.services-list .service-entry[data-category]:nth-child(n) {
  --card-bg:var(--ink);
  --category-bg:var(--ink);
  background:var(--ink);
  rotate:var(--card-tilt);
  transition:transform .35s ease,rotate .35s ease,border-color .35s ease,box-shadow .35s ease,opacity .65s ease;
}
.services-list .service-entry[data-category]::after,
.services-list .service-entry[data-category] .service-number::before { content:none; }
.services-list .service-entry[data-category]:nth-child(1) { --card-tilt:-2deg; margin-top:5px; }
.services-list .service-entry[data-category]:nth-child(2) { --card-tilt:1.5deg; margin-top:15px; }
.services-list .service-entry[data-category]:nth-child(3) { --card-tilt:-1.5deg; margin-top:0; }
.services-list .service-entry[data-category]:nth-child(4) { --card-tilt:2deg; margin-top:12px; }
.services-list .service-entry[data-category] .service-toggle { background:var(--ink); }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .services-list .service-entry[data-category]:nth-child(n):hover { rotate:0deg; }
}
@media(prefers-reduced-motion:reduce) {
  .services-list .service-entry[data-category]:nth-child(n) { transition:none; }
}

/* Open service cards retain the exterior design, one shade lighter. */
.service-dialog[data-category] {
  --card-bg:#302e30;
  --category-bg:#302e30;
  --card-text:#f4f0e8;
  --category-text:#f4f0e8;
  --card-line:rgba(242,199,212,.28);
  --category-line:rgba(242,199,212,.28);
  background:var(--card-bg); color:var(--card-text);
  border:1px solid var(--pink-light); border-radius:22px;
}
.service-dialog[data-category]::before {
  inset:0 0 auto auto; width:64px; height:106px;
  border:0; border-left:1px solid var(--pink-light); border-bottom:1px solid var(--pink-light);
  border-radius:0 0 0 80px; opacity:.55; rotate:0deg;
}
.service-dialog .service-dialog-number { border:0; padding:0; color:var(--pink-light); }
.service-dialog .service-dialog-heading h2 { font-family:var(--sans); font-weight:600; color:var(--cream); }
.service-dialog .service-title-accent { display:block; color:var(--pink-light); }
.service-dialog .service-dialog-tagline { color:#d0c9c6; }
.service-dialog .service-tags,
.service-dialog .service-deliverables > p:not(.service-scope-note),
.service-dialog .service-offering-group h4 { color:var(--pink-light); }
.service-dialog .service-dialog-close { color:var(--pink-light); border-color:var(--pink-light); transition:background .25s,color .25s; }
.service-dialog .service-dialog-close:hover { color:var(--ink); background:var(--pink-light); }

/* Retain the explicit action within the original service card layout. */
.services-list .service-entry[data-category] > summary::after { content:none; }
.services-list .service-entry[data-category] .service-toggle { display:none; }
.services-list .service-entry[data-category] .service-explore {
 position:absolute; bottom:24px; left:24px;
 display:inline-flex; align-items:center; justify-content:center;
 max-width:calc(100% - 48px); padding:10px 15px;
 border:1px solid var(--pink); border-radius:999px;
 background:transparent; color:var(--cream);
 font:600 10px/1.4 var(--sans); text-transform:uppercase;
 letter-spacing:.04em; cursor:pointer;
}
.services-list .service-entry[data-category] .service-explore:is(:hover,:focus-visible) {
 background:var(--pink); color:var(--ink);
}
.services-list .service-entry[data-category] .service-explore:focus-visible {
 outline:2px solid var(--cream); outline-offset:4px;
}
/* Service cards follow the supplied white card reference. */
.page-services .services-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(16px,2.2vw,36px); align-items:stretch; }
.page-services .services-list .service-entry[data-category]:nth-child(n) {
 --card-bg:#fff; --card-text:#111; --category-bg:#fff; --category-text:#111;
 margin:0; padding:0; border:2px solid #111; border-radius:64px;
 background:var(--site-white, #f4f0e8); color:#111; box-shadow:none; rotate:0deg; transform:none;
}
.page-services .services-list .service-entry[data-category] > summary {
 position:relative; display:flex; flex-direction:column; align-items:center;
 min-height:450px; height:100%; padding:52px 18px 28px;
 border:0; border-radius:62px; color:#111; text-align:center; list-style:none;
}
.page-services .services-list .service-entry[data-category] > summary::-webkit-details-marker { display:none; }
.page-services .services-list .service-entry[data-category] > summary::before,
.page-services .services-list .service-entry[data-category] > summary::after,
.page-services .services-list .service-entry[data-category]::after { content:none; }
.page-services .services-list .service-entry[data-category] :is(.service-number,.service-symbol,.service-toggle) { display:none; }
.page-services .services-list .service-entry[data-category] .service-title-group {
 display:flex; flex:1; flex-direction:column; align-items:center; width:100%; margin:0;
}
.page-services .services-list .service-entry[data-category] .service-title,
.page-services .services-list .service-entry[data-category] .service-title-accent {
 color:#111; font-family:var(--sans); font-size:clamp(22px,2.1vw,36px);
 font-weight:800; line-height:1.12; letter-spacing:-.045em; transform:none;
 max-width:100%; overflow-wrap:normal;
}
.page-services .services-list .service-entry[data-category] .service-tagline {
 margin:30px 0 34px; max-width:25ch; padding:0; color:#111; font-size:15px; line-height:1.6;
}
.page-services .services-list .service-entry[data-category] .service-explore {
 position:static; display:inline-flex; align-items:center; justify-content:center;
 margin-top:auto; max-width:100%; padding:12px 18px;
 border:1.5px solid #111; border-radius:999px; background:var(--site-white, #f4f0e8); color:#111;
 font:600 11px/1.3 var(--sans); text-transform:uppercase; letter-spacing:.035em; cursor:pointer;
}
.page-services .services-list .service-entry[data-category] .service-explore:is(:hover,:focus-visible) { background:#111; color:#fff; }
.page-services .services-list .service-entry[data-category] .service-explore:focus-visible { outline:2px solid #111; outline-offset:4px; }
@media(max-width:1100px) {
 .page-services .services-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .page-services .services-list .service-entry[data-category] > summary { min-height:410px; }
 .page-services .services-list .service-entry[data-category] .service-title,
 .page-services .services-list .service-entry[data-category] .service-title-accent { font-size:32px; }
}
@media(max-width:560px) {
 .page-services .services-list { grid-template-columns:minmax(0,1fr); gap:22px; }
 .page-services .services-list .service-entry[data-category] > summary { min-height:390px; padding:48px 26px 28px; }
}

/* Black service cards keep the rounded reference layout and fitted type. */
.page-services .services-list .service-entry[data-category]:nth-child(n) {
 --card-bg:#171717; --category-bg:#171717; --card-text:#fff; --category-text:#fff;
 container-type:inline-size; background:#171717; color:#fff;
 border:1.5px solid #e5aabf; border-radius:52px;
}
.page-services .services-list .service-entry[data-category] > summary {
 min-height:400px; padding:44px 20px 26px; color:#fff; border-radius:50px;
}
.page-services .services-list .service-entry[data-category] .service-title,
.page-services .services-list .service-entry[data-category] .service-title-accent {
 color:#fff; font-size:clamp(18px,9cqi,32px); line-height:1.16;
 letter-spacing:-.035em; overflow-wrap:break-word; transform:none;
}
.page-services .services-list .service-entry[data-category] .service-title { min-height:3.5em; display:block; }
.page-services .services-list .service-entry[data-category] .service-tagline { color:#fff; font-size:14px; margin-top:25px; }
.page-services .services-list .service-entry[data-category] .service-explore {
 background:transparent; border-color:#e5aabf; color:#fff;
 transition:background .2s,color .2s,transform .2s;
}
.page-services .services-list .service-entry[data-category] .service-explore:is(:hover,:focus-visible) { background:#e5aabf; color:#171717; }
.page-services .services-list .service-entry[data-category] .service-explore:focus-visible { outline-color:#e5aabf; }
.page-services .services-list .service-entry[data-category]:focus-within { border-color:#fff; box-shadow:0 0 0 3px rgba(229,170,191,.2); }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 .page-services .services-list .service-entry[data-category]:nth-child(n) { transition:transform .3s,box-shadow .3s,border-color .3s; }
 .page-services .services-list .service-entry[data-category]:nth-child(n):hover {
  transform:translateY(-8px); rotate:0deg; border-color:#fff; box-shadow:0 16px 35px rgba(0,0,0,.25);
 }
}
/* The expanded card uses the same black, white type and rounded frame. */
body.page-services .service-dialog[data-category] {
 --card-bg:#171717; --category-bg:#171717; --card-text:#fff; --category-text:#fff;
 --card-line:rgba(229,170,191,.4); --category-line:rgba(229,170,191,.4);
 background:#171717; color:#fff; border:1.5px solid #e5aabf;
 border-radius:48px; padding:48px; width:min(760px,92vw);
}
body.page-services .service-dialog[data-category]::before { content:none; }
body.page-services .service-dialog .service-dialog-number { display:none; }
body.page-services .service-dialog .service-dialog-heading { text-align:center; padding:0; }
body.page-services .service-dialog .service-dialog-heading h2 { margin:12px 0 22px; font-weight:800; font-size:clamp(28px,4vw,44px); }
body.page-services .service-dialog :is(h2,h3,h4,p,li,.service-title-accent,.service-dialog-tagline,.service-tags) { color:#fff; }
body.page-services .service-dialog .service-body { grid-template-columns:minmax(0,1fr); gap:26px; }
body.page-services .service-dialog .service-deliverables { padding:0; border:0; }
body.page-services .service-dialog .service-dialog-close { border-color:#e5aabf; color:#fff; }
body.page-services .service-dialog .service-dialog-close:hover { background:#e5aabf; color:#171717; }
body.page-services .service-dialog .service-work-link { border-radius:999px; border-color:#e5aabf; color:#fff; }
@media(max-width:560px) {
 body.page-services .service-dialog[data-category] { padding:48px 24px 30px; border-radius:32px; }
 .page-services .services-list .service-entry[data-category] > summary { min-height:370px; }
}

/* White services canvas and larger type on borderless black cards. */
body.page-services .main-content { background:var(--site-white, #f4f0e8); color:#171717; }
body.page-services .main-content > .page-heading,
body.page-services .main-content > .page-heading :is(h1,h2,p),
body.page-services .main-content .process-section :is(h2,h3,p) { color:#171717; }
.page-services .services-list .service-entry[data-category]:nth-child(n),
.page-services .services-list .service-entry[data-category]:nth-child(n):hover,
.page-services .services-list .service-entry[data-category]:focus-within {
 border:0; background:#171717;
}
.page-services .services-list .service-entry[data-category] > summary { padding:44px 18px 28px; min-height:430px; }
.page-services .services-list .service-entry[data-category] .service-title,
.page-services .services-list .service-entry[data-category] .service-title-accent {
 font-size:clamp(24px,11cqi,42px); line-height:1.12; color:#fff;
}
.page-services .services-list .service-entry[data-category] .service-tagline { font-size:17px; line-height:1.6; color:#fff; }
.page-services .services-list .service-entry[data-category] .service-explore { font-size:13px; }
body.page-services .service-dialog[data-category] { border:0; }
body.page-services .service-dialog .service-description > p:not(.service-tags),
body.page-services .service-dialog .service-deliverables li { font-size:16px; line-height:1.7; }
