:root {
  --black: #0b0a08;
  --black-soft: #17130d;
  --ivory: #f2ebdc;
  --ivory-light: #faf5e9;
  --ink: #1a1712;
  --muted: #6c6459;
  --gold: #d0a34f;
  --gold-deep: #8a5f1e;
  --green: #0a502d;
  --line: rgba(138, 95, 30, .3);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: Montserrat, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--black); }
body { min-height: 100vh; margin: 0; display: grid; grid-template-rows: 1fr auto; background: var(--ivory); color: var(--ink); font-family: var(--font-body); }
body::before { content: ""; position: fixed; inset: 0; z-index: 10; pointer-events: none; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
a { color: inherit; }

.skip-link { position: fixed; z-index: 20; top: 14px; left: 14px; padding: 10px 16px; transform: translateY(-160%); background: var(--black); color: var(--ivory); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.transition-page { min-height: calc(100vh - 62px); display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); }
.message { position: relative; padding: clamp(48px, 8vw, 120px); display: flex; flex-direction: column; justify-content: center; background-color: var(--ivory); background-image: radial-gradient(circle at 20% 18%, rgba(255,255,255,.78), transparent 34%); }
.former-brand { position: absolute; top: 34px; left: clamp(32px, 8vw, 120px); margin: 0; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .22em; }
.former-brand::after { content: "AHORA SOMOS"; margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); color: var(--gold-deep); }
.eyebrow { margin: 0 0 24px; color: var(--gold-deep); font-size: 10px; font-weight: 700; letter-spacing: .25em; }
h1 { max-width: 760px; margin: 0 0 34px; font-family: var(--font-display); font-size: clamp(62px, 7.4vw, 118px); font-weight: 500; line-height: .78; letter-spacing: -.035em; }
h1 em { color: var(--green); font-weight: 400; }
.lead { max-width: 620px; margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.12; }
.body-copy { max-width: 610px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.body-copy strong { color: var(--ink); }
.primary-action { width: min(100%, 460px); min-height: 58px; margin-top: 38px; padding: 16px 20px 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--green); color: #fff; text-decoration: none; text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: .17em; transition: transform .22s ease, background .22s ease; }
.primary-action:hover { transform: translateY(-3px); background: #0d6339; }
.arrow { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.42); font-size: 18px; }
.destination { width: fit-content; margin-top: 15px; color: var(--gold-deep); font-size: 10px; letter-spacing: .1em; text-underline-offset: 5px; }

.new-brand { position: relative; min-height: 650px; padding: 54px; display: grid; place-items: center; overflow: hidden; isolation: isolate; background: var(--black-soft); color: var(--ivory); }
.new-brand::before { content: ""; position: absolute; inset: 0; z-index: -3; background: radial-gradient(circle at 50% 50%, rgba(208,163,79,.2), transparent 34%), radial-gradient(circle at 85% 12%, rgba(10,80,45,.42), transparent 28%), linear-gradient(145deg, #1a1712, #090806 72%); }
.new-brand::after { content: "MG"; position: absolute; z-index: -2; right: -4%; bottom: -16%; color: rgba(239,215,159,.035); font-family: var(--font-display); font-size: min(39vw, 540px); line-height: 1; }
.seal { width: min(64%, 510px); margin: 0; position: relative; z-index: 2; border-radius: 50%; box-shadow: 0 35px 90px rgba(0,0,0,.55); animation: seal-arrival 1s cubic-bezier(.2,.8,.2,1) both; }
.seal img { width: 100%; display: block; border-radius: 50%; }
.orbit { position: absolute; border: 1px solid rgba(208,163,79,.35); border-radius: 50%; }
.orbit-one { width: min(76%, 610px); aspect-ratio: 1; }
.orbit-two { width: min(89%, 720px); aspect-ratio: 1; border-style: dashed; transform: rotate(-8deg); }
.brand-note { position: absolute; margin: 0; color: rgba(242,235,220,.56); font-size: 8px; font-weight: 700; letter-spacing: .25em; }
.brand-note-top { top: 34px; }
.brand-note-bottom { bottom: 34px; }

footer { min-height: 62px; padding: 18px clamp(24px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--black); color: rgba(242,235,220,.52); font-size: 8px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }

@keyframes seal-arrival {
  from { opacity: 0; transform: scale(.92) rotate(-3deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@media (max-width: 900px) {
  .transition-page { grid-template-columns: 1fr; }
  .message { min-height: 720px; padding: 105px 42px 70px; }
  .former-brand { left: 42px; }
  .new-brand { min-height: 640px; }
}

@media (max-width: 540px) {
  .transition-page { display: flex; flex-direction: column; }
  .message { min-height: auto; padding: 96px 24px 56px; }
  .former-brand { top: 24px; left: 24px; right: 24px; line-height: 1.8; }
  .former-brand::after { display: block; width: fit-content; margin: 2px 0 0; padding: 0; border: 0; }
  .eyebrow { margin-bottom: 20px; font-size: 8px; }
  h1 { margin-bottom: 28px; font-size: clamp(56px, 17vw, 78px); }
  .lead { font-size: 24px; }
  .body-copy { font-size: 13px; }
  .primary-action { margin-top: 30px; }
  .new-brand { min-height: 470px; padding: 36px 20px; }
  .seal { width: min(72vw, 330px); }
  .orbit-one { width: min(84vw, 390px); }
  .orbit-two { width: min(102vw, 470px); }
  .brand-note-bottom { max-width: 80%; text-align: center; line-height: 1.6; }
  footer { padding-block: 22px; flex-direction: column; text-align: center; line-height: 1.7; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
