@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/inter-300.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-400.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-500.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-600.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-700.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/inter-800.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/inter-900.ttf') format('truetype'); }

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
li { list-style: none; }
img { max-width: 100%; display: block; }
p { margin-bottom: 1rem; font-size: 1rem; line-height: 1.7; color: #475569; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: #0f172a; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-bottom: 0.5rem; }
h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }

/* ---- Variables ---- */
:root {
  --red: #d20a11;
  --red-dark: #a80810;
  --dark: #0d1117;
  --dark-2: #131925;
  --dark-3: #1e2a3a;
  --white: #ffffff;
  --gray-100: #f8fafc;
  --gray-200: #f1f5f9;
  --gray-300: #e2e8f0;
  --gray-500: #94a3b8;
  --gray-600: #64748b;
  --gray-800: #1e293b;
  --nakivo-blue: #018abc;
  --barracuda-blue: #0088ce;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.25s ease;
}

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

@media (min-width: 1500px) {
  .container { max-width: 1400px; }
}
@media (min-width: 1900px) {
  .container { max-width: 1700px; }
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.text-center { text-align: center; }
.text-red { color: var(--red); }

/* ---- Section Label ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background: var(--red);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(210,10,17,0.3);
}
.btn-primary i { font-size: 0.8rem; transition: transform 0.2s; }
.btn-primary:hover i { transform: translateX(3px); }

/* backwards-compat alias */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background: var(--red);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.btn:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
}

/* ==============================================================
   TOP BAR
   ============================================================== */
#topbar {
  background: var(--dark-2);
  height: 2.75rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.topbar-contacts a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  transition: color 0.2s;
}
.topbar-contacts a:hover { color: var(--white); }
.topbar-hours {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
}
.topbar-contacts i, .topbar-hours i {
  color: var(--red);
  font-size: 0.7rem;
}

/* ==============================================================
   HEADER
   ============================================================== */
#header {
  position: fixed;
  top: 2.75rem;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: background 0.3s, box-shadow 0.3s;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-300);
}
#header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header-inner {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 2.25rem; width: auto; }

#main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
#main-nav a {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: var(--radius);
  transition: var(--transition);
  letter-spacing: 0.2px;
}
#main-nav a:hover { color: var(--red); background: var(--gray-100); }
#main-nav .nav-cta {
  background: var(--red);
  color: white;
  margin-left: 0.5rem;
  font-weight: 600;
}
#main-nav .nav-cta:hover {
  background: var(--red-dark);
  color: white;
}

/* Hamburger */
#hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 1.6rem;
  height: 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
#hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
}
#hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile Nav Drawer */
#mobile-nav {
  position: fixed;
  top: 6.75rem;
  left: 0;
  width: 100%;
  background: var(--white);
  z-index: 998;
  display: flex;
  flex-direction: column;
  padding: 1rem 2rem 2rem;
  gap: 0.25rem;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  pointer-events: none;
}
#mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
#mobile-nav a {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: var(--radius);
  transition: var(--transition);
}
#mobile-nav a:hover { color: var(--red); background: var(--gray-100); }
#mobile-nav .nav-cta {
  background: var(--red);
  color: white;
  text-align: center;
  margin-top: 0.75rem;
  border-radius: var(--radius);
}
#mobile-nav .nav-cta:hover { background: var(--red-dark); color: white; }

#nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 997;
}
#nav-overlay.show { display: block; }

/* ==============================================================
   FOOTER
   ============================================================== */
#footer {
  background: var(--dark-2);
  padding: 2.5rem 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-inner p { color: rgba(255,255,255,0.45); font-size: 0.78rem; margin: 0; }
.footer-inner a { color: rgba(255,255,255,0.35); font-size: 0.72rem; }
.footer-inner a:hover { color: rgba(255,255,255,0.7); }

/* ==============================================================
   RESPONSIVE
   ============================================================== */
@media (max-width: 900px) {
  #main-nav { display: none; }
  #hamburger { display: flex; }
}

@media (max-width: 900px) {
  .topbar-contacts a span { display: none; }
  .topbar-inner { padding: 0 1rem; }
  .topbar-contacts i, .topbar-hours i { font-size: 1rem; }
  .topbar-contacts a { gap: 0; padding: 0 0.15rem; }
}

@media (max-width: 600px) {
  .section { padding: 4rem 0; }
  .section-sm { padding: 2.5rem 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 3rem 0; }
  .section-sm { padding: 2rem 0; }
  .btn-primary, .btn { padding: 0.7rem 1.4rem; font-size: 0.82rem; }
}
