﻿* {
  box-sizing: border-box;
}

:root {
  --color-teal: #2299A1;
  --color-orange: #f4a660;
  --color-navy: #0a1a2f;
  --color-white: #ffffff;
  --color-grey: #6d7b8d;
  --bg: #f2f5fb;
  --surface: var(--color-white);
  --text: #101e34;
  --text-muted: var(--color-grey);
  --brand-dark: var(--color-navy);
  --brand: #1a3f73;
  --brand-soft: #2a5a95;
  --accent: var(--color-orange);
  --accent-deep: #dd742a;
  --white: var(--color-white);
  --line: rgba(13, 35, 66, 0.12);
  --accent-soft: rgba(244, 166, 96, 0.16);
  --accent-border: rgba(242, 143, 69, 0.4);
  --navy-overlay: rgba(8, 26, 53, 0.7);
  /* Legacy aliases kept for compatibility with existing selectors */
  --teal: var(--color-teal);
  --teal-deep: #1a7f86;
  --teal-soft: rgba(34, 153, 161, 0.14);
  --shadow: 0 22px 58px rgba(5, 16, 37, 0.14);
  --shadow-soft: 0 10px 26px rgba(10, 23, 47, 0.08);
  --shadow-card-3d: 0 14px 28px rgba(10, 24, 45, 0.14), 0 2px 0 rgba(255, 255, 255, 0.45) inset;
  --shadow-card-3d-hover: 0 22px 38px rgba(8, 22, 44, 0.2), 0 2px 0 rgba(255, 255, 255, 0.55) inset;
  --header-scrolled-bg: linear-gradient(
    135deg,
    rgba(8, 26, 53, 0.94) 0%,
    rgba(26, 63, 115, 0.92) 56%,
    rgba(42, 90, 149, 0.92) 100%
  );
  --hero-inner-padding-top: 130px;
  --hero-inner-padding-bottom: 42px;
  --hero-inner-min-height: 460px;
  --hero-inner-copy-max: 780px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(242, 143, 69, 0.75);
  outline-offset: 3px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 18px;
  z-index: 2000;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: #081a35;
  color: #fff;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(8, 24, 45, 0.36);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: #0d2a4d;
}

/* Floating WhatsApp â€” dark glass disc; 3D wobble on inner span (never transform the fixed anchor). */
.whatsapp-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  /* Above back-to-top / cookie bar; below cookie modal (10050). */
  z-index: 10042;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(242, 143, 69, 0.38);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 42%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(180deg, rgba(12, 28, 52, 0.82) 0%, rgba(6, 14, 28, 0.92) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    inset 0 2px 10px rgba(242, 143, 69, 0.14),
    0 12px 28px rgba(3, 10, 22, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.18);
  transform: translateZ(0);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.whatsapp-float:hover {
  border-color: rgba(248, 188, 129, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(242, 143, 69, 0.25),
    0 14px 32px rgba(3, 10, 22, 0.55),
    0 0 28px rgba(232, 155, 92, 0.2);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(242, 143, 69, 0.75);
  outline-offset: 3px;
}

.whatsapp-float__tilt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  transform-style: preserve-3d;
  animation: whatsapp-float-wobble 4.2s ease-in-out infinite;
  will-change: transform;
}

@keyframes whatsapp-float-wobble {
  0%,
  100% {
    transform: perspective(480px) rotateY(-12deg);
  }

  50% {
    transform: perspective(480px) rotateY(12deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float__tilt {
    animation: none;
    transform: none;
  }
}

.whatsapp-float:hover .whatsapp-float__tilt {
  animation-play-state: paused;
  transform: perspective(480px) rotateY(0deg);
}

@media (hover: none) {
  .whatsapp-float:hover .whatsapp-float__tilt {
    animation-play-state: running;
  }
}

.whatsapp-float__icon {
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

/* Keep anchored sections clear of the fixed header. */
main [id] {
  scroll-margin-top: 132px;
}

h1,
h2 {
  font-family: "Playfair Display", "Georgia", "Times New Roman", serif;
}

.text-accent-warm {
  color: #f4a660;
  font-style: italic;
  text-decoration: none !important;
  text-shadow: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

.container {
  width: min(1140px, calc(100% - 42px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 29, 52, 0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--accent-border);
  box-shadow: 0 8px 22px rgba(8, 24, 48, 0.2);
  transition: background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, backdrop-filter 0.28s ease;
}

/* Marketing pages: transparent header over hero; gradient bar on scroll. */
body.home-page .site-header,
body.services-page .site-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}

.site-header.is-scrolled {
  background: var(--header-scrolled-bg);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(242, 143, 69, 0.28);
  box-shadow: 0 8px 20px rgba(4, 30, 48, 0.22);
}

/* Inner marketing pages: keep header transparent over editorial hero (no brief navy flash at scroll). */
body.services-page:not(.home-page) .site-header.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

body.services-page:not(.home-page) .site-header.is-scrolled .brand-logo-img {
  filter: none;
}

/* Homepage: navy header only after hero + trust opening (see index.html header-solid script). */
body.home-page .site-header.is-scrolled:not(.header-solid) {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

body.home-page .site-header.is-scrolled:not(.header-solid) .brand-logo-img {
  filter: none;
}

body.home-page .site-header.header-solid {
  background: var(--header-scrolled-bg);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(242, 143, 69, 0.28);
  box-shadow: 0 8px 20px rgba(4, 30, 48, 0.22);
}

body.home-page .site-header.header-solid .brand-logo-img {
  filter: brightness(1.08) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.18));
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
  margin-top: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.site-header.is-scrolled .header-shell {
  margin-top: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  flex-shrink: 0;
}

.brand-logo-img {
  display: block;
  width: clamp(176px, 22vw, 242px);
  height: auto;
  max-width: 100%;
  transition: filter 0.28s ease;
}

.site-header.is-scrolled .brand-logo-img {
  filter: brightness(1.08) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.18));
}

.site-header .brand.brand-logo {
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.site-header .brand-tagline {
  display: block;
  width: 100%;
  max-width: clamp(176px, 22vw, 242px);
  font-size: clamp(0.62rem, 1.05vw, 0.7rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  line-height: 1.2;
}

@media (max-width: 520px) {
  .site-header .brand-tagline {
    display: none;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.site-nav a {
  padding: 9px 11px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  color: #fff;
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.site-nav a.is-active {
  background: rgba(242, 143, 69, 0.4);
  color: #fff;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(7, 23, 49, 0.52);
  color: #fff;
  border-radius: 999px;
  padding: 9px 12px;
  cursor: pointer;
}

.menu-toggle-label {
  font-size: 0.8rem;
  font-weight: 600;
}

.menu-toggle-bar {
  display: block;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.site-nav-close {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: transparent;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-cta,
.button,
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 18px;
  min-height: 44px;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.button-primary,
.btn-primary {
  background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 4px 12px rgba(232, 155, 92, 0.25);
}

.button-teal,
.nav-cta.button-teal {
  background: linear-gradient(140deg, var(--color-teal), var(--teal-deep));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 6px 16px rgba(26, 127, 134, 0.3);
}

.site-nav .nav-cta.button-teal {
  color: #fff;
}

.site-nav .nav-cta {
  color: #fff;
  padding-inline: 14px;
  margin-left: 8px;
}

.site-nav .nav-whatsapp {
  margin-left: 6px;
  padding-inline: 12px;
  gap: 6px;
  font-size: 0.88rem;
}

/* Site orange WhatsApp CTA (brand colour, not default green). */
.button-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 4px 12px rgba(232, 155, 92, 0.25);
}

.button-whatsapp-icon {
  flex-shrink: 0;
}

.button-secondary,
.btn-secondary {
  border: 1px solid rgba(242, 143, 69, 0.62);
  color: var(--accent);
  background: rgba(244, 166, 96, 0.08);
}

.cta-section .button-secondary {
  border-color: rgba(242, 143, 69, 0.62);
}

.pricing-actions .button-secondary,
.section .button-secondary {
  color: var(--accent);
  border-color: rgba(242, 143, 69, 0.62);
  background: #fff;
}

.button-primary:hover,
.button-teal:hover,
.nav-cta.button-teal:hover,
.button-whatsapp:hover,
.btn-primary:hover,
.button-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(9, 26, 52, 0.28);
}

.button-primary:hover,
.button-whatsapp:hover,
.btn-primary:hover {
  background: linear-gradient(140deg, #f4a660, #e57f36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 6px 14px rgba(232, 155, 92, 0.3);
}

.button-teal:hover,
.nav-cta.button-teal:hover {
  background: linear-gradient(140deg, #28aeb6, var(--teal-deep));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 22px rgba(26, 127, 134, 0.38);
}

/* Editorial hero CTAs — hover parity with insights.html (blog-draft-hub reference) */
body.services-page .wi-hero .wi-hero-cta {
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, gap 0.22s ease, box-shadow 0.22s ease;
}

body.services-page .wi-hero .wi-hero-cta--primary[href*="contact"]:hover {
  border: 1px solid rgba(34, 153, 161, 0.7);
  background: rgba(34, 153, 161, 0.1);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: none;
}

body.services-page .wi-hero .wi-hero-cta--primary:not([href*="contact"]):hover {
  transform: translateY(-2px);
  gap: 14px;
  box-shadow:
    0 18px 38px rgba(244, 166, 96, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

body.services-page .wi-hero .wi-hero-cta--ghost:hover {
  border-color: rgba(34, 153, 161, 0.7);
  background: rgba(34, 153, 161, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

.button-secondary:hover,
.btn-secondary:hover {
  border-color: rgba(242, 143, 69, 0.6);
  background: rgba(244, 166, 96, 0.14);
  color: var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 128px 0 68px;
  min-height: min(760px, 92svh);
  max-height: 840px;
  isolation: isolate;
  background: url("assets/images/hero-web-workspace-optimized-2560.png");
  background-size: cover;
  background-position: 74% 22%;
  background-repeat: no-repeat;
  color: #fff;
}

.hero::before {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 28, 0.54);
  pointer-events: none;
  z-index: 0;
}

body.home-page .hero::after {
  background: rgba(6, 14, 28, 0.58);
}

.hero-grid,
.hero-copy-wrap {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: start;
}

.hero-copy-wrap {
  max-width: 730px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(242, 143, 69, 0.36);
  color: rgba(247, 177, 116, 0.88);
  background: rgba(242, 143, 69, 0.1);
}

body:not(.services-page) .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  opacity: 1;
  border-color: rgba(248, 188, 129, 0.6);
  color: #ffd7ad;
  background: rgba(9, 24, 44, 0.62);
}

body.home-page .hero .eyebrow {
  margin-bottom: 12px;
  padding: 3px 9px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-color: rgba(255, 196, 130, 0.75);
  color: #ffcb85;
  background: rgba(12, 28, 52, 0.72);
  backdrop-filter: blur(8px);
  -webkit-font-smoothing: antialiased;
  box-shadow:
    0 2px 14px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 220, 170, 0.12);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  margin: 0 0 14px;
  max-width: 720px;
  font-size: clamp(2.05rem, 4.4vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero-title-line {
  display: block;
}

.hero-rotate {
  display: block;
  margin-top: 0.12em;
  min-height: 1.15em;
  position: relative;
  color: #ffbe62;
  font-style: italic;
  font-weight: 700;
  opacity: 1;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.78),
    0 0 2px rgba(0, 0, 0, 0.7);
}

@media (max-width: 767px) {
  .hero::after {
    background: rgba(6, 14, 28, 0.58);
  }

  body.home-page .hero::after {
    background: linear-gradient(
      180deg,
      rgba(3, 11, 24, 0.18) 0%,
      rgba(8, 23, 47, 0.12) 48%,
      rgba(12, 33, 64, 0.22) 100%
    );
  }

  body.home-page .hero::before {
    display: block;
    content: "";
    position: absolute;
    right: 0;
    bottom: -32%;
    left: auto;
    width: min(100%, 88vw);
    max-width: 100%;
    height: min(560px, 70vw);
    background: radial-gradient(circle, rgba(242, 143, 69, 0.14), transparent 66%);
    pointer-events: none;
    z-index: 0;
  }

  body.home-page .hero .eyebrow {
    font-size: 0.62rem;
    padding: 3px 8px;
    letter-spacing: 0.045em;
    color: #ffd9a0;
    border-color: rgba(255, 200, 140, 0.8);
  }
}

.hero-rotate-track {
  display: inline-grid;
  vertical-align: top;
  min-width: 7.5ch;
  text-align: left;
}

.hero-rotate-track span {
  grid-area: 1 / 1;
  opacity: 0;
  animation: heroRotateWord 12s ease-in-out infinite;
  color: inherit;
}

.hero-rotate-track span:nth-child(1) {
  animation-delay: 0s;
}

.hero-rotate-track span:nth-child(2) {
  animation-delay: 4s;
}

.hero-rotate-track span:nth-child(3) {
  animation-delay: 8s;
}

@keyframes heroRotateWord {
  0%,
  100% {
    opacity: 0;
    transform: translateY(4px);
  }
  3% {
    opacity: 1;
    transform: translateY(0);
  }
  22% {
    opacity: 1;
    transform: translateY(0);
  }
  27% {
    opacity: 0;
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-rotate-track span {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .hero-rotate-track span:first-child,
  body.home-page .hero .hero-rotate-track span:first-child {
    opacity: 1;
  }
}

.hero-copy {
  max-width: 600px;
  font-size: 1rem;
  line-height: 1.62;
  opacity: 0.94;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-locations {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
}

.hero-locations li {
  padding: 4px 2px;
  border-radius: 999px;
  font-size: 0.84rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
}

.hero-locations li::before {
  content: "\25C9";
  color: rgba(242, 143, 69, 0.9);
  margin-right: 6px;
  font-size: 0.72rem;
}

.trust-strip {
  position: relative;
  margin-top: -54px;
  padding: 0 0 30px;
  background: transparent;
  color: var(--text);
}

.trust-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid rgba(13, 35, 66, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(10, 24, 45, 0.05);
  padding: 14px 16px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.trust-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.9rem;
  flex-shrink: 0;
}

body.home-page .trust-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-title {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #2a3547;
}

.trust-grid p {
  margin: 0;
  color: #647188;
  font-size: 0.9rem;
}

.section {
  padding: 94px 0;
}

.section-alt {
  background: #fff;
}

.section-kicker {
  margin: 0;
  color: #f4a660;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
}

.section-kicker-light {
  color: #f4a660;
}

h2 {
  margin: 9px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.15;
}

.section-intro {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--text-muted);
  line-height: 1.72;
}

#services .container,
#online-first .container {
  text-align: center;
}

#story .container {
  text-align: left;
}

#story .section-kicker {
  color: #f4a660;
}

#services .section-intro,
#online-first .section-intro {
  margin-left: auto;
  margin-right: auto;
}

#online-first.section {
  padding-top: 52px;
}

.online-first-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(13, 35, 66, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f2 100%);
  box-shadow: 0 10px 26px rgba(10, 24, 45, 0.08);
}

.online-first-tagline {
  margin: 18px auto 0;
  max-width: 760px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.online-first-actions {
  margin-top: 24px;
}

.story-actions {
  margin-top: 26px;
}

#story .story-editorial {
  display: grid;
  gap: clamp(36px, 6vw, 64px);
  align-items: start;
}

#story .story-copy {
  max-width: 36rem;
}

#story .story-copy .section-kicker {
  margin-bottom: 0;
}

#story .story-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(1.9rem, 4.2vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

#story .story-lead {
  margin: 22px 0 0;
  font-size: clamp(1.02rem, 1.6vw, 1.12rem);
  line-height: 1.65;
  font-weight: 500;
  color: var(--text);
  max-width: 42ch;
}

#story .story-support {
  margin: 16px 0 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 46ch;
}

#story .story-actions {
  margin-top: 30px;
}

#story .story-trust-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 4px;
}

#story .story-trust-block {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

#story .story-trust-block--primary {
  border-left: 3px solid var(--color-teal);
  box-shadow: 0 10px 24px rgba(10, 24, 45, 0.06);
}

#story .story-trust-block--offset {
  margin-top: 22px;
  margin-left: clamp(0px, 4vw, 28px);
  max-width: min(100%, 420px);
  align-self: flex-end;
  border-left: 3px solid rgba(244, 166, 96, 0.7);
}

#story .story-trust-block--inset {
  margin-top: 30px;
  margin-right: clamp(0px, 3vw, 20px);
  max-width: min(100%, 390px);
  border-top: 2px solid rgba(34, 153, 161, 0.35);
  padding-top: 24px;
}

#story .story-trust-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

#story .story-trust-block h3 {
  margin: 10px 0 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

#story .story-trust-block p {
  margin: 10px 0 0;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.96rem;
}

@media (min-width: 900px) {
  #story .story-editorial {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(48px, 7vw, 80px);
  }

  #story .story-trust-block--offset {
    margin-left: 36px;
  }

  #story .story-trust-block--inset {
    margin-right: 32px;
  }
}

.services-grid,
.benefits-grid,
.work-grid,
.testimonials-grid {
  margin-top: 26px;
}

.services-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.benefit-item,
.testimonial-card,
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 8px 18px rgba(10, 24, 45, 0.06);
}

.feature-card {
  padding: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  text-align: left;
  cursor: default;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: #fff;
  border: 1px solid rgba(13, 35, 66, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 143, 69, 0.46);
  box-shadow: var(--shadow-card-3d-hover);
}

.feature-card-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: #fff;
}

.feature-card-content .text-link {
  margin-top: auto;
}

.feature-card h3 {
  font-weight: 800;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.23rem;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--text-muted);
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: #f4a660;
  font-weight: 600;
}

.text-link:hover,
.footer-grid a:hover,
.footer-legal-links a:hover {
  color: var(--accent);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin-bottom: 14px;
  font-size: 1.15rem;
  box-shadow: 0 8px 16px rgba(14, 35, 60, 0.14);
}

.feature-icon-design {
  background: linear-gradient(180deg, #ffe8d1, #ffd9b3);
  border: 1px solid rgba(242, 143, 69, 0.35);
}

.feature-icon-commerce {
  background: linear-gradient(180deg, #ffe8d1, #ffd9b3);
  border: 1px solid rgba(242, 143, 69, 0.35);
}

.feature-icon-brand {
  background: linear-gradient(180deg, #ffe8d1, #ffd9b3);
  border: 1px solid rgba(242, 143, 69, 0.35);
}

.button-outline {
  background: #fff;
  border: 1px solid rgba(242, 143, 69, 0.62);
  color: var(--accent);
}

.button-dark {
  background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  color: #fff;
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 4px 12px rgba(232, 155, 92, 0.25);
}

.button-dark:hover,
.button-outline:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 24px rgba(12, 32, 58, 0.18);
}

.button-dark:hover {
  background: linear-gradient(140deg, #f4a660, #e57f36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 6px 14px rgba(232, 155, 92, 0.3);
}

.why-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: start;
}

#why-us {
  background: #fff;
}

.why-copy h2 {
  margin-top: 6px;
}

.why-copy .section-intro {
  margin-top: 14px;
}

.why-copy .button {
  margin-top: 22px;
}

.benefits-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit-item {
  position: relative;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(13, 35, 66, 0.1);
  background: #fff;
  box-shadow: 0 8px 18px rgba(10, 24, 45, 0.06);
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.benefit-item::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(242, 143, 69, 0.15), rgba(242, 143, 69, 0.75), rgba(242, 143, 69, 0.15));
  pointer-events: none;
}

@keyframes benefitDropIn {
  0% {
    opacity: 0;
    transform: translateY(56px) scale(0.985);
  }
  62% {
    opacity: 1;
    transform: translateY(-6px) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.benefits-grid.is-primed .benefit-item {
  opacity: 0;
  transform: translateY(64px) scale(0.985);
}

.benefits-grid.is-primed.is-revealed .benefit-item {
  animation: benefitDropIn 620ms cubic-bezier(0.22, 0.68, 0.18, 1) both;
}

.benefit-item:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 143, 69, 0.46);
  box-shadow: var(--shadow-card-3d-hover);
}

.benefit-item h3 {
  margin: 0;
  font-size: 1.02rem;
}

.benefit-item p {
  margin: 8px 0 0;
  color: var(--text-muted);
}

.benefits-grid.is-primed.is-revealed .benefit-item:nth-child(1) { animation-delay: 0.04s; }
.benefits-grid.is-primed.is-revealed .benefit-item:nth-child(2) { animation-delay: 0.12s; }
.benefits-grid.is-primed.is-revealed .benefit-item:nth-child(3) { animation-delay: 0.20s; }
.benefits-grid.is-primed.is-revealed .benefit-item:nth-child(4) { animation-delay: 0.28s; }
.benefits-grid.is-primed.is-revealed .benefit-item:nth-child(5) { animation-delay: 0.36s; }
.benefits-grid.is-primed.is-revealed .benefit-item:nth-child(6) { animation-delay: 0.44s; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

#pricing {
  background: #fff;
  color: var(--text);
}

#pricing .section-kicker {
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #f4a660;
  box-shadow: none;
}

#pricing h2 {
  color: var(--text);
}

#pricing .text-accent-warm {
  color: #f4a660;
}

#pricing .section-intro {
  color: var(--text-muted);
}

.pricing-card {
  position: relative;
  padding: 22px 18px;
  background: #fff;
  border-radius: 18px;
  border-color: rgba(13, 35, 66, 0.1);
  min-height: 230px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-3d-hover);
  border-color: rgba(242, 143, 69, 0.34);
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 34px rgba(11, 26, 52, 0.17);
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.pricing-card p {
  margin: 7px 0 0;
}

.pricing-meta {
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price {
  margin: 9px 0 2px;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1.18;
}

.pricing-copy {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
  margin-top: 0;
}

.pricing-card-features {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.pricing-card-features li {
  position: relative;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.pricing-card-features li::before {
  content: "âœ“";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.8rem;
}

.pricing-card-cta {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

.badge {
  position: absolute;
  top: -10px;
  right: 12px;
  margin: 0;
  background: var(--accent);
  color: #fff;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: 999px;
  padding: 5px 9px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(221, 116, 42, 0.34);
}

.pricing-actions {
  margin-top: 38px;
  padding-top: 6px;
  text-align: center;
}

.pricing-actions .button-teal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 340px);
  margin-inline: auto;
}

.testimonials-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  margin: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-color: rgba(13, 35, 66, 0.1);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-quote-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  margin: 0 0 12px;
  background: var(--color-teal);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 700;
}

body.home-page #testimonials .expect-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

body.home-page #testimonials .expect-intro h2 {
  margin: 0;
}

body.home-page #testimonials .expect-lead {
  margin: 20px auto 0;
  max-width: 58ch;
  font-size: clamp(1rem, 1.55vw, 1.08rem);
  line-height: 1.68;
  color: var(--text-muted);
}

body.home-page #testimonials .expect-pathway {
  list-style: none;
  margin: clamp(44px, 6vw, 60px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  position: relative;
}

body.home-page #testimonials .expect-pathway::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: rgba(13, 35, 66, 0.1);
  z-index: 0;
}

body.home-page #testimonials .expect-path-step {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 clamp(8px, 1.5vw, 14px);
  text-align: center;
}

body.home-page #testimonials .expect-path-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  right: calc(-1 * clamp(10px, 1.5vw, 16px));
  width: clamp(10px, 1.5vw, 16px);
  height: 2px;
  background: rgba(244, 166, 96, 0.55);
  z-index: 1;
}

body.home-page #testimonials .expect-path-marker {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  border-radius: 999px;
  border: 2px solid rgba(34, 153, 161, 0.45);
  background: #fff;
  color: var(--color-teal);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
}

body.home-page #testimonials .expect-path-step:nth-child(2) .expect-path-marker {
  border-color: rgba(244, 166, 96, 0.65);
  color: var(--accent-deep);
}

body.home-page #testimonials .expect-path-step:nth-child(3) .expect-path-marker {
  border-color: rgba(34, 153, 161, 0.45);
  color: var(--color-teal);
}

body.home-page #testimonials .expect-path-body {
  max-width: 30ch;
  margin: 0 auto;
}

body.home-page #testimonials .expectation-title {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.34;
}

body.home-page #testimonials .expectation-copy {
  margin: 10px 0 0;
  color: var(--text-muted);
  line-height: 1.66;
  font-size: 0.95rem;
}

body.home-page #testimonials .expectation-note {
  display: block;
  width: min(100%, 920px);
  margin: 48px auto 0;
  padding: 16px 22px;
  border: 1px solid var(--accent-border);
  border-radius: 14px;
  background: var(--accent-soft);
  color: #2a3547;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: center;
  text-wrap: balance;
}

@media (min-width: 900px) {
  body.home-page #testimonials .expect-path-body {
    max-width: 34ch;
  }
}

@media (max-width: 899px) {
  body.home-page #testimonials .expect-pathway {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 6px;
  }

  body.home-page #testimonials .expect-pathway::before {
    top: 8px;
    bottom: 8px;
    left: 21px;
    right: auto;
    width: 2px;
    height: auto;
  }

  body.home-page #testimonials .expect-path-step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px 18px;
    align-items: start;
    text-align: left;
    padding: 0 0 34px;
  }

  body.home-page #testimonials .expect-path-step:last-child {
    padding-bottom: 0;
  }

  body.home-page #testimonials .expect-path-step:not(:last-child)::after {
    display: none;
  }

  body.home-page #testimonials .expect-path-marker {
    margin: 0;
  }

  body.home-page #testimonials .expect-path-body {
    max-width: none;
    margin: 0;
  }

  body.home-page #testimonials .expect-lead {
    max-width: none;
  }
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-3d-hover);
  border-color: rgba(242, 143, 69, 0.32);
}

.testimonial-card p {
  margin: 0;
  color: var(--text-muted);
}

.testimonial-copy {
  line-height: 1.6;
}

.expectation-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--text);
}

.expectation-note {
  margin: 20px auto 0;
  max-width: 860px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.testimonial-divider {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(34, 153, 161, 0.3);
  margin: 16px 0 12px;
}

.testimonial-client {
  margin: 0;
  font-weight: 700;
  color: var(--text) !important;
}

.testimonial-client-meta {
  margin: 2px 0 0;
  font-size: 0.86rem;
  color: var(--text-muted) !important;
}

.testimonial-card .review-stars {
  margin: 10px 0 0;
  color: #f28f45 !important;
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

.testimonial-card cite {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  color: var(--text);
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
}

.cta-section {
  background: #fff;
  color: var(--text);
  padding-top: 56px;
}

.cta-shell {
  max-width: 760px;
}

.cta-shell h2 {
  margin-top: 10px;
}

.cta-shell p {
  margin: 14px 0 0;
  color: var(--text-muted);
}

/* Shared finishing CTA â€” main marketing pages */
.section.cta-closing.marketing-finishing-cta {
  padding: clamp(96px, 13vw, 160px) 0 clamp(108px, 14vw, 168px);
  background: #0a1a2f;
  border-top: 1px solid rgba(244, 166, 96, 0.24);
  color: rgba(255, 255, 255, 0.92);
}

.section.cta-closing.marketing-finishing-cta .cta-closing-shell {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.section.cta-closing.marketing-finishing-cta .cta-closing-eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(242, 143, 69, 0.45);
  color: #f4a660;
  background: rgba(242, 143, 69, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.section.cta-closing.marketing-finishing-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: #fff;
}

.section.cta-closing.marketing-finishing-cta .text-accent-warm {
  color: #f4a660;
  padding-left: 0.1em;
}

.section.cta-closing.marketing-finishing-cta .cta-closing-lead {
  margin: 24px auto 0;
  max-width: 54ch;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.section.cta-closing.marketing-finishing-cta .cta-closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.section.cta-closing.marketing-finishing-cta .cta-closing-actions .button-teal {
  min-width: min(100%, 220px);
}

@media (max-width: 640px) {
  .section.cta-closing.marketing-finishing-cta {
    padding: 84px 0 96px;
  }

  .section.cta-closing.marketing-finishing-cta .cta-closing-lead {
    max-width: none;
  }

  .section.cta-closing.marketing-finishing-cta .cta-closing-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 30px;
  }

  .section.cta-closing.marketing-finishing-cta .cta-closing-actions .button {
    width: 100%;
    text-align: center;
  }
}

#pricing.section {
  padding-bottom: 56px;
}

#contact .section-kicker-light {
  color: var(--accent);
}

.site-footer {
  background:
    linear-gradient(180deg, #0a1a33, #0a2136);
  color: rgba(255, 255, 255, 0.84);
  padding: 48px 0 18px;
  border-top: 1px solid rgba(242, 143, 69, 0.34);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 10px;
}

.footer-logo-img {
  display: block;
  width: clamp(180px, 19vw, 250px);
  height: auto;
  max-width: 100%;
  opacity: 0.97;
}

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
}

.footer-grid-rich {
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-brand-col {
  max-width: 330px;
}

.footer-tagline {
  margin: 4px 0 8px !important;
  color: var(--color-teal) !important;
  font-weight: 700;
}

.footer-summary {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 30ch;
}

.footer-brand {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
}

.footer-title {
  margin: 0 0 8px;
  color: #cce9ee;
  font-weight: 700;
}

.footer-grid a,
.footer-grid p {
  margin: 0;
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.93rem;
}

.footer-contact-line {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}

.footer-contact-line span {
  color: #f4a660;
  margin-top: 1px;
}

.footer-grid a + a,
.footer-grid a + p,
.footer-grid p + a {
  margin-top: 7px;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.66);
}

.footer-legal-links {
  display: flex;
  gap: 18px;
}

.footer-legal-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
  .hero-grid,
  .services-grid,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid-rich {
    gap: 22px;
  }

  .hero {
    background-position: 67% 31%;
    padding-top: 132px;
    min-height: min(700px, 90svh);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-layout {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .pricing-card.featured {
    transform: translateY(0);
  }

  /* Tablet + mobile nav — hamburger up to 900px (avoids cramped desktop nav 641–834px band). */
  main [id] {
    scroll-margin-top: 96px;
  }

  .header-shell {
    position: relative;
    margin-top: 10px;
    border-radius: 12px;
    gap: 10px;
  }

  .brand-logo-img {
    width: clamp(150px, 42vw, 184px);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 20px 28px;
    border-radius: 0;
    background: #081a35;
    border: 0;
    box-shadow: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav-close {
    display: inline-flex;
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
  }

  .site-nav a {
    width: min(92vw, 340px);
    min-height: 50px;
    padding: 12px 14px;
    color: #fff;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
    font-size: 1rem;
  }

  .site-nav a.is-active {
    background: rgba(242, 143, 69, 0.22);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(242, 143, 69, 0.42);
  }

  .site-nav .nav-cta {
    margin-top: 10px;
    text-align: center;
    margin-left: 0;
    width: min(92vw, 340px);
    min-height: 50px;
  }

  .site-nav .nav-whatsapp {
    margin-top: 8px;
    margin-left: 0;
    width: min(92vw, 340px);
    min-height: 50px;
  }

}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    padding: 118px 0 44px;
    min-height: auto;
    background-position: 68% 42%;
  }

  body.home-page .hero {
    background-position: 30% 55%;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trust-strip {
    margin-top: -24px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .section {
    padding: 54px 0;
  }

  .benefits-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    margin-top: 18px;
    margin-bottom: 8px;
  }

  .hero-actions .button {
    width: 100%;
    text-align: center;
  }

  .button-primary,
  .btn-primary,
  .nav-cta,
  .button-dark {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .hero-actions .button-secondary {
    border-color: rgba(242, 143, 69, 0.72);
    background: rgba(244, 166, 96, 0.12);
    color: var(--accent);
  }

  .hero-actions .button-secondary:hover {
    background: rgba(244, 166, 96, 0.18);
    border-color: rgba(242, 143, 69, 0.9);
  }

  .hero-locations {
    margin-top: 18px;
  }

  .trust-strip {
    margin-top: -10px;
    padding: 0 18px 16px;
  }

  #story.section {
    padding-top: 54px;
  }

  #story .story-lead,
  #story .story-support {
    max-width: none;
  }

  #story .story-trust-block--offset,
  #story .story-trust-block--inset {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    align-self: stretch;
  }

  #story .story-trust-block--offset {
    margin-top: 18px;
  }

  #story .story-trust-block--inset {
    margin-top: 18px;
  }

  .footer-logo-img {
    width: clamp(170px, 58vw, 220px);
  }

  .back-to-top {
    right: 20px;
    bottom: 12px;
    width: 34px;
    height: 34px;
  }

  .whatsapp-float {
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
  }

  .whatsapp-float__icon {
    width: 26px;
    height: 26px;
  }
}

/* Homepage responsive audit fixes (mobile-first). */
/* Clip footer only â€” overflow-x on main was kept minimal to avoid edge cases with fixed layers. */
body.home-page .site-footer {
  overflow-x: hidden;
  overflow-x: clip;
}

body.home-page .site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.home-page .hero {
  padding: 108px 0 50px;
  max-height: none;
  background-image: url("assets/images/hero-workspace-light-office-trial.png");
  background-position: 24% 52%;
}

/* Homepage opening: hero + trust strip share one viewport-height screen (inner-page model). */
body.home-page .home-opening {
  box-sizing: border-box;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.home-page .home-opening .hero {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(108px, 12vh, 128px) 0 clamp(28px, 4vh, 48px);
}

body.home-page .home-opening .hero .container.hero-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

body.home-page .home-opening .trust-strip {
  flex-shrink: 0;
  margin-top: -54px;
  padding: 0 0 clamp(18px, 3vh, 30px);
}

/* Homepage mobile hero â€” navy branded background, no photo behind copy (restore step 1). */
@media (max-width: 767px) {
  body.home-page .hero {
    background-image: none;
    background:
      radial-gradient(900px 420px at 0% 45%, rgba(255, 255, 255, 0.08), transparent 58%),
      linear-gradient(135deg, #081a35 0%, #1a3f73 56%, #2a5a95 100%);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
  }
}

body.home-page .hero-copy-wrap {
  max-width: 680px;
  box-sizing: border-box;
  /* Align copy with header container + shell inset (hero grid stays full-width for viewport flex). */
  padding-left: calc((100vw - min(1140px, 100vw - 42px)) / 2 + 14px);
}

body.home-page .hero h1 {
  font-size: clamp(1.9rem, 7.8vw, 2.65rem);
  margin: 0 0 18px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

body.home-page .hero-title-line {
  display: block;
  margin-bottom: 0.1em;
}

body.home-page .hero-rotate {
  margin-top: 0.05em;
  min-height: 1.18em;
}

body.home-page .hero .hero-rotate-track {
  min-width: 11ch;
}

body.home-page .hero .hero-rotate-track span {
  animation-duration: 12s;
}

body.home-page .hero .hero-rotate-track span:nth-child(2) {
  animation-delay: 4s;
}

body.home-page .hero .hero-rotate-track span:nth-child(3) {
  animation-delay: 8s;
}

body.home-page .hero-copy {
  font-size: clamp(0.95rem, 1.55vw, 1.06rem);
  line-height: 1.62;
  max-width: 56ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

body.home-page .hero-grid {
  gap: 0;
}

body.home-page .hero-actions {
  margin-top: 26px;
  gap: 14px;
}

body.home-page .hero-actions .button-teal {
  min-width: min(100%, 228px);
  font-size: 1rem;
}

body.home-page .hero-actions .button-secondary {
  border-color: rgba(244, 166, 96, 0.78);
  color: var(--accent);
  background: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.home-page .hero-actions .button-secondary:hover,
body.home-page .hero-actions .button-secondary:focus-visible {
  border-color: rgba(244, 166, 96, 0.95);
  color: #ffd7ad;
  background: rgba(244, 166, 96, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(244, 166, 96, 0.18);
}

body.home-page .hero-actions .button {
  width: 100%;
  text-align: center;
}

body.home-page .hero-locations {
  margin-top: 16px;
}

body.home-page .online-first-actions .button {
  width: 100%;
  text-align: center;
}

body.home-page .section {
  padding: 54px 0;
}

body.home-page #testimonials.section {
  padding: 68px 0 96px;
}

body.home-page #pricing.section, body.pricing-page #pricing.section {
  padding-top: 72px;
}

body.home-page .trust-grid,
body.home-page .services-grid,
body.home-page .why-layout,
body.home-page .benefits-grid {
  grid-template-columns: 1fr;
}

/* Homepage #pricing â€” featured Business redesign (see block below #why-us) */

/* Homepage #services — editorial service rows (Everything Your Business Needs Online) */
body.home-page #services .home-services-editorial {
  margin: clamp(30px, 4.5vw, 44px) auto 0;
  max-width: min(920px, 100%);
  text-align: left;
}

body.home-page #services .home-service-row {
  display: grid;
  gap: clamp(14px, 2.2vw, 20px);
  align-items: start;
}

body.home-page #services .home-service-row--lead {
  padding-bottom: clamp(26px, 3.5vw, 34px);
  border-bottom: 1px solid rgba(13, 35, 66, 0.12);
}

body.home-page #services .home-service-row--lead .home-service-row__body h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.62rem);
  line-height: 1.22;
}

body.home-page #services .home-service-row--lead .home-service-row__body p {
  max-width: 52ch;
  font-size: clamp(1rem, 1.45vw, 1.06rem);
}

body.home-page #services .home-services-support {
  display: grid;
  gap: 0;
}

body.home-page #services .home-service-row--support {
  padding: clamp(22px, 3vw, 28px) 0 0;
}

body.home-page #services .home-service-row--support + .home-service-row--support {
  margin-top: clamp(18px, 2.5vw, 24px);
  padding-top: clamp(18px, 2.5vw, 24px);
  border-top: 1px solid rgba(13, 35, 66, 0.08);
}

body.home-page #services .home-service-row__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

body.home-page #services .home-service-row__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

body.home-page #services .home-service-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--color-teal);
  background: rgba(34, 153, 161, 0.1);
  border: 1px solid rgba(34, 153, 161, 0.2);
}

body.home-page #services .home-service-row__icon--care {
  color: var(--accent-deep);
  background: rgba(244, 166, 96, 0.1);
  border-color: rgba(244, 166, 96, 0.26);
}

body.home-page #services .home-service-row__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.home-page #services .home-service-row__body h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.28;
}

body.home-page #services .home-service-row__body p {
  margin: 10px 0 0;
  color: var(--text-muted);
  line-height: 1.62;
  font-size: 0.96rem;
  max-width: 46ch;
}

body.home-page #services .home-service-row__body .text-link {
  margin-top: 14px;
}

body.home-page #services .home-service-row--lead .home-service-row__body {
  padding-left: clamp(0px, 1vw, 12px);
  border-left: 3px solid rgba(34, 153, 161, 0.45);
}

@media (min-width: 720px) {
  body.home-page #services .home-service-row {
    grid-template-columns: minmax(108px, 132px) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 32px);
  }

  body.home-page #services .home-services-support {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(36px, 5vw, 52px);
    padding-top: clamp(24px, 3vw, 30px);
  }

  body.home-page #services .home-service-row--support {
    padding: 0;
    margin-top: 0;
  }

  body.home-page #services .home-service-row--support + .home-service-row--support {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    border-left: 1px solid rgba(13, 35, 66, 0.1);
    padding-left: clamp(36px, 5vw, 52px);
  }
}

/* Homepage #why-us — studio spread + benefit mosaic (Studio Price Tag section) */
body.home-page #why-us .home-why-spread {
  display: grid;
  gap: clamp(28px, 4vw, 40px);
}

body.home-page #why-us .home-why-spread__intro {
  text-align: left;
}

body.home-page #why-us .home-why-spread__intro h2 {
  margin-top: 6px;
  max-width: 16ch;
}

body.home-page #why-us .home-why-spread__intro .section-intro {
  margin-top: 14px;
  max-width: 46ch;
}

body.home-page #why-us .home-why-cta {
  display: inline-flex;
  margin-top: 22px;
}

body.home-page #why-us .home-why-mosaic {
  display: grid;
  gap: 0;
  border: 1px solid rgba(13, 35, 66, 0.1);
  background:
    linear-gradient(135deg, rgba(34, 153, 161, 0.04) 0%, transparent 42%),
    linear-gradient(225deg, rgba(244, 166, 96, 0.05) 0%, transparent 38%),
    #fff;
}

body.home-page #why-us .home-why-tile {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 10px 14px;
  align-content: start;
  padding: clamp(18px, 2.8vw, 26px);
  border-top: 1px solid rgba(13, 35, 66, 0.1);
  border-left: 1px solid rgba(13, 35, 66, 0.1);
  margin-top: -1px;
  margin-left: -1px;
}

body.home-page #why-us .home-why-tile__num {
  grid-column: 1;
  grid-row: 1;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(13, 35, 66, 0.38);
  line-height: 1;
}

body.home-page #why-us .home-why-tile__icon {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--color-teal);
}

body.home-page #why-us .home-why-tile__icon--speed,
body.home-page #why-us .home-why-tile__icon--value,
body.home-page #why-us .home-why-tile__icon--personal {
  color: var(--accent-deep);
}

body.home-page #why-us .home-why-tile__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.home-page #why-us .home-why-tile__content {
  grid-column: 1 / -1;
  grid-row: 2;
}

body.home-page #why-us .home-why-tile__content h3 {
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.08rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

body.home-page #why-us .home-why-tile__content p {
  margin: 8px 0 0;
  color: var(--text-muted);
  line-height: 1.58;
  font-size: 0.92rem;
}

body.home-page #why-us .home-why-tile--feature {
  background: rgba(34, 153, 161, 0.05);
}

body.home-page #why-us .home-why-tile--feature .home-why-tile__content h3 {
  font-size: clamp(1.12rem, 1.8vw, 1.28rem);
}

body.home-page #why-us .home-why-tile--closing {
  background: rgba(13, 35, 66, 0.025);
}

body.home-page #why-us .home-why-tile--closing .home-why-tile__content {
  display: grid;
  gap: 0;
}

@media (min-width: 600px) {
  body.home-page #why-us .home-why-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-page #why-us .home-why-tile--feature {
    grid-column: span 2;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto;
    align-items: start;
    column-gap: 16px;
  }

  body.home-page #why-us .home-why-tile--feature .home-why-tile__num {
    grid-row: 1;
    padding-top: 8px;
  }

  body.home-page #why-us .home-why-tile--feature .home-why-tile__icon {
    grid-row: 1;
  }

  body.home-page #why-us .home-why-tile--feature .home-why-tile__content {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }

  body.home-page #why-us .home-why-tile--closing {
    grid-column: span 2;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto;
    column-gap: 16px;
  }

  body.home-page #why-us .home-why-tile--closing .home-why-tile__num {
    padding-top: 6px;
  }

  body.home-page #why-us .home-why-tile--closing .home-why-tile__content {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (min-width: 960px) {
  body.home-page #why-us .home-why-spread {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
    gap: 0;
    align-items: stretch;
  }

  body.home-page #why-us .home-why-spread__intro {
    padding: clamp(8px, 1.5vw, 16px) clamp(28px, 4vw, 52px) clamp(24px, 3vw, 36px) 0;
    border-right: 1px solid rgba(13, 35, 66, 0.1);
  }

  body.home-page #why-us .home-why-mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    min-height: 100%;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
  }

  body.home-page #why-us .home-why-tile--feature {
    grid-column: 1 / 4;
    grid-row: 1;
  }

  body.home-page #why-us .home-why-tile:nth-child(2) {
    grid-column: 4 / 7;
    grid-row: 1;
  }

  body.home-page #why-us .home-why-tile:nth-child(3) {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  body.home-page #why-us .home-why-tile:nth-child(4) {
    grid-column: 3 / 5;
    grid-row: 2;
  }

  body.home-page #why-us .home-why-tile:nth-child(5) {
    grid-column: 5 / 7;
    grid-row: 2;
  }

  body.home-page #why-us .home-why-tile--closing {
    grid-column: 1 / 7;
    grid-row: 3;
  }
}

/* Homepage #pricing â€” premium featured Business layout */
body.home-page #pricing .pricing-grid, body.pricing-page #pricing .pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 32px);
  margin-top: clamp(32px, 4.5vw, 48px);
  align-items: stretch;
}

body.home-page #pricing .pricing-card, body.pricing-page #pricing .pricing-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: auto;
  padding: 0;
  border-radius: 22px;
  border: 1px solid rgba(13, 35, 66, 0.09);
  background: #fff;
  box-shadow: 0 6px 22px rgba(10, 24, 45, 0.06);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

body.home-page #pricing .pricing-card:hover, body.pricing-page #pricing .pricing-card:hover {
  transform: none;
  box-shadow: 0 10px 26px rgba(10, 24, 45, 0.08);
}

body.home-page #pricing .pricing-card.featured, body.pricing-page #pricing .pricing-card.featured {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(ellipse 70% 55% at 100% 100%, rgba(42, 90, 149, 0.45), transparent 58%),
    linear-gradient(135deg, #081a35 0%, #1a3f73 56%, #2a5a95 100%);
  box-shadow: 0 22px 44px rgba(8, 22, 44, 0.22);
  color: rgba(255, 255, 255, 0.92);
}

body.home-page #pricing .pricing-card.featured:hover, body.pricing-page #pricing .pricing-card.featured:hover {
  transform: none;
  box-shadow: 0 24px 48px rgba(8, 22, 44, 0.24);
}

body.home-page #pricing .pricing-card-layout, body.pricing-page #pricing .pricing-card-layout {
  display: grid;
  gap: clamp(22px, 3vw, 30px);
  padding: clamp(26px, 3.5vw, 34px);
  height: 100%;
}

body.home-page #pricing .pricing-card-intro, body.pricing-page #pricing .pricing-card-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

body.home-page #pricing .pricing-card-icon, body.pricing-page #pricing .pricing-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(13, 35, 66, 0.05);
  border: 1px solid rgba(13, 35, 66, 0.1);
}

body.home-page #pricing .pricing-card-icon svg, body.pricing-page #pricing .pricing-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.home-page #pricing .pricing-card.featured .pricing-card-icon, body.pricing-page #pricing .pricing-card.featured .pricing-card-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

body.home-page #pricing .pricing-card h3, body.pricing-page #pricing .pricing-card h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
}

body.home-page #pricing .pricing-card.featured h3, body.pricing-page #pricing .pricing-card.featured h3 {
  color: #fff;
}

body.home-page #pricing .pricing-card-title-row, body.pricing-page #pricing .pricing-card-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 2px;
}

body.home-page #pricing .pricing-card-title-row h3, body.pricing-page #pricing .pricing-card-title-row h3 {
  margin: 0;
}

body.home-page #pricing .pricing-best-for, body.pricing-page #pricing .pricing-best-for {
  margin: 12px 0 0;
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--text-muted);
  max-width: 42ch;
}

body.home-page #pricing .pricing-card.featured .pricing-best-for, body.pricing-page #pricing .pricing-card.featured .pricing-best-for {
  color: rgba(255, 255, 255, 0.78);
}

body.home-page #pricing .price, body.pricing-page #pricing .price {
  margin: 18px 0 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.05rem, 3.4vw, 2.65rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--brand-dark);
}

body.home-page #pricing .pricing-card.featured .price, body.pricing-page #pricing .pricing-card.featured .price {
  color: #fff;
}

body.home-page #pricing .pricing-meta, body.pricing-page #pricing .pricing-meta {
  margin: 0 0 2px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

body.home-page #pricing .pricing-card.featured .pricing-meta, body.pricing-page #pricing .pricing-card.featured .pricing-meta {
  color: rgba(244, 166, 96, 0.95);
}

body.home-page #pricing .pricing-card-features, body.pricing-page #pricing .pricing-card-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(13, 35, 66, 0.08);
}

body.home-page #pricing .pricing-card.featured .pricing-card-features, body.pricing-page #pricing .pricing-card.featured .pricing-card-features {
  border-top-color: rgba(255, 255, 255, 0.14);
}

body.home-page #pricing .pricing-card-features li, body.pricing-page #pricing .pricing-card-features li {
  position: relative;
  margin: 0;
  padding: 13px 0 13px 26px;
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(13, 35, 66, 0.06);
}

body.home-page #pricing .pricing-card-features li:last-child, body.pricing-page #pricing .pricing-card-features li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

body.home-page #pricing .pricing-card-features li:first-child, body.pricing-page #pricing .pricing-card-features li:first-child {
  padding-top: 16px;
}

body.home-page #pricing .pricing-card.featured .pricing-card-features li, body.pricing-page #pricing .pricing-card.featured .pricing-card-features li {
  color: rgba(255, 255, 255, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.home-page #pricing .pricing-card-features li::before, body.pricing-page #pricing .pricing-card-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 4px;
  margin-top: -1px;
  border-left: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
  color: var(--brand-dark);
  font-size: 0;
  font-weight: 400;
}

body.home-page #pricing .pricing-card.featured .pricing-card-features li::before, body.pricing-page #pricing .pricing-card.featured .pricing-card-features li::before {
  color: var(--accent);
}

body.home-page #pricing .pricing-card-features li strong, body.pricing-page #pricing .pricing-card-features li strong {
  color: var(--brand-dark);
  font-weight: 600;
}

body.home-page #pricing .pricing-card.featured .pricing-card-features li strong, body.pricing-page #pricing .pricing-card.featured .pricing-card-features li strong {
  color: #fff;
}

body.home-page #pricing .pricing-card-cta, body.pricing-page #pricing .pricing-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin-top: 22px;
  width: auto;
  max-width: 100%;
  align-self: center;
  text-align: center;
  padding: 9px 16px;
  min-height: 0;
  font-size: 0.82rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
  border-radius: 999px;
}

body.home-page #pricing .pricing-card:not(.featured) .pricing-card-cta.button-outline, body.pricing-page #pricing .pricing-card:not(.featured) .pricing-card-cta.button-outline {
  background: #fff;
  color: var(--brand-dark);
  border: 1px solid rgba(13, 35, 66, 0.22);
  box-shadow: none;
}

body.home-page #pricing .pricing-card:not(.featured) .pricing-card-cta.button-outline:hover, body.pricing-page #pricing .pricing-card:not(.featured) .pricing-card-cta.button-outline:hover {
  transform: none;
  border-color: rgba(13, 35, 66, 0.35);
  box-shadow: 0 4px 14px rgba(10, 24, 45, 0.08);
}

body.home-page #pricing .pricing-card.featured .badge, body.pricing-page #pricing .pricing-card.featured .badge {
  position: static;
  margin: 0;
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(221, 116, 42, 0.28);
}

body.home-page #pricing .pricing-actions, body.pricing-page #pricing .pricing-actions {
  margin-top: clamp(32px, 4vw, 44px);
}

@media (min-width: 640px) {
  body.home-page #pricing .pricing-card-layout,   body.pricing-page #pricing .pricing-card-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(24px, 3.5vw, 32px);
  }

  body.home-page #pricing .pricing-card-features,   body.pricing-page #pricing .pricing-card-features {
    border-top: 0;
    padding-top: 2px;
  }

  body.home-page #pricing .pricing-card-features li:first-child,   body.pricing-page #pricing .pricing-card-features li:first-child {
    padding-top: 0;
  }
}

@media (min-width: 768px) {
  body.home-page #pricing .pricing-grid,   body.pricing-page #pricing .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 32px);
  }

  body.home-page #pricing .pricing-card--business,   body.pricing-page #pricing .pricing-card--business {
    grid-column: 1 / -1;
    max-width: min(100%, 960px);
    justify-self: center;
    width: 100%;
  }

  body.home-page #pricing .pricing-card--business .pricing-card-layout,   body.pricing-page #pricing .pricing-card--business .pricing-card-layout {
    padding: clamp(30px, 3.5vw, 38px);
  }
}

@media (min-width: 1024px) {
  body.home-page #pricing .pricing-grid,   body.pricing-page #pricing .pricing-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(22px, 2.2vw, 30px);
  }

  body.home-page #pricing .pricing-card--starter,
  body.home-page #pricing .pricing-card--professional,   body.pricing-page #pricing .pricing-card--professional {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    height: 100%;
    min-height: 100%;
  }

  body.home-page #pricing .pricing-card--starter .pricing-card-layout,
  body.home-page #pricing .pricing-card--professional .pricing-card-layout,   body.pricing-page #pricing .pricing-card--professional .pricing-card-layout {
    flex: 1 1 auto;
    height: 100%;
    min-height: 100%;
  }

  body.home-page #pricing .pricing-card--business,   body.pricing-page #pricing .pricing-card--business {
    grid-column: auto;
    max-width: none;
    width: auto;
    align-self: start;
  }

  body.home-page #pricing .pricing-card.featured,   body.pricing-page #pricing .pricing-card.featured {
    transform: translateY(-14px);
    z-index: 2;
  }

  body.home-page #pricing .pricing-card.featured:hover,   body.pricing-page #pricing .pricing-card.featured:hover {
    transform: translateY(-14px);
  }

  body.home-page #pricing .pricing-card-layout,   body.pricing-page #pricing .pricing-card-layout {
    grid-template-columns: 1fr;
    gap: clamp(24px, 2.8vw, 32px);
    padding: clamp(28px, 2.8vw, 36px);
  }

  body.home-page #pricing .pricing-card-features,   body.pricing-page #pricing .pricing-card-features {
    border-top: 1px solid rgba(13, 35, 66, 0.08);
  }

  body.home-page #pricing .pricing-card.featured .pricing-card-features,   body.pricing-page #pricing .pricing-card.featured .pricing-card-features {
    border-top-color: rgba(255, 255, 255, 0.14);
  }

  body.home-page #pricing .pricing-card-features li:first-child,   body.pricing-page #pricing .pricing-card-features li:first-child {
    padding-top: 18px;
  }

  body.home-page #pricing .pricing-card--starter .pricing-best-for,
  body.home-page #pricing .pricing-card--professional .pricing-best-for,   body.pricing-page #pricing .pricing-card--professional .pricing-best-for {
    max-width: none;
    min-height: 10.75rem;
  }
}

@media (min-width: 1200px) {
  body.home-page #pricing .pricing-grid,   body.pricing-page #pricing .pricing-grid {
    gap: clamp(24px, 2.4vw, 36px);
  }

  body.home-page #pricing .pricing-card-layout,   body.pricing-page #pricing .pricing-card-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(28px, 2.5vw, 36px);
    padding: clamp(30px, 2.6vw, 40px);
  }

  body.home-page #pricing .pricing-card--business .pricing-card-layout,
  body.home-page #pricing .pricing-card--starter .pricing-card-layout,
  body.home-page #pricing .pricing-card--professional .pricing-card-layout,   body.pricing-page #pricing .pricing-card--professional .pricing-card-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  }

  body.home-page #pricing .pricing-card.featured,   body.pricing-page #pricing .pricing-card.featured {
    transform: translateY(-16px);
  }

  body.home-page #pricing .pricing-card.featured:hover,   body.pricing-page #pricing .pricing-card.featured:hover {
    transform: translateY(-16px);
  }

  body.home-page #pricing .pricing-card.featured .pricing-card-layout,   body.pricing-page #pricing .pricing-card.featured .pricing-card-layout {
    padding: clamp(32px, 2.8vw, 42px);
  }
}

body.home-page .trust-grid {
  padding: 16px 18px;
}

@media (min-width: 768px) {
  body.home-page .home-opening .hero {
    background-position: 20% 50%;
  }

  body.home-page .hero h1 {
    font-size: clamp(2.15rem, 5vw, 3.2rem);
  }

  body.home-page .hero-copy {
    font-size: 1.04rem;
    max-width: 52ch;
  }

  body.home-page .hero-actions {
    margin-top: 28px;
  }

  body.home-page .hero-actions .button {
    width: auto;
  }

  body.home-page .hero-actions .button-teal {
    min-width: 220px;
  }

  body.home-page .online-first-actions .button {
    width: auto;
  }

  body.home-page .section {
    padding: 82px 0;
  }

  body.home-page #testimonials.section {
    padding: 96px 0 128px;
  }

  body.home-page #pricing.section {
    padding-top: 108px;
  }

  #online-first.section {
    padding-top: 64px;
  }

  body.home-page .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-page .services-grid,
  body.home-page .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 769px) and (min-height: 901px) {
  body.home-page .home-opening {
    min-height: 100svh;
    min-height: 100dvh;
  }

  body.home-page .home-opening .hero {
    padding: clamp(118px, 13vh, 132px) 0 clamp(40px, 6vh, 64px);
    background-position: 18% 48%;
  }

  body.home-page .hero h1 {
    font-size: clamp(2.35rem, 4.2vw, 3.65rem);
    max-width: none;
    line-height: 1.1;
  }

  body.home-page .hero-copy {
    font-size: 1.08rem;
    max-width: 48ch;
  }

  body.home-page .hero-actions {
    margin-top: 30px;
  }
}

@media (min-width: 1024px) {
  #online-first.section {
    padding-top: 72px;
  }

  body.home-page .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.home-page .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.home-page .why-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  }

  body.home-page .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Homepage â€” short laptop viewport (14-inch band): fit hero + trust like inner pages */
@media (max-height: 900px) and (min-width: 768px) {
  body.home-page .home-opening {
    min-height: 100svh;
    min-height: 100dvh;
    padding-bottom: clamp(10px, 2vh, 18px);
  }

  body.home-page .home-opening .hero {
    padding: clamp(88px, 11vh, 116px) 0 clamp(20px, 3vh, 32px);
    overflow: visible;
  }

  body.home-page .hero h1 {
    font-size: clamp(1.85rem, 4.2vw, 2.55rem);
    margin-bottom: clamp(8px, 1.2vh, 12px);
    line-height: 1.1;
  }

  body.home-page .hero-copy {
    font-size: clamp(0.94rem, 1.6vw, 1rem);
    line-height: 1.52;
  }

  body.home-page .hero-actions {
    margin-top: clamp(14px, 2vh, 20px);
    gap: 10px;
  }

  body.home-page .hero-locations {
    margin-top: clamp(8px, 1.2vh, 12px);
  }

  body.home-page .home-opening .trust-strip {
    margin-top: -36px;
    padding-bottom: clamp(10px, 2vh, 16px);
  }

  body.home-page .trust-grid {
    gap: 8px;
    padding: 10px 14px;
  }

  body.home-page .trust-item {
    gap: 7px;
  }

  body.home-page .trust-icon {
    width: 24px;
    height: 24px;
  }

  body.home-page .trust-icon svg {
    width: 14px;
    height: 14px;
  }

  body.home-page .trust-title {
    font-size: 0.9rem;
    margin-bottom: 2px;
    line-height: 1.25;
  }

  body.home-page .trust-grid p:not(.trust-title) {
    font-size: 0.8rem;
    line-height: 1.32;
  }
}

@media (min-width: 1024px) and (max-height: 820px) {
  body.home-page .home-opening .hero {
    padding-top: clamp(96px, 11vw, 120px);
  }

  body.home-page .home-opening .trust-strip {
    margin-top: -38px;
  }
}

@media (max-height: 700px) and (min-width: 768px) {
  body.home-page .hero-locations {
    display: none;
  }

  body.home-page .home-opening .trust-grid {
    gap: 6px;
    padding: 8px 12px;
  }
}

@media (max-width: 767px) {
  body.home-page .home-opening {
    min-height: auto;
    display: block;
    overflow-x: clip;
  }

  body.home-page .home-opening .hero {
    flex: none;
    padding: 118px 0 36px;
    overflow-x: clip;
    overflow-y: visible;
  }

  /* Stop trust strip overlapping hero copy/locations on mobile. */
  body.home-page .home-opening .trust-strip {
    margin-top: 14px;
    padding: 0 0 24px;
  }

  /* Homepage mobile gutter — match .container rhythm (no viewport calc / full-bleed). */
  body.home-page .hero-copy-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  body.home-page .home-opening .hero .container.hero-grid,
  body.home-page .home-opening .trust-grid {
    width: min(1140px, calc(100% - 42px));
    max-width: 100%;
    margin-inline: auto;
  }

  body.home-page .site-footer .container {
    width: min(1140px, calc(100% - 42px));
  }
}

@media (max-width: 640px) {
  body.home-page .home-opening .hero .container.hero-grid,
  body.home-page .home-opening .trust-grid,
  body.home-page .site-footer .container {
    width: min(100% - 24px, 1120px);
  }
}

@media (min-width: 1200px) {
  body.home-page .hero .container.hero-grid,
  .site-header .container.header-shell {
    width: min(1520px, calc(100% - 84px));
  }

  .site-header .header-shell {
    padding-left: 0;
  }

  body.home-page .hero-copy-wrap {
    padding-left: calc((100vw - min(1520px, 100vw - 84px)) / 2);
  }
}

/* 14-inch laptop band only: nudge hero copy inward; 15.6-inch+ (taller viewports) unchanged. */
@media (min-width: 1024px) and (max-width: 1500px) and (max-height: 820px) {
  body.home-page .hero-copy-wrap {
    padding-left: calc((100vw - min(1520px, 100vw - 84px)) / 2 + 14px);
  }

  /* 14-inch laptop band: match homepage logo scale on all main-site headers */
  .site-header .brand-logo-img {
    width: clamp(158px, 16vw, 208px);
  }

  .site-header .brand-tagline {
    max-width: clamp(158px, 16vw, 208px);
    font-size: clamp(0.58rem, 0.95vw, 0.66rem);
  }
}

@media (min-width: 1600px) {
  body.home-page .hero .container.hero-grid,
  .site-header .container.header-shell {
    width: min(1600px, calc(100% - 96px));
  }

  body.home-page .hero-copy-wrap {
    padding-left: calc((100vw - min(1600px, 100vw - 96px)) / 2);
  }
}

.mobile-menu,
.nav-menu,
.mobile-nav,
[class*="mobile-menu"] {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100svh !important;
  height: 100dvh !important;
  background-color: #0A1A2F !important;
  background: #0A1A2F !important;
  z-index: 9999 !important;
  overflow-y: auto !important;
  opacity: 1 !important;
}

.site-nav.is-open {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100svh !important;
  height: 100dvh !important;
  background-color: #0A1A2F !important;
  background: #0A1A2F !important;
  z-index: 9999 !important;
  overflow-y: auto !important;
  opacity: 1 !important;
}

/* Mobile horizontal overflow fixes (320–430px band and phones ≤767px) */
@media (max-width: 767px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .site-nav.is-open,
  .mobile-menu,
  .nav-menu,
  .mobile-nav,
  [class*="mobile-menu"] {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }

  .wi-hero-accent-phrase {
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .wi-hero-headline,
  .wi-hero-line,
  .wi-hero-shell {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .wi-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }

  .wi-hero-cta {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .wi-hero {
    overflow-x: clip;
  }

  body.home-page .hero .hero-rotate-track {
    min-width: 0;
    max-width: 100%;
  }

  body.home-page .hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body.home-page .hero-copy-wrap,
  body.home-page .hero-copy {
    max-width: 100%;
    overflow-wrap: anywhere;
    box-sizing: border-box;
  }

  .cookie-banner,
  .cookie-banner-inner,
  .cookie-banner .container {
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: clip;
  }
}

@media (max-width: 430px) {
  .wi-hero-headline {
    font-size: clamp(1.5rem, 7.25vw, 1.9rem) !important;
    letter-spacing: -0.025em;
  }
}

/* ----- Cookie consent (banner + preferences) ----- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  /* Below .back-to-top (2000) so the scroll control stays tappable in the corner */
  z-index: 1900;
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

.cookie-banner-title {
  margin: 0 0 8px;
  font-family: "Playfair Display", "Georgia", "Times New Roman", serif;
  font-size: clamp(1.15rem, 4vw, 1.35rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

.cookie-banner-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.cookie-banner-privacy {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-privacy:hover {
  color: var(--accent-deep);
}

.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner-actions .button {
  width: 100%;
  text-align: center;
}

.cookie-modal-root {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.cookie-modal-root[hidden] {
  display: none !important;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--navy-overlay);
  cursor: pointer;
}

.cookie-modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(88vh, 640px);
  overflow: auto;
  padding: 24px 20px 22px;
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}

.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.cookie-modal-close:hover {
  background: var(--bg);
  border-color: var(--accent-border);
}

.cookie-modal-title {
  margin: 0 40px 12px 0;
  font-family: "Playfair Display", "Georgia", "Times New Roman", serif;
  font-size: clamp(1.2rem, 4vw, 1.45rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

.cookie-modal-intro {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.cookie-pref-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-pref-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.45;
}

.cookie-pref-input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--accent-deep);
}

.cookie-pref-input:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

.cookie-pref-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cookie-pref-hint {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.45;
}

.cookie-modal-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-modal-actions .button {
  width: 100%;
  text-align: center;
}

body.cookie-modal-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .cookie-banner-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
  }

  .cookie-banner-text {
    flex: 1;
    min-width: 0;
  }

  .cookie-banner-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 420px;
  }

  .cookie-banner-actions .button {
    width: auto;
    min-width: min(160px, 100%);
  }

  .cookie-modal-panel {
    padding: 28px 26px 24px;
  }

  .cookie-modal-actions {
    flex-direction: row;
    justify-content: flex-end;
  }

  .cookie-modal-actions .button {
    width: auto;
    min-width: 200px;
  }
}


/* Project workspace explainer â€” homepage */
.project-workspace-section {
  background: linear-gradient(180deg, #fbfcff 0%, #f5f8fc 100%);
}

.project-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 28px;
  align-items: center;
}

.project-workspace-copy h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

.project-workspace-copy .section-intro {
  max-width: 720px;
}

.project-workspace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.project-workspace-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.home-page .project-workspace-card {
  min-height: 178px;
  position: relative;
  overflow: hidden;
  padding: 22px 22px 20px;
  border-radius: 20px;
  border: 1px solid rgba(13, 35, 66, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 253, 0.98) 100%);
  box-shadow:
    0 14px 28px rgba(10, 24, 45, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

body.home-page .project-workspace-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 20px 0 0 20px;
  background: linear-gradient(180deg, rgba(34, 153, 161, 0.82), rgba(244, 166, 96, 0.78));
  opacity: 0.82;
  pointer-events: none;
}

body.home-page .project-workspace-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 86px;
  height: 86px;
  border-radius: 0 20px 0 80px;
  background: radial-gradient(circle at top right, rgba(244, 166, 96, 0.14), transparent 68%);
  pointer-events: none;
}

body.home-page .project-workspace-card:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 143, 69, 0.24);
  box-shadow:
    0 18px 34px rgba(10, 24, 45, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

body.home-page .project-workspace-card h3 {
  position: relative;
  margin-bottom: 10px;
  font-family: "Playfair Display", "Georgia", "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #173654;
}

body.home-page .project-workspace-card p {
  position: relative;
  margin-bottom: 0;
  color: #596b84;
  line-height: 1.58;
}

body.home-page .project-workspace-card .project-workspace-card-note {
  margin-top: 16px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .project-workspace-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .project-workspace-cards {
    grid-template-columns: 1fr;
  }

  .project-workspace-actions .button {
    width: 100%;
    justify-content: center;
  }
}

/* Footer responsive alignment — shared across all public pages */
@media (max-width: 1024px) {
  .site-footer .container {
    width: min(1140px, calc(100% - 40px));
    max-width: 100%;
    margin-inline: auto;
  }

  .site-footer .footer-brand-col {
    max-width: none;
    width: 100%;
  }

  .site-footer .footer-summary {
    max-width: none;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .site-footer .footer-grid.footer-grid-rich {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 36px;
  }

  .site-footer .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding: 44px 0 calc(112px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-x: clip;
    text-align: center;
  }

  .site-footer .container {
    width: min(1140px, calc(100% - 40px));
  }

  .site-footer .footer-grid.footer-grid-rich {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    justify-items: center;
  }

  .site-footer .footer-grid.footer-grid-rich > div {
    min-width: 0;
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }

  .site-footer .footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer .footer-logo {
    margin-inline: auto;
  }

  .site-footer .footer-summary {
    margin-inline: auto;
    max-width: 32ch;
  }

  .site-footer .footer-title {
    margin-bottom: 10px;
  }

  .site-footer .footer-grid a {
    padding-block: 8px;
  }

  .site-footer .footer-grid a + a,
  .site-footer .footer-grid a + p,
  .site-footer .footer-grid p + a {
    margin-top: 0;
  }

  .site-footer .footer-contact-line {
    gap: 10px;
    padding-block: 4px;
    justify-content: center;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    margin-top: 8px;
  }

  .site-footer .footer-bottom p {
    line-height: 1.5;
    max-width: 28ch;
    margin-inline: auto;
  }

  .site-footer .footer-legal-links {
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: center;
  }

  .site-footer .footer-legal-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 0;
  }
}

