@font-face {
  font-family: "Euclid Flex";
  src: url("../fonts/EuclidFlex-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Flex";
  src: url("../fonts/EuclidFlex-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Flex";
  src: url("../fonts/EuclidFlex-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #f5f1e8;
  --bg-strong: #ebe4d5;
  --surface: rgba(255, 252, 246, 0.94);
  --surface-strong: #fffdfa;
  --ink: #16212a;
  --muted: #5a6670;
  --accent: #1899cf;
  --accent-dark: #0f6f95;
  --border: rgba(22, 33, 42, 0.1);
  --shadow: 0 20px 55px rgba(22, 33, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --body-font: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --title-font: "Euclid Flex", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-synthesis: none;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body-font);
  line-height: 1.65;
  background:
    radial-gradient(circle at top right, rgba(24, 153, 207, 0.18), transparent 30%),
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.7), transparent 22%),
    linear-gradient(180deg, #f3efe7 0%, #fffdfa 36%, #f7f4ee 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
li {
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.65rem;
  color: var(--ink);
  font-family: var(--title-font);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.9rem, 6vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 750px;
  margin-bottom: 2rem;
}

.section-heading p:last-child {
  max-width: 65ch;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(245, 241, 232, 0.76);
  border-bottom: 1px solid rgba(22, 33, 42, 0.06);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand img,
.footer-brand img {
  height: auto;
}

.brand img {
  width: clamp(228px, 18vw, 248px);
}

.header-desktop {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.main-nav a {
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.98rem;
  color: var(--muted);
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav a.is-active {
  color: var(--ink);
}

.mobile-nav {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 30px rgba(22, 33, 42, 0.12);
  cursor: pointer;
}

.nav-toggle::-webkit-details-marker {
  display: none;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-nav[open] .nav-toggle span:nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-nav[open] .nav-toggle span:nth-child(3) {
  opacity: 0;
}

.mobile-nav[open] .nav-toggle span:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.social-link:hover {
  transform: translateY(-1px);
}

.social-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.social-links-header .social-link {
  border: 1px solid rgba(24, 153, 207, 0.16);
  background: rgba(24, 153, 207, 0.08);
  color: var(--accent-dark);
}

.social-links-header .social-link:hover {
  border-color: rgba(24, 153, 207, 0.3);
  background: rgba(24, 153, 207, 0.14);
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.82rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #5bc3ec 100%);
  color: white;
  box-shadow: 0 10px 28px rgba(24, 153, 207, 0.28);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.floating-contact-menu {
  display: none;
}

.floating-contact-toggle::-webkit-details-marker {
  display: none;
}

.hero {
  padding: 4rem 0 2.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy-panel,
.hero-image-panel,
.surface-panel,
.faq-card,
.article-card,
.industry-card,
.service-card,
.metrics-strip,
.contact-card,
.info-card,
.list-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy-panel {
  padding: 2.4rem;
}

.hero-copy-panel p {
  max-width: 64ch;
}

.hero .hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 1.35rem;
}

.hero .hero-copy-panel {
  padding: 2.85rem 2.8rem 2.5rem;
}

.hero .hero-copy-panel h1 {
  max-width: 11.6ch;
  font-size: clamp(2.95rem, 4.15vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero .hero-copy-panel > p {
  max-width: 36ch;
  font-size: 1.08rem;
}

.hero-actions,
.cta-band-actions,
.dual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.hero-aside {
  display: grid;
  gap: 1rem;
}

.hero-image-panel {
  overflow: hidden;
  min-height: 100%;
}

.hero .hero-image-panel {
  aspect-ratio: 5 / 4;
  min-height: unset;
}

.hero-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .hero-grid {
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(24, 153, 207, 0.12);
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.3rem;
}

.hero .metrics-strip {
  padding: 1.35rem 1.5rem;
}

.metric {
  padding: 0.4rem 0.2rem;
}

.metric strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-family: var(--title-font);
  font-size: 2rem;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero .metric span {
  display: block;
  max-width: 15ch;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid-posts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.industry-card,
.info-card,
.list-card,
.article-card,
.contact-card {
  padding: 1.5rem;
}

.service-card,
.industry-card,
.article-card {
  overflow: hidden;
}

.card-media {
  display: block;
  margin: -1.5rem -1.5rem 1.15rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: rgba(22, 33, 42, 0.05);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
}

.service-card:hover .card-media img,
.industry-card:hover .card-media img,
.article-card:hover .card-media img {
  transform: scale(1.04);
  filter: saturate(1.04);
}

.service-card ul,
.industry-card ul,
.list-card ul,
.info-card ul,
.prose ul {
  display: grid;
  gap: 0.55rem;
}

.service-card h3 a,
.industry-card h3 a,
.article-card h3 a {
  color: inherit;
}

.industry-card h2,
.industry-card h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.7rem, 1.95vw, 2.15rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.industry-card > p:last-of-type {
  font-size: 0.98rem;
  line-height: 1.72;
}

.article-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  color: var(--accent-dark);
}

.article-card-meta span + span {
  padding-left: 0.85rem;
  border-left: 1px solid rgba(24, 153, 207, 0.24);
}

.article-card h3 {
  max-width: 18ch;
  margin-bottom: 0.4rem;
  font-size: clamp(1.55rem, 2vw, 1.95rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.article-card > p:last-of-type {
  max-width: 34ch;
}

.article-link {
  display: inline-flex;
  margin-top: 0.45rem;
  color: var(--ink);
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-step {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
}

.timeline-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(24, 153, 207, 0.18), rgba(24, 153, 207, 0.04));
  color: var(--accent-dark);
  font-family: var(--title-font);
  font-size: 1.2rem;
  font-weight: 700;
  font-feature-settings: "ss12" 1, "tnum" 1;
  font-variant-numeric: lining-nums tabular-nums;
}

.page-hero {
  padding: 4rem 0 2rem;
}

.page-hero-copy {
  max-width: 70ch;
}

.page-hero-article {
  padding-bottom: 1.25rem;
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 1.4rem;
  align-items: start;
}

.article-hero-copy {
  padding: 2.15rem 2.25rem 1.95rem;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--accent-dark);
  font-weight: 700;
}

.article-back-link::before {
  content: "←";
  line-height: 1;
}

.article-hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(2.55rem, 3.7vw, 3.85rem);
  line-height: 1.01;
  letter-spacing: -0.045em;
}

.article-hero-copy .page-hero-copy {
  max-width: 42ch;
  font-size: 1.03rem;
  line-height: 1.74;
}

.article-hero-side {
  display: grid;
  gap: 0;
  align-content: start;
}

.article-hero-image {
  min-height: unset;
  aspect-ratio: 16 / 12;
  background: rgba(255, 255, 255, 0.82);
}

.article-side-card {
  padding: 1.4rem 1.45rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(238, 248, 252, 0.92));
  box-shadow: var(--shadow);
}

.article-side-copy {
  margin: 0.15rem 0 0;
  font-size: 0.98rem;
  line-height: 1.72;
}

.article-meta-list {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.article-meta-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(22, 33, 42, 0.08);
}

.article-meta-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.article-meta-list strong {
  color: var(--ink);
  font-family: var(--title-font);
  font-size: 0.95rem;
  line-height: 1.2;
}

.article-meta-list span {
  color: var(--accent-dark);
  font-weight: 700;
  text-align: right;
}

.article-side-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  color: var(--ink);
  font-weight: 700;
}

.article-side-link:hover {
  color: var(--accent-dark);
}

.article-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.05rem;
  color: var(--accent-dark);
  font-weight: 700;
}

.article-info span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.58rem 0.88rem;
  border: 1px solid rgba(24, 153, 207, 0.14);
  border-radius: 999px;
  background: rgba(24, 153, 207, 0.07);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.article-faq-section {
  padding-top: 0.5rem;
  padding-bottom: 3.2rem;
}

.article-faq-heading {
  max-width: 760px;
  margin-bottom: 1.4rem;
}

.faq-card {
  padding: 1.3rem 1.4rem;
}

.faq-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--title-font);
  font-size: 1.15rem;
  font-weight: 700;
  list-style: none;
}

.faq-card summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(24, 153, 207, 0.08);
  color: var(--accent-dark);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card[open] summary {
  margin-bottom: 0.9rem;
}

.faq-card[open] summary::after {
  content: "−";
}

.faq-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.78;
  color: #44515c;
}

.cta-band {
  padding: 2rem 0 5rem;
}

.cta-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 1.5rem;
  align-items: stretch;
  padding: 2rem;
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(135deg, #102734 0%, #0f4155 55%, #1899cf 100%);
  box-shadow: var(--shadow);
}

.cta-band h2,
.cta-band p,
.cta-band .eyebrow {
  color: white;
}

.cta-band-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-band-media {
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 4px);
  min-height: 100%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.cta-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band .button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 1rem;
}

.contact-card iframe {
  width: 100%;
  min-height: 100%;
  border: 0;
  border-radius: var(--radius-md);
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(118, 196, 229, 0.22);
  background:
    radial-gradient(circle at top right, rgba(91, 195, 236, 0.28), transparent 24%),
    radial-gradient(circle at 8% 12%, rgba(24, 153, 207, 0.22), transparent 20%),
    linear-gradient(140deg, #0c2230 0%, #11384b 55%, #0b2b3c 100%);
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.site-footer::before {
  top: 0;
  left: min(2.5rem, 5vw);
  width: min(220px, 28vw);
  height: 1px;
  background: linear-gradient(90deg, rgba(91, 195, 236, 0), rgba(91, 195, 236, 0.9), rgba(91, 195, 236, 0));
  box-shadow: 0 0 22px rgba(91, 195, 236, 0.42);
}

.site-footer::after {
  right: -80px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 195, 236, 0.24) 0%, rgba(91, 195, 236, 0) 72%);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  margin-bottom: 1rem;
  color: #f4fbff;
  font-size: 1.2rem;
}

.footer-copy,
.footer-note {
  max-width: 40ch;
}

.site-footer .footer-copy {
  color: rgba(235, 245, 250, 0.86);
}

.site-footer .footer-note {
  color: #8ed9f6;
}

.footer-list {
  display: grid;
  gap: 0.45rem;
  padding: 0;
  list-style: none;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(235, 245, 250, 0.84);
}

.site-footer a {
  transition: color 180ms ease, opacity 180ms ease;
}

.site-footer a:hover {
  color: #9ddbf4;
}

.social-links-footer .social-link {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #def2fb;
}

.social-links-footer .social-link:hover {
  border-color: rgba(157, 219, 244, 0.42);
  background: rgba(91, 195, 236, 0.16);
  color: #ffffff;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 1rem;
}

.footer-brand img {
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.5rem;
  align-items: stretch;
  padding: 1.7rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(236, 247, 251, 0.9));
  box-shadow: var(--shadow);
}

.blog-featured-media {
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 4px);
  min-height: 100%;
}

.blog-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.25rem 0.1rem;
}

.blog-featured-copy h2 {
  max-width: 13ch;
  margin-bottom: 0.7rem;
  font-size: clamp(2.2rem, 3.3vw, 3.05rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.blog-featured-copy p {
  max-width: 52ch;
}

.blog-featured-copy .button {
  width: fit-content;
  margin-top: 1rem;
}

.article-content-section {
  padding-top: 0.45rem;
  padding-bottom: 2.8rem;
}

.article-body-shell {
  max-width: 1080px;
}

.article-content-grid {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
}

.article-rail {
  position: relative;
}

.article-rail-card {
  position: sticky;
  top: 6.4rem;
}

.article-body-card {
  max-width: none;
  margin: 0;
  padding: 2.45rem 2.65rem 2.85rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) + 2px);
  background: rgba(255, 252, 246, 0.94);
  box-shadow: var(--shadow);
}

.prose {
  padding: 0;
}

.prose > * {
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

.prose > * + * {
  margin-top: 1.1rem;
}

.prose p,
.prose li {
  font-size: clamp(1.06rem, 1.18vw, 1.14rem);
  line-height: 1.82;
  color: #44515c;
}

.prose > p:first-child {
  font-size: clamp(1.16rem, 1.5vw, 1.28rem);
  line-height: 1.86;
  color: #36434e;
}

.prose h2 {
  max-width: 18ch;
  margin-top: 3rem;
  margin-bottom: 0.7rem;
  font-size: clamp(1.9rem, 2.8vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.prose h3 {
  max-width: 28ch;
  margin-top: 1.9rem;
  margin-bottom: 0.45rem;
  font-size: clamp(1.32rem, 1.95vw, 1.56rem);
  line-height: 1.16;
}

.prose ul {
  margin-top: 0.35rem;
  padding-left: 1.25rem;
}

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

.prose a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cluster span {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(24, 153, 207, 0.1);
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.numeric-alt {
  font-feature-settings: "ss12" 1, "tnum" 1;
  font-variant-numeric: lining-nums tabular-nums;
}

@media (max-width: 1024px) {
  .hero-grid,
  .contact-layout,
  .footer-grid,
  .cta-band-inner,
  .card-grid-three,
  .card-grid-four,
  .card-grid-posts {
    grid-template-columns: 1fr;
  }

  .hero .hero-grid {
    grid-template-columns: 1fr;
  }

  .blog-featured,
  .article-hero-grid {
    grid-template-columns: 1fr;
  }

  .article-hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.85rem, 6vw, 4rem);
  }

  .blog-featured-copy h2 {
    max-width: 15ch;
  }

  .article-content-grid {
    grid-template-columns: 1fr;
  }

  .article-rail {
    order: 2;
  }

  .article-rail-card {
    position: static;
  }

  .hero .hero-copy-panel h1 {
    max-width: 11.8ch;
    font-size: clamp(2.7rem, 6.4vw, 3.8rem);
  }

  .metrics-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .header-desktop {
    display: none;
  }

  .mobile-nav {
    display: block;
    position: relative;
    margin-left: auto;
  }

  .mobile-nav-panel {
    position: absolute;
    top: calc(100% + 0.85rem);
    right: 0;
    width: min(88vw, 360px);
    display: grid;
    gap: 1.15rem;
    padding: 1.2rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 252, 246, 0.98);
    box-shadow: var(--shadow);
  }

  .mobile-nav-links {
    display: grid;
    gap: 1rem;
  }

  .mobile-nav-links a {
    width: fit-content;
    padding-bottom: 0.3rem;
    font-family: var(--title-font);
    font-size: clamp(1.4rem, 5vw, 1.65rem);
    line-height: 1.1;
    color: var(--muted);
  }

  .mobile-nav-links a.is-active {
    color: var(--ink);
    box-shadow: inset 0 -2px 0 var(--accent);
  }

  .mobile-nav-footer {
    display: grid;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }

  .mobile-nav .header-cta {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .header-bar {
    gap: 1rem;
  }

  h1 {
    font-size: clamp(2.45rem, 11vw, 4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.7rem);
  }

  .hero-copy-panel,
  .service-card,
  .industry-card,
  .info-card,
  .list-card,
  .article-card,
  .contact-card {
    padding: 1.25rem;
  }

  .timeline-step {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .metrics-strip {
    grid-template-columns: 1fr;
  }

  .card-media {
    margin: -1.25rem -1.25rem 1rem;
  }

  .cta-band-media {
    min-height: 260px;
  }

  .brand img {
    width: clamp(206px, 52vw, 238px);
  }

  .hero .hero-copy-panel {
    padding: 2rem 1.65rem 1.8rem;
  }

  .hero .hero-copy-panel > p {
    font-size: 1rem;
  }

  .blog-featured {
    padding: 1.25rem;
  }

  .blog-featured-copy h2 {
    font-size: clamp(2rem, 7vw, 2.7rem);
  }

  .article-hero-copy {
    padding: 1.95rem 1.65rem 1.7rem;
  }

  .article-hero-copy h1 {
    max-width: none;
    font-size: clamp(2.35rem, 8vw, 3.35rem);
  }

  .article-hero-copy .page-hero-copy,
  .article-side-copy {
    font-size: 1rem;
  }

  .article-hero-image {
    aspect-ratio: 16 / 10;
  }

  .article-body-card {
    padding: 1.7rem 1.45rem 1.95rem;
  }

  .article-side-card {
    padding: 1.35rem 1.25rem 1.55rem;
  }

  .article-meta-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .mobile-nav-panel {
    width: min(92vw, 320px);
  }
}

@media (max-width: 900px) {
  .floating-contact-menu {
    display: block;
    position: fixed;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 30;
  }

  .floating-contact-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 56px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(24, 153, 207, 0.18);
    border-radius: 999px;
    background: linear-gradient(135deg, #1798ce 0%, #62c8ef 100%);
    color: white;
    box-shadow: 0 18px 40px rgba(15, 111, 149, 0.28);
    font-family: var(--title-font);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    list-style: none;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .floating-contact-toggle::after {
    content: "";
    width: 9px;
    height: 9px;
    margin-left: 0.1rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 180ms ease;
  }

  .floating-contact-menu[open] .floating-contact-toggle::after {
    transform: rotate(-135deg) translateY(-1px);
  }

  .floating-contact-menu[open] .floating-contact-toggle {
    box-shadow: 0 22px 48px rgba(15, 111, 149, 0.32);
  }

  .floating-contact-toggle-icon,
  .floating-contact-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .floating-contact-toggle-icon {
    width: 20px;
    height: 20px;
    font-size: 1rem;
  }

  .floating-contact-toggle-icon i,
  .floating-contact-link-icon i {
    line-height: 1;
  }

  .floating-contact-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.8rem);
    width: min(calc(100vw - 2rem), 320px);
    padding: 1.1rem;
    border: 1px solid rgba(22, 33, 42, 0.1);
    border-radius: 24px;
    background: rgba(255, 252, 246, 0.98);
    box-shadow: 0 28px 60px rgba(22, 33, 42, 0.18);
    backdrop-filter: blur(16px);
  }

  .floating-contact-eyebrow {
    margin: 0 0 0.45rem;
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .floating-contact-title {
    margin: 0;
    color: var(--ink);
    font-family: var(--title-font);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.04em;
  }

  .floating-contact-number {
    margin: 0.45rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
  }

  .floating-contact-actions {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .floating-contact-link {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 24px rgba(22, 33, 42, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }

  .floating-contact-link-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.55rem;
  }

  .floating-contact-link-copy {
    display: grid;
    gap: 0.15rem;
  }

  .floating-contact-link-copy strong {
    color: var(--ink);
    font-family: var(--title-font);
    font-size: 1rem;
    line-height: 1.1;
  }

  .floating-contact-link-copy span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .floating-contact-link.is-whatsapp .floating-contact-link-icon {
    background: rgba(37, 211, 102, 0.13);
    color: #1d9a57;
  }

  .floating-contact-link.is-viber .floating-contact-link-icon {
    background: rgba(116, 96, 242, 0.12);
    color: #6d61d7;
  }

  .floating-contact-link.is-call .floating-contact-link-icon {
    background: rgba(24, 153, 207, 0.12);
    color: var(--accent-dark);
  }
}

@media (hover: hover) {
  .floating-contact-toggle:hover,
  .floating-contact-link:hover {
    transform: translateY(-1px);
  }
}
