@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,400;0,700;0,900;1,700;1,900&display=swap');

:root {
  --red: #CC0000;
  --red-dark: #8B0000;
  --red-glow: rgba(204, 0, 0, 0.3);
  --bg: #0d0d0d;
  --bg-2: #1a1a1a;
  --bg-3: #222222;
  --border: #333;
  --text: #e8e8e8;
  --muted: #888;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(204, 0, 0, 0.16), transparent 24%),
    linear-gradient(180deg, #050505 0%, var(--bg) 28%, #111 100%);
  color: var(--text);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: clamp(15px, 0.35vw + 14px, 16px);
  line-height: 1.45;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  border-radius: 4px;
}

main.page-main {
  padding-bottom: 48px;
}

.container {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
}

.narrow {
  width: min(840px, calc(100% - 24px));
}

.section {
  padding: 32px 0;
}

.section-offset {
  padding-top: 12px;
}

.no-top-padding {
  padding-top: 0;
}

.site-header {
  background: #000;
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  object-fit: cover;
  background: linear-gradient(145deg, #140000, #3b0000);
}

.logo-top {
  font-size: 11px;
  letter-spacing: 6px;
  color: var(--muted);
  text-transform: uppercase;
}

.logo-main {
  font-size: 32px;
  font-weight: 900;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-style: italic;
}

.header-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.header-meta a {
  color: var(--white);
}

.site-nav {
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.95));
}

.nav-shell {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  min-height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 14px 0;
  width: 100%;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

nav a {
  color: var(--text);
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  padding: 0 0 6px;
  font-size: 15px;
}

nav a:hover,
nav a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.hero {
  background: linear-gradient(135deg, #000 0%, #1a0000 50%, #000 100%);
  border-bottom: 3px solid var(--red);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(204, 0, 0, 0.03) 40px, rgba(204, 0, 0, 0.03) 80px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.8fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 10px 0 18px;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  line-height: 0.95;
}

.hero h1 span {
  color: var(--red);
  font-style: italic;
}

.subtitle {
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-text {
  max-width: 720px;
  color: #ccc;
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-card {
  align-self: end;
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.28);
}

.feature-list {
  margin: 0;
  padding: 22px 20px 22px 38px;
  color: #d7d7d7;
}

.feature-list li + li {
  margin-top: 14px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.section-head h1,
.section-head h2 {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.stats-grid,
.cards-grid,
.review-grid,
.employee-grid {
  display: grid;
  gap: 18px;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid,
.review-grid,
.employee-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.page-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.page-grid-wide {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.stack {
  display: grid;
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.98), rgba(17, 17, 17, 0.98));
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.card-header {
  background: var(--bg-3);
  border-bottom: 2px solid var(--red);
  padding: 12px 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
}

.card-body {
  padding: 20px;
}

.stat-block {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
}

.service-preview,
.review-card,
.employee-card {
  height: 100%;
}

.service-preview {
  padding: 20px;
}

.service-preview h3,
.review-card h3,
.service-row h3,
.employee-card h3 {
  margin: 0 0 8px;
}

.service-meta {
  color: var(--red);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: var(--muted);
}

.review-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-top,
.review-meta,
.action-row,
.search-row,
.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.review-text {
  margin: 0;
  line-height: 1.6;
  color: #ddd;
}

.review-meta {
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .full-width {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  min-height: 44px;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 2px var(--red-glow);
}

label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: 20px;
  min-height: 20px;
  margin: 0;
}

.checkbox-label {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}

.btn-red,
.btn-outline,
.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  line-height: 1.1;
}

.btn-red {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-red:hover {
  background: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--red);
  color: #fff;
}

.btn-danger {
  background: #333;
  color: #ff4444;
  border: 1px solid #444;
  cursor: pointer;
}

.btn-small {
  min-height: 44px;
  padding: 10px 14px;
  font-size: 12px;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll table {
  min-width: 760px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: #000;
  border-bottom: 2px solid var(--red);
}

thead th {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 12px;
  text-align: left;
}

tbody tr:hover {
  background: var(--bg-3);
}

tbody td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.empty-row,
.empty-state {
  color: var(--muted);
  text-align: center;
}

.empty-state {
  padding: 32px 20px;
}

.cell-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.badge {
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
}

.badge-pending {
  background: #333;
  color: #aaa;
}

.badge-confirmed {
  background: #1a3a1a;
  color: #4caf50;
}

.badge-in_progress {
  background: #2a1a00;
  color: #ff9800;
}

.badge-done {
  background: #1a1a3a;
  color: #2196f3;
}

.badge-cancelled {
  background: #2a1010;
  color: #f44336;
}

.stars {
  color: var(--red);
  font-size: 18px;
}

.muted-stars {
  color: #4d4d4d;
}

.photo-thumb {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: #111;
}

.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.employee-card {
  display: grid;
  grid-template-columns: 110px 1fr;
}

.employee-photo,
.employee-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  background:
    linear-gradient(150deg, rgba(204, 0, 0, 0.25), transparent 40%),
    linear-gradient(180deg, #111, #1d1d1d);
}

.employee-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: var(--muted);
  font-size: 13px;
}

.employee-body {
  padding: 18px;
}

.employee-position {
  margin-top: 0;
  color: var(--red);
}

.employee-bio {
  color: #ccc;
  line-height: 1.55;
}

.accordion-toggle {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.accordion-toggle:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion-panel {
  display: none;
  border-top: 1px solid var(--border);
}

.accordion-panel.is-open {
  display: block;
}

.service-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.service-row:last-child {
  border-bottom: none;
}

.service-row p {
  margin: 0 0 8px;
  color: #d0d0d0;
}

.service-row-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 180px;
}

.service-price {
  color: var(--red);
  font-size: 20px;
  font-weight: 700;
  text-align: right;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #070707;
  padding: 28px 0 40px;
}

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

.footer-title {
  color: var(--red);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.site-footer p {
  margin: 0 0 6px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero-grid,
  .page-grid,
  .page-grid-wide,
  .stats-grid,
  .footer-grid,
  .employee-card {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-meta {
    justify-content: flex-start;
  }

  .employee-photo,
  .employee-photo-placeholder {
    min-height: 220px;
  }
}

@media (max-width: 720px) {
  .container,
  .narrow {
    width: min(1180px, calc(100% - 20px));
  }

  .section {
    padding: 24px 0;
  }

  .logo-main {
    font-size: 28px;
  }

  .logo-top {
    letter-spacing: 4px;
  }

  .header-meta {
    font-size: 13px;
  }

  .nav-shell {
    display: block;
    padding: 10px 0 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    padding: 0;
  }

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

  .nav-links a {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
  }

  nav a {
    border-bottom-width: 1px;
  }

  .form-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 52px 0 44px;
  }

  .hero-text {
    font-size: 16px;
  }

  .service-row,
  .search-row,
  .review-meta,
  .action-row,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .service-row-side {
    align-items: flex-start;
    min-width: 0;
  }

  .search-row input,
  .search-row button,
  .search-row a,
  .form-actions button,
  .form-actions a,
  .action-row button,
  .action-row a {
    width: 100%;
  }

  .card-body,
  .review-card,
  .service-preview {
    padding: 16px;
  }

  .table-scroll table {
    min-width: 680px;
  }
}

@media (max-width: 480px) {
  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .logo-main {
    font-size: 23px;
  }

  .subtitle {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .hero h1 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .table-scroll table {
    min-width: 620px;
  }
}
