/* ============================================================
   MKTech Factory s.r.o. — Main Stylesheet
   Color Palette extracted from brand logo
   ============================================================ */

:root {
  --navy:        #141432;
  --navy-dark:   #0D0D26;
  --navy-mid:    #1a1a42;
  --blue:        #0078BE;
  --blue-light:  #1a8fd1;
  --blue-pale:   #e8f4fb;
  --white:       #ffffff;
  --off-white:   #f5f7fa;
  --gray-light:  #e8ecf0;
  --gray:        #8a9ab0;
  --gray-dark:   #4a5568;
  --text-dark:   #1a1a2e;
  --text-body:   #3a4558;

  --font-main:   'Inter', 'Segoe UI', Arial, sans-serif;
  --font-heading:'Inter', 'Segoe UI', Arial, sans-serif;

  --radius:      6px;
  --radius-lg:   12px;
  --shadow:      0 4px 20px rgba(13,13,38,0.12);
  --shadow-lg:   0 8px 40px rgba(13,13,38,0.18);
  --transition:  0.25s ease;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

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

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

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-dark);
  max-width: 600px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,120,190,0.35);
}

.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);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* ============================================================
   LANGUAGE SWITCHER & NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0;
}

#navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo img {
  height: 88px;
  width: auto;
}

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

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 4px 6px;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 14px;
  transition: all var(--transition);
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--blue);
  color: var(--white);
}

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

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--navy);
  padding: 16px 24px 24px;
  gap: 4px;
}

.nav-mobile a {
  color: rgba(255,255,255,0.85);
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-mobile .lang-switcher {
  margin-top: 12px;
  justify-content: flex-start;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/workshop2.webp');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,13,38,0.92) 0%,
    rgba(13,13,38,0.75) 50%,
    rgba(0,120,190,0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,120,190,0.2);
  border: 1px solid rgba(0,120,190,0.4);
  color: var(--blue-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

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

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

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-title .accent { color: var(--blue); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  max-width: 580px;
  line-height: 1.65;
}

.hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

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

.hero-stat-value span { color: var(--blue); }

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about {
  background: var(--white);
}

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

.about-images {
  position: relative;
}

.about-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  height: 420px;
  box-shadow: var(--shadow-lg);
}

.about-img-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}

.about-img-badge .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.about-img-badge .lbl {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.about-content .section-label { margin-bottom: 8px; }

.about-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-highlight-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-highlight-icon svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.about-highlight-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.about-highlight-text span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
#services {
  background: var(--off-white);
}

.services-intro {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  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: var(--blue-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--blue);
}

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

.service-card p {
  font-size: 0.88rem;
  color: var(--gray-dark);
  line-height: 1.65;
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
#products {
  background: var(--navy);
}

#products .section-label { color: var(--blue-light); }
#products .section-title { color: var(--white); }
#products .section-subtitle { color: rgba(255,255,255,0.6); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.product-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition);
  cursor: default;
}

.product-item:hover {
  background: rgba(0,120,190,0.15);
  border-color: rgba(0,120,190,0.4);
  transform: translateX(4px);
}

.product-dot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

.product-item span {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
#process {
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: var(--blue-pale);
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.process-step-num {
  width: 72px;
  height: 72px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 20px;
  border: 3px solid var(--blue);
  transition: all var(--transition);
}

.process-step:hover .process-step-num {
  background: var(--blue);
  transform: scale(1.05);
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.process-step p {
  font-size: 0.83rem;
  color: var(--gray-dark);
  line-height: 1.55;
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
#why-us {
  background: var(--off-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 20px;
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}

.why-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--blue-pale);
}

.why-icon {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon svg {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

.why-text h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.why-text p {
  font-size: 0.87rem;
  color: var(--gray-dark);
  line-height: 1.65;
}

/* ============================================================
   REFERENCES / CLIENTS SECTION
   ============================================================ */
#references {
  background: var(--white);
}

.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 40px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  transition: opacity var(--transition);
  filter: grayscale(100%);
}

.client-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.client-logo-item img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.testimonial-block {
  margin-top: 56px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.testimonial-block::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 32px;
  font-size: 12rem;
  color: rgba(0,120,190,0.15);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.75;
  font-style: italic;
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.testimonial-meta {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-meta-dot {
  width: 32px;
  height: 2px;
  background: var(--blue);
}

.testimonial-meta span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-style: normal;
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
#team {
  background: var(--off-white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 48px auto 0;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--blue-pale);
}

.team-avatar {
  width: 64px;
  height: 64px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -1px;
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.team-card p {
  font-size: 0.87rem;
  color: var(--gray-dark);
  line-height: 1.65;
  margin-bottom: 20px;
}

.team-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--navy);
  transition: color var(--transition);
}

.team-contact a:hover { color: var(--blue); }

.team-contact svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
  flex-shrink: 0;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact {
  background: var(--navy-dark);
}

#contact .section-label { color: var(--blue-light); }
#contact .section-title { color: var(--white); }
#contact .section-subtitle { color: rgba(255,255,255,0.6); }

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

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,120,190,0.15);
  border: 1px solid rgba(0,120,190,0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.contact-info-text strong {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.contact-info-text span,
.contact-info-text a {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: color var(--transition);
}

.contact-info-text a:hover { color: var(--blue-light); }

/* Contact Form */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.93rem;
  font-family: var(--font-main);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  background: rgba(0,120,190,0.08);
}

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

.form-group select option {
  background: var(--navy);
  color: var(--white);
}

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}

.form-success {
  display: none;
  background: rgba(0,190,100,0.1);
  border: 1px solid rgba(0,190,100,0.3);
  border-radius: var(--radius);
  padding: 16px;
  color: #4ade80;
  font-size: 0.9rem;
  margin-top: 16px;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--navy);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

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

.footer-col address {
  font-style: normal;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  line-height: 1.75;
}

.footer-col address a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-col address a:hover { color: var(--blue-light); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

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

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0,120,190,0.4);
}

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

#scroll-top:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

#scroll-top svg { width: 20px; height: 20px; }

/* ============================================================
   SECTION DIVIDER
   ============================================================ */
.divider {
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 16px 0 24px;
}

.divider-center {
  margin: 16px auto 24px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
/* Fade-in animation — elements start visible (no-JS fallback),
   JS adds .js-loaded to body, then hides and animates them */
body.js-loaded .fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .workshop-gallery { grid-template-columns: 1fr !important; }

  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-hamburger { display: flex; }

  .nav-mobile.open { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-badge { right: 16px; bottom: -20px; }

  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 480px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .clients-logos { gap: 24px; }
  .hero-stats { gap: 24px; }
  .contact-form { padding: 24px; }
  .testimonial-block { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .about-highlights { grid-template-columns: 1fr; }
}
