:root {
  --bg: #0b1016;
  --bg-uniform: #171a1f;
  --bg-soft: #111a24;
  --panel: #152232;
  --panel-soft: rgba(18, 31, 45, 0.82);
  --line: rgba(255, 255, 255, 0.14);
  --text: #eff3f6;
  --text-soft: #b8c3ce;
  --gold: #cfab77;
  --gold-soft: #e6c89a;
  --teal: #8fb8bd;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 42px rgba(2, 8, 14, 0.44);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  background: var(--bg-uniform);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.56;
  background-image:
    linear-gradient(rgba(228, 205, 168, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228, 205, 168, 0.28) 1px, transparent 1px),
    linear-gradient(rgba(130, 168, 179, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 168, 179, 0.24) 1px, transparent 1px);
  background-size: 36px 36px, 36px 36px, 144px 144px, 144px 144px;
  background-position: 0 0, 0 0, 0 0, 0 0;
}

body > * {
  position: relative;
  z-index: 1;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

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

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.h-serif,
h1,
h2,
h3,
.logo-text {
  font-family: "Cormorant Garamond", serif;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

p {
  margin: 0;
}

.eyebrow {
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-soft);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 19, 0.76);
}

.nav-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 0 2px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.brand img {
  width: 148px;
  object-fit: contain;
  margin-top: 4px;
}

.brand span {
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-nav a {
  padding: 0 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 14px;
  transition: 220ms ease;
}

.main-nav a:not(.cta-nav):hover {
  border-color: rgba(207, 171, 119, 0.72);
  background: rgba(207, 171, 119, 0.13);
}

.main-nav a:not(.cta-nav) {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 18, 27, 0.66);
  color: #ecf2f7;
}

.main-nav a:not(.cta-nav):active,
.main-nav a:not(.cta-nav):focus-visible {
  border-color: rgba(207, 171, 119, 0.72);
  background: rgba(207, 171, 119, 0.13);
}

.main-nav a:focus-visible {
  outline: none;
}

.main-nav .cta-nav {
  border: 1px solid rgba(207, 171, 119, 0.7);
  color: var(--gold-soft);
  border-radius: 999px;
  background: transparent;
  padding: 0 18px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-close {
  display: none;
}

.hero {
  position: relative;
  padding: 84px 0 74px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5.6vw, 4.7rem);
  margin-bottom: 16px;
}

.hero-copy p {
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 64ch;
}

.hero-badges {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(13, 22, 31, 0.52);
  color: #e4ecf3;
  padding: 8px 13px;
  font-size: 13px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 220ms ease, filter 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-primary {
  background: linear-gradient(120deg, #ddb980, #ba925f);
  color: #10171f;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text);
}

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.hero-media-mobile {
  display: none;
}

.section {
  padding: 84px 0;
}

.section-head {
  margin-bottom: 30px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4.3vw, 3.2rem);
  text-align: center;
}

.section-head p {
  margin: 12px auto 0;
  color: var(--text-soft);
  max-width: 68ch;
  line-height: 1.7;
  text-align: center;
}

.section-head .eyebrow {
  width: fit-content;
  max-width: none;
  margin: 0 auto 12px;
  text-align: center;
}

.method-inline-photo {
  margin: 0 0 14px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.34);
}

.method-inline-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.services-grid > .service-card:last-child:nth-child(odd),
.method-grid > .method-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, calc((100% - 18px) / 2));
}

.service-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-margin-top: 120px;
  box-shadow: var(--shadow);
  transform: translateY(0) scale(1);
  transition: transform 230ms ease, box-shadow 230ms ease, border-color 230ms ease, filter 230ms ease;
  will-change: transform, box-shadow, filter;
}

.service-card:hover,
.service-card:focus-within,
.service-card:target,
.service-card.is-guided {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.24),
    0 28px 50px rgba(0, 0, 0, 0.28),
    0 0 36px rgba(226, 182, 116, 0.18);
  border-color: rgba(255, 255, 255, 0.32);
  filter: saturate(1.06);
}

.service-card:target,
.service-card.is-guided {
  border-color: rgba(207, 171, 119, 0.82);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.24),
    0 28px 50px rgba(0, 0, 0, 0.28),
    0 0 0 2px rgba(207, 171, 119, 0.18),
    0 0 42px rgba(226, 182, 116, 0.24);
}

.service-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card .img-basico {
  object-position: 50% 48%;
}

.service-card .img-social {
  object-position: 50% 52%;
}

.service-card .img-conducta {
  object-position: 50% 48%;
}

.service-card .card-body {
  padding: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
}

.service-card p {
  margin-top: 10px;
  color: var(--text-soft);
  line-height: 1.7;
}

.profile {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.profile-copy {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.profile-copy h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.trainer-inline-photo {
  margin: 14px 0 2px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.34);
}

.trainer-inline-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.profile-copy p {
  margin-top: 14px;
  color: var(--text-soft);
  line-height: 1.8;
}

.kpis {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.kpis div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: rgba(11, 18, 27, 0.5);
}

.kpis strong {
  display: block;
  font-size: 1.3rem;
  color: var(--gold-soft);
}

.kpis span {
  font-size: 12px;
  color: #d1dae3;
}

.profile-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--panel-soft);
}

.profile-photo img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 44%;
}

.profile-photo .caption {
  padding: 18px;
}

.profile-photo .caption h3 {
  font-size: 1.4rem;
}

.profile-photo .caption p {
  margin-top: 8px;
  color: var(--text-soft);
  line-height: 1.7;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.method-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  background: rgba(16, 27, 40, 0.6);
  box-shadow: var(--shadow);
}

.method-card span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(207, 171, 119, 0.2);
  border: 1px solid rgba(207, 171, 119, 0.7);
  color: var(--gold-soft);
  font-weight: 700;
}

.method-card h3 {
  margin-top: 10px;
  font-size: 1.35rem;
}

.method-card p {
  margin-top: 8px;
  color: var(--text-soft);
  line-height: 1.7;
}

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

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

.article-card {
  border: 1px solid var(--line);
  background: rgba(15, 25, 37, 0.76);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.article-card h3 {
  font-size: 1.35rem;
}

.article-card p {
  margin-top: 10px;
  color: var(--text-soft);
  line-height: 1.7;
}

.article-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 14px;
}

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

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

.testimonial-card {
  position: relative;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(20, 34, 49, 0.86), rgba(12, 21, 31, 0.88));
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: -18px;
  right: 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 6rem;
  line-height: 1;
  color: rgba(207, 171, 119, 0.16);
  pointer-events: none;
}

.testimonial-card p {
  position: relative;
  z-index: 1;
  color: #e8eef3;
  line-height: 1.65;
  font-size: 0.98rem;
}

.testimonial-card footer {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 0.94rem;
}

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

.video-frame {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border: 1px solid rgba(207, 171, 119, 0.28);
  border-radius: var(--radius);
  background: rgba(10, 18, 27, 0.68);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-frame::before {
  content: "";
  display: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 0%, rgba(207, 171, 119, 0.14), transparent 36%),
    radial-gradient(circle at 82% 100%, rgba(143, 184, 189, 0.12), transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.video-frame video {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #02080e;
}

.video-frame-mobile {
  display: none;
  max-width: 430px;
}

.video-frame-mobile video {
  aspect-ratio: 9 / 16;
}

.packages {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.packages-grid > .package-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, calc((100% - 18px) / 2));
}

.package-card {
  --tone-glow: rgba(226, 182, 116, 0.2);
  --tone-sheen: rgba(255, 255, 255, 0.14);
  --tone-edge: rgba(255, 255, 255, 0.2);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--tone-edge);
  background-blend-mode: screen, normal;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.18),
    0 16px 36px rgba(0, 0, 0, 0.22);
  padding: 24px 24px 22px;
  transform: translateY(0) scale(1);
  transition: transform 230ms ease, box-shadow 230ms ease, border-color 230ms ease, filter 230ms ease;
  backdrop-filter: blur(1px);
  will-change: transform, box-shadow, filter;
}

.package-card:nth-child(odd) {
  transform: translateY(0) scale(1);
}

.package-card:nth-child(even) {
  transform: translateY(0) scale(1);
}

.package-card:hover,
.package-card:focus-within,
.package-card.is-pressed {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.24),
    0 28px 50px rgba(0, 0, 0, 0.28),
    0 0 36px rgba(226, 182, 116, 0.18);
  border-color: rgba(255, 255, 255, 0.32);
  filter: saturate(1.06);
}

.package-card::before,
.package-card::after {
  display: none;
}

.package-card .package-link {
  background: rgba(8, 14, 21, 0.62);
}

.package-card::selection {
  background: rgba(255, 255, 255, 0.25);
}

.package-card > * {
  position: relative;
  z-index: 1;
}

.package-card h3 {
  font-size: 1.58rem;
  transition: transform 230ms ease;
}

.package-intro {
  margin-top: 12px;
  color: #e8eef3;
  line-height: 1.7;
  transition: transform 230ms ease;
}

.package-card h4 {
  margin: 16px 0 8px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #f2d7ab;
}

.package-card ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  transition: transform 230ms ease;
}

.package-card li {
  color: #e3e9ef;
  line-height: 1.6;
}

.package-meta {
  margin-top: 11px;
  color: #d7e0e8;
  line-height: 1.5;
  transition: transform 230ms ease;
}

.package-meta strong {
  color: #f1f4f7;
}

.package-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 14, 21, 0.55);
  color: #f1f6fb;
  box-shadow: 0 9px 16px rgba(0, 0, 0, 0.28);
  transition: transform 230ms ease, box-shadow 230ms ease, border-color 230ms ease;
}

.package-link:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.package-card-amber {
  --tone-glow: rgba(224, 170, 96, 0.26);
  --tone-sheen: rgba(254, 233, 197, 0.2);
  --tone-edge: rgba(245, 224, 190, 0.25);
  background: linear-gradient(165deg, rgba(72, 48, 4, 0.9), rgba(62, 41, 3, 0.88) 42%, rgba(47, 33, 18, 0.9) 100%);
  padding-top: 26px;
}

.package-card-burgundy {
  --tone-glow: rgba(215, 97, 112, 0.22);
  --tone-sheen: rgba(255, 205, 213, 0.16);
  --tone-edge: rgba(255, 216, 222, 0.23);
  background: linear-gradient(165deg, rgba(96, 10, 13, 0.9), rgba(74, 9, 10, 0.88) 42%, rgba(47, 19, 21, 0.9) 100%);
  padding-top: 25px;
}

.package-card-emerald {
  --tone-glow: rgba(108, 206, 168, 0.22);
  --tone-sheen: rgba(221, 255, 241, 0.16);
  --tone-edge: rgba(199, 244, 227, 0.22);
  background: linear-gradient(165deg, rgba(3, 67, 52, 0.9), rgba(8, 50, 41, 0.88) 42%, rgba(15, 37, 33, 0.9) 100%);
  padding-top: 26px;
}

.package-card-slate {
  --tone-glow: rgba(127, 156, 191, 0.22);
  --tone-sheen: rgba(225, 237, 255, 0.15);
  --tone-edge: rgba(216, 228, 245, 0.2);
  background: linear-gradient(165deg, rgba(26, 35, 46, 0.9), rgba(21, 31, 42, 0.88) 42%, rgba(17, 25, 33, 0.9) 100%);
  padding-top: 25px;
}

.package-card-violet {
  --tone-glow: rgba(211, 111, 203, 0.24);
  --tone-sheen: rgba(252, 216, 245, 0.18);
  --tone-edge: rgba(250, 222, 246, 0.23);
  background: linear-gradient(165deg, rgba(78, 6, 63, 0.9), rgba(60, 5, 48, 0.88) 42%, rgba(38, 20, 35, 0.9) 100%);
  padding-top: 26px;
}

.package-card-ochre {
  --tone-glow: rgba(227, 186, 92, 0.24);
  --tone-sheen: rgba(255, 242, 206, 0.18);
  --tone-edge: rgba(252, 236, 200, 0.24);
  background: linear-gradient(165deg, rgba(90, 64, 7, 0.9), rgba(74, 52, 6, 0.88) 42%, rgba(51, 39, 19, 0.9) 100%);
  padding-top: 25px;
}

.package-card-teal {
  --tone-glow: rgba(94, 188, 200, 0.22);
  --tone-sheen: rgba(212, 246, 250, 0.16);
  --tone-edge: rgba(201, 240, 245, 0.23);
  background: linear-gradient(165deg, rgba(5, 68, 76, 0.9), rgba(7, 52, 62, 0.88) 42%, rgba(16, 38, 43, 0.9) 100%);
  padding-top: 26px;
}

.package-card-copper {
  --tone-glow: rgba(218, 136, 94, 0.22);
  --tone-sheen: rgba(255, 222, 202, 0.16);
  --tone-edge: rgba(255, 224, 205, 0.23);
  background: linear-gradient(165deg, rgba(101, 43, 21, 0.9), rgba(77, 37, 20, 0.88) 42%, rgba(49, 31, 24, 0.9) 100%);
  padding-top: 25px;
}

.physical-school {
  border-bottom: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(15, 25, 37, 0.76);
  padding: 16px 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.06rem;
  color: #e6eef5;
}

.faq-item p {
  margin-top: 12px;
  color: var(--text-soft);
  line-height: 1.75;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #05230f;
  background: linear-gradient(120deg, #5df18f, #32ce6a);
  box-shadow: 0 12px 24px rgba(8, 35, 18, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.whatsapp-float:hover {
  filter: brightness(1.04);
}

.contact {
  padding-top: 72px;
}

.contact-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(17, 28, 41, 0.82), rgba(13, 22, 33, 0.92));
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
}

.contact-wrap h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.contact-wrap p {
  margin-top: 10px;
  color: var(--text-soft);
  max-width: 68ch;
  line-height: 1.7;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 18, 27, 0.66);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ecf2f7;
  transition: 220ms ease;
}

.contact-links a:hover {
  border-color: rgba(207, 171, 119, 0.72);
  background: rgba(207, 171, 119, 0.13);
}

.footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  background: rgba(23, 26, 31, 0.92);
}

.footer-content {
  padding: 18px 0 16px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #a6b3bf;
  font-size: 13px;
}

.footer-credit {
  margin-top: 10px;
  color: #7f8d99;
  font-size: 12px;
}

.footer-credit a {
  color: #a6b3bf;
  text-decoration: none;
}

.footer-credit a:hover {
  color: var(--gold);
}

.page-hero {
  padding: 82px 0 46px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.page-hero p {
  margin-top: 14px;
  color: var(--text-soft);
  max-width: 78ch;
  line-height: 1.8;
}

.breadcrumb {
  margin-top: 12px;
  color: #c9d4de;
  font-size: 13px;
}

.breadcrumb a {
  color: var(--gold-soft);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
}

.article-main {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 26, 38, 0.74);
  padding: 28px;
}

.article-main h2 {
  font-size: 2rem;
  margin-top: 30px;
}

.article-main h3 {
  font-size: 1.4rem;
  margin-top: 22px;
}

.article-main p,
.article-main li {
  margin-top: 12px;
  color: var(--text-soft);
  line-height: 1.9;
}

.article-main ul,
.article-main ol {
  margin: 10px 0 0;
  padding-left: 20px;
}

.article-main strong {
  color: #e7edf2;
}

.article-aside {
  position: sticky;
  top: 94px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  background: rgba(11, 20, 29, 0.76);
}

.article-aside h3 {
  font-size: 1.3rem;
}

.article-aside ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.article-aside a {
  color: #dce6ef;
  font-size: 14px;
}

.article-aside a:hover {
  color: var(--gold-soft);
}

/* ——— Antigravity Floating Reveal System ——— */

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: perspective(1200px) translateY(60px) scale(0.88) rotateX(8deg);
  transform-origin: center bottom;
  filter: blur(4px);
  will-change: transform, opacity, filter;
  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: perspective(1200px) translateY(0) scale(1) rotateX(0deg);
  filter: blur(0);
}

/* Hero section – dramatic upward float */
.js .hero.reveal {
  transform: perspective(1200px) translateY(80px) scale(0.92) rotateX(6deg);
  filter: blur(6px);
  transition-duration: 1100ms;
}
.js .hero.reveal.is-visible {
  transform: perspective(1200px) translateY(0) scale(1) rotateX(0deg);
  filter: blur(0);
}

/* Cards – staggered children with layered depth shadow */
.js .service-card.reveal,
.js .package-card.reveal,
.js .method-card.reveal {
  transform: perspective(1200px) translateY(48px) scale(0.9) rotateX(6deg);
  box-shadow: none;
}

.js .service-card.reveal.is-visible,
.js .package-card.reveal.is-visible,
.js .method-card.reveal.is-visible {
  transform: perspective(1200px) translateY(0) scale(1) rotateX(0deg);
  box-shadow:
    0 4px 12px rgba(207, 171, 119, 0.08),
    0 18px 40px rgba(2, 8, 14, 0.32),
    0 42px 80px rgba(2, 8, 14, 0.18);
}

/* Staggered sibling delays within grids */
.js .services-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.js .services-grid .reveal:nth-child(2) { transition-delay: 120ms; }
.js .services-grid .reveal:nth-child(3) { transition-delay: 240ms; }
.js .packages-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.js .packages-grid .reveal:nth-child(2) { transition-delay: 140ms; }
.js .packages-grid .reveal:nth-child(3) { transition-delay: 280ms; }
.js .packages-grid .reveal:nth-child(4) { transition-delay: 420ms; }
.js .method-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.js .method-grid .reveal:nth-child(2) { transition-delay: 110ms; }
.js .method-grid .reveal:nth-child(3) { transition-delay: 220ms; }
.js .method-grid .reveal:nth-child(4) { transition-delay: 330ms; }

/* Post-reveal hover micro-lift for cards */
.js .service-card.reveal.is-visible:hover,
.js .package-card.reveal.is-visible:hover,
.js .method-card.reveal.is-visible:hover {
  transform: perspective(1200px) translateY(-12px) scale(1.035);
  box-shadow:
    0 6px 16px rgba(207, 171, 119, 0.12),
    0 20px 44px rgba(2, 8, 14, 0.30),
    0 0 32px rgba(207, 171, 119, 0.06);
  transition-duration: 320ms;
}

/* Section heads get a lighter entrance */
.js .section-head {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.js .section.is-visible .section-head,
.js .reveal.is-visible .section-head {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .service-card.reveal,
  .js .package-card.reveal,
  .js .method-card.reveal,
  .js .hero.reveal,
  .js .section-head {
    transition-duration: 0.01ms !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 1020px) {
  .hero-grid,
  .profile-grid,
  .contact-wrap,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .services-grid,
  .method-grid,
  .article-grid,
  .testimonials-grid,
  .packages-grid {
    grid-template-columns: 1fr 1fr;
  }

  .package-card,
  .package-card:nth-child(odd),
  .package-card:nth-child(even) {
    transform: translateY(0) scale(1);
  }

  .package-card:hover {
    transform: translateY(-10px) scale(1.03);
  }
}

@media (max-width: 1340px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 4vw;
    width: min(290px, 92vw);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(8, 13, 19, 0.96);
    padding: 52px 10px 10px;
    display: grid;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 220ms ease;
    box-shadow: var(--shadow);
  }

  .menu-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(10, 18, 27, 0.72);
    color: var(--text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
  }

  .menu-close:active,
  .menu-close:focus-visible {
    border-color: rgba(207, 171, 119, 0.72);
    color: var(--gold-soft);
    outline: none;
  }

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

@media (max-width: 760px) {
  .video-frame-desktop {
    display: none;
  }

  .video-frame-mobile {
    display: block;
  }

  .services-grid,
  .method-grid,
  .article-grid,
  .testimonials-grid,
  .packages-grid {
    grid-template-columns: 1fr;
  }

  .services-grid > .service-card:last-child:nth-child(odd),
  .method-grid > .method-card:last-child:nth-child(odd),
  .packages-grid > .package-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .testimonial-card {
    min-height: 0;
  }

  .package-card,
  .package-card:nth-child(odd),
  .package-card:nth-child(even) {
    transform: translateY(0) scale(1);
  }

  .package-card:hover {
    transform: translateY(-8px) scale(1.026);
  }

  .hero {
    padding-top: 68px;
  }

  .hero-media {
    aspect-ratio: 3 / 4;
  }

  .hero-media-desktop {
    display: none;
  }

  .hero-media-mobile {
    display: block;
    margin: 0 0 22px;
    max-height: 420px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head h2 {
    font-size: 2.15rem;
    line-height: 1.08;
    max-width: 12ch;
    margin-inline: auto;
  }

  .section-head p {
    max-width: 34ch;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .btn {
    width: 100%;
  }

  .contact-links {
    width: 100%;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
  }

  .brand {
    padding-top: 4px;
  }
}

/* Pain points intro */
.pain-intro {
  margin-bottom: 40px;
  text-align: center;
}

.pain-intro h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
}

.pain-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.pain-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  transition: 200ms ease;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(207, 171, 119, 0.24);
}

.pain-item:hover,
.pain-item:focus-visible {
  background: rgba(207, 171, 119, 0.08);
  border-color: rgba(207, 171, 119, 0.4);
  color: var(--text);
  outline: none;
  transform: translateY(-2px);
}

.pain-item:active {
  transform: translateY(0);
  background: rgba(207, 171, 119, 0.14);
}

.pain-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pain-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.pain-bridge {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 50ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* Cross-link inside service cards */
.cross-link {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cross-link span {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
}

.cross-link a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: 180ms ease;
}

.cross-link a:hover {
  color: var(--gold-soft);
}

/* Section head */
.section-head {
  text-align: center;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.section-head p {
  margin: 12px auto 0;
  max-width: 68ch;
  text-align: center;
}

.section-head .eyebrow {
  width: fit-content;
  max-width: none;
  margin: 0 auto 12px;
  text-align: center;
}

/* Responsive pain list */
@media (max-width: 760px) {
  .service-card {
    scroll-margin-top: 196px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head h2 {
    max-width: 340px;
    margin-inline: auto;
    font-size: 2.1rem;
    line-height: 1.08;
  }

  .section-head p {
    max-width: 34ch;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .pain-list {
    flex-direction: column;
    align-items: stretch;
  }

  .pain-item {
    justify-content: flex-start;
    width: 100%;
    padding: 14px 16px;
  }

  .pain-bridge {
    max-width: 100%;
    padding: 0 10px;
  }
}
