/* ============================================================
   CENTRS.EU — Premium Redesign + WOW Animations
   ============================================================ */

:root {
  --navy-deep: #0a1628;
  --navy-mid: #1e3a5f;
  --navy-light: #2c5282;
  --gold: #c5a55a;
  --gold-light: #d4b96b;
  --gold-pale: rgba(197,165,90,0.12);
  --slate: #2d3748;
  --slate-mid: #4a5568;
  --slate-light: #718096;
  --gray-100: #f7f8fa;
  --gray-200: #edf2f7;
  --gray-300: #e2e8f0;
  --white: #ffffff;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --section-pad: 108px;
  --container-max: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;font-size:16px;}
body{font-family:var(--font-body);color:var(--slate);background:var(--white);line-height:1.7;-webkit-font-smoothing:antialiased;overflow-x:hidden;}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;transition:color 0.3s var(--ease);}
ul{list-style:none;}

/* ── Custom Cursor ─────────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  margin: -4px 0 0 -4px;
  transition: transform 0.08s, width 0.25s var(--ease-spring), height 0.25s var(--ease-spring), background 0.25s;
  will-change: transform;
}
.cursor-dot.cursor-grow { width: 16px; height: 16px; margin: -8px 0 0 -8px; background: rgba(197,165,90,0.6); }

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(197,165,90,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  margin: -18px 0 0 -18px;
  will-change: transform;
  transition: width 0.35s var(--ease-spring), height 0.35s var(--ease-spring), margin 0.35s var(--ease-spring), border-color 0.25s;
}
.cursor-ring.cursor-grow { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: rgba(197,165,90,0.3); }

/* ── Scroll Progress Bar ───────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 10001;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.1s linear;
  box-shadow: 0 0 12px rgba(197,165,90,0.6);
}

/* ── Container ─────────────────────────────────────────────── */
.container{max-width:var(--container-max);margin:0 auto;padding:0 2rem;}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
}

.btn-primary { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); box-shadow: 0 8px 24px rgba(197,165,90,0.45); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* Ripple */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  animation: ripple-expand 0.65s var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes ripple-expand {
  from { opacity: 1; transform: scale(0); }
  to { opacity: 0; transform: scale(1); }
}

/* ── Section Primitives ────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.875rem;
  position: relative;
}
.section-label::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width 0.5s var(--ease-out);
}
.animated .section-label::after,
.section-label.animated::after { width: 100%; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-subtitle { font-size: 1.0625rem; color: var(--slate-mid); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.section-header { text-align: center; margin-bottom: 4rem; }

/* ── Scroll Animations ─────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  will-change: opacity, transform;
}
[data-animate="fade-up"]    { transform: translateY(48px); }
[data-animate="fade-right"] { transform: translateX(-48px); }
[data-animate="fade-left"]  { transform: translateX(48px); }
[data-animate="scale"]      { transform: scale(0.88); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-spring) !important; }
[data-animate="cascade"]    { transform: translateX(-56px) scale(0.96); transition-duration: 0.42s; }

[data-animate].animated {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,22,40,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.site-header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.4); background: rgba(10,22,40,0.99); }

.header-inner { display:flex; align-items:center; justify-content:space-between; height:72px; gap:1.5rem; }
.logo img { height:42px; width:auto; transition: opacity 0.3s; }
.logo:hover img { opacity:0.8; }

.main-nav ul { display:flex; gap:0.125rem; }
.main-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border-radius: 4px;
  transition: all 0.3s var(--ease);
  position: relative;
}
.main-nav a::after {
  content:'';
  position:absolute;
  bottom: 4px; left: 0.875rem; right: 0.875rem;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav a.active { color: var(--gold); }

.header-right { display:flex; align-items:center; gap:1.5rem; flex-shrink:0; }
.lang-switcher { display:flex; gap:0.125rem; }
.lang-switcher a {
  padding: 0.3125rem 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.6875rem; font-weight:700; letter-spacing:0.08em;
  color: rgba(255,255,255,0.45);
  border-radius:3px; border:1px solid transparent;
  transition:all 0.25s var(--ease);
}
.lang-switcher a:hover { color:var(--gold); border-color:rgba(197,165,90,0.3); }
.lang-switcher a.active { color:var(--gold); border-color:rgba(197,165,90,0.4); background:rgba(197,165,90,0.08); }

.hamburger { display:none; flex-direction:column; justify-content:space-between; width:26px; height:18px; background:none; border:none; cursor:pointer; padding:0; }
.hamburger span { display:block; width:100%; height:2px; background:rgba(255,255,255,0.85); border-radius:2px; transition:all 0.35s var(--ease); transform-origin:center; }
.hamburger.open span:nth-child(1) { transform:translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.hamburger.open span:nth-child(3) { transform:translateY(-8px) rotate(-45deg); }

.mobile-nav {
  display:none; position:fixed; top:72px; left:0; right:0; z-index:998;
  background:var(--navy-deep);
  border-bottom:1px solid rgba(255,255,255,0.08);
  padding:1.5rem 2rem 2rem;
  pointer-events:none; opacity:0; transform:translateY(-12px);
  transition:opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-nav.visible { display:block; }
.mobile-nav.open { pointer-events:all; opacity:1; transform:translateY(0); }
.mobile-nav ul { margin-bottom:1.5rem; }
.mobile-nav ul li { border-bottom:1px solid rgba(255,255,255,0.06); }
.mobile-nav ul li a { display:block; padding:1rem 0; font-family:var(--font-heading); font-size:0.9375rem; font-weight:700; color:rgba(255,255,255,0.8); letter-spacing:0.05em; text-transform:uppercase; }
.mobile-nav ul li a:hover { color:var(--gold); }
.mobile-nav .lang-switcher { gap:0.5rem; padding-top:0.5rem; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position:relative; min-height:100vh; display:flex; align-items:center;
  background-color:var(--navy-deep);
  background-image:url('lv/files/galvena/back-image-narrow.jpg');
  background-size:cover; background-position:center 30%;
  overflow:hidden;
}
#hero-canvas {
  position:absolute; inset:0; width:100%; height:100%;
  pointer-events:none; z-index:1;
}
.hero-overlay {
  position:absolute; inset:0; z-index:2;
  background:linear-gradient(135deg, rgba(10,22,40,0.94) 0%, rgba(10,22,40,0.72) 60%, rgba(30,58,95,0.68) 100%);
}
.hero .container { position:relative; z-index:3; padding-top:120px; padding-bottom:100px; }
.hero-content { max-width:700px; }

/* Hero entrance animations */
.hero-eyebrow {
  font-family:var(--font-heading); font-size:0.75rem; font-weight:700;
  letter-spacing:0.15em; text-transform:uppercase; color:var(--gold);
  margin-bottom:1.5rem;
  opacity:0; transform:translateX(-24px);
  transition:opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.hero-eyebrow.anim-in { opacity:0.9; transform:translateX(0); }

.hero-title {
  font-family:var(--font-heading);
  font-size:clamp(2.25rem, 5vw, 4rem);
  font-weight:800; color:var(--white);
  line-height:1.1; margin-bottom:1.5rem;
}

/* Individual word animation */
.hero-word {
  display:inline-block;
  opacity:0; transform:translateY(32px);
  transition:opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.hero-word.anim-in { opacity:1; transform:translateY(0); }

.hero-subtitle {
  font-size:1.0625rem; color:rgba(255,255,255,0.68);
  max-width:520px; margin-bottom:2.5rem; line-height:1.8;
  opacity:0; transform:translateY(20px);
  transition:opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.hero-subtitle.anim-in { opacity:1; transform:translateY(0); }

.hero-cta {
  display:flex; flex-wrap:wrap; gap:1rem;
  opacity:0; transform:translateY(20px);
  transition:opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.hero-cta.anim-in { opacity:1; transform:translateY(0); }

.hero-scroll {
  position:absolute; bottom:2.5rem; left:50%; transform:translateX(-50%);
  color:rgba(255,255,255,0.35); animation:scroll-bounce 2.5s ease-in-out infinite; z-index:3;
}
.hero-scroll svg { width:24px; height:24px; display:block; }
@keyframes scroll-bounce {
  0%,100%{transform:translateX(-50%) translateY(0);opacity:0.35;}
  50%{transform:translateX(-50%) translateY(10px);opacity:0.65;}
}

/* ── STATS STRIP ────────────────────────────────────────────── */
.stats-strip { background:var(--gold); padding:3rem 0; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:2rem; text-align:center; }
.stat-number {
  display:block; font-family:var(--font-heading);
  font-size:clamp(1.75rem,3vw,2.5rem); font-weight:800;
  color:var(--navy-deep); line-height:1; margin-bottom:0.5rem;
}
.stat-label { display:block; font-family:var(--font-heading); font-size:0.6875rem; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:rgba(10,22,40,0.65); }

/* ── ABOUT ──────────────────────────────────────────────────── */
.about { padding:var(--section-pad) 0; background:var(--white); }
.about-inner { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:start; }
.about-text .section-title { text-align:left; margin-bottom:1.75rem; }
.about-text p { color:var(--slate-mid); margin-bottom:1.25rem; font-size:1rem; line-height:1.8; }
.about-text p strong { color:var(--navy-deep); font-weight:600; }
.about-text .btn { margin-top:0.75rem; }

.about-highlights { display:flex; flex-direction:column; gap:1.25rem; }
.highlight-card {
  display:grid; grid-template-columns:52px 1fr; gap:1.25rem;
  padding:1.5rem; background:var(--gray-100);
  border-radius:8px; border-left:3px solid var(--gold);
  transition:transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease);
  contain: layout style;
}
.highlight-card:hover { transform:translateX(6px); box-shadow:0 6px 24px rgba(10,22,40,0.08); }
.highlight-icon {
  width:44px; height:44px; display:flex; align-items:center; justify-content:center;
  background:rgba(197,165,90,0.12); border-radius:8px; flex-shrink:0; margin-top:2px;
  transition:background 0.3s var(--ease);
}
.highlight-card:hover .highlight-icon { background:rgba(197,165,90,0.22); }
.highlight-icon svg { width:22px; height:22px; color:var(--gold); stroke:currentColor; fill:none; }
.highlight-card h3 { font-family:var(--font-heading); font-size:0.9375rem; font-weight:700; color:var(--navy-deep); margin-bottom:0.375rem; }
.highlight-card p { font-size:0.875rem; color:var(--slate-mid); line-height:1.65; margin:0; }

/* ── SERVICES ───────────────────────────────────────────────── */
.services { padding:var(--section-pad) 0; background:var(--gray-100); }
.services-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; margin-bottom:3rem; }

.service-card {
  background:var(--white); border-radius:10px;
  padding:1.75rem 1.5rem;
  border:1px solid var(--gray-300);
  transition:border-color 0.3s var(--ease), box-shadow 0.35s var(--ease);
  position:relative; overflow:hidden;
  contain: layout style;
  /* tilt is applied via JS, disable css transition during tilt */
}
.service-card::before {
  content:'';
  position:absolute; bottom:0; left:0; right:0;
  height:3px;
  background:linear-gradient(90deg, var(--gold), var(--gold-light));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform 0.4s var(--ease-out);
}
.service-card:hover::before { transform:scaleX(1); }
.service-card:hover { border-color:rgba(197,165,90,0.35); }

.service-icon { width:44px; height:44px; margin-bottom:1.125rem; transition:transform 0.35s var(--ease-spring); }
.service-card:hover .service-icon { transform:scale(1.15) rotate(-5deg); }
.service-icon svg { width:100%; height:100%; color:var(--gold); stroke:currentColor; fill:none; }
.service-card h3 { font-family:var(--font-heading); font-size:0.9rem; font-weight:700; color:var(--navy-deep); margin-bottom:0.625rem; line-height:1.35; }
.service-card p { font-size:0.8375rem; color:var(--slate-mid); line-height:1.65; }
.services-cta { text-align:center; }

/* ── TEAM ───────────────────────────────────────────────────── */
.team { padding:var(--section-pad) 0; background:var(--white); }
.team-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; }
.team-card {
  background:var(--gray-100); border-radius:12px; overflow:hidden;
  transition:transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease);
  contain: layout style;
}
.team-card:hover { transform:translateY(-8px); box-shadow:0 20px 48px rgba(10,22,40,0.12); }
.team-photo { background:var(--navy-mid); overflow:hidden; }
.team-photo img { width:100%; height:auto; display:block; transition:transform 0.6s var(--ease); }
.team-card:hover .team-photo img { transform:scale(1.03); }
.team-photo.placeholder { height:300px; display:flex; align-items:center; justify-content:center; }
.team-photo.placeholder svg { width:88px; height:88px; color:rgba(255,255,255,0.2); stroke:currentColor; fill:none; }
.team-info { padding:1.75rem; border-top:3px solid var(--gold); }
.team-info h3 { font-family:var(--font-heading); font-size:1.125rem; font-weight:700; color:var(--navy-deep); margin-bottom:0.5rem; }
.team-role { font-size:0.875rem; color:var(--slate-mid); line-height:1.5; }
.team-role.secondary { font-size:0.8125rem; color:var(--slate-light); margin-top:0.25rem; }

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact { padding:var(--section-pad) 0; background:var(--navy-deep); content-visibility:auto; contain-intrinsic-size:0 800px; }
.contact .section-label { color:var(--gold); }
.contact .section-title { color:var(--white); }
.contact .section-header { margin-bottom:3.5rem; }
.contact-inner { display:grid; grid-template-columns:1fr 1.6fr; gap:4rem; align-items:start; }
.contact-details { display:flex; flex-direction:column; gap:1.75rem; }
.contact-item { display:flex; gap:1rem; align-items:flex-start; transition:transform 0.3s var(--ease); }
.contact-item:hover { transform:translateX(4px); }
.contact-icon {
  width:42px; height:42px; flex-shrink:0;
  background:rgba(197,165,90,0.1); border:1px solid rgba(197,165,90,0.2);
  border-radius:8px; display:flex; align-items:center; justify-content:center; margin-top:2px;
  transition:background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact-item:hover .contact-icon { background:rgba(197,165,90,0.18); border-color:rgba(197,165,90,0.4); }
.contact-icon svg { width:18px; height:18px; color:var(--gold); stroke:currentColor; fill:none; }
.contact-item h4 { font-family:var(--font-heading); font-size:0.6875rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--gold); margin-bottom:0.375rem; }
.contact-item p,.contact-item a { font-size:0.9375rem; color:rgba(255,255,255,0.65); line-height:1.7; }
.contact-item a:hover { color:var(--gold); }
.contact-map { border-radius:10px; overflow:hidden; box-shadow:0 12px 48px rgba(0,0,0,0.45); }
#map { width:100%; height:420px; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer { background:#060d1a; padding:5rem 0 0; content-visibility:auto; contain-intrinsic-size:0 500px; }
.footer-inner { display:grid; grid-template-columns:2fr 1fr 1.5fr 1fr; gap:3rem; padding-bottom:4rem; border-bottom:1px solid rgba(255,255,255,0.07); }
.footer-brand img { height:38px; margin-bottom:1.125rem; opacity:0.8; }
.footer-brand p { font-size:0.875rem; color:rgba(255,255,255,0.4); line-height:1.7; }
.footer-col h4 { font-family:var(--font-heading); font-size:0.6875rem; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--gold); margin-bottom:1.25rem; }
.footer-col ul li { margin-bottom:0.625rem; }
.footer-col ul li a { font-size:0.9rem; color:rgba(255,255,255,0.5); transition:color 0.3s var(--ease); }
.footer-col ul li a:hover { color:var(--gold); }
.footer-col p { font-size:0.9rem; color:rgba(255,255,255,0.5); margin-bottom:0.5rem; line-height:1.7; }
.footer-col a { font-size:0.9rem; color:rgba(255,255,255,0.5); display:block; margin-bottom:0.375rem; }
.footer-col a:hover { color:var(--gold); }
.footer-lang-list { display:flex; flex-direction:column; gap:0.375rem; }
.footer-lang-list a { font-size:0.9rem; color:rgba(255,255,255,0.5); padding:0.25rem 0; display:inline-block; transition:color 0.3s var(--ease); }
.footer-lang-list a:hover,.footer-lang-list a.active { color:var(--gold); }
.footer-bottom { padding:1.5rem 0; text-align:center; }
.footer-bottom p { font-size:0.8rem; color:rgba(255,255,255,0.25); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media(max-width:1100px){
  .services-grid{grid-template-columns:repeat(3,1fr);}
  .footer-inner{grid-template-columns:1fr 1fr;gap:2.5rem;}
}
@media(max-width:900px){
  :root{--section-pad:72px;}
  .main-nav{display:none;} .hamburger{display:flex;}
  .about-inner{grid-template-columns:1fr;gap:3rem;}
  .services-grid{grid-template-columns:repeat(2,1fr);}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:2.5rem;}
  .team-grid{grid-template-columns:repeat(2,1fr);}
  .contact-inner{grid-template-columns:1fr;gap:3rem;}
}
@media(max-width:600px){
  :root{--section-pad:56px;}
  .container{padding:0 1.25rem;}
  .section-title{font-size:clamp(1.125rem,5.5vw,1.5rem);}
  .hero-title{font-size:2rem;}
  .hero-subtitle{font-size:0.9375rem;}
  .hero-cta{flex-direction:column;}
  .hero-cta .btn{text-align:center;justify-content:center;}
  .services-grid{grid-template-columns:1fr;gap:1rem;}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:1.5rem;}
  .team-grid{grid-template-columns:1fr;max-width:380px;margin:0 auto;}
  .highlight-card{grid-template-columns:1fr;gap:1rem;}
  .footer-inner{grid-template-columns:1fr;gap:2rem;}
  .contact-details{gap:1.5rem;}
  #map{height:300px;}
  /* Disable custom cursor on touch */
  .cursor-dot,.cursor-ring{display:none;}
}

/* ============================================================
   SUBPAGES — Page Hero Banner
   ============================================================ */
.page-hero {
  position: relative;
  padding: 160px 0 72px;
  background-color: var(--navy-deep);
  background-image: url('lv/files/galvena/back-image-narrow.jpg');
  background-size: cover;
  background-position: center 40%;
  overflow: hidden;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.95) 0%, rgba(30,58,95,0.88) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .hero-eyebrow {
  font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem; opacity: 0.9;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--white); line-height: 1.15;
}

/* ── SUBPAGE CONTENT WRAPPER ── */
.subpage-section { padding: var(--section-pad) 0; background: var(--white); }
.subpage-section.bg-light { background: var(--gray-100); }

/* ── SERVICES ACCORDION ── */
.accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.accordion-item {
  background: var(--white); border: 1px solid var(--gray-300);
  border-radius: 8px; overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.accordion-item.open { border-color: rgba(197,165,90,0.4); box-shadow: 0 4px 20px rgba(10,22,40,0.08); }
.accordion-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1.375rem 1.75rem;
  background: none; border: none; cursor: pointer; text-align: left;
  gap: 1rem;
}
.accordion-trigger-text {
  display: flex; align-items: center; gap: 1rem;
}
.accordion-trigger .acc-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--gold-pale);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease);
}
.accordion-item.open .acc-icon { background: rgba(197,165,90,0.2); }
.accordion-trigger .acc-icon svg { width: 18px; height: 18px; color: var(--gold); stroke: currentColor; fill: none; }
.accordion-trigger h3 {
  font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 700;
  color: var(--navy-deep); line-height: 1.3;
}
.accordion-chevron {
  width: 20px; height: 20px; flex-shrink: 0; color: var(--slate-light);
  transition: transform 0.35s var(--ease), color 0.3s;
}
.accordion-chevron svg { width: 100%; height: 100%; stroke: currentColor; fill: none; }
.accordion-item.open .accordion-chevron { transform: rotate(180deg); color: var(--gold); }

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.accordion-item.open .accordion-body { grid-template-rows: 1fr; }
.accordion-body-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 1.75rem 0;
  border-top: 0px solid var(--gray-200);
  transition: padding 0.45s var(--ease), border-width 0s 0.45s;
}
.accordion-item.open .accordion-body-inner {
  padding: 1.25rem 1.75rem 1.75rem;
  border-top-width: 1px;
  transition: padding 0.45s var(--ease), border-width 0s;
}
.accordion-body-inner p { font-size: 0.9375rem; color: var(--slate-mid); line-height: 1.8; margin-bottom: 0.75rem; }
.accordion-body-inner p:last-child { margin-bottom: 0; }

/* Service intro */
.services-intro {
  background: var(--navy-deep); border-radius: 10px; padding: 2rem 2.5rem;
  margin-bottom: 3rem; border-left: 4px solid var(--gold);
}
.services-intro p { color: rgba(255,255,255,0.75); font-size: 1rem; line-height: 1.8; }
.services-intro strong { color: var(--gold); font-weight: 600; }

/* ── TEAM (subpage) ── */
.team-subpage { padding: var(--section-pad) 0; background: var(--white); }

/* ── CONTACT SUBPAGE ── */
.contact-subpage { padding: var(--section-pad) 0; background: var(--white); }
.contact-subpage-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info-block { background: var(--navy-deep); border-radius: 12px; padding: 2.5rem; }
.contact-info-block .contact-item { margin-bottom: 1.75rem; }
.contact-info-block .contact-item:last-child { margin-bottom: 0; }
.contact-info-block .contact-icon { background: rgba(197,165,90,0.1); border-color: rgba(197,165,90,0.2); }
.contact-info-block h4 { color: var(--gold); font-family: var(--font-heading); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.375rem; }
.contact-info-block p,.contact-info-block a { color: rgba(255,255,255,0.65); font-size: 0.9375rem; line-height: 1.7; }
.contact-info-block a:hover { color: var(--gold); }

.contact-form-block h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 0.5rem; }
.contact-form-block > p { color: var(--slate-mid); margin-bottom: 2rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-mid); margin-bottom: 0.5rem; }
.form-control {
  width: 100%; padding: 0.875rem 1.125rem;
  background: var(--gray-100); border: 1.5px solid var(--gray-300);
  border-radius: 6px; font-family: var(--font-body); font-size: 0.9375rem; color: var(--slate);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  outline: none;
}
.form-control:focus { border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(197,165,90,0.15); }
.form-control::placeholder { color: var(--slate-light); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── CONTACT MAP ── */
.contact-map-full { margin-top: 4rem; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 32px rgba(10,22,40,0.1); }
#mapContacts { width: 100%; height: 420px; }

/* ── NEWS / JAUNUMI ── */
.news-section { padding: var(--section-pad) 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.news-card {
  background: var(--white); border: 1px solid var(--gray-300);
  border-radius: 10px; overflow: hidden;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease);
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(10,22,40,0.1); border-color: rgba(197,165,90,0.35); }
.news-card-image { height: 220px; overflow: hidden; background: var(--gray-200); }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.news-card:hover .news-card-image img { transform: scale(1.05); }
.news-card-body { padding: 1.5rem; }
.news-card-date { font-family: var(--font-heading); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.625rem; }
.news-card-body h3 { font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 0.5rem; line-height: 1.35; }
.news-card-body p { font-size: 0.875rem; color: var(--slate-mid); line-height: 1.65; }
.news-card-link { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 1rem; font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold); transition: gap 0.25s var(--ease); }
.news-card-link:hover { gap: 0.625rem; }

.empty-state { text-align: center; padding: 5rem 2rem; color: var(--slate-light); }
.empty-state svg { width: 64px; height: 64px; margin: 0 auto 1.5rem; color: var(--gray-300); stroke: currentColor; fill: none; }
.empty-state h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--slate-mid); margin-bottom: 0.5rem; }
.empty-state p { font-size: 0.9375rem; }

/* ============================================================
   REDUCED MOTION — disable all transitions / animations
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-animate] { opacity: 1 !important; transform: none !important; }
  .hero-eyebrow, .hero-word, .hero-subtitle, .hero-cta {
    opacity: 1 !important; transform: none !important;
  }
  .scroll-progress { transition: none !important; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── RESPONSIVE subpages ── */
@media(max-width:900px) {
  .contact-subpage-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:600px) {
  .form-row { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .accordion-trigger { padding: 1.125rem 1.25rem; }
  .accordion-body-inner { padding: 1rem 1.25rem 1.25rem; }
}
