/* =============================================
   KOBIKO - Biuro Konsultacyjne
   Style główne - profesjonalny consulting UE
   Granat + Biały, czysta typografia
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700&display=swap');

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

:root {
  --navy:       #0F2D52;
  --navy-dark:  #091c33;
  --navy-mid:   #153866;
  --navy-light: #1e4b85;
  --gold:       #c9a84c;
  --gold-light: #e0be78;
  --white:      #ffffff;
  --offwhite:   #f5f6f8;
  --grey-100:   #eaedf2;
  --grey-200:   #d0d6e0;
  --grey-400:   #8a96a8;
  --grey-600:   #4a5568;
  --text-dark:  #1a2533;
  --text-mid:   #3d4f64;
  --text-light: #6b7a8d;
  --shadow-sm:  0 2px 8px rgba(15,45,82,0.10);
  --shadow-md:  0 4px 20px rgba(15,45,82,0.15);
  --shadow-lg:  0 8px 40px rgba(15,45,82,0.20);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy-dark);
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-family: 'Playfair Display', Georgia, serif; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-family: 'Playfair Display', Georgia, serif; }
h3 { font-size: clamp(1.2rem, 2vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p { line-height: 1.75; color: var(--text-mid); }

a {
  color: var(--navy-light);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold); }

/* === LAYOUT UTILITIES === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

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

.section-header .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
  color: var(--navy-dark);
}

.section-header p {
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-light);
}

/* === NAVIGATION === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 28, 51, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* Brand Sheet Pentagram Minimal Luxury Styling */
.brand-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.brand-wordmark .wordmark-title {
  font-family: 'Playfair Display', 'Cormorant Garamond', 'Cinzel', serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  line-height: 1;
}

.brand-wordmark .wordmark-divider {
  width: 100%;
  height: 1px;
  background: rgba(201,168,76,0.4);
  margin: 3px 0 2px;
}

.brand-wordmark .wordmark-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  line-height: 1;
}

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

.navbar-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.navbar-cta {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark) !important;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  margin-left: 8px;
  transition: all var(--transition);
}

.navbar-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
  background: var(--gold-light) !important;
  color: var(--navy-dark) !important;
}

.navbar-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.navbar-lang a {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  color: var(--grey-400);
  border-radius: 4px;
  text-decoration: none;
  transition: all var(--transition);
}

.navbar-lang a:hover,
.navbar-lang a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.navbar-lang a + a {
  border-left: 1px solid rgba(255,255,255,0.15);
  margin-left: 4px;
  padding-left: 12px;
}

/* Hamburger (mobile) */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(30,64,128,0.5) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='rgba(201,168,76,0.06)' stroke-width='1'%3E%3Cpolygon points='300,30 570,170 570,430 300,570 30,430 30,170'/%3E%3Cpolygon points='300,80 520,200 520,400 300,520 80,400 80,200'/%3E%3Cpolygon points='300,130 470,230 470,370 300,470 130,370 130,230'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  border-left: 2px solid var(--gold);
  padding-left: 16px;
}

.hero-stat .num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat .lbl {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.5);
  color: var(--navy-dark);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-navy:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* === SERVICES === */
.services-bg {
  background: var(--offwhite);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--grey-100);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--navy-dark);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

.service-card .service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--grey-100);
  color: var(--navy);
  border-radius: 50px;
}

/* === REFERENCES COUNTER === */
.references-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 72px 0;
}

.references-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.ref-counter {
  text-align: center;
  flex: 0 0 auto;
}

.ref-counter .number {
  font-size: 5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
}

.ref-counter .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}

.ref-categories {
  flex: 1;
  min-width: 300px;
}

.ref-categories h2 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.ref-categories p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}

.ref-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ref-pill {
  padding: 7px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-block;
}

.ref-pill:hover {
  background: rgba(201,168,76,0.2);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* === ABOUT / HISTORY === */
.about-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,0.5);
  font-size: 4rem;
}

.about-image-placeholder p {
  font-size: 1rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  font-weight: 800;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-badge .year {
  font-size: 1.6rem;
  display: block;
  line-height: 1;
}

.about-badge .year-lbl {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.about-content .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 16px;
}

.about-features {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.about-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: rgba(13,37,80,0.08);
  color: var(--navy);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 1px;
}

/* === REFERENCES PAGE GRID === */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.ref-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
}

.ref-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--grey-200);
}

.ref-card .ref-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.ref-card h4 {
  font-size: 1rem;
  color: var(--navy-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}

.ref-card .ref-detail {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.ref-card .ref-year {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  background: var(--grey-100);
  border-radius: 50px;
  color: var(--navy);
  margin-top: 12px;
}

/* === CATEGORIES FILTER === */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  color: var(--text-mid);
  transition: all var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* === CONTACT === */
.contact-section .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 32px;
}

.contact-block {
  background: var(--offwhite);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
}

.contact-block .icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
  display: block;
}

.contact-block strong {
  display: block;
  color: var(--navy-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.contact-block a,
.contact-block span {
  color: var(--text-mid);
  font-size: 0.95rem;
  display: block;
  line-height: 1.5;
}

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

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap h3 {
  margin-bottom: 24px;
  font-size: 1.3rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,37,80,0.08);
}

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

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.05) 0%, transparent 70%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.25); }
.breadcrumb .current { color: rgba(255,255,255,0.8); }

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 560px;
}

/* === STATS BAR === */
.stats-bar {
  background: var(--navy-dark);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 32px 0;
}

.stats-bar .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

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

.stat-item .value {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-item .unit {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
}

.stat-item .stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

/* === FOOTER === */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

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

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

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

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--navy-light);
  transform: translateY(-3px);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-section .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-badge {
    bottom: 20px;
    right: 20px;
  }
  .contact-section .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .navbar-nav,
  .navbar-lang { display: none; }
  .navbar-toggle { display: flex; }
  .hero { padding: 80px 0 72px; min-height: auto; }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 1.6rem; }
  .references-banner .container { 
    flex-direction: column; 
    text-align: center; 
  }
  .ref-counter .number { font-size: 4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .services-grid { grid-template-columns: 1fr; }
  
  /* Mobile nav menu */
  .navbar-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(8,26,58,0.98);
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.9rem; }
  .btn { padding: 12px 22px; font-size: 0.875rem; }
  .contact-form-wrap { padding: 24px 20px; }
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }

/* === UTILITY === */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap;
}
