:root {
  --ivory: #f6f1e8;
  --paper: #fffdf8;
  --navy: #0a2635;
  --slate: #66717d;
  --orange: #ea6001;
  --line: #e6ded1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
}

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

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

.site-header {
  position: relative;
  z-index: 10;
  width: min(1440px, calc(100% - 64px));
  height: 104px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  justify-self: start;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name {
  display: inline-flex;
  gap: .22em;
  align-items: baseline;
  color: var(--navy);
}

.brand-name > span {
  color: var(--orange);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  font-size: 0.94rem;
  font-weight: 600;
}

nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--orange);
  transition: right 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  right: 0;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  border-radius: 11px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  justify-self: end;
  min-width: 170px;
  border: 1.5px solid var(--orange);
  color: var(--orange);
}

.header-cta svg,
.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

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

.hero {
  position: relative;
  width: min(1440px, calc(100% - 64px));
  min-height: calc(100vh - 104px);
  margin: 0 auto;
  padding: 68px 0 150px;
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) minmax(560px, 1.15fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: start;
  padding-top: 34px;
  animation: rise 700ms ease both;
}

.eyebrow {
  margin: 0 0 26px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(3.7rem, 5.55vw, 5.65rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 800;
}

.hero-lead {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--slate);
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 35px;
  display: grid !important;
  width: 100%;
  max-width: 620px;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 10px;
}

.button {
  min-width: 178px;
  padding: 0 24px;
}

.hero-actions .button {
  width: 100%;
  min-width: 0 !important;
  max-width: none;
  padding: 0 14px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.button-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 14px 32px rgba(234, 96, 1, 0.2);
}

.button-primary:hover {
  box-shadow: 0 17px 36px rgba(234, 96, 1, 0.3);
}

.button-secondary {
  border: 1.5px solid var(--navy);
}

.hero-visual {
  position: relative;
  height: min(610px, 68vh);
  border-radius: 150px 0 150px 0;
  overflow: hidden;
  background: #dce1e3;
  animation: reveal 900ms 100ms ease both;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(10, 38, 53, 0.08);
  border-radius: inherit;
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms ease;
}

.hero-visual:hover img {
  transform: scale(1.025);
}

.availability {
  position: absolute;
  z-index: 2;
  right: 24px;
  top: 24px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(10, 38, 53, 0.1);
}

.availability span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: #31a56b;
  box-shadow: 0 0 0 5px rgba(49, 165, 107, 0.14);
}

.trust-strip {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-strip article {
  min-height: 112px;
  padding: 25px 28px;
  display: flex;
  align-items: center;
  gap: 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 13px 35px rgba(37, 31, 23, 0.07);
  backdrop-filter: blur(10px);
}

.trust-strip svg {
  flex: 0 0 44px;
  width: 44px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-strip div {
  display: grid;
  gap: 6px;
}

.trust-strip strong {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  letter-spacing: -0.04em;
}

.trust-strip span {
  color: var(--slate);
  font-size: 0.82rem;
}

.section {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 120px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 56px;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section h2,
.process h2,
.quote-section h2 {
  margin: 0;
  font-size: clamp(2.55rem, 4.5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.section-heading > p,
.corporate-copy > p,
.process-copy > p,
.quote-copy > p {
  margin: 0;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 390px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(10, 38, 53, 0.08);
}

.service-card.featured {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}

.service-number {
  margin-bottom: auto;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 800;
}

.featured .service-number {
  color: white;
}

.service-badge {
  position: absolute;
  align-self: flex-end;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.service-card h3 {
  margin: 28px 0 14px;
  font-size: clamp(1.7rem, 2.4vw, 2.25rem);
  letter-spacing: -0.045em;
}

.service-card p {
  margin: 0 0 26px;
  color: var(--slate);
  line-height: 1.65;
}

.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.service-card a,
.text-link,
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 800;
}

.service-card a svg,
.text-link svg,
.footer-cta svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.process {
  padding: 120px 32px;
  background: var(--navy);
  color: white;
}

.process-inner {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: center;
}

.section-kicker.light {
  color: #f47a5f;
}

.process-copy > p:not(.section-kicker) {
  max-width: 500px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.62);
}

.button-light {
  margin-top: 32px;
  width: max-content;
  padding: 0 22px;
  background: white;
  color: var(--navy);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.steps li {
  padding: 27px 0;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.steps li > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #f47a5f;
  font-weight: 800;
}

.steps strong {
  font-size: 1.2rem;
}

.steps p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
}

.corporate {
  padding-bottom: 80px;
}

.corporate-panel {
  padding: clamp(34px, 6vw, 86px);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 90px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--paper);
}

.corporate-copy h2 {
  margin-bottom: 25px;
}

.corporate-copy ul {
  margin: 30px 0;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.corporate-copy li::before {
  content: "✓";
  margin-right: 11px;
  color: var(--orange);
  font-weight: 900;
}

.text-link {
  color: var(--orange);
}

.corporate-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: stretch;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.corporate-stats div {
  min-height: 150px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.corporate-stats div:nth-child(2n) {
  border-right: 0;
}

.corporate-stats div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.corporate-stats strong {
  color: var(--orange);
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.06em;
}

.corporate-stats span {
  margin-top: 8px;
  color: var(--slate);
  font-size: 0.78rem;
  line-height: 1.5;
}

.quote-section {
  width: min(1320px, calc(100% - 64px));
  margin: 40px auto 120px;
  padding: clamp(40px, 6vw, 85px);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  border-radius: 34px;
  background: #ede4d7;
}

.quote-copy > p:not(.section-kicker) {
  margin-top: 26px;
}

.contact-note {
  margin-top: 36px;
  padding-top: 24px;
  display: grid;
  gap: 6px;
  border-top: 1px solid rgba(10, 38, 53, 0.15);
}

.contact-note span {
  color: var(--slate);
  font-size: 0.76rem;
}

.contact-note strong {
  font-size: 1.5rem;
}

form {
  padding: 34px;
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 20px 45px rgba(10, 38, 53, 0.08);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
}

label small {
  margin-left: 5px;
  color: var(--slate);
  font-weight: 400;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: #fbf9f5;
  color: var(--navy);
  font-size: 0.9rem;
  transition: border 160ms ease, box-shadow 160ms ease;
}

input,
select {
  height: 50px;
  padding: 0 14px;
}

textarea {
  padding: 13px 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(234, 96, 1, 0.1);
}

.submit-button {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  background: var(--orange);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.submit-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.privacy {
  margin: -5px 0 0;
  color: var(--slate);
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: center;
}

.form-success {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.form-success > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(49, 165, 107, 0.12);
  color: #237c50;
  font-size: 1.6rem;
}

.form-success h3 {
  margin: 18px 0 8px;
  font-size: 1.8rem;
}

.form-success p {
  max-width: 400px;
  margin: 0;
  color: var(--slate);
  line-height: 1.6;
}

.form-success button {
  margin-top: 20px;
  border: 0;
  background: transparent;
  color: var(--orange);
  font-weight: 800;
  cursor: pointer;
}

footer {
  padding: 80px max(32px, calc((100% - 1320px) / 2));
  background: #08182b;
  color: white;
}

.footer-top {
  padding-bottom: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  color: white;
}

.footer-brand-icon {
  width: 1em;
  height: 1em;
  flex: 0 0 1em;
  object-fit: contain;
}

.brand .footer-brand-text {
  color: white;
  white-space: nowrap;
}

.footer-brand-text > span {
  color: var(--orange);
}

.footer-top > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
}

.footer-cta {
  justify-self: end;
  color: #f47a5f;
}

.footer-bottom {
  padding-top: 27px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.footer-bottom div {
  display: flex;
  gap: 28px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

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

  .trust-strip article {
    padding: 20px;
  }

  .section-heading,
  .process-inner,
  .corporate-panel,
  .quote-section {
    gap: 50px;
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero {
    width: min(100% - 36px, 620px);
  }

  .site-header {
    height: 78px;
  }

  .header-cta {
    min-width: 126px;
    min-height: 44px;
    font-size: 0.86rem;
  }

  .header-cta svg {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 25px 0 46px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-copy {
    padding-top: 6px;
  }

  .eyebrow {
    margin-bottom: 19px;
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(3.2rem, 15.4vw, 4.75rem);
  }

  .hero-lead {
    margin-top: 22px;
  }

  .hero-actions {
    margin-top: 28px;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0 !important;
    padding: 0 16px;
    font-size: 0.88rem;
  }

  .button {
    min-width: 0;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .hero-visual {
    height: 430px;
    border-radius: 76px 0 76px 0;
  }

  .trust-strip {
    position: relative;
    bottom: auto;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trust-strip article {
    min-height: 92px;
  }

  .section,
  .quote-section {
    width: min(100% - 36px, 620px);
  }

  .section {
    padding: 78px 0;
  }

  .section-heading,
  .service-grid,
  .process-inner,
  .corporate-panel,
  .quote-section,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 20px;
    margin-bottom: 35px;
  }

  .service-card {
    min-height: 310px;
  }

  .process {
    padding: 78px 18px;
  }

  .process-inner {
    gap: 52px;
  }

  .corporate-panel {
    padding: 28px;
    gap: 45px;
    border-radius: 24px;
  }

  .corporate-stats div {
    min-height: 130px;
    padding: 18px;
  }

  .quote-section {
    margin: 0 auto 78px;
    padding: 28px 20px;
    gap: 40px;
    border-radius: 24px;
  }

  form {
    padding: 22px 18px;
  }

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

  footer {
    padding: 65px 24px 34px;
  }

  .footer-top {
    gap: 25px;
  }

  .footer-cta {
    justify-self: start;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* WordPress adaptation — preserves the İstanbul Moto visual system. */
body {
  overflow-x: hidden;
}

.site-header .brand {
  white-space: nowrap;
}

.site-header .custom-logo {
  width: auto;
  max-width: 230px;
  max-height: 54px;
}

.primary-navigation {
  display: block;
}

.primary-navigation > ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 1.8vw, 32px);
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: clamp(0.84rem, 0.9vw, 0.98rem);
  font-weight: 650;
}

.primary-navigation li {
  position: relative;
}

.primary-navigation a {
  display: flex;
  align-items: center;
  min-height: 42px;
  white-space: nowrap;
}

.primary-navigation .menu-item-has-children > a::before {
  order: 2;
  margin-left: 6px;
  content: "⌄";
  color: var(--orange);
  font-size: 0.8rem;
}

.primary-navigation .sub-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 5px);
  left: -16px;
  display: grid;
  min-width: 225px;
  gap: 2px;
  padding: 10px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  opacity: 0;
  background: var(--paper);
  box-shadow: 0 18px 40px rgba(10, 38, 53, 0.12);
  list-style: none;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.primary-navigation .sub-menu a {
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 8px;
}

.primary-navigation .sub-menu a:hover {
  background: var(--ivory);
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header .fx-menu-toggle {
  display: none;
}

.hero-lead strong {
  color: var(--navy);
}

.home-cta {
  width: min(1320px, calc(100% - 64px));
  min-height: 330px;
  margin: 30px auto 120px;
  padding: clamp(40px, 6vw, 78px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 55px;
  align-items: end;
  border-radius: 34px;
  background: #ede4d7;
}

.home-cta h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.55rem, 4.5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.home-cta p:not(.section-kicker) {
  max-width: 500px;
  margin: 24px 0 0;
  color: var(--slate);
  line-height: 1.75;
}

.home-cta .button {
  flex: 0 0 auto;
}

.services .service-card:nth-child(7) {
  grid-column: 2;
}

/* Inner pages */
.fx-page-hero {
  padding-top: 72px;
}

.fx-page-hero h1 {
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  font-weight: 800;
}

.fx-page-content {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.fx-page-content > .fx-container {
  width: 100%;
}

.fx-service-grid,
.fx-district-grid,
.fx-experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fx-service-card,
.fx-district-card,
.fx-experience-card {
  min-height: 330px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.fx-service-card:hover,
.fx-district-card:hover,
.fx-experience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(10, 38, 53, 0.08);
}

.fx-service-card h2,
.fx-district-card h2,
.fx-experience-card h2 {
  margin: 30px 0 14px;
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.fx-service-card::before {
  margin-bottom: auto;
}

.fx-service-card p,
.fx-district-card p,
.fx-experience-card p {
  color: var(--slate);
  line-height: 1.65;
}

.fx-service-card .fx-button,
.fx-district-card .fx-button {
  min-height: 45px;
  margin-top: auto;
  padding: 0 16px;
  border: 1px solid var(--navy);
  border-radius: 10px;
  background: transparent;
  color: var(--navy);
}

.fx-service-card:nth-child(2) {
  background: var(--paper);
  color: var(--navy);
}

.fx-service-card:nth-child(2) p {
  color: var(--slate);
}

.fx-district-letter {
  margin-bottom: auto;
  color: var(--orange);
}

.fx-region-heading {
  max-width: 780px;
  margin: 72px 0 38px;
}

.fx-page-intro + .fx-region-heading {
  margin-top: 52px;
}

.fx-region-heading--intercity {
  padding-top: 76px;
  margin-top: 96px;
  border-top: 1px solid var(--line);
}

.fx-region-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.fx-region-heading p {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--slate);
  line-height: 1.7;
}

.fx-card-number {
  margin-bottom: auto;
  border: 0;
  background: transparent;
  color: var(--orange);
  font-family: inherit;
  font-style: normal;
  font-weight: 800;
}

.fx-faq-item {
  background: var(--paper);
}

.fx-soft-headings .fx-page-hero h1,
.fx-soft-headings .fx-faq-item summary,
.fx-soft-headings .fx-legal-copy h2 {
  font-family: ui-rounded, "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.fx-soft-headings .fx-page-hero h1 {
  line-height: 1.02;
}

.fx-legal-copy {
  max-width: 920px;
  color: var(--navy);
}

.fx-legal-copy > p,
.fx-legal-copy > ul {
  color: var(--slate);
}

.fx-legal-copy h2 {
  margin: 54px 0 18px;
  color: var(--navy);
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  line-height: 1.2;
}

.fx-legal-copy ul {
  display: grid;
  gap: 9px;
  padding-left: 22px;
}

.fx-legal-copy a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fx-legal-updated {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ede4d7;
  color: var(--navy) !important;
  font-size: 0.74rem;
  font-weight: 700;
}

.fx-legal-table-wrap {
  overflow-x: auto;
  margin: 24px 0 34px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.fx-legal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.82rem;
  line-height: 1.55;
}

.fx-legal-table th,
.fx-legal-table td {
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.fx-legal-table th:last-child,
.fx-legal-table td:last-child {
  border-right: 0;
}

.fx-legal-table tr:last-child td {
  border-bottom: 0;
}

.fx-legal-table th {
  background: #ede4d7;
  color: var(--navy);
  font-weight: 800;
}

.fx-legal-table td {
  color: var(--slate);
}

.fx-experience-grid .fx-experience-card:nth-child(7) {
  grid-column: 2;
}

.fx-about-copy {
  display: grid;
  gap: 42px;
}

.fx-about-intro {
  max-width: 940px;
}

.fx-about-intro > p {
  margin: 0;
  color: var(--slate);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.8;
}

.fx-about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fx-about-card {
  min-height: 270px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.fx-about-card span {
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fx-about-card h2 {
  margin: 26px 0 14px;
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.fx-about-card p {
  margin: 0;
  color: var(--slate);
  line-height: 1.7;
}

.fx-about-note {
  padding: 34px;
  border-radius: 24px;
  background: var(--navy);
  color: white;
}

.fx-about-note h2 {
  margin: 0 0 14px;
  color: white;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.fx-about-note p {
  max-width: 880px;
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
}

/* Footer requested columns, with the original borderless treatment. */
.footer-columns {
  grid-template-columns: 1.35fr 0.9fr 0.9fr 0.65fr;
  align-items: start;
}

.footer-about {
  display: grid;
  justify-items: start;
}

.footer-about > p {
  max-width: 350px;
  margin: 24px 0 20px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
}

.footer-contact {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
}

.footer-title {
  margin: 5px 0 20px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
}

.footer-links a:hover {
  color: white;
}

.transport-license {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
}

.transport-license strong {
  color: #f47a5f;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 25px;
  }

  .primary-navigation > ul {
    justify-content: center;
    gap: 14px;
    font-size: 0.78rem;
  }

  .header-cta {
    min-width: 145px;
    font-size: 0.78rem;
  }
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .site-header .fx-menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--navy);
    border-radius: 10px;
    background: transparent;
  }

  .primary-navigation {
    position: fixed;
    z-index: 200;
    top: 88px;
    right: 24px;
    left: 24px;
    display: none;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 24px 60px rgba(10, 38, 53, 0.16);
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation > ul {
    display: grid;
    gap: 3px;
    font-size: 0.94rem;
  }

  .primary-navigation a {
    min-height: 48px;
    padding: 9px 12px;
  }

  .primary-navigation .sub-menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 0 18px;
    border: 0;
    opacity: 1;
    background: transparent;
    box-shadow: none;
    pointer-events: auto;
    transform: none;
  }

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header .header-cta {
    display: none;
  }

  .primary-navigation {
    top: 72px;
    right: 18px;
    left: 18px;
  }

  .home-cta {
    width: min(100% - 36px, 620px);
    min-height: 0;
    margin-bottom: 78px;
    padding: 36px 24px;
    grid-template-columns: 1fr;
    gap: 35px;
    border-radius: 24px;
  }

  .fx-page-content {
    width: min(100% - 36px, 620px);
  }

  .fx-service-grid,
  .fx-district-grid,
  .fx-experience-grid,
  .fx-about-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .services .service-card:nth-child(7) {
    grid-column: auto;
  }

  .fx-experience-grid .fx-experience-card:nth-child(7) {
    grid-column: auto;
  }
}
