/* ═══════════════════════════════════════════
   SMART TEAM KFT. — Site Styles
   Power & Precision
═══════════════════════════════════════════ */

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

:root {
  --green:       #0A7A60;
  --green-dark:  #0A6B54;
  --green-light: #0D9E78;
  --green-pale:  #EDF7F3;
  --gold:        #B8820A;
  --ink:         #1A1410;
  --white:       #FFFFFF;
  --cream:       #F5F2EC;
  --off:         #EDE8DE;
  --gray-100:    #E4DFD5;
  --gray-200:    #D6CFC0;
  --gray-400:    #8A8478;
  --gray-600:    #4A4540;
  --border:      rgba(26,20,16,0.09);
  --hex-color:   #C4BAA2;
  --radius:      12px;
  --transition:  .22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Raleway', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── UTILITY ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── HEX GRID ── */
.hex-bg {
  position: relative;
  overflow: hidden;
}
.hex-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='27' height='31.18'%3E%3Cpath d='M9 4.39L18 9.79V20.59L9 25.98L0 20.59V9.79Z' fill='none' stroke='%23C4BAA2' stroke-width='0.6' transform='translate(0,7.79)'/%3E%3Cpath d='M9 4.39L18 9.79V20.59L9 25.98L0 20.59V9.79Z' fill='none' stroke='%23C4BAA2' stroke-width='0.6' transform='translate(13.5,-7.79)'/%3E%3Cpath d='M9 4.39L18 9.79V20.59L9 25.98L0 20.59V9.79Z' fill='none' stroke='%23C4BAA2' stroke-width='0.6' transform='translate(13.5,23.39)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
}
.hex-bg > * { position: relative; z-index: 1; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 60px;
  background: rgba(245,242,236,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
}
.nav__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo svg { width: 32px; height: 26px; flex-shrink: 0; }
.nav__logo-text {}
.nav__brand {
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
  line-height: 1;
}
.nav__sub {
  font-weight: 400; font-size: 7px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green); margin-top: 3px;
}
.nav__links {
  display: flex; gap: 28px; list-style: none;
}
.nav__links a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  color: rgba(0,0,0,0.55); transition: color var(--transition);
}
.nav__links a:hover,
.nav__links a.active { color: var(--green); }
.nav__cta {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); background: var(--green);
  padding: 9px 20px; border-radius: 5px;
  transition: opacity var(--transition);
}
.nav__cta:hover { opacity: .85; }
.nav__burger {
  display: none; background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__burger span {
  display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── FOOTER ── */
.footer {
  background: var(--ink);
  padding: 40px 0 32px;
}
.footer__inner {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 32px;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer__brand { font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); }
.footer__sub   { font-weight: 400; font-size: 7px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-light); margin-top: 3px; }
.footer__desc  { font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.45); line-height: 1.7; margin-top: 12px; }
.footer__heading { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 14px; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer__links a:hover { color: var(--green-light); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__copy { font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.3); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer__legal a:hover { color: var(--green-light); }

/* ── SECTION SHARED ── */
.section { padding: 88px 0; }
.section--off { background: var(--off); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); }

.eyebrow {
  font-size: 9px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green); margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 22px; height: 0.5px; background: var(--green); flex-shrink: 0; }
.eyebrow--light { color: var(--green-light); }
.eyebrow--light::before { background: var(--green-light); }

h1, h2, h3 { letter-spacing: -0.01em; line-height: 1.1; }
h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.5vw, 38px); font-weight: 800; margin-bottom: 44px; }
h2 em { font-style: normal; font-weight: 300; color: var(--green); }
h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Raleway', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 26px; border-radius: 5px; border: none; cursor: pointer;
  transition: opacity var(--transition), border-color var(--transition), color var(--transition);
}
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { opacity: .85; }
.btn--outline { background: transparent; color: var(--ink); border: 0.5px solid rgba(0,0,0,0.2); }
.btn--outline:hover { border-color: var(--green); color: var(--green); }
.btn--outline-light { background: transparent; color: rgba(255,255,255,0.7); border: 0.5px solid rgba(255,255,255,0.2); }
.btn--outline-light:hover { border-color: var(--green-light); color: var(--green-light); }

/* ── CERT BADGES ── */
.cert-list { display: flex; gap: 8px; flex-wrap: wrap; }
.cert {
  font-size: 8px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 12px;
  border: 0.5px solid rgba(10,122,96,0.3); color: var(--green);
}
.cert--light { border-color: rgba(13,158,120,0.3); color: var(--green-light); }

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  border: 0.5px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.product-card__tag {
  font-size: 8px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green); margin-bottom: 10px;
}
.product-card__name { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.product-card__desc { font-size: 12px; font-weight: 500; line-height: 1.65; color: var(--gray-600); margin-bottom: 18px; }
.product-card__specs { display: flex; flex-direction: column; }
.spec-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; padding: 6px 0;
  border-bottom: 0.5px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-row__key { color: var(--gray-400); font-weight: 400; }
.spec-row__val { font-weight: 700; color: var(--green); }

/* ── ICON BOX ── */
.icon-box {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  border: 0.5px solid rgba(10,122,96,0.2); background: rgba(10,122,96,0.04);
  display: flex; align-items: center; justify-content: center;
}

/* ── FORM ── */
.form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 8.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-400); }
.field input, .field select, .field textarea {
  background: var(--white); border: 0.5px solid var(--gray-200);
  border-radius: 6px; padding: 11px 13px;
  font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 400; color: var(--ink);
  outline: none; transition: border-color var(--transition);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field textarea { resize: vertical; min-height: 100px; }
.field select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A9490' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--cream);
    border-top: 0.5px solid var(--border);
    padding: 36px 32px 32px;
    gap: 0; z-index: 99;
    overflow-y: auto;
  }
  .nav__links.open li { border-bottom: 0.5px solid var(--border); }
  .nav__links.open li:last-child { border-bottom: none; }
  .nav__links.open a {
    display: block;
    font-size: 17px; font-weight: 500;
    color: var(--ink); letter-spacing: 0.04em;
    padding: 16px 0;
  }
  .nav__links.open a:hover,
  .nav__links.open a.active { color: var(--green); }
  .nav__links.open + .nav__cta-mobile {
    display: block;
    margin-top: 28px;
    text-align: center;
  }
  /* Show CTA inside open menu */
  .nav__links.open::after {
    content: 'GET A QUOTE';
    display: block;
    margin-top: 28px;
    background: var(--green);
    color: var(--white);
    text-align: center;
    padding: 14px 24px;
    border-radius: 5px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
    cursor: pointer;
  }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  h2 { margin-bottom: 28px; }
  .section { padding: 60px 0; }
}

/* ── LANG SWITCH ── */
.lang-switch {
  display: flex; align-items: center; gap: 6px;
}
.lang-switch a {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  color: rgba(0,0,0,0.35); transition: color var(--transition);
  text-decoration: none;
}
.lang-switch a.active { color: var(--green); }
.lang-switch a:hover  { color: var(--green); }

/* ── NAV BURGER OPEN STATE ── */
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
