/* ============================================================
   TEENUSE EKSPERT — Shared Stylesheet
   Brand: Bebas Neue (headings) + Inter (body)
   Colors: #1A1A18 black | #FFFFFF white | #F4F4F2 light bg
   ============================================================ */

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

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

:root {
  --black:      #1A1A18;
  --white:      #ffffff;
  --bg-light:   #F4F4F2;
  --grey:       #8A8A88;
  --grey-dark:  #4A4A48;
  --border:     #E0E0DE;
  --nav-h:      72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--black);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, .brand {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  letter-spacing: 0.04em;
  line-height: 1;
}

p { line-height: 1.7; }

a { color: inherit; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--nav-h);
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-link svg { width: 32px; height: 44px; }
.logo-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 19px;
  letter-spacing: 0.12em;
  color: var(--white);
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 3px;
  transition: all 0.2s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active { color: var(--white); background: rgba(255,255,255,0.08); }

.nav-btn {
  background: var(--white) !important;
  color: var(--black) !important;
  font-weight: 700 !important;
  padding: 9px 20px !important;
  margin-left: 8px;
  border-radius: 3px;
}
.nav-btn:hover { background: #e8e8e6 !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--black);
  padding: 20px 24px 32px;
  z-index: 998;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-nav a:last-child {
  margin-top: 12px;
  background: var(--white);
  color: var(--black);
  text-align: center;
  padding: 14px;
  border-radius: 3px;
  border: none;
}

/* ===== PAGE OFFSET ===== */
.page-body { padding-top: var(--nav-h); }

/* ===== HERO ===== */
.hero {
  min-height: 92vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  transition: opacity 0.6s;
}
.hero-body {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}
.hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 10vw, 130px);
  line-height: 0.92;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sub-page hero (shorter) */
.hero-sub-page {
  min-height: 55vh;
}
.hero-sub-page .hero-title {
  font-size: clamp(50px, 8vw, 100px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 3px;
  transition: all 0.22s;
  cursor: pointer;
  border: none;
}
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: #e8e8e6; transform: translateY(-2px); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: #2e2e2c; transform: translateY(-2px); }

.btn-outline-black {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn-outline-black:hover { background: var(--black); color: var(--white); }

/* ===== SECTION LAYOUT ===== */
.section { padding: 96px 48px; }
.section-sm { padding: 64px 48px; }
.section-dark { background: var(--black); color: var(--white); }
.section-light { background: var(--bg-light); }

.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 860px; margin: 0 auto; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 12px;
}
.section-label-white { color: rgba(255,255,255,0.4); }

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 76px);
  letter-spacing: 0.03em;
  line-height: 1;
}
.section-title-white { color: var(--white); }

.section-desc {
  font-size: 17px;
  color: var(--grey-dark);
  max-width: 560px;
  margin-top: 16px;
  line-height: 1.7;
}
.section-desc-white { color: rgba(255,255,255,0.6); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== SERVICE CARDS GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  background: #ccc;
}
.service-card {
  position: relative;
  aspect-ratio: 0.85;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.sc-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
}
.service-card:hover .sc-img { transform: scale(1.06); }
.sc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,24,0.92) 0%, rgba(26,26,24,0.4) 45%, transparent 100%);
  transition: background 0.3s;
}
.service-card:hover .sc-overlay {
  background: linear-gradient(to top, rgba(26,26,24,0.96) 0%, rgba(26,26,24,0.6) 55%, rgba(26,26,24,0.15) 100%);
}
.sc-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0 28px 32px;
  z-index: 1;
}
.sc-num {
  position: absolute;
  top: 24px;
  left: 28px;
  z-index: 1;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  color: rgba(255,255,255,0.22);
  line-height: 1;
  margin-bottom: 0;
}
.sc-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 8px;
}
.sc-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.sc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s;
}
.service-card:hover .sc-link { opacity: 1; transform: translateY(0); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--black);
  padding: 64px 48px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}

/* ===== FEATURE CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--black);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.feature-icon {
  width: 46px;
  height: 46px;
  background: var(--black);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px;
  color: var(--grey-dark);
  line-height: 1.65;
}

/* ===== FRACTION CARDS (Killustik page) ===== */
.fraction-section { padding: 80px 48px; }
.fraction-section + .fraction-section { padding-top: 0; }

.fraction-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto 4px;
  overflow: hidden;
  background: var(--black);
}
.fraction-block.reverse { direction: rtl; }
.fraction-block.reverse > * { direction: ltr; }

.fraction-img {
  aspect-ratio: 1.4;
  background-size: cover;
  background-position: center;
  min-height: 320px;
}
.fraction-body {
  background: var(--white);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fraction-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 10px;
}
.fraction-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  line-height: 1;
}
.fraction-desc {
  font-size: 15px;
  color: var(--grey-dark);
  line-height: 1.7;
  margin-bottom: 20px;
}
.fraction-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  background: var(--bg-light);
  color: var(--grey-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 2px;
  text-transform: uppercase;
}

/* ===== PRICE TABLE ===== */
.price-table-wrap { overflow-x: auto; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.price-table th {
  background: var(--black);
  color: var(--white);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 20px;
  text-align: left;
}
.price-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--grey-dark);
}
.price-table tr:hover td { background: var(--bg-light); }
.price-table .price-val {
  font-weight: 700;
  color: var(--black);
  font-size: 16px;
}
.price-table .badge {
  display: inline-block;
  background: var(--bg-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  color: var(--grey-dark);
}
.price-note {
  font-size: 13px;
  color: var(--grey);
  margin-top: 16px;
  line-height: 1.6;
}

/* ===== PRODUCT CARDS (Liiv & Muld) ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3px;
  background: #ddd;
}
.product-card {
  background: var(--white);
  padding: 40px;
  position: relative;
  transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.08); z-index: 1; }
.product-card-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  color: var(--bg-light);
  line-height: 1;
  margin-bottom: -8px;
}
.product-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.product-card-desc {
  font-size: 14px;
  color: var(--grey-dark);
  line-height: 1.65;
}
.product-card-uses {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-use-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--grey-dark);
}
.use-dot {
  width: 6px;
  height: 6px;
  background: var(--black);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

/* ===== PROCESS STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  counter-reset: steps;
}
.step-item {
  padding: 40px;
  border-right: 1px solid var(--border);
  position: relative;
  counter-increment: steps;
}
.step-item:last-child { border-right: none; }
.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 60px;
  color: var(--bg-light);
  line-height: 1;
  margin-bottom: 4px;
}
.step-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.step-desc { font-size: 14px; color: var(--grey-dark); line-height: 1.65; }

/* ===== EQUIPMENT CARDS ===== */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3px;
  background: var(--black);
}
.equip-card {
  background: #222220;
  padding: 40px;
  color: var(--white);
  transition: background 0.2s;
}
.equip-card:hover { background: #2e2e2c; }
.equip-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  color: var(--white);
}
.equip-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'Inter', sans-serif;
}
.faq-q:hover { color: var(--grey-dark); }
.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-icon svg { transition: transform 0.3s; }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
  padding: 0;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 24px;
}
.faq-a p { font-size: 15px; color: var(--grey-dark); line-height: 1.7; }

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--black);
  color: var(--white);
  padding: 100px 48px;
  text-align: center;
}
.contact-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(50px, 8vw, 110px);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 20px;
}
.contact-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin: 0 auto 52px;
}
.contact-grid {
  display: flex;
  gap: 64px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.contact-item {}
.ci-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}
.ci-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}
.ci-value a { color: inherit; text-decoration: none; }
.ci-value a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
.site-footer {
  background: #111110;
  padding: 36px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-logo svg { width: 26px; height: 35px; }
.footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-links {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 3px;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.75); }

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: var(--border);
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 28px;
}
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.breadcrumb span { color: rgba(255,255,255,0.6); }

/* ===== SPLIT SECTION ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.split-img {
  aspect-ratio: 1.1;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .fraction-block { grid-template-columns: 1fr; }
  .fraction-block.reverse { direction: ltr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .site-header { padding: 0 20px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .section { padding: 64px 20px; }
  .section-sm { padding: 48px 20px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-item { border-bottom: 1px solid var(--border); border-right: none; }
  .contact-section { padding: 72px 20px; }
  .contact-grid { gap: 36px; }
  .site-footer { padding: 28px 20px; flex-direction: column; align-items: flex-start; }
  .fraction-body { padding: 36px 24px; }
  .stats-bar { padding: 48px 20px; }
  .fraction-section { padding: 48px 20px; }
}

@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 52px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
