:root {
  --color-primary: #0A3478;
  --color-primary-900: #061f49;
  --color-primary-800: #082a62;
  --color-primary-700: #0d418f;
  --color-secondary: #D4AF37;
  --color-secondary-dark: #9e7812;
  --color-bg: #F8FAFC;
  --color-surface: #ffffff;
  --color-surface-soft: #eef4fb;
  --color-text: #10213d;
  --color-muted: #5d6b82;
  --color-border: #dbe5f0;
  --color-success: #1f7a4d;
  --font-heading: "Montserrat", "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --type-body: clamp(0.98rem, 0.94rem + 0.16vw, 1.04rem);
  --type-small: clamp(0.78rem, 0.76rem + 0.12vw, 0.86rem);
  --type-display: clamp(2.15rem, 1.7rem + 2.3vw, 3.65rem);
  --type-heading: clamp(1.65rem, 1.38rem + 1.42vw, 2.4rem);
  --type-subheading: clamp(1.05rem, 1rem + 0.28vw, 1.22rem);
  --type-body-lg: clamp(0.98rem, 1.05vw, 1.08rem);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --radius-sm: 0.65rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --card-radius: var(--radius-md);
  --shadow-sm: 0 10px 30px rgba(10, 52, 120, 0.08);
  --shadow-md: 0 20px 50px rgba(10, 52, 120, 0.14);
  --shadow-lg: 0 30px 80px rgba(6, 31, 73, 0.22);
  --container: 1180px;
  --content-balanced: 1080px;
  --content-cards: 980px;
  --header-height: 78px;
  --page-title-size: var(--type-display);
  --section-space: clamp(4rem, 7vw, 6rem);
  --section-space-compact: clamp(1.5rem, 3vw, 2.25rem);
  --grid-gap: clamp(1rem, 2vw, 1.5rem);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(212, 175, 55, 0.35);
  color: var(--color-primary-900);
}

:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.78);
  outline-offset: 4px;
}

.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;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 999;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  font-weight: 800;
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section-pad {
  padding: var(--section-space) 0;
}

.viewport-section {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
}

.section-muted {
  background:
    radial-gradient(circle at top left, rgba(10, 52, 120, 0.06), transparent 34rem),
    linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: var(--space-12);
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading p:not(.eyebrow),
.section-intro p:not(.eyebrow) {
  color: var(--color-muted);
  margin: 1rem 0 0;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.section-actions.centered {
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: var(--color-secondary);
}

h1,
h2,
h3 {
  color: var(--color-primary-900);
  font-family: var(--font-heading);
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  max-width: 780px;
  font-size: var(--page-title-size);
  line-height: 1.03;
}

.page-title {
  max-width: none;
  font-size: var(--page-title-size);
  line-height: 1.03;
}

h2 {
  font-size: var(--type-heading);
}

h3 {
  font-size: var(--type-subheading);
}

p {
  margin: 0;
}

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--color-primary);
  --btn-border: rgba(10, 52, 120, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border: 1px solid var(--btn-border);
  border-radius: 2px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  padding: 0.88rem 1.45rem;
  box-shadow: none;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0;
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease),
    background 180ms var(--ease),
    border-color 180ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  --btn-bg: var(--color-secondary);
  --btn-fg: var(--color-primary-900);
  --btn-border: var(--color-secondary);
  box-shadow: 0 16px 32px rgba(158, 120, 18, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 20px 42px rgba(158, 120, 18, 0.32);
}

.btn-secondary {
  --btn-bg: rgba(255, 255, 255, 0.78);
  --btn-fg: var(--color-primary);
  --btn-border: rgba(10, 52, 120, 0.18);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.btn-light {
  --btn-bg: rgba(255, 255, 255, 0.9);
  --btn-fg: var(--color-primary);
  --btn-border: rgba(255, 255, 255, 0.55);
  box-shadow: 0 14px 28px rgba(10, 52, 120, 0.08);
}

.btn-light:hover {
  --btn-bg: #fff;
  --btn-border: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 34px rgba(10, 52, 120, 0.12);
}

.home-page .btn-secondary {
  --btn-bg: var(--color-primary);
  --btn-fg: #fff;
  --btn-border: var(--color-primary);
  box-shadow: 0 14px 28px rgba(10, 52, 120, 0.18);
}

.home-page .btn-secondary:hover {
  --btn-bg: var(--color-primary-800);
  --btn-border: var(--color-primary-800);
  box-shadow: 0 18px 34px rgba(10, 52, 120, 0.24);
}

.home-page .services-intro .btn-light {
  --btn-bg: rgba(255, 255, 255, 0.92);
  --btn-fg: var(--color-primary);
  --btn-border: rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 30px rgba(10, 52, 120, 0.08);
}

.home-page .services-intro .btn-light:hover {
  --btn-bg: #fff;
  --btn-border: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 34px rgba(10, 52, 120, 0.12);
}

.btn-small {
  min-height: 2.75rem;
  padding: 0.68rem 1rem;
  font-size: 0.83rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 800;
}

.text-link::after {
  content: "";
  width: 1.65rem;
  height: 2px;
  background: var(--color-secondary);
  transition: width 180ms var(--ease);
}

.text-link:hover::after {
  width: 2.35rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 31, 73, 0.76);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
  transition:
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    background 180ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(6, 31, 73, 0.9);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 38px rgba(4, 16, 38, 0.2);
}

.inner-page .site-header,
.inner-page .site-header.is-scrolled {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    var(--color-primary-900);
  border-color: rgba(255, 255, 255, 0.14);
}

.inner-page .site-header.is-scrolled {
  box-shadow: 0 14px 38px rgba(4, 16, 38, 0.2);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: max-content;
}

.site-header .brand {
  animation: hero-content-in 650ms var(--ease) 80ms both;
}

.brand-mark {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  overflow: hidden;  
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  position: absolute;
  width: 8.9rem;
  max-width: none;
  transition: opacity 180ms var(--ease);
}

.brand-logo-dark {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-light {
  opacity: 1;
}

.site-header.is-scrolled .brand-logo-dark {
  opacity: 0;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  letter-spacing: 0;
}

.brand-text span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 700;
}

.site-header.is-scrolled .brand-text strong {
  color: #fff;
}

.site-header.is-scrolled .brand-text span {
  color: rgba(255, 255, 255, 0.68);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-left: auto;
}

.nav-menu a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  animation: hero-content-in 620ms var(--ease) both;
}

.nav-menu a:nth-child(1) {
  animation-delay: 180ms;
}

.nav-menu a:nth-child(2) {
  animation-delay: 260ms;
}

.nav-menu a:nth-child(3) {
  animation-delay: 340ms;
}

.nav-menu a:nth-child(4) {
  animation-delay: 420ms;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--color-secondary);
  transition: transform 180ms var(--ease);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: #fff;
}

.site-header.is-scrolled .nav-menu a {
  color: rgba(255, 255, 255, 0.82);
}

.site-header.is-scrolled .nav-menu a:hover,
.site-header.is-scrolled .nav-menu a:focus-visible {
  color: #fff;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  transform: scaleX(1);
}

.nav-menu a[aria-current="page"] {
  color: #fff;
}

.nav-menu a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-header.is-scrolled .nav-menu a[aria-current="page"] {
  color: #fff;
}

.nav-cta {
  --btn-bg: var(--color-secondary);
  --btn-fg: var(--color-primary-900);
  --btn-border: var(--color-secondary);
  box-shadow: none;
  text-transform: uppercase;
  animation: hero-action-in 620ms var(--ease) 520ms backwards;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background-color: rgba(6, 31, 73, 0.38);
  background-image: url("../assets/svg/menu.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1.5rem;
  color: #fff;
  transition:
    background-color 180ms var(--ease),
    border-color 180ms var(--ease);
  animation: hero-action-in 620ms var(--ease) 360ms backwards;
}

.site-header.is-scrolled .nav-toggle {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-toggle span:not(.sr-only) {
  display: none;
}

.nav-toggle[aria-expanded="true"] {
  background-image: url("../assets/svg/close.svg");
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + clamp(3rem, 6vw, 5.5rem));
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 18%, rgba(212, 175, 55, 0.19), transparent 17rem),
    radial-gradient(circle at 82% 20%, rgba(10, 52, 120, 0.18), transparent 23rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(238, 244, 251, 0.65));
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 8rem -10vw auto auto;
  width: 44rem;
  height: 44rem;
  border: 1px solid rgba(10, 52, 120, 0.08);
  border-radius: 50%;
  background:
    linear-gradient(90deg, rgba(10, 52, 120, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(10, 52, 120, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle, #000 0 52%, transparent 72%);
  mask-image: radial-gradient(circle, #000 0 52%, transparent 72%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.25rem);
}

.hero-copy {
  max-width: 780px;
}

.hero-lead {
  max-width: 680px;
  margin-top: var(--space-6);
  color: var(--color-muted);
  font-size: clamp(1.04rem, 0.98rem + 0.3vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: var(--space-8);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 620px;
  margin-top: var(--space-10);
  overflow: hidden;
  border: 1px solid rgba(10, 52, 120, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(10, 52, 120, 0.08);
  box-shadow: var(--shadow-sm);
}

.trust-strip div {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.trust-strip strong {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1;
}

.trust-strip span {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
}

.executive-frame {
  position: relative;
  min-height: 610px;
  border-radius: 2rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.35)),
    linear-gradient(145deg, rgba(10, 52, 120, 0.11), rgba(212, 175, 55, 0.1));
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.executive-frame::before {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.45rem;
}

.executive-frame::after {
  content: "";
  position: absolute;
  inset: 55% auto auto -3rem;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.22);
  filter: blur(14px);
  z-index: -1;
}

.image-panel {
  position: absolute;
  overflow: hidden;
  border-radius: 1.6rem;
  box-shadow: var(--shadow-md);
}

.image-panel-main {
  inset: 1.4rem 1.4rem auto;
  min-height: 420px;
  background:
    linear-gradient(140deg, rgba(6, 31, 73, 0.94), rgba(10, 52, 120, 0.76)),
    radial-gradient(circle at 18% 20%, rgba(212, 175, 55, 0.5), transparent 12rem),
    linear-gradient(130deg, #0a3478, #061f49);
}

.image-panel-main::before,
.image-panel-main::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.image-panel-main::before {
  width: 18rem;
  height: 18rem;
  right: -6rem;
  top: -4rem;
  border: 1px solid rgba(212, 175, 55, 0.38);
}

.image-panel-main::after {
  left: 12%;
  bottom: 12%;
  width: 70%;
  height: 4.3rem;
  transform: perspective(460px) rotateX(62deg) rotateZ(-4deg);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(212, 175, 55, 0.32), rgba(255, 255, 255, 0.1));
  filter: blur(0.2px);
}

.panel-grid {
  position: absolute;
  inset: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  opacity: 0.72;
}

.panel-grid span {
  min-height: 8rem;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 1.1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: auto, 24px 24px;
}

.panel-caption {
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 1.1rem;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.panel-caption span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.panel-caption strong {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.floating-card {
  position: absolute;
  display: flex;
  gap: 0.9rem;
  border: 1px solid rgba(10, 52, 120, 0.12);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.insight-card {
  left: -2rem;
  right: 3rem;
  bottom: 3.2rem;
  align-items: flex-start;
  padding: 1.05rem;
}

.icon-pill {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  color: var(--color-primary);
}

.icon-pill svg {
  width: 1.15rem;
}

.insight-card strong,
.metric-card strong {
  display: block;
  color: var(--color-primary-900);
  font-family: var(--font-heading);
  line-height: 1.1;
}

.insight-card span:not(.icon-pill) {
  display: block;
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.45;
  margin-top: 0.2rem;
}

.metric-card {
  right: -1.5rem;
  top: 9rem;
  display: grid;
  min-width: 11.8rem;
  padding: 1.05rem;
}

.metric-card > span {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
  
.metric-card strong {
  color: var(--color-primary);
  font-size: 2.4rem;
  margin-top: 0.1rem;
}

.metric-card small {
  color: var(--color-muted);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: max(620px, 100vh);
  min-height: max(620px, 100svh);
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 4.5rem) 0 7.5rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-primary-900);
}

.hero-bg {
  position: absolute;
  inset: var(--header-height) 0 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 16, 38, 0.93) 0%, rgba(4, 16, 38, 0.75) 43%, rgba(4, 16, 38, 0.63) 100%),
    linear-gradient(180deg, rgba(4, 16, 38, 0.23), rgba(4, 16, 38, 0.77)),
    url("../assets/img/hero-sericar.jpg") center 10%/ cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  width: auto;
  height: 36%;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, transparent, rgba(4, 16, 38, 0.77));
  mask-image: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0;
}

.hero-copy {
  max-width: 960px;
  text-align: center;
  margin-top: calc(var(--header-height) + 1.875rem);
}

.hero-kicker {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 500;
  animation: hero-content-in 650ms var(--ease) 100ms both;
}

.hero h1 {
  max-width: 1100px;
  color: #fff;
  font-size: var(--page-title-size);
  line-height: 1.02;
  text-transform: uppercase;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
  animation: hero-content-in 760ms var(--ease) 220ms both;
}

.hero h1 span {
  color: var(--color-secondary);
}

.hero .hero-lead {
  max-width: 720px;
  margin: var(--space-6) auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--type-body-lg);
  animation: hero-content-in 700ms var(--ease) 400ms both;
}

.hero-actions {
  justify-content: center;
}

.hero-actions .btn {
  min-width: 12.5rem;
  min-height: 3.35rem;
  padding-inline: 1.6rem;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.hero-actions .btn:nth-child(1) {
  animation: hero-action-in 620ms var(--ease) 580ms backwards;
}

.hero-actions .btn:nth-child(2) {
  animation: hero-action-in 620ms var(--ease) 720ms backwards;
}

.hero-actions .btn-primary {
  --btn-bg: var(--color-secondary);
  --btn-fg: var(--color-primary-900);
  --btn-border: var(--color-secondary);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.hero-actions .btn-primary:hover {
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.26);
}

.hero-actions .btn-secondary {
  --btn-bg: rgba(255, 255, 255, 0.92);
  --btn-fg: var(--color-primary-900);
  --btn-border: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

@keyframes hero-content-in {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-action-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 1.1rem, 0);
  filter: blur(5px);
  transition:
    opacity 650ms var(--ease),
    transform 650ms var(--ease),
    filter 650ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.hero-credentials {
  position: absolute;
  left: 50%;
  bottom: -5.9rem;
  width: min(780px, calc(100% - 2rem));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-credentials div {
  padding: 1rem 1.4rem;
  text-align: center;
}

.hero-credentials div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-credentials strong {
  display: block;
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.hero-credentials span {
  display: block;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
}

.hero-scroll {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-scroll svg {
  width: 1.2rem;
  animation: hero-bob 1.8s ease-in-out infinite;
}

.page-hero {
  position: relative;
  min-height: clamp(520px, 72svh, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-height) + 5rem) 0 5rem;
  background-position: center;
  background-size: cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 16, 38, 0.9) 0%, rgba(4, 16, 38, 0.72) 56%, rgba(4, 16, 38, 0.58) 100%),
    linear-gradient(180deg, rgba(4, 16, 38, 0.12), rgba(4, 16, 38, 0.68));
}

.page-hero-nosotros {
  background-image: url("../assets/img/sericar-nosotros-hero.png");
  background-position: center 44%;
}

.page-hero-servicios {
  background-image: url("../assets/img/sericar-servicios-hero.png");
  background-position: center 42%;
}

.page-hero-contacto {
  background-image: url("../assets/img/sericar-contacto-hero.png");
  background-position: center 50%;
}

.page-hero-content {
  width: 100%;
}

.page-hero .hero-kicker {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 1040px;
  color: #fff;
  font-size: var(--page-title-size);
  line-height: 1.02;
}

.page-hero h1 span {
  color: var(--color-secondary);
}

.page-hero-content > p:last-child {
  max-width: 650px;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--type-body-lg);
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.about-intro {
  position: relative;
  place-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 1rem);
  padding-bottom: 1rem;
  background:
    radial-gradient(circle at 8% 88%, rgba(212, 175, 55, 0.1), transparent 24rem),
    linear-gradient(115deg, #ffffff 0%, #f8fafc 48%, #eaf0f7 100%);
}

.about-intro::before {
  content: "";
  position: absolute;
  top: var(--header-height);
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.7), transparent);
  pointer-events: none;
}

.about-intro .editorial-split {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--content-balanced));
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  grid-template-areas:
    "title image"
    "text image";
  align-items: start;
  justify-content: center;
  gap: clamp(1.8rem, 4vw, 3.25rem);
}

.home-page .about-intro,
.home-page .services-intro,
.services-page .services-intro {
  min-height: auto;
  display: block;
}

.home-page .about-intro {
  padding-top: calc(var(--header-height) + 1.25rem);
  padding-bottom: 2rem;
}

.home-page .services-intro {
  padding-top: calc(var(--header-height) + 1.25rem);
  padding-bottom: 2rem;
}

.home-page .about-intro .editorial-split {
  width: min(calc(100% - 2rem), var(--content-balanced));
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  grid-template-areas:
    "title image"
    "text image";
  align-items: center;
}

.about-title-block {
  grid-area: title;
}

.about-hero-image {
  grid-area: image;
  width: 100%;
  max-width: 34rem;
  aspect-ratio: 6 / 5;
  max-height: min(54svh, 32rem);
  align-self: center;
  justify-self: center;
  border-radius: 0.75rem;
  box-shadow: 0 30px 80px rgba(6, 31, 73, 0.24);
}

.about-text {
  grid-area: text;
  width: 100%;
  max-width: 34rem;
  align-self: start;
  margin-top: -0.1rem;
  justify-self: center;
}

.about-intro .editorial-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 31, 73, 0.18), transparent 32%),
    linear-gradient(180deg, transparent 58%, rgba(6, 31, 73, 0.2));
  pointer-events: none;
}

.about-intro .editorial-image::after {
  z-index: 2;
}

.about-intro .editorial-image img {
  object-position: 62% center;
}

.about-title-block {
  width: 100%;
  max-width: 34rem;
  align-self: end;
  justify-self: center;
  justify-items: start;
  gap: 0.9rem;
  margin-inline: auto;
  padding-block: 0.25rem 0;
  text-align: left;
}

.about-title-block h2 {
  color: var(--color-primary-900);
}

.about-title-block h2::before {
  display: none;
}

.about-text p {
  line-height: 1.65;
}

.about-text p:first-child {
  max-width: 33rem;
  border-left: 3px solid var(--color-secondary);
  padding-left: 1.25rem;
  color: var(--color-text);
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
}

.about-text p:last-child {
  max-width: 32rem;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.home-page .about-text {
  display: grid;
  gap: 0.85rem;
  align-content: center;
}

.home-page .about-text .btn {
  width: fit-content;
}

.editorial-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.editorial-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: inherit;
  pointer-events: none;
}

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

.signature-line {
  position: relative;
  margin-top: 0.5rem;
  padding: 1rem 0 0 3rem;
  color: var(--color-primary-900);
  font-weight: 800;
}

.signature-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.65rem;
  width: 2.2rem;
  height: 2px;
  background: var(--color-secondary);
}

.stats-band {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: #fff;
}

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

.stats-grid article {
  min-height: 180px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 2rem;
  text-align: center;
}

.stats-grid article + article {
  border-left: 1px solid var(--color-border);
}

.stats-grid strong {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1;
}

.stats-grid span {
  margin-top: 0.7rem;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about-page .stats-band {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: var(--section-space-compact) 1rem;
  border: 0;
  background: linear-gradient(180deg, #eaf0f7 0%, #f8fbff 100%);
}

.about-page .stats-grid {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 18% 0%, rgba(212, 175, 55, 0.12), transparent 20rem),
    linear-gradient(120deg, var(--color-primary-900), var(--color-primary));
  box-shadow: 0 24px 60px rgba(6, 31, 73, 0.24);
}

.about-page .stats-grid article {
  min-height: 101px;
  padding: 1.4rem;
}

.about-page .stats-grid article + article {
  border-color: rgba(255, 255, 255, 0.14);
}

.about-page .stats-grid strong {
  color: var(--color-secondary);
  min-width: 5ch;
  font-size: clamp(1.9rem, 3.6vw, 3.5rem);
  font-variant-numeric: tabular-nums;
}

.about-page .stats-grid span {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.principles {
  position: relative;
  overflow: hidden;
  scroll-margin-top: var(--header-height);
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    radial-gradient(circle at 10% 15%, rgba(212, 175, 55, 0.12), transparent 18rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.principles::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.62), transparent);
  pointer-events: none;
}

.principles-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--content-balanced));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-inline: auto;
}

.principles-content article {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 21rem;
  overflow: hidden;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  border: 1px solid rgba(10, 52, 120, 0.1);
  border-radius: var(--card-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98));
  box-shadow: 0 18px 46px rgba(10, 52, 120, 0.08);
}

.principle-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 0.75rem;
  background: rgba(212, 175, 55, 0.14);
}

.principle-icon img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(43%) sepia(76%) saturate(506%) hue-rotate(7deg) brightness(91%) contrast(93%);
}

.principles-content article::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-secondary), rgba(10, 52, 120, 0.78));
}

.principles-content article:first-child {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 90% 8%, rgba(212, 175, 55, 0.18), transparent 13rem),
    linear-gradient(145deg, var(--color-primary-900), var(--color-primary));
  color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 60px rgba(6, 31, 73, 0.24);
}

.principles-content article:first-child .principle-icon {
  border-color: rgba(212, 175, 55, 0.54);
  background: rgba(212, 175, 55, 0.18);
}

.principles-content article:first-child .principle-icon img {
  filter: brightness(0) saturate(100%) invert(75%) sepia(38%) saturate(761%) hue-rotate(5deg) brightness(93%) contrast(87%);
}

.principles-content h3 {
  color: var(--color-primary-900);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

.principles-content article:first-child h3 {
  color: #fff;
}

.principles-content p {
  margin-top: 0.9rem;
  color: var(--color-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.principles-content article:first-child p {
  color: rgba(255, 255, 255, 0.76);
}

.about-page .section-muted {
  padding-block: var(--section-space);
  background:
    radial-gradient(circle at top left, rgba(10, 52, 120, 0.07), transparent 32rem),
    linear-gradient(180deg, #f8fbff 0%, #edf3fa 100%);
}

.about-page .values-grid.values-grid-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
  max-width: var(--content-cards);
  margin-inline: auto;
}

.about-page .section-heading {
  margin-bottom: 0;
}

.about-page .about-intro {
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 0.5rem);
  padding-bottom: 0.5rem;
}

.about-page .about-intro .editorial-split {
  padding-block: 0.1rem 0.35rem;
}

.about-page .values-grid {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.about-page .value-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1.1rem;
  height: 100%;
  overflow: hidden;
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  border-radius: var(--card-radius);
  transition:
    transform 220ms var(--ease),
    border-color 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.about-page .value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 52, 120, 0.18);
  box-shadow: var(--shadow-md);
}

.about-page .value-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(var(--color-secondary), var(--color-primary));
}

.about-page .value-card .value-icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 0.75rem;
  background: linear-gradient(145deg, var(--color-primary), var(--color-primary-900));
  box-shadow: 0 12px 26px rgba(10, 52, 120, 0.2);
}

.about-page .value-icon img {
  width: 1.55rem;
  height: 1.55rem;
  filter: brightness(0) invert(1);
}

.about-page .value-card h3 {
  margin: 0;
}

.about-page .value-card p {
  grid-column: 1 / -1;
  margin-top: 1.15rem;
}

.about-page .brand-cta {
  position: relative;
  overflow: hidden;
}

.about-page .brand-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translateY(-50%);
}

.about-page .brand-cta-inner {
  position: relative;
  z-index: 1;
}

.about-page .stats-band {
  padding-block: clamp(1.3rem, 2.5vw, 1.8rem);
}

.about-page .section-muted {
  padding-top: clamp(3rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 5vw, 4rem);
}

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

.value-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  color: var(--color-secondary-dark);
}

.value-icon svg {
  width: 1.35rem;
}

.service-grid-four .service-card {
  min-height: 330px;
}

.services-page .services-intro {
  padding: calc(var(--header-height) + 1.25rem) 0 2rem;
  background:
    radial-gradient(circle at 8% 12%, rgba(212, 175, 55, 0.09), transparent 22rem),
    linear-gradient(180deg, #f9fbfd 0%, #eef4fa 100%);
}

.services-page .services-intro .section-heading {
  margin-bottom: 1.5rem;
}

.home-page .services-intro .section-heading,
.services-page .services-intro .section-heading {
  display: grid;
  justify-items: center;
  width: min(100%, 760px);
  margin-inline: auto;
  margin-bottom: 1.25rem;
}

.home-page .services-intro .section-heading > p,
.services-page .services-intro .section-heading > p {
  max-width: 36rem;
  margin-inline: auto;
}

.home-page .services-intro .section-actions {
  justify-content: center;
  margin-top: 0.75rem;
}

.home-page .services-intro .service-grid,
.services-page .services-intro .service-grid {
  width: min(100%, var(--content-balanced));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.85rem;
  margin-inline: auto;
}

.home-page .services-intro .service-grid,
.services-page .services-intro .service-grid {
  margin-top: 0.75rem;
}

.home-page .services-intro .service-card,
.services-page .services-intro .service-card {
  min-height: 275px;
  padding: clamp(0.9rem, 1.4vw, 1.2rem);
}

.services-page .services-intro .service-grid {
  align-items: stretch;
}

.services-page .services-intro .service-card h3 {
  margin-top: 1rem;
}

.services-page .services-intro .service-card p {
  margin-top: 0.65rem;
  font-size: 0.93rem;
  line-height: 1.55;
}

.services-page main > section:first-child .section-heading {
  margin-inline: auto;
  text-align: center;
}

.services-page #services-title {
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
}

.services-page #services-title + p {
  max-width: 34rem;
  margin: 0.4rem auto 0;
  text-align: center;
}

.services-page #services-title,
.services-page #services-title + p {
  text-wrap: balance;
}

.service-index {
  position: absolute;
  top: 1.7rem;
  right: 1.7rem;
  color: rgba(10, 52, 120, 0.28);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
}

.process-section {
  background: #fff;
}

.services-page .process-section {
  padding: clamp(4rem, 6vw, 5rem) 0;
  background:
    radial-gradient(circle at 92% 12%, rgba(212, 175, 55, 0.09), transparent 22rem),
    #fff;
}

.services-page .process-section .section-heading {
  margin-bottom: 0;
  margin-inline: auto;
  text-align: center;
}

.services-page #process-title {
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
}

.services-page #process-title + p {
  margin: 0.75rem auto 0;
  text-align: center;
}

.services-page .timeline {
  margin-top: clamp(2.25rem, 4vw, 3rem);
}

.services-page .timeline article {
  min-width: 0;
}

.brand-cta {
  background:
    linear-gradient(120deg, rgba(6, 31, 73, 0.98), rgba(10, 52, 120, 0.94)),
    var(--color-primary-900);
  color: rgba(255, 255, 255, 0.76);
  padding: clamp(1rem, 1.8vw, 1.25rem) 0;
  margin-bottom: clamp(0.5rem, 0.8vw, 0.75rem);
}

.brand-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand-cta .eyebrow,
.brand-cta h2 {
  color: #fff;
}

.brand-cta h2 {
  max-width: 680px;
  font-size: clamp(1.16rem, 1.6vw, 1.6rem);
  line-height: 1.08;
}

.brand-cta p:not(.eyebrow) {
  max-width: 30rem;
  margin-top: 0.45rem;
  font-size: 0.76rem;
  line-height: 1.45;
}

.brand-cta .btn {
  flex: 0 0 auto;
}

.contact-page-section {
  background:
    radial-gradient(circle at 8% 88%, rgba(212, 175, 55, 0.1), transparent 24rem),
    linear-gradient(115deg, #ffffff 0%, #f8fafc 48%, #eaf0f7 100%);
  position: relative;
  overflow: hidden;
}

.contact-page-section::before {
  content: "";
  position: absolute;
  top: var(--header-height);
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.7), transparent);
  pointer-events: none;
}

.contact-page .contact-page-section {
  place-items: center;
  padding-top: calc(var(--header-height) + 1rem);
  padding-bottom: 1rem;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact-page .contact-page-grid {
  width: min(calc(100% - 2rem), var(--content-balanced));
}

.contact-page .contact-details {
  max-width: 34rem;
  min-width: 0;
  align-self: center;
  justify-self: center;
  justify-items: start;
  display: grid;
  gap: 1.1rem;
  padding-block: 0.25rem 0;
}

.contact-page .contact-details h1 {
  color: var(--color-primary-900);
  text-wrap: balance;
}

.contact-details > p:not(.eyebrow) {
  max-width: 33rem;
  border-left: 3px solid var(--color-secondary);
  padding-left: 1.25rem;
  color: var(--color-muted);
  font-size: var(--type-body-lg);
  line-height: 1.65;
  text-wrap: pretty;
}

.contact-direct {
  display: grid;
  gap: 1rem;
  width: min(100%, 33rem);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(10, 52, 120, 0.1);
}

.contact-page .contact-methods-light a,
.contact-page .contact-methods-light > span {
  min-width: 0;
  color: var(--color-primary-900);
  overflow-wrap: anywhere;
}

.contact-page .contact-methods-light a:hover {
  color: var(--color-primary-700);
}

.contact-methods-light span span,
.contact-methods-light a span {
  border-color: rgba(10, 52, 120, 0.12);
  background: #fff;
}

.contact-page .contact-methods {
  margin-top: 0;
  gap: 0.55rem;
}

.contact-assurance {
  margin-top: 0;
  border-top: 1px solid var(--color-border);
  padding-top: 0.95rem;
}

.contact-assurance summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-primary-900);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.contact-assurance summary::-webkit-details-marker {
  display: none;
}

.contact-assurance summary::after {
  content: "+";
  color: var(--color-secondary-dark);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 180ms var(--ease);
}

.contact-assurance[open] summary::after {
  transform: rotate(45deg);
}

.contact-assurance > span {
  display: block;
  margin-top: 0.65rem;
  color: var(--color-muted);
  font-size: 0.86rem;
}

.contact-form-light {
  position: relative;
  overflow: hidden;
  border-color: rgba(212, 175, 55, 0.12);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98));
  box-shadow: 0 18px 50px rgba(10, 52, 120, 0.1);
}

.contact-form-light::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
  pointer-events: none;
}

.contact-page .contact-form {
  width: 100%;
  max-width: 31rem;
  min-width: 0;
  gap: 0.9rem;
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
  border-radius: 1rem;
  align-self: center;
  justify-self: center;
}

.contact-page .contact-form .btn-primary {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-primary-900);
}

.contact-page .contact-form .btn-primary:hover {
  background: #e0bf58;
  border-color: #e0bf58;
}

.contact-page .field input,
.contact-page .field select,
.contact-page .field textarea {
  padding: 0.78rem 0.9rem;
}

@keyframes hero-bob {
  50% {
    transform: translateY(4px);
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 1rem;
  color: var(--color-muted);
  font-size: clamp(1.02rem, 1vw, 1.16rem);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-top: var(--space-12);
}

.value-card,
.service-card,
.solution-card,
.testimonial-card,
.why-card {
  border: 1px solid rgba(10, 52, 120, 0.1);
  border-radius: var(--card-radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.value-card {
  padding: clamp(1.2rem, 2vw, 1.75rem);
}

.value-card span {
  color: var(--color-secondary-dark);
  font-weight: 900;
  letter-spacing: 0;
}

.value-card h3 {
  margin-top: 0.75rem;
}

.value-card p {
  margin-top: 0.8rem;
  color: var(--color-muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease),
    border-color 180ms var(--ease);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 52, 120, 0.18);
  box-shadow: var(--shadow-md);
}

.service-card:hover::after,
.service-card.featured::after {
  transform: scaleX(1);
}

.service-card.featured {
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.2), transparent 14rem),
    #fff;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 0.95rem;
  background: rgba(10, 52, 120, 0.08);
  color: var(--color-primary);
}

.service-icon svg {
  width: 1.45rem;
}

.service-card h3 {
  margin-top: 1.4rem;
}

.service-card p {
  margin-top: 0.85rem;
  color: var(--color-muted);
}

.why-section {
  background:
    linear-gradient(135deg, rgba(6, 31, 73, 0.97), rgba(10, 52, 120, 0.93)),
    var(--color-primary);
  color: rgba(255, 255, 255, 0.76);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.why-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: none;
}

.why-card .eyebrow,
.why-card h2,
.why-card .text-link {
  color: #fff;
}

.why-card .eyebrow::before {
  background: var(--color-secondary);
}

.why-card p {
  margin-top: 1rem;
}

.why-card .text-link {
  margin-top: var(--space-8);
}

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

.proof-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  padding: clamp(1.1rem, 2vw, 1.45rem);
}

.proof-list article > span {
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-weight: 800;
}

.proof-list h3 {
  color: #fff;
}

.proof-list p {
  margin-top: 0.55rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.solution-card {
  padding: clamp(1.25rem, 2.4vw, 2rem);
}

.solution-card.dark {
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.22), transparent 18rem),
    linear-gradient(145deg, var(--color-primary-900), var(--color-primary));
  color: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-lg);
}

.solution-card.dark h3 {
  color: #fff;
}

.solution-card p {
  margin-top: 0.85rem;
  color: var(--color-muted);
}

.solution-card.dark p,
.solution-card.dark li {
  color: rgba(255, 255, 255, 0.78);
}

.solution-card ul {
  display: grid;
  gap: 0.75rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.solution-card li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--color-muted);
  font-weight: 700;
}

.solution-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--color-secondary);
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.experience-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.experience-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(10, 52, 120, 0.1);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.experience-stat strong {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.experience-stat span {
  color: var(--color-muted);
  font-weight: 800;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-top: var(--space-12);
}

.timeline article {
  position: relative;
  border-top: 2px solid rgba(10, 52, 120, 0.16);
  padding-top: 1.25rem;
}

.timeline article::before {
  content: "";
  position: absolute;
  top: -0.42rem;
  left: 0;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.16);
}

.timeline span {
  color: var(--color-secondary-dark);
  font-weight: 900;
}

.timeline h3 {
  margin-top: 0.6rem;
}

.timeline p {
  margin-top: 0.65rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.testimonials-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(248, 250, 252, 0.95)),
    radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.12), transparent 28rem);
}

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

.testimonial-card {
  margin: 0;
  padding: clamp(1.25rem, 2vw, 1.75rem);
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--color-text);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.55;
}

.testimonial-card blockquote::before {
  content: "\201C";
  display: block;
  color: var(--color-secondary);
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0.76;
}

.testimonial-card figcaption {
  display: grid;
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(10, 52, 120, 0.1);
}

.testimonial-card strong {
  color: var(--color-primary-900);
}

.testimonial-card span {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(6, 31, 73, 0.96), rgba(10, 52, 120, 0.9)),
    var(--color-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-intro {
  color: rgba(255, 255, 255, 0.78);
}

.contact-intro .eyebrow,
.contact-intro h2 {
  color: #fff;
}

.contact-intro p:not(.eyebrow) {
  margin-top: 1.2rem;
  font-size: 1.08rem;
}

.contact-methods {
  display: grid;
  gap: 0.9rem;
  margin-top: var(--space-8);
}

.contact-methods a,
.contact-methods span {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  font-weight: 800;
}

.contact-methods span span,
.contact-methods a span {
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-secondary);
}

.contact-methods svg {
  width: 1.15rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg);
}

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

.field {
  display: grid;
  min-width: 0;
  gap: 0.45rem;
}

.field label {
  color: var(--color-primary-900);
  font-size: 0.86rem;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(10, 52, 120, 0.14);
  border-radius: 0.95rem;
  background: #fff;
  color: var(--color-text);
  padding: 0.95rem 1rem;
  transition:
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    background 180ms var(--ease);
}

.field textarea {
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8b98aa;
  font-size: 0.86rem;
  line-height: 1.35;
}

.contact-page .field input::placeholder,
.contact-page .field textarea::placeholder {
  color: rgba(93, 107, 130, 0.64);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(10, 52, 120, 0.1);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #b42318;
  background: #fff8f7;
}

.form-submit {
  width: 100%;
  margin-top: 0.2rem;
}

.form-note,
.form-status {
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.form-status {
  min-height: 1.2rem;
  font-weight: 800;
}

.form-status:empty {
  display: none;
}

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

.form-status.error {
  color: #b42318;
}

.site-footer {
  background: #03142f;
  color: rgba(255, 255, 255, 0.72);
  padding: var(--space-16) 0 var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns:
    minmax(260px, 1.25fr)
    minmax(7rem, 0.55fr)
    minmax(9rem, 0.75fr)
    minmax(15.5rem, 1fr)
    minmax(9rem, 0.75fr);
  align-items: start;
  column-gap: clamp(1.5rem, 3vw, 3rem);
  row-gap: clamp(2rem, 4vw, 3.5rem);
}

.footer-brand {
  min-width: 0;
  max-width: 100%;
  color: #fff;
}

.footer-mark {
  width: 3.6rem;
  height: 3.6rem;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 1rem;
  background:
    rgba(255, 255, 255, 0.08)
    url("../assets/img/logo_dark.png") center / 9.4rem auto no-repeat;
}

.footer-mark img {
  display: none;
}

.footer-brand span {
  display: grid;
  line-height: 1.15;
}

.footer-brand strong {
  font-family: var(--font-heading);
  font-size: 1.04rem;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 700;
  white-space: normal;
}

.site-footer p {
  max-width: 420px;
  margin-top: 1.2rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.site-footer h2 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-accordion {
  min-width: 0;
}

.footer-contact .footer-accordion-content {
  max-width: 18.5rem;
}

.footer-accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-accordion summary::-webkit-details-marker {
  display: none;
}

.footer-accordion summary h2 {
  margin: 0;
}

.footer-accordion-content {
  display: grid;
  gap: 0.72rem;
  margin-top: 0.9rem;
  line-height: 1.45;
}

.footer-accordion-content a,
.footer-accordion-content > span,
.footer-accordion-content p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

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

.site-footer a {
  transition: color 180ms var(--ease);
}

.footer-accordion[open] .footer-accordion-content {
  max-height: 22rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  column-gap: clamp(1rem, 4vw, 3rem);
  row-gap: 0.35rem;
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.footer-bottom span {
  overflow-wrap: anywhere;
}

@media (min-width: 681px) {
  .footer-accordion summary {
    cursor: default;
    pointer-events: none;
  }

  .footer-accordion summary::after {
    display: none;
  }

  .footer-accordion-content {
    max-height: none;
    overflow: visible;
    opacity: 1;
    margin-top: 0.9rem;
  }
}

.floating-contact {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(10, 52, 120, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-primary-900);
  padding: 0.75rem 0.8rem 0.75rem 1rem;
  box-shadow: 0 16px 36px rgba(6, 31, 73, 0.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.floating-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(6, 31, 73, 0.26);
}

.floating-contact > span {
  display: grid;
  line-height: 1.2;
}

.floating-contact strong {
  font-size: 0.82rem;
}

.floating-contact small {
  margin-top: 0.15rem;
  color: var(--color-muted);
  font-size: 0.7rem;
}

.floating-contact svg {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-primary-900);
  padding: 0.65rem;
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .why-grid,
  .experience-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: max(610px, 100vh);
    min-height: max(610px, 100svh);
  }

  .values-grid.values-grid-four,
  .service-grid.service-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .services-intro .service-grid,
  .services-page .services-intro .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, var(--content-balanced));
  }

  .home-page .services-intro .service-card,
  .services-page .services-intro .service-card {
    min-height: 240px;
  }

  .footer-grid {
    grid-template-columns:
      minmax(16rem, 1.25fr)
      minmax(9rem, 0.75fr)
      minmax(10rem, 0.85fr);
  }

  .footer-contact {
    grid-column: span 2;
  }

  .footer-contact .footer-accordion-content {
    max-width: 100%;
  }

  .contact-page .contact-page-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  .contact-page .contact-form {
    max-width: none;
  }

  .contact-page .form-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .contact-page .contact-assurance {
    text-align: left;
  }

  .contact-page .contact-assurance summary {
    justify-content: space-between;
  }

  .contact-page .contact-assurance > span {
    text-align: left;
  }

  .hero-copy {
    max-width: 860px;
  }

  .hero-visual {
    max-width: 680px;
    margin-inline: auto;
    width: 100%;
  }

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

  .solution-card.dark {
    min-height: 320px;
  }
}

@media (max-width: 960px) {
  .contact-page .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    width: min(calc(100% - 1.5rem), var(--content-cards));
  }

  .about-intro .editorial-image {
    max-width: 28rem;
  }

  .about-intro .about-title-block,
  .about-intro .about-text {
    max-width: 100%;
  }

  .contact-page .contact-details {
    max-width: 100%;
    justify-self: stretch;
  }

  .contact-page .contact-page-section {
    min-height: auto;
    display: block;
    padding-top: calc(var(--header-height) + 1.25rem);
    padding-bottom: 2rem;
  }

  .contact-page .contact-form {
    max-width: 38rem;
    margin-inline: auto;
    order: 1;
  }

  .services-page .services-intro .service-grid,
  .services-page .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 76px;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: var(--header-height) 1rem auto;
    display: grid;
    justify-content: stretch;
    gap: 0.25rem;
    max-height: calc(100vh - var(--header-height) - 2rem);
    overflow-y: auto;
    margin: 0;
    border: 1px solid rgba(10, 52, 120, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.98);
    padding: 0.65rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem);
    transition:
      opacity 180ms var(--ease),
      transform 180ms var(--ease);
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    border-radius: 0.95rem;
    color: var(--color-muted);
    padding: 0.9rem 1rem;
  }

  .site-header.is-scrolled .nav-menu a {
    color: var(--color-muted);
  }

  .nav-menu a[aria-current="page"] {
    background: rgba(10, 52, 120, 0.07);
    color: var(--color-primary);
  }

  .site-header.is-scrolled .nav-menu a[aria-current="page"] {
    color: var(--color-primary);
  }

  .nav-menu a::after {
    display: none;
  }

  .service-grid,
  .values-grid,
  .testimonial-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    column-gap: 2rem;
    row-gap: 2rem;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-contact .footer-accordion-content {
    max-width: 100%;
  }

  .editorial-split,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-page-section {
    padding-top: calc(var(--header-height) + 1.25rem);
    padding-bottom: 1.5rem;
  }

  .contact-page .contact-page-grid {
    width: min(calc(100% - 2rem), 900px);
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .contact-page .contact-details {
    max-width: 100%;
    justify-self: stretch;
    order: 2;
  }

  .editorial-image {
    max-height: 560px;
  }

  .about-intro {
    padding-top: calc(var(--header-height) + 0.75rem);
    padding-bottom: 0.75rem;
  }

  .about-intro .editorial-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3rem);
  }

  .about-intro .editorial-image {
    max-height: min(52svh, 28rem);
  }

  .about-intro .about-title-block,
  .about-intro .about-text {
    max-width: 40rem;
    padding-block: 0;
  }

  .services-page .process-section {
    padding: 3.5rem 0;
  }

  .services-page .timeline {
    margin-top: 2rem;
  }

  .services-page .timeline {
    gap: 0.8rem;
  }

  .brand-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  :root {
    --page-title-size: clamp(2rem, 10vw, 3rem);
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .brand-text span {
    display: none;
  }

  .hero {
    min-height: max(560px, 100vh);
    min-height: max(560px, 100svh);
    padding: calc(var(--header-height) + 1.5rem) 0 3.5rem;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(4, 16, 38, 0.88), rgba(4, 16, 38, 0.73)),
      linear-gradient(180deg, rgba(4, 16, 38, 0.23), rgba(4, 16, 38, 0.87)),
      url("../assets/img/hero-sericar.jpg") 46% center / cover no-repeat;
  }

  .hero h1 {
    font-size: var(--page-title-size);
    line-height: 1.04;
  }

  .hero-kicker {
    font-size: 0.9rem;
  }

  .hero .hero-lead {
    max-width: 34rem;
    font-size: var(--type-body-lg);
    line-height: 1.5;
  }

  .hero-actions,
  .footer-bottom {
    flex-direction: column;
  }

  .hero-actions {
    width: min(100%, 22rem);
    margin-inline: auto;
  }

  .page-hero {
    min-height: max(470px, 72svh);
    padding: calc(var(--header-height) + 3.5rem) 0 3.5rem;
  }

  .page-hero::before {
    background:
      linear-gradient(90deg, rgba(4, 16, 38, 0.9), rgba(4, 16, 38, 0.7)),
      linear-gradient(180deg, rgba(4, 16, 38, 0.16), rgba(4, 16, 38, 0.78));
  }

  .page-hero h1 {
    font-size: var(--page-title-size);
  }

  .page-hero-content > p:last-child {
    font-size: var(--type-body-lg);
  }

  .hero-credentials {
    bottom: -7.9rem;
    grid-template-columns: 1fr;
    width: min(100%, 25rem);
    border-bottom: 0;
  }

  .hero-credentials div {
    padding: 0.55rem 1rem;
  }

  .hero-credentials div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .hero-scroll {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .brand-cta {
    padding: 1rem 0;
    margin-bottom: 0.5rem;
  }

  .brand-cta-inner {
    gap: 0.85rem;
  }

  .brand-cta h2 {
    max-width: 100%;
    font-size: clamp(1rem, 4.4vw, 1.28rem);
  }

  .brand-cta p:not(.eyebrow) {
    max-width: 100%;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .home-page .services-intro .service-grid,
  .services-page .services-intro .service-grid {
    grid-template-columns: 1fr;
    width: min(calc(100% - 1.25rem), var(--content-balanced));
    gap: 0.85rem;
  }

  .home-page .services-intro .service-card,
  .services-page .services-intro .service-card {
    min-height: auto;
    padding: 1rem;
  }

  .home-page .about-intro .editorial-split {
    width: min(calc(100% - 1.25rem), 34rem);
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "image"
      "text";
    gap: 1.15rem;
  }

  .home-page .about-title-block {
    max-width: 100%;
    justify-items: center;
    text-align: center;
  }

  .home-page .about-text {
    max-width: 100%;
    justify-items: center;
    text-align: center;
  }

  .home-page .about-text p:first-child,
  .home-page .about-text p:last-child {
    max-width: 100%;
    border-left: 0;
    padding-left: 0;
    font-size: 0.98rem;
  }

  .home-page .services-intro .section-heading > p,
  .services-page .services-intro .section-heading > p {
    max-width: 32rem;
  }

  .home-page .services-intro .section-heading,
  .services-page .services-intro .section-heading {
    width: min(calc(100% - 1.25rem), 36rem);
  }

  .site-footer {
    padding: var(--space-10) 0 var(--space-4);
  }

  .footer-grid {
    row-gap: 1.4rem;
  }

  .footer-accordion {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.85rem;
  }

  .footer-grid > .footer-accordion:first-of-type {
    border-top: 0;
    padding-top: 0;
  }

  .footer-accordion summary {
    cursor: pointer;
  }

  .footer-accordion summary::after {
    content: "+";
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 180ms var(--ease);
  }

  .footer-accordion[open] summary::after {
    content: "−";
  }

  .footer-accordion-content {
    overflow: hidden;
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    transition: max-height 260ms var(--ease), opacity 180ms var(--ease), margin-top 260ms var(--ease);
  }

  .footer-accordion[open] .footer-accordion-content {
    max-height: 18rem;
    margin-top: 0.8rem;
    opacity: 1;
  }

  .footer-mark {
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
    background-size: 8rem auto;
  }

  .footer-brand strong {
    font-size: 0.95rem;
  }

  .footer-brand small {
    font-size: 0.8rem;
  }

  .site-footer p {
    max-width: 100%;
    margin-top: 0.85rem;
    font-size: 0.84rem;
    line-height: 1.48;
  }

  .site-footer h2 {
    margin-bottom: 0.1rem;
    font-size: 0.69rem;
  }

  .footer-accordion-content a,
  .footer-accordion-content > span,
  .footer-accordion-content p {
    font-size: 0.8rem;
  }

  .trust-strip,
  .values-grid,
  .service-grid,
  .testimonial-grid,
  .timeline,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-page-section {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    align-items: start;
    padding-top: calc(var(--header-height) + clamp(0.55rem, 2svh, 1rem));
    padding-bottom: clamp(1.25rem, 4svh, 2.25rem);
  }

  .contact-page-section::before {
    display: none;
  }

  .contact-page .contact-page-grid {
    width: min(calc(100% - 1.25rem), 34rem);
    grid-template-columns: 1fr;
    gap: clamp(1.35rem, 4svh, 2rem);
  }

  .contact-page .contact-details {
    display: grid;
    width: 100%;
    justify-items: center;
    gap: 0.85rem;
    text-align: left;
  }

  .contact-page .contact-details h1 {
    max-width: 12ch;
    justify-self: center;
    font-size: clamp(1.65rem, 7vw, 2.05rem);
    line-height: 1.08;
    text-align: center;
  }

  .contact-details > p:not(.eyebrow) {
    width: 100%;
    max-width: 25rem;
    border-top: 3px solid var(--color-secondary);
    border-left: 0;
    padding-top: 0.85rem;
    padding-left: 0;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .contact-direct {
    width: min(100%, 24rem);
    justify-self: stretch;
    gap: 0.8rem;
    padding-top: 0.7rem;
  }

  .contact-page .contact-methods {
    width: 100%;
    gap: 0.55rem;
  }

  .contact-page .contact-methods a,
  .contact-page .contact-methods span {
    gap: 0.65rem;
    text-align: left;
  }

  .contact-methods-light span span,
  .contact-methods-light a span {
    width: 2.35rem;
    height: 2.35rem;
  }

  .contact-page .contact-assurance summary,
  .contact-page .contact-assurance > span {
    padding-left: 0;
  }

  .contact-page .contact-form {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding: clamp(0.75rem, 2.2svh, 1rem);
    border-radius: 1rem;
    gap: clamp(0.55rem, 1.45svh, 0.85rem);
  }

  .contact-page .form-row,
  .contact-page .contact-form .field,
  .contact-page .contact-form input,
  .contact-page .contact-form textarea,
  .contact-page .contact-form .form-submit {
    width: 100%;
    max-width: 100%;
  }

  .contact-page .contact-form .field {
    gap: clamp(0.22rem, 0.8svh, 0.4rem);
  }

  .contact-page .contact-form label {
    font-size: clamp(0.78rem, 2.8vw, 0.86rem);
  }

  .contact-page .field input,
  .contact-page .field select {
    min-height: clamp(2.5rem, 6.2svh, 3.1rem);
  }

  .contact-page .field textarea {
    min-height: clamp(5.5rem, 18svh, 9.5rem);
    height: clamp(5.5rem, 18svh, 9.5rem);
  }

  .contact-page .form-submit {
    min-height: clamp(2.65rem, 6.5svh, 3.25rem);
    padding-block: 0.7rem;
  }

  @media (max-height: 600px) {
    .contact-page .contact-page-section {
      padding-top: calc(var(--header-height) + 0.6rem);
    }

    .contact-page .contact-form {
      padding: 0.65rem;
      gap: 0.48rem;
    }

    .contact-page .contact-form .field {
      gap: 0.22rem;
    }

    .contact-page .field input,
    .contact-page .field select,
    .contact-page .field textarea {
      padding: 0.62rem 0.8rem;
    }

    .contact-page .field input,
    .contact-page .field select {
      min-height: 2.35rem;
    }

    .contact-page .field textarea {
      min-height: 4.75rem;
      height: 4.75rem;
    }

    .contact-page .form-submit {
      min-height: 2.6rem;
      padding-block: 0.58rem;
    }
  }

  .values-grid.values-grid-four,
  .service-grid.service-grid-four {
    grid-template-columns: 1fr;
  }

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

  .stats-grid article {
    min-height: 140px;
  }

  .stats-grid article + article {
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }

  .editorial-image {
    aspect-ratio: 5 / 4;
  }

  .about-intro {
    min-height: auto;
    display: block;
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 1.9rem;
  }

  .about-page .about-intro {
    display: grid;
    align-items: center;
  }

  .about-intro::before {
    display: none;
  }

  .about-intro .editorial-split {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "image"
      "text";
    gap: 0.95rem;
    width: min(calc(100% - 2.75rem), 30rem);
  }

  .about-intro .editorial-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 13rem;
    border-radius: 1rem;
  }

  .about-title-block {
    max-width: none;
    padding-block: 0;
    justify-items: center;
    text-align: center;
  }

  .about-title-block h2 {
    padding-top: 0;
    font-size: clamp(1.8rem, 8vw, 2.25rem);
    text-align: center;
  }

  .about-text {
    max-width: none;
    text-align: center;
  }

  .about-text p {
    line-height: 1.5;
  }

  .about-text p:first-child {
    padding-left: 0;
    border-left: 0;
    border-top: 3px solid var(--color-secondary);
    padding-top: 0.9rem;
    text-align: center;
    max-width: 25rem;
  }

  .about-text p:last-child {
    max-width: 25rem;
    text-align: center;
  }

  .about-page .values-grid.values-grid-four {
    grid-template-columns: 1fr;
  }

  .principles {
    padding: 2.5rem 0;
  }

  .principles-content {
    width: min(calc(100% - 2.5rem), 30rem);
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .principles-content article {
    min-height: auto;
    padding: 1.15rem;
  }

  .principle-icon {
    width: 2.65rem;
    height: 2.65rem;
    margin-bottom: 0.95rem;
    border-radius: 0.65rem;
  }

  .principles-content h3 {
    font-size: 1.12rem;
  }

  .principles-content p {
    margin-top: 0.55rem;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .services-page .process-section {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    align-items: start;
    padding: calc(var(--header-height) + 0.75rem) 0 1.5rem;
  }

  .services-page .process-section .container {
    width: min(calc(100% - 2.5rem), var(--container));
  }

  .services-page #process-title {
    font-size: clamp(1.45rem, 7vw, 1.65rem);
    line-height: 1.04;
  }

  .services-page #process-title + p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .services-page .services-intro {
    min-height: auto;
    display: block;
    padding-top: calc(var(--header-height) + 1.25rem);
    padding-bottom: 2rem;
  }

  .services-page .services-intro .section-heading {
    margin-bottom: 1.25rem;
  }

  .services-page .services-intro .service-card {
    min-height: auto;
    padding: 1rem;
  }

  .services-page .timeline {
    grid-template-columns: 1fr;
    gap: clamp(0.45rem, 1.4svh, 0.75rem);
    margin-top: clamp(0.85rem, 2svh, 1.15rem);
    padding-left: 0.35rem;
  }

  .services-page .timeline article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.9rem;
    align-items: start;
    border-top: 0;
    border-left: 2px solid rgba(10, 52, 120, 0.16);
    padding: clamp(0.55rem, 1.45svh, 0.75rem) 0.75rem;
    padding-left: 1.35rem;
  }

  .services-page .timeline article::before {
    top: 0.88rem;
    left: -0.38rem;
  }

  .services-page .timeline span {
    grid-row: 1 / span 2;
    min-width: 2ch;
    line-height: 1.1;
  }

  .services-page .timeline h3 {
    font-size: 1rem;
    min-width: 0;
    margin-top: 0;
  }

  .services-page .timeline p {
    grid-column: 1 / -1;
    min-width: 0;
    max-width: 100%;
    margin-top: 0.25rem;
    font-size: 0.86rem;
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .brand-cta .btn {
    width: min(100%, 22rem);
  }

  .trust-strip div {
    padding: 1rem;
  }

  .executive-frame {
    min-height: 520px;
    border-radius: 1.35rem;
  }

  .image-panel-main {
    inset: 0.8rem;
    min-height: 345px;
    border-radius: 1rem;
  }

  .panel-grid {
    inset: 1rem;
    gap: 0.6rem;
  }

  .panel-grid span {
    min-height: 5rem;
  }

  .panel-caption {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .insight-card {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 1.1rem;
  }

  .metric-card {
    right: 1rem;
    top: 4.25rem;
    min-width: 9.8rem;
  }

  .footer-bottom {
    display: grid;
    margin-top: var(--space-8);
    padding-top: var(--space-4);
    gap: 0.28rem;
    font-size: 0.8rem;
  }

  .floating-contact {
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.55rem;
  }

  .floating-contact > span {
    display: none;
  }
}

@media (min-width: 681px) and (max-height: 760px) {
  :root {
    --page-title-size: clamp(2rem, 4vw, 3.1rem);
  }

  .about-intro {
    padding-top: calc(var(--header-height) + 0.5rem);
    padding-bottom: 0.5rem;
  }

  .about-intro .editorial-image {
    max-height: min(50svh, 25rem);
  }

  .about-intro .about-text {
    gap: 0.65rem;
    padding-block: 0;
  }

  .about-intro .about-text p {
    line-height: 1.5;
  }

  .services-page .process-section {
    padding: 3rem 0;
  }

  .services-page .timeline {
    margin-top: 1.75rem;
  }

  .services-page .timeline article {
    padding-top: 1rem;
  }

  .services-page .timeline p {
    margin-top: 0.45rem;
    line-height: 1.45;
  }

  .contact-page .contact-page-section {
    padding-top: calc(var(--header-height) + 0.75rem);
    padding-bottom: 1.5rem;
  }

  .contact-page .contact-page-grid {
    width: min(calc(100% - 1rem), 760px);
    gap: 1.15rem;
  }

  .contact-page .contact-details {
    max-width: none;
  }

  .contact-page .contact-details > p:not(.eyebrow) {
    margin-top: 0;
  }

  .contact-page .contact-methods {
    gap: 0.5rem;
    margin-top: 0;
  }

  .contact-page .contact-methods a,
  .contact-page .contact-methods span {
    line-height: 1.35;
  }

  .contact-page .contact-assurance {
    margin-top: 0;
    padding-top: 0.85rem;
  }

  .contact-page .contact-form {
    gap: clamp(0.5rem, 1.4svh, 0.75rem);
    padding: clamp(0.8rem, 2svh, 1.1rem);
  }

  .contact-page .contact-form label {
    font-size: 0.82rem;
  }

  .contact-page .field {
    gap: 0.28rem;
  }

  .contact-page .field input,
  .contact-page .field select {
    min-height: 2.65rem;
    padding: 0.65rem 0.8rem;
  }

  .contact-page .field textarea {
    padding: 0.65rem 0.8rem;
  }

  .contact-page .field textarea {
    min-height: clamp(5.5rem, 20svh, 8rem);
    height: clamp(5.5rem, 20svh, 8rem);
  }

  .contact-page .form-submit {
    min-height: 2.85rem;
  }
}

@media (min-width: 681px) and (max-height: 650px) {
  .about-page .section-muted {
    padding-block: clamp(1.25rem, 4svh, 1.75rem);
  }

  .about-page .section-muted .section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.1rem);
    line-height: 1.08;
  }

  .about-page .section-muted .section-heading p {
    margin-top: 0.65rem;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .about-page .values-grid {
    gap: 0.9rem;
    margin-top: 1.35rem;
  }

  .about-page .value-card {
    column-gap: 0.9rem;
    padding: 1rem 1.35rem;
  }

  .about-page .value-card .value-icon {
    width: 2.9rem;
    height: 2.9rem;
  }

  .about-page .value-icon img {
    width: 1.3rem;
    height: 1.3rem;
  }

  .about-page .value-card p {
    margin-top: 0.65rem;
    font-size: 0.92rem;
    line-height: 1.45;
  }
}

@media (max-width: 680px) and (max-height: 700px) {
  .hero {
    min-height: max(540px, 100vh);
    min-height: max(540px, 100svh);
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 2rem;
  }

  .hero-kicker {
    margin-bottom: 0.7rem;
  }

  .hero .hero-lead {
    margin-top: 1rem;
  }

  .hero-actions {
    margin-top: 1.25rem;
  }
}

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