/* Core layout & typography */
:root {
  --bg-primary: #ffffff;
  --bg-muted: #f5f7fb;
  --bg-hero: #f0f5ff;
  --text-main: #1a2533;
  --text-muted: #5f6b7a;
  --accent: #0066b3;
  --accent-soft: #e0efff;
  --accent-dark: #004a80;
  --danger: #b00020;
  --border-subtle: #dde3ee;
  --shadow-soft: 0 14px 45px rgba(15, 35, 52, 0.12);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  min-height: 60vh;
}

/* Header & navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221, 227, 238, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-main);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0066b3, #00a2d9);
  color: #fff;
  font-size: 0.88rem;
  box-shadow: 0 10px 25px rgba(0, 102, 179, 0.35);
}

.logo-text {
  white-space: nowrap;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}

.main-nav a {
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.25rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0066b3, #00a2d9);
  transition: width 0.18s ease-out;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.21rem;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out, box-shadow 0.18s ease-out, transform 0.06s ease-out;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0066b3, #00a2d9);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 102, 179, 0.35);
}

.btn-primary:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 102, 179, 0.42);
}

.btn-outline {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent-dark);
}

.btn-outline:hover {
  background: var(--accent-soft);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(0, 102, 179, 0.18);
  color: var(--accent-dark);
}

.btn-ghost:hover {
  background: rgba(0, 102, 179, 0.06);
  text-decoration: none;
}

.primary-cta {
  margin-left: 0.5rem;
}

.full-width {
  width: 100%;
}

/* Hero section */
.hero {
  background: radial-gradient(circle at top left, #e4f1ff 0, #f7f9fc 55%, #ffffff 100%);
  padding: 3.5rem 0 3.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.hero-content p {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.4rem 0 0.9rem;
}

.hero-trust {
  margin-top: 0.8rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(224, 239, 255, 0.85);
  border: 1px solid rgba(0, 102, 179, 0.09);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-image figure {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #000;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image figcaption {
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: #eef3fb;
  background: linear-gradient(0deg, rgba(7, 25, 41, 0.88), rgba(7, 25, 41, 0.55));
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 500;
}

.text-link::after {
  content: "→";
  font-size: 0.9rem;
}

/* Sections & cards */
.section-header {
  text-align: center;
  padding: 2.2rem 0 0.5rem;
}

.section-header h2 {
  margin-bottom: 0.25rem;
}

.section-header p {
  margin-top: 0;
  color: var(--text-muted);
}

.highlights {
  padding: 0.5rem 0 2.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.card {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.3rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(221, 227, 238, 0.85);
  box-shadow: 0 16px 45px rgba(12, 28, 48, 0.05);
}

.card h3 {
  margin-top: 0.2rem;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Newsletter section */
.newsletter {
  background: linear-gradient(135deg, #004a80, #0066b3);
  color: #f4f7fb;
  padding: 2.8rem 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.newsletter h2 {
  color: #fff;
}

.newsletter p {
  color: #e2e8f5;
}

.newsletter-benefits {
  margin: 1.1rem 0 0;
  padding-left: 1.2rem;
}

.newsletter-benefits li {
  margin-bottom: 0.25rem;
}

.newsletter-form-wrapper {
  background: rgba(3, 17, 35, 0.7);
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(145, 179, 224, 0.45);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
}

.newsletter-form .form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.87rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(195, 206, 226, 0.9);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.16s ease-out, box-shadow 0.16s ease-out, background 0.16s ease-out;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(0, 102, 179, 0.18);
  background: #ffffff;
}

.form-hint,
.form-meta {
  font-size: 0.78rem;
  margin-top: 0.23rem;
  color: #c4d2eb;
}

.form-meta {
  margin-top: 0.7rem;
}

.form-success {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: #b9ffcf;
}

.form-error {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: #ffd1d1;
}

.checkbox-group {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem 0.6rem;
  align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.2rem;
}

.checkbox-group label {
  font-size: 0.78rem;
  color: #dde6fb;
}

.checkbox-group a {
  color: #fff;
  text-decoration: underline;
}

/* Trust section */
.trust-section {
  padding: 2.8rem 0 3rem;
  background: var(--bg-muted);
}

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: center;
}

.trust-image img {
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.trust-copy h2 {
  margin-top: 0;
}

.trust-copy p {
  color: var(--text-muted);
}

/* Generic pages */
.page-main {
  padding-bottom: 3rem;
}

.page-hero {
  background: var(--bg-hero);
  padding: 2.4rem 0 2rem;
}

.page-hero.compact {
  padding: 1.8rem 0 1.4rem;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.page-hero-inner p {
  color: var(--text-muted);
}

.page-hero-image img {
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.content-section {
  padding: 2.3rem 0 0;
}

.content-section.shaded {
  background: var(--bg-muted);
  padding-bottom: 2.7rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.two-column h2 {
  margin-top: 0;
}

.two-column p {
  color: var(--text-muted);
}

.check-list {
  padding-left: 1.3rem;
}

.check-list li {
  margin-bottom: 0.25rem;
}

.office {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: #fff;
  box-shadow: 0 10px 32px rgba(13, 44, 80, 0.04);
  margin-bottom: 0.8rem;
}

.office h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
}

.small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Forms (contact) */
.contact-form .form-group {
  margin-bottom: 0.9rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form .checkbox-group label {
  color: var(--text-muted);
}

.contact-form .form-success {
  color: #0b7a33;
}

.contact-form .form-error {
  color: var(--danger);
}

/* Legal pages */
.legal-page .content-section {
  padding-bottom: 2.8rem;
}

.legal-content h2 {
  margin-top: 1.6rem;
}

.legal-content h2:first-of-type {
  margin-top: 0.2rem;
}

.legal-content h3 {
  margin-top: 1.1rem;
}

.legal-content p,
.legal-content ul {
  color: var(--text-muted);
}

.legal-content ul {
  padding-left: 1.3rem;
}

.disclaimer {
  font-size: 0.85rem;
  color: #8c6c00;
  background: #fff8e1;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ffe6a4;
}

/* Footer */
.site-footer {
  background: #071525;
  color: #d6e0f0;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.9fr));
  gap: 2rem;
  padding: 2.1rem 1.5rem 1.7rem;
}

.footer-brand {
  font-size: 0.95rem;
}

.footer-brand .logo-mark {
  margin-bottom: 0.4rem;
}

.footer-tagline {
  margin-top: 0.4rem;
  color: #9eb0cb;
  font-size: 0.88rem;
}

.footer-column h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-column p {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  color: #c0cbe0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.25rem;
}

.footer a {
  color: #f5f7ff;
}

.footer-legal {
  border-top: 1px solid rgba(120, 143, 175, 0.4);
  padding: 0.7rem 0 1.2rem;
  font-size: 0.78rem;
  color: #9eb0cb;
  text-align: center;
}

.footer-meta {
  margin-top: 0.2rem;
  font-size: 0.76rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  justify-content: center;
  padding: 0.7rem 0.75rem 0.9rem;
}

.cookie-inner {
  max-width: 840px;
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 18px 46px rgba(8, 26, 46, 0.35);
  border: 1px solid rgba(0, 102, 179, 0.18);
}

.cookie-inner h2 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

.cookie-inner p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.cookie-actions .btn {
  font-size: 0.85rem;
  padding-inline: 1rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .newsletter-inner,
  .trust-grid,
  .page-hero-inner,
  .two-column,
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero-image {
    order: -1;
  }

  .newsletter {
    padding: 2.2rem 0 2.4rem;
  }

  .newsletter-form-wrapper {
    margin-top: 0.5rem;
  }

  .page-hero {
    padding-top: 2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    border-bottom: 1px solid rgba(221, 227, 238, 0.95);
    transform-origin: top;
    transform: scaleY(0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  }

  .main-nav.open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 0.5rem 1.2rem 0.8rem;
    gap: 0.6rem;
  }

  .primary-cta {
    display: none;
  }

  .hero-grid {
    gap: 1.8rem;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }

  .hero-trust {
    margin-top: 0.6rem;
  }

  .newsletter-form-wrapper {
    padding: 1.1rem 1rem;
  }

  .checkbox-group {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cookie-inner {
    padding-inline: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2.1rem 0 2.3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-inner {
    border-radius: 14px;
  }
}

