:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #f59e0b;
  --contrast: #111827;
  --border: #e2e8f0;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: center;
  background: url("./webassets/4412-Front-221101.JPG") center / cover no-repeat;
  color: #fff;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.4));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0;
  max-width: 700px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--accent);
}

h1,
h2 {
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.hero-subtitle {
  font-size: 1.15rem;
  margin: 0.25rem 0 0.5rem;
  font-weight: 600;
}

.hero-text {
  color: #e2e8f0;
  margin-bottom: 1.5rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  transition: 160ms ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cards-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 2rem auto;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.4rem 0;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.media-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 2rem auto;
}

.media-panel article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
}

.media-panel img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.section-heading {
  margin: 2.5rem 0 1rem;
}

.section-heading p {
  color: var(--muted);
  max-width: 58ch;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.gallery-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.gallery-item a {
  display: block;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-item p {
  margin: 0;
  padding: 0.7rem 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.listing-source {
  margin: 2rem auto 3rem;
  color: var(--muted);
}

.listing-source a {
  color: var(--primary-dark);
}

.contact-band {
  background: linear-gradient(120deg, var(--contrast), #1f2937);
  color: #fff;
  padding: 2rem 0;
}

.contact-content {
  display: grid;
  gap: 1rem;
  align-items: center;
  grid-template-columns: 1.4fr 1fr;
}

.btn-contrast {
  background: var(--accent);
  color: #111827;
}

.btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hit-counter-footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.7rem;
  color: var(--muted);
}

.hit-counter-footer span:not(:empty)::before {
  content: "Page views: ";
}

@media (max-width: 768px) {
  .hero {
    min-height: 62vh;
  }

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