:root {
  --color-black: #0a0a0a;
  --color-white: #ffffff;
  --color-olive-dark: #2b4a1c;
  --color-olive-mid: #567a42;
  --color-cream: #f5f4f0;
  --color-navy: #1b2a4a;
  --color-red: #c8102e;
  --color-panel: #111111;
  --text-muted: rgba(255, 255, 255, 0.68);
  --border-soft: rgba(255, 255, 255, 0.1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-black);
  color: var(--color-cream);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: geometricPrecision;
}

body.menu-open {
  overflow: hidden;
}

.luxury-intro {
  align-items: center;
  animation: introExit 1.15s 1.45s var(--ease-out) forwards;
  background: var(--color-black);
  display: flex;
  inset: 0;
  justify-content: center;
  pointer-events: none;
  position: fixed;
  z-index: 3000;
}

.luxury-intro::before,
.luxury-intro::after {
  background: rgba(245, 244, 240, 0.18);
  content: "";
  height: 1px;
  position: absolute;
  top: 50%;
  transform: scaleX(0);
  width: min(36vw, 360px);
}

.luxury-intro::before {
  animation: introLineLeft 1.1s 0.15s var(--ease-out) both;
  right: calc(50% + 96px);
  transform-origin: right;
}

.luxury-intro::after {
  animation: introLineRight 1.1s 0.15s var(--ease-out) both;
  left: calc(50% + 96px);
  transform-origin: left;
}

.intro-mark {
  align-items: center;
  animation: introMark 1.25s 0.2s var(--ease-out) both;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.intro-mark img {
  height: 74px;
  object-fit: cover;
  width: 74px;
}

.intro-mark span {
  color: rgba(245, 244, 240, 0.82);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr auto auto;
  left: 0;
  padding: 20px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  z-index: 1000;
}

.site-header.is-scrolled,
.site-header.menu-active {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  padding-top: 14px;
}

.brand {
  align-items: center;
  display: inline-flex;
}

.brand img {
  height: 42px;
  width: 42px;
  border-radius: 2px;
  object-fit: cover;
}

.desktop-nav {
  align-items: center;
  display: none;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 34px);
}

.desktop-nav a,
.nav-cta {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--color-white);
}

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  display: none;
  padding: 10px 18px;
}

.nav-cta:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.menu-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: var(--color-white);
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  height: 42px;
  justify-content: center;
  justify-self: end;
  padding: 0;
  width: 42px;
}

.menu-toggle span {
  background: currentColor;
  display: block;
  height: 1px;
  transition: transform 0.25s ease;
  width: 18px;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
  align-items: center;
  background: rgba(10, 10, 10, 0.98);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu nav {
  display: grid;
  gap: 22px;
  text-align: center;
}

.mobile-menu a {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 12vw, 4rem);
  line-height: 1;
}

.hero {
  align-items: center;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: 128px 20px 76px;
  place-items: center;
  position: relative;
}

.hero-media,
.hero-overlay,
.hero-frame,
.hero-sheen,
.hero-window,
.hero-accent {
  inset: 0;
  position: absolute;
}

.hero-media {
  animation: heroImage 1.15s 1.95s cubic-bezier(0.08, 0.82, 0.18, 1) both, heroDrift 16s 4.15s ease-in-out infinite alternate;
  background: url("../assets/hero-madrid.jpg") center / cover no-repeat;
  will-change: transform;
}

.hero-window {
  animation: windowFade 0.35s 3.05s ease forwards;
  background:
    radial-gradient(ellipse at center, transparent 0 34%, rgba(0, 0, 0, 0.2) 52%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.92));
  pointer-events: none;
  perspective: 900px;
  z-index: 1;
}

.window-bar {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(18, 18, 16, 0.86));
  box-shadow: 0 0 56px rgba(0, 0, 0, 0.82);
  position: absolute;
  transform-origin: center;
}

.window-bar-left,
.window-bar-right {
  bottom: -12vh;
  top: -12vh;
  width: clamp(58px, 11vw, 180px);
}

.window-bar-left {
  animation: windowLeft 1.05s 1.95s cubic-bezier(0.08, 0.82, 0.18, 1) forwards;
  left: 0;
}

.window-bar-right {
  animation: windowRight 1.05s 1.95s cubic-bezier(0.08, 0.82, 0.18, 1) forwards;
  right: 0;
}

.window-bar-top,
.window-bar-bottom {
  height: clamp(48px, 10vh, 132px);
  left: -8vw;
  right: -8vw;
}

.window-bar-top {
  animation: windowTop 1.05s 1.95s cubic-bezier(0.08, 0.82, 0.18, 1) forwards;
  top: 0;
}

.window-bar-bottom {
  animation: windowBottom 1.05s 1.95s cubic-bezier(0.08, 0.82, 0.18, 1) forwards;
  bottom: 0;
}

.hero-sheen {
  animation: heroSheen 1.6s 2.45s var(--ease-out) both;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.22) 45%, transparent 58%);
  mix-blend-mode: screen;
  transform: translateX(-120%) skewX(-12deg);
  z-index: 1;
}

.hero-overlay {
  background:
    radial-gradient(circle at 50% 42%, rgba(245, 244, 240, 0.22), transparent 26%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 42%, rgba(0, 0, 0, 0.78) 100%);
}

.hero-frame {
  animation: frameIn 1.1s 3.05s var(--ease-out) both;
  border: 1px solid rgba(245, 244, 240, 0.24);
  inset: clamp(82px, 12vh, 118px) clamp(18px, 5vw, 72px) clamp(38px, 7vh, 78px);
  opacity: 0;
  transform: scaleX(0.86);
  transform-origin: center;
  z-index: 1;
}

.hero-accent {
  background: var(--color-red);
  height: 2px;
  opacity: 0;
  top: clamp(82px, 12vh, 118px);
  width: clamp(48px, 9vw, 128px);
  z-index: 2;
}

.hero-accent-left {
  animation: accentInLeft 0.8s 3.24s var(--ease-out) both;
  left: clamp(18px, 5vw, 72px);
  transform-origin: left;
}

.hero-accent-right {
  animation: accentInRight 0.8s 3.34s var(--ease-out) both;
  bottom: clamp(38px, 7vh, 78px);
  left: auto;
  right: clamp(18px, 5vw, 72px);
  top: auto;
  transform-origin: right;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.hero-kicker,
.hero-languages {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.72rem, 1.8vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  margin: 0;
  text-transform: uppercase;
}

.hero-languages {
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.08em;
  margin-top: 18px;
  text-transform: none;
}

.hero h1 {
  margin: 20px 0 0;
}

.hero-title {
  background-image:
    linear-gradient(rgba(245, 244, 240, 0.86), rgba(245, 244, 240, 0.86)),
    url("../assets/hero-madrid.jpg");
  background-position: center;
  background-size: cover;
  color: transparent;
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.82;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.5));
  text-shadow: 0 22px 70px rgba(0, 0, 0, 0.54);
  transform: translateY(44px);
}

.hero-title-primary {
  animation: titleIn 0.95s 3.2s var(--ease-out) both;
  font-size: clamp(5rem, 20vw, 17rem);
}

.hero-title-secondary {
  animation: titleIn 0.95s 3.36s var(--ease-out) both;
  font-size: clamp(2.9rem, 11vw, 10rem);
  letter-spacing: 0.04em;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(12px);
}

.hero-kicker {
  animation: softIn 0.7s 3.62s ease both;
}

.hero-languages {
  animation: softIn 0.7s 3.78s ease both;
}

.hero-actions {
  animation: softIn 0.65s 3.95s ease both;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.signature-strip {
  align-items: center;
  background: var(--color-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 18px;
  justify-content: center;
  min-height: 112px;
  overflow: hidden;
  padding: 28px 20px;
  position: relative;
  text-align: center;
}

.signature-strip::before {
  background: linear-gradient(90deg, transparent, rgba(200, 16, 46, 0.72), transparent);
  content: "";
  height: 1px;
  left: 50%;
  max-width: 720px;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 62vw;
}

.signature-strip p,
.signature-strip span {
  margin: 0;
}

.signature-strip p {
  color: rgba(245, 244, 240, 0.92);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-style: italic;
  line-height: 1;
}

.signature-strip span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 46px;
  padding: 12px 20px;
  text-transform: uppercase;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--color-olive-dark);
  color: var(--color-white);
}

.button-primary:hover {
  background: var(--color-olive-mid);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.66);
  color: var(--color-white);
}

.button-secondary:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.button-red {
  background: var(--color-red);
  color: var(--color-white);
}

.scroll-cue {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  bottom: 28px;
  display: flex;
  height: 46px;
  justify-content: center;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 30px;
  z-index: 2;
}

.scroll-cue span {
  animation: cue 1.7s ease-in-out infinite;
  background: var(--color-white);
  border-radius: 999px;
  height: 8px;
  opacity: 0.72;
  width: 2px;
}

.section-light,
.section-dark {
  padding: clamp(76px, 11vw, 138px) 20px;
}

.scroll-scene {
  overflow: hidden;
  position: relative;
}

.scroll-scene::before {
  background: linear-gradient(90deg, transparent, rgba(200, 16, 46, 0.72), transparent);
  content: "";
  height: 1px;
  left: 50%;
  opacity: 0;
  position: absolute;
  top: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: opacity 0.8s ease, transform 1.15s var(--ease-out);
  width: min(72vw, 960px);
}

.scroll-scene.scene-active::before {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.section-light {
  background: var(--color-cream);
  color: var(--color-black);
}

.section-dark {
  background: var(--color-black);
  color: var(--color-cream);
}

.section-shell {
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.section-intro {
  margin: 0 auto 36px;
  max-width: 760px;
  text-align: center;
}

.eyebrow {
  color: var(--color-olive-mid);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.eyebrow-red {
  color: var(--color-red);
}

.section-intro h2,
.china-copy h2,
.presentation-card h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
}

.section-intro h2 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

.cinematic-reveal h2 {
  clip-path: inset(0 0 100% 0);
  transform: translateY(32px);
  transition: clip-path 1.05s var(--ease-out), transform 1.05s var(--ease-out);
}

.cinematic-reveal.visible h2 {
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
}

.section-intro p:last-child {
  color: rgba(10, 10, 10, 0.66);
  margin: 18px auto 0;
  max-width: 520px;
}

.advisor-placeholder {
  background:
    linear-gradient(var(--color-white), var(--color-white)) padding-box,
    linear-gradient(135deg, rgba(86, 122, 66, 0.7), rgba(27, 42, 74, 0.28)) border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(10, 10, 10, 0.12);
  color: var(--color-olive-mid);
  margin: 0 auto;
  max-width: 850px;
  min-height: 260px;
  padding: 72px 28px;
  position: relative;
  text-align: center;
  transform-style: preserve-3d;
}

.advisor-placeholder::after {
  background: linear-gradient(90deg, transparent, rgba(86, 122, 66, 0.18), transparent);
  content: "";
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transform: translateX(-80%);
  transition: opacity 0.7s ease, transform 1.1s var(--ease-out);
  width: 55%;
}

.advisor-placeholder.visible::after {
  opacity: 1;
  transform: translateX(180%);
}

.advisor-placeholder::before {
  border: 1px dashed rgba(86, 122, 66, 0.42);
  border-radius: 6px;
  content: "";
  inset: 16px;
  pointer-events: none;
  position: absolute;
}

.advisor-placeholder p {
  color: var(--color-black);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  margin: 0;
}

.advisor-placeholder span {
  display: block;
  font-size: 0.9rem;
  margin-top: 12px;
  opacity: 0.72;
}

.presentation {
  border-bottom: 1px solid var(--border-soft);
  border-top: 1px solid var(--border-soft);
}

.presentation-grid {
  display: grid;
  gap: 0;
}

.presentation-card {
  border-bottom: 1px solid var(--border-soft);
  padding: 34px 0;
  position: relative;
}

.presentation-card::before {
  background: linear-gradient(180deg, rgba(86, 122, 66, 0.48), transparent);
  content: "";
  height: 0;
  left: 0;
  position: absolute;
  top: 34px;
  transition: height 0.85s var(--ease-out);
  width: 1px;
}

.presentation-card.visible::before {
  height: 74px;
}

.presentation-card:last-child {
  border-bottom: 0;
}

.card-icon {
  align-items: center;
  border: 1px solid rgba(86, 122, 66, 0.36);
  border-radius: 50%;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  margin-bottom: 28px;
  width: 46px;
  transform: scale(0.82);
  transition: border-color 0.6s ease, transform 0.75s var(--ease-out);
}

.presentation-card.visible .card-icon {
  border-color: rgba(86, 122, 66, 0.72);
  transform: scale(1);
}

.card-icon svg {
  height: 24px;
  stroke: var(--color-olive-mid);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  fill: none;
  width: 24px;
}

.presentation-card h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

.presentation-card p {
  color: var(--text-muted);
  margin: 18px 0 0;
  max-width: 620px;
}

.china {
  overflow: hidden;
}

.china-grid {
  display: grid;
  gap: 42px;
}

.china-copy {
  align-self: center;
}

.china-copy h2 {
  font-size: clamp(3rem, 7vw, 6.3rem);
  max-width: 720px;
}

.china-copy p {
  color: var(--text-muted);
  margin: 24px 0 0;
  max-width: 620px;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
}

.platforms span {
  border: 1px solid rgba(200, 16, 46, 0.38);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 9px 13px;
  text-transform: uppercase;
}

.china-image {
  border-radius: 4px;
  min-height: 380px;
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
}

.china-image::after {
  background: linear-gradient(120deg, rgba(10, 10, 10, 0.3), rgba(200, 16, 46, 0.12));
  content: "";
  inset: 0;
  position: absolute;
}

.china-image img {
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.2s var(--ease-out);
  width: 100%;
}

.china-image.visible img {
  transform: scale(1);
}

.site-footer {
  background: var(--color-black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 58px 20px 86px;
}

.footer-inner {
  align-items: center;
  display: grid;
  gap: 18px;
  justify-items: center;
  margin: 0 auto;
  max-width: 920px;
  text-align: center;
}

.footer-inner img {
  height: 52px;
  object-fit: cover;
  width: 52px;
}

.footer-inner p,
.footer-inner small {
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.footer-inner nav,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.74);
  transition: color 0.2s ease;
}

.footer-inner a:hover {
  color: var(--color-white);
}

.footer-contact {
  color: rgba(255, 255, 255, 0.3);
}

.whatsapp-float {
  align-items: center;
  background: #25d366;
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  color: var(--color-white);
  display: inline-flex;
  gap: 0;
  height: 56px;
  justify-content: center;
  overflow: hidden;
  position: fixed;
  right: 22px;
  transition: transform 0.2s ease, width 0.2s ease, gap 0.2s ease;
  width: 56px;
  z-index: 998;
}

.whatsapp-float:hover {
  gap: 10px;
  transform: scale(1.06);
  width: 232px;
}

.whatsapp-float svg {
  fill: currentColor;
  flex: 0 0 auto;
  height: 30px;
  width: 30px;
}

.whatsapp-float span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.15s ease;
  white-space: nowrap;
  width: 0;
}

.whatsapp-float:hover span {
  opacity: 1;
  width: auto;
}

.fade-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.62s ease, transform 0.74s var(--ease-out), filter 0.62s ease;
}

.fade-up {
  transform: translateY(30px);
}

.lift-reveal {
  filter: blur(7px);
  transform: translateY(58px) scale(0.97);
}

.reveal-left {
  filter: blur(7px);
  transform: translateX(-58px);
}

.reveal-right {
  filter: blur(7px);
  transform: translateX(58px);
}

.fade-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  filter: blur(0);
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

@keyframes heroImage {
  from {
    opacity: 0;
    filter: blur(18px) saturate(0.72) brightness(0.72);
    transform: scale(2.35) translate3d(0, 8%, 0);
  }
  10% {
    opacity: 1;
  }
  62% {
    filter: blur(2px) saturate(0.95) brightness(0.95);
  }
  to {
    opacity: 1;
    filter: blur(0) saturate(1);
    transform: scale(1.06) translate3d(0, 0, 0);
  }
}

@keyframes windowFade {
  to {
    opacity: 0;
  }
}

@keyframes windowLeft {
  from {
    transform: translateX(0) rotateY(0deg) scaleX(1);
  }
  to {
    transform: translateX(-120%) rotateY(18deg) scaleX(0.72);
  }
}

@keyframes windowRight {
  from {
    transform: translateX(0) rotateY(0deg) scaleX(1);
  }
  to {
    transform: translateX(120%) rotateY(-18deg) scaleX(0.72);
  }
}

@keyframes windowTop {
  from {
    transform: translateY(0) scaleY(1);
  }
  to {
    transform: translateY(-130%) scaleY(0.68);
  }
}

@keyframes windowBottom {
  from {
    transform: translateY(0) scaleY(1);
  }
  to {
    transform: translateY(130%) scaleY(0.68);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.06) translate3d(-0.7%, -0.4%, 0);
  }
  to {
    transform: scale(1.1) translate3d(0.7%, 0.6%, 0);
  }
}

@keyframes heroSheen {
  0% {
    opacity: 0;
    transform: translateX(-120%) skewX(-12deg);
  }
  20% {
    opacity: 0.42;
  }
  100% {
    opacity: 0;
    transform: translateX(120%) skewX(-12deg);
  }
}

@keyframes frameIn {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes titleIn {
  0% {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
    transform: translateY(56px) scale(0.98);
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes softIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cue {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(-5px);
  }
  50% {
    opacity: 1;
    transform: translateY(5px);
  }
}

@keyframes introLineLeft {
  to {
    transform: scaleX(1);
  }
}

@keyframes introLineRight {
  to {
    transform: scaleX(1);
  }
}

@keyframes introMark {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes introExit {
  0% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 100% 0);
    opacity: 1;
  }
}

@keyframes accentInLeft {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes accentInRight {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 768px) {
  .desktop-nav,
  .nav-cta {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .presentation-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .presentation-card {
    border-bottom: 0;
    border-right: 1px solid var(--border-soft);
    padding: 20px 34px 28px;
  }

  .presentation-card::before {
    left: 34px;
    top: 20px;
  }

  .presentation-card:first-child {
    padding-left: 0;
  }

  .presentation-card:first-child::before {
    left: 0;
  }

  .presentation-card:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

@media (min-width: 1024px) {
  .china-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  }

  .china-image {
    min-height: 460px;
  }

  .china-image img {
    min-height: 460px;
  }
}

@media (max-width: 520px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .hero-title-primary {
    font-size: clamp(4.5rem, 18vw, 5.8rem);
  }

  .hero-title-secondary {
    font-size: clamp(2.2rem, 8.5vw, 3.1rem);
    letter-spacing: 0.02em;
  }

  .hero-title {
    background-image: none;
    color: rgba(245, 244, 240, 0.86);
    text-shadow: 0 16px 44px rgba(0, 0, 0, 0.58);
    -webkit-text-fill-color: rgba(245, 244, 240, 0.86);
  }

  .signature-strip {
    align-items: center;
    flex-direction: column;
    min-height: 138px;
  }

  .signature-strip span {
    letter-spacing: 0.12em;
  }

  .hero-frame {
    inset: 84px 14px 42px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    margin-left: auto;
    margin-right: auto;
    max-width: 280px;
  }

  .whatsapp-float:hover {
    width: 56px;
  }

  .whatsapp-float:hover span {
    opacity: 0;
    width: 0;
  }
}
