/* BGN Networks: modest professional styling */

:root {
  --color-bg: #f7f8fa;
  --color-surface: #ffffff;
  --color-text: #1a2332;
  --color-text-muted: #5a6578;
  --color-primary: #1e4d7b;
  --color-primary-dark: #163a5f;
  --color-accent: #2d8f6f;
  --color-border: #e2e6ec;
  --color-header: #0f1c2e;
  --shadow-sm: 0 1px 3px rgba(15, 28, 46, 0.06);
  --shadow-md: 0 4px 20px rgba(15, 28, 46, 0.08);
  --radius: 8px;
  --max-width: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */

.site-header {
  background: var(--color-header);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.5rem;
  padding-block: 0.5rem;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.logo span {
  font-weight: 400;
  opacity: 0.85;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  border-bottom-color: var(--color-accent);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
}

/* Hero */

.hero {
  background: linear-gradient(160deg, var(--color-header) 0%, #1a3352 100%);
  color: #fff;
  padding: 4.5rem 0 5rem;
}

.hero-inner {
  max-width: 38rem;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  font-weight: 700;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1rem;
}

.hero-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1.75rem;
}

/* Sections */

section h2 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  color: var(--color-text);
}

.heading-caps {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.35rem;
  line-height: 1.35;
}

.services {
  padding: 4rem 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.service-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.gallery {
  padding: 4rem 0;
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.gallery-intro {
  color: var(--color-text-muted);
  margin: -0.75rem 0 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.coverage {
  padding: 3.5rem 0;
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.coverage h2 {
  margin-bottom: 0.75rem;
}

.coverage p {
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
  max-width: 42rem;
}

.area-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.area-tags li {
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-muted);
}

.about {
  padding: 4rem 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-text p {
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.highlights {
  list-style: none;
  margin: 0;
  padding: 0;
}

.highlights li {
  padding: 0.65rem 0 0.65rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.cta {
  padding: 4rem 0;
  text-align: center;
}

.cta-inner h2 {
  margin-bottom: 0.5rem;
}

.cta-inner p {
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}

/* Page header */

.page-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 2.5rem 0;
}

.page-header h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
}

.page-header p {
  margin: 0;
  color: var(--color-text-muted);
}

/* Contact */

.contact-section {
  padding: 3rem 0 4rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-details h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.contact-list {
  margin: 0 0 1.25rem;
}

.contact-list div {
  margin-bottom: 1rem;
}

.contact-list dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}

.contact-list dd {
  margin: 0;
  font-size: 1rem;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.botcheck {
  display: none;
}

.form-status {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-status.success {
  color: var(--color-accent);
}

.form-status.error {
  color: #b33;
}

.contact-form .btn {
  width: 100%;
}

.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.legal-section {
  padding: 2.5rem 0 4rem;
}

.legal-content {
  max-width: 42rem;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--color-text-muted);
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}

/* Footer */

.site-footer {
  background: var(--color-header);
  color: rgba(255, 255, 255, 0.75);
  padding: 2rem 0;
  margin-top: auto;
}

.footer-inner {
  text-align: center;
  font-size: 0.9rem;
}

.footer-brand {
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}

.footer-tagline {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
}

.footer-legal {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-links {
  margin: 0 0 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.footer-contact {
  margin: 0 0 0.75rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-divider {
  margin: 0 0.5rem;
  opacity: 0.4;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.55;
}

/* Mobile */

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 5.5rem;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-header);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-inner {
    position: relative;
  }

  .about-inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 0 3.5rem;
  }
}
