@font-face { font-family: 'Londrina Solid'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/londrina-solid-regular.woff2') format('woff2'); }
@font-face { font-family: 'Londrina Solid'; font-style: normal; font-weight: 900; font-display: swap; src: url('assets/fonts/londrina-solid-black.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2'); }

@font-face {
  font-family: 'Space';
  src: url('assets/space-grotesk.woff2') format('woff2'),
       url('assets/space-grotesk.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --dark: #121511;
  --dark-2: #1C2119;
  --dark-card: #242B20;
  --cream: #FAF6EE;
  --cream-2: #EFE8D9;
  --surface: #FFFFFF;
  --lime: #C6F45A;
  --lime-bright: #D8FF7A;
  --lime-deep: #4A6810;
  --coral: #F26B5B;
  --coral-soft: #F4A6B0;
  --ink: #171B15;
  --muted: #5C6355;
  --muted-light: #A7B09E;
  --line: #DFDDD0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --wa: #25D366;

  --font-display: 'Londrina Solid', 'Space', Impact, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Space', system-ui, -apple-system, sans-serif;

  --pill: 999px;
  --radius-card: 28px;
  --radius-md: 20px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.modal-open,
body.menu-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

p {
  margin: 0 0 16px;
  text-wrap: pretty;
}

h1, h2, h3, h4 {
  margin: 0;
  text-wrap: balance;
}

::selection {
  background: var(--lime);
  color: var(--dark);
}

.container {
  width: min(1280px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 500;
  background: var(--lime);
  color: var(--dark);
  font-weight: 800;
  padding: 10px 18px;
  border-radius: var(--pill);
}

.skip-link:focus {
  top: 12px;
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

@keyframes pillBob {
  0%, 100% {
    transform: translateY(0) rotate(var(--r, -8deg));
  }
  50% {
    transform: translateY(-11px) rotate(calc(var(--r, -8deg) + 4.5deg));
  }
}

@keyframes marqueeLeft {
  to { transform: translateX(-50%); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(198, 244, 90, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(198, 244, 90, 0.04); }
}

.announcement {
  min-height: 38px;
  padding: 7px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--lime);
  color: var(--dark);
  font-size: 13px;
  font-weight: 600;
}

.announcement > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  background: var(--dark);
  color: var(--lime);
  padding: 3px 10px;
  border-radius: var(--pill);
}

.announcement a {
  font-weight: 800;
  padding: 2px 10px;
  border-radius: var(--pill);
  background: rgba(18, 21, 17, 0.1);
  transition: background 0.2s ease, color 0.2s ease;
}

.announcement a:hover {
  background: var(--dark);
  color: var(--lime);
}

.header {
  position: sticky;
  top: 0;
  z-index: 200;
  min-height: 76px;
  padding: 12px 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(18, 21, 17, 0.78);
  backdrop-filter: blur(22px) saturate(1.8);
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.on-light {
  background: rgba(18, 21, 17, 0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2.5px;
  width: var(--reading-progress, 0%);
  background: var(--lime);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  z-index: 205;
}

.brand-light {
  font-weight: 500;
  color: var(--lime);
}

.brand-icon {
  background: var(--lime);
  color: var(--dark);
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space', sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -2px;
  padding-right: 2px;
  box-shadow: 0 6px 16px rgba(198, 244, 90, 0.32);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-icon span {
  font-size: 21px;
}

.brand:hover .brand-icon {
  transform: rotate(-8deg) scale(1.06);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.nav a {
  color: #ECEFE6;
  font-size: 13.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--pill);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  color: var(--lime);
  background: rgba(198, 244, 90, 0.1);
}

.nav a[aria-current="page"] {
  background: var(--lime);
  color: var(--dark);
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 205;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 26px;
  min-height: 46px;
  border-radius: var(--pill);
  font-size: 14.5px;
  font-weight: 800;
  border: 2px solid transparent;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease,
              background 0.25s ease,
              color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px) scale(1.02);
}

.button.lime {
  background: var(--lime);
  color: var(--dark);
  box-shadow: 0 12px 26px rgba(198, 244, 90, 0.26);
}

.button.lime:hover {
  background: var(--lime-bright);
  box-shadow: 0 16px 34px rgba(198, 244, 90, 0.42);
}

.button.dark {
  background: var(--dark);
  color: var(--cream);
  box-shadow: 0 10px 24px rgba(18, 21, 17, 0.18);
}

.button.dark:hover {
  background: var(--dark-card);
  color: var(--lime);
}

.button.outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.26);
}

.button.outline-light:hover {
  background: var(--cream);
  color: var(--dark);
  border-color: var(--cream);
}

.button.outline-dark {
  background: rgba(255, 255, 255, 0.35);
  color: var(--dark);
  border-color: var(--dark);
}

.button.outline-dark:hover {
  background: var(--dark);
  color: var(--lime);
}

.button.wa-solid {
  background: var(--wa);
  color: #082412;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.3);
}

.nav-contact {
  padding: 10px 22px;
  min-height: 42px;
  font-size: 13.5px;
  position: relative;
  z-index: 205;
}

.nav-contact[aria-current="page"] {
  background: rgba(198, 244, 90, 0.14);
  color: var(--lime);
  border-color: rgba(198, 244, 90, 0.45);
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  border-bottom: 2px solid currentColor;
  padding-bottom: 3px;
  transition: color 0.2s ease, gap 0.2s ease;
}

.text-link:hover {
  color: var(--lime-deep);
  gap: 12px;
}

.dark-band {
  background-color: var(--dark);
  color: var(--cream);
  position: relative;
}

.cream-band {
  background-color: var(--cream);
  color: var(--ink);
  position: relative;
}

.kicker-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lime-deep);
  margin-bottom: 10px;
}

.lime-tag {
  color: var(--lime);
}

.display-sec {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 0.94;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.display-sec em {
  font-style: normal;
  color: var(--coral);
}

.display-sec.light {
  color: var(--cream);
}

.display-sec.light em {
  color: var(--lime);
}

.center-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.center-head p {
  font-size: 16.5px;
  color: var(--muted);
  margin: 0;
}

.center-head.light p {
  color: var(--muted-light);
}

.hero {
  position: relative;
  padding: 28px 4vw 86px;
  background-image:
    radial-gradient(circle at 50% 45%, rgba(198, 244, 90, 0.18) 0%, rgba(198, 244, 90, 0.04) 42%, transparent 68%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 54px 54px, 54px 54px;
  overflow: hidden;
  z-index: 2;
}

.hero-kicker {
  max-width: 1280px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #D3D8CA;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulseDot 2.2s infinite;
}

.hero-location {
  margin-left: auto;
  padding: 4px 13px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--lime);
  font-size: 10.5px;
}

.hero-arrow {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 15;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(28, 33, 25, 0.72);
  backdrop-filter: blur(10px);
  color: var(--cream);
  font-size: 32px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hero-arrow:hover {
  background: var(--lime);
  color: var(--dark);
  border-color: var(--lime);
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow.prev { left: 2vw; }
.hero-arrow.next { right: 2vw; }

.hero-stage {
  position: relative;
  max-width: 1320px;
  margin: 10px auto 18px;
  min-height: clamp(340px, 38vw, 490px);
  display: grid;
  place-items: center;
}

.display-giant {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(64px, 13.5vw, 195px);
  line-height: 0.84;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
  z-index: 1;
  text-shadow: 0 14px 36px rgba(0, 0, 0, 0.65);
}

.display-giant .top-w {
  color: var(--cream);
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.display-giant .bot-w {
  color: var(--lime);
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.hero-plate-wrap {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: clamp(270px, 34vw, 480px);
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-plate-wrap.switching {
  opacity: 0;
  transform: translate(-50%, -44%) scale(0.86) rotate(-5deg);
}

.plate-glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 244, 90, 0.34) 0%, transparent 70%);
  filter: blur(22px);
  z-index: -1;
}

.hero-plate {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.78));
  animation: floatBob 5s ease-in-out infinite;
}

.hero-pills {
  position: absolute;
  left: clamp(2%, 8vw, 13%);
  top: 6%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.fl-pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--pill);
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
  animation: pillBob 3.4s ease-in-out infinite;
  white-space: nowrap;
}

.fl-pill.p1 {
  background: var(--lime);
  color: var(--dark);
}

.fl-pill.p2 {
  background: var(--coral);
  color: var(--surface);
  margin-left: 20px;
  animation-delay: 0.55s;
}

.fl-pill.p3 {
  background: var(--cream);
  color: var(--dark);
  margin-left: -6px;
  animation-delay: 1.1s;
}

.hero-emojis {
  position: absolute;
  right: clamp(3%, 10vw, 15%);
  top: 12%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 24px;
  pointer-events: none;
}

.fl-em {
  font-size: clamp(32px, 3.6vw, 52px);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.5));
  animation: floatBob 3.2s ease-in-out infinite;
}

.fl-em.em2 {
  margin-left: 26px;
  animation-delay: 0.9s;
}

.hero-foot {
  position: relative;
  z-index: 6;
  max-width: 680px;
  margin: 26px auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.h-dot {
  padding: 6px 15px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #DFE3D7;
  font-size: 12.5px;
  font-weight: 700;
  transition: 0.22s ease;
}

.h-dot.active,
.h-dot:hover {
  background: var(--lime);
  color: var(--dark);
  border-color: var(--lime);
}

.hero-subcopy {
  font-size: clamp(16px, 1.35vw, 19px);
  color: #D2D7C9;
  margin: 0;
}

.hero-subcopy strong {
  color: var(--lime);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.about-editorial {
  padding: 100px 0 70px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 54px;
  align-items: center;
}

.collage-wrap {
  display: flex;
  justify-content: center;
}

.collage-img {
  width: 100%;
  max-width: 590px;
  height: auto;
  filter: drop-shadow(0 24px 36px rgba(18, 21, 17, 0.16));
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.collage-wrap:hover .collage-img {
  transform: rotate(-2deg) scale(1.035);
}

.lead-editorial {
  font-size: 17.5px;
  font-weight: 600;
  color: var(--ink);
}

.editorial-copy p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.72;
}

.editorial-copy strong {
  color: var(--ink);
}

.editorial-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.specials-band {
  padding: 40px 0 130px;
}

.circles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.circle-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.circle-card:hover {
  transform: translateY(-10px);
}

.circle-thumb {
  position: relative;
  width: min(290px, 74vw);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 8px;
  background: var(--surface);
  border: 2px dashed rgba(74, 104, 16, 0.35);
  box-shadow: 0 22px 44px rgba(18, 21, 17, 0.13);
  margin-bottom: 22px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.circle-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.circle-card:hover .circle-thumb {
  border-color: var(--lime-deep);
  box-shadow: 0 28px 54px rgba(74, 104, 16, 0.24);
}

.circle-card:hover .circle-thumb img {
  transform: rotate(18deg) scale(1.05);
}

.circle-num {
  position: absolute;
  bottom: 8px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--dark);
  border: 3px solid var(--surface);
  font-family: var(--font-display);
  font-size: 21px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.circle-card h3 {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.circle-card p {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 300px;
  margin: 0 auto 14px;
}

.pill-mini {
  display: inline-block;
  padding: 7px 18px;
  border-radius: var(--pill);
  background: var(--cream-2);
  font-size: 13px;
  font-weight: 800;
  transition: background 0.25s ease, color 0.25s ease;
}

.circle-card:hover .pill-mini {
  background: var(--dark);
  color: var(--lime);
}

#rest {
  margin-top: -42px;
  padding-top: 96px;
  z-index: 3;
}

.carta-section {
  padding: 10px 4vw 84px;
}

.carta-hero-head {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: 0 auto 40px;
}

.promo-pill {
  background: var(--coral);
  color: var(--surface);
  margin-bottom: 12px;
}

.carta-hero-head .fl-em.left {
  position: absolute;
  left: 4%;
  top: 20%;
}

.carta-hero-head .fl-em.right {
  position: absolute;
  right: 4%;
  bottom: 8%;
  animation-delay: 0.8s;
}

.display-lime-mega {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(48px, 8.8vw, 126px);
  line-height: 0.88;
  color: var(--lime);
  text-shadow: 0 8px 0 rgba(0, 0, 0, 0.42);
}

.display-lime-mega.sm {
  font-size: clamp(38px, 5.5vw, 76px);
  text-align: left;
}

.carta-card {
  max-width: 1120px;
  margin: 0 auto;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-card);
  padding: clamp(26px, 4.4vw, 54px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
}

.carta-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.carta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 0.95;
}

.carta-top p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.carta-search {
  position: relative;
  margin-bottom: 18px;
}

.carta-search svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #7D8475;
}

.carta-search input {
  width: 100%;
  padding: 15px 22px 15px 52px;
  border-radius: var(--pill);
  border: 1.5px solid #D8D6C8;
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.carta-search input:focus {
  outline: none;
  border-color: var(--lime-deep);
  box-shadow: 0 0 0 4px rgba(198, 244, 90, 0.35);
}

.carta-chips {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.c-chip {
  padding: 9px 18px;
  border-radius: var(--pill);
  border: 1px solid #DDDAD0;
  background: var(--surface);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  transition: 0.2s ease;
}

.c-chip:hover {
  border-color: var(--dark);
}

.c-chip.active {
  background: var(--dark);
  color: var(--cream);
  border-color: var(--dark);
  box-shadow: 0 0 0 2.5px var(--lime), 0 8px 18px rgba(18, 21, 17, 0.22);
}

.carta-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 36px;
  margin-bottom: 34px;
}

.c-item {
  background: var(--surface);
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid #E7E4D8;
  animation: riseIn 0.35s ease both;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.c-item:hover {
  transform: translateY(-3px);
  border-color: #A8C962;
  box-shadow: 0 12px 24px rgba(18, 21, 17, 0.07);
}

.c-item-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.c-item-name {
  font-weight: 800;
  font-size: 16.5px;
  color: var(--coral);
}

.c-item-dots {
  flex: 1;
  border-bottom: 2px dotted #C8C6B8;
  min-width: 18px;
}

.c-item-tag {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.03em;
  color: var(--dark);
  white-space: nowrap;
}

.c-item p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 10px;
}

.c-item-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 13px;
  border-radius: var(--pill);
  background: var(--lime);
  color: var(--dark);
  transition: background 0.2s ease, transform 0.2s ease;
}

.c-item-link:hover {
  background: var(--dark);
  color: var(--lime);
  transform: translateX(2px);
}

.carta-promo-banner {
  background: linear-gradient(135deg, var(--lime-bright) 0%, var(--lime) 60%, #A9E235 100%);
  color: var(--dark);
  padding: 26px 32px;
  border-radius: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.promo-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  background: var(--dark);
  color: var(--lime);
  padding: 4px 12px;
  border-radius: var(--pill);
  margin-bottom: 8px;
}

.carta-promo-banner h4 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1;
  margin-bottom: 6px;
}

.carta-promo-banner p {
  margin: 0;
  font-size: 14.5px;
  max-width: 540px;
  color: #273212;
}

.carta-promo-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.marquees-triple {
  padding: 18px 0 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  user-select: none;
}

.mq-row {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  transform: rotate(-1deg);
}

.mq-row.r1 {
  background: var(--lime);
  color: var(--dark);
}

.mq-row.r2 {
  background: var(--coral);
  color: var(--surface);
  transform: rotate(1deg);
}

.mq-row.r3 {
  background: var(--dark-card);
  color: var(--lime);
  border-top: 1px solid rgba(198, 244, 90, 0.25);
  border-bottom: 1px solid rgba(198, 244, 90, 0.25);
}

.mq-track {
  display: flex;
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 1px;
  animation: marqueeLeft 38s linear infinite;
}

.mq-row.reverse .mq-track {
  animation-direction: reverse;
  animation-duration: 44s;
}

.why-section {
  padding: 84px 0 90px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 44px;
}

.why-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.why-col.left {
  text-align: right;
  align-items: flex-end;
}

.why-col.right {
  text-align: left;
  align-items: flex-start;
}

.why-box {
  max-width: 330px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(198, 244, 90, 0.2);
  padding: 22px 24px;
  border-radius: 22px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.why-box:hover {
  transform: translateY(-5px);
  border-color: var(--lime);
}

.why-badge {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--lime);
  font-size: 21px;
  margin-bottom: 10px;
}

.why-box h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--lime);
  margin-bottom: 6px;
}

.why-box p {
  font-size: 14.5px;
  color: #C9D0BF;
  margin: 0;
}

.why-arrow {
  width: 90px;
  height: 36px;
  margin-top: 8px;
}

.why-polaroid {
  position: relative;
  width: clamp(260px, 26vw, 350px);
  background: var(--surface);
  padding: 14px 14px 18px;
  border-radius: 24px;
  border: 3px solid var(--lime);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.6);
  transform: rotate(-1.5deg);
  transition: transform 0.45s ease;
}

.why-polaroid:hover {
  transform: rotate(0deg) scale(1.03);
}

.why-polaroid img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.polaroid-pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--surface);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 16px;
  border-radius: var(--pill);
  white-space: nowrap;
}

.why-cta {
  text-align: center;
}

.action-gallery {
  padding: 24px 0 96px;
  overflow: hidden;
}

.gal-marquee {
  width: 100%;
  overflow: hidden;
  padding: 16px 0;
}

.gal-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marqueeLeft 36s linear infinite;
}

.gal-track:hover {
  animation-play-state: paused;
}

.gal-item {
  position: relative;
  width: 300px;
  height: 340px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--dark-2);
  border: 2px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gal-item:hover {
  transform: scale(1.05) rotate(1.8deg);
  border-color: var(--lime);
  z-index: 4;
}

.gal-item:hover img {
  transform: scale(1.07);
}

.gal-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 18px 16px;
  background: linear-gradient(0deg, rgba(12, 15, 11, 0.96) 0%, rgba(12, 15, 11, 0.65) 65%, transparent 100%);
  display: flex;
  flex-direction: column;
}

.gal-cap span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--lime);
}

.gal-cap strong {
  font-size: 16.5px;
  color: var(--cream);
}

.white-strip {
  background: var(--cream);
  color: var(--dark);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}

.white-strip-track {
  display: flex;
  width: max-content;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  animation: marqueeLeft 34s linear infinite;
}

.final-banner {
  position: relative;
  padding: 92px 0 120px;
  background:
    linear-gradient(90deg, rgba(18, 21, 17, 0.95) 0%, rgba(18, 21, 17, 0.84) 48%, rgba(18, 21, 17, 0.72) 100%),
    url('assets/foto-desarrollo-web.webp') center/cover no-repeat;
}

.final-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: end;
}

.final-left p {
  font-size: 17px;
  color: #D2D7C8;
  max-width: 500px;
  margin: 14px 0 26px;
}

.final-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.final-right h3 {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--cream);
  margin-bottom: 16px;
}

.final-info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.final-info-cards > div {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 18px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.final-info-cards span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--lime);
}

.final-info-cards strong {
  font-size: 15px;
  color: var(--cream);
}

.final-info-cards a:hover {
  color: var(--lime);
  text-decoration: underline;
}

.final-info-cards small {
  font-size: 12px;
  color: var(--muted-light);
}

.page-main {
  min-height: 60vh;
}

.page-breadcrumb {
  padding: 16px max(5vw, 24px);
  border-bottom: 1px solid rgba(18, 21, 17, 0.09);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  background: var(--cream-2);
}

.page-breadcrumb a {
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid var(--line);
}

.page-breadcrumb a:hover {
  background: var(--lime);
  border-color: var(--lime);
}

.page-breadcrumb > span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--muted);
}

.breadcrumb-dark {
  background: var(--dark-2);
  color: var(--cream);
  border-color: var(--line-dark);
}

.breadcrumb-dark a {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--cream);
}

.breadcrumb-dark > span {
  color: var(--muted-light);
}

.section {
  padding: 80px max(5vw, 24px);
}

.section > * {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 40px;
}

.section-label > span:last-child {
  color: var(--muted);
  font-size: 10.5px;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 0.95;
  margin-bottom: 20px;
}

.page-title em {
  font-style: normal;
  color: var(--coral);
}

.services .page-title em,
.contact .page-title em {
  color: var(--lime);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 40px;
}

.section-heading .page-title { margin: 0; }
.section-heading > p { margin: 0; color: var(--muted); max-width: 360px; font-size: 15px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-photo {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(18, 21, 17, 0.14);
}

.about-photo > img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.photo-note {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(250, 246, 238, 0.95);
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 700;
}

.photo-note small {
  display: block;
  font-weight: 500;
  color: var(--muted);
}

.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.purpose-grid article {
  display: flex;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.purpose-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--dark);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.purpose-grid h3 { font-size: 20px; margin-bottom: 6px; }
.purpose-grid p { margin: 0; font-size: 14.5px; color: var(--muted); }

.services { background: var(--dark); color: var(--cream); }
.services .section-label, .contact .section-label { border-color: var(--line-dark); }
.services .section-label > span:last-child, .contact .section-label > span:last-child { color: var(--muted-light); }
.services .section-heading > p { color: var(--muted-light); }

.service-list { display: grid; gap: 18px; }
.service-row {
  display: grid;
  grid-template-columns: 180px 1fr 1.2fr 50px;
  gap: 26px;
  align-items: center;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  transition: transform 0.28s ease, border-color 0.28s ease;
}
.service-row:hover { transform: translateY(-3px); border-color: var(--lime); }
.service-visual { position: relative; border-radius: 12px; overflow: hidden; }
.service-visual img { width: 100%; height: 130px; object-fit: cover; }
.service-number {
  position: absolute; top: 8px; left: 8px;
  background: var(--lime); color: var(--dark);
  font-weight: 800; font-size: 11px; padding: 2px 9px; border-radius: var(--pill);
}
.service-title h3 { font-size: 22px; margin-bottom: 6px; }
.service-title > span { font-size: 10.5px; font-weight: 800; letter-spacing: 1px; color: var(--lime); }
.service-detail > p { font-size: 14.5px; color: #C6CCBC; margin-bottom: 12px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: var(--pill); border: 1px solid rgba(255,255,255,0.16); }
.circle-link {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.28);
  display: grid; place-items: center; font-size: 22px;
  transition: 0.25s ease;
}
.service-row:hover .circle-link { background: var(--lime); color: var(--dark); border-color: var(--lime); }
.service-note {
  margin-top: 26px; padding: 18px 22px; border-radius: 16px;
  background: rgba(198, 244, 90, 0.08); border: 1px solid rgba(198, 244, 90, 0.24);
  display: flex; align-items: center; gap: 12px;
}
.service-note > span { font-size: 22px; color: var(--lime); }
.service-note > p { margin: 0; font-size: 14px; color: #D5DACB; }

.possibilities { background: var(--cream); }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.concept-card {
  background: var(--surface); padding: 14px 14px 20px;
  border-radius: var(--radius-md); border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(18,21,17,0.06);
}
.mini-browser {
  height: 295px; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(18,21,17,0.1);
  transform: perspective(850px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.25s ease;
}
.browser-bar { height: 28px; background: #F5F4EC; display: flex; align-items: center; gap: 5px; padding: 0 12px; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #CCC; display: block; }
.browser-bar span { font-size: 9.5px; font-weight: 700; color: var(--muted); margin: auto; }
.food-demo, .professional-demo, .creative-demo { position: relative; padding: 22px; height: 267px; overflow: hidden; }
.food-demo { background: #6E2720; color: #F9D6A3; }
.professional-demo { background: #EAE4D7; color: #2E382C; }
.creative-demo { background: #C2CEF5; color: #1F2138; }
.food-demo > span:first-child, .professional-demo > span:first-child, .creative-demo > span:first-child { font-size: 9px; font-weight: 800; letter-spacing: 1px; display: block; }
.food-demo strong, .creative-demo strong { display: block; font-family: var(--font-display); font-size: 36px; line-height: 0.95; margin-top: 20px; position: relative; z-index: 1; }
.professional-demo strong { display: block; font-family: Georgia, serif; font-size: 32px; line-height: 1.05; margin-top: 18px; position: relative; z-index: 1; }
.food-visual { font-size: 130px; color: #F0A145; position: absolute; right: 6px; bottom: -22px; line-height: 1; }
.creative-star { font-size: 120px; color: #F06E4C; position: absolute; right: -8px; bottom: 0; line-height: 1; }
.architectural-art { position: absolute; right: -18px; top: 68px; bottom: 14px; width: 44%; display: flex; gap: 6px; transform: skewY(-12deg); }
.architectural-art i { display: block; width: 36px; background: linear-gradient(90deg, #9E9D86, #CCC9B4); }
.mini-cta { position: absolute; bottom: 20px; left: 22px; font-size: 11px; font-weight: 800; border-bottom: 1.5px solid; z-index: 1; }
.concept-caption { display: flex; justify-content: space-between; align-items: center; margin: 16px 6px 0; }
.concept-caption h3 { font-size: 17px; margin-bottom: 3px; }
.concept-caption p { margin: 0; font-size: 12.5px; color: var(--muted); }
.concept-caption > span { font-size: 12px; font-weight: 800; padding: 4px 11px; border-radius: var(--pill); background: var(--cream); }
.concept-disclaimer { text-align: center; font-size: 12px; color: var(--muted); margin-top: 28px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.process-grid li {
  background: var(--surface); padding: 26px 22px; border-radius: var(--radius-md);
  border: 1px solid var(--line); border-top: 4px solid var(--lime-deep);
}
.process-grid li > span { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.process-grid b { width: 38px; height: 38px; border-radius: 11px; background: var(--lime); color: var(--dark); display: grid; place-items: center; font-size: 17px; }
.process-grid h3 { font-size: 20px; margin-bottom: 8px; }
.process-grid p { margin: 0; font-size: 14.5px; color: var(--muted); }

.promo {
  max-width: 1200px; margin: 36px auto; width: calc(100% - 8vw);
  padding: 52px 5vw; background: var(--lime); border-radius: var(--radius-card);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center;
  position: relative; overflow: hidden; isolation: isolate;
}
.eyebrow { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 1.4px; padding: 5px 13px; border-radius: var(--pill); background: rgba(18,21,17,0.1); margin-bottom: 12px; }
.promo small { display: block; margin-top: 18px; font-size: 11.5px; color: #364516; }
.promo-decoration { position: absolute; right: -60px; bottom: -80px; font-size: 360px; color: rgba(18,21,17,0.07); z-index: -1; line-height: 1; }
.discount { background: var(--dark); color: var(--lime); padding: 36px 28px; border-radius: 24px; text-align: center; }
.discount strong { font-family: var(--font-display); font-size: clamp(84px, 10vw, 140px); line-height: 0.9; display: block; }
.discount strong span { font-size: 0.45em; vertical-align: super; }
.discount > span { display: block; font-weight: 800; letter-spacing: 3px; color: var(--cream); margin-top: 12px; }
.discount > p { margin: 6px 0 0; font-size: 11px; color: var(--muted-light); }
.promo-expired { padding: 80px 6vw; text-align: center; }
.promo-expired[hidden] { display: none; }

.faq-grid { display: grid; grid-template-columns: 0.85fr 1.35fr; gap: 48px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq-list summary { list-style: none; padding: 19px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; font-size: 15.5px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { width: 32px; height: 32px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 20px; transition: transform 0.25s ease, background 0.25s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); background: var(--lime); }
.faq-list details p { font-size: 14.5px; color: var(--muted); padding: 14px 0 20px; margin: 0; border-top: 1px solid var(--cream-2); }

.contact {
  background-color: var(--dark);
  background-image:
    radial-gradient(circle at 18% 18%, rgba(198, 244, 90, 0.12) 0%, transparent 46%),
    radial-gradient(circle at 86% 72%, rgba(242, 107, 91, 0.08) 0%, transparent 44%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 54px 54px, 54px 54px;
  color: var(--cream);
  min-height: 72vh;
  padding-bottom: 116px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 52px;
  align-items: start;
}
.contact-star { color: var(--lime); font-size: 38px; margin-left: 8px; }
.contact-lead {
  color: #CDD4C3;
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 540px;
  margin: 4px 0 26px;
}
.contact-pillars {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}
.contact-pillar {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  padding: 15px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.contact-pillar:hover {
  border-color: rgba(198, 244, 90, 0.45);
  transform: translateX(4px);
}
.pillar-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(198, 244, 90, 0.14);
  border: 1px solid rgba(198, 244, 90, 0.35);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 20px;
  display: grid;
  place-items: center;
}
.contact-pillar h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 3px;
}
.contact-pillar p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #B8C0AE;
  margin: 0;
}
.contact-studio-card {
  border-radius: 22px;
  overflow: hidden;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
}
.contact-studio-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 15px 20px;
  background: rgba(18, 21, 17, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-studio-meta span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--lime);
  margin-bottom: 2px;
}
.contact-studio-meta strong {
  font-size: 13.5px;
  color: var(--cream);
}
.contact form {
  position: sticky;
  top: 98px;
  background: var(--cream);
  color: var(--ink);
  padding: 36px 34px;
  border-radius: 28px;
  border: 2.5px solid var(--lime);
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.form-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.form-head .eyebrow {
  background: var(--dark);
  color: var(--lime);
  margin-bottom: 8px;
}
.form-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 0.98;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-head p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact label:not(.privacy-consent) {
  font-size: 13.5px;
  font-weight: 800;
  margin: 0;
}
.contact input:not([type="checkbox"]),
.contact select,
.contact textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid #D5D2C3;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.55;
}
.contact input:not([type="checkbox"]):focus,
.contact select:focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--lime-deep);
  box-shadow: 0 0 0 3.5px rgba(198, 244, 90, 0.4);
}
.contact form .contact-submit {
  margin-top: 4px;
  width: 100%;
  min-height: 54px;
  padding: 14px 24px;
  justify-content: space-between;
  background: var(--dark);
  color: var(--lime);
  font-size: 15.5px;
  box-shadow: 0 14px 28px rgba(18, 21, 17, 0.2);
}
.contact form .contact-submit:hover {
  background: var(--dark-card);
  color: var(--lime-bright);
}
.form-status {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(198, 244, 90, 0.25);
  border: 1px solid rgba(74, 104, 16, 0.3);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin: 0;
}
.form-status:empty {
  display: none;
}
.form-status a {
  color: var(--lime-deep);
  text-decoration: underline;
  font-weight: 800;
}
.contact-faq-bar {
  margin-top: 48px;
  padding: 26px 30px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.contact-faq-bar strong {
  display: block;
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 4px;
}
.contact-faq-bar p {
  margin: 0;
  font-size: 14px;
  color: #B8C0AE;
}
.contact-faq-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-end-cta {
  padding: 36px max(5vw, 24px); background: var(--cream-2);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.page-end-cta p { margin: 0; font-family: var(--font-display); font-size: 28px; }
.related-link {
  padding: 34px 24px; background: var(--dark-2); color: var(--cream);
  display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap;
}
.related-link p { margin: 0; font-weight: 700; }

.footer {
  position: relative;
  background: #0D100C;
  color: var(--cream);
  margin-top: -42px;
  padding: 84px max(5vw, 24px) 32px;
  overflow: hidden;
  z-index: 4;
}

.footer > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-top p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted-light);
}

.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: 13.5px;
  font-weight: 700;
}

.footer-top nav a:hover {
  color: var(--lime);
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(68px, 16vw, 220px);
  line-height: 0.88;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.055);
  text-align: center;
  padding: 26px 0 10px;
  user-select: none;
  pointer-events: none;
}

.footer-wordmark > span {
  color: rgba(198, 244, 90, 0.28);
  margin-left: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: #8E9684;
}

.footer-bottom a:hover {
  color: var(--lime);
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 180;
  background: var(--wa);
  color: #072010;
  padding: 12px 20px;
  border-radius: var(--pill);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.38);
  animation: floatBob 3.2s ease-in-out infinite;
  transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
}

.whatsapp-float.is-docked,
.modal-open .whatsapp-float,
.menu-locked .whatsapp-float {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

dialog {
  padding: 0;
  border: 2px solid var(--lime);
  border-radius: 26px;
  width: min(820px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 36px 96px rgba(0, 0, 0, 0.65);
}

dialog[open] {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  animation: riseIn 0.35s ease;
}

dialog::backdrop {
  background: rgba(12, 15, 11, 0.8);
  backdrop-filter: blur(10px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(18, 21, 17, 0.16);
  background: var(--surface);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 3;
}

.modal-art {
  background: radial-gradient(circle, #F6E6E0 0%, #E7D2CA 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  overflow: hidden;
}

.modal-art img {
  width: 88%;
  max-width: 330px;
  height: auto;
  animation: floatBob 5s ease-in-out infinite;
}

.modal-edition {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  text-align: center;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  background: rgba(255, 255, 255, 0.72);
  padding: 5px 10px;
  border-radius: var(--pill);
}

.modal-spark { position: absolute; font-size: 30px; }
.spark-one { left: 20px; bottom: 24px; color: var(--lime-deep); }
.spark-two { right: 22px; top: 60px; color: var(--coral); }

.modal-content {
  padding: 46px 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-content h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 0.96;
  margin: 12px 0 14px;
}

.modal-content h2 em { font-style: normal; color: var(--coral); }
.modal-content p { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; }
.modal-content .button { width: 100%; justify-content: space-between; }

.continue-button {
  margin-top: 10px;
  padding: 12px 20px;
  min-height: 46px;
  border-radius: var(--pill);
  border: 1.5px solid rgba(18, 21, 17, 0.24);
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.continue-button:hover { background: var(--cream-2); }
.modal-content small { font-size: 11px; color: var(--muted); text-align: center; margin-top: 14px; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-col.left,
  .why-col.right {
    text-align: center;
    align-items: center;
  }

  .why-box {
    max-width: 520px;
    width: 100%;
  }

  .why-arrow {
    display: none;
  }

  .why-center {
    display: flex;
    justify-content: center;
  }

  .editorial-grid,
  .final-grid,
  .about-grid,
  .contact-grid,
  .promo,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .contact form {
    position: static;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .header {
    min-height: 68px;
    padding: 10px 18px;
  }

  .header.menu-open {
    background: var(--dark);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 202;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    padding: 106px 7vw 36px;
    background:
      radial-gradient(circle at 85% 12%, rgba(198, 244, 90, 0.16) 0%, transparent 45%),
      #121511;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.28s ease, transform 0.32s ease, visibility 0.28s;
    overflow-y: auto;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    font-family: var(--font-display);
    font-size: clamp(26px, 7vw, 34px);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav a::after {
    content: '↗';
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--lime);
  }

  .nav a[aria-current="page"] {
    background: transparent;
    color: var(--lime);
  }

  .nav-contact {
    margin-left: auto;
    padding: 8px 15px;
    min-height: 38px;
    font-size: 12.5px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(198, 244, 90, 0.4);
    background: rgba(198, 244, 90, 0.08);
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--lime);
    border-radius: 2px;
    transition: transform 0.25s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .circles-grid,
  .carta-cols,
  .concept-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr 46px;
  }

  .service-visual,
  .service-detail {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .announcement {
    font-size: 11.5px;
    padding: 7px 12px;
    flex-wrap: wrap;
  }

  .announcement > span {
    display: none;
  }

  .brand {
    font-size: 19px;
    gap: 8px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .hero {
    padding: 20px 16px 74px;
  }

  .hero-kicker {
    font-size: 9.5px;
    letter-spacing: 0.8px;
    flex-wrap: wrap;
  }

  .hero-location {
    font-size: 9.5px;
    padding: 3px 10px;
  }

  .hero-stage {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }

  .display-giant {
    font-size: clamp(54px, 16.5vw, 76px);
    line-height: 0.88;
  }

  .hero-plate-wrap {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(84vw, 310px);
    margin-top: -18px;
  }

  .hero-plate-wrap.switching {
    transform: scale(0.88);
  }

  .hero-pills {
    left: 0;
    top: auto;
    bottom: 6px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 6px;
  }

  .fl-pill.p2,
  .fl-pill.p3 {
    margin-left: 0;
  }

  .fl-pill {
    font-size: 11px;
    padding: 5px 12px;
  }

  .hero-emojis {
    right: 4%;
    top: 4%;
    flex-direction: row;
    gap: 10px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 24px;
    top: 52%;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .about-editorial {
    padding: 72px 0 48px;
  }

  .specials-band {
    padding: 24px 0 105px;
  }

  .carta-hero-head .fl-em {
    display: none;
  }

  .carta-card {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .carta-promo-banner {
    padding: 22px 20px;
  }

  .carta-promo-btns,
  .carta-promo-btns .button,
  .final-btns,
  .final-btns .button {
    width: 100%;
  }

  .final-info-cards,
  .purpose-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .gal-item {
    width: 250px;
    height: 295px;
  }

  .contact {
    padding-bottom: 96px;
  }

  .contact form {
    padding: 26px 20px;
  }

  .contact-studio-meta {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-faq-bar {
    padding: 22px 18px;
  }

  .contact-faq-links,
  .contact-faq-links .button {
    width: 100%;
  }

  .contact input:not([type="checkbox"]),
  .contact select,
  .contact textarea {
    font-size: 16px;
  }

  .footer {
    padding: 74px 18px 88px;
  }

  .page-contacto .footer {
    padding-bottom: 36px;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    padding: 13px;
  }

  .whatsapp-float span {
    display: none;
  }

  dialog {
    width: calc(100% - 24px);
    max-width: 400px;
    border-radius: 22px;
  }

  dialog[open] {
    grid-template-columns: 1fr;
  }

  .modal-art {
    min-height: 185px;
  }

  .modal-art img {
    width: 195px;
  }

  .modal-content {
    padding: 22px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.has-photo-hero .hero-stage {
  display: flex; flex-direction: column; gap: 18px;
  min-height: 0; padding-top: 12px;
}
.has-photo-hero .display-giant { font-size: clamp(58px, 7.2vw, 106px); }
.has-photo-hero .hero-plate-wrap {
  position: relative; left: auto; top: auto; transform: none;
  width: min(52vw, 640px); margin: 0;
  border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 22px 55px rgba(0,0,0,.4);
}
.has-photo-hero .hero-plate-wrap.switching { transform: scale(.96); }
.has-photo-hero .plate-glow { display: none; }
.has-photo-hero .hero-plate {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2;
  object-fit: cover; filter: none; animation: none;
}
.collage-img { border-radius: 28px; box-shadow: 0 22px 45px rgba(18,21,17,.18); }
.concept-photo { display: block; width: 100%; height: 267px; object-fit: cover; }
.process-grid .process-photo {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2;
  object-fit: cover; border-radius: 10px; margin-bottom: 20px;
}
.faq-photo {
  display: block; width: 100%; max-width: 480px;
  height: auto; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 20px; margin-top: 26px;
}
.contact-studio-card .contact-photo {
  display: block; width: 100%; max-width: none;
  height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 0; margin: 0;
}
.discount .promo-photo { display: block; width: 150px; height: auto; margin: -12px auto 16px; }
@media (max-width: 600px) {
  .has-photo-hero .hero-plate-wrap { width: min(86vw, 500px); border-radius: 18px; }
  .has-photo-hero .display-giant { font-size: clamp(54px, 16vw, 76px); }
  .has-photo-hero .hero-stage { padding-bottom: 42px; }
  .has-photo-hero .hero-pills { bottom: 0; }
  .has-photo-hero .hero-emojis { display: none; }
  .contact-photo, .faq-photo { max-width: none; }
}

.has-photo-hero .display-giant { order: 1; }
.has-photo-hero .hero-plate-wrap { order: 2; }
.has-photo-hero .hero-pills {
  position: static; order: 3; width: auto;
  flex-direction: row; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin-top: 6px;
}
.has-photo-hero .hero-pills .fl-pill { margin-left: 0; }
.has-photo-hero .hero-emojis { right: 5%; top: 50%; }
.gal-item { height: auto; }
.gal-item img { height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.gal-cap { position: relative; inset: auto; padding: 16px 18px; }
@media (max-width: 900px) {
  .has-photo-hero .hero-plate-wrap { width: min(86vw, 640px); }
  .has-photo-hero .hero-emojis { display: none; }
}
@media (max-width: 600px) {
  .has-photo-hero .hero-stage { padding-bottom: 0; }
}

.concept-grid-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; }
@media (max-width: 900px) { .concept-grid-extra { grid-template-columns: 1fr; } }

.legal-main { padding-bottom: 1px; }
.legal-hero { padding: 66px max(5vw, 22px) 56px; background: #f6f1e8; }
.legal-hero-inner {
  max-width: 1180px; margin: 0 auto; display: grid;
  grid-template-columns: minmax(0, 1fr) 330px; gap: 64px; align-items: center;
}
.legal-eyebrow { display: block; font-size: 10px; font-weight: 800; letter-spacing: 1.8px; color: #6c5148; margin-bottom: 24px; }
.legal-hero h1 {
  font-family: var(--font-display); font-size: clamp(58px, 6.9vw, 94px);
  font-weight: 900; line-height: .98; letter-spacing: -.01em; text-transform: uppercase;
  margin: 0 0 24px;
}
.legal-hero h1 em { color: #d95647; font-style: normal; }
.legal-intro { max-width: 550px; color: #555a51; font-size: 17px; line-height: 1.8; margin-bottom: 26px; }
.legal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 12px; }
.legal-meta > span { color: #666a60; }
.legal-meta time { font-weight: 700; color: #363b33; padding: 6px 12px; border: 1px solid #d9d4c8; border-radius: 999px; }
.legal-summary { border-radius: 26px; background: #21241f; padding: 30px; color: #faf6ee; box-shadow: 0 16px 36px rgba(30,32,27,.1); }
.legal-summary > svg { width: 48px; height: 48px; color: #f3a295; margin-bottom: 22px; }
.legal-summary-label { display: block; color: #d5b0a5; font-size: 10px; font-weight: 800; letter-spacing: 1.8px; margin-bottom: 10px; }
.legal-summary h2 { font-size: 25px; line-height: 1.3; margin-bottom: 12px; letter-spacing: -.6px; }
.legal-summary p { color: #d7d9d2; font-size: 13px; line-height: 1.8; }
.legal-summary > a { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-top: 18px; border-top: 1px solid #484b43; font-size: 12px; font-weight: 700; min-height: 44px; }
.legal-summary > a:hover { color: #f3a295; }
.legal-tabs-wrap { background: #f6f1e8; border-bottom: 1px solid #ddd8cc; padding-inline: max(5vw, 22px); }
.legal-tabs { display: flex; gap: 30px; max-width: 1180px; margin-inline: auto; }
.legal-tabs a { padding: 17px 0; font-size: 14px; font-weight: 700; color: #62655c; border-bottom: 3px solid transparent; }
.legal-tabs a[aria-current="page"] { color: #983a30; border-color: #d95647; }
.legal-tabs a:hover { color: #983a30; }
.legal-layout {
  max-width: 1284px; margin-inline: auto; padding: 48px 52px 126px;
  display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 44px; align-items: start;
}
.legal-sidebar { position: sticky; top: 105px; min-width: 0; }
.legal-index { border: 1px solid #ddd9ce; border-radius: 20px; background: #fffdf8; overflow: hidden; }
.legal-index summary { cursor: pointer; font-size: 14px; font-weight: 800; padding: 18px 20px; min-height: 56px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.legal-index summary::-webkit-details-marker { display: none; }
.legal-index summary > span { font-size: 20px; line-height: 1; transition: transform .2s; }
.legal-index[open] summary > span { transform: rotate(180deg); }
.legal-index nav { display: grid; gap: 3px; border-top: 1px solid #e9e5db; padding: 10px; }
.legal-index nav a { display: grid; grid-template-columns: 22px minmax(0,1fr); align-items: start; gap: 9px; padding: 11px 8px; font-size: 12.5px; font-weight: 600; line-height: 1.6; min-height: 44px; border-radius: 10px; }
.legal-index nav a > span { color: #a24b3e; font-size: 10px; font-weight: 800; padding-top: 1px; }
.legal-index nav a:hover { background: #f3eee4; color: #8d342b; }
.legal-contact-card { margin-top: 18px; padding: 22px; border: 1px solid #e4d3c6; border-radius: 18px; background: #f0e5d8; }
.legal-contact-card > span { font-size: 8.5px; letter-spacing: 1.3px; font-weight: 800; color: #775649; }
.legal-contact-card h2 { font-size: 18px; margin: 10px 0 8px; }
.legal-contact-card p { font-size: 12px; color: #58564d; line-height: 1.8; margin-bottom: 12px; }
.legal-contact-card > a { font-size: 11.5px; line-height: 1.8; font-weight: 700; }
.legal-content { min-width: 0; }
.legal-section { scroll-margin-top: 108px; padding: 30px 32px; border: 1px solid #e2ddd1; border-radius: 22px; background: #fffdf9; margin-bottom: 20px; }
.legal-section:target { border-color: #ba6557; box-shadow: 0 0 0 3px #f0dcd4; }
.legal-section-heading { display: flex; gap: 14px; align-items: baseline; margin-bottom: 20px; }
.legal-section-heading > span { color: #a44d40; font-size: 10px; font-weight: 800; letter-spacing: 1px; flex-shrink: 0; }
.legal-section-heading h2 { font-size: clamp(20px, 2vw, 23px); line-height: 1.4; letter-spacing: -.45px; }
.legal-section p, .legal-section li { font-size: 15px; line-height: 1.9; color: #51564c; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section strong { color: #272e25; font-weight: 700; }
.legal-content a:not(.button), .legal-inline-link { color: #903e33; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #d9aa9d; overflow-wrap: anywhere; }
.legal-content a:not(.button):hover, .legal-inline-link:hover { color: #60261f; text-decoration-color: currentColor; }
.legal-identity { margin: 22px 0; border: 1px solid #e7e0d3; border-radius: 14px; overflow: hidden; }
.legal-identity > div { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 18px; padding: 13px 16px; border-bottom: 1px solid #e7e0d3; font-size: 13px; line-height: 1.8; }
.legal-identity > div:last-child { border-bottom: 0; }
.legal-identity dt { color: #686a60; font-weight: 600; }
.legal-identity dd { margin: 0; font-weight: 700; min-width: 0; }
.legal-list { padding-left: 20px; margin: 0 0 20px; }
.legal-list li { padding-left: 3px; margin-bottom: 8px; }
.legal-list li::marker { color: #a44d40; }
.legal-steps { list-style: none; counter-reset: step; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.legal-steps li { position: relative; padding: 16px 18px 16px 54px; background: #f5efe5; border-radius: 14px; counter-increment: step; }
.legal-steps li::before { content: counter(step); position: absolute; left: 17px; top: 18px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #383c32; color: #fffaf1; font-weight: 700; font-size: 11px; }
.legal-steps li > strong, .legal-steps li > span { display: block; }
.legal-steps li > strong { margin-bottom: 4px; }
.legal-steps li > span { font-size: 13px; }
.legal-provider { display: flex; align-items: start; justify-content: space-between; gap: 24px; padding: 20px 0; border-top: 1px solid #e6e1d6; }
.legal-provider h3 { font-size: 15px; margin-bottom: 6px; }
.legal-provider p { font-size: 13px; margin-bottom: 0; }
.legal-provider > a { font-size: 11px; font-weight: 700; min-width: 112px; padding: 6px 0; }
.legal-rights { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 20px 0; }
.legal-rights > div { background: #f5efe5; border-radius: 14px; padding: 18px; }
.legal-rights h3 { font-size: 14px; color: #71382e; margin-bottom: 6px; }
.legal-rights p { margin: 0; font-size: 12px; line-height: 1.8; }
.legal-section .legal-source { font-size: 11px; padding-top: 18px; border-top: 1px solid #e6e1d6; }
.legal-bottom-callout { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px; background: #ebded0; border-radius: 22px; margin-top: 30px; }
.legal-bottom-callout span:not([aria-hidden]) { font-size: 9px; font-weight: 800; letter-spacing: 1.4px; color: #745748; }
.legal-bottom-callout h2 { font-family: var(--font-display); font-size: 38px; text-transform: uppercase; line-height: 1.1; margin: 9px 0 7px; }
.legal-bottom-callout p { color: #55584e; font-size: 12px; margin: 0; }
.legal-bottom-callout .button { font-size: 12px; flex-shrink: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 16px 0 24px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 14px; border: 1px solid #3c4137; border-radius: 10px; color: #e3e5dc; font-size: 12px; font-weight: 600; }
.footer-legal a:hover, .footer-legal a:focus-visible { background: #252b21; border-color: #c9b7a7; color: #fff; }
.form-privacy-hint { color: #5c6355; font-size: 12px; line-height: 1.7; margin: 8px 0 0; }
.contact form .privacy-consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; border: 1px solid #dbd5c8; background: #fffdf7; font-size: 12px; font-weight: 500; line-height: 1.75; margin: 3px 0; cursor: pointer; }
.contact .privacy-consent input[type="checkbox"] { width: 20px; height: 20px; min-height: 20px; flex: 0 0 20px; padding: 0; margin: 3px 0 0; accent-color: #a64638; cursor: pointer; }
.privacy-consent a { color: #8f392e; text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }
.page-legal a:focus-visible, .legal-index summary:focus-visible { outline: 3px solid #a04b3e; outline-offset: 5px; border-radius: 5px; }
@media (max-width: 1100px) {
  .legal-hero-inner { grid-template-columns: minmax(0,1fr) 290px; gap: 36px; }
  .legal-summary { padding: 26px; }
  .legal-layout { padding-inline: 32px; grid-template-columns: 230px minmax(0,1fr); gap: 26px; }
  .legal-section { padding: 26px; }
  .legal-identity > div { grid-template-columns: 1fr; gap: 2px; }
  .legal-bottom-callout { align-items: start; flex-direction: column; }
}
@media (max-width: 900px) {
  .legal-hero { padding-top: 48px; padding-bottom: 36px; }
  .legal-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .legal-hero h1 { font-size: clamp(54px, 10vw, 82px); }
  .legal-summary { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 0 18px; }
  .legal-summary > svg { grid-row: 1 / 4; width: 40px; height: 40px; margin: 0; }
  .legal-summary > .legal-summary-label, .legal-summary > h2, .legal-summary > p, .legal-summary > a { grid-column: 2; }
  .legal-summary h2 { font-size: 22px; }
  .legal-summary > a { margin-top: 3px; }
  .legal-layout { grid-template-columns: minmax(0,1fr); padding: 26px 24px 110px; gap: 24px; }
  .legal-sidebar { position: static; }
  .legal-index nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .legal-contact-card { display: none; }
  .legal-section { scroll-margin-top: 90px; }
  .legal-identity > div { grid-template-columns: 150px minmax(0,1fr); gap: 18px; }
}
@media (max-width: 600px) {
  .legal-hero { padding: 38px 20px 30px; }
  .legal-eyebrow { font-size: 8.5px; letter-spacing: 1.4px; margin-bottom: 20px; }
  .legal-hero h1 { font-size: clamp(49px, 12.5vw, 72px); margin-bottom: 20px; }
  .legal-intro { font-size: 14px; line-height: 1.85; margin-bottom: 20px; }
  .legal-meta { font-size: 10px; gap: 6px 8px; }
  .legal-meta time { padding: 5px 10px; }
  .legal-summary { padding: 22px 20px; gap: 0 14px; border-radius: 20px; }
  .legal-summary h2 { font-size: 20px; }
  .legal-summary p { font-size: 12px; }
  .legal-summary > a { grid-column: 1 / -1; }
  .legal-summary > svg { width: 36px; height: 36px; }
  .legal-tabs-wrap { padding-inline: 20px; }
  .legal-tabs { gap: 24px; }
  .legal-tabs a { font-size: 12px; min-height: 52px; }
  .legal-layout { padding: 24px 16px 110px; gap: 20px; }
  .legal-index { border-radius: 16px; }
  .legal-index nav { grid-template-columns: 1fr; }
  .legal-index summary { padding: 16px 18px; font-size: 13px; }
  .legal-section { border-radius: 18px; padding: 23px 20px; margin-bottom: 16px; }
  .legal-section-heading { gap: 11px; margin-bottom: 17px; align-items: start; }
  .legal-section-heading > span { padding-top: 6px; }
  .legal-section-heading h2 { font-size: 20px; }
  .legal-section p, .legal-section li { font-size: 15px; line-height: 1.9; }
  .legal-identity > div { grid-template-columns: 1fr; gap: 3px; padding: 12px 14px; }
  .legal-rights { grid-template-columns: 1fr; gap: 10px; }
  .legal-rights > div { padding: 16px; }
  .legal-provider { flex-direction: column; gap: 6px; padding-block: 18px; }
  .legal-provider > a { min-height: 44px; display: inline-flex; align-items: center; }
  .legal-steps li { padding: 16px 14px 16px 48px; }
  .legal-steps li::before { left: 12px; }
  .legal-steps li > span { font-size: 12px; }
  .legal-bottom-callout { border-radius: 18px; padding: 26px 22px; }
  .legal-bottom-callout .button { width: 100%; justify-content: space-between; }
  .footer-legal { display: grid; grid-template-columns: 1fr; gap: 8px; padding-top: 10px; }
  .footer-legal a { justify-content: space-between; font-size: 12px; padding: 11px 14px; }
}
@media (max-width: 480px) {
  .header { gap: 8px; padding-inline: 12px; }
  .header .brand { font-size: 17px; gap: 6px; }
  .header .brand-icon { width: 32px; height: 32px; }
  .header .nav-contact { padding: 10px 12px; font-size: 11.5px; gap: 6px; min-height: 44px; flex-shrink: 0; }
  .header .menu-toggle { width: 40px; height: 44px; flex: 0 0 40px; }
  .legal-main .page-breadcrumb { padding: 14px 16px; flex-wrap: wrap; gap: 10px; }
  .legal-main .page-breadcrumb > span { font-size: 9px; letter-spacing: .7px; }
}

[hidden] {
  display: none !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 205;
}

.mobile-auth-item {
  display: none;
}

.auth-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 16px 6px 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.auth-nav-btn:hover,
.auth-nav-btn[aria-current="page"] {
  background: rgba(198, 244, 90, 0.14);
  border-color: rgba(198, 244, 90, 0.5);
  color: var(--lime);
}

.auth-nav-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.auth-nav-btn.is-logged {
  padding-left: 6px;
  border-color: rgba(198, 244, 90, 0.45);
  background: rgba(198, 244, 90, 0.12);
}

.auth-avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--dark);
  font-size: 11px;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.auth-avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-grid {
  align-items: center;
}

.auth-stage {
  width: 100%;
}

.auth-card {
  background: var(--cream);
  color: var(--ink);
  padding: 34px 32px;
  border-radius: 28px;
  border: 2.5px solid var(--lime);
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-section .auth-form {
  position: static;
  background: transparent;
  color: inherit;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border-radius: var(--pill);
  background: var(--cream-2);
  border: 1px solid var(--line);
}

.auth-tab {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--pill);
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.auth-tab.active {
  background: var(--dark);
  color: var(--lime);
  box-shadow: 0 6px 16px rgba(18, 21, 17, 0.18);
}

.auth-head {
  padding-bottom: 12px;
}

.google-btn {
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1.5px solid #D1CEC0;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(18, 21, 17, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.google-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--dark);
  box-shadow: 0 12px 24px rgba(18, 21, 17, 0.12);
}

.google-btn:disabled,
.auth-section button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-feedback {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.auth-feedback:empty {
  display: none;
}

.auth-feedback[data-state="error"] {
  background: #FDECEC;
  border: 1px solid #F3B7B2;
  color: #8A251D;
}

.auth-feedback[data-state="success"] {
  background: rgba(198, 244, 90, 0.32);
  border: 1px solid rgba(74, 104, 16, 0.38);
  color: #1F2E05;
}

.auth-feedback[data-state="info"] {
  background: #F2EFE6;
  border: 1px solid #D8D2C2;
  color: var(--ink);
}

.field-row-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.auth-inline-action {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lime-deep);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pass-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.pass-wrap input {
  padding-right: 78px !important;
}

.pass-toggle {
  position: absolute;
  right: 10px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 800;
}

.pass-toggle:hover {
  background: var(--lime);
  border-color: var(--lime);
}

.auth-switch-copy {
  margin: 2px 0 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

.auth-link-btn {
  padding: 0;
  margin-left: 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-link-btn:hover {
  color: var(--lime-deep);
}

.profile-eyebrow {
  align-self: flex-start;
  background: var(--dark);
  color: var(--lime);
  margin-bottom: 0;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.profile-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 2.5px solid var(--lime);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  min-width: 0;
}

.profile-info h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}

.profile-info p {
  margin: 0 0 8px;
  font-size: 13.5px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.profile-badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: var(--pill);
  background: rgba(198, 244, 90, 0.45);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 800;
}

.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-sec-btn {
  width: 100%;
  justify-content: space-between;
}

.auth-logout-btn {
  margin-top: 4px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--pill);
  border: 1.5px solid #DFC4BF;
  background: transparent;
  color: #8F3025;
  font-size: 13.5px;
  font-weight: 800;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.auth-logout-btn:hover {
  background: #FDECEC;
  border-color: #D95647;
}

@media (max-width: 900px) {
  .header-actions {
    margin-left: auto;
    gap: 8px;
  }

  .nav-contact {
    margin-left: 0;
  }

  .mobile-auth-item {
    display: flex;
  }
}

@media (max-width: 600px) {
  .auth-nav-btn {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
  }

  .auth-nav-btn.is-logged {
    padding: 0;
  }

  .auth-nav-text {
    display: none;
  }

  .auth-card {
    padding: 24px 18px;
  }

  .profile-header {
    flex-direction: column;
    text-align: center;
  }
}


.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(90, 200, 255, 0.55);
  box-shadow: 0 0 18px rgba(0, 162, 255, 0.38);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.brand:hover .brand-logo {
  transform: rotate(-6deg) scale(1.07);
  box-shadow: 0 0 24px rgba(0, 180, 255, 0.6);
}

.academy-home-logo {
  width: 78px;
  height: 78px;
  margin: 0 auto 14px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(90, 200, 255, 0.6);
  box-shadow: 0 12px 32px rgba(0, 150, 255, 0.35);
}

.home-courses-section {
  padding: 76px 0 36px;
}

.courses-page-section {
  background-color: var(--dark);
  background-image:
    radial-gradient(circle at 16% 16%, rgba(0, 162, 255, 0.14) 0%, transparent 44%),
    radial-gradient(circle at 84% 28%, rgba(198, 244, 90, 0.12) 0%, transparent 46%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 54px 54px, 54px 54px;
  color: var(--cream);
  padding-bottom: 120px;
}

.courses-page-section .section-label {
  border-color: var(--line-dark);
}

.courses-page-section .section-label > span:last-child {
  color: var(--muted-light);
}

.courses-page-section .page-title em {
  color: var(--lime);
}

.courses-hero-head {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 44px;
}

.academy-crest {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #38B6FF, var(--lime));
  box-shadow: 0 16px 38px rgba(0, 162, 255, 0.32);
  flex-shrink: 0;
}

.academy-crest img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.courses-lead {
  max-width: 680px;
  font-size: 16.5px;
  line-height: 1.7;
  color: #CED5C4;
  margin: 0;
}

.courses-lead strong {
  color: var(--lime);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.course-card {
  background: var(--dark-2);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.42);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.course-card:hover {
  transform: translateY(-7px);
  border-color: rgba(198, 244, 90, 0.55);
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.58);
}

.course-card.featured-course {
  border-color: rgba(56, 182, 255, 0.52);
  box-shadow: 0 24px 54px rgba(0, 140, 255, 0.18);
}

.course-card.is-unlocked {
  border-color: rgba(198, 244, 90, 0.55);
}

.course-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0B0E0B;
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-media img {
  transform: scale(1.05);
}

.course-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 13px;
  border-radius: var(--pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.course-badge.free {
  background: var(--lime);
  color: var(--dark);
}

.course-badge.premium {
  background: #FFD43B;
  color: #151510;
}

.course-badge.featured {
  background: linear-gradient(135deg, #38B6FF, #0077FF);
  color: #FFFFFF;
}

.course-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-meta {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.3px;
  color: var(--lime);
  margin-bottom: 8px;
}

.course-body h2,
.course-body h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 10px;
}

.course-body > p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #BDC5B3;
  margin-bottom: 16px;
}

.course-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
}

.course-perks li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: #DCE2D3;
  line-height: 1.45;
}

.course-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--lime);
  font-weight: 900;
}

.course-price-row {
  margin-top: auto;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.price-tag {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.price-tag small {
  font-size: 16px;
  color: var(--muted-light);
}

.price-tag.free-price {
  color: var(--lime);
}

.course-price-row del {
  margin-left: 8px;
  font-size: 13px;
  color: #88917E;
}

.price-note {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted-light);
}

.course-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.course-main-btn {
  width: 100%;
  justify-content: space-between;
}

.button.paypal-cta {
  background: #FFC439;
  color: #111827;
  box-shadow: 0 12px 26px rgba(255, 196, 57, 0.25);
}

.button.paypal-cta:hover {
  background: #FFD369;
  box-shadow: 0 16px 32px rgba(255, 196, 57, 0.4);
}

.course-card.is-unlocked .button.paypal-cta {
  background: var(--lime);
  color: var(--dark);
  box-shadow: 0 12px 26px rgba(198, 244, 90, 0.26);
}

.course-preview-btn {
  width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #D7DDD0;
  font-size: 12.5px;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.course-preview-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--lime);
  color: var(--lime);
}

.courses-trust-bar {
  margin-top: 48px;
  padding: 26px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(198, 244, 90, 0.14);
  border: 1px solid rgba(198, 244, 90, 0.3);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 15px;
  color: var(--cream);
  margin-bottom: 4px;
}

.trust-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #B6BEAC;
}

.checkout-dialog {
  width: min(520px, calc(100% - 28px));
}

.classroom-dialog {
  width: min(980px, calc(100% - 28px));
}

.checkout-dialog[open],
.classroom-dialog[open] {
  display: block;
  grid-template-columns: none;
}

.checkout-body {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-eyebrow {
  align-self: flex-start;
  background: var(--dark);
  color: var(--lime);
  margin-bottom: 0;
}

.checkout-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.checkout-summary img {
  width: 112px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.checkout-summary h2 {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 4px;
}

.checkout-summary p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--dark);
  color: var(--cream);
}

.checkout-total-row span {
  font-size: 13.5px;
  font-weight: 700;
}

.checkout-total-row strong {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--lime);
}

.checkout-guarantees {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.paypal-box {
  min-height: 54px;
  padding-top: 4px;
}

.classroom-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 470px;
}

.classroom-sidebar {
  background: var(--dark);
  color: var(--cream);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.classroom-eyebrow {
  align-self: flex-start;
  background: rgba(198, 244, 90, 0.16);
  color: var(--lime);
  margin-bottom: 0;
}

.classroom-sidebar h2 {
  font-size: 20px;
  line-height: 1.25;
}

.classroom-modules {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.module-nav-btn {
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.module-nav-btn strong {
  font-size: 13px;
  line-height: 1.35;
}

.module-nav-btn span {
  font-size: 11px;
  color: var(--muted-light);
}

.module-nav-btn.active,
.module-nav-btn:hover {
  background: rgba(198, 244, 90, 0.14);
  border-color: var(--lime);
}

.module-nav-btn.active span {
  color: var(--lime);
}

.classroom-content {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.classroom-content h3 {
  font-size: 24px;
  line-height: 1.25;
}

.classroom-content > p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

.code-panel {
  border-radius: 16px;
  overflow: hidden;
  background: #121612;
  color: #E6ECE0;
  border: 1px solid #2A3327;
}

.code-panel-bar {
  padding: 10px 16px;
  background: #1B211A;
  border-bottom: 1px solid #2A3327;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--lime);
}

.copy-code-btn {
  padding: 4px 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(198, 244, 90, 0.4);
  background: rgba(198, 244, 90, 0.12);
  color: var(--lime);
  font-size: 11.5px;
  font-weight: 700;
}

.copy-code-btn:hover {
  background: var(--lime);
  color: var(--dark);
}

.code-panel pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  font-family: Consolas, Monaco, monospace;
  font-size: 13.5px;
  line-height: 1.6;
}

.lesson-lock-banner {
  margin-top: auto;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.lesson-lock-banner p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 1180px) and (min-width: 901px) {
  .header {
    padding-inline: 2.2vw;
    gap: 10px;
  }

  .nav a {
    padding: 7px 11px;
    font-size: 12.5px;
  }
}

@media (max-width: 1024px) {
  .courses-grid,
  .courses-trust-bar {
    grid-template-columns: 1fr;
  }

  .course-card {
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
  }

  .classroom-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .brand-logo {
    width: 35px;
    height: 35px;
  }

  .courses-hero-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .academy-crest {
    width: 76px;
    height: 76px;
  }

  .checkout-body,
  .classroom-content {
    padding: 24px 18px;
  }

  .checkout-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkout-summary img {
    width: 100%;
    height: 140px;
  }

  .lesson-lock-banner .button {
    width: 100%;
  }
}


.pp-fallback-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pp-smart-btn {
  width: 100%;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: var(--pill);
  border: 0;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: filter 0.2s ease, transform 0.18s ease;
}

.pp-smart-btn:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.pp-gold {
  background: #FFC439;
  color: #111827;
}

.pp-dark {
  background: #2C2E2F;
  color: #FFFFFF;
}

.pp-wordmark {
  font-size: 19px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.03em;
}

.pp-wordmark i {
  color: #003087;
  font-style: italic;
}

.pp-wordmark b {
  color: #0079C1;
  font-style: italic;
}

.pp-sub {
  font-size: 13.5px;
  font-weight: 700;
  color: #1F2937;
}

.pp-express-panel {
  margin-top: 4px;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1.5px solid #D5D2C4;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pp-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.pp-panel-head small {
  font-size: 12px;
  color: var(--muted);
}

.pp-express-panel label {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
}

.pp-express-panel input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 11px;
  border: 1.5px solid #D1CEC0;
  background: #FFFFFF;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}

.pp-card-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pp-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pp-confirm-btn {
  margin-top: 4px;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--pill);
  border: 0;
  background: #0070BA;
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 800;
  transition: background 0.2s ease;
}

.pp-confirm-btn:hover:not(:disabled) {
  background: #005EA6;
}


.home-community-banner {
  margin-top: 44px;
  padding: 34px 38px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 20%, rgba(56, 182, 255, 0.2) 0%, transparent 48%),
    linear-gradient(135deg, rgba(198, 244, 90, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1.5px solid rgba(198, 244, 90, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.home-com-copy {
  max-width: 680px;
}

.home-com-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 8px;
}

.home-com-copy p {
  margin: 0 0 14px;
  font-size: 15px;
  color: #CBD2C1;
}

.home-com-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-com-tags span {
  padding: 5px 12px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 700;
  color: var(--cream);
}

.community-page-section {
  background-color: var(--dark);
  background-image:
    radial-gradient(circle at 14% 12%, rgba(56, 182, 255, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 86% 24%, rgba(198, 244, 90, 0.12) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 54px 54px, 54px 54px;
  color: var(--cream);
  padding-bottom: 120px;
}

.community-page-section .section-label {
  border-color: var(--line-dark);
}

.community-page-section .section-label > span:last-child {
  color: var(--muted-light);
}

.community-page-section .page-title em {
  color: var(--lime);
}

.community-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.community-hero-copy {
  max-width: 660px;
}

.community-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 12px;
}

.com-stat-box {
  padding: 16px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.com-stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  color: var(--lime);
  margin-bottom: 4px;
}

.com-stat-box span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted-light);
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.community-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.com-composer-card {
  background: var(--cream);
  color: var(--ink);
  padding: 28px 28px 24px;
  border-radius: 26px;
  border: 2.5px solid var(--lime);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.com-composer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.com-eyebrow {
  background: var(--dark);
  color: var(--lime);
  margin: 0;
  order: 2;
}

.com-composer-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1;
  text-transform: uppercase;
  order: 1;
}

.com-composer-row {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 14px;
}

.com-composer-card label {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.com-composer-card input,
.com-composer-card select,
.com-composer-card textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 13px;
  border: 1.5px solid #D4D1C2;
  background: var(--surface);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  min-height: 46px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.com-composer-card textarea {
  resize: vertical;
  line-height: 1.55;
}

.com-composer-card input:focus,
.com-composer-card select:focus,
.com-composer-card textarea:focus {
  outline: none;
  border-color: var(--lime-deep);
  box-shadow: 0 0 0 3.5px rgba(198, 244, 90, 0.4);
}

.com-code-drawer {
  padding: 16px;
  border-radius: 16px;
  background: #F1EDE2;
  border: 1px dashed #BDB8A6;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.com-code-drawer textarea {
  font-family: Consolas, Monaco, monospace;
  font-size: 13.5px;
  background: #141813;
  color: #E5ECE0;
  border-color: #2B3328;
}

.com-composer-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.com-code-toggle {
  min-height: 44px;
  padding: 9px 16px;
  border-radius: var(--pill);
  border: 1.5px solid #C9C5B5;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.com-code-toggle:hover {
  border-color: var(--dark);
  background: var(--cream-2);
}

.com-publish-btn {
  width: auto;
  min-width: 240px;
  margin-top: 0;
  background: var(--dark);
  color: var(--lime);
  justify-content: space-between;
}

.com-publish-btn:hover {
  background: var(--dark-card);
  color: var(--lime-bright);
}

.com-toolbar {
  padding: 18px 20px;
  border-radius: 22px;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.com-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 185px;
  gap: 12px;
}

.com-search-box {
  margin-bottom: 0;
}

.com-search-box input {
  padding: 12px 18px 12px 46px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--cream);
  font-size: 14px;
}

.com-search-box input::placeholder {
  color: #9DA694;
}

.com-sort-select {
  padding: 10px 16px;
  border-radius: var(--pill);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 700;
}

.com-sort-select option {
  background: var(--dark);
  color: var(--cream);
}

.com-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.com-chip {
  padding: 7px 15px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #DCE2D4;
  font-size: 12.5px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.com-chip:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.com-chip.active {
  background: var(--lime);
  color: var(--dark);
  border-color: var(--lime);
}

.com-feed {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.com-empty {
  padding: 36px 24px;
  border-radius: 22px;
  background: var(--dark-2);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  text-align: center;
}

.com-empty strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

.com-empty p {
  margin: 0;
  color: var(--muted-light);
  font-size: 14px;
}

.com-post-card {
  padding: 24px 26px;
  border-radius: 24px;
  background: var(--dark-2);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: riseIn 0.3s ease both;
  transition: border-color 0.25s ease;
}

.com-post-card:hover {
  border-color: rgba(198, 244, 90, 0.38);
}

.com-post-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.com-author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-avatar,
.reply-avatar,
.com-side-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), #7FD858);
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.reply-avatar {
  width: 34px;
  height: 34px;
  font-size: 14px;
}

.com-side-avatar {
  width: 54px;
  height: 54px;
  font-size: 22px;
}

.post-avatar img,
.reply-avatar img,
.com-side-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.com-author-meta strong {
  display: block;
  font-size: 15px;
  color: var(--cream);
  line-height: 1.2;
}

.com-sub-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted-light);
}

.com-role-tag {
  padding: 2px 8px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.08);
  color: #D2D8C8;
  font-size: 11px;
  font-weight: 700;
}

.com-cat-pill {
  padding: 5px 12px;
  border-radius: var(--pill);
  font-size: 11.5px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
}

.com-cat-pill.cat-python {
  background: rgba(56, 182, 255, 0.18);
  color: #7ED0FF;
  border: 1px solid rgba(56, 182, 255, 0.35);
}

.com-cat-pill.cat-js {
  background: rgba(255, 212, 59, 0.16);
  color: #FFE066;
  border: 1px solid rgba(255, 212, 59, 0.35);
}

.com-cat-pill.cat-html {
  background: rgba(242, 107, 91, 0.18);
  color: #FFA599;
  border: 1px solid rgba(242, 107, 91, 0.35);
}

.com-cat-pill.cat-proj {
  background: rgba(198, 244, 90, 0.16);
  color: var(--lime);
  border: 1px solid rgba(198, 244, 90, 0.35);
}

.com-post-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--cream);
}

.com-post-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #CBD2C1;
  white-space: pre-line;
}

.com-code-panel {
  margin-top: 2px;
}

.com-post-actions {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.com-act-btn {
  min-height: 38px;
  padding: 6px 14px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: #DCE2D3;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.com-act-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.com-act-btn.is-liked {
  background: rgba(242, 107, 91, 0.16);
  border-color: rgba(242, 107, 91, 0.45);
  color: #FFB3A8;
}

.com-del-btn {
  margin-left: auto;
  color: #FFA599;
  border-color: rgba(242, 107, 91, 0.28);
}

.com-thread {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(12, 15, 11, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.com-replies-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.com-reply-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.com-reply-body {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.com-reply-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 3px;
}

.com-reply-top strong {
  font-size: 13px;
  color: var(--lime);
}

.com-reply-top time {
  font-size: 11px;
  color: var(--muted-light);
}

.com-reply-body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #DFE5D7;
}

.com-reply-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.reply-name-input {
  flex: 0 0 150px;
  min-height: 42px;
  padding: 8px 13px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: var(--cream);
  font-size: 13px;
}

.reply-text-input {
  flex: 1;
  min-width: 190px;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: var(--cream);
  font-size: 13.5px;
}

.reply-name-input::placeholder,
.reply-text-input::placeholder {
  color: #9AA391;
}

.reply-submit-btn {
  min-height: 42px;
  padding: 8px 18px;
  font-size: 13px;
}

.community-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.com-side-card {
  padding: 22px 22px 24px;
  border-radius: 22px;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.com-side-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 14px;
}

.com-profile-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.com-profile-row strong {
  display: block;
  font-size: 16px;
  color: var(--cream);
  margin-bottom: 3px;
}

.com-profile-row p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted-light);
}

.com-side-cta {
  width: 100%;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 13.5px;
}

.com-rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.com-rules-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 13px;
  line-height: 1.5;
  color: #C9D0BF;
}

.com-rules-list li span {
  padding: 2px 6px;
  border-radius: 7px;
  background: rgba(198, 244, 90, 0.14);
  color: var(--lime);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.com-course-mini-list {
  display: grid;
  gap: 9px;
}

.com-course-mini-list a {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.com-course-mini-list a:hover {
  border-color: var(--lime);
  transform: translateX(3px);
}

.com-course-mini-list strong {
  font-size: 13.5px;
  color: var(--cream);
}

.com-course-mini-list span {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--lime);
  white-space: nowrap;
}

@media (max-width: 1260px) and (min-width: 901px) {
  .header {
    padding-inline: 1.8vw;
    gap: 8px;
  }

  .nav a {
    padding: 6px 9px;
    font-size: 12px;
  }
}

@media (max-width: 1060px) and (min-width: 901px) {
  .auth-nav-btn {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
  }

  .auth-nav-btn.is-logged {
    padding: 0;
  }

  .auth-nav-text {
    display: none;
  }
}

@media (max-width: 1024px) {
  .community-layout {
    grid-template-columns: 1fr;
  }

  .community-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .home-community-banner {
    padding: 26px 20px;
  }

  .home-community-banner .button {
    width: 100%;
  }

  .community-stats {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .com-stat-box {
    padding: 12px 10px;
  }

  .com-composer-card,
  .com-post-card {
    padding: 20px 18px;
  }

  .com-composer-row,
  .com-search-row {
    grid-template-columns: 1fr;
  }

  .com-composer-foot .com-code-toggle,
  .com-composer-foot .com-publish-btn,
  .reply-name-input,
  .reply-submit-btn {
    width: 100%;
    flex: 1 1 100%;
  }
}


.home-com-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.com-side-note {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #C7CEBD;
}

.projects-page-section {
  background-color: var(--dark);
  background-image:
    radial-gradient(circle at 15% 12%, rgba(198, 244, 90, 0.13) 0%, transparent 44%),
    radial-gradient(circle at 86% 22%, rgba(56, 182, 255, 0.14) 0%, transparent 46%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 54px 54px, 54px 54px;
  color: var(--cream);
  padding-bottom: 124px;
}

.projects-page-section .section-label {
  border-color: var(--line-dark);
}

.projects-page-section .section-label > span:last-child {
  color: var(--muted-light);
}

.projects-page-section .page-title em {
  color: var(--lime);
}

.projects-stats {
  grid-template-columns: repeat(2, minmax(140px, 1fr));
}

.proj-upload-card {
  background: var(--cream);
  color: var(--ink);
  padding: 30px;
  border-radius: 28px;
  border: 2.5px solid var(--lime);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.48);
  margin-bottom: 28px;
}

.proj-upload-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
  align-items: stretch;
}

.proj-drop-col {
  display: flex;
}

.html-dropzone {
  position: relative;
  width: 100%;
  min-height: 250px;
  padding: 26px 22px;
  border-radius: 22px;
  border: 2.5px dashed #9CA889;
  background: #F3EFE4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.html-dropzone:hover,
.html-dropzone.is-dragover {
  background: rgba(198, 244, 90, 0.24);
  border-color: var(--lime-deep);
  transform: translateY(-2px);
}

.html-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.drop-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--dark);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 28px;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(18, 21, 17, 0.2);
}

.html-dropzone strong {
  font-size: 16.5px;
  color: var(--ink);
}

.html-dropzone small {
  font-size: 12.5px;
  color: var(--muted);
  max-width: 260px;
}

.selected-file-badge {
  margin-top: 6px;
  padding: 6px 14px;
  border-radius: var(--pill);
  background: var(--dark);
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  word-break: break-all;
}

.proj-fields-col {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.proj-fields-col label {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.proj-fields-col input,
.proj-fields-col select,
.proj-fields-col textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 13px;
  border: 1.5px solid #D4D1C2;
  background: var(--surface);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  min-height: 46px;
}

.proj-fields-col textarea {
  resize: vertical;
  line-height: 1.5;
}

.proj-fields-col input:focus,
.proj-fields-col select:focus,
.proj-fields-col textarea:focus {
  outline: none;
  border-color: var(--lime-deep);
  box-shadow: 0 0 0 3.5px rgba(198, 244, 90, 0.4);
}

.proj-submit-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.proj-toolbar {
  margin-bottom: 28px;
}

.projects-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.html-proj-card {
  background: var(--dark-2);
  border: 1.5px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.42);
  animation: riseIn 0.3s ease both;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.html-proj-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 244, 90, 0.55);
}

.proj-browser-bar {
  height: 36px;
  padding: 0 14px;
  background: #141813;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.proj-dots {
  display: flex;
  gap: 5px;
}

.proj-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  display: block;
}

.proj-dots i:first-child { background: #F26B5B; }
.proj-dots i:nth-child(2) { background: #FFC439; }
.proj-dots i:nth-child(3) { background: #4ADE80; }

.proj-filename {
  font-family: Consolas, Monaco, monospace;
  font-size: 11.5px;
  color: #C7D0BD;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: auto;
}

.proj-cat-badge {
  padding: 3px 9px;
  border-radius: var(--pill);
  background: rgba(198, 244, 90, 0.15);
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.proj-preview-wrap {
  position: relative;
  height: 220px;
  background: #0D100C;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.proj-mini-frame {
  width: 133.33%;
  height: 133.33%;
  border: 0;
  transform: scale(0.75);
  transform-origin: top left;
  pointer-events: none;
  background: #FFFFFF;
}

.proj-hover-open {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 15, 11, 0.62);
  backdrop-filter: blur(3px);
  color: var(--lime);
  font-size: 13.5px;
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.22s ease;
  display: grid;
  place-items: center;
}

.proj-preview-wrap:hover .proj-hover-open,
.proj-hover-open:focus-visible {
  opacity: 1;
}

.proj-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.proj-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.proj-author-avatar {
  width: 36px;
  height: 36px;
  font-size: 14px;
}

.proj-author-row strong {
  display: block;
  font-size: 13.5px;
  color: var(--cream);
  line-height: 1.2;
}

.proj-author-row small {
  font-size: 11px;
  color: var(--muted-light);
}

.proj-card-body h3 {
  font-size: 18.5px;
  font-weight: 800;
  line-height: 1.28;
  color: var(--cream);
}

.proj-card-body > p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #BAC2B0;
}

.proj-btn-row {
  margin-top: auto;
  padding-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.proj-observe-btn {
  grid-column: 1 / -1;
  min-height: 44px;
  padding: 10px 18px;
  justify-content: space-between;
  font-size: 14px;
}

.proj-sec-btn {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.proj-sec-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--lime);
  color: var(--lime);
}

.proj-dl-btn {
  border-color: rgba(56, 182, 255, 0.4);
  color: #8CD6FF;
}

.proj-dl-btn:hover {
  border-color: #38B6FF;
  color: #FFFFFF;
  background: rgba(56, 182, 255, 0.22);
}

.proj-del-link {
  align-self: flex-end;
  padding: 0;
  border: 0;
  background: transparent;
  color: #FFA599;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: underline;
}

.html-viewer-dialog {
  width: min(1180px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  background: #101410;
  color: var(--cream);
  border: 2px solid var(--lime);
  border-radius: 24px;
  overflow: hidden;
}

.html-viewer-dialog[open] {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  height: min(86dvh, 820px);
}

.viewer-topbar {
  padding: 14px 20px;
  background: #171C16;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.viewer-heading strong {
  display: block;
  font-size: 16px;
  color: var(--cream);
}

.viewer-heading span {
  font-size: 12px;
  color: var(--muted-light);
}

.viewer-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.viewer-pill-group {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.v-tab,
.v-size {
  padding: 6px 13px;
  border-radius: var(--pill);
  border: 0;
  background: transparent;
  color: #CFD6C5;
  font-size: 12px;
  font-weight: 800;
}

.v-tab.active,
.v-size.active {
  background: var(--lime);
  color: var(--dark);
}

.v-action-btn {
  min-height: 36px;
  padding: 6px 13px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
}

.v-action-btn:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.v-dl-btn {
  min-height: 38px;
  padding: 7px 16px;
  font-size: 12.5px;
}

.v-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.v-close-btn:hover {
  background: #F26B5B;
  border-color: #F26B5B;
  color: #FFFFFF;
}

.viewer-stage {
  flex: 1;
  background: #0C0F0B;
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow: auto;
}

.viewer-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #FFFFFF;
  transition: width 0.28s ease;
}

.viewer-stage iframe.is-mobile-frame {
  width: 390px;
  max-width: 100%;
  height: calc(100% - 24px);
  margin: 12px auto;
  border-radius: 22px;
  border: 4px solid #2A3227;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65);
}

.viewer-code-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #121612;
}

.viewer-code-stage pre {
  flex: 1;
  margin: 0;
  padding: 20px;
  overflow: auto;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #E4ECE0;
}

@media (max-width: 1320px) and (min-width: 901px) {
  .nav a {
    padding: 6px 8px;
    font-size: 11.8px;
  }
}

@media (max-width: 1080px) {
  .projects-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proj-upload-grid {
    grid-template-columns: 1fr;
  }

  .html-dropzone {
    min-height: 190px;
  }
}

@media (max-width: 680px) {
  .projects-gallery-grid {
    grid-template-columns: 1fr;
  }

  .proj-upload-card {
    padding: 20px 18px;
  }

  .proj-submit-row .com-publish-btn,
  .home-com-btns,
  .home-com-btns .button {
    width: 100%;
  }

  .viewer-sizes {
    display: none;
  }

  .html-viewer-dialog[open] {
    width: calc(100% - 12px);
    height: 92dvh;
  }
}


.home-collabs-section {
  padding: 20px 0 84px;
}

.home-flags-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-flag-pill {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease, background 0.25s ease;
}

.home-flag-pill:hover {
  transform: translateY(-4px);
  border-color: var(--lime);
  background: rgba(198, 244, 90, 0.12);
}

.home-flag-pill strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--cream);
}

.flag-svg-wrap {
  width: 44px;
  height: 30px;
  border-radius: 6px;
  overflow: hidden;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.flag-svg-wrap svg,
.flag-svg-mini svg {
  width: 100%;
  height: 100%;
  display: block;
}

.flag-svg-mini {
  width: 28px;
  height: 19px;
  border-radius: 4px;
  overflow: hidden;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.collaborators-section {
  background-color: var(--dark);
  background-image:
    radial-gradient(circle at 14% 12%, rgba(56, 182, 255, 0.14) 0%, transparent 44%),
    radial-gradient(circle at 86% 24%, rgba(198, 244, 90, 0.12) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 54px 54px, 54px 54px;
  color: var(--cream);
  padding-bottom: 124px;
}

.collaborators-section .section-label {
  border-color: var(--line-dark);
}

.collaborators-section .section-label > span:last-child {
  color: var(--muted-light);
}

.collaborators-section .page-title em {
  color: var(--lime);
}

.collabs-flags-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.collabs-flags-head span {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--lime);
}

.collabs-flags-head small {
  font-size: 13px;
  color: var(--muted-light);
}

.flag-filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 12px;
  margin-bottom: 36px;
}

.flag-filter-card {
  padding: 13px 15px;
  border-radius: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.13);
  background: var(--dark-2);
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.flag-filter-card:hover {
  transform: translateY(-2px);
  border-color: rgba(198, 244, 90, 0.5);
}

.flag-filter-card.active {
  background: rgba(198, 244, 90, 0.15);
  border-color: var(--lime);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.flag-globe {
  width: 44px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 19px;
  flex-shrink: 0;
}

.flag-card-info strong {
  display: block;
  font-size: 14.5px;
  line-height: 1.2;
}

.flag-card-info small {
  font-size: 11.5px;
  color: var(--muted-light);
}

.flag-filter-card.active .flag-card-info small {
  color: var(--lime);
}

.collaborators-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 52px;
}

.collab-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--dark-2);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38);
  animation: riseIn 0.3s ease both;
  transition: transform 0.26s ease, border-color 0.26s ease;
}

.collab-card:hover {
  transform: translateY(-5px);
  border-color: rgba(198, 244, 90, 0.5);
}

.collab-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.collab-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), #4FC3F7);
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.collab-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collab-country-pill {
  padding: 6px 12px 6px 8px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #DFE5D7;
}

.collab-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--cream);
  line-height: 1.25;
}

.collab-role {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--lime);
}

.collab-bio {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
  color: #C2C9B8;
  flex: 1;
}

.collab-tags {
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.collab-tags span {
  padding: 4px 11px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11.5px;
  font-weight: 700;
  color: #E2E7DA;
}

.collab-join-card {
  background: var(--cream);
  color: var(--ink);
  padding: 34px;
  border-radius: 28px;
  border: 2.5px solid var(--lime);
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.collab-join-intro .com-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
}

.collab-join-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 0.96;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.collab-join-intro p {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
  color: var(--muted);
}

.collab-join-fields {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.collab-join-fields label {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.collab-join-fields input,
.collab-join-fields select,
.collab-join-fields textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 13px;
  border: 1.5px solid #D4D1C2;
  background: var(--surface);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  min-height: 46px;
}

.collab-join-fields input:focus,
.collab-join-fields select:focus,
.collab-join-fields textarea:focus {
  outline: none;
  border-color: var(--lime-deep);
  box-shadow: 0 0 0 3.5px rgba(198, 244, 90, 0.4);
}

.country-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.country-select-wrap .flag-svg-mini {
  position: absolute;
  left: 14px;
  pointer-events: none;
  border-color: rgba(18, 21, 17, 0.18);
}

.country-select-wrap select {
  padding-left: 52px;
}

@media (max-width: 1120px) {
  .header.menu-open {
    background: var(--dark);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 202;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    padding: 106px 7vw 36px;
    background:
      radial-gradient(circle at 85% 12%, rgba(198, 244, 90, 0.16) 0%, transparent 45%),
      #121511;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.28s ease, transform 0.32s ease, visibility 0.28s;
    overflow-y: auto;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    font-family: var(--font-display);
    font-size: clamp(24px, 5vw, 32px);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 13px 4px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav a::after {
    content: '↗';
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--lime);
  }

  .nav a[aria-current="page"] {
    background: transparent;
    color: var(--lime);
  }

  .header-actions {
    margin-left: auto;
    gap: 8px;
  }

  .mobile-auth-item {
    display: flex;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(198, 244, 90, 0.4);
    background: rgba(198, 244, 90, 0.08);
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--lime);
    border-radius: 2px;
    transition: transform 0.25s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .collaborators-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collab-join-card {
    grid-template-columns: 1fr;
  }

  .home-flags-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .collaborators-grid,
  .home-flags-grid {
    grid-template-columns: 1fr;
  }

  .collab-join-card {
    padding: 24px 18px;
  }

  .collab-join-card .com-publish-btn {
    width: 100%;
  }
}


@keyframes wifiWavePulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes countPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.28); color: #FFFFFF; }
  100% { transform: scale(1); }
}

.live-wifi-pill {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 180;
  padding: 9px 16px 9px 12px;
  border-radius: var(--pill);
  background: rgba(16, 20, 15, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(198, 244, 90, 0.42);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
  user-select: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.modal-open .live-wifi-pill,
.menu-locked .live-wifi-pill {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wifi-icon-wrap {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(198, 244, 90, 0.14);
  color: var(--lime);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.wifi-svg {
  width: 17px;
  height: 17px;
  color: var(--lime);
  flex-shrink: 0;
}

.wifi-arc.w1 {
  animation: wifiWavePulse 1.8s ease-in-out infinite;
}

.wifi-arc.w2 {
  animation: wifiWavePulse 1.8s ease-in-out 0.28s infinite;
}

.wifi-arc.w3 {
  animation: wifiWavePulse 1.8s ease-in-out 0.56s infinite;
}

.live-wifi-count {
  font-variant-numeric: tabular-nums;
  font-size: 14.5px;
  font-weight: 900;
  color: var(--lime);
  display: inline-block;
}

.count-bump {
  animation: countPop 0.38s ease;
}

.live-wifi-text {
  font-size: 12.5px;
  color: #D8DFCF;
}

.hero-wifi-badge {
  margin-left: auto;
  padding: 4px 13px;
  border-radius: var(--pill);
  background: rgba(198, 244, 90, 0.11);
  border: 1px solid rgba(198, 244, 90, 0.34);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.hero-wifi-badge b {
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.hero-kicker .hero-wifi-badge + .hero-location {
  margin-left: 0;
}

@media (max-width: 600px) {
  .live-wifi-pill {
    bottom: 16px;
    left: 14px;
    padding: 8px 13px 8px 10px;
    font-size: 12px;
    gap: 6px;
  }

  .wifi-icon-wrap {
    width: 22px;
    height: 22px;
  }

  .wifi-svg {
    width: 14px;
    height: 14px;
  }

  .hero-wifi-badge {
    margin-left: 0;
  }
}

/* Presence is neutral until Firebase confirms a live connection. */
.live-wifi-pill:not([data-live-state="online"]) .wifi-svg,
.hero-wifi-badge:not([data-live-state="online"]) .wifi-svg {
  opacity: .45;
}
.live-wifi-pill:not([data-live-state="online"]) .wifi-arc,
.hero-wifi-badge:not([data-live-state="online"]) .wifi-arc {
  animation: none;
}
