/*
Theme Name: Factoría 360
Theme URI: https://factoria360.digital/
Author: Maya Comunicación
Author URI: https://factoria360.digital/
Description: Tema comercial de una página para Factoría 360. Incluye paquetes, Experiencias 360, Impulso 360, Facto y accesos de WhatsApp.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: factoria360
*/

:root {
  --navy: #061923;
  --navy-2: #0a2631;
  --ink: #09202a;
  --teal: #20c9ba;
  --teal-dark: #0d8d85;
  --gold: #f4b63f;
  --ivory: #f5f1e8;
  --paper: #fbfaf6;
  --white: #ffffff;
  --muted: #62747a;
  --line: rgba(9, 32, 42, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 48px;
}

[hidden] {
  display: none !important;
}

body,
button,
input {
  font: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

svg {
  width: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  min-height: 66px;
  padding: 10px 12px 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--white);
  background: rgba(6, 25, 35, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 100px;
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.brand b {
  color: var(--teal);
}

.brand-mark {
  position: relative;
  width: 29px;
  height: 29px;
  display: block;
}

.brand-mark i {
  position: absolute;
  border: 2px solid var(--teal);
  border-radius: 50%;
}

.brand-mark i:nth-child(1) {
  inset: 0;
}

.brand-mark i:nth-child(2) {
  width: 16px;
  height: 16px;
  top: 2px;
  right: -2px;
  border-color: var(--gold);
}

.brand-mark i:nth-child(3) {
  width: 6px;
  height: 6px;
  left: 7px;
  bottom: 2px;
  border: 0;
  background: var(--teal);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.site-header nav a {
  position: relative;
  padding: 9px 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  transition: color 180ms ease;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

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

.site-header nav a:hover::after {
  transform: scaleX(1);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 25px;
  overflow: hidden;
  color: var(--navy);
  background: var(--teal);
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -85%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(18deg);
  transition: left 550ms ease;
}

.button:hover {
  background: #43ded0;
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(32, 201, 186, 0.25);
}

.button:hover::before {
  left: 130%;
}

.button-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 12px;
}

.button.gold {
  background: var(--gold);
}

.button.gold:hover {
  background: #ffc75e;
  box-shadow: 0 14px 35px rgba(244, 182, 63, 0.24);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 850px;
  padding: 170px max(6vw, calc((100vw - 1180px) / 2)) 100px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 38px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 50%, rgba(32, 201, 186, 0.13), transparent 34%),
    linear-gradient(128deg, #061923 0%, #071c26 55%, #092731 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, black, transparent 74%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  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='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 650px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 33px;
  height: 1px;
  display: inline-block;
  background: var(--teal);
}

.eyebrow.dark {
  color: var(--teal-dark);
}

.hero h1,
.section-heading h2,
.manifesto h2,
.editorial-intro h2,
.institutional h2,
.closing h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(65px, 7.1vw, 108px);
}

.hero h1 em,
.section-heading h2 em,
.manifesto h2 em,
.editorial-intro h2 em,
.institutional h2 em,
.closing h2 em {
  display: block;
  color: var(--teal);
  font-weight: 400;
}

.hero-lead {
  max-width: 580px;
  margin: 31px 0 0;
  color: rgba(255, 255, 255, 0.69);
  font-size: 17px;
  line-height: 1.72;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 29px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link:hover {
  color: var(--white);
  border-color: var(--teal);
}

.text-link.light svg {
  width: 18px;
}

.hero-proof {
  margin-top: 52px;
  display: flex;
  gap: 0;
}

.hero-proof > div {
  padding: 0 25px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-proof > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-bottom: 4px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  z-index: 2;
  width: min(690px, 54vw);
  aspect-ratio: 1;
  justify-self: end;
  transform: translateX(7vw);
}

.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 3%;
  bottom: 4%;
  left: 5%;
  height: 14%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  filter: blur(34px);
}

.hero-visual img {
  position: absolute;
  z-index: 2;
  inset: -7%;
  width: 114%;
  height: 114%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at 56% 52%, #000 0 43%, transparent 76%);
  mask-image: radial-gradient(ellipse at 56% 52%, #000 0 43%, transparent 76%);
  animation: visual-float 7s ease-in-out infinite;
}

.orbit {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 5%;
  left: 28%;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--gold);
}

.orbit-one {
  inset: 3%;
  animation: orbit-spin 22s linear infinite;
}

.orbit-two {
  inset: 15%;
  border-style: dashed;
  animation: orbit-spin 16s linear infinite reverse;
}

.hero-chip {
  position: absolute;
  z-index: 5;
  min-width: 122px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(6, 25, 35, 0.65);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
  animation: chip-float 5s ease-in-out infinite;
}

.hero-chip span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

.chip-one {
  top: 17%;
  left: 0;
}

.chip-two {
  right: -1%;
  top: 48%;
  animation-delay: -1.6s;
}

.chip-three {
  bottom: 12%;
  left: 8%;
  animation-delay: -3.2s;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--teal);
  font-size: 13px;
  font-style: normal;
  animation: cue-bounce 2s ease-in-out infinite;
}

.ticker {
  width: 100%;
  overflow: hidden;
  padding: 14px 0;
  background: var(--gold);
}

.ticker > div {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 28px;
  animation: ticker 26s linear infinite;
}

.ticker span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.ticker i {
  color: var(--teal-dark);
  font-size: 12px;
  font-style: normal;
}

.section {
  padding: 120px max(6vw, calc((100vw - 1180px) / 2));
}

.section-heading {
  max-width: 820px;
  margin-bottom: 56px;
}

.section-heading h2,
.editorial-intro h2 {
  font-size: clamp(48px, 5.2vw, 76px);
}

.section-heading p:last-child,
.editorial-intro > p:last-child {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.package-card {
  min-height: 630px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 15px 50px rgba(9, 32, 42, 0.04);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.package-card:hover {
  transform: translateY(-9px);
  border-color: rgba(13, 141, 133, 0.35);
  box-shadow: 0 28px 70px rgba(9, 32, 42, 0.1);
}

.package-card.featured {
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 201, 186, 0.18), transparent 35%),
    var(--navy);
  border-color: var(--navy);
  transform: translateY(-18px);
}

.package-card.featured:hover {
  transform: translateY(-26px);
}

.package-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
}

.package-top > span {
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.package-card.featured .package-top > span {
  color: var(--teal);
}

.package-top small {
  padding: 7px 10px;
  color: var(--teal-dark);
  background: rgba(32, 201, 186, 0.1);
  border-radius: 100px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.package-card.featured .package-top small {
  color: var(--navy);
  background: var(--gold);
}

.package-card h3 {
  margin: 24px 0 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.package-summary {
  min-height: 63px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.package-card.featured .package-summary {
  color: rgba(255, 255, 255, 0.58);
}

.price {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.price strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 37px;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.price span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.package-card.featured .price span {
  color: rgba(255, 255, 255, 0.45);
}

.delivery {
  margin: 17px 0 0;
  padding: 13px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

.package-card.featured .delivery {
  border-color: rgba(255, 255, 255, 0.13);
}

.delivery span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.package-card.featured .delivery span {
  color: rgba(255, 255, 255, 0.48);
}

.delivery b {
  color: var(--teal-dark);
}

.package-card.featured .delivery b {
  color: var(--teal);
}

.package-card ul,
.institutional-card ul {
  margin: 20px 0 18px;
  padding: 0;
  list-style: none;
}

.package-card li,
.institutional-card li {
  margin: 10px 0;
  display: flex;
  gap: 9px;
  color: #334b53;
  font-size: 12px;
  line-height: 1.45;
}

.package-card li svg,
.institutional-card li svg {
  flex: 0 0 15px;
  margin-top: 1px;
  color: var(--teal-dark);
}

.package-card.featured li {
  color: rgba(255, 255, 255, 0.76);
}

.package-card.featured li svg {
  color: var(--teal);
}

.package-note {
  min-height: 43px;
  margin: auto 0 18px;
  color: #7a898e;
  font-size: 9px;
  line-height: 1.5;
}

.package-card.featured .package-note {
  color: rgba(255, 255, 255, 0.39);
}

.package-card .button {
  width: 100%;
  min-height: 47px;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0 7px;
  border-top: 1px solid var(--line);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
}

.card-link svg {
  transition: transform 180ms ease;
}

.card-link:hover svg {
  transform: translateX(5px);
}

.legal-line {
  max-width: 810px;
  margin: 35px auto 0;
  color: #7a898e;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.manifesto {
  position: relative;
  min-height: 720px;
  padding: 105px max(6vw, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.75fr 1.2fr 0.9fr;
  align-items: center;
  gap: 44px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.manifesto::after {
  content: "";
  position: absolute;
  right: -15%;
  bottom: -50%;
  width: 780px;
  height: 780px;
  border-radius: 50%;
  background: rgba(32, 201, 186, 0.06);
  filter: blur(4px);
}

.manifesto-number {
  color: transparent;
  -webkit-text-stroke: 1px rgba(32, 201, 186, 0.24);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(120px, 17vw, 250px);
  line-height: 0.7;
  transform: rotate(-90deg);
}

.manifesto-copy {
  position: relative;
  z-index: 2;
}

.manifesto h2,
.institutional h2,
.closing h2 {
  font-size: clamp(49px, 5vw, 75px);
}

.manifesto-copy > p:not(.eyebrow),
.institutional-copy > p:not(.eyebrow),
.closing-content > p:not(.eyebrow) {
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.72;
}

.manifesto-orbit {
  position: relative;
  z-index: 2;
  width: 310px;
  height: 310px;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  animation: orbit-spin 32s linear infinite;
}

.manifesto-orbit::before,
.manifesto-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.manifesto-orbit::before {
  inset: 50px;
}

.manifesto-orbit::after {
  inset: 100px;
  background: var(--teal);
  border: 0;
  box-shadow: 0 0 70px rgba(32, 201, 186, 0.4);
}

.manifesto-orbit > span {
  position: absolute;
  z-index: 2;
  width: 13px;
  height: 13px;
  top: 12px;
  left: 93px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(244, 182, 63, 0.7);
}

.orbit-label {
  position: absolute;
  z-index: 3;
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 100px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.orbit-label.one {
  top: -14px;
  left: 108px;
}

.orbit-label.two {
  right: -20px;
  bottom: 76px;
}

.orbit-label.three {
  bottom: 10px;
  left: 6px;
}

.editorial-section {
  background: var(--ivory);
}

.editorial-section {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 90px;
}

.editorial-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.editorial-list {
  border-top: 1px solid var(--line);
}

.editorial-list article {
  padding: 27px 5px;
  display: grid;
  grid-template-columns: 48px minmax(220px, 1fr) 120px 110px 42px;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  transition: padding 220ms ease, background 220ms ease;
}

.editorial-list article:hover {
  padding-right: 14px;
  padding-left: 14px;
  background: rgba(255, 255, 255, 0.5);
}

.editorial-number {
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.editorial-list h3 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.editorial-list p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.editorial-time small,
.editorial-time strong,
.editorial-price small,
.editorial-price strong {
  display: block;
}

.editorial-time small,
.editorial-price small {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editorial-time strong {
  color: var(--teal-dark);
  font-size: 11px;
}

.editorial-price strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
}

.editorial-list article > a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.editorial-list article > a:hover {
  color: var(--white);
  background: var(--teal-dark);
  transform: rotate(-25deg);
}

.transparency-note {
  grid-column: 2;
  padding: 23px 25px;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 25px;
  background: rgba(255, 255, 255, 0.5);
  border-left: 3px solid var(--gold);
}

.transparency-note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 400;
}

.transparency-note p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.institutional {
  position: relative;
  padding: 120px max(6vw, calc((100vw - 1180px) / 2));
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(6, 25, 35, 0.97), rgba(6, 25, 35, 0.82)),
    radial-gradient(circle at 90% 20%, var(--teal-dark), transparent 45%);
}

.institutional::before {
  content: "I360";
  position: absolute;
  right: -20px;
  bottom: -80px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 330px;
  line-height: 1;
}

.institutional-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 100px;
}

.institutional-copy .button {
  margin-top: 5px;
}

.institutional-card {
  padding: 34px;
  color: var(--ink);
  background: var(--ivory);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  transform: rotate(1.5deg);
  transition: transform 300ms ease;
}

.institutional-card:hover {
  transform: rotate(0) translateY(-5px);
}

.institutional-card-head {
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.institutional-card-head span {
  color: var(--teal-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.institutional-card-head b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 400;
}

.institutional-stats {
  padding: 25px 0 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.institutional-stats > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.institutional-stats small,
.institutional-stats strong,
.institutional-stats span {
  display: block;
}

.institutional-stats small {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.institutional-stats strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.institutional-stats span {
  margin-top: 4px;
  color: var(--teal-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.institutional-card li {
  margin: 12px 0;
  font-size: 13px;
}

.institutional-card > p {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 90px;
}

.section-heading.split > p {
  margin-bottom: 8px;
}

.steps {
  border-top: 1px solid var(--line);
}

.steps article {
  min-height: 124px;
  padding: 25px 10px;
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: color 200ms ease, background 200ms ease, padding 200ms ease;
}

.steps article:hover {
  padding-right: 25px;
  padding-left: 25px;
  color: var(--white);
  background: var(--navy);
}

.steps article > span {
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.steps article > div {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  align-items: center;
  gap: 60px;
}

.steps h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.steps p {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  transition: color 200ms ease;
}

.steps article:hover p {
  color: rgba(255, 255, 255, 0.58);
}

.closing {
  position: relative;
  min-height: 660px;
  padding: 120px 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background: var(--teal-dark);
}

.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 20%, rgba(6, 25, 35, 0.12) 20.3% 20.5%, transparent 20.8% 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 55%);
}

.closing-ring {
  position: absolute;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  animation: pulse-ring 6s ease-in-out infinite;
}

.closing-ring::before,
.closing-ring::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.closing-ring::before {
  inset: 80px;
}

.closing-ring::after {
  inset: 160px;
}

.closing-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.closing-content .eyebrow {
  justify-content: center;
}

.closing h2 em {
  color: var(--gold);
}

.closing-content > p:not(.eyebrow) {
  max-width: 560px;
  margin: 28px auto 30px;
  color: rgba(255, 255, 255, 0.72);
}

footer {
  padding: 70px max(6vw, calc((100vw - 1180px) / 2)) 26px;
  color: var(--white);
  background: var(--navy);
}

.footer-top {
  padding-bottom: 55px;
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.7fr;
  align-items: start;
  gap: 50px;
}

.footer-brand {
  font-size: 17px;
}

.footer-top > p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.45;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 11px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.footer-contact a:hover {
  color: var(--teal);
}

.footer-bottom {
  padding-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-bottom > div {
  display: flex;
  gap: 22px;
}

.footer-bottom > span:last-child {
  text-align: right;
}

.whatsapp-float {
  position: fixed;
  z-index: 61;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #20b96b;
  border: 4px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease;
}

.whatsapp-float:hover {
  transform: scale(1.08) rotate(-5deg);
}

.whatsapp-float span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.whatsapp-float i {
  position: absolute;
  right: -4px;
  top: -3px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border: 2px solid var(--paper);
  border-radius: 50%;
  animation: ping 2.2s ease-out infinite;
}

.facto {
  position: fixed;
  z-index: 60;
  right: 93px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.facto.is-open .facto-trigger {
  background: var(--navy-2);
}

.content-shell {
  min-height: 75vh;
  padding: 150px max(6vw, calc((100vw - 960px) / 2)) 90px;
  background: var(--paper);
}

.content-shell h1 {
  margin: 0 0 35px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.content-card {
  margin-bottom: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}

.content-card h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 400;
}

.content-card p,
.content-shell .entry-content {
  color: var(--muted);
  line-height: 1.75;
}

.content-card .card-link {
  margin-top: 18px;
}

.facto-trigger {
  min-height: 50px;
  padding: 6px 17px 6px 7px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.facto-trigger:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
}

.facto-trigger-icon,
.facto-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  color: var(--navy);
  background: var(--teal);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.facto-panel {
  width: min(370px, calc(100vw - 32px));
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(9, 32, 42, 0.12);
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.25);
  transform-origin: bottom right;
  animation: panel-in 240ms ease-out both;
}

.facto-header {
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(32, 201, 186, 0.18), transparent 35%),
    var(--navy);
}

.facto-header > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.facto-header strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 400;
}

.facto-header small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.facto-header small i {
  width: 6px;
  height: 6px;
  margin-right: 4px;
  display: inline-block;
  background: var(--teal);
  border-radius: 50%;
}

.facto-avatar span {
  color: var(--gold);
}

.facto-close {
  width: 32px;
  height: 32px;
  margin-left: auto;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
}

.facto-messages {
  height: 250px;
  padding: 17px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background:
    linear-gradient(rgba(9, 32, 42, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 32, 42, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
}

.facto-messages p {
  max-width: 88%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 13px;
  font-size: 11px;
  line-height: 1.55;
}

.facto-messages .bot {
  align-self: flex-start;
  color: #344b53;
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom-left-radius: 3px;
}

.facto-messages .user {
  align-self: flex-end;
  color: var(--navy);
  background: rgba(32, 201, 186, 0.25);
  border-bottom-right-radius: 3px;
}

.facto-prompts {
  padding: 0 14px 11px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.facto-prompts button {
  padding: 7px 9px;
  flex: 0 0 auto;
  color: var(--teal-dark);
  background: transparent;
  border: 1px solid rgba(13, 141, 133, 0.3);
  border-radius: 100px;
  cursor: pointer;
  font-size: 8px;
  font-weight: 700;
}

.facto-form {
  padding: 10px;
  display: flex;
  gap: 8px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.facto-form input {
  min-width: 0;
  flex: 1;
  padding: 0 11px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  font-size: 11px;
}

.facto-form input:focus {
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 3px rgba(32, 201, 186, 0.12);
}

.facto-form button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--teal);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms ease var(--delay, 0ms),
    transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--delay, 0ms);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes visual-float {
  0%,
  100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -14px, 0) scale(1.015); }
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes chip-float {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes pulse-ring {
  0%,
  100% { transform: scale(0.96); opacity: 0.7; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(244, 182, 63, 0.8); }
  70% { box-shadow: 0 0 0 9px rgba(244, 182, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 182, 63, 0); }
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1120px) {
  .site-header nav {
    gap: 17px;
  }

  .site-header nav a {
    font-size: 11px;
  }

  .hero {
    grid-template-columns: 1fr 0.86fr;
  }

  .hero-visual {
    width: 52vw;
  }

  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .package-card.featured {
    transform: none;
  }

  .package-card.featured:hover {
    transform: translateY(-9px);
  }

  .manifesto {
    grid-template-columns: 0.4fr 1.2fr 0.8fr;
  }

  .editorial-section {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .editorial-intro {
    position: static;
  }

  .transparency-note {
    grid-column: 1;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-left: 16px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    margin-left: auto;
    display: grid;
    place-content: center;
    gap: 6px;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
  }

  .menu-toggle span {
    width: 16px;
    height: 1px;
    display: block;
    background: currentColor;
  }

  .site-header nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(6, 25, 35, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  }

  .site-header nav.is-open {
    display: flex;
  }

  .site-header nav a {
    padding: 11px 8px;
    font-size: 13px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 145px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(620px, 88vw);
    justify-self: center;
    margin-top: -20px;
    transform: none;
  }

  .scroll-cue {
    display: none;
  }

  .manifesto {
    grid-template-columns: 0.3fr 1fr;
  }

  .manifesto-orbit {
    display: none;
  }

  .institutional-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .section-heading.split {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 56px;
  }
}

@media (max-width: 650px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand {
    font-size: 11px;
  }

  .hero {
    padding: 132px 20px 70px;
    overflow: hidden;
  }

  .hero h1 {
    font-size: clamp(53px, 15vw, 74px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-proof {
    gap: 0;
  }

  .hero-proof > div {
    padding: 0 12px;
  }

  .hero-proof strong {
    font-size: 20px;
  }

  .hero-proof span {
    font-size: 8px;
  }

  .hero-visual {
    width: 110vw;
    margin: -15px -20vw -40px;
  }

  .hero-chip {
    min-width: auto;
    padding: 9px 11px;
    font-size: 8px;
  }

  .chip-one {
    left: 13%;
  }

  .chip-two {
    right: 10%;
  }

  .chip-three {
    left: 18%;
  }

  .section,
  .institutional,
  .manifesto {
    padding: 85px 20px;
  }

  .section-heading h2,
  .editorial-intro h2,
  .manifesto h2,
  .institutional h2,
  .closing h2 {
    font-size: 48px;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }

  .package-card {
    min-height: auto;
  }

  .manifesto {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .manifesto-number {
    position: absolute;
    right: -45px;
    top: 80px;
    font-size: 170px;
    transform: none;
  }

  .editorial-list article {
    padding: 23px 0;
    grid-template-columns: 35px 1fr 42px;
    gap: 13px;
  }

  .editorial-time,
  .editorial-price {
    grid-column: 2;
  }

  .editorial-time {
    margin-top: -6px;
  }

  .editorial-price {
    margin-top: -14px;
  }

  .editorial-list article > a {
    grid-column: 3;
    grid-row: 1 / span 3;
  }

  .transparency-note {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .institutional-card {
    padding: 25px;
    transform: none;
  }

  .institutional-stats {
    grid-template-columns: 1fr;
  }

  .institutional-stats > div + div {
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .steps article {
    grid-template-columns: 45px 1fr;
  }

  .steps article > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .steps h3 {
    font-size: 25px;
  }

  .closing {
    min-height: 620px;
    padding: 90px 20px;
  }

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    align-items: flex-start;
  }

  .footer-bottom > div {
    flex-wrap: wrap;
  }

  .footer-bottom > span:last-child {
    text-align: left;
  }

  .facto {
    right: 16px;
    bottom: 91px;
  }

  .facto-trigger {
    padding-right: 8px;
  }

  .facto-trigger > span:last-child {
    display: none;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
