body {
  background:
    radial-gradient(circle at 12% 8%, rgba(240, 6, 127, 0.12), transparent 28%),
    radial-gradient(circle at 80% 35%, rgba(255, 74, 173, 0.08), transparent 30%),
    var(--color-black);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

.site-page {
  overflow-x: clip;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section-tight {
  padding: 56px 0;
}

.eyebrow {
  color: var(--color-pink-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--color-text);
  line-height: 1.05;
}

h1,
.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6.9rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--color-muted);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 720px;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
  max-width: 820px;
}

.pink {
  color: var(--color-pink-2);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--color-pink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--color-pink-2);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 6, 9, 0.82);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 6, 9, 0.96);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.38);
}

.header-inner {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
  min-width: 0;
  padding: 4px 0 6px;
  text-align: center;
  overflow: visible;
}

.brand img {
  width: auto;
  height: 84px;
  max-width: min(340px, 27vw);
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  background: transparent;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 18px rgba(240, 6, 127, 0.18));
}

.brand-tagline {
  display: block;
  max-width: min(330px, 27vw);
  margin-top: 5px;
  color: rgba(255, 213, 237, 0.78);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: none;
  text-shadow: 0 0 14px rgba(240, 6, 127, 0.16);
  white-space: normal;
}

.brand-text {
  display: none;
  line-height: 1.02;
  min-width: 0;
}

.brand-name {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-size: 0.98rem;
}

.brand-sub {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 3px;
  list-style: none;
}

.primary-nav a,
.lang-toggle button {
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 10px 8px;
}

.primary-nav a {
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.08);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  flex-wrap: nowrap;
  background: rgba(12, 12, 17, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.lang-toggle button {
  min-width: 70px;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  background: #15151c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.lang-toggle button:hover {
  color: #fff;
  background: #1d1d26;
  border-color: rgba(255, 255, 255, 0.24);
}

.lang-toggle button.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(240, 6, 127, 0.34), rgba(255, 74, 173, 0.2));
  border-color: rgba(255, 74, 173, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 0 18px rgba(240, 6, 127, 0.2);
}

.header-phone {
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
  padding: 10px 11px;
  border: 1px solid rgba(240, 6, 127, 0.48);
  border-radius: var(--radius-sm);
  background: rgba(240, 6, 127, 0.12);
}

@media (min-width: 981px) and (max-width: 1180px) {
  .btn.header-cta {
    display: none;
  }
}

@media (max-width: 1300px) {
  .header-inner {
    width: min(100% - 40px, 1240px);
    gap: 16px;
  }

  .brand img {
    height: 80px;
    max-width: 292px;
  }

  .brand-tagline {
    max-width: 292px;
    font-size: 0.66rem;
  }

  .nav-wrap {
    gap: 8px;
  }

  .primary-nav a,
  .lang-toggle button {
    font-size: 0.9rem;
    padding-inline: 7px;
  }

  .lang-toggle button {
    min-width: 62px;
  }

  .header-phone {
    padding-inline: 9px;
  }
}

.header-phone:hover {
  background: rgba(240, 6, 127, 0.22);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(240, 6, 127, 0.1));
}

.social-links a:hover {
  border-color: rgba(240, 6, 127, 0.65);
  box-shadow: 0 12px 28px rgba(240, 6, 127, 0.16);
  transform: translateY(-1px);
}

.header-social {
  margin-top: 0;
  flex-wrap: nowrap;
}

.header-social-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
}

.header-social-icons a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.74;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: opacity 180ms ease, color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

.header-social-icons a:hover {
  color: var(--color-pink-2);
  opacity: 1;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 74, 173, 0.26);
  box-shadow: 0 0 20px rgba(240, 6, 127, 0.24);
  transform: translateY(-1px);
}

.header-social-icons svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.header-social-icons svg rect,
.header-social-icons svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-panel);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(12, 12, 18, 0.96), #030305),
    radial-gradient(circle at 80% 0%, rgba(240, 6, 127, 0.18), transparent 34%);
  border-top: 1px solid var(--color-border);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 30px;
}

.footer-title {
  color: #fff;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
  list-style: none;
}

.footer-links a:hover {
  color: var(--color-pink-2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.92rem;
}

.page-hero {
  min-height: 624px;
  display: grid;
  align-items: end;
  padding: 92px 0 70px;
  background-color: var(--color-black);
  background-image:
    linear-gradient(90deg, rgba(6, 6, 9, 0.97), rgba(6, 6, 9, 0.68), rgba(240, 6, 127, 0.22)),
    var(--page-hero-image);
  background-position: center center, center center;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat, no-repeat;
  box-shadow: inset 0 -90px 90px rgba(6, 6, 9, 0.7);
}

body {
  --page-hero-image: url("../images/optimized/hero-home-1600.jpg");
}

body.about-page {
  --page-hero-image: url("../images/optimized/hero-about-1600.webp");
  --page-hero-position: center 48%;
}

body.services-page {
  --page-hero-image: url("../images/optimized/hero-services-1600.webp");
  --page-hero-position: center 45%;
}

body.locations-page {
  --page-hero-image: url("../images/optimized/hero-locations-1600.webp");
  --page-hero-position: center 45%;
}

body.contact-page {
  --page-hero-image: url("../images/optimized/hero-contact-1600.webp");
  --page-hero-position: center 48%;
}

body.not-found-page {
  --page-hero-image: url("../images/optimized/hero-404-1600.webp");
  --page-hero-position: center 45%;
}

.page-hero {
  background-position: center center, var(--page-hero-position, center center);
}

@media (max-width: 1100px) {
  body.about-page {
    --page-hero-image: url("../images/optimized/hero-about-1200.webp");
  }

  body.services-page {
    --page-hero-image: url("../images/optimized/hero-services-1200.webp");
  }

  body.locations-page {
    --page-hero-image: url("../images/optimized/hero-locations-1200.webp");
  }

  body.contact-page {
    --page-hero-image: url("../images/optimized/hero-contact-1200.webp");
  }

  body.not-found-page {
    --page-hero-image: url("../images/optimized/hero-404-1200.webp");
  }
}

@media (max-width: 640px) {
  body.about-page {
    --page-hero-image: url("../images/optimized/hero-about-800.webp");
  }

  body.services-page {
    --page-hero-image: url("../images/optimized/hero-services-800.webp");
  }

  body.locations-page {
    --page-hero-image: url("../images/optimized/hero-locations-800.webp");
  }

  body.contact-page {
    --page-hero-image: url("../images/optimized/hero-contact-800.webp");
  }

  body.not-found-page {
    --page-hero-image: url("../images/optimized/hero-404-800.webp");
  }
}

.page-hero .section-heading {
  margin-bottom: 0;
  max-width: 980px;
}

@media (max-width: 980px) {
  :root {
    --header-height: 96px;
  }

  .brand img {
    height: 58px;
    max-width: min(232px, 52vw);
  }

  .brand-tagline {
    max-width: min(232px, 52vw);
    margin-top: 4px;
    font-size: 0.6rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: none;
    max-height: calc(100vh - var(--header-height));
    overflow: auto;
    padding: 20px 16px 28px;
    background: linear-gradient(180deg, rgba(6, 6, 9, 0.99), rgba(18, 12, 18, 0.99));
    border-bottom: 1px solid var(--color-border);
  }

  body.nav-open .nav-wrap {
    display: grid;
    gap: 18px;
  }

  .primary-nav ul,
  .nav-wrap {
    align-items: stretch;
  }

  .primary-nav ul {
    display: grid;
    gap: 6px;
  }

  .primary-nav a {
    display: block;
    padding: 13px 12px;
    background: rgba(255, 255, 255, 0.05);
  }

  .lang-toggle {
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-cta {
    justify-content: center;
  }

  .header-phone {
    justify-content: center;
    text-align: center;
  }

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

@media (max-width: 1300px) {
  .header-social-icons {
    gap: 4px;
  }

  .header-social-icons a {
    width: 34px;
    height: 34px;
  }

  .header-social-icons svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 88px;
  }

  .section {
    padding: 76px 0;
  }

  h1,
  .display-title {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  .container {
    width: min(100% - 24px, var(--max-width));
  }

  .brand img {
    height: 54px;
    max-width: min(210px, 58vw);
  }

  .brand-tagline {
    max-width: min(210px, 58vw);
    margin-top: 3px;
    font-size: 0.56rem;
  }

  .lang-toggle button {
    flex: 1 1 auto;
    min-width: 88px;
  }

  .header-social-icons {
    justify-content: center;
  }

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

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

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

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