:root {
  --bg-base: #05060a;
  --bg-elevated: #0b0d16;
  --bg-contrast: #14172a;
  --accent: #ff2b2b;
  --accent-glow: #ff7b32;
  --accent-secondary: #f1c232;
  --text-primary: #f7f9ff;
  --text-secondary: rgba(247, 249, 255, 0.75);
  --text-muted: rgba(247, 249, 255, 0.58);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 58, 58, 0.28);
  --shadow: 0 45px 100px rgba(0, 0, 0, 0.55);
  --font-heading: "Archivo Black", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a:hover,
a:focus {
  color: var(--accent-secondary);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 6, 10, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.65rem 0;
  transition: padding 0.3s ease;
}

.brand img {
  width: clamp(210px, 28vw, 320px);
  min-width: 230px;
  max-width: 340px;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(255, 43, 43, 0.35));
  transition: width 0.3s ease, transform 0.3s ease;
}

.brand img.brand--compact {
  width: clamp(160px, 20vw, 240px);
  min-width: 170px;
  transform: translateY(-2px);
}

.nav {
  display: flex;
  gap: 1.6rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.nav a {
  color: var(--text-muted);
}

.nav a:hover {
  color: var(--accent-secondary);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.75rem;
}

.lang-switch__btn {
  border: 1px solid rgba(247, 249, 255, 0.28);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease, transform 0.2s ease;
}

.lang-switch__btn.is-active {
  background: var(--accent);
  color: #05060a;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(255, 43, 43, 0.35);
}

.lang-switch__btn:hover {
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
}

.topbar__cta {
  white-space: nowrap;
  box-shadow: 0 18px 40px rgba(255, 43, 43, 0.35);
  transition: padding 0.3s ease, transform 0.3s ease;
}

.topbar__cta--compact {
  padding: 0.6rem 1.45rem;
  transform: translateY(-2px);
}

.topbar--compact {
  background: rgba(5, 6, 10, 0.95);
  backdrop-filter: blur(24px);
}

.topbar--compact .topbar__inner {
  padding: 0.35rem 0;
}

.hero {
  position: relative;
  padding: clamp(4.8rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 25%, rgba(255, 43, 43, 0.24), transparent 60%),
    radial-gradient(circle at 85% 20%, rgba(241, 194, 50, 0.18), transparent 55%),
    linear-gradient(135deg, rgba(11, 13, 22, 0.92), rgba(5, 6, 10, 0.95));
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/action-es-competicoes.jpg") center/cover no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0.25;
  z-index: -3;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 43, 43, 0.22);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  margin: 0;
}

.hero__title-emphasis {
  color: var(--accent);
  white-space: nowrap;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 620px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero__metrics strong {
  font-size: 1.95rem;
  display: block;
  color: var(--accent-secondary);
}

.hero__metrics span {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.hero__partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1rem;
}

.hero__chip {
  padding: 0.85rem 1.4rem;
  border-radius: 20px;
  background: rgba(10, 13, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

.hero__chip img {
  height: 88px;
  display: block;
}

.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__frame {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 11, 19, 0.85);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 43, 43, 0.22), transparent 45%);
  z-index: 1;
}

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

.hero__frame-label {
  position: absolute;
  bottom: 1.1rem;
  left: 1.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(5, 6, 10, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 2;
}

.hero__pulse {
  padding: 1.25rem 1.45rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(241, 194, 50, 0.12), rgba(5, 6, 10, 0.95));
  border: 1px solid rgba(241, 194, 50, 0.24);
  box-shadow: 0 24px 58px rgba(241, 194, 50, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero__pulse span {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: var(--accent-secondary);
}

.hero__pulse strong {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  position: relative;
}

.section h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4vw, 3.2rem);
  letter-spacing: 0.03em;
  margin: 0 0 -1.5rem;
  text-transform: uppercase;
}

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

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section__intro {
  max-width: 700px;
  margin: 0 auto clamp(3rem, 5vw, 4rem);
  color: var(--text-secondary);
  font-size: 1.1rem;
  text-align: center;
  padding-top: 30px;
}

.section--panel {
  background: linear-gradient(135deg, rgba(20, 23, 42, 0.08), rgba(5, 6, 10, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section--alt {
  background: linear-gradient(115deg, rgba(255, 43, 43, 0.1), rgba(10, 13, 22, 0.96));
}

.section--dark {
  background: linear-gradient(135deg, rgba(6, 8, 14, 0.9), rgba(3, 4, 8, 0.96));
}

.section--highlight {
  background: linear-gradient(130deg, rgba(255, 43, 43, 0.16), rgba(10, 13, 22, 0.96));
}

.section--highlight::before {
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.68), rgba(5, 6, 10, 0.88)),
    url("../img/senna-henry.jpg") center/cover no-repeat;
  opacity: 0.5;
}

.section--highlight-alt {
  background: linear-gradient(135deg, rgba(241, 194, 50, 0.08), rgba(5, 6, 10, 0.95));
}

.section--highlight-alt::before {
  background: linear-gradient(180deg, rgba(5, 6, 12, 0.75), rgba(5, 6, 12, 0.92)),
    url("../img/teamwork.jpg") center/cover no-repeat;
  opacity: 0.5;
}

.section--plans-bg::before {
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.75), rgba(5, 6, 10, 0.9)),
    url("../img/back.jpg") center/cover no-repeat;
  opacity: 0.5;
}

.section--team-bg::before {
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.75), rgba(5, 6, 10, 0.92)),
    url("../img/kart-race.JPG") center/cover no-repeat;
  opacity: 0.5;
}

.section--results-bg::before {
  background: linear-gradient(180deg, rgba(3, 4, 8, 0.75), rgba(3, 4, 8, 0.9)),
    url("../img/back-kart.jpg") center/cover no-repeat;
  opacity: 0.5;
}

.section--crew-bg::before {
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.75), rgba(5, 6, 10, 0.92)),
    url("../img/team-es.jpg") center/cover no-repeat;
  opacity: 0.5;
}

.section--coach-bg::before {
  background: linear-gradient(180deg, rgba(6, 8, 14, 0.82), rgba(6, 8, 14, 0.9)),
    url("../img/interlagos.JPG") center/cover no-repeat;
  opacity: 0.5;
}

.section--activations-bg::before {
  background: linear-gradient(180deg, rgba(5, 6, 12, 0.78), rgba(5, 6, 12, 0.92)),
    url("../img/rafa-henry.jpg") center/cover no-repeat;
  opacity: 0.45;
}

.section--brand-bg::before {
  background: linear-gradient(180deg, rgba(10, 13, 22, 0.78), rgba(10, 13, 22, 0.9)),
    url("../img/ed-2t.jpg") center/cover no-repeat;
  opacity: 0.4;
}

.grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.brand-impact {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  align-items: stretch;
  gap: clamp(2rem, 4vw, 3.2rem);
}

.brand-impact__copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


.brand-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.brand-benefits .card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card {
  background: rgba(12, 15, 26, 0.78);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: clamp(1.8rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
}

.card--glass {
  background: rgba(10, 14, 25, 0.48);
  border-color: rgba(241, 194, 50, 0.3);
}

.media-card {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 11, 19, 0.82);
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  height: auto;
  display: block;
}

.media-card figcaption {
  padding: 1.2rem 1.6rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.media-card--brand {
  border-color: rgba(241, 194, 50, 0.28);
}

.media-card--coach {
  border-color: rgba(255, 43, 43, 0.22);
}

.carousel {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 11, 20, 0.85);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
  aspect-ratio: 3 / 2;
  min-height: 320px;
}

.carousel__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.carousel__item.is-active {
  opacity: 1;
}

.carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.media-stack__primary,
.media-stack__secondary {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.media-stack__primary img,
.media-stack__secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-stack__secondary {
  max-width: 70%;
  margin-left: auto;
}


.coach__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.coach__gallery figure {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.4);
}

.coach__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.activations {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.activation-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.activation-card {
  background: rgba(12, 15, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 1.2rem 1.25rem;
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.activation-card--text {
  gap: 0.55rem;
}

.activation-card--photo {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.activation-card--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.activation-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 43, 43, 0.22);
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
}

.activation-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.activation-card p {
  margin: 0;
  color: var(--text-secondary);
}

@media (min-width: 960px) {
  .activation-mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.3rem;
  }

  .activation-card--photo {
    aspect-ratio: 3 / 4;
    align-self: stretch;
  }

  .activation-card--text {
    padding: 1.35rem 1.4rem;
    justify-content: center;
  }
}

.team-es {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 3.8rem);
}

.team-es__intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-es__intro h2 {
  margin-bottom: 0.25rem;
}

.team-es__intro p {
  max-width: 820px;
}

.team-es__title {
  margin: 0;
}

.team-es__title-line {
  display: block;
}

.team-es__subtitle {
  display: block;
  margin-top: 0.4rem;
}

.team-es__crew {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--text-secondary);
  max-width: 820px;
}



.team-es__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
}

.team-es__gallery figure {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 11, 19, 0.82);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.42);
  aspect-ratio: 3 / 2;
}

.team-es__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.social__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social__list li {
  list-style: none;
}

.social__list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  min-width: 220px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(9, 11, 19, 0.75);
  color: var(--text-secondary);
  transition: transform 0.2s ease, border 0.2s ease, color 0.2s ease;
}

.social__list a:hover {
  transform: translateY(-3px);
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
}

.social__list img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.social__list span {
  font-weight: 600;
  color: var(--text-primary);
}

.social__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.social__handle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.app {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 4vw, 3rem);
  flex-wrap: wrap;
}

.app__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.app__cta {
  display: flex;
  gap: 1rem;
}

.app__logo {
  display: flex;
  justify-content: center;
}

.app__logo img {
  max-width: 300px;
  width: 100%;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}

.section--social {
  background: linear-gradient(135deg, rgba(255, 43, 43, 0.12), rgba(10, 13, 22, 0.96));
}

.section--social::before {
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.72), rgba(5, 6, 10, 0.92)),
    url("../img/back-kart.jpg") center/cover no-repeat;
  opacity: 0.5;
}

.section--app {
  background: linear-gradient(135deg, rgba(241, 194, 50, 0.12), rgba(5, 6, 10, 0.92));
}

.section--join {
  background:
    linear-gradient(135deg, rgba(5, 6, 10, 0.85), rgba(5, 6, 10, 0.78)),
    url('../img/podium.jpg') center/cover no-repeat;
}

.join {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.join__copy {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.join__cta {
  display: inline-flex;
}

.join__cta .btn {
  white-space: nowrap;
}

.checklist {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  display: grid;
  gap: 1rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid var(--accent-secondary);
  box-shadow: 0 0 0 3px rgba(241, 194, 50, 0.18);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.4rem;
}

.highlight-card {
  padding: 1.5rem;
  border-radius: 20px;
  background: radial-gradient(circle at top, rgba(255, 43, 43, 0.18), transparent 65%), rgba(8, 11, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 55px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.highlight-card__value {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 800;
  color: var(--accent-secondary);
  line-height: 1;
}

.highlight-card__label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.exposure {
  display: grid;
  gap: 1.2rem;
}

.exposure__item {
  padding: 1.75rem;
  background: rgba(11, 13, 22, 0.85);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.25s ease, border 0.25s ease, box-shadow 0.25s ease;
}

.exposure__item:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 30px 60px rgba(255, 43, 43, 0.22);
}

.exposure__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 43, 43, 0.22);
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.88rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.btn--primary {
  background: linear-gradient(120deg, var(--accent), #ff4b4b);
  color: #05060a;
  box-shadow: 0 20px 45px rgba(255, 43, 43, 0.45);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 55px rgba(255, 43, 43, 0.6);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(247, 249, 255, 0.35);
  color: var(--text-primary);
}

.btn--ghost:hover {
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
}

.btn--outline {
  border-color: rgba(247, 249, 255, 0.25);
  color: var(--text-primary);
}

.btn--outline:hover {
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
}

.btn--light {
  background: var(--text-primary);
  color: #05060a;
}

.btn--large {
  padding: 1rem 2.8rem;
  font-size: 0.95rem;
}

.plans {
  display: grid;
  gap: 1.75rem;
  margin-top: 3rem;
}

.plans--two {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.plan {
  background: rgba(12, 15, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  position: relative;
  overflow: hidden;
}

.plan::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 43, 43, 0.12), transparent 60%);
  pointer-events: none;
}

.plan--focus {
  border-color: rgba(241, 194, 50, 0.4);
  box-shadow: 0 35px 70px rgba(241, 194, 50, 0.2);
}

.plan header p {
  color: var(--text-secondary);
  margin-top: 0.45rem;
}

.plan__icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
}

.plan__icon--team .helmet + .helmet {
  margin-left: -18px;
}

.plan__icon--team .helmet:nth-child(1) {
  z-index: 4;
}

.plan__icon--team .helmet:nth-child(2) {
  z-index: 3;
}

.plan__icon--team .helmet:nth-child(3) {
  z-index: 2;
}

.plan__icon--team .helmet:nth-child(4) {
  z-index: 1;
}

.helmet {
  width: 60px;
  height: 50px;
  border-radius: 60% 60% 40% 40% / 70% 70% 35% 35%;
  position: relative;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.helmet::after {
  content: "";
  position: absolute;
  left: 12%;
  top: 32%;
  width: 76%;
  height: 32%;
  border-radius: 999px;
  background: rgba(8, 12, 20, 0.8);
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.25);
}

.helmet--primary {
  background: linear-gradient(135deg, #ff3a3a, #a80016);
}

.helmet--accent {
  background: linear-gradient(135deg, #ffd447, #b28100);
}

.helmet--neutral {
  background: linear-gradient(135deg, #f7f9ff, #aeb3c2);
}

.helmet--glow {
  background: linear-gradient(135deg, rgba(255, 43, 43, 0.4), rgba(241, 194, 50, 0.6));
}

.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1;
}

.plan__tier {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--accent-secondary);
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.gallery__grid-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gallery__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.gallery__nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(9, 11, 19, 0.85);
  color: var(--text-primary);
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.gallery__nav:hover,
.gallery__nav:focus {
  transform: translateY(-2px);
  background: rgba(255, 43, 43, 0.85);
  border-color: rgba(255, 43, 43, 0.45);
}

.gallery__nav:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.gallery__status {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.gallery__grid {
  display: grid;
  gap: 1.5rem;
}

.gallery__grid--full {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery__grid--full figure {
  aspect-ratio: 4 / 3;
}

@media (min-width: 1024px) {
  .gallery__grid--full {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gallery figure {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 9, 16, 0.9);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, border 0.25s ease;
}

.gallery figure:hover {
  transform: translateY(-6px);
  border-color: rgba(241, 194, 50, 0.32);
}

.gallery figure a {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.no-scroll {
  overflow: hidden;
}

[data-lightbox][hidden] {
  display: none !important;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  padding: clamp(1.5rem, 6vw, 3rem);
  background: rgba(5, 6, 10, 0.92);
  backdrop-filter: blur(12px);
  z-index: 999;
}

.lightbox__figure {
  position: relative;
  max-width: min(960px, 92vw);
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.lightbox__image {
  max-width: 100%;
  max-height: 72vh;
  border-radius: 20px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
  margin: 0;
  color: var(--text-secondary);
  text-align: center;
  font-size: 0.95rem;
}

.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 1.5rem);
  right: clamp(1rem, 3vw, 1.5rem);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(11, 13, 22, 0.85);
  color: var(--text-primary);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox__close:hover,
.lightbox__close:focus {
  transform: scale(1.05);
  background: rgba(255, 43, 43, 0.85);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(11, 13, 22, 0.7);
  color: var(--text-primary);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__nav:hover,
.lightbox__nav:focus {
  background: rgba(255, 43, 43, 0.75);
  transform: translateY(-50%) scale(1.05);
}

.lightbox__nav--prev {
  left: clamp(1.25rem, 5vw, 2.5rem);
}

.lightbox__nav--next {
  right: clamp(1.25rem, 5vw, 2.5rem);
}

.lightbox__nav[disabled] {
  opacity: 0.3;
  pointer-events: none;
}

@media (max-width: 720px) {
  .lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }

  .lightbox__close {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch;
  justify-content: space-between;
}

.contact__media {
  flex: 1 1 320px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.45);
  min-height: 260px;
}

.contact__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact__content {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
}

.contact__copy {
  color: var(--text-secondary);
  font-size: 0.96rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact__cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

.contact__cta .btn {
  white-space: nowrap;
  flex: 1 1 220px;
  justify-content: center;
}

.footer {
  background: var(--bg-elevated);
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__content {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  align-items: center;
  justify-content: space-between;
  color: var(--text-secondary);
}

.footer__logo {
  width: clamp(200px, 24vw, 260px);
  height: auto;
  display: block;
}

.footer__links {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  padding: 0;
  margin: 0;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.footer__note {
  width: 100%;
  text-align: right;
  margin: 0;
  font-size: 0.75rem;
}

@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  .lang-switch {
    margin-right: 0.5rem;
  }
}

@media (max-width: 768px) {
  .topbar__inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .container {
    padding: 0 1.15rem;
  }

  .brand img {
    min-width: 0;
    width: clamp(170px, 55vw, 220px);
  }

  .lang-switch {
    order: 3;
    margin-right: 0;
    width: 100%;
    justify-content: center;
  }

  .topbar__cta {
    order: 4;
    width: 100%;
    display: inline-flex;
    justify-content: center;
  }

  .hero {
    padding-top: 5rem;
  }

  .hero__grid {
    text-align: center;
  }

  .hero__copy {
    align-items: center;
  }

  .hero__title-emphasis {
    white-space: normal;
    display: block;
  }

  .hero h1 {
    padding: 0 0.75rem;
    font-size: clamp(2.2rem, 9vw, 2.7rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__metrics {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__chip img {
    height: 72px;
  }

  .hero__partners {
    justify-content: center;
  }

  .activation-mosaic {
    grid-template-columns: 1fr;
  }

  .media-stack__secondary {
    max-width: 100%;
    margin-left: 0;
  }

  .plans--two {
    grid-template-columns: 1fr;
  }

  .team-es__gallery {
    grid-template-columns: 1fr;
  }

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

  .contact__content {
    align-items: center;
    text-align: center;
  }

  .contact__copy {
    align-items: center;
  }

  .contact__cta {
    justify-content: center;
  }

  .gallery__grid--full figure {
    aspect-ratio: 3 / 2;
  }

  .footer__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__note {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__chip img {
    height: 60px;
  }

  .hero__badge {
    font-size: 0.62rem;
  }

  .hero__metrics strong {
    font-size: 1.6rem;
  }

  .contact__cta,
  .contact__cta .btn {
    width: 100%;
  }

  .contact__cta {
    justify-content: center;
  }

  .app__cta,
  .app__cta .btn {
    width: 100%;
  }

  .contact__media,
  .contact__content {
    flex: 1 1 100%;
  }

  .social__list a {
    width: 100%;
  }

  .gallery__nav {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .carousel {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
