/* Alspire — professional corporate design system */

:root {
  --bg: #f4f6f9;
  --bg-subtle: #eef2f7;
  --surface: #ffffff;
  --text: #0c1222;
  --text-body: #3d4a5c;
  --text-muted: #5c6b7f;
  --accent: #0c4a6e;
  --accent-bright: #0369a1;
  --accent-hover: #075985;
  --accent-tint: #e0f0f9;
  --accent-border: #bae6fd;
  --border: #dce3ed;
  --border-strong: #b8c5d8;
  --border-light: #e8edf4;
  --footer-bg: #0a1628;
  --footer-muted: #8b9cb3;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-xs: 0 1px 2px rgba(12, 18, 34, 0.04);
  --shadow-sm: 0 2px 8px rgba(12, 18, 34, 0.06);
  --shadow-md: 0 8px 24px rgba(12, 18, 34, 0.07);
  --shadow-card: 0 1px 0 rgba(12, 18, 34, 0.04), 0 4px 16px rgba(12, 18, 34, 0.05);
  --max-width: 1100px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg);
  background-image: radial-gradient(
    ellipse 120% 80% at 50% -20%,
    #dbeafe 0%,
    transparent 55%
  );
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.125rem 0;
  flex-wrap: wrap;
}

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

.brand:hover {
  text-decoration: none;
  color: var(--text);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.brand-tagline {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-primary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-primary a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-primary a:hover {
  background: var(--accent-tint);
  color: var(--accent);
  text-decoration: none;
}

.nav-primary a[aria-current="page"] {
  background: var(--accent);
  color: #fff;
}

.nav-primary a[aria-current="page"]:hover {
  background: var(--accent-hover);
  color: #fff;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  background: linear-gradient(
    165deg,
    #ffffff 0%,
    #f8fafc 42%,
    var(--bg-subtle) 100%
  );
  border-bottom: 1px solid var(--border-light);
}

.hero--home {
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
}

.hero--page {
  padding: clamp(2rem, 4vw, 2.85rem) 0;
}

.hero--page h1 {
  max-width: none;
  font-size: clamp(1.7rem, 3.8vw, 2.1rem);
}

.hero--home::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border) 15%,
    var(--border) 85%,
    transparent
  );
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.hero h1 {
  margin: 0 0 1.1rem;
  max-width: 20ch;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: var(--text);
}

.hero .lead {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* —— Trust bar (home) —— */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  padding: 1.75rem 0;
  box-shadow: var(--shadow-xs);
}

.trust-grid {
  display: grid;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .trust-grid li {
    padding: 0 1.5rem;
    border-right: 1px solid var(--border-light);
  }

  .trust-grid li:first-child {
    padding-left: 0;
  }

  .trust-grid li:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

/* —— Buttons —— */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.65rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(180deg, #0e7490 0%, var(--accent) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(12, 74, 110, 0.2), 0 4px 12px rgba(12, 74, 110, 0.15);
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  filter: brightness(1.06);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(12, 74, 110, 0.2), 0 6px 16px rgba(12, 74, 110, 0.18);
}

.btn:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

/* —— Sections —— */
.section {
  padding: clamp(2.75rem, 5vw, 4rem) 0;
}

.section--muted {
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}

.section .section-intro {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  font-size: 1.02rem;
  color: var(--text-muted);
}

.about-subtitle {
  font-size: 1.08rem;
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.section p {
  margin: 0 0 1rem;
  color: var(--text-body);
  max-width: 44rem;
}

.section p:last-child {
  margin-bottom: 0;
}

/* —— Cards —— */
.card-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.5rem 1.45rem;
  box-shadow: var(--shadow-card);
  transition:
    border-color 0.2s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
  opacity: 0.85;
}

.card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--accent-tint), #f0f9ff);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover .card-icon {
  transform: scale(1.08);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.62;
}

/* —— Disclosure / info panels —— */
.info-placeholder {
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-bright);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-xs);
}

.info-placeholder .info-placeholder-intro {
  margin: 0 0 0.75rem;
  color: var(--text-body);
}

.info-placeholder > p:not(.info-placeholder-intro) {
  margin: 0;
  color: var(--text-muted);
}

.info-placeholder strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-placeholder ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-body);
}

.info-placeholder li {
  margin-bottom: 0.4rem;
}

/* —— Contact —— */
.contact-layout {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
  }
}

.contact-details,
.form-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.75rem;
  box-shadow: var(--shadow-card);
}

.contact-details h3,
.form-card > h3 {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.contact-details dl {
  margin: 0;
}

.contact-details dt {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-top: 1.1rem;
}

.contact-details dt:first-of-type {
  margin-top: 0;
}

.contact-details dd {
  margin: 0.35rem 0 0;
  color: var(--text);
  font-weight: 500;
}

.contact-details dd a {
  font-weight: 600;
}

.contact-details .info-placeholder {
  margin-top: 1.35rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fbfcfe;
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--border-strong);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-bright);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.12);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-card .btn {
  width: 100%;
  margin-top: 0.25rem;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.55;
}

/* —— Legal —— */
.legal {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 4rem;
}

.legal .eyebrow {
  margin-bottom: 0.75rem;
}

.legal h1 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin: 0 0 0.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.legal .updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.legal h2 {
  font-size: 1.05rem;
  margin: 2rem 0 0.5rem;
  font-weight: 700;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--text-body);
  max-width: 44rem;
}

.legal ul {
  padding-left: 1.25rem;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  background: var(--footer-bg);
  color: var(--footer-muted);
  padding: 2.75rem 0 2rem;
  margin-top: auto;
  font-size: 0.875rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-bright), #1e3a5f, var(--accent));
}

.site-footer a {
  color: #c5d4e6;
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.9fr 1.1fr;
    gap: 2.5rem;
  }
}

.footer-col h3 {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7c95;
}

.footer-col p,
.footer-col ul {
  margin: 0;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: #5a6a82;
}

.footer-address-hint {
  display: block;
  margin-top: 0.5rem;
  color: #7a8ca3;
  font-size: 0.8125rem;
  line-height: 1.55;
}

/* —— Single-page anchors (sticky header offset) —— */
main section[id] {
  scroll-margin-top: 5.5rem;
}

/* —— Hero decorative shapes —— */
.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.45;
  animation: blob-float 14s ease-in-out infinite;
}

.hero-blob--1 {
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  background: radial-gradient(circle, #7dd3fc 0%, transparent 70%);
  top: -18%;
  right: -8%;
  animation-delay: 0s;
}

.hero-blob--2 {
  width: min(320px, 55vw);
  height: min(320px, 55vw);
  background: radial-gradient(circle, #a5b4fc 0%, transparent 70%);
  bottom: -12%;
  left: -6%;
  animation-delay: -4s;
}

.hero-blob--3 {
  width: min(200px, 40vw);
  height: min(200px, 40vw);
  background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
  top: 40%;
  left: 45%;
  opacity: 0.3;
  animation-delay: -7s;
}

@keyframes blob-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(2%, -3%) scale(1.04);
  }
  66% {
    transform: translate(-2%, 2%) scale(0.96);
  }
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* —— Scroll reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* —— Trust row icons —— */
.trust-grid li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.trust-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--accent-tint), #f0f9ff);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease;
}

.trust-icon svg {
  width: 24px;
  height: 24px;
}

.trust-grid li:hover .trust-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 6px 16px rgba(3, 105, 161, 0.15);
}

.trust-copy strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.trust-copy span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (min-width: 640px) {
  .trust-grid li {
    padding: 0 1.5rem;
  }
}

/* —— Section heading with icon —— */
.section-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.section-head__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #fff, var(--accent-tint));
  border: 1px solid var(--accent-border);
  color: var(--accent-bright);
  box-shadow: var(--shadow-xs);
}

.section-head__icon svg {
  width: 26px;
  height: 26px;
}

.section-head h2 {
  margin: 0;
  flex: 1;
}

/* —— Value mini-cards (about) —— */
.value-grid {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 0;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}

.value-card__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-tint);
  color: var(--accent);
}

.value-card__icon svg {
  width: 20px;
  height: 20px;
}

.value-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}

.value-card p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* —— Button shine —— */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}

.btn:hover::after {
  left: 130%;
}

/* —— Contact row icons —— */
.contact-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.contact-row__icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--accent-bright);
}

.contact-row__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.contact-details dt {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.contact-details dt svg {
  width: 16px;
  height: 16px;
  color: var(--accent-bright);
  flex-shrink: 0;
}

/* —— Footer column icons —— */
.footer-col h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col h3 svg {
  width: 14px;
  height: 14px;
  opacity: 0.75;
}

/* —— Reduced motion —— */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-blob {
    animation: none;
  }

  .btn::after {
    display: none;
  }

  .card:hover,
  .value-card:hover {
    transform: none;
  }

  .trust-grid li:hover .trust-icon {
    transform: none;
  }
}
