:root {
  --blue-dark: #0b3d5c;
  --blue: #1c6ea4;
  --blue-light: #eaf4fb;
  --text: #1f2a30;
  --text-muted: #5a6b73;
  --white: #ffffff;
  --border: #dbe6ec;
  --radius: 10px;
  --shadow: 0 4px 14px rgba(11, 61, 92, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  color: var(--blue-dark);
  line-height: 1.25;
}

a {
  color: var(--blue);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  max-width: none;
  margin: 0;
  padding: 0 0 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 10px 0;
}

.logo-img {
  height: 76px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 24px;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.nav a:hover {
  color: var(--blue);
}

.nav-cta {
  display: flex;
  align-items: center;
  background: var(--blue-dark);
  color: var(--white) !important;
  padding: 0 32px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--blue);
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
}

.hero-slideshow {
  position: relative;
  height: max(480px, calc(100vh - 97px));
  overflow: hidden;
  background: var(--blue-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 61, 92, 0.88) 0%, rgba(11, 61, 92, 0.45) 45%, rgba(11, 61, 92, 0.1) 75%);
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 72px;
  padding: 0 24px;
}

.hero-content-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--white);
  font-size: 2.4rem;
  max-width: 600px;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
}

.hero-dot.active {
  background: var(--white);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--white);
  color: var(--blue-dark);
}

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

.contact-form .btn-primary {
  background: var(--blue);
  color: var(--white);
}

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

/* Sections */
.section {
  padding: 72px 0;
}

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

.section h2,
.section h1 {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

/* Services */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: left;
}

.service-item {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.service-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.service-body h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.service-body > p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.service-body ul {
  margin: 0;
  padding-left: 20px;
}

.service-body li {
  margin-bottom: 6px;
}

/* Form */
.contact-form {
  max-width: 560px;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-weight: 600;
  font-size: 0.95rem;
}

.form-row input,
.form-row textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-status {
  font-weight: 600;
  min-height: 1.2em;
}

.form-status.success {
  color: #1a7a3d;
}

.form-status.error {
  color: #b3261e;
}

/* Footer */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 24px 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Legal pages */
.legal-content {
  max-width: 720px;
}

.legal-content .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 0;
    gap: 0;
  }

  .logo {
    flex: 1 0 100%;
    justify-content: center;
    padding: 14px 0;
  }

  .logo-img {
    height: 68px;
  }

  .nav {
    flex: 1 1 auto;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 16px;
    background: var(--blue);
  }

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

  .nav a:hover {
    color: rgba(255, 255, 255, 0.8);
  }

  .nav-cta {
    flex: 0 0 auto;
    padding: 14px 20px;
    justify-content: center;
  }

  .hero-slideshow {
    height: max(420px, calc(100vh - 151px));
  }

  .hero-content {
    bottom: 56px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .services-list {
    gap: 32px;
  }

  .service-item {
    padding-bottom: 32px;
  }
}
