/* H5 Equipment — dark industrial theme */

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

:root {
  --bg: #0f1419;
  --surface: #1a2332;
  --surface-hover: #222d3f;
  --text: #e8eaed;
  --text-muted: #9aa0a6;
  --accent: #4a9eff;
  --accent-hover: #6bb0ff;
  --border: #2a3544;
  --header-height: 4rem;
  --container-max: 75rem;
  --section-padding: clamp(3rem, 5vw, 6rem);
  --font-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --font-h1: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  --font-h2: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
  --font-h3: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  font-size: var(--font-body);
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  border-radius: 0 0 0.375rem 0.375rem;
}

.skip-link:focus {
  top: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(15, 20, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

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

/* Navigation */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  cursor: pointer;
  color: var(--text);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  flex-direction: column;
  background: rgba(15, 20, 25, 0.97);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
}

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

.site-nav a {
  display: block;
  padding: 0.875rem clamp(1rem, 3vw, 2rem);
  color: var(--text-muted);
  font-weight: 500;
  min-height: 2.75rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
  background: rgba(74, 158, 255, 0.08);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 0.25rem;
    background: transparent;
    border: none;
    padding: 0;
  }

  .site-nav a {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    min-height: auto;
  }
}

/* Sections */
.section {
  padding-block: var(--section-padding);
}

.section-alt {
  background: var(--surface);
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}

.section-header h2 {
  font-size: var(--font-h2);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.2rem);
}

/* Hero */
.hero {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: center;
  padding-block: var(--section-padding);
  background: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    rgba(74, 158, 255, 0.12) 0%,
    transparent 70%
  );
}

.hero-content {
  max-width: 48rem;
}

.hero h1 {
  font-size: var(--font-h1);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.375rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 36rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--bg);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm {
  min-height: 2.5rem;
  padding: 0.5rem 1.125rem;
  font-size: 0.9375rem;
}

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.section-alt .service-card {
  background: var(--surface-hover);
}

.service-card:hover {
  border-color: rgba(74, 158, 255, 0.4);
  transform: translateY(-2px);
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.service-card h3 {
  font-size: var(--font-h3);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.service-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.service-badge-bookable {
  background: rgba(74, 158, 255, 0.15);
  color: var(--accent);
}

.service-badge-contact {
  background: rgba(154, 160, 166, 0.15);
  color: var(--text-muted);
}

/* About */
.about-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-intro {
    grid-column: 1 / -1;
  }
}

.about-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: clamp(1.25rem, 2vw, 2rem);
}

.section-alt .about-block {
  background: var(--bg);
}

.about-block h3 {
  font-size: var(--font-h3);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.about-block p {
  color: var(--text-muted);
}

.about-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.about-block li {
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.about-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.375rem;
  height: 0.375rem;
  background: var(--accent);
  border-radius: 50%;
}

/* Booking */
.booking-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 1024px) {
  .booking-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.booking-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.section-alt .booking-card {
  background: var(--surface-hover);
}

.booking-card-header {
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border-bottom: 1px solid var(--border);
}

.booking-card-header h3 {
  font-size: var(--font-h3);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.booking-card-header p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Contact */
.contact-layout {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: minmax(16rem, 22rem) 1fr;
    align-items: start;
  }
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: clamp(1.25rem, 2vw, 2rem);
}

.section-alt .contact-info {
  background: var(--bg);
}

.contact-info h3 {
  font-size: var(--font-h3);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.phone-number {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.phone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Embeds */
.embed-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  min-height: 28rem;
}

.section-alt .embed-container {
  background: var(--bg);
}

.embed-container iframe {
  display: block;
  width: 100%;
  min-height: 28rem;
  border: none;
}

.embed-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 28rem;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  gap: 0.75rem;
}

.embed-placeholder code {
  font-size: 0.8125rem;
  background: var(--surface-hover);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  color: var(--accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: clamp(2rem, 4vw, 3rem);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-brand {
  font-weight: 700;
  color: var(--text);
}

.footer-phone a {
  color: var(--text-muted);
}

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

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

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
