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

html, body { overflow-x: hidden; width: 100%; }

:root {
  --gold: #c8973a;
  --gold-light: #d4a84a;
  --dark: #1a1c20;
  --dark2: #222529;
  --white: #ffffff;
  --light-bg: #f6f6f4;
  --text-muted: #aaaaaa;
  --text-dark: #2a2a2a;
  --text-mid: #555555;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 80px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: box-shadow .3s;
}

nav.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,.18); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid rgba(200,151,58,.35);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-logo-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: .04em;
  line-height: 1;
}

.nav-logo-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s;
}

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

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(18,20,24,.74) 0%, rgba(26,28,32,.64) 100%),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?auto=format&w=1920&q=75') center/cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(200,151,58,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(200,151,58,.04) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 80px 80px;
  gap: 40px;
}

.hero-content {
  max-width: 560px;
  flex-shrink: 0;
}

/* ─── HERO VISUAL (right side) ─── */
.hero-visual {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
}

.hero-rings {
  width: 340px;
  height: 340px;
  opacity: .9;
  animation: heroRingsFade .8s 1s ease both;
}

.hero-arc {
  transform-origin: 200px 200px;
  animation: spinSlow 18s linear infinite;
}

.hero-arc--rev {
  animation: spinRev 24s linear infinite;
}

.hero-visual-center {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: heroRingsFade .8s 1.2s ease both;
  opacity: 0;
}

.hero-stat-num {
  font-size: 72px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.04em;
}

.hero-stat-num span {
  color: var(--gold);
  font-size: 48px;
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: 8px;
  line-height: 1.6;
}

.hero-stat-divider {
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto;
  opacity: .6;
}

.hero-stat-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(200,151,58,.75);
  line-height: 1.8;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes spinRev {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

@keyframes heroRingsFade {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* override opacity-0 from heroRingsFade once animation ends */
.hero-visual-center { animation-fill-mode: forwards; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

/* ─── Brand line ─── */
.hero-brand-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-brand-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-brand-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(200,151,58,.5);
  flex-shrink: 0;
}
.hero-brand-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

.hero-content h1 {
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 28px;
}

.hero-content p {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  max-width: 480px;
  line-height: 1.85;
  margin-bottom: 14px;
}
.hero-content p[data-i18n="hero.mission"] {
  font-size: 13.5px;
  color: rgba(200,151,58,.75);
  font-style: italic;
  line-height: 1.9;
  margin-top: 4px;
}

.gold-divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 28px 0;
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(200,151,58,.4);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 24px;
  margin-top: 24px;
  transition: all .25s;
  text-decoration: none;
}

.hero-badge:hover {
  background: var(--gold);
  color: var(--dark);
}

.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.45);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.scroll-down::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

/* ─── SECTION COMMON ─── */
section { padding: 100px 80px; }

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

.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-header h2.white { color: var(--white); }

.section-header p {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 540px;
  line-height: 1.8;
  margin: 0 auto;
}

.section-header p.white { color: rgba(255,255,255,.65); }

/* ─── PILLARS ─── */
#about {
  background: var(--white);
  padding: 64px 80px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.pillar-number {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--gold);
  margin-bottom: 18px;
}

.pillar h3 {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.pillar p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
}

.pillar-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 20px;
}

/* ─── STATS ─── */
#stats {
  background:
    linear-gradient(rgba(246,246,244,.96), rgba(246,246,244,.96)),
    url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&w=1920&q=75') center/cover no-repeat fixed;
  padding: 60px 40px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 64px 72px;
  box-shadow: 0 4px 40px rgba(0,0,0,.06);
}

.stats-left .section-label { color: var(--gold); }

.stats-left h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.stat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  min-width: 80px;
  letter-spacing: -.02em;
}

.stats-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.big-circle-wrap {
  position: relative;
  width: 220px;
  height: 220px;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring__track {
  fill: none;
  stroke: rgba(200,151,58,.18);
  stroke-width: 3;
}

.progress-ring__fill {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 628;
  stroke-dashoffset: 628;
  transition: stroke-dashoffset 2s cubic-bezier(.4,0,.2,1);
}

.progress-ring__fill.animated {
  stroke-dashoffset: 0;
}

.big-circle-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.big-num {
  font-size: 52px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -.03em;
}

.big-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
}

.circle-caption {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-align: center;
}

/* ─── TEAM ─── */
#team {
  background:
    linear-gradient(rgba(22,24,28,.75), rgba(22,24,28,.75)),
    url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&w=1920&q=75') center/cover no-repeat fixed;
}

#team .section-header { max-width: 1200px; margin: 0 auto 64px; }

.team-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.team-card {
  border-left: 3px solid var(--gold);
  padding-left: 28px;
}

.team-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.team-role {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.team-creds {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-creds li {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.team-creds li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 11px;
  top: 1px;
}

/* ─── PARTNERS ─── */
#partners {
  background:
    linear-gradient(rgba(22,24,28,.74), rgba(22,24,28,.74)),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&w=1920&q=75') center/cover no-repeat fixed;
}

#partners .section-header { max-width: 1200px; margin: 0 auto 64px; }

.partners-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 40px;
}

.partner-name {
  font-size: 13px;
  color: rgba(255,255,255,.60);
  line-height: 1.5;
  border-left: 2px solid rgba(200,151,58,.4);
  padding-left: 14px;
  transition: color .2s, border-color .2s;
}

.partner-name:hover {
  color: var(--white);
  border-color: var(--gold);
}

/* ─── FEATURES ─── */
#features { background: var(--white); }

#features .section-header { max-width: 1200px; margin: 0 auto 64px; text-align: center; }
#features .section-header .gold-divider { margin: 20px auto; }

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.feature-card {
  text-align: center;
  padding: 40px 24px;
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: transform .35s ease, background .3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.12) rotate(6deg);
  background: var(--gold-light);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.feature-card h3 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ─── SERVICES ─── */
#services { background: var(--light-bg); }

#services .inner { max-width: 1200px; margin: 0 auto; }

.services-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.services-list {
  list-style: none;
  counter-reset: svc;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services-list li {
  counter-increment: svc;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

.services-list li::before {
  content: counter(svc, decimal-leading-zero);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .05em;
  min-width: 28px;
  margin-top: 2px;
}

.tc-list {
  margin-top: 32px;
  padding: 28px;
  background: var(--dark);
  border-left: 3px solid var(--gold);
}

.tc-list h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.tc-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-list ul li {
  font-size: 13px;
  color: rgba(255,255,255,.70);
  padding-left: 14px;
  position: relative;
}

.tc-list ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 11px;
}

.cert-box {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  padding: 28px;
  margin-top: 24px;
}

.cert-box p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
}

.cert-box strong { color: var(--text-dark); }

.standards-box {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--gold);
  background: rgba(200,151,58,.05);
}

.standards-box p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ─── VALUES ─── */
#values {
  background:
    linear-gradient(rgba(20,22,26,.75), rgba(20,22,26,.75)),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&w=1920&q=75') center/cover no-repeat fixed;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  counter-reset: value-counter;
}

.value-card {
  grid-column: span 2;
  counter-increment: value-counter;
  padding: 36px 32px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.10);
  border-top: 2px solid var(--gold);
  transition: background .3s, transform .3s;
  position: relative;
}

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

.value-card:hover {
  background: rgba(255,255,255,.04);
  transform: translateY(-3px);
}

.value-card::before {
  content: "0" counter(value-counter);
  display: block;
  font-size: 44px;
  font-weight: 800;
  color: rgba(200,151,58,.22);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -.03em;
}

.value-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
  text-shadow: 0 1px 8px rgba(0,0,0,.8);
}

.value-card p {
  font-size: 13px;
  color: rgba(255,255,255,.90);
  line-height: 1.85;
  text-shadow: 0 1px 6px rgba(0,0,0,.75);
}

/* ─── CONTACT ─── */
#contact { background: var(--white); }

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.contact-form .subtitle {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 40px;
}

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

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 0;
  padding: 14px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }

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

.btn-send {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  transition: background .2s;
  margin-top: 8px;
}

.btn-send:hover { background: #b07e28; }

.contact-info { padding-top: 80px; }

.contact-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 36px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.contact-block-text small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.contact-block-text p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

.contact-block-text a {
  color: var(--text-mid);
  text-decoration: none;
  transition: color .2s;
}

.contact-block-text a:hover { color: var(--gold); }

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  padding: 40px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255,255,255,.4);
  transition: color .2s;
  display: flex;
  align-items: center;
}

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

.footer-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes expandWidth {
  from { width: 0; opacity: 0; }
  to   { width: 48px; opacity: 1; }
}

@keyframes circlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,151,58,0); }
  50%       { box-shadow: 0 0 0 16px rgba(200,151,58,.12); }
}

/* Hero entrance — plays immediately on load */
.hero-content .hero-brand-line { animation: fadeInUp .7s ease both; }
.hero-content h1               { animation: fadeInUp .8s .15s ease both; }
.hero-content .gold-divider    { animation: expandWidth .6s .3s ease both; width: 0; }
.hero-content p:nth-of-type(1) { animation: fadeInUp .7s .35s ease both; }
.hero-content p:nth-of-type(2) { animation: fadeInUp .7s .45s ease both; }
.hero-content .hero-badge      { animation: fadeInUp .7s .55s ease both; }
.scroll-down                 { animation: fadeInUp .7s .9s ease both; }

/* Scroll-reveal base states */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity .65s ease, transform .65s ease;
}

/* Visible state — added by JS IntersectionObserver */
.reveal.visible,
.reveal-left.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* Gold divider reveal (expands width instead of translating) */
.gold-divider.reveal {
  transform: none;
  width: 0;
  transition: width .65s ease, opacity .4s ease;
}

.gold-divider.reveal.visible { width: 48px; opacity: 1; }

/* Stagger delays for grid children */
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .18s; }
.delay-3 { transition-delay: .28s; }
.delay-4 { transition-delay: .38s; }
.delay-5 { transition-delay: .48s; }
.delay-6 { transition-delay: .58s; }

/* ─── RESPONSIVE ─── */
/* ════════════════════════════════
   Hamburger — hidden by default (desktop)
════════════════════════════════ */
.nav-hamburger { display: none; }

/* ════════════════════════════════
   TABLET  ≤ 900px
════════════════════════════════ */
@media (max-width: 900px) {
  section  { padding: 72px 28px; }
  #hero    { padding: 0; }
  #stats   { padding: 40px 28px; }

  .hero-inner   { flex-direction: column; padding: 110px 28px 64px; gap: 40px; }
  .hero-content { max-width: 100%; }
  .hero-visual  { min-width: unset; width: 100%; }
  .hero-rings   { width: 240px; height: 240px; }

  .stats-inner   { grid-template-columns: 1fr; gap: 40px; padding: 40px 32px; }
  .values-grid   { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .value-card    { grid-column: span 2 !important; }

  .pillars-grid, .team-grid, .features-grid,
  .services-cols, .contact-inner,
  .partners-grid, .cooperation-timeline,
  .consortium-cols { grid-template-columns: 1fr; gap: 24px; }

  /* На планшеті cob-grid — 2 колонки (є місце) */
  .cob-grid { grid-template-columns: 1fr 1fr; gap: 16px 20px; }

  footer { flex-direction: column; gap: 20px; text-align: center; }
  #team, #partners, #values, #stats,
  #cooperation, #consortium { background-attachment: scroll; }
}

/* ════════════════════════════════
   MOBILE  ≤ 768px  — hamburger menu
════════════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 0 20px; height: 68px; }
  .nav-logo img  { height: 42px; width: 42px; }
  .nav-logo-sub  { display: none; }

  /* Show hamburger */
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    z-index: 1001;
    flex-shrink: 0;
  }
  .nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
  }
  .nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  /* Hide nav links — slide down when .open */
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 0;
    box-shadow: 0 12px 40px rgba(0,0,0,.14);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform .32s ease, opacity .25s ease;
    z-index: 1000;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links li { width: 100%; }
  .nav-links a  {
    display: block;
    padding: 13px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,.06);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .lang-toggle { margin-left: 10px; }

  /* Всі грід-лейаути → 1 колонка */
  .pillars-grid, .team-grid, .features-grid,
  .services-cols, .contact-inner,
  .partners-grid, .cooperation-timeline,
  .consortium-cols, .values-grid { grid-template-columns: 1fr; gap: 20px; }

  /* COB: 1 колонка — текст не обрізається */
  .cob-grid { grid-template-columns: 1fr !important; gap: 12px; }

  /* Values: reset nth-child overrides */
  .value-card { grid-column: 1 !important; }

  /* Перенос довгих слів */
  p, li, h2, h3, h4 { overflow-wrap: break-word; word-break: break-word; }

  /* Hero */
  .hero-inner   { padding: 100px 20px 56px; justify-content: flex-start; }
  .hero-content { max-width: 100%; width: 100%; }
  .hero-visual  { display: none; }
  .hero-content h1 { font-size: clamp(26px, 8vw, 40px); }

  /* Stats */
  .stats-inner  { padding: 28px 20px; gap: 28px; }
  .stat-item    { font-size: 12px; }

  /* Section headers */
  .section-header h2 { font-size: clamp(20px, 6vw, 30px); }

  /* Footer */
  footer { flex-direction: column; gap: 16px; text-align: center; padding: 36px 20px; }
}

/* ════════════════════════════════
   SMALL PHONES  ≤ 480px
════════════════════════════════ */
@media (max-width: 480px) {
  section { padding: 56px 18px; }
  #stats  { padding: 36px 18px; }
  #hero   { padding: 0; }

  /* Hero */
  .hero-inner {
    padding: 96px 18px 56px;
    justify-content: flex-start;
  }
  .hero-content { max-width: 100%; width: 100%; }
  .hero-brand-line { flex-wrap: wrap; gap: 6px; }
  .hero-brand-name { font-size: 12px; }
  .hero-brand-label{ font-size: 11px; }
  .hero-content h1 { font-size: clamp(26px, 9vw, 40px); }
  .hero-content p  { font-size: 14px; }
  .hero-badge      { font-size: 11px; padding: 11px 22px; }
  .hero-visual     { display: none; }

  /* About */
  .pillar { padding: 22px 18px; }

  /* Stats */
  .stats-inner   { padding: 24px 18px; gap: 28px; border-radius: 10px; }
  .stats-left h2 { font-size: 22px; }
  .stat-num      { font-size: 20px; min-width: 64px; }
  .stat-item     { font-size: 12px; gap: 12px; }
  .big-circle-wrap     { width: 200px; height: 200px; }
  .big-circle-wrap svg { width: 200px; height: 200px; }
  .big-num             { font-size: 42px; }
  .circle-caption      { font-size: 11px; }

  /* Team */
  .team-card { padding: 24px 18px; }

  /* Partners */
  .partners-grid { grid-template-columns: 1fr; gap: 10px; }
  .cob-grid      { grid-template-columns: 1fr; gap: 14px; }

  /* Cooperation */
  .coop-year { font-size: 30px; }

  /* Features */
  .feature-card { padding: 24px 18px; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; gap: 12px; }
  .value-card  { grid-column: 1 !important; padding: 24px 18px; }
  .value-card::before { font-size: 32px; margin-bottom: 14px; }

  /* Services */
  .services-list { padding-left: 14px; }
  .tc-list, .cert-box, .standards-box { padding: 20px 18px; }

  /* Section headers */
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: clamp(20px, 7vw, 30px); }

  /* Footer */
  footer { padding: 36px 18px; }
}

/* ─── LANG TOGGLE ─── */
.lang-toggle { display: flex; gap: 0; border: 1px solid rgba(200,151,58,.35); margin-left: 24px; }
.lang-btn { padding: 6px 14px; font-size: 11px; font-weight: 700; letter-spacing: .12em; cursor: pointer; background: none; border: none; color: var(--text-muted); font-family: 'Montserrat', sans-serif; transition: all .2s; }
.lang-btn.active { background: var(--gold); color: var(--white); }

/* ─── CONFORMITY BODIES SUB-SECTION IN PARTNERS ─── */
.partners-section-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 64px auto 0; max-width: 1200px; }
.cob-grid { max-width: 1200px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 40px; }
.cob-name { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; border-left: 2px solid rgba(200,151,58,.3); padding-left: 14px; transition: color .2s, border-color .2s; }
.cob-name:hover { color: var(--white); border-color: var(--gold); }

/* ─── COOPERATION TIMELINE ─── */
#cooperation { background: var(--light-bg); }
.cooperation-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; max-width: 1200px; margin: 0 auto; }
.coop-item { padding-top: 8px; }
.coop-year { font-size: 40px; font-weight: 800; color: var(--gold); letter-spacing: -.03em; line-height: 1; margin-bottom: 16px; }
.coop-bar { width: 36px; height: 2px; background: var(--gold); margin-bottom: 20px; opacity: .6; }
.coop-item h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dark); margin-bottom: 12px; }
.coop-item p { font-size: 13px; color: var(--text-mid); line-height: 1.8; }

/* ─── CONSORTIUM ─── */
#consortium {
  background: var(--white);
  border-top: 1px solid rgba(200,151,58,.15);
  border-bottom: 1px solid rgba(200,151,58,.15);
}
#consortium .section-header p { color: var(--text-mid); font-size: 15px; line-height: 1.8; }
.consortium-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.consortium-col h4 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--gold); margin-bottom: 20px;
}
.consortium-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.consortium-list li {
  font-size: 14px; color: var(--text-mid); line-height: 1.7;
  padding-left: 20px; position: relative;
}
.consortium-list li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}
.consortium-note {
  font-size: 13px; color: var(--text-mid); line-height: 1.8;
  font-style: italic; border-left: 2px solid rgba(200,151,58,.4);
  padding-left: 16px; margin-top: 8px;
}

