@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;600;700&family=Karla:wght@400;500;700&family=Montserrat:wght@300;400;500;600&display=swap");

/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */

:root {
  --background: #f9fafb;
  --surface: #dde4f0;
  --surface-strong: #dde4f0;
  --text: #374151;
  --muted: #374151;
  --accent: #fbbf24;
  --accent-dark: #d79d10;
  --border: #cbd5e1;
  --shadow: 0 18px 40px rgba(31, 26, 23, 0.08);
  --display-font: "bc-alphapipe", "BC Alphapipe Light", "BC Alphapipe", "Josefin Sans", sans-serif;
  --body-font: "Montserrat", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--text);
  background: var(--background);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
}

section {
  margin-block: 120px;
}

.hero {
  margin-top: 0;
  margin-bottom: 0;
}

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

.site-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

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

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  background: transparent;
  border-bottom: 1px solid var(--border);
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--text);
  flex-wrap: wrap;
}

.nav-right,
.site-nav,
.footer-nav,
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav-dropdown {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: -0.75rem;
  display: flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  padding: 0.9rem;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  z-index: 20;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-menu a {
  color: var(--text);
  line-height: 1.3;
}

.nav-dropdown-menu a:hover {
  color: var(--accent-dark);
}

.nav-dropdown-trigger {
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: var(--display-font);
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
}

.brand,
h1,
h2,
h3 {
  font-family: var(--display-font);
  letter-spacing: -0.03em;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.brand-logo {
  display: block;
  width: auto;
  height: 52px;
}

.site-nav a,
.footer-nav a {
  font-family: var(--display-font);
  color: var(--text);
  font-weight: 400;
}

.site-nav {
  gap: 2rem;
  justify-content: center;
  justify-self: center;
}

.nav-right {
  justify-self: end;
}

.locale-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--display-font);
  font-weight: 400;
}

.locale-switch a.active {
  color: var(--accent-dark);
}

.footer-nav a {
  color: var(--text);
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--accent-dark);
}

.footer-nav a:hover {
  color: var(--accent-dark);
}

.site-main {
  padding: 0 0 4rem;
}

.hero,
.page-header {
  padding: 3rem;
}

.hero {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding-top: 0;
  padding-bottom: 0;
}

.page-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.hero-shell {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}

.hero-left,
.hero-right {
  flex: 0 0 auto;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  width: 68%;
  margin-left: -62%;
  margin-top: -13rem;
  position: relative;
  z-index: 2;
}

.hero-right {
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  clip-path: inset(0 0 20% 0);
}

.content-section {
  margin-top: 2rem;
}

#boutique-services {
  margin-top: 0;
  padding-top: 0;
}

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

.services-highlight-heading h2 {
  max-width: none;
  text-align: center;
  color: var(--accent);
  white-space: nowrap;
}

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

.service-card {
  min-height: 220px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.service-card h3 {
  margin: 0;
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

.service-icon {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-symbol,
.service-icon-symbol::before,
.service-icon-symbol::after {
  content: "";
  position: absolute;
}

.service-icon-symbol {
  width: 100%;
  height: 100%;
  color: var(--accent);
}

.service-icon-freedom {
  width: 42px;
  height: 42px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.service-icon-freedom::before {
  inset: 8px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.service-icon-freedom::after {
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.service-icon-portfolio {
  width: 38px;
  height: 46px;
  border: 3px solid currentColor;
  border-radius: 8px;
}

.service-icon-portfolio::before {
  left: 8px;
  top: 10px;
  width: 16px;
  height: 3px;
  background: currentColor;
  box-shadow: 0 8px 0 0 currentColor, 0 16px 0 0 currentColor;
}

.service-icon-portfolio::after {
  right: -2px;
  top: 12px;
  width: 18px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 50%;
  background: var(--surface);
}

.service-icon-strategy-card {
  width: 44px;
  height: 44px;
  border: 3px solid currentColor;
  border-radius: 10px;
}

.service-icon-strategy-card::before {
  left: 8px;
  top: 24px;
  width: 10px;
  height: 10px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 10px -10px 0 0 currentColor, 20px -18px 0 0 currentColor;
}

.service-icon-strategy-card::after {
  left: 14px;
  top: 22px;
  width: 24px;
  height: 3px;
  background: currentColor;
  transform: rotate(-36deg);
  transform-origin: left center;
}

.service-card-link {
  margin-top: auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  border: 1px solid var(--accent-dark);
  color: #1f2937;
  font-family: var(--display-font);
  font-size: 1.8rem;
  line-height: 1;
}

.service-card-link:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

.service-detail-hero {
  display: flex;
  flex-direction: column;
}

.service-detail-hero-layout {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2rem;
}

.service-detail-hero-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.service-detail-title {
  margin: 0;
  color: var(--accent);
}

.service-detail-subtitle {
  margin: 1.25rem 0 0;
  max-width: 42rem;
  color: var(--text);
  text-align: left;
}

.service-price-card {
  min-width: 240px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.5rem;
  background: var(--accent);
  border: 1px solid var(--accent-dark);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.service-price-card strong {
  color: #374151;
  font-family: var(--display-font);
  font-size: 2rem;
  line-height: 1;
  font-weight: 400;
}

.service-price-card span {
  color: #374151;
  font-family: var(--display-font);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
}

.service-detail-image-wrap {
  display: flex;
  justify-content: center;
}

.service-detail-image {
  display: block;
  width: 75%;
  max-width: 75%;
  height: auto;
  border-radius: 24px;
}

.service-overview-table-wrap {
  width: 100%;
}

.service-overview-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-overview-table th,
.service-overview-table td {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.service-overview-table tr:last-child th,
.service-overview-table tr:last-child td {
  border-bottom: 0;
}

.service-overview-table th {
  width: 32%;
  color: var(--accent);
  font-family: var(--display-font);
  font-size: 1.15rem;
  font-weight: 400;
}

.service-overview-table td {
  min-height: 5rem;
  color: var(--text);
  font-family: "Karla", sans-serif;
}

.service-page-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.service-page-cta-copy {
  margin: 0;
  max-width: 42rem;
}

.service-page-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

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

.service-detail-grid-quad .service-detail-card h3,
.service-detail-grid-quad .service-detail-card p {
  color: var(--text);
}

.service-detail-grid-quad .service-detail-card h3 {
  margin-top: 0;
}

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

.service-detail-grid-triple .service-detail-card h3,
.service-detail-grid-triple .service-detail-card p {
  color: var(--text);
}

.service-detail-grid-triple .service-detail-card h3 {
  margin-top: 0;
}

.service-detail-grid-triple .service-detail-card h2,
.service-detail-grid-double .service-detail-card h2,
.service-detail-grid-double .service-detail-card p {
  color: var(--text);
}

.service-detail-grid-triple .service-detail-card h2,
.service-detail-grid-double .service-detail-card h2 {
  margin-top: 0;
}

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

.service-detail-card {
  min-height: 100%;
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.service-detail-card h2,
.service-detail-card p,
.service-detail-card li,
.service-detail-card a {
  color: var(--text);
}

.service-detail-card h2 {
  margin-top: 0;
  color: var(--accent);
}

.service-detail-list {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
  font-family: "Karla", sans-serif;
}

.service-detail-list li + li {
  margin-top: 0.9rem;
}

.service-detail-list a:hover {
  color: var(--accent-dark);
}

.service-detail-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.legal-content-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.legal-content-card h2,
.legal-content-card h3,
.legal-content-card p,
.legal-content-card li,
.legal-content-card a {
  color: var(--text);
}

.legal-content-card h2 {
  margin-top: 0;
  color: var(--accent);
}

.legal-content-card h3 {
  margin-top: 1.75rem;
  color: var(--text);
}

.about-section {
  margin-top: 0;
}

.about-block {
  max-width: 980px;
  margin: 0 auto;
}

.about-block h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--accent);
}

.about-block p {
  margin: 0;
  color: var(--text);
}

.about-block p + p {
  margin-top: 1rem;
}

.about-block-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.why-title {
  margin: 0 0 60px;
  color: var(--accent);
}

.why-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 2rem clamp(2rem, 8vw, 8rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.approach-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 2rem clamp(2rem, 8vw, 8rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.approach-section-heading h2 {
  color: var(--accent);
  text-align: center;
}

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

.approach-card {
  padding: 1.75rem;
  background: rgba(249, 250, 251, 0.65);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.approach-card h3 {
  margin: 0 0 0.85rem;
  color: var(--accent);
}

.approach-card p {
  margin: 0;
  color: var(--text);
}

.cta-section {
  display: flex;
  justify-content: center;
}

.cta-card {
  width: min(760px, 100%);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  background: var(--accent);
  border: 1px solid var(--accent-dark);
  border-radius: 32px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.cta-card h2 {
  margin: 0;
  color: #1f2937;
}

.cta-card p {
  margin: 0;
  max-width: 40rem;
  color: #ffffff;
}

.cta-button {
  background: #1f2937;
  color: #ffffff;
  border-color: #1f2937;
}

.cta-button:hover {
  background: #111827;
  color: #ffffff;
}

.about-team-heading h2 {
  color: var(--accent);
  text-align: center;
}

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

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-avatar {
  width: 180px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #dde4f0);
  border: 2px solid var(--border);
  margin-bottom: 1.25rem;
}

.team-card h3,
.team-card p {
  color: var(--text);
}

.team-card h3 {
  margin: 0 0 0.5rem;
}

.team-card p {
  margin: 0;
}

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

.contact-map-card,
.contact-form-card {
  min-height: 640px;
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 600px;
  border: 0;
  border-radius: 18px;
}

.contact-map-placeholder {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  color: var(--text);
}

.contact-map-placeholder h2,
.contact-map-placeholder p {
  margin: 0;
}

.contact-form-card h1 {
  margin-top: 0;
  color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label,
.form-checkbox,
.form-checkbox a,
.form-notice,
.form-alert {
  font-family: "Karla", sans-serif;
  color: var(--text);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.form-field textarea {
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox input {
  margin-top: 0.2rem;
}

.form-notice {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(251, 191, 36, 0.18);
}

.form-alert {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 99, 99, 0.18);
}

.contact-submit-button {
  align-self: flex-start;
}

.why-section-layout {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.why-copy,
.why-points {
  flex: 1 1 0;
}

.why-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
}

.why-copy p {
  margin: 0;
  max-width: 34rem;
  color: var(--text);
  font-size: 1.1rem;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-point {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
}

.why-point-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.why-point-content h3 {
  margin: 0;
  color: var(--text);
}

.why-point-content p {
  margin: 0;
  color: var(--text);
}

.why-icon {
  position: relative;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon-symbol,
.why-icon-symbol::before,
.why-icon-symbol::after {
  content: "";
  position: absolute;
}

.why-icon-symbol {
  width: 100%;
  height: 100%;
  color: var(--accent);
}

.why-icon-strategy {
  border: 3px solid currentColor;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.why-icon-strategy::before {
  inset: 8px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.why-icon-strategy::after {
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.why-icon-expertise {
  width: 14px;
  height: 14px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: -16px 18px 0 0 currentColor, 16px 18px 0 0 currentColor;
}

.why-icon-expertise::before {
  left: -8px;
  top: 12px;
  width: 30px;
  height: 3px;
  background: currentColor;
  transform: rotate(34deg);
}

.why-icon-expertise::after {
  left: -22px;
  top: 30px;
  width: 30px;
  height: 3px;
  background: currentColor;
  transform: rotate(-34deg);
}

.why-icon-clarity {
  width: 34px;
  height: 42px;
  border: 3px solid currentColor;
  border-radius: 8px;
}

.why-icon-clarity::before {
  left: 7px;
  top: 9px;
  width: 14px;
  height: 8px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg);
}

.why-icon-clarity::after {
  left: 7px;
  bottom: 9px;
  width: 18px;
  height: 3px;
  background: currentColor;
  box-shadow: 0 -8px 0 0 currentColor;
}

.trust-section-heading h2 {
  color: #ffffff;
  text-align: center;
}

.trust-section {
  width: 100%;
}

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

.trust-logo-slot {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 145px;
  height: auto;
  object-fit: contain;
}

.projects-section-heading h2 {
  color: var(--accent);
}

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

.project-card {
  min-height: 320px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.68) 100%);
}

.project-card h3 {
  position: relative;
  margin: 0;
  color: var(--accent);
  font-size: 2rem;
}

.project-card-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 20rem;
}

.project-card-copy p {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--accent-dark);
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  color: var(--accent);
}

.hero-title {
  max-width: 11ch;
  color: var(--accent);
}

.hero-subtitle {
  margin: 0;
  max-width: 28rem;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
}

h2 {
  margin-top: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--accent);
}

h3 {
  margin-top: 0;
  font-size: 1.35rem;
}

h1,
h2,
h3 {
  font-weight: 400;
}

h2,
h3 {
  font-family: "bc-alphapipe", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lead,
p {
  font-family: var(--body-font);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
  font-style: normal;
}

.lead {
  max-width: 42rem;
  color: var(--muted);
}

p {
  color: var(--text);
}

.button {
  font-family: var(--display-font);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button-primary {
  background: var(--accent);
  color: #1f2937;
}

.button-primary:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface);
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.nav-contact-button {
  background: var(--accent);
  color: #1f2937;
  border-radius: 999px;
  font-weight: 400;
  padding-inline: 1.4rem;
}

.nav-contact-button:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

.card-grid,
.stack {
  display: grid;
  gap: 1.25rem;
}

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

.card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

@media (max-width: 800px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    display: flex;
  }

  .hero-shell {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    margin-left: 0;
  }

  .hero,
  .page-header {
    padding: 2rem;
  }

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

  .service-cards-row {
    grid-template-columns: 1fr;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-hero-layout {
    flex-direction: column;
  }

  .service-page-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .service-page-cta-actions .button {
    width: 100%;
  }

  .service-overview-table,
  .service-overview-table tbody,
  .service-overview-table tr,
  .service-overview-table th,
  .service-overview-table td {
    display: block;
    width: 100%;
  }

  .service-overview-table th,
  .service-overview-table td {
    padding: 1rem 1.25rem;
  }

  .service-overview-table th {
    border-bottom: 0;
    padding-bottom: 0.35rem;
  }

  .service-overview-table td {
    min-height: 3rem;
    padding-top: 0;
  }

  .service-detail-grid-triple {
    grid-template-columns: 1fr;
  }

  .service-detail-grid-double {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-map-card,
  .contact-form-card {
    min-height: auto;
  }

  .contact-map-card iframe {
    min-height: 360px;
  }

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

  .why-section-layout {
    flex-direction: column;
  }

  .why-section,
  .approach-section {
    border-radius: 0;
  }

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

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

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

  .services-highlight-heading h2 {
    white-space: normal;
  }
}
