/* =========================================================
   Ánima Kitchent — estilos (basados en la web actual)
   ========================================================= */
:root {
  /* Paleta oficial Ánima Kitchent — valores HEX del manual (Colores/Paleta_De_Colores_RGB) */
  --sunny: #ff9700; --gold: #ffc900; --yolk: #ffd962;
  --cookie: #ddc473; --vanilla: #ffe99a; --cream: #fff1c4;
  --cherry: #ce323a; --coral: #ff6b4a; --apricot: #ffa9a9;
  --jade: #33a38d; --turquoise: #1ed6c1; --aquamarine: #a3efd8;
  --ocean: #303091; --indigo: #4847e5; --periwinkle: #6c79ef;
  --silver: #c6c2b8; --sand: #f4f0e1; --snow: #ffffff;
  --onyx: #2b2b2b; --dust: #666666; --mist: #c0c6d3;

  /* Forma de marca: esquinas redondeadas arriba-dcha y abajo-izda (Formas/) */
  --leaf: 0 22px 0 22px;
  --leaf-lg: 0 34px 0 34px;
  --font-title: "Lilita One", "Fredoka", system-ui, sans-serif;

  --ink: var(--onyx);
  --text: var(--dust);
  --muted: #858585;
  --line: #ecebe6;
  --soft: var(--sand);
  --accent: var(--indigo);
  --fb: #3b5998;
  --tw: #1da1f2;
  --in: #0077b5;
  --shadow: 0 2px 12px rgba(0, 0, 0, .10);
  --font: "Fredoka", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1, .section__title, .facts strong, .contact__email { font-family: var(--font-title); font-weight: 400; letter-spacing: .01em; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header__inner { display: flex; align-items: center; gap: 40px; height: 88px; }
.logo img { width: 150px; height: auto; }
.nav { display: flex; gap: 28px; flex: 1; }
.nav a { text-decoration: none; font-weight: 500; font-size: 1.05rem; color: var(--text); transition: color .2s; }
.nav a:hover { color: var(--accent); }
.header__right { display: flex; align-items: center; gap: 16px; }
.social { display: flex; gap: 6px; }
.social a { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; transition: transform .15s; }
.social a:hover { transform: scale(1.1); }
.social svg { width: 15px; height: 15px; fill: #fff; }
.social__fb { background: var(--fb); } .social__tw { background: var(--tw); } .social__in { background: var(--in); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang button { border: 0; background: none; font: 600 .75rem var(--font); padding: 5px 10px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.lang button.is-active { background: var(--indigo); color: #fff; }
.burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; }
.burger span { height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { min-height: calc(85vh - 88px); display: flex; align-items: center; text-align: center; padding: 60px 0 30px; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: .01em; margin-bottom: 18vh; }
.chevron { display: block; width: 40px; margin: 30px auto 0; opacity: .25; transition: opacity .2s, transform .2s; }
.chevron:hover { opacity: .6; transform: translateY(4px); }
.chevron svg { width: 40px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 4; }

/* Hero con vídeo */
.hero--video { position: relative; overflow: hidden; background: #111; color: #fff; min-height: calc(100vh - 88px); padding: 0; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.55) 100%); }
.hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: calc(100vh - 88px); padding-bottom: 40px; }
.hero--video h1 { color: #fff; margin: 0 0 auto; padding-top: 34vh; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.chevron--light { opacity: .7; }
.chevron--light svg { stroke: #fff; }
.chevron--light:hover { opacity: 1; }
.hero__controls { position: absolute; z-index: 2; right: 20px; bottom: 20px; display: flex; gap: 8px; }
.hero__controls button { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(0,0,0,.45); display: grid; place-items: center; transition: background .2s; }
.hero__controls button:hover { background: rgba(0,0,0,.7); }
.hero__controls svg { width: 20px; height: 20px; fill: #fff; }
#hero-sound .ico-on, #hero-sound[aria-pressed="true"] .ico-off { display: none; }
#hero-sound[aria-pressed="true"] .ico-on { display: block; }
#hero-play .ico-play, #hero-play[aria-pressed="true"] .ico-pause { display: none; }
#hero-play[aria-pressed="true"] .ico-play { display: block; }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section--soft { background: var(--soft); }
/* Título de sección con el estilo del manual: etiqueta Indigo + cuadrado Gold */
.section__title { position: relative; display: inline-block; font-size: 1.6rem; line-height: 1.1; color: #fff; background: var(--indigo); padding: 11px 28px; margin: 7px 0 30px 54px; border-radius: 0 16px 16px 0; }
.section__title::before { content: ""; position: absolute; left: -54px; top: -7px; bottom: -7px; width: 50px; background: var(--gold); border-radius: 16px 0 0 16px; }
.section__sub { margin: -10px 0 26px; color: var(--muted); }

/* ---------- Characters ---------- */
.chars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.char { background: #fff; box-shadow: var(--shadow); border-radius: var(--leaf-lg); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.char:hover { box-shadow: 0 8px 24px rgba(0,0,0,.14); transform: translateY(-3px); }
.char__img { display: block; overflow: hidden; aspect-ratio: 370 / 243; }
.char__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.char:hover .char__img img { transform: scale(1.04); }
.char__foot { position: relative; display: flex; align-items: center; justify-content: center; min-height: 66px; padding: 0 16px; }
.char__foot h3 a { text-decoration: none; }
.char__foot h3 a:hover { color: var(--accent); }
.char__foot h3 { font-family: var(--font-title); font-size: 1.25rem; font-weight: 400; letter-spacing: .01em; color: var(--text); margin: 0; }
.char__icons { position: absolute; right: 16px; display: flex; gap: 8px; }
.char__icons svg { width: 15px; height: 15px; fill: #333; transition: fill .2s; }
.char__icons a:hover svg { fill: var(--accent); }

/* ---------- Studio ---------- */
.studio__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: start; }
.studio__lead { font-size: 1.3rem; font-weight: 600; color: var(--ink); line-height: 1.5; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.facts li { background: #fff; padding: 22px 18px; box-shadow: var(--shadow); border-radius: var(--leaf); }
.facts strong { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.facts li, .news__item { position: relative; }
.facts li::before, .news__item::before { content: ""; position: absolute; left: 18px; top: 0; width: 46px; height: 6px; background: var(--c, var(--indigo)); border-radius: 0 0 6px 6px; }
.facts li:nth-child(1) { --c: var(--sunny); } .facts li:nth-child(2) { --c: var(--cherry); }
.facts li:nth-child(3) { --c: var(--jade); }  .facts li:nth-child(4) { --c: var(--indigo); }
.facts li strong { color: var(--c); }
.facts span { font-size: .95rem; color: var(--muted); font-weight: 500; }

/* ---------- News ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news__item:nth-child(4n+1) { --c: var(--sunny); } .news__item:nth-child(4n+2) { --c: var(--cherry); }
.news__item:nth-child(4n+3) { --c: var(--jade); } .news__item:nth-child(4n+4) { --c: var(--indigo); }
.news__item { border-radius: var(--leaf); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); padding: 24px; transition: box-shadow .2s, border-color .2s; }
.news__item:hover { box-shadow: var(--shadow); border-color: transparent; }
.news__meta { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--c, var(--accent)); margin: 0 0 8px; }
.news__item h3 { font-size: 1.12rem; font-weight: 600; }
.news__item p { font-size: .93rem; margin: 0 0 16px; }
.news__link { margin-top: auto; font-weight: 600; font-size: .88rem; color: var(--ink); text-decoration: none; }
.news__link:hover { color: var(--accent); }
.news__more { text-align: center; margin-top: 30px; }
.btn { font: 600 1rem var(--font); padding: 12px 28px; border-radius: var(--leaf); border: 0; background: var(--gold); color: var(--onyx); cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--indigo); color: #fff; }

/* ---------- Contact ---------- */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 760px; margin: 20px auto 0; }
.office img { height: 220px; width: auto; margin: 0 auto 26px; }
.office h3 { font-family: var(--font-title); font-weight: 400; font-size: 1.15rem; color: var(--text); margin: 0 0 12px; padding-left: 12%; }
.office address { font-style: normal; font-size: .9rem; color: var(--muted); padding-left: 12%; }
.contact__email { text-align: center; font-size: 1.4rem; margin: 50px 0 0; }
.contact__email a { text-decoration: none; color: var(--text); }
.contact__email a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { padding: 50px 0 40px; text-align: center; font-size: .82rem; color: var(--muted); }
.footer__logos { margin: 0 auto 26px; max-width: 760px; width: 100%; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--accent); }
.footer__copy { margin: 10px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .news { grid-template-columns: 1fr 1fr; }
  .header__inner { gap: 20px; }
  .nav { gap: 18px; }
}
@media (max-width: 860px) {
  .burger { display: flex; }
  .social { display: none; }
  .header__right { margin-left: auto; }
  .nav { position: fixed; inset: 88px 0 auto 0; flex-direction: column; gap: 0; background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.08); max-height: 0; overflow: hidden; transition: max-height .3s; }
  .nav.is-open { max-height: 360px; }
  .nav a { padding: 15px 24px; border-top: 1px solid var(--line); }
  .studio__grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  .header__inner { height: 72px; }
  .nav { inset: 72px 0 auto 0; }
  .logo img { width: 120px; }
  .chars, .news, .offices { grid-template-columns: 1fr; }
  .office { text-align: center; }
  .office h3, .office address { padding-left: 0; }
  .office img { height: 180px; }
  .contact__email { font-size: 1.15rem; }
  .section { padding: 54px 0; }
  .hero h1 { margin-bottom: 10vh; }
  .hero--video, .hero__content { min-height: 70vh; }
  .hero--video h1 { padding-top: 24vh; margin-bottom: auto; }
  .hero__controls { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
