:root {
  --blue: #0094B9;
  --blue-dark: #00728F;
  --blue-deep: #0A3A47;
  --blue-tint: #E6F5F9;
  --orange: #FFA200;
  --orange-dark: #E68F00;
  --ink: #142430;
  --muted: #4F6069;
  --bg: #FFFFFF;
  --bg-soft: #F4F9FB;
  --border: #E1EAED;
  --success: #12784A;
  --error: #C93A3A;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(20, 36, 48, 0.06), 0 2px 4px rgba(20, 36, 48, 0.04);
  --shadow: 0 5px 14px -10px rgba(20, 36, 48, 0.30), 0 2px 6px -4px rgba(20, 36, 48, 0.12);
  --ring: 0 0 0 3px rgba(0, 148, 185, 0.35);
  --font-head: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible,
button:focus-visible { border-radius: 999px; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Background: a single restrained wash anchored behind the hero */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--blue-tint) 0%, transparent 34%),
    var(--bg);
}
.bg-decor::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 55%, var(--orange) 55%, var(--orange) 100%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-icon { border-radius: 8px; }

.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn .icon { width: 18px; height: 18px; fill: currentColor; }

.btn-primary {
  background: var(--orange);
  color: #1a1305;
  box-shadow: 0 8px 20px -8px rgba(255, 162, 0, 0.55);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }

.btn-outline {
  background: #fff;
  color: var(--blue-dark);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.btn-sm { padding: 11px 22px; font-size: 0.9rem; min-height: 44px; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 64px 0 40px; text-align: center; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--blue-deep);
  background: #fff;
  border: 1px solid var(--border);
  padding: 7px 16px 7px 13px;
  border-radius: 999px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 162, 0, 0.55);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 162, 0, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(255, 162, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 162, 0, 0); }
}

.hero-logo {
  width: 220px;
  height: auto;
  margin: 0 auto 28px;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 20px;
  color: var(--ink);
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.trust-strip {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-strip li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-strip strong {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--blue-dark);
}

.trust-strip span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* About strip */
.about {
  padding: 8px 0 72px;
}

.about-inner {
  max-width: 760px;
  text-align: center;
}

.about p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.about strong { color: var(--ink); }

/* Certifications */
.certs {
  padding: 0 0 72px;
}

.certs-inner {
  text-align: center;
}

.certs-label {
  max-width: 460px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 0.98rem;
}

.certs-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cert-logo {
  height: 90px;
  width: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 10px 16px;
}

@media (max-width: 520px) {
  .cert-logo { height: 70px; }
}

/* Contact section */
.contact {
  background: var(--bg-soft);
  padding: 80px 0 96px;
  border-top: 1px solid var(--border);
}

.section-heading { text-align: center; max-width: 520px; margin: 0 auto 48px; }

.section-heading h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin: 12px 0;
}

.section-heading p { color: var(--muted); margin: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

a.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}

.contact-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg { width: 22px; height: 22px; fill: var(--blue-dark); }

.contact-text { display: flex; flex-direction: column; gap: 2px; }
.contact-text strong { font-family: var(--font-head); font-size: 0.95rem; }
.contact-text span { color: var(--muted); font-size: 0.92rem; }

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.contact-socials a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.contact-socials svg { width: 20px; height: 20px; fill: currentColor; }

.contact-socials a:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}

/* Form */
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.optional { font-weight: 400; color: var(--muted); }
.req { color: var(--orange-dark); font-weight: 700; }

.form-note {
  margin: 0 0 18px;
  font-size: 0.82rem;
  color: var(--muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: #7A8891; }

.form-row input:focus,
.form-row textarea:focus,
.form-row input:focus-visible,
.form-row textarea:focus-visible {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: var(--ring);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  margin: 14px 0 0;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}

.form-status.success { color: var(--success); }
.form-status.error { color: var(--error); }

/* Footer */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--ink);
}

/* Responsive */
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero { padding: 44px 0 32px; }
  .hero-logo { width: 170px; }
  .trust-strip { gap: 28px; }
  .contact-form { padding: 24px; }
}

/* Motion: staggered hero entrance. Initial hidden state lives inside
   no-preference, so reduced-motion and no-JS/print contexts stay visible. */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * {
    opacity: 0;
    animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .hero-inner > *:nth-child(1) { animation-delay: 0.04s; }
  .hero-inner > *:nth-child(2) { animation-delay: 0.10s; }
  .hero-inner > *:nth-child(3) { animation-delay: 0.16s; }
  .hero-inner > *:nth-child(4) { animation-delay: 0.22s; }
  .hero-inner > *:nth-child(5) { animation-delay: 0.28s; }
  .hero-inner > *:nth-child(6) { animation-delay: 0.34s; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
