/* ============================================================
   VILHELMA DAINAVIMO STUDIJA
   Structure: Rounded glass cards (restored)
   Palette:   Amber gold on void black (current)
   Type:      Cormorant Garamond + DM Sans
   ============================================================ */

/* Fonts loaded via <link> in HTML */

/* ── DESIGN TOKENS ── */
:root {
  /* Backgrounds */
  --bg-darkest:   #06050A;
  --bg-primary:   #0E0C16;
  --bg-secondary: #16131F;
  --bg-surface:   #1E1A2B;
  --bg-glass:     rgba(22, 19, 31, 0.65);
  --bg-glass-card: rgba(22, 19, 31, 0.72);
  --bg-glass-hover: rgba(30, 26, 43, 0.88);

  /* Amber palette */
  --amber-lightest: #FFFBEB;
  --amber-shimmer:  #FEF3C7;
  --amber-bright:   #FBBF24;
  --amber-primary:  #E8960A;
  --amber-deep:     #B5720A;
  --amber-dark:     #8A5508;
  --amber-darker:   #5C3A06;

  /* Glows & borders */
  --amber-glow:        rgba(232, 150, 10, 0.25);
  --amber-glow-strong: rgba(232, 150, 10, 0.45);
  --gold-border:       rgba(232, 150, 10, 0.20);
  --gold-border-bright: rgba(251, 191, 36, 0.50);

  /* Text */
  --text-pure:      #FFFFFF;
  --text-primary:   #F5EDD6;
  --text-secondary: #C8BAA8;
  --text-muted:     #7D6E5E;
  --text-amber:     #FCD34D;

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans:    'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-width: 1260px;
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   22px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card:       0 10px 30px -10px rgba(0,0,0,0.6), 0 0 1px 1px rgba(232,150,10,0.10);
  --shadow-card-hover: 0 20px 45px -15px rgba(0,0,0,0.8), 0 0 22px rgba(232,150,10,0.22);

  /* Transitions */
  --t-fast:   0.2s ease;
  --t-normal: 0.35s cubic-bezier(0.16,1,0.3,1);
  --t-slow:   0.6s cubic-bezier(0.16,1,0.3,1);

  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
  scrollbar-color: var(--amber-dark) var(--bg-darkest);
  scrollbar-width: thin;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration:.01ms!important; transition-duration:.01ms!important; }
}

body {
  font-family: var(--font-sans);
  background: var(--bg-darkest);
  color: var(--text-secondary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(232,150,10,0.14), transparent),
    radial-gradient(ellipse 60% 40% at 90% 40%,  rgba(180,100, 8,0.07), transparent),
    radial-gradient(ellipse 50% 50% at 10% 70%,  rgba(232,150,10,0.05), transparent);
  background-attachment: fixed;
}

::selection { background: var(--amber-primary); color: var(--bg-darkest); }

img { display:block; max-width:100%; }
a   { color:inherit; text-decoration:none; }
button { cursor:pointer; font-family:var(--font-sans); }
ul { list-style:none; }

h1,h2,h3,h4 {
  font-family: var(--font-heading);
  color: var(--text-pure);
  letter-spacing: 0.02em;
}

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

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

.section-padding { padding-block: clamp(4rem, 8vw, 7rem); }

/* Ambient stage lights */
.stage-spotlight-top {
  position: absolute; top:0; left:50%;
  transform: translateX(-50%);
  width: 100vw; height: 700px;
  background: radial-gradient(circle at 50% 0%, rgba(232,150,10,0.20) 0%, rgba(180,100,8,0.06) 35%, transparent 70%);
  pointer-events: none; z-index: 1;
}
.stage-beams {
  position: absolute; top:-50px; left:50%;
  transform: translateX(-50%);
  width: 900px; height: 800px;
  background: conic-gradient(from 180deg at 50% 0%, transparent 42%, rgba(251,191,36,0.07) 47%, rgba(232,150,10,0.16) 50%, rgba(251,191,36,0.07) 53%, transparent 58%);
  filter: blur(28px);
  pointer-events: none; z-index: 1;
}

/* ── TYPOGRAPHY HELPERS ── */
.text-gradient-amber {
  background: linear-gradient(135deg, #FFFBEB 0%, #FDE68A 25%, #FBBF24 60%, #E8960A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(232,150,10,0.08);
  border: 1px solid rgba(232,150,10,0.28);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber-bright);
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}

.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--amber-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--amber-bright);
}

.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  letter-spacing: 0.01em;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 3rem auto;
  line-height: 1.75;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.78rem 1.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--t-normal);
  letter-spacing: 0.04em;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber-bright) 0%, var(--amber-primary) 50%, var(--amber-deep) 100%);
  color: var(--bg-darkest);
  border: 1px solid rgba(254,243,199,0.3);
  box-shadow: 0 4px 20px rgba(232,150,10,0.32);
}

@media (hover:hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232,150,10,0.5);
    background: linear-gradient(135deg, #FDE68A 0%, var(--amber-bright) 50%, var(--amber-primary) 100%);
  }
}

.btn-outline {
  background: rgba(22,19,31,0.6);
  color: var(--text-pure);
  border: 1px solid var(--gold-border-bright);
  backdrop-filter: blur(10px);
}

@media (hover:hover) {
  .btn-outline:hover {
    background: rgba(232,150,10,0.12);
    border-color: var(--amber-bright);
    color: var(--amber-lightest);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(232,150,10,0.22);
  }
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(6,5,10,0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all var(--t-normal);
}

.navbar.scrolled {
  height: 64px;
  background: rgba(6,5,10,0.92);
  border-bottom-color: var(--gold-border);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

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

/* Brand logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform var(--t-fast);
}

@media (hover:hover) { .brand-logo:hover { transform: translateY(-1px); } }

.brand-icon-wrapper {
  position: relative;
  width: 44px; height: 44px;
  background: radial-gradient(circle, rgba(232,150,10,0.22) 0%, rgba(14,12,22,0.85) 100%);
  border: 1px solid var(--gold-border-bright);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(232,150,10,0.22);
  flex-shrink: 0;
  transition: box-shadow var(--t-fast), border-color var(--t-fast);
}

@media (hover:hover) {
  .brand-logo:hover .brand-icon-wrapper {
    border-color: var(--amber-bright);
    box-shadow: 0 0 28px rgba(232,150,10,0.4);
  }
}

/* Animated equalizer bars logo — rect elements for reliable scaleY */
.brand-icon-svg {
  width: 26px;
  height: 26px;
  display: block;
}

.brand-icon-svg .wbar {
  fill: var(--amber-bright);
  transform-box: fill-box;
  transform-origin: center;
  animation: logoWavePulse 1.5s ease-in-out infinite;
}
.brand-icon-svg .wbar-1 { fill: rgba(232,150,10,0.6);  animation-delay: .4s; }
.brand-icon-svg .wbar-2 { fill: rgba(251,191,36,0.8);  animation-delay: .2s; }
.brand-icon-svg .wbar-3 { fill: #FBBF24;               animation-delay: 0s;  }
.brand-icon-svg .wbar-4 { fill: rgba(251,191,36,0.8);  animation-delay: .2s; }
.brand-icon-svg .wbar-5 { fill: rgba(232,150,10,0.6);  animation-delay: .4s; }

@keyframes logoWavePulse {
  0%, 100% { transform: scaleY(1);    opacity: 1;   }
  50%       { transform: scaleY(0.2); opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-icon-svg .wbar { animation: none; }
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--amber-lightest);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-desc {
  font-size: 0.62rem;
  font-family: var(--font-sans);
  color: var(--amber-bright);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Nav links */
.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--t-fast);
  position: relative;
  padding-block: 0.25rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--amber-bright), transparent);
  transition: width var(--t-normal);
}

@media (hover:hover) {
  .nav-links a:hover { color: var(--amber-bright); }
  .nav-links a:hover::after { width: 100%; }
}

.nav-links a.active { color: var(--amber-bright); }
.nav-links a.active::after { width: 100%; }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(22,19,31,0.85);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  padding: 3px;
  backdrop-filter: blur(8px);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--t-fast);
  letter-spacing: 0.08em;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--amber-primary), var(--amber-deep));
  color: var(--bg-darkest);
  font-weight: 700;
  box-shadow: 0 0 10px rgba(232,150,10,0.35);
}

@media (hover:hover) { .lang-btn:not(.active):hover { color: var(--text-pure); } }

/* Mobile hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  background: rgba(22,19,31,0.85);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--amber-bright);
  border-radius: 2px;
  transition: all .3s ease;
  margin: 2.5px 0;
}

.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── HERO ── */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 4.5rem 4rem;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute; inset: 0;
  z-index: 0; overflow: hidden;
}

.hero-stage-img {
  position: absolute; top:0; left:0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.32;
  filter: brightness(0.85) contrast(1.22) saturate(1.05);
  transform: scale(1.03);
  transition: transform 14s ease-out;
}

.hero-section:hover .hero-stage-img { transform: scale(1.08); }

.hero-overlay-dark {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,5,10,0.58) 0%, rgba(11,9,16,0.35) 40%, rgba(6,5,10,0.92) 88%, var(--bg-darkest) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(232,150,10,0.12) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

/* Hero badge pill */
.hero-audience {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  font-weight: 400;
  color: var(--amber-bright);
  letter-spacing: 0.06em;
  margin-top: 1.25rem;
  margin-bottom: 0;
  opacity: 0;
  animation: fadeUp .9s cubic-bezier(0.16,1,0.3,1) .45s forwards;
}


/* Hero title */
.hero-title {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.75rem;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.16,1,0.3,1) .25s forwards;
}

/* Hero quote card */
.hero-quote-card {
  position: relative;
  background: rgba(22,19,31,0.65);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2.25rem;
  margin: 2.5rem auto 0 auto;
  max-width: 760px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.45), 0 0 28px rgba(232,150,10,0.12);
  opacity: 0;
  animation: fadeUp .9s cubic-bezier(0.16,1,0.3,1) .4s forwards;
}

.hero-quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  color: var(--amber-shimmer);
  line-height: 1.45;
  text-shadow: 0 0 20px rgba(232,150,10,0.25);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 2rem auto 2.25rem auto;
  line-height: 1.78;
  opacity: 0;
  animation: fadeUp .9s cubic-bezier(0.16,1,0.3,1) .6s forwards;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fadeUp .9s cubic-bezier(0.16,1,0.3,1) .65s forwards;
}

/* Hero stats */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 820px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp .9s cubic-bezier(0.16,1,0.3,1) .8s forwards;
}

.hero-stat-card {
  background: rgba(22,19,31,0.7);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  backdrop-filter: blur(10px);
  transition: all var(--t-normal);
}

@media (hover:hover) {
  .hero-stat-card:hover {
    border-color: var(--amber-bright);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(232,150,10,0.16);
  }
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--amber-bright);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* Animations */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ── TRAINING PILLARS ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.pillar-card {
  grid-column: span 2;
  background: var(--bg-glass-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  backdrop-filter: blur(16px);
  transition: all var(--t-normal);
  position: relative;
  overflow: hidden;
  /* Interior grid: icon+title row1, desc row2 */
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  gap: 0.6rem 0.9rem;
  align-items: start;
}

/* Center the last 2 cards in the bottom row */
.pillar-card:nth-child(4) { grid-column: 2 / span 2; }
.pillar-card:nth-child(5) { grid-column: 4 / span 2; }

.pillar-card::before {
  content: '';
  position: absolute; top:0; left:0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--amber-bright), transparent);
  opacity: 0;
  transition: width var(--t-normal), opacity var(--t-normal);
}

@media (hover:hover) {
  .pillar-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--gold-border-bright);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
  }
  .pillar-card:hover::before { width:100%; opacity:1; }
}

.pillar-icon-box {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: radial-gradient(circle, rgba(232,150,10,0.2) 0%, rgba(22,19,31,0.9) 100%);
  border: 1px solid var(--gold-border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(232,150,10,0.15);
  flex-shrink: 0;
}

.pillar-svg {
  width: 22px; height: 22px;
  stroke: var(--amber-bright);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-title {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0;
  color: var(--amber-lightest);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.35;
}

.pillar-desc {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.72;
}

/* ── ABOUT ── */
.about-section {
  overflow: hidden;
  background: radial-gradient(circle at 15% 50%, rgba(232,150,10,0.06) 0%, transparent 55%);
}

/* Full portrait visible — image column drives height, text centers beside it */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
}

/* Photo column — image centred at half size, edges fade via CSS mask */
.about-visual-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
}

/* Half-size, centred portrait with soft edge fade — no frame at all */
.about-img {
  width: 75%;
  max-width: 400px;
  height: auto;
  display: block;
  filter: contrast(1.05) brightness(0.96);
  /* Radial mask: sharp centre → fades all edges to transparent */
  -webkit-mask-image: radial-gradient(ellipse 82% 88% at 50% 48%,
    black                30%,
    rgba(0,0,0,0.65)     52%,
    rgba(0,0,0,0.18)     72%,
    transparent          88%);
  mask-image: radial-gradient(ellipse 82% 88% at 50% 48%,
    black                30%,
    rgba(0,0,0,0.65)     52%,
    rgba(0,0,0,0.18)     72%,
    transparent          88%);
}

/* Overlay no longer needed — mask handles all blending */
.about-image-overlay { display: none; }

/* Badge sits below the image, centred, no absolute positioning */
.about-floating-badge {
  margin-top: 1.1rem;
  text-align: center;
}

.about-floating-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--amber-lightest);
  line-height: 1.2;
}

.about-floating-subtitle {
  font-size: 0.68rem;
  color: var(--amber-bright);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-top: 3px;
}

/* Text column — own padding instead of container */
.about-text-column {
  display: flex;
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4.5rem);
}

.about-text-inner { width: 100%; }

.about-quote-box {
  border-left: 3px solid var(--amber-bright);
  padding: 0.85rem 0 0.85rem 1.4rem;
  margin: 1.5rem 0 2rem 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--amber-shimmer);
  line-height: 1.6;
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-paragraphs p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.82;
}

.about-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.about-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(22,19,31,0.55);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.about-badge-item svg {
  width: 18px; height: 18px;
  stroke: var(--amber-bright);
  flex-shrink: 0;
}

/* 7th badge spans both columns */
.about-badge-item--wide {
  grid-column: 1 / -1;
}

/* ── SERVICES ── */
.services-section {
  background: radial-gradient(circle at 90% 50%, rgba(180,100,8,0.07) 0%, transparent 55%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

/* Last card always fills the entire final row */
.service-card:last-child {
  grid-column: 1 / -1;
}

.service-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  backdrop-filter: blur(16px);
  transition: all var(--t-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber-bright), var(--amber-deep));
  transition: width var(--t-normal);
}

@media (hover:hover) {
  .service-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--gold-border-bright);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
  }
  .service-card:hover::after { width: 100%; }
}

/* Service card interior — CSS grid: icon+title row 1, desc row 2 */
.service-top {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  gap: 0.55rem 0.9rem;
  align-items: start;
  margin-bottom: 0;
}

.service-icon-box {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: radial-gradient(circle, rgba(232,150,10,0.22) 0%, rgba(22,19,31,0.85) 100%);
  border: 1px solid var(--gold-border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(232,150,10,0.15);
  flex-shrink: 0;
}

.service-svg {
  width: 22px; height: 22px;
  stroke: var(--amber-bright);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-title {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0;
  color: var(--amber-lightest);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.35;
}

.service-desc {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.72;
  padding-top: 0.2rem;
}

.service-select-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--amber-bright);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(232,150,10,0.12);
  transition: all var(--t-fast);
  background: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
  cursor: pointer;
  font-family: var(--font-sans);
}

@media (hover:hover) {
  .service-select-btn:hover {
    color: var(--amber-lightest);
    transform: translateX(4px);
  }
}

/* ── ACHIEVEMENTS ── */
.achievements-section {
  background: var(--bg-darkest);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 0.85rem;
  margin-top: 3rem;
}

.gm-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-border);
  cursor: pointer;
  background: var(--bg-glass-card);
  transition: border-color .3s ease, transform .35s cubic-bezier(0.16,1,0.3,1);
}

.gm-thumb--big { grid-row: span 2; }

.gm-thumb--video .gm-play-icon {
  width: 48px; height: 48px;
  color: var(--amber-bright);
  stroke: var(--amber-bright);
  stroke-width: 1.5;
  fill: none;
}

.gm-thumb--video .gm-play-icon polygon { fill: var(--amber-bright); }

@media (hover:hover) {
  .gm-thumb:hover { border-color: var(--gold-border-bright); transform: scale(1.02); }
  .gm-thumb:hover .gm-thumb-label { opacity: 1; }
}

.gm-thumb-ph {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

/* Hide placeholder icon when tile has a background image */
.gm-thumb[style*="background-image"] .gm-thumb-ph { display: none; }

.gm-thumb-ph svg {
  width: 32px; height: 32px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1;
}

.gm-thumb-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(to top, rgba(6,5,10,0.85), transparent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-bright);
  opacity: 0.7;
  transition: opacity .25s ease;
}

.gallery-cta-row {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

/* ── GALLERY MODAL ── */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  background: var(--bg-darkest);
  transform: translateY(100%);
  transition: transform .5s cubic-bezier(0.16,1,0.3,1);
}

.gallery-modal:not([hidden]) { transform: translateY(0); }
.gallery-modal[hidden] { display: flex; pointer-events: none; }

.gm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1.25rem,4vw,2.5rem);
  height: 60px;
  flex-shrink: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--gold-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.gm-event-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.gm-event-nav::-webkit-scrollbar { display: none; }

.gm-event-tab {
  background: none;
  border: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5em 1em;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
  cursor: pointer;
}

.gm-event-tab.active,
.gm-event-tab:hover { color: var(--amber-bright); }
.gm-event-tab.active { background: rgba(232,150,10,0.1); }

.gm-close-btn {
  width: 36px; height: 36px;
  background: none;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: color .2s, border-color .2s;
  cursor: pointer;
}

.gm-close-btn svg { width: 16px; height: 16px; }
@media (hover:hover) { .gm-close-btn:hover { color: var(--text-pure); border-color: var(--gold-border-bright); } }

.gm-body {
  flex: 1;
  overflow-y: auto;
  padding: 3rem clamp(1.25rem,4vw,2.5rem);
  scroll-behavior: smooth;
}

.gm-event-section {
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--gold-border);
  margin-bottom: 4rem;
}

.gm-event-section:last-child { border-bottom: none; margin-bottom: 0; }

.gm-event-header { margin-bottom: 2rem; }

.gm-event-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem,3vw,2.25rem);
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 0.35rem;
}

.gm-event-desc { font-size: 0.88rem; color: var(--text-muted); }

.gm-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.gm-slot { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; position: relative; }

.gm-slot-ph {
  width: 100%; height: 100%;
  background: var(--bg-glass-card);
  border: 1px dashed var(--gold-border-bright);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

@media (hover:hover) { .gm-slot-ph:hover { background: var(--bg-glass-hover); border-color: var(--amber-bright); } }

.gm-slot-ph svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1; }
.gm-slot-ph span { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; }

.gm-slot img.gm-photo {
  width:100%; height:100%; object-fit:cover; display:block;
  cursor: zoom-in;
  transition: opacity .2s ease;
}
@media (hover:hover) { .gm-slot:hover .gm-photo { opacity: 0.88; } }

/* Caption overlay on gallery image */
.gm-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px 8px 7px;
  background: linear-gradient(to top, rgba(6,5,10,0.88) 0%, transparent 100%);
  font-size: 0.75rem;
  color: rgba(240,230,210,0.92);
  line-height: 1.35;
  pointer-events: none;
}

.gm-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(560px, 100%), 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.gm-video-slot {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(232,150,10,0.12);
}

/* ── LITE YOUTUBE WEB COMPONENT ── */
lite-youtube {
  display: block;
  position: relative;
  width: 100%; height: 100%;
  background: #000;
  cursor: pointer;
  contain: content;
}

lite-youtube img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity .25s ease;
}

@media (hover:hover) { lite-youtube:hover img { opacity: 0.8; } }

.lyt-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: none; border: none; padding: 0;
  cursor: pointer; z-index: 2;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.55));
  transition: transform .2s ease, filter .2s ease;
}

@media (hover:hover) {
  lite-youtube:hover .lyt-play-btn {
    transform: translate(-50%, -50%) scale(1.12);
    filter: drop-shadow(0 6px 28px rgba(255,0,0,0.55));
  }
}

lite-youtube iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none; display: block;
}

.gm-video-placeholder {
  background: var(--bg-glass-card);
  border: 1px dashed var(--gold-border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gm-video-ph-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-align: center;
  padding: 1rem;
}

.gallery-backdrop {
  position: fixed; inset: 0;
  z-index: 1999;
  background: rgba(6,5,10,0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

body.gallery-open .gallery-backdrop { opacity: 1; pointer-events: auto; }
body.gallery-open { overflow: hidden; }

/* ── CONTACT ── */
.contact-section {
  background: radial-gradient(circle at 50% 100%, rgba(232,150,10,0.10) 0%, transparent 60%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: stretch;
  margin-top: 3rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.info-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  backdrop-filter: blur(12px);
  transition: all var(--t-normal);
}

@media (hover:hover) {
  .info-card:hover {
    border-color: var(--gold-border-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(232,150,10,0.12);
  }
}

/* Clickable address card — opens map */
.info-card--link {
  text-decoration: none;
  cursor: pointer;
}

@media (hover:hover) {
  .info-card--link:hover .info-val { color: var(--amber-bright); }
  .info-card--link:hover .info-icon-box { border-color: var(--amber); box-shadow: 0 0 14px rgba(232,150,10,0.3); }
}

.info-icon-box {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: radial-gradient(circle, rgba(232,150,10,0.22) 0%, rgba(22,19,31,0.8) 100%);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-svg {
  width: 15px; height: 15px;
  stroke: var(--amber-bright);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-text-box h4 {
  font-size: 0.58rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-val {
  font-size: 0.85rem;
  color: var(--text-pure);
  font-weight: 400;
  line-height: 1.4;
}

.info-val a { color: var(--amber-lightest); transition: color var(--t-fast); }
@media (hover:hover) { .info-val a:hover { color: var(--amber-bright); text-decoration: underline; } }

/* Map card */
.location-map-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.4rem 1.15rem;
  backdrop-filter: blur(14px);
  margin-top: 0.35rem;
}

.location-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--amber-lightest);
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
}

.map-embed-wrapper {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--gold-border);
}

.map-iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
}

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--amber-bright);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--t-fast);
}

@media (hover:hover) { .btn-map:hover { color: var(--amber-lightest); transform: translateX(4px); } }

/* Contact form */
.contact-form-panel {
  background: var(--bg-glass-card);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  /* Stretch to match info panel height */
  display: flex;
  flex-direction: column;
}

/* Form fills the panel, textarea grows to fill remaining space */
#contactForm {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#contactForm .form-group:last-of-type {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#contactForm #message {
  flex: 1;
  min-height: 120px;
  resize: none;
}

.form-header { margin-bottom: 1.75rem; }

.form-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.4rem;
}

.form-subtitle { font-size: 0.9rem; color: var(--text-muted); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 0.78rem 1rem;
  background: rgba(6,5,10,0.8);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  color: var(--text-pure);
  font-family: var(--font-sans);
  font-size: 0.93rem;
  transition: all var(--t-fast);
  outline: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--amber-bright);
  box-shadow: 0 0 15px rgba(232,150,10,0.3);
  background: rgba(14,12,22,0.95);
}

.form-control::placeholder { color: rgba(125,110,94,0.65); }

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E8960A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 15px;
  cursor: pointer;
}

select.form-control option { background: var(--bg-primary); color: var(--text-pure); padding: 8px; }

textarea.form-control { resize: vertical; min-height: 110px; }

.highlight-pulse { animation: fieldPulse 1.5s ease; }

@keyframes fieldPulse {
  0%   { border-color: var(--gold-border); box-shadow: none; }
  50%  { border-color: var(--amber-bright); box-shadow: 0 0 22px rgba(232,150,10,0.5); }
  100% { border-color: var(--gold-border); box-shadow: none; }
}

.btn-submit { width: 100%; padding: 0.9rem; font-size: 0.95rem; margin-top: 0.5rem; }

.form-feedback {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 1.1rem;
  text-align: center;
}

.form-feedback.visible { display: block; }
.form-feedback.success {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.35);
  color: #4ADE80;
}

.form-feedback.error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.35);
  color: #F87171;
}

.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(11,13,19,0.3);
  border-top-color: var(--bg-darkest);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── FOOTER (minimal) ── */
.footer {
  background: #050408;
  border-top: 1px solid rgba(232,150,10,0.12);
  padding: 1.75rem 0 1.25rem 0;
  position: relative;
  z-index: 10;
}

/* Single row: logo left, contacts right */
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

/* Inline contacts */
.footer-contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.footer-contacts a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast);
}

@media (hover:hover) { .footer-contacts a:hover { color: var(--amber-bright); } }

.footer-sep {
  color: rgba(232,150,10,0.35);
  font-size: 0.9rem;
  user-select: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(232,150,10,0.08);
  font-size: 0.72rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-powered {
  color: var(--amber-bright);
  font-weight: 600;
  text-decoration: none;
}

/* ── LIGHTBOX ── */
#lightbox {
  position: fixed; inset: 0; z-index: 4000;
  display: none; align-items: center; justify-content: center;
}

#lightbox.active { display: flex; }

.lb-overlay {
  position: absolute; inset: 0;
  background: rgba(4,3,8,0.96);
  cursor: zoom-out;
}

.lb-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  max-width: 92vw; max-height: 92vh;
}

.lb-img {
  max-width: 100%; max-height: 82vh;
  object-fit: contain; display: block;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.lb-caption {
  color: var(--text-secondary); font-size: 0.88rem;
  margin-top: 0.75rem; text-align: center;
  max-width: 80vw; line-height: 1.55;
}

.lb-counter {
  color: var(--amber); font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

.lb-close {
  position: fixed; top: 1rem; right: 1rem; z-index: 3;
  background: rgba(22,19,31,0.9);
  border: 1px solid var(--gold-border-bright);
  color: var(--cream); font-size: 1.1rem;
  width: 40px; height: 40px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}

.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 3;
  background: rgba(22,19,31,0.85);
  border: 1px solid var(--gold-border-bright);
  color: var(--amber-bright); font-size: 1.8rem; line-height: 1;
  width: 48px; height: 48px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}

.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

@media (hover:hover) {
  .lb-close:hover, .lb-prev:hover, .lb-next:hover {
    border-color: var(--amber-bright);
    background: rgba(232,150,10,0.2);
    color: var(--amber-lightest);
  }
}

@media (max-width: 640px) {
  .lb-prev { left: 0.25rem; width: 38px; height: 38px; font-size: 1.4rem; }
  .lb-next { right: 0.25rem; width: 38px; height: 38px; font-size: 1.4rem; }
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--amber-bright), var(--amber-deep));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(232,150,10,0.42);
  z-index: 998;
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  transition: opacity .3s ease, transform .3s ease, box-shadow .25s ease;
  pointer-events: none;
}

.back-to-top.visible { opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }

@media (hover:hover) {
  .back-to-top:hover { transform:translateY(-4px) scale(1.05); box-shadow: 0 8px 28px rgba(232,150,10,0.62); }
}

.back-to-top svg { width:20px; height:20px; stroke: var(--bg-darkest); stroke-width:2.5; fill:none; stroke-linecap:round; stroke-linejoin:round; }

/* ── SCROLL REVEAL ── */
/* Content visible by default — never broken without JS */
.reveal-on-scroll {
  transition: opacity .8s cubic-bezier(0.16,1,0.3,1), transform .8s cubic-bezier(0.16,1,0.3,1);
}

/* Hidden only when JS has confirmed it loaded */
.js-loaded .reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
}

/* Revealed by IntersectionObserver or 1s safety timeout */
.reveal-on-scroll.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ══════════════════════════════════════
   RESPONSIVE — desktop → tablet → mobile
   ══════════════════════════════════════ */

/* ── Large tablet (≤1100px): About stacks, footer wraps ── */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img  { width: 72%; max-width: 360px; }
  .about-text-column { padding: 2rem clamp(1.25rem, 4vw, 2.5rem); }
  .about-badges-grid { grid-template-columns: 1fr 1fr; }

  .footer-row      { flex-direction: column; align-items: flex-start; }
  .footer-contacts { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .footer-sep      { display: none; }
}

/* ── Tablet (≤868px): hamburger nav, 2-col grids ── */
@media (max-width: 868px) {
  :root { --nav-h: 62px; }

  /* Hamburger menu */
  .menu-toggle { display: flex; }
  .nav-links, .nav-actions .btn-primary { display: none; }

  .nav-menu-wrapper {
    position: fixed;
    top: 0; right: -100%;
    width: min(82%, 340px);
    height: 100vh;
    background: rgba(6,5,10,0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-left: 1px solid var(--gold-border-bright);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: calc(var(--nav-h) + 2.5rem) 2rem 3rem;
    transition: right .4s cubic-bezier(0.16,1,0.3,1);
    z-index: 1050;
    box-shadow: -12px 0 40px rgba(0,0,0,0.85);
    gap: 2rem;
  }

  .nav-menu-wrapper.active { right: 0; }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.2rem;
  }

  .nav-links a {
    font-size: 1rem;
    display: block;
    width: 100%;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(232,150,10,0.08);
  }

  .nav-links a:last-child { border-bottom: none; }

  .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 1rem;
  }

  .nav-actions .btn-primary {
    display: flex;
    justify-content: center;
  }

  .lang-switcher { justify-content: center; }
  body.menu-open { overflow: hidden; }

  /* Section spacing */
  .section-padding { padding-block: 4rem; }

  /* Hero: tighter */
  .hero-section    { padding-block: 5.5rem 3rem; }
  .hero-title      { font-size: clamp(1.8rem, 5.5vw, 3.2rem); }
  .hero-badge-pill { margin-bottom: 2rem; }
  .hero-stats-grid { grid-template-columns: repeat(3,1fr); gap: 0.75rem; }
  .stat-number     { font-size: 1.35rem; }
  .stat-label      { font-size: 0.7rem; }

  /* Pillars: 2×2 grid (4-col, each card span 2) */
  .pillars-grid                  { grid-template-columns: repeat(4,1fr); gap: 1px; }
  .pillar-card                   { grid-column: span 2; }
  .pillar-card:nth-child(4)      { grid-column: span 2; }
  .pillar-card:nth-child(5)      { grid-column: span 2; }

  /* Services: 2 columns */
  .services-grid                 { grid-template-columns: repeat(2,1fr); gap: 1rem; }
  .service-card:last-child       { grid-column: 1 / -1; }

  /* About */
  .about-badges-grid             { grid-template-columns: 1fr; }

  /* Contact */
  .contact-layout                { grid-template-columns: 1fr; gap: 2rem; }
  .form-row                      { grid-template-columns: 1fr; gap: 0; }
  .map-embed-wrapper             { height: 220px; }

  /* Gallery */
  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px 160px;
  }
  .gm-thumb--big { grid-row: span 2; }

  .back-to-top { bottom: 1.25rem; right: 1.25rem; width: 40px; height: 40px; }
}

/* ── Mobile (≤640px): single column everything ── */
@media (max-width: 640px) {
  .section-padding { padding-block: 3rem; }

  /* Hero */
  .hero-section     { padding-block: 5rem 2.5rem; }
  .hero-title       { font-size: clamp(1.6rem, 7vw, 2.6rem); line-height: 1.1; }
  .hero-tagline     { font-size: 1rem; margin-top: 1.25rem; }
  .hero-subtitle    { font-size: 0.88rem; }
  .hero-buttons     { gap: 0.75rem; }
  .hero-buttons .btn { font-size: 0.76rem; padding: 0.75em 1.5em; }
  .hero-badge-pill  { padding: 6px 14px; margin-bottom: 1.75rem; }
  .hero-audience    { font-size: 0.88rem; }
  .hero-quote-card  { padding: 1rem 1.25rem; margin-top: 1.75rem; }
  .hero-quote-text  { font-size: 0.95rem; }
  .hero-stats-grid  { grid-template-columns: 1fr; gap: 0.6rem; }

  /* Section titles */
  .section-title    { font-size: clamp(1.3rem, 5vw, 1.9rem); }
  .section-subtitle { font-size: 0.88rem; margin-bottom: 2rem; }

  /* About */
  .about-img        { width: 80%; max-width: 280px; }
  .about-badges-grid { grid-template-columns: 1fr; }

  /* Pillars: 1 column on small mobile */
  .pillars-grid                  { grid-template-columns: 1fr; gap: 0.75rem; border: none; }
  .pillar-card                   { grid-column: 1 !important; border-radius: var(--radius-md); }
  .pillar-card:nth-child(4)      { grid-column: 1 !important; }
  .pillar-card:nth-child(5)      { grid-column: 1 !important; }

  /* Services: 1 column */
  .services-grid                 { grid-template-columns: 1fr; gap: 0.85rem; }
  .service-card:last-child       { grid-column: 1; }

  /* Contact */
  .contact-form-panel            { padding: 1.5rem 1.1rem; }
  .form-title                    { font-size: 1.4rem; }
  .map-embed-wrapper             { height: 190px; }

  /* Gallery: 1 column */
  .gallery-mosaic                { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gm-thumb--big                 { grid-row: span 1; height: 200px; }
  .gm-thumb                      { height: 150px; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.35rem; }
}

/* ── Very small mobile (≤400px) ── */
@media (max-width: 400px) {
  .hero-title     { font-size: clamp(1.4rem, 8vw, 2rem); }
  .brand-name     { font-size: 0.9rem; }
  .brand-desc     { font-size: 0.5rem; }
  .hero-buttons   { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
}
