/* =========================================================
   ATG Animations · landing page
   Brand tokens taken from the logo files
   ========================================================= */
:root {
  --violet: #6D4AFF;
  --cyan: #22D3EE;
  --pink: #FF5FA2;
  --yellow: #FFC94D;
  --ink: #0E1222;
  --navy: #16213F;
  --mist: #C9D3EA;
  --grad: linear-gradient(45deg, var(--violet), var(--cyan));
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-wide: var(--font);
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: #fff; background: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2 { line-height: 1.04; margin: 0 0 .45em; letter-spacing: -.03em; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { width: min(1280px, 100% - 48px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
main { overflow-x: clip; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0;
  background: var(--grad); color: #fff; font: 700 1rem var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 12px 28px -12px rgba(109, 74, 255, .8);
  transition: transform .35s var(--pop);
}
.btn:hover { transform: translateY(-3px) scale(1.04); }
.btn:active { transform: scale(.94, 1.06); transition-duration: .08s; }
.btn .tri { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; transition: transform .35s var(--pop); }
.btn:hover .tri { transform: translateX(4px); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .22); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--cyan); }
.btn--small { padding: 10px 18px; font-size: .9rem; }

/* ---------- Intro loader ---------- */
.loader { display: none; }
.js .loader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 100;
  background: var(--ink); cursor: pointer;
  clip-path: inset(0 0 0 0); transition: clip-path .7s cubic-bezier(.77, 0, .18, 1);
}
.loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader.is-gone { display: none; }
.loader__logo { width: min(320px, 68vw); overflow: visible; }
.lg { transform-box: fill-box; }
.lg-a { transform-origin: 50% 100%; animation: ldDrop .6s both; }
.lg-t { transform-origin: 50% 100%; animation: ldPop .45s .3s var(--pop) both; }
.lg-g { transform-origin: 50% 50%; animation: ldPop .45s .38s var(--pop) both; }
.lg-tri { transform-origin: 0 50%; animation: ldTri .5s .5s var(--pop) both; }
.lg-l { animation: ldUp .35s calc(.55s + var(--i) * .03s) ease-out both; }
@keyframes ldDrop {
  0% { transform: translateY(-220%) scale(.85, 1.25); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  10% { opacity: 1; }
  55% { transform: translateY(0) scale(1.3, .7); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  75% { transform: translateY(-18%) scale(.92, 1.1); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  90% { transform: translateY(0) scale(1.08, .93); }
  100% { transform: none; }
}
@keyframes ldPop { from { transform: scale(0); } to { transform: none; } }
@keyframes ldTri { from { transform: translateX(-60px) scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ldUp { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; background: rgba(14, 18, 34, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav__logo img { width: 78px; height: auto; transition: transform .4s var(--pop); }
.nav__logo:hover img { transform: rotate(-4deg) scale(1.06); }

/* ---------- Intro ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(40px, 7vw, 88px)) 0 clamp(44px, 6vw, 72px);
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(109, 74, 255, .32), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(34, 211, 238, .14), transparent 60%),
    var(--ink);
}
.hero::before { /* animator's canvas grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(201, 211, 234, .13) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 50%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: end; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-wide); font-weight: 700; text-transform: uppercase; letter-spacing: .24em; font-size: .7rem; color: var(--cyan); margin-bottom: 14px; }
.kf { width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); border-radius: 2px; display: inline-block; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: #FF4F6D; box-shadow: 0 0 0 4px rgba(255, 79, 109, .2); animation: rec 1.2s steps(2, jump-none) infinite; }
@keyframes rec { 50% { opacity: .2; } }

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); margin: 0; }
.kinetic .w { display: inline-block; overflow: hidden; padding: .06em .02em .1em; margin: -.06em 0 -.1em; vertical-align: top; }
.kinetic .w > span { display: inline-block; }
.js .kinetic .w > span { transform: translateY(115%) rotate(8deg); }
.is-ready .kinetic .w > span { transform: none; transition: transform .8s calc(var(--i) * .09s) var(--pop); }
.w--squiggle { position: relative; overflow: visible !important; }
.squiggle { position: absolute; left: 0; bottom: -.08em; width: 100%; height: .3em; overflow: visible; }
.squiggle path { fill: none; stroke: var(--yellow); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; }
.is-ready .squiggle path { stroke-dashoffset: 0; transition: stroke-dashoffset .7s .75s ease-out; }
.no-js .squiggle path { stroke-dashoffset: 0; }

.lead { font-size: 1.08rem; color: var(--mist); max-width: 32em; }
.lead strong { color: #fff; }
.offer { list-style: none; padding: 0; margin: 4px 0 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.offer li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-weight: 700; font-size: .9rem; transition: transform .35s var(--pop), background .2s; }
.offer li:hover { transform: translateY(-3px) rotate(-2deg); background: rgba(255, 255, 255, .1); }
.offer i { width: 9px; height: 9px; background: var(--c); transform: rotate(45deg); border-radius: 2px; }
.for { font: 500 .74rem var(--mono); letter-spacing: .06em; color: rgba(201, 211, 234, .65); margin: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn .down { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---------- Work: project cards ---------- */
.work { position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); background: #0B0F1D; }
.work__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.work__head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.work__count { font: 500 .74rem var(--mono); letter-spacing: .1em; color: var(--mist); opacity: .7; padding-bottom: 8px; }
.cards { display: grid; gap: clamp(28px, 4vw, 44px); }

.pcard {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  border-radius: 26px; overflow: hidden; background: #10172E;
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
  position: relative;
}
.pcard::before { /* accent glow along the top edge */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 3;
  background: linear-gradient(90deg, var(--acc), transparent 75%);
}
.pcard:nth-child(even) .pcard__media { order: 2; }
.js .pcard.reveal { opacity: 0; transform: translateY(48px) scale(.97); }
.js .pcard.reveal.in { opacity: 1; transform: none; transition: opacity .5s, transform .8s var(--pop); }

.pcard__media { min-width: 0; background: linear-gradient(180deg, #1B2750, #16213F); }
.pcard__screen { position: relative; padding: 32px 16px 14px; }
.pcard__screen::before, .pcard__screen::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(201, 211, 234, .3); pointer-events: none; }
.pcard__screen::before { left: 10px; top: 10px; border-right: 0; border-bottom: 0; }
.pcard__screen::after { right: 10px; bottom: 8px; border-left: 0; border-top: 0; }
.pcard__label { position: absolute; top: 12px; font: 500 .64rem var(--mono); letter-spacing: .12em; color: rgba(201, 211, 234, .55); }
.pcard__label--l { left: 38px; }
.pcard__label--r { right: 16px; }

.pcard__body { padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.pcard__num { font: 500 .72rem var(--mono); letter-spacing: .1em; color: var(--mist); opacity: .6; margin-bottom: 14px; }
.tag { align-self: flex-start; font-size: .78rem; font-weight: 700; color: #fff; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
  background: color-mix(in srgb, var(--acc) 22%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 55%, transparent); }
.pcard h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 10px; }
.pcard__client { font: 500 .74rem var(--mono); letter-spacing: .06em; color: var(--cyan); margin: 0 0 12px; }
.pcard__sum { color: var(--mist); margin: 0 0 14px; }
.pcard__meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0 0 14px; font-size: .9rem; }
.pcard__meta dt { color: var(--mist); opacity: .7; }
.pcard__meta dd { margin: 0; font-weight: 600; }
.pcard__now { display: flex; flex-direction: column; gap: 2px; margin: 0 0 18px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border-left: 3px solid var(--acc); }
.pcard__now span { font: 500 .66rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mist); opacity: .7; }
.pcard__now b { font-size: .98rem; }
.pcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.pcard__actions .btn svg { width: 15px; height: 15px; fill: currentColor; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; }
.pcard__alt { font: 500 .72rem var(--mono); letter-spacing: .04em; color: var(--cyan); text-decoration: none; white-space: nowrap; padding: 6px 2px; }
.pcard__alt:hover { text-decoration: underline; }

/* player + poster */
.player { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: var(--ink); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }
.player .poster { z-index: 2; transition: opacity .35s ease; }
.player.is-live .poster { opacity: 0; pointer-events: none; }
.poster { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; color: #fff; font: inherit; display: grid; place-items: center; background: var(--grad); }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster--pink { background: radial-gradient(circle at 28% 22%, #FFB6D3, transparent 55%), linear-gradient(45deg, #FF3E8A, #FF8DBB); }
.poster--violet { background: linear-gradient(45deg, var(--violet), #A58BFF); }
.poster--blue { background: radial-gradient(circle at 28% 22%, #8FD8FF, transparent 55%), linear-gradient(45deg, #2F6BFF, #22D3EE); }
.poster--navy { background: linear-gradient(45deg, var(--navy), #2F4580); }
.poster__char { position: absolute; left: 50%; top: 50%; width: 22%; max-width: 170px; transform: translate(-50%, -58%); animation: bob 2.4s ease-in-out infinite; filter: drop-shadow(0 12px 18px rgba(120, 0, 50, .3)); }
@keyframes bob { 0%, 100% { transform: translate(-50%, -58%) rotate(-4deg); } 50% { transform: translate(-50%, -66%) rotate(4deg); } }
.poster__title { position: absolute; left: 5%; bottom: 7%; text-align: left; font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.6rem); line-height: .95; letter-spacing: -.04em; text-shadow: 0 4px 20px rgba(0, 0, 0, .2); max-width: 70%; }
.poster__title small { display: block; font: 500 .7rem var(--mono); letter-spacing: .1em; opacity: .9; margin-bottom: 6px; }
.poster__play { position: absolute; right: 5%; bottom: 7%; width: 66px; height: 66px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .4s var(--pop); }
.poster__play svg { width: 24px; fill: var(--violet); margin-left: 3px; }
.poster:hover .poster__play { transform: scale(1.12) rotate(-6deg); }
.poster__soon { position: absolute; right: 12px; top: 12px; font: 500 .64rem var(--mono); letter-spacing: .06em; color: var(--ink); background: rgba(255, 255, 255, .92); padding: 4px 9px; border-radius: 6px; }
.poster.is-loading .poster__play svg { opacity: 0; }
.poster.is-loading .poster__play::after {
  content: ""; position: absolute; inset: 16px; border-radius: 50%;
  border: 3px solid rgba(109, 74, 255, .25); border-top-color: var(--violet);
  animation: spinIt .7s linear infinite;
}
@keyframes spinIt { to { transform: rotate(360deg); } }

/* episode timeline (series only) */
.tl { font-family: var(--mono); font-size: .68rem; color: var(--mist); background: #10172E; border-top: 1px solid rgba(255, 255, 255, .06); }
.tl__bar { display: flex; align-items: center; gap: 14px; padding: 8px 16px 6px; }
.tl__tc { color: var(--cyan); font-size: .78rem; }
.tl__comp { margin-left: auto; opacity: .4; }
.tl__clips { position: relative; display: flex; gap: 4px; padding: 0 16px 16px; }
.clip {
  position: relative; flex: 1; min-width: 0; height: 40px; border: 0; border-radius: 6px; cursor: pointer;
  font: 500 .66rem var(--mono); letter-spacing: .04em; color: #fff; text-align: left; padding: 0 9px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 60%, transparent), color-mix(in srgb, var(--acc) 32%, transparent));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  transition: transform .3s var(--pop), box-shadow .2s, opacity .2s;
}
.clip::before { content: ""; position: absolute; left: -1px; top: 50%; width: 8px; height: 8px; background: var(--yellow); transform: translate(-50%, -50%) rotate(45deg); border-radius: 1px; }
.clip:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.clip[aria-current="true"] { box-shadow: inset 0 0 0 2px #fff, 0 6px 18px -6px var(--acc); }
.clip span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clip--thumb { background-size: cover; background-position: center; }
.clip--empty { opacity: .5; }
.clip--empty:hover, .clip--empty[aria-current="true"] { opacity: .85; }
.playhead { position: absolute; top: -6px; bottom: 10px; width: 2px; background: #FF4F6D; pointer-events: none; transition: left .55s var(--pop); z-index: 2; }
.playhead::before { content: ""; position: absolute; top: -2px; left: -5px; width: 12px; height: 10px; background: #FF4F6D; clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }

/* ---------- CTA (screen 2) ---------- */
.cta { position: relative; background: linear-gradient(135deg, #5B3DF0, #3F8CF2 55%, #22C3E6); padding: 72px 0 0; overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-bottom: 56px; }
.cta h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.cta__copy p { font-size: 1.12rem; color: rgba(255, 255, 255, .88); max-width: 28em; }
.cta__copy strong { color: #fff; }
.form-wrap { position: relative; padding-top: 46px; }
.peeker { position: absolute; top: 0; right: 44px; width: 112px; z-index: 1; animation: peek 5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes peek { 0%, 45%, 100% { transform: translateY(0); } 50% { transform: translateY(14px) scaleY(.9); } 58% { transform: translateY(-4px); } 64% { transform: translateY(0); } }
.blink { transform-box: fill-box; transform-origin: center; animation: blink 4s infinite; }
@keyframes blink { 0%, 44%, 50%, 100% { transform: scaleY(1); } 47% { transform: scaleY(.1); } }
.pupils { transition: transform .15s ease-out; }
.form { position: relative; z-index: 2; background: #fff; color: var(--ink); border-radius: 22px; padding: clamp(20px, 3vw, 30px); display: grid; gap: 14px; box-shadow: 0 40px 80px -30px rgba(14, 18, 34, .55); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .88rem; }
.form input, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #E3E7F1; background: #F3F5FB; color: var(--ink); resize: vertical; transition: border-color .2s, box-shadow .2s, background .2s; min-width: 0; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(109, 74, 255, .14); }
.form .btn { justify-self: start; }
.form__note { margin: 0; font-size: .88rem; color: #545B72; }
.form__note:empty { display: none; }

.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .85rem; color: rgba(255, 255, 255, .8); }
.footer__made { font: 500 .74rem var(--mono); letter-spacing: .06em; display: inline-flex; align-items: flex-end; gap: 8px; }
.bounce-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: dotB .6s infinite; }
@keyframes dotB { 0%, 100% { transform: translateY(0) scale(1.3, .7); } 15% { transform: translateY(-4px) scale(.85, 1.15); animation-timing-function: cubic-bezier(.15, .6, .35, 1); } 50% { transform: translateY(-12px) scale(1); animation-timing-function: cubic-bezier(.65, 0, .85, .4); } 85% { transform: translateY(-4px) scale(.9, 1.1); } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .cta__grid { grid-template-columns: 1fr; align-items: start; }
  .pcard { grid-template-columns: 1fr; }
  .pcard:nth-child(even) .pcard__media { order: 0; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .nav__inner .btn { padding: 9px 14px; font-size: .84rem; }
  .form__row { grid-template-columns: 1fr; }
  .pcard__screen { padding: 30px 10px 10px; }
  .tl__clips { padding: 0 10px 12px; gap: 3px; }
  .clip { height: 32px; padding: 0 3px 0 8px; font-size: .58rem; }
  .poster__play { width: 52px; height: 52px; }
  .peeker { width: 92px; right: 24px; }
  .form-wrap { padding-top: 38px; }
  .cta { padding-top: 56px; }
  .work__head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .kinetic .w > span, .js .pcard.reveal { transform: none; opacity: 1; }
  .squiggle path { stroke-dashoffset: 0; }
}
.form__note a { color: var(--violet); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Social call-to-action buttons ---------- */
.social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; max-width: 560px; }
.social__btn {
  display: flex; align-items: center; gap: 12px; padding: 14px 14px; border-radius: 18px; text-decoration: none; color: #fff;
  box-shadow: 0 14px 30px -14px rgba(14, 18, 34, .6), inset 0 0 0 1px rgba(255, 255, 255, .18);
  transition: transform .35s var(--pop), box-shadow .2s; position: relative; overflow: hidden;
}
.social__btn:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 20px 36px -14px rgba(14, 18, 34, .7), inset 0 0 0 1px rgba(255, 255, 255, .3); }
.social__btn:active { transform: scale(.97); }
.social__btn--wa { background: linear-gradient(135deg, #25D366, #128C7E); }
.social__btn--ig { background: linear-gradient(45deg, #F9A825 0%, #F56040 28%, #E1306C 55%, #C13584 75%, #833AB4 100%); }
.social__icon { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); }
.social__btn:hover .social__icon { animation: wiggle .5s var(--pop); }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-12deg) scale(1.08); } 65% { transform: rotate(8deg); } }
.social__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.social__text b { font-size: 1.04rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.social__text small { font-size: .82rem; opacity: .9; margin-top: 3px; }
.social__arrow { margin-left: auto; font-weight: 800; font-size: 1.2rem; transition: transform .35s var(--pop); }
.social__btn:hover .social__arrow { transform: translateX(4px); }
.social__mail { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 6px 2px; color: #fff; font-weight: 700; text-decoration: none; opacity: .92; }
.social__mail:hover { opacity: 1; text-decoration: underline; }

.ico { width: 26px; height: 26px; }
.ico--wa .ico__bubble { fill: none; stroke: #fff; stroke-width: 1.9; stroke-linejoin: round; }
.ico--wa .ico__phone { fill: #fff; }
.ico--ig rect, .ico--ig circle { fill: none; stroke: #fff; stroke-width: 2; }
.ico--ig .ico__dot { fill: #fff; stroke: none; }
.ico--mail { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- WhatsApp chat window ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--font); }
.wa__fab {
  width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: #25D366; box-shadow: 0 14px 30px -10px rgba(18, 140, 126, .8); transition: transform .35s var(--pop);
  position: relative;
}
.wa__fab .ico { width: 32px; height: 32px; }
.wa__fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
.wa__fab:hover { transform: scale(1.08) rotate(-6deg); }
.wa.is-open .wa__fab::after { animation: none; }
.wa__teaser {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-radius: 16px 16px 4px 16px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45);
  animation: popIn .5s var(--pop);
}
.wa__teaser[hidden] { display: none; }
.wa__teaser button { border: 0; background: #EEF1F7; color: var(--ink); width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 1rem; line-height: 1; }
@keyframes popIn { from { transform: translateY(10px) scale(.85); opacity: 0; } }
.wa__panel {
  width: min(350px, calc(100vw - 32px)); border-radius: 20px; overflow: hidden; background: #ECE5DD; color: #111B21;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6); animation: popIn .4s var(--pop); transform-origin: bottom right;
}
.wa__panel[hidden] { display: none; }
.wa__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: #075E54; color: #fff; }
.wa__head img { width: 40px; height: 40px; border-radius: 50%; }
.wa__head div { display: flex; flex-direction: column; line-height: 1.25; }
.wa__head b { font-size: .98rem; }
.wa__head small { font-size: .76rem; opacity: .85; }
.wa__close { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.3rem; cursor: pointer; }
.wa__body { padding: 16px 14px 8px; min-height: 150px; background-color: #ECE5DD; background-image: radial-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px); background-size: 14px 14px; }
.wa__msg { position: relative; max-width: 88%; background: #fff; padding: 9px 12px 18px; border-radius: 0 12px 12px 12px; font-size: .92rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); animation: popIn .5s .15s var(--pop) both; }
.wa__time { position: absolute; right: 10px; bottom: 4px; font-size: .64rem; color: #667781; }
.wa__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.wa__chips button { border: 1px solid #25D366; background: #fff; color: #075E54; font: 600 .8rem var(--font); padding: 6px 11px; border-radius: 999px; cursor: pointer; transition: background .2s; }
.wa__chips button:hover { background: #DCF8C6; }
.wa__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 10px 4px; background: #F0F2F5; }
.wa__form textarea { flex: 1; min-width: 0; resize: none; overflow-y: auto; line-height: 1.35; border: 0; border-radius: 20px; padding: 10px 14px; font: 400 .92rem var(--font); color: #111B21; background: #fff; max-height: 110px; }
.wa__form textarea:focus { outline: 2px solid #25D366; }
.wa__send { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #25D366; cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--pop); }
.wa__send:hover { transform: scale(1.08); }
.wa__send svg { width: 20px; fill: #fff; margin-left: 2px; }
.wa__note { margin: 0; padding: 2px 12px 10px; background: #F0F2F5; font-size: .72rem; color: #667781; text-align: center; }

@media (max-width: 640px) {
  .social { grid-template-columns: 1fr; }
  .wa { right: 14px; bottom: 14px; }
  .wa__fab { width: 56px; height: 56px; }
}
@media (min-width: 641px) { .footer { padding-right: 90px; } }
