@font-face {
  font-family: 'Mont';
  src: url('../fonts/Mont-ExtraLightDEMO.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Mont';
  src: url('../fonts/Mont-HeavyDEMO.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}

:root {
  --primary: #3a6ab9;
  --accent: #ff5757;
  --ink: #13233f;
  --muted: #61708c;
  --surface: #f4f7fc;
  --white: #ffffff;
  --border: rgba(19, 35, 63, 0.1);
  --shadow: 0 24px 60px rgba(28, 54, 105, 0.16);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Mont', sans-serif;
  font-weight: 300;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(58, 106, 185, 0.16), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eff4fb 100%);
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.1;
}

h1,
h2 {
  font-family: 'Sanchez', serif;
  font-weight: 400;
}

h3,
h4,
h5,
h6 {
  font-family: 'Mont', sans-serif;
  font-weight: 800;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(248, 251, 255, 0.82);
  border-bottom: 1px solid rgba(19, 35, 63, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 160px;
}

.brand-logo {
  width: 90px;
}

.brand-logo--dark {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  font-weight: 700;
  color: var(--muted);
}

.site-nav a.active,
.site-nav a:hover,
.sidebar-card a.is-active,
.tag-link.is-active {
  color: var(--primary);
}

.nav-toggle {
  display: none;
}

.call-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.call-button:hover,
.button:hover {
  transform: translateY(-1px);
}

.call-button {
  padding: 14px 20px;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(255, 87, 87, 0.25);
}

.hero,
.page-hero,
.article-hero {
  padding: 56px 0 28px;
}

.hero-grid,
.split-panel,
.contact-layout,
.article-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-copy h1,
.page-hero__content h1,
.article-hero h1 {
  font-family: 'Sanchez', serif;
  font-size: clamp(2.8rem, 4vw, 5rem);
  letter-spacing: -0.04em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.84rem;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2.75l1.72 5.53 5.53 1.72-5.53 1.72L12 17.25l-1.72-5.53-5.53-1.72 5.53-1.72L12 2.75Z' fill='%233a6ab9'/%3E%3Cpath d='M18.5 14.75l.93 2.82 2.82.93-2.82.93-.93 2.82-.93-2.82-2.82-.93 2.82-.93.93-2.82Z' fill='%23ff5757'/%3E%3C/svg%3E");
}

.hero-actions,
.hero-stats,
.tag-row,
.blog-meta,
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  font-family: "Segoe UI", Arial, sans-serif;
}

.breadcrumbs a {
  color: var(--primary);
  font-weight: 700;
}

.button {
  padding: 15px 24px;
}

.button-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(58, 106, 185, 0.22);
}

.button-secondary,
.button-light {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  border: 1px solid var(--border);
}

.button-light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.button-block {
  width: 100%;
}

.hero-stats {
  margin-top: 18px;
}

.hero-stats article,
.hero-card,
.service-card,
.value-card,
.sidebar-card,
.blog-card,
.blog-listing,
.form-card,
.contact-panel,
.empty-state {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.hero-stats article {
  padding: 18px 20px;
  min-width: 140px;
}

.hero-stats strong {
  display: block;
  font-size: 1.5rem;
}

.hero-visual {
  display: grid;
  gap: 24px;
}

.hero-card {
  overflow: hidden;
}

.hero-card--image img,
.featured-story img,
.service-card img,
.blog-card img,
.blog-listing img,
.contact-panel img,
.article-image,
.image-stack img {
  object-fit: cover;
}

.hero-card--image img {
  aspect-ratio: 4 / 4.5;
}

.hero-card--accent {
  padding: 28px;
  background: linear-gradient(135deg, var(--primary), #6ca0ff);
}

.hero-card--accent p,
.cta-band,
.site-footer,
.site-footer p,
.site-footer a {
  color: var(--white);
}

.section {
  padding: 40px 0 80px;
}

.section-alt {
  background: linear-gradient(180deg, rgba(58, 106, 185, 0.06), transparent);
}

.section-soft {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.55));
}

.section-heading {
  max-width: 700px;
  margin-bottom: 28px;
}

.section-heading h2,
.split-panel h2,
.featured-story h2,
.cta-band h2,
.contact-panel h2 {
  font-family: 'Sanchez', serif;
  font-size: clamp(2rem, 3vw, 3.3rem);
}

.service-grid,
.value-grid,
.blog-grid,
.timeline-grid,
.faq-grid {
  display: grid;
  gap: 24px;
}

.service-grid,
.value-grid,
.blog-grid,
.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card img,
.blog-card img {
  aspect-ratio: 1.2 / 1;
}

.service-card div,
.blog-card__body,
.value-card,
.sidebar-card,
.form-card,
.contact-panel,
.blog-listing > div {
  padding: 24px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.service-link-grid {
  display: grid;
  gap: 16px;
}

.service-link-grid--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-link-card,
.service-highlight-card,
.faq-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.service-link-card {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.service-link-card strong {
  font-size: 1.05rem;
}

.service-link-card span {
  color: var(--muted);
  line-height: 1.65;
}

.service-highlight-card {
  padding: 28px;
  background: linear-gradient(135deg, rgba(58, 106, 185, 0.1), rgba(255, 87, 87, 0.1));
}

.service-highlight-card h2 {
  font-family: 'Sanchez', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
}

.service-highlight-card .service-link-grid {
  margin-top: 24px;
}

.service-highlight-card .service-link-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--white);
  font-weight: 800;
}

.faq-card {
  padding: 24px;
}

.faq-card h3 {
  margin-bottom: 12px;
}

.image-stack {
  position: relative;
  min-height: 480px;
}

.image-stack-main {
  height: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.image-stack-float {
  position: absolute;
  right: -16px;
  bottom: -24px;
  width: 44%;
  border: 8px solid rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.featured-story {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(58, 106, 185, 0.08), rgba(255, 87, 87, 0.08));
}

.featured-story img,
.contact-panel img {
  border-radius: 24px;
  height: 100%;
  min-height: 280px;
}

.pill,
.tag-row a,
.sidebar-card .tag-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(58, 106, 185, 0.1);
  color: var(--primary);
  font-size: 0.9rem;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 800;
}

.pill::before,
.tag-row a::before,
.sidebar-card .tag-link::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: center / contain no-repeat;
}

.pill::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.75 4.75h10.5A1.75 1.75 0 0 1 19 6.5v11A1.75 1.75 0 0 1 17.25 19H6.75A1.75 1.75 0 0 1 5 17.5v-11A1.75 1.75 0 0 1 6.75 4.75Z' stroke='%233a6ab9' stroke-width='1.8'/%3E%3Cpath d='M8.5 8.25h7M8.5 12h7M8.5 15.75h4.25' stroke='%233a6ab9' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.tag-row a::before,
.sidebar-card .tag-link::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10.2 4.75H6.75A1.75 1.75 0 0 0 5 6.5v3.45a1.75 1.75 0 0 0 .51 1.24l6.3 6.3a1.75 1.75 0 0 0 2.48 0l3.2-3.2a1.75 1.75 0 0 0 0-2.48l-6.3-6.3a1.75 1.75 0 0 0-1.24-.51Z' stroke='%233a6ab9' stroke-width='1.8'/%3E%3Ccircle cx='8.25' cy='8.25' r='1.15' fill='%23ff5757'/%3E%3C/svg%3E");
}

.cta-band {
  padding-bottom: 80px;
}

.cta-band__inner {
  justify-content: space-between;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow);
}

.page-hero--about,
.page-hero--blog,
.page-hero--contact,
.page-hero--service,
.article-hero {
  background:
    radial-gradient(circle at top right, rgba(255, 87, 87, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(58, 106, 185, 0.08), transparent);
}

.blog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.blog-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 104px;
}

.sidebar-card a {
  display: block;
  padding: 10px 0;
  color: var(--muted);
  font-weight: 700;
}

.sidebar-card .tag-link {
  display: inline-flex;
  margin: 4px 6px 4px 0;
}

.blog-feed {
  display: grid;
  gap: 24px;
}

.blog-listing {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  overflow: hidden;
}

.blog-listing img {
  height: 100%;
}

.article-hero__content {
  max-width: 820px;
  padding-bottom: 24px;
}

.article-image {
  max-height: 520px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.article-content {
  padding: 8px 8px 8px 0;
}

.article-content p {
  margin: 0 0 20px;
  font-size: 1.05rem;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.contact-list a,
.contact-list span {
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}

.contact-item__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(58, 106, 185, 0.12);
  color: var(--primary);
}

.site-footer .contact-item__icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.contact-item__icon svg {
  width: 18px;
  height: 18px;
}

.form-card form,
.form-grid {
  display: grid;
  gap: 18px;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label span {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f9fbfe;
  color: var(--ink);
  padding: 14px 16px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
}

.alert-success {
  background: rgba(66, 191, 125, 0.12);
  color: #176840;
}

.alert-error {
  background: rgba(255, 87, 87, 0.12);
  color: #9f2b2b;
}

.timeline-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-grid article {
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(19, 35, 63, 0.08);
}

.timeline-grid span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 18px;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
}

.value-card {
  min-height: 220px;
}

.site-footer {
  padding: 64px 0 28px;
  background: linear-gradient(180deg, #16305f, #0f2245);
}

.footer-grid,
.footer-bottom {
  display: grid;
  gap: 24px;
}

.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr;
}

.footer-logo {
  width: 180px;
  margin-bottom: 18px;
}

.footer-bottom {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.empty-state {
  padding: 40px;
  text-align: center;
}

@media (max-width: 960px) {
  .hero-grid,
  .split-panel,
  .contact-layout,
  .article-layout,
  .blog-layout,
  .featured-story,
  .blog-listing,
  .footer-grid,
  .footer-bottom,
  .service-grid,
  .value-grid,
  .blog-grid,
  .timeline-grid,
  .form-grid,
  .faq-grid,
  .service-link-grid--cards {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .image-stack {
    min-height: auto;
    padding-bottom: 100px;
  }

  .image-stack-main {
    height: auto;
  }

  .nav-toggle {
    display: inline-flex;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 800;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-wrap {
    position: relative;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .call-button {
    width: 100%;
  }

  .hero,
  .page-hero,
  .article-hero {
    padding-top: 36px;
  }

  .hero-copy h1,
  .page-hero__content h1,
  .article-hero h1 {
    font-size: 2.5rem;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }
}
