/*
Theme Name: Color Club
Author: Color Club
Description: Одностраничная тема WordPress для закрытого клуба колористики Color Club. Адаптивный дизайн, галерея, FAQ, мобильное меню и настраиваемые ссылки Telegram.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: color-club
Tags: one-column, custom-menu, featured-images, translation-ready
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --bg: #11110f;
  --bg-2: #191814;
  --paper: #f4efe7;
  --paper-2: #ebe3d8;
  --ink: #171613;
  --muted: #746f67;
  --orange: #ff7a1a;
  --orange-2: #f15d0b;
  --line-dark: rgba(255,255,255,.13);
  --line-light: rgba(23,22,19,.13);
  --white: #fff;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 26px 80px rgba(0,0,0,.24);
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 16px;
  top: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  background: rgba(17,17,15,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-shell, .footer-shell, .section-shell { width: var(--shell); margin-inline: auto; }
.nav-shell { height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); min-width: max-content; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--orange);
  color: #15120f;
  font-weight: 950;
  letter-spacing: -.06em;
}
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy b { font-size: 13px; letter-spacing: .17em; }
.brand-copy small { margin-top: 5px; color: #aaa39a; font-size: 11px; }
.desktop-nav { display: flex; gap: 26px; margin-left: auto; }
.desktop-nav a { color: #d7d0c8; font-size: 14px; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--orange); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--orange);
  color: #17130f;
  font-weight: 800;
  font-size: 14px;
}
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--white); }
.mobile-menu { padding: 2px 20px 20px; border-top: 1px solid rgba(255,255,255,.08); background: #11110f; }
.mobile-menu a:not(.button) { display: block; padding: 13px 0; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08); }

.hero {
  padding: 104px 0 0;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 18%, rgba(255,131,34,.2), transparent 25%),
    linear-gradient(180deg, #0d0d0c 0%, #161510 100%);
}
.hero-frame {
  width: var(--shell);
  min-height: 660px;
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 40px;
  background: linear-gradient(135deg, #171511 0%, #1a130d 51%, #7c3008 100%);
  box-shadow: var(--shadow);
}
.hero-copy { padding: clamp(46px, 6vw, 82px); display: flex; flex-direction: column; justify-content: center; }
.eyebrow, .kicker { margin: 0 0 18px; font-size: 12px; font-weight: 900; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow { color: #ffc392; display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: #52d28b; box-shadow: 0 0 0 7px rgba(82,210,139,.12); }
.hero h1, .section-heading h2, .content-copy h2, .about-copy h2, .access-copy h2, .faq-heading h2 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero h1 em, h2 span { color: var(--orange); font-style: normal; }
.hero-lead { max-width: 650px; margin: 26px 0 0; color: #d8d1c9; font-size: clamp(17px, 2vw, 21px); }
.hero-offer {
  margin-top: 38px;
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 28px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: rgba(8,8,7,.55);
}
.price-block { display: grid; min-width: 155px; }
.price-block strong { font-size: clamp(38px, 4.4vw, 58px); line-height: 1; }
.price-block span { color: #aaa39a; font-size: 13px; margin-top: 7px; }
.compact-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: #d8d1c9; font-size: 14px; }
.compact-checks li { position: relative; padding-left: 25px; }
.compact-checks li::before, .access-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.hero-button { grid-column: 1 / -1; }
.button {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 14px;
  font-weight: 900;
  transition: transform .2s ease, filter .2s ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.05); }
.button svg { width: 21px; height: 21px; fill: currentColor; }
.button-primary { color: #17120e; background: linear-gradient(135deg, var(--orange), #ff963e); }
.button-full { width: 100%; }
.hero-media { position: relative; min-height: 660px; overflow: hidden; background: #8e3b0d; }
.hero-media img { height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-media-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,21,17,.92) 0%, rgba(23,21,17,.15) 27%, transparent 55%), linear-gradient(0deg, rgba(0,0,0,.64), transparent 35%); }
.hero-badges { position: absolute; inset: 28px 26px auto; display: flex; justify-content: space-between; gap: 10px; }
.pill { min-height: 42px; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.pill-dark { color: var(--white); background: rgba(13,13,12,.85); }
.pill-light { color: var(--ink); background: rgba(255,255,255,.9); }
.hero-signature { position: absolute; left: 28px; bottom: 25px; color: #f7dfcc; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.metric-strip {
  width: var(--shell);
  margin: 0 auto;
  padding: 0 0 58px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}
.metric-strip div { padding: 25px 18px 0; border-right: 1px solid var(--line-dark); }
.metric-strip div:last-child { border-right: 0; }
.metric-strip strong { display: block; font-size: 22px; color: var(--orange); }
.metric-strip span { display: block; margin-top: 4px; color: #a9a197; font-size: 13px; }

.section { padding: 110px 0; }
.section-light { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.4fr .8fr; gap: 50px; align-items: end; margin-bottom: 58px; }
.section-heading h2, .content-copy h2, .about-copy h2, .access-copy h2, .faq-heading h2 { font-size: clamp(38px, 4.8vw, 64px); }
.section-heading > p { margin: 0; color: var(--muted); font-size: 17px; }
.kicker { color: #8c8176; }
.kicker-orange { color: #ff9f5d; }

.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.audience-card { min-height: 260px; padding: 30px; border: 1px solid var(--line-light); border-radius: var(--radius-lg); background: rgba(255,255,255,.38); }
.audience-card > span { display: inline-flex; padding-bottom: 20px; color: var(--orange-2); font-size: 14px; font-weight: 900; letter-spacing: .16em; }
.audience-card h3 { margin: 0 0 14px; font-size: 25px; line-height: 1.1; letter-spacing: -.03em; }
.audience-card p { margin: 0; color: var(--muted); }

.content-section { color: var(--white); background: var(--bg); }
.content-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: start; }
.content-copy h2 { max-width: 720px; }
.content-intro { max-width: 650px; margin: 25px 0 38px; color: #bbb3aa; font-size: 17px; }
.feature-list { display: grid; }
.feature-list article { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 23px 0; border-top: 1px solid var(--line-dark); }
.feature-list article:last-child { border-bottom: 1px solid var(--line-dark); }
.feature-list b { color: var(--orange); font-size: 13px; letter-spacing: .15em; }
.feature-list h3 { margin: 0 0 6px; font-size: 21px; }
.feature-list p { margin: 0; color: #a9a198; }
.content-collage { position: sticky; top: 108px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 330px 240px auto; gap: 14px; }
.content-collage figure { margin: 0; border-radius: 22px; overflow: hidden; background: #27241f; }
.content-collage img { height: 100%; object-fit: cover; }
.collage-main { grid-column: 1 / -1; }
.collage-main img { object-position: 50% 40%; }
.collage-note { grid-column: 1 / -1; padding: 19px 22px; display: flex; justify-content: space-between; gap: 20px; border: 1px solid var(--line-dark); border-radius: 18px; color: #bdb5ac; }
.collage-note strong { color: var(--orange); font-size: 12px; letter-spacing: .16em; }

.gallery-section { background: #f0e9df; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 270px; gap: 14px; }
.gallery-item { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 20px; background: #ddd4c9; cursor: zoom-in; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .55s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.gallery-item span { position: absolute; z-index: 2; left: 18px; bottom: 16px; color: var(--white); font-size: 14px; font-weight: 800; }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }

.about-section { color: var(--white); background: #181713; }
.about-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.about-image { position: relative; overflow: hidden; border-radius: 32px; background: #6c2b09; box-shadow: var(--shadow); }
.about-image img { aspect-ratio: .76; object-fit: cover; object-position: 50% 26%; }
.about-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.58), transparent 38%); }
.about-stamp { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 23px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.about-stamp strong { font-size: 24px; letter-spacing: .12em; }
.about-stamp span { color: #d4cbc2; font-size: 13px; }
.about-copy p:not(.kicker) { color: #c1b9af; font-size: 17px; }
.about-copy h2 { margin-bottom: 30px; }
.about-quote { margin-top: 34px; padding: 24px; border-left: 3px solid var(--orange); background: rgba(255,255,255,.05); color: #fff4ec; font-size: 20px; font-weight: 700; }

.access-section { color: var(--white); background: #0f0f0d; }
.access-panel { display: grid; grid-template-columns: 1.35fr .65fr; gap: 60px; align-items: center; padding: clamp(34px, 5vw, 68px); border: 1px solid var(--line-dark); border-radius: 34px; background: radial-gradient(circle at 86% 20%, rgba(255,122,26,.23), transparent 28%), #171612; }
.access-copy > p:not(.kicker) { max-width: 690px; color: #bcb4aa; font-size: 17px; }
.access-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 30px; }
.access-list li { position: relative; padding-left: 27px; color: #e6ded5; }
.access-price { padding: 34px; border-radius: 26px; background: var(--paper); color: var(--ink); text-align: center; }
.access-price > span { font-size: 11px; font-weight: 900; letter-spacing: .18em; color: var(--orange-2); }
.access-price strong { display: block; margin: 12px 0 5px; font-size: 66px; line-height: 1; letter-spacing: -.06em; }
.access-price small { color: var(--muted); }
.access-price .button { margin-top: 26px; }
.payment-note { margin: 13px 0 0; color: var(--muted); font-size: 12px; }

.faq-section { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }
.faq-heading { position: sticky; top: 110px; }
.faq-heading > p:last-child { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line-light); }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-item button { width: 100%; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 800; font-size: 19px; cursor: pointer; }
.faq-item button b { color: var(--orange-2); font-size: 24px; }
.faq-answer p { margin: 0; padding: 0 50px 24px 0; color: var(--muted); }

.site-footer { padding: 34px 0 110px; color: #aaa39a; background: #10100f; }
.footer-shell { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; }
.brand-footer { justify-self: start; }
.footer-shell > p { margin: 0; font-size: 12px; text-align: center; }
.footer-links { justify-self: end; display: flex; gap: 20px; font-size: 13px; }
.footer-links a:hover { color: var(--orange); }

.mobile-buybar { display: none; }
.lightbox { width: min(900px, calc(100% - 30px)); padding: 0; overflow: visible; border: 0; border-radius: 22px; background: transparent; }
.lightbox::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(8px); }
.lightbox img { max-height: 88vh; width: auto; max-width: 100%; margin: auto; border-radius: 18px; object-fit: contain; }
.lightbox-close { position: absolute; z-index: 2; right: -8px; top: -44px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); font-size: 28px; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 28px, 760px); }
  .desktop-nav, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .hero-frame { grid-template-columns: 1fr; }
  .hero-media { min-height: 580px; order: -1; }
  .hero-media-shade { background: linear-gradient(0deg, rgba(16,14,12,.8), transparent 42%); }
  .hero-copy { padding: 42px 30px 46px; }
  .hero h1 { font-size: clamp(43px, 9vw, 70px); }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .metric-strip div:nth-child(2) { border-right: 0; }
  .section-heading, .content-layout, .about-layout, .access-panel, .faq-layout { grid-template-columns: 1fr; }
  .content-collage { position: relative; top: auto; }
  .about-layout { gap: 45px; }
  .about-image { max-width: 560px; }
  .access-panel { gap: 36px; }
  .faq-heading { position: relative; top: auto; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery-wide { grid-column: span 2; }
  .footer-shell { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .brand-footer, .footer-links { justify-self: center; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 20px); --radius-xl: 24px; }
  .nav-shell { height: 68px; }
  .brand-copy small { display: none; }
  .hero { padding-top: 82px; }
  .hero-frame { margin-bottom: 30px; border-radius: 28px; }
  .hero-media { min-height: 440px; }
  .hero-badges { inset: 18px 14px auto; }
  .pill { min-height: 36px; padding: 0 12px; font-size: 9px; }
  .hero-signature { left: 17px; bottom: 16px; }
  .hero-copy { padding: 32px 22px 28px; }
  .eyebrow { font-size: 10px; line-height: 1.4; }
  .hero h1 { font-size: clamp(39px, 12vw, 56px); }
  .hero-lead { margin-top: 20px; font-size: 17px; }
  .hero-offer { grid-template-columns: 1fr; padding: 18px; }
  .hero-button { grid-column: auto; }
  .price-block strong { font-size: 48px; }
  .metric-strip { padding-bottom: 42px; }
  .metric-strip div { padding: 18px 12px 0; min-height: 84px; }
  .metric-strip strong { font-size: 18px; }
  .metric-strip span { font-size: 11px; }
  .section { padding: 78px 0; }
  .section-heading { gap: 22px; margin-bottom: 38px; }
  .section-heading h2, .content-copy h2, .about-copy h2, .access-copy h2, .faq-heading h2 { font-size: clamp(37px, 11vw, 50px); }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 0; padding: 25px; }
  .content-layout { gap: 42px; }
  .content-collage { grid-template-rows: 280px 190px auto; }
  .collage-note { flex-direction: column; gap: 4px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; gap: 9px; }
  .gallery-wide { grid-column: span 2; }
  .gallery-item { border-radius: 14px; }
  .gallery-item span { left: 12px; bottom: 10px; font-size: 12px; }
  .about-stamp { flex-direction: column; align-items: flex-start; gap: 4px; }
  .access-panel { padding: 27px 20px; border-radius: 25px; }
  .access-list { grid-template-columns: 1fr; }
  .access-price { padding: 28px 18px; }
  .faq-item button { font-size: 17px; }
  .site-footer { padding-bottom: 100px; }
  .mobile-buybar { position: fixed; z-index: 900; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 11px 10px 16px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(18,18,16,.94); color: var(--white); box-shadow: 0 16px 40px rgba(0,0,0,.3); backdrop-filter: blur(16px); }
  .mobile-buybar div { display: grid; line-height: 1.1; }
  .mobile-buybar strong { font-size: 21px; }
  .mobile-buybar span { color: #aaa39a; font-size: 11px; }
  .mobile-buybar a { padding: 12px 15px; border-radius: 12px; background: var(--orange); color: #17120e; font-size: 13px; font-weight: 900; }
}

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


/* ---------- Packed gallery: explicit placement, no empty cells ---------- */
.gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 252px;
  grid-auto-flow: row;
  gap: 12px;
}
.gallery-item,
.gallery-tall,
.gallery-wide {
  grid-column: auto;
  grid-row: auto;
  min-width: 0;
}
.gallery-item:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.gallery-item:nth-child(2) { grid-column: 2; grid-row: 1; }
.gallery-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.gallery-item:nth-child(4) { grid-column: 4; grid-row: 1; }
.gallery-item:nth-child(5) { grid-column: 2 / span 2; grid-row: 2; }
.gallery-item:nth-child(6) { grid-column: 4; grid-row: 2; }
.gallery-item:nth-child(7) { grid-column: 1; grid-row: 3; }
.gallery-item:nth-child(8) { grid-column: 2; grid-row: 3; }
.gallery-item:nth-child(9) { grid-column: 3 / span 2; grid-row: 3; }
.gallery-item img { width: 100%; height: 100%; }

/* Mobile hero is separate from the desktop hero so desktop stays unchanged. */
.mobile-hero { display: none; }

@media (max-width: 980px) and (min-width: 681px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 230px;
  }
  .gallery-item:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .gallery-item:nth-child(2) { grid-column: 2; grid-row: 1; }
  .gallery-item:nth-child(3) { grid-column: 3; grid-row: 1; }
  .gallery-item:nth-child(4) { grid-column: 2 / span 2; grid-row: 2; }
  .gallery-item:nth-child(5) { grid-column: 1; grid-row: 3; }
  .gallery-item:nth-child(6) { grid-column: 2; grid-row: 3; }
  .gallery-item:nth-child(7) { grid-column: 3; grid-row: 3; }
  .gallery-item:nth-child(8) { grid-column: 1; grid-row: 4; }
  .gallery-item:nth-child(9) { grid-column: 2 / span 2; grid-row: 4; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 20px); }

  body { background: #080807; }
  .skip-link,
  .site-header,
  .hero,
  .mobile-buybar { display: none !important; }

  .mobile-hero {
    display: block;
    padding: max(8px, env(safe-area-inset-top)) 8px 10px;
    color: #fff;
    background: #080807;
  }

  .mobile-hero-card {
    position: relative;
    width: 100%;
    height: clamp(620px, 70svh, 820px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 123, 31, .48);
    border-radius: clamp(22px, 6vw, 30px);
    background: #9b3f08;
    box-shadow: 0 18px 44px rgba(0,0,0,.38), inset 0 0 0 8px rgba(0,0,0,.22);
  }

  .mobile-hero-card::after {
    content: "";
    position: absolute;
    z-index: 7;
    inset: 7px;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: calc(clamp(22px, 6vw, 30px) - 7px);
    pointer-events: none;
  }

  .mobile-hero-photo {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
    filter: saturate(.96) contrast(1.03);
  }

  .mobile-hero-gradient {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.03) 31%, rgba(7,7,6,.46) 45%, rgba(7,7,6,.94) 62%, #080807 100%),
      radial-gradient(circle at 50% 19%, transparent 0 28%, rgba(0,0,0,.16) 54%, rgba(0,0,0,.48) 100%);
  }

  .mobile-hero-badges {
    position: absolute;
    z-index: 4;
    top: 4.2%;
    left: 5.2%;
    right: 5.2%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .mobile-badge {
    min-height: clamp(30px, 8.6vw, 39px);
    padding: 0 clamp(13px, 4vw, 19px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: clamp(8px, 2.35vw, 11px);
    font-weight: 900;
    letter-spacing: .17em;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-badge-dark {
    color: #fff;
    background: rgba(12,12,11,.91);
    box-shadow: 0 7px 18px rgba(0,0,0,.24);
  }

  .mobile-badge-light {
    color: #171512;
    background: rgba(250,248,245,.96);
  }

  .mobile-lock {
    position: relative;
    width: 9px;
    height: 8px;
    margin-right: 8px;
    border-radius: 2px;
    background: currentColor;
  }

  .mobile-lock::before {
    content: "";
    position: absolute;
    left: 1px;
    right: 1px;
    top: -6px;
    height: 7px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
  }

  .mobile-hero-bottom {
    position: relative;
    z-index: 4;
    width: 100%;
    margin-top: auto;
    padding: 0 3.2% 2.15%;
    display: grid;
    gap: clamp(12px, 3vw, 18px);
  }

  .mobile-hero-copy {
    position: static;
    width: 100%;
    padding-inline: 2.1%;
  }

  .mobile-eyebrow {
    width: fit-content;
    max-width: 100%;
    min-height: clamp(26px, 7vw, 33px);
    margin: 0 0 2.4%;
    padding: 0 clamp(10px, 3.1vw, 15px);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(244,111,29,.84);
    border-radius: 999px;
    color: #f58b3b;
    background: rgba(13,13,12,.87);
    font-size: clamp(7px, 2vw, 9px);
    font-weight: 900;
    letter-spacing: .15em;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-eyebrow > span {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #51cf8b;
    box-shadow: 0 0 0 5px rgba(81,207,139,.14), 0 0 12px rgba(81,207,139,.55);
  }

  .mobile-hero-copy h1 {
    max-width: 93%;
    margin: 0;
    color: #fff;
    font-size: clamp(27px, 7.65vw, 36px);
    font-weight: 950;
    line-height: .92;
    letter-spacing: -.058em;
    text-wrap: balance;
  }

  .mobile-hero-copy h1 em {
    color: #ff7623;
    font-style: normal;
  }

  .mobile-lead {
    max-width: 85%;
    margin: 2.8% 0 0;
    color: #aaa7a3;
    font-size: clamp(9px, 2.65vw, 12px);
    line-height: 1.34;
  }

  .mobile-offer-card {
    position: static;
    z-index: 5;
    width: 100%;
    min-height: clamp(76px, 10.5svh, 96px);
    display: grid;
    grid-template-columns: 22% 37% 41%;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: clamp(16px, 4.2vw, 21px);
    background: rgba(15,15,14,.97);
    box-shadow: 0 12px 26px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.025);
  }

  .mobile-price {
    height: 64%;
    padding-left: 16%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,.13);
    line-height: 1;
  }

  .mobile-price strong {
    font-size: clamp(22px, 6.2vw, 29px);
    font-weight: 950;
    letter-spacing: -.055em;
  }

  .mobile-price span {
    margin-top: 6px;
    color: #9d9994;
    font-size: clamp(8px, 2.1vw, 10px);
  }

  .mobile-offer-list {
    height: 64%;
    margin: 0;
    padding: 0 7% 0 13%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    border-right: 1px solid rgba(255,255,255,.13);
    color: #aaa6a1;
    list-style: none;
    font-size: clamp(6.7px, 1.85vw, 8.5px);
    line-height: 1.15;
    white-space: nowrap;
  }

  .mobile-offer-list li {
    position: relative;
    padding-left: 14px;
  }

  .mobile-offer-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff7a22;
    font-size: 1.18em;
    font-weight: 950;
  }

  .mobile-offer-button {
    width: 88%;
    height: 57%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: clamp(10px, 2.9vw, 14px);
    color: #17120e;
    background: linear-gradient(135deg, #ff7a1a, #ff963e);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
    font-size: clamp(8px, 2.25vw, 10.5px);
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-offer-button svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    fill: currentColor;
  }

  .section { padding: 74px 0; }
  .section#para-quien { border-radius: 24px 24px 0 0; }

  .gallery-section { padding-top: 68px; }
  .gallery-heading { margin-bottom: 28px; }
  .gallery-heading h2 { font-size: clamp(37px, 11vw, 49px); }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 168px;
    gap: 8px;
  }
  .gallery-item { border-radius: 15px; }
  .gallery-item:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .gallery-item:nth-child(2) { grid-column: 2; grid-row: 1; }
  .gallery-item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .gallery-item:nth-child(4) { grid-column: 1 / span 2; grid-row: 3; }
  .gallery-item:nth-child(5) { grid-column: 1; grid-row: 4; }
  .gallery-item:nth-child(6) { grid-column: 2; grid-row: 4; }
  .gallery-item:nth-child(7) { grid-column: 1; grid-row: 5; }
  .gallery-item:nth-child(8) { grid-column: 2; grid-row: 5; }
  .gallery-item:nth-child(9) { grid-column: 1 / span 2; grid-row: 6; }
  .gallery-item span { left: 12px; bottom: 10px; font-size: 12px; }

  .site-footer { padding-bottom: 34px; }
}
.hero h1, .section-heading h2, .content-copy h2, .about-copy h2, .access-copy h2, .faq-heading h2 {
    margin: 0;
    font-size: clamp(42px, 3.2vw, 74px);
    line-height: .98;
    letter-spacing: -.055em;
} 



.lightbox-close {
    position: absolute;
    z-index: 2;
    right: -8px;
    top: -44px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
}



.hero h1  {
    margin: 0;
    font-size: clamp(42px, 2.6vw, 74px);
    line-height: .98;
    letter-spacing: -.055em;
}
.hero-copy.reveal.is-visible {
    padding: 0px;
    padding-left: 25px;
    padding-right: 25px;
}
.hero-media.reveal {
    max-height: 400px;
}


@media screen and (max-width: 700px) {
  section.mobile-hero { padding-bottom: 50px; }

  .section-heading h2,
  .content-copy h2,
  .about-copy h2,
  .access-copy h2,
  .faq-heading h2 {
    font-size: clamp(37px, 10vw, 50px);
  }

  .about-image,
  .about-image img { height: 400px; }

  .faq-layout { gap: 30px; }
}
@media (max-width: 680px) {
    .mobile-hero-photo {
        position: absolute;
        z-index: 0;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 80% 15%;
        filter: saturate(.96) contrast(1.03);
        margin-top: -35px;
    }
}
/* WordPress integration */
.admin-bar .site-header { top: 32px; }
section[id] { scroll-margin-top: 92px; }
.desktop-nav .menu-item,
.mobile-menu .menu-item { list-style: none; }
.customize-partial-edit-shortcut-button { z-index: 1002; }
.wp-content-shell {
  width: var(--shell);
  min-height: 70vh;
  margin-inline: auto;
  padding: 140px 0 80px;
}
.wp-content-shell article {
  max-width: 820px;
  margin-inline: auto;
}
.wp-content-shell h1 {
  margin: 0 0 28px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -.05em;
}
.wp-content-shell .entry-content { font-size: 18px; }
.wp-content-shell .entry-content a { color: var(--orange-2); text-decoration: underline; }
.wp-content-shell .entry-content img { height: auto; border-radius: 18px; }
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 10px; flex-wrap: wrap; }
.page-numbers { padding: 8px 12px; border-radius: 10px; background: var(--paper-2); }
.page-numbers.current { color: #17120e; background: var(--orange); }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
