/* ============================================================
   ShivaSa — temple-inspired redesign
   ============================================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep: #04131c;
  --bg-dark: #0b2c36;
  --bg-card: #0c2536;
  --bg-card-hover: #13394e;
  --crimson: #155ccf;
  --crimson-light: #3d84ec;
  --maroon: #0a5360;
  --brown: #071a27;

  --gold: #bc8d2e;
  --gold-light: #ddb35a;
  --gold-pale: #f4e9cb;
  --gold-glow: rgba(188, 141, 46, 0.16);

  --ivory: #fcfaf2;
  --ivory-dark: #e8e2d4;
  --text: #eef5f3;
  --text-muted: #c8d7d3;
  --text-dim: #789089;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Cormorant Garamond", Georgia, serif;
  --font-accent: "IM Fell English", "Times New Roman", serif;
  --font-ui: "Nunito Sans", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(21, 92, 207, 0.26), transparent 40%),
    radial-gradient(circle at bottom right, rgba(13, 122, 100, 0.22), transparent 32%),
    var(--bg-deep);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(188, 141, 46, 0.05) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 233, 203, 0.025), transparent 28%);
  background-size: 28px 28px, auto;
  pointer-events: none;
  opacity: 0.55;
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

a:hover {
  color: var(--gold-pale);
}

img,
video {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ivory);
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
}

h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

p {
  color: var(--ivory-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 34px;
  border: 1.5px solid var(--gold);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

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

.btn--primary {
  background: var(--crimson);
  color: var(--gold-pale);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.btn--primary:hover {
  background: var(--gold);
  color: var(--brown);
}

.btn--outline {
  background: transparent;
  color: var(--gold-light);
}

.btn--outline:hover {
  background: rgba(201, 147, 58, 0.12);
  color: var(--gold-pale);
}

.btn--full {
  width: 100%;
}

.btn--success {
  background: var(--gold) !important;
  color: var(--brown) !important;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0 22px;
  background: rgba(4, 19, 28, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(188, 141, 46, 0.24);
  transition: background-color 0.35s var(--ease-out), padding 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0 8px,
    var(--crimson) 8px 16px,
    var(--gold) 16px 24px,
    var(--maroon) 24px 32px
  );
  opacity: 0.92;
}

.navbar--scrolled {
  padding: 12px 0 16px;
  background: rgba(3, 14, 22, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.nav-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-light);
}

.nav-logo:hover {
  color: var(--gold-pale);
}

.logo-mark {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}

.logo-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.3);
  transform-origin: center;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--gold-pale);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--ivory-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  display: block;
  background: var(--gold-pale);
  transition: all 0.3s var(--ease-out);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  margin-top: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px 110px;
  background:
    linear-gradient(rgba(4, 19, 28, 0.02), rgba(4, 19, 28, 0.08)),
    url("../assets/hero-background.png") center 72% / cover no-repeat,
    var(--brown);
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0 8px,
    var(--crimson) 8px 16px,
    var(--gold) 16px 24px,
    var(--maroon) 24px 32px
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(4, 19, 28, 0.06), rgba(4, 19, 28, 0.02));
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) scale(var(--scroll-scale, 1));
  will-change: transform;
}

.hero-tag,
.hero-title,
.hero-subtitle,
.gold-divider,
.hero-sub,
.hero-actions {
  opacity: 0;
  animation: fadeUp 0.95s ease forwards;
}

.hero-tag {
  color: var(--gold-light);
  font-size: clamp(0.78rem, 1.5vw, 1rem);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation-delay: 0.84s;
}

.hero-title {
  font-size: clamp(3.4rem, 9vw, 6.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  animation-delay: 0.55s;
}

.hero-title-line {
  display: block;
  color: var(--ivory);
}

.hero-title-line--accent {
  color: #ffffff;
  font-size: clamp(2rem, 4.3vw, 3.2rem);
  font-style: italic;
  letter-spacing: 0.02em;
  margin-top: 8px;
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  color: var(--gold-pale);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation-delay: 0.72s;
}

.gold-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(420px, 82vw);
  margin: 0 auto 30px;
  animation-delay: 0.84s;
}

.gold-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gold-divider-diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.gold-divider-diamond--soft {
  opacity: 0.45;
}

.hero-sub {
  max-width: 720px;
  margin: 0 auto 40px;
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.7;
  color: var(--ivory-dark);
  animation-delay: 1s;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation-delay: 1.16s;
}

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUpCentered 0.95s ease forwards 1.36s;
}

.scroll-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.section {
  position: relative;
  --section-progress: 0;
  padding: 110px 0;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0 8px,
    var(--crimson) 8px 16px,
    var(--gold) 16px 24px,
    var(--maroon) 24px 32px
  );
  opacity: 0.86;
}

.section::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -140px;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(188, 141, 46, 0.12) 0%, rgba(13, 122, 100, 0.05) 38%, transparent 72%);
  transform: translate(-50%, calc(100px - (var(--section-progress) * 170px))) scale(calc(0.82 + (var(--section-progress) * 0.28)));
  opacity: calc(0.04 + (var(--section-progress) * 0.1));
  filter: blur(10px);
  pointer-events: none;
}

.section-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 72px;
  will-change: transform, opacity;
}

.section-tag {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.section-tag::before,
.section-tag::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 12px;
  vertical-align: middle;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ivory-dark);
}

.reveal {
  --reveal-y: 34px;
  --parallax-y: 0px;
  --parallax-x: 0px;
  --tilt: 0deg;
  --scroll-scale: 1;
  opacity: 0;
  transform: translate3d(var(--parallax-x), calc(var(--reveal-y) + var(--parallax-y)), 0) rotate(var(--tilt)) scale(var(--scroll-scale));
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: transform, opacity;
}

.reveal.revealed {
  opacity: 1;
  --reveal-y: 0px;
}

.about {
  background:
    radial-gradient(ellipse 75% 55% at 50% 0%, rgba(188, 141, 46, 0.09), transparent 68%),
    var(--maroon);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-image-col {
  position: relative;
  will-change: transform;
}

.about-image-frame {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 2px solid rgba(201, 147, 58, 0.7);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(21, 92, 207, 0.52), rgba(13, 122, 100, 0.36)),
    repeating-linear-gradient(45deg, rgba(188, 141, 46, 0.07) 0, rgba(188, 141, 46, 0.07) 1px, transparent 1px, transparent 12px);
  transform: translateZ(0);
  will-change: transform;
}

.about-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-image-accent {
  position: absolute;
  inset: 22px auto auto 22px;
  width: 82%;
  height: 82%;
  border: 1px solid rgba(201, 147, 58, 0.18);
  border-radius: var(--radius-lg);
  z-index: -1;
  will-change: transform;
}

.about-text h3 {
  margin-bottom: 8px;
  color: var(--gold-pale);
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.about-subtitle {
  margin-bottom: 22px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--ivory-dark);
}

.about-stats {
  margin-top: 40px;
}

.stat {
  padding: 32px 40px;
  border: 1px solid rgba(201, 147, 58, 0.22);
  background: rgba(201, 147, 58, 0.06);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.stat-number {
  display: block;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 0;
  color: var(--ivory-dark);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.videos {
  background:
    radial-gradient(ellipse 78% 55% at 50% 0%, rgba(188, 141, 46, 0.1), transparent 70%),
    var(--maroon);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.video-card {
  --parallax-y: 0px;
  --parallax-x: 0px;
  --tilt: 0deg;
  overflow: hidden;
  border: 1px solid rgba(201, 147, 58, 0.22);
  border-radius: var(--radius-md);
  background: rgba(201, 147, 58, 0.05);
  opacity: 0;
  transform: translate3d(var(--parallax-x), calc(20px + var(--parallax-y)), 0) rotate(var(--tilt));
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.45s var(--ease-out), opacity 0.45s var(--ease-out);
  will-change: transform, opacity;
}

.video-card.visible {
  opacity: 1;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(var(--tilt));
}

.video-card:hover {
  border-color: rgba(232, 184, 75, 0.62);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.video-wrapper {
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
}

.video-wrapper video,
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.no-videos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-dim);
}

.no-videos-icon {
  width: 64px;
  color: var(--gold);
  opacity: 0.35;
}

.contact {
  background:
    radial-gradient(ellipse 70% 60% at 50% 10%, rgba(13, 122, 100, 0.28) 0%, transparent 72%),
    radial-gradient(ellipse 55% 48% at 20% 0%, rgba(21, 92, 207, 0.18) 0%, transparent 65%),
    var(--brown);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info {
  position: relative;
  padding-top: 6px;
  will-change: transform;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 18px;
}

.contact-info .section-tag::before,
.contact-info .section-tag::after {
  display: none;
}

.contact-info > p {
  max-width: 540px;
  margin-bottom: 32px;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ivory-dark);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-pale);
  font-size: 1.08rem;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-item a {
  color: inherit;
}

.contact-item a:hover {
  color: var(--gold-light);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 147, 58, 0.3);
  background: rgba(201, 147, 58, 0.05);
  color: var(--gold-pale);
}

.social-link:hover {
  background: rgba(201, 147, 58, 0.12);
  color: var(--gold-light);
}

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

.contact-form-wrap {
  position: relative;
  padding: 40px;
  border: 1px solid rgba(201, 147, 58, 0.26);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(8, 33, 48, 0.94), rgba(10, 83, 96, 0.9));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
  will-change: transform;
}

.contact-form-wrap::before {
  content: "Shivasa";
  position: absolute;
  top: 14px;
  right: 20px;
  color: rgba(201, 147, 58, 0.06);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-style: italic;
  line-height: 1;
  pointer-events: none;
}

.contact-form {
  position: relative;
  z-index: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(201, 147, 58, 0.2);
  background: rgba(245, 230, 192, 0.04);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--ivory);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(240, 228, 192, 0.46);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(245, 230, 192, 0.06);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23C9933A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--ivory);
}

.form-group textarea {
  resize: vertical;
  min-height: 108px;
}

.footer {
  position: relative;
  background: #06141f;
  border-top: 1px solid rgba(201, 147, 58, 0.2);
  padding: 56px 0 44px;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0 8px,
    var(--crimson) 8px 16px,
    var(--gold) 16px 24px,
    var(--maroon) 24px 32px
  );
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand,
.footer-links,
.footer-copy {
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0);
  will-change: transform, opacity;
}

.footer-brand .logo-text {
  font-size: 1.4rem;
}

.footer-brand p {
  margin-top: 8px;
  color: rgba(245, 230, 192, 0.58);
  font-family: var(--font-accent);
  font-size: 1.05rem;
  font-style: italic;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.footer-links a {
  color: var(--ivory-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.footer-copy {
  color: rgba(245, 230, 192, 0.42);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUpCentered {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.65);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (max-width: 980px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-image-col {
    max-width: 420px;
    margin: 0 auto;
  }

}

@media (max-width: 760px) {
  .navbar {
    padding: 14px 0 18px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    background:
      radial-gradient(circle at top, rgba(21, 92, 207, 0.18), transparent 32%),
      radial-gradient(circle at bottom, rgba(13, 122, 100, 0.16), transparent 42%),
      rgba(4, 19, 28, 0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .hero {
    min-height: calc(100vh - 82px);
    margin-top: 82px;
    padding: 88px 20px 96px;
  }

  .hero-content {
    padding: 22px 18px;
  }

  .hero-title-line--accent {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .section {
    padding: 88px 0;
  }

  .section-header {
    margin-bottom: 56px;
  }

  .about-stats {
    margin-top: 28px;
  }

  .stat {
    flex-direction: column;
    gap: 8px;
    padding: 24px 20px;
  }

  .stat-number {
    font-size: 2.6rem;
  }

  .contact-form-wrap {
    padding: 30px 22px;
  }

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

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }

  .nav-inner {
    padding: 0 18px;
  }

  .logo-text {
    font-size: 1.35rem;
  }

  .logo-mark {
    width: 44px;
    height: 44px;
  }

  .hero-tag {
    letter-spacing: 0.22em;
  }

  .hero-subtitle {
    letter-spacing: 0.16em;
  }

  .gold-divider {
    gap: 10px;
  }

  .hero-sub {
    font-size: 1.12rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-links {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
