/*
Theme Name:  Auto Serviss
Theme URI:   https://yourdomain.com
Author:      Your Name
Author URI:  https://yourdomain.com
Description: A custom one-page theme for Auto Serviss — a modern, high-performance car service business site. Industrial dark aesthetic with bold typography and smooth section navigation.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: autoserviss
Tags:        one-page, business, dark, automotive
*/

/* ============================================================
   TABLE OF CONTENTS
   ─────────────────────────────────────────────────────────
   1.  CSS Variables (Design Tokens)
   2.  Reset & Base
   3.  Typography
   4.  Navigation (Sticky One-Page Nav)
   5.  Hero Section
   6.  Section Shared Styles
   7.  Services Section
   8.  Price List Section
   9.  Gallery Section
   10. About Us Section
   11. Vacancies Section
   12. Location & Contact Section
   13. Footer
   14. Animations & Utilities
   15. Responsive (Mobile-First Breakpoints)
   ============================================================ */


/* ─── 1. CSS VARIABLES ─────────────────────────────────────── */
:root {
  /* Core palette — edit these to restyle the entire site */
  --color-bg:          #0d0f12;       /* Page background */
  --color-surface:     #161a20;       /* Card / section backgrounds */
  --color-surface-2:   #1e242d;       /* Elevated surfaces */
  --color-border:      #2a3140;       /* Subtle borders */
  --color-accent:      #e8821a;       /* Primary orange accent */
  --color-accent-dark: #c46a0d;       /* Hover state for accent */
  --color-accent-glow: rgba(232,130,26,0.18);
  --color-text:        #e8ecf0;       /* Body text */
  --color-text-muted:  #7a8799;       /* Secondary / muted text */
  --color-white:       #ffffff;
  --color-green:       #2ecc71;       /* "Available" badge */
  --color-red:         #e74c3c;       /* "Filled" badge */

  /* Typography */
  --font-display:      'Barlow Condensed', sans-serif;   /* Headlines */
  --font-body:         'DM Sans', sans-serif;            /* Body copy */
  --font-mono:         'JetBrains Mono', monospace;      /* Prices, data */

  /* Spacing scale */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   7rem;
  --space-2xl:  10rem;

  /* Layout */
  --container:  1200px;
  --nav-height: 70px;
  --radius:     6px;
  --radius-lg:  14px;

  /* Shadows */
  --shadow-card:  0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow:  0 0 40px var(--color-accent-glow);

  /* Transitions */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.3s var(--ease);
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--color-accent-dark); }

ul { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* WordPress body class */
.wp-site-blocks { padding: 0; }


/* ─── 3. TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--color-white);
  text-transform: uppercase;
}

/* Section headline pattern: eyebrow + title + underline */
.section-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

/* Accent underline on section titles */
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.75;
}


/* ─── 4. NAVIGATION ────────────────────────────────────────── */
#as-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

/* Scrolled state — added by JS */
#as-nav.scrolled {
  background: rgba(13, 15, 18, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo */
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo span {
  color: var(--color-accent);
}

/* ── Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition);
  padding: 0.25rem 0;
  position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ── Book button in nav */
.nav-cta {
  background: var(--color-accent);
  color: var(--color-bg) !important;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--color-accent-dark) !important;
  transform: translateY(-1px);
}

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

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile menu open state */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ─── 5. HERO SECTION ──────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-bg);
}

/* Background image fills the hero */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-bg.jpg');    /* ← REPLACE with your photo */
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 12s var(--ease) forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.0);  }
}

/* Dark gradient overlay so text is always readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,15,18,0.92) 0%,
    rgba(13,15,18,0.65) 55%,
    rgba(13,15,18,0.30) 100%
  );
}

/* Grid texture for industrial feel */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.08;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
  padding-top: var(--nav-height);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232,130,26,0.15);
  border: 1px solid rgba(232,130,26,0.35);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s var(--ease) 0.2s both;
}

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

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

.hero-title {
  /* ← EDIT: Main headline */
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 800;
  line-height: 0.95;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.4em;
  animation: fadeUp 0.8s var(--ease) 0.35s both;
}

.hero-title em {
  font-style: normal;
  color: var(--color-accent);
  display: block;
}

.hero-subtitle {
  /* ← EDIT: Tagline below headline */
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: var(--space-md);
  animation: fadeUp 0.8s var(--ease) 0.5s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease) 0.65s both;
}

/* Primary CTA button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary:hover {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Secondary / ghost button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--color-border);
  transition: all var(--transition);
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--color-text-muted);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Hero stat strip */
.hero-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  animation: fadeUp 0.8s var(--ease) 0.8s both;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeIn 1s var(--ease) 1.2s both;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ─── 6. SECTION SHARED STYLES ─────────────────────────────── */
.as-section {
  padding: var(--space-xl) 0;
}

.as-section--dark {
  background-color: var(--color-surface);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-header {
  margin-bottom: var(--space-lg);
}

/* Fade-up animation class (triggered by IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: none; }


/* ─── 7. SERVICES SECTION ───────────────────────────────────── */
#services {
  background-color: var(--color-bg);
}

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

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-md) calc(var(--space-md) + 0.5rem);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

/* Accent top-border on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: rgba(232,130,26,0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

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

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-glow);
  border: 1px solid rgba(232,130,26,0.25);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
}

.service-desc {
  /* ← EDIT: Each service description */
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}


/* ─── 8. PRICE LIST SECTION ─────────────────────────────────── */
#pricing {
  background: var(--color-surface);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.pricing-table thead tr {
  border-bottom: 2px solid var(--color-accent);
}

.pricing-table thead th {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0.75rem 1rem;
  text-align: left;
}

.pricing-table thead th:last-child {
  text-align: right;
}

.pricing-table tbody tr {
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.pricing-table tbody tr:last-child {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background: rgba(255,255,255,0.03);
}

.pricing-table td {
  padding: 1rem 1rem;
  vertical-align: middle;
}

.pricing-table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--color-accent);
  white-space: nowrap;
  font-weight: 600;
}

.pricing-table td:nth-child(2) {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.price-category {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-glow);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* Category header row */
.pricing-table .category-row td {
  padding-top: 2rem;
  padding-bottom: 0.5rem;
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}


/* ─── 9. GALLERY SECTION ────────────────────────────────────── */
#gallery {
  background: var(--color-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 240px;
  gap: 1rem;
}

/* Make first and last items span 2 columns on wide screens */
.gallery-item:nth-child(1),
.gallery-item:nth-child(5) {
  grid-column: span 2;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* Overlay on hover */
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,15,18,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Lightbox overlay */
#as-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.93);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

#as-lightbox.open {
  display: flex;
}

#as-lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  cursor: default;
  animation: lightboxIn 0.3s var(--ease);
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.lightbox-close:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg);
}


/* ─── 10. ABOUT US SECTION ──────────────────────────────────── */
#about {
  background: var(--color-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

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

.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

/* Accent frame effect */
.about-image-wrap::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  opacity: 0.4;
  z-index: 0;
}

.about-image-wrap img {
  position: relative;
  z-index: 1;
}

/* Years badge */
.about-years-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  z-index: 2;
  background: var(--color-accent);
  color: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.about-years-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.about-years-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: var(--space-md);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-text);
}

.about-feature::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}


/* ─── 11. VACANCIES SECTION ─────────────────────────────────── */
#vacancies {
  background: var(--color-bg);
}

.vacancies-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vacancy-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  transition: border-color var(--transition), transform var(--transition);
}

.vacancy-card:hover {
  border-color: rgba(232,130,26,0.4);
  transform: translateX(4px);
}

.vacancy-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.vacancy-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.vacancy-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  padding: 0.2rem 0.65rem;
  border-radius: 2rem;
}

.vacancy-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.vacancy-status {
  flex-shrink: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.badge--open {
  background: rgba(46,204,113,0.12);
  color: var(--color-green);
  border: 1px solid rgba(46,204,113,0.3);
}

.badge--open::before { background: var(--color-green); }

.badge--filled {
  background: rgba(231,76,60,0.1);
  color: var(--color-red);
  border: 1px solid rgba(231,76,60,0.25);
}

.badge--filled::before { background: var(--color-red); }


/* ─── 12. LOCATION & CONTACT ────────────────────────────────── */
#contact {
  background: var(--color-surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

/* Map */
.map-container {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(100%) invert(0.85) contrast(1.1);
}

/* Contact info panel */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-block-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--color-accent-glow);
  border: 1px solid rgba(232,130,26,0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-block-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}

.contact-block-value {
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 500;
}

.contact-block-value a {
  color: var(--color-text);
  transition: color var(--transition);
}

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

/* Opening hours grid */
.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.3rem 0.75rem;
  font-size: 0.9rem;
  align-items: center;
}

.hours-day { color: var(--color-text-muted); }
.hours-line {
  height: 1px;
  background: var(--color-border);
}
.hours-time {
  color: var(--color-text);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.hours-closed { color: var(--color-red); font-family: var(--font-mono); font-size: 0.85rem; }


/* ─── 13. FOOTER ────────────────────────────────────────────── */
#as-footer {
  background: #080a0c;
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-logo span { color: var(--color-accent); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--color-accent); }


/* ─── 14. ANIMATIONS & UTILITIES ────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-accent { color: var(--color-accent); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }


/* ─── 15. RESPONSIVE ────────────────────────────────────────── */

/* Tablet — 1024px and below */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image-wrap {
    display: none; /* Hide image on tablet, show text only */
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-container {
    height: 320px;
  }
}

/* Mobile — 768px and below */
@media (max-width: 768px) {
  :root {
    --space-xl: 4.5rem;
    --space-lg: 3rem;
  }

  /* Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(13,15,18,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--color-border);
    gap: 0;
  }

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

  .nav-links a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
  }

  .nav-links a:last-child {
    border-bottom: none;
    margin-top: 0.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero-stats {
    gap: var(--space-md);
    flex-wrap: wrap;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary, .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) {
    grid-column: span 1;
  }

  /* Vacancies */
  .vacancy-card {
    grid-template-columns: 1fr;
  }

  /* About features */
  .about-features {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
}

/* Small mobile — 480px and below */
@media (max-width: 480px) {
  .hero-stat-number { font-size: 1.8rem; }
  .pricing-table td:nth-child(2) { display: none; } /* Hide description on tiny screens */
}
