/* KITSU STUDIOS — Rediseño inspirado en la referencia visual */
:root {
  --bg: #050b1b;
  --bg-deep: #020713;
  --panel: #07152b;
  --text: #f7f8ff;
  --muted: #b8c3d9;
  --pink: #ff168f;
  --cyan: #12d8f5;
  --blue: #0787f9;
  --purple: #842bff;
  --orange: #ff8b28;
  --green: #16d49b;
  --nav-height: 76px;
  --content-width: 1180px;
  --radius: 18px;
  --ease: .25s ease;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 16px); }
body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--pink); color: white; }
.site-shell {
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 80px #0008;
}
.site-header { position: sticky; top: 0; z-index: 100; }
.navbar {
  min-height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 10px 28px;
  background: rgba(2, 7, 19, .94);
  border-bottom: 1px solid rgba(53, 204, 255, .16);
  backdrop-filter: blur(18px);
  transition: box-shadow var(--ease), background var(--ease);
}
.navbar.scrolled { box-shadow: 0 10px 35px #0008; background: rgba(2, 7, 19, .98); }
.brand { flex: 0 0 auto; }
.logo-img { width: auto; height: 48px; object-fit: contain; }
.nav-menu { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.4vw, 22px); list-style: none; margin-left: auto; }
.nav-menu a { display: block; position: relative; padding: 10px 0; font-size: .82rem; font-weight: 750; color: #e5e9f6; white-space: nowrap; }
.nav-menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 3px; border-radius: 5px; background: var(--pink); transition: right var(--ease); }
.nav-menu a:hover::after, .nav-menu a.active::after { right: 0; }
.nav-cta { white-space: nowrap; background: linear-gradient(110deg, #f40c83, #d80ba7); border-radius: 12px; padding: 11px 17px; font-size: .82rem; font-weight: 800; box-shadow: 0 6px 24px #ff168f30; transition: transform var(--ease), filter var(--ease); }
.nav-cta:hover { transform: translateY(-2px); filter: brightness(1.12); }
.mobile-menu-button { display: none; border: 1px solid #ffffff30; color: white; background: #ffffff08; border-radius: 10px; width: 43px; height: 43px; cursor: pointer; }
.mobile-menu-button span { display: block; width: 21px; height: 2px; margin: 5px auto; background: white; transition: var(--ease); }
.section { padding: 78px clamp(22px, 4vw, 52px); position: relative; }
.hero {
  min-height: 560px; display: flex; align-items: center; overflow: hidden; isolation: isolate;
  padding-top: 74px; padding-bottom: 56px;
  background: radial-gradient(ellipse at 78% 25%, #8b1fff40, transparent 38%), linear-gradient(135deg, #06132c, #030816 70%);
}
.hero-art { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #030816 0%, #030816ed 28%, #03081670 58%, #03081628 100%), url("Images/Banner FHD.png") center right / cover no-repeat; opacity: .82; }
.hero-content { width: 100%; max-width: 760px; position: relative; z-index: 1; }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--cyan); font-size: .7rem; letter-spacing: 2.3px; font-weight: 900; }
.hero h1 { font-size: clamp(3rem, 6.4vw, 5.8rem); line-height: .99; letter-spacing: -3px; text-transform: uppercase; font-weight: 950; text-shadow: 0 6px 25px #0008; }
.hero h1 span, .section-heading h2 span, .academy-copy h2 span, .contact-panel h2 span { color: var(--pink); }
.hero-content > p { max-width: 540px; color: #e0e7f5; margin: 20px 0 25px; font-size: 1.02rem; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 19px; border-radius: 12px; font-size: .83rem; font-weight: 850; transition: transform var(--ease), filter var(--ease), border-color var(--ease); }
.button:hover { transform: translateY(-2px); filter: brightness(1.1); }
.button-primary { color: white; background: linear-gradient(110deg, #ff168f, #c80be2); box-shadow: 0 8px 26px #ff168f30; }
.button-ghost { border: 1px solid #d5eaff7a; background: #071225b8; color: white; }
.button-ghost:hover { border-color: var(--cyan); }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 34px; }
.hero-highlights > div { display: flex; align-items: center; gap: 10px; font-size: .72rem; line-height: 1.45; color: #e7ecf9; }
.highlight-icon { font-size: 2rem; font-weight: 900; }
.cyan { color: var(--cyan); }.violet { color: #b67aff; }.pink { color: var(--pink); }
.section-heading { text-align: center; margin: 0 auto 30px; }
.section-heading h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.12; text-transform: uppercase; letter-spacing: -.8px; }
.section-heading p { color: var(--muted); margin-top: 8px; font-size: .88rem; }
.services-section { background: linear-gradient(180deg, #06152d, #071125); border: 1px solid #1a4265; border-radius: 20px; margin-top: -1px; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.service-card { min-height: 224px; display: flex; flex-direction: column; align-items: flex-start; padding: 21px 20px 17px; border-radius: 14px; border: 1px solid #ffffff20; box-shadow: inset 0 1px #ffffff1c, 0 8px 18px #0002; transition: transform var(--ease), box-shadow var(--ease); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px #0005; }
.service-pink { background: linear-gradient(145deg, #f72585, #8c123f); }.service-blue { background: linear-gradient(145deg, #078ef7, #0647a5); }.service-purple { background: linear-gradient(145deg, #9b35f7, #46108f); }.service-orange { background: linear-gradient(145deg, #ff9b2f, #a83c09); }.service-green { background: linear-gradient(145deg, #20d6a0, #08755f); }.service-cyan { background: linear-gradient(145deg, #00cfe8, #075f9b); }
.service-icon { font-size: 2.2rem; line-height: 1.1; margin-bottom: 10px; text-shadow: 0 3px 5px #0004; }
.service-card h3 { font-size: 1.02rem; line-height: 1.2; margin-bottom: 8px; }
.service-card p { color: #fff; font-size: .78rem; line-height: 1.5; margin-bottom: 16px; }
.card-link { margin-top: auto; display: inline-flex; gap: 12px; align-items: center; border-radius: 9px; background: #020713a8; padding: 8px 12px; font-size: .72rem; font-weight: 800; }
.card-link span { font-size: 1rem; }
.projects-section { background: #050b1b; }
.heading-row { display: flex; justify-content: space-between; align-items: end; text-align: left; gap: 20px; }
.heading-row .eyebrow { margin-bottom: 8px; }
.text-link { color: var(--pink); font-weight: 800; font-size: .78rem; padding-bottom: 7px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.project-card { overflow: hidden; border-radius: 13px; background: linear-gradient(145deg, #0b1b31, #050b17); border: 1px solid #5bbbe33d; transition: transform var(--ease), border-color var(--ease); }
.project-card:hover { transform: translateY(-4px); border-color: var(--cyan); }
.project-featured { grid-column: span 1; }
.project-image { height: 168px; display: block; position: relative; overflow: hidden; background: #10213b; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-image img { transform: scale(1.05); }
.project-badge { position: absolute; left: 10px; top: 10px; padding: 5px 8px; background: #020713db; border: 1px solid #12d8f57a; border-radius: 7px; font-size: .58rem; letter-spacing: .5px; font-weight: 850; }
.project-content { padding: 14px 15px 16px; }
.project-content h3 { font-size: 1rem; margin-bottom: 5px; }
.project-content p { font-size: .76rem; color: var(--muted); min-height: 58px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.tags span { border: 1px solid #1cbce26e; background: #0b9bc421; border-radius: 7px; padding: 3px 7px; font-size: .6rem; font-weight: 750; }
.project-placeholder { display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #b12eff99, transparent 42%), linear-gradient(135deg, #0d7ed8, #171044); }
.project-placeholder span { font-size: 4rem; font-weight: 950; color: #fff; text-shadow: 0 0 25px #f0f; }
.academy-section { padding-top: 25px; }
.academy-panel { display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: 25px; padding: clamp(25px, 4vw, 45px); border-radius: 18px; overflow: hidden; background: linear-gradient(110deg, #0579c9, #4821bc 55%, #d8139a); position: relative; }
.academy-copy { position: relative; z-index: 1; }
.academy-copy .eyebrow { color: #c6f7ff; }
.academy-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.08; text-transform: uppercase; }
.academy-copy h2 span { color: #fff; }
.academy-copy p { max-width: 580px; margin: 13px 0 20px; color: #f2f4ff; font-size: .9rem; }
.academy-art { min-height: 140px; display: flex; align-items: center; justify-content: center; gap: 15px; font-size: clamp(2.5rem, 5vw, 4rem); filter: drop-shadow(0 8px 12px #0003); transform: rotate(-7deg); }
.academy-art span:nth-child(2) { transform: translateY(20px) rotate(12deg); }.academy-art span:nth-child(3) { color: #ffe85d; align-self: flex-start; }
.why-section { background: linear-gradient(180deg, #061023, #040a18); }
.why-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; margin: 35px 0 40px; }
.why-item { display: flex; align-items: center; gap: 10px; }
.why-item > span { font-size: 1.8rem; }.why-item p { color: var(--muted); font-size: .7rem; line-height: 1.45; }.why-item strong { color: white; font-size: .78rem; }
.contact-banner { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; padding: 25px 28px; border-radius: 13px; background: linear-gradient(110deg, #087ed5, #5d16d9 56%, #f01891); }
.banner-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: #ffffffdf; color: #19254d; font-size: 1.5rem; }
.contact-banner h2 { font-size: clamp(1rem, 2.2vw, 1.5rem); text-transform: uppercase; line-height: 1.2; }
.contact-banner p { color: #f2efff; font-size: .8rem; margin-top: 5px; }
.contact-banner .button { margin-left: auto; flex: 0 0 auto; position: relative; z-index: 1; }
.banner-decoration { position: absolute; right: 20px; top: -28px; font-size: 8rem; opacity: .15; }
.contact-section { padding-top: 35px; padding-bottom: 65px; }
.contact-panel { text-align: center; padding: clamp(30px, 5vw, 55px) 20px; border: 1px solid #1d5a7b; border-radius: 18px; background: radial-gradient(circle at 50% 0%, #6023c944, transparent 55%), #071226; }
.contact-panel h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.1; }
.contact-panel > p { max-width: 600px; margin: 13px auto 22px; color: var(--muted); }
.contact-actions { justify-content: center; }
.contact-panel small { display: block; margin-top: 18px; color: #8494b1; font-size: .68rem; }
.footer { background: #020713; border-top: 1px solid #ffffff16; padding: 38px clamp(22px, 4vw, 52px) 18px; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1.2fr; gap: 30px; max-width: 1080px; margin: auto; }
.footer-brand img { width: auto; height: 48px; margin-bottom: 10px; }
.footer-brand p, .footer-column a { color: #aab5ca; font-size: .75rem; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-column h3 { font-size: .83rem; margin-bottom: 4px; }
.footer-column a:hover { color: var(--pink); }
.footer-bottom { max-width: 1080px; margin: 28px auto 0; padding-top: 15px; border-top: 1px solid #ffffff14; display: flex; justify-content: space-between; gap: 15px; color: #7f8aa1; font-size: .66rem; }
.footer-bottom b { color: var(--pink); }

/* Laterales propios: se mantienen altos junto a la zona superior y central como en la referencia. */
.ad-rail { position: fixed; z-index: 20; top: 8px; bottom: auto; width: clamp(76px, 8.4vw, 132px); height: min(1040px, calc(100vh - 16px)); }
.ad-rail-left { left: 8px; }.ad-rail-right { right: 8px; }
.ad-creative { width: 100%; height: 100%; min-height: 470px; padding: 22px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 13px; overflow: hidden; position: relative; border: 1px solid #ffffff35; box-shadow: inset 0 0 30px #0002; }
.ad-creative::before, .ad-creative::after { content: ""; position: absolute; width: 160%; height: 35px; transform: rotate(-42deg); opacity: .28; pointer-events: none; }
.ad-creative::before { top: 12%; left: -35%; background: #fff; }.ad-creative::after { bottom: 12%; right: -40%; background: #05efff; }
.ad-creative-left { color: white; background: radial-gradient(circle at 50% 30%, #7536ff, transparent 50%), linear-gradient(155deg, #3110a8, #4012d7 55%, #071c85); }
.ad-creative-right { color: #061326; background: radial-gradient(circle at 50% 35%, #ffffff70, transparent 45%), linear-gradient(155deg, #00d7ed, #00a4dc 58%, #0875c4); }
.ad-kicker { font-size: clamp(.55rem, .8vw, .8rem); line-height: 1.25; text-transform: uppercase; font-weight: 900; letter-spacing: .4px; position: relative; z-index: 1; }
.ad-creative strong { font-size: clamp(1rem, 1.8vw, 1.7rem); line-height: 1; text-transform: uppercase; position: relative; z-index: 1; overflow-wrap: anywhere; }
.ad-symbol, .ad-target { font-size: clamp(2.5rem, 4vw, 4.5rem); line-height: 1; margin: 15px 0; position: relative; z-index: 1; }
.ad-symbol { color: #fff; text-shadow: 0 3px 0 #190b75; }.ad-target { color: #062b4a; text-shadow: 0 2px #fff8; }
.ad-copy { font-size: clamp(.6rem, .85vw, .85rem); line-height: 1.35; font-weight: 850; position: relative; z-index: 1; }
.ad-bottom { margin-top: 15px; padding-top: 12px; border-top: 1px solid currentColor; font-size: clamp(.52rem, .7vw, .68rem); line-height: 1.3; font-weight: 750; position: relative; z-index: 1; }
.ad-creative:hover { filter: brightness(1.08); }

/* Responsive */
@media (min-width: 1500px) {
  .site-shell { width: min(1180px, calc(100% - 340px)); }
}
@media (max-width: 1350px) {
  .ad-rail { width: 76px; }.ad-creative { padding: 15px 7px; gap: 10px; }
  .site-shell { width: min(var(--content-width), calc(100% - 190px)); }
  .navbar { padding-inline: 20px; gap: 14px; }.logo-img { height: 42px; }
  .nav-menu { gap: 12px; }.nav-menu a { font-size: .75rem; }.nav-cta { padding: 10px 12px; font-size: .74rem; }
}
@media (max-width: 1050px) {
  .ad-rail { display: none; }.site-shell { width: min(var(--content-width), 100%); }
  .navbar { padding-inline: 22px; }.nav-menu { gap: 14px; }
  .hero { min-height: 520px; }.hero-art { background-position: 58% center; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  :root { --nav-height: 70px; }
  .navbar { min-height: var(--nav-height); }
  .mobile-menu-button { display: block; order: 3; flex: 0 0 auto; }
  .nav-cta { margin-left: auto; }
  .nav-menu { display: none; position: fixed; inset: var(--nav-height) 0 0; z-index: 110; background: #030817f7; backdrop-filter: blur(18px); padding: 28px 22px; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 7px; overflow-y: auto; }
  .nav-menu.mobile-open { display: flex; }
  .nav-menu a { font-size: 1rem; padding: 13px 8px; text-align: center; }
  .nav-menu a::after { left: 35%; right: 65%; }.nav-menu a.active::after, .nav-menu a:hover::after { right: 35%; }
  .mobile-menu-button.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }.mobile-menu-button.active span:nth-child(2) { opacity: 0; }.mobile-menu-button.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 600px; align-items: flex-end; padding-top: 100px; }.hero-art { background-image: linear-gradient(0deg, #030816 0%, #030816d9 38%, #03081655 100%), url("Images/Banner FHD.png"); background-position: 60% center; }
  .hero-content { padding-bottom: 15px; }.hero h1 { font-size: clamp(2.8rem, 10vw, 4.5rem); letter-spacing: -1.7px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .academy-panel { grid-template-columns: 1fr; }.academy-art { position: absolute; right: 8px; bottom: 8px; opacity: .2; pointer-events: none; }
  .contact-banner { flex-wrap: wrap; }.contact-banner .button { margin-left: 66px; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .site-shell { width: 100%; }.navbar { padding: 9px 15px; gap: 10px; }.logo-img { height: 38px; }.nav-cta { font-size: .68rem; padding: 9px 10px; }
  .section { padding: 58px 17px; }.hero { min-height: 590px; padding: 92px 20px 42px; }.hero-content > p { font-size: .92rem; }.hero-highlights { gap: 13px; flex-direction: column; }.hero-highlights > div { font-size: .75rem; }.highlight-icon { font-size: 1.6rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }.button { width: 100%; }
  .section-heading { margin-bottom: 24px; }.heading-row { display: block; text-align: center; }.text-link { display: inline-block; margin-top: 13px; }
  .services-grid, .projects-grid { grid-template-columns: 1fr; }.service-card { min-height: 195px; }.project-image { height: 205px; }.project-content p { min-height: auto; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 10px; }.why-item { align-items: flex-start; }.why-item > span { font-size: 1.5rem; }
  .contact-banner { padding: 22px 18px; gap: 12px; }.banner-icon { flex-basis: 40px; width: 40px; height: 40px; }.contact-banner > div:nth-child(2) { flex: 1; }.contact-banner .button { margin-left: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 25px 18px; }.footer-bottom { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Animaciones progresivas: el contenido permanece accesible sin JavaScript. */
.js-ready .will-animate { animation: rise-in .55s ease both; }
.js-ready .will-animate.is-visible { animation: rise-in .55s ease both; }
@keyframes rise-in { from { opacity: .65; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .js-ready .will-animate, .js-ready .will-animate.is-visible { animation: none; } }
