/*
Theme Name: Next Kurye Urban Motion
Theme URI: https://nextkurye.com
Author: Next Kurye
Description: Next Kurye için hazırlanan, Gutenberg ile düzenlenebilir modern ve özgün WordPress teması.
Version: 1.9.1
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: next-kurye
*/

:root {
  --fx-ivory: #f6f1e8;
  --fx-ivory-deep: #ece4d7;
  --fx-paper: #fffdf9;
  --fx-navy: #0a2635;
  --fx-navy-soft: #173b4b;
  --fx-orange: #ea6001;
  --fx-orange-dark: #c94f00;
  --fx-slate: #66717d;
  --fx-line: rgba(10, 38, 53, 0.13);
  --fx-shadow: 0 18px 60px rgba(10, 38, 53, 0.1);
  --fx-radius-sm: 14px;
  --fx-radius: 24px;
  --fx-radius-lg: 36px;
  --fx-container: min(1180px, calc(100% - 40px));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--fx-navy);
  background: var(--fx-ivory);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.fx-menu-open {
  overflow: hidden;
}

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

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

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

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

.screen-reader-text:focus {
  z-index: 100000;
  top: 5px;
  left: 5px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: var(--fx-paper);
}

.fx-container {
  width: var(--fx-container);
  margin-inline: auto;
}

.fx-section {
  padding: 104px 0;
}

.fx-section--compact {
  padding: 76px 0;
}

.fx-kicker,
.fx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--fx-orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.fx-kicker::before,
.fx-eyebrow::before {
  width: 24px;
  height: 2px;
  content: "";
  background: currentColor;
}

.fx-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 480px);
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.fx-section-heading h2,
.fx-page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 5vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.fx-section-heading p,
.fx-page-hero p {
  margin: 0;
  color: var(--fx-slate);
  font-size: 1.05rem;
}

.fx-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--fx-navy);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.fx-button:hover,
.fx-button:focus-visible {
  transform: translateY(-2px);
  background: var(--fx-navy-soft);
  color: #fff;
}

.fx-button--orange {
  background: var(--fx-orange);
}

.fx-button--orange:hover,
.fx-button--orange:focus-visible {
  background: var(--fx-orange-dark);
}

.fx-button--ghost {
  border-color: var(--fx-line);
  background: transparent;
  color: var(--fx-navy);
}

.fx-button--ghost:hover,
.fx-button--ghost:focus-visible {
  border-color: var(--fx-navy);
  background: var(--fx-navy);
  color: #fff;
}

.fx-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fx-navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.fx-text-link::after {
  content: "↗";
  color: var(--fx-orange);
}

/* Header */
.fx-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(246, 241, 232, 0.91);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.fx-site-header.is-scrolled {
  border-color: var(--fx-line);
  box-shadow: 0 8px 28px rgba(10, 38, 53, 0.05);
}

.fx-header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 28px;
}

.fx-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.fx-brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--fx-navy);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 700;
}

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

.fx-brand-name {
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.fx-brand-tagline {
  margin-top: 4px;
  color: var(--fx-slate);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.custom-logo {
  width: auto;
  max-height: 48px;
}

.fx-primary-nav {
  margin-left: auto;
}

.fx-primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fx-primary-nav li {
  position: relative;
}

.fx-primary-nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 760;
  white-space: nowrap;
}

.fx-primary-nav a:hover,
.fx-primary-nav .current-menu-item > a,
.fx-primary-nav .current-menu-ancestor > a {
  background: rgba(10, 38, 53, 0.06);
}

.fx-primary-nav .menu-item-has-children > a::after {
  margin-left: 7px;
  content: "⌄";
  color: var(--fx-orange);
  font-size: 0.9rem;
}

.fx-primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  min-width: 220px;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--fx-line);
  border-radius: 16px;
  opacity: 0;
  background: var(--fx-paper);
  box-shadow: var(--fx-shadow);
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

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

.fx-header-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.fx-header-phone {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--fx-line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.fx-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--fx-line);
  border-radius: 50%;
  background: transparent;
  color: var(--fx-navy);
}

.fx-menu-toggle span,
.fx-menu-toggle::before,
.fx-menu-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.fx-menu-toggle span {
  margin: 4px 0;
}

/* Hero */
.fx-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 76px;
}

.fx-hero::before {
  position: absolute;
  top: 42px;
  left: -120px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(234, 96, 1, 0.17);
  border-radius: 50%;
  content: "";
}

.fx-hero-grid {
  position: relative;
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  align-items: center;
}

.fx-hero-copy {
  position: relative;
  z-index: 2;
  padding: 58px 0 58px 16px;
}

.fx-hero h1 {
  max-width: 650px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 7.2vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.062em;
  line-height: 0.87;
}

.fx-hero h1 em {
  display: block;
  color: var(--fx-orange);
  font-weight: 500;
}

.fx-hero-lead {
  max-width: 580px;
  margin: 28px 0 0;
  color: var(--fx-slate);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}

.fx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.fx-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 44px 0 0;
  list-style: none;
}

.fx-hero-trust li {
  display: grid;
  gap: 2px;
  padding-left: 14px;
  border-left: 2px solid var(--fx-orange);
}

.fx-hero-trust strong {
  font-size: 0.88rem;
}

.fx-hero-trust span {
  color: var(--fx-slate);
  font-size: 0.72rem;
}

.fx-hero-visual {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: var(--fx-radius-lg);
  background: var(--fx-navy);
  box-shadow: var(--fx-shadow);
}

.fx-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
  object-position: 61% center;
}

.fx-hero-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: flex;
  width: min(300px, calc(100% - 44px));
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.88);
  box-shadow: 0 15px 40px rgba(10, 38, 53, 0.15);
  backdrop-filter: blur(14px);
}

.fx-note-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--fx-orange);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
}

.fx-hero-note strong,
.fx-hero-note span {
  display: block;
}

.fx-hero-note strong {
  font-size: 0.88rem;
}

.fx-hero-note span {
  color: var(--fx-slate);
  font-size: 0.72rem;
}

.fx-trust-bar {
  border-top: 1px solid var(--fx-line);
  border-bottom: 1px solid var(--fx-line);
}

.fx-trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fx-trust-item {
  padding: 26px 28px;
  border-left: 1px solid var(--fx-line);
}

.fx-trust-item:first-child {
  border-left: 0;
}

.fx-trust-item strong,
.fx-trust-item span {
  display: block;
}

.fx-trust-item strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.fx-trust-item span {
  margin-top: 2px;
  color: var(--fx-slate);
  font-size: 0.74rem;
}

/* Cards and grids */
.fx-card-grid,
.fx-service-grid,
.fx-district-grid,
.fx-experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fx-card,
.fx-service-card,
.fx-district-card,
.fx-experience-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  background: rgba(255, 253, 249, 0.76);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.fx-card:hover,
.fx-service-card:hover,
.fx-district-card:hover,
.fx-experience-card:hover {
  border-color: rgba(234, 96, 1, 0.32);
  box-shadow: 0 18px 42px rgba(10, 38, 53, 0.08);
  transform: translateY(-4px);
}

.fx-card-number,
.fx-card-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--fx-navy);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
}

.fx-card h3,
.fx-service-card h2,
.fx-district-card h2,
.fx-experience-card h2,
.fx-experience-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.58rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.fx-card p,
.fx-service-card p,
.fx-district-card p,
.fx-experience-card p {
  margin: 0 0 24px;
  color: var(--fx-slate);
  font-size: 0.9rem;
}

.fx-card .fx-text-link,
.fx-service-card .fx-button,
.fx-district-card .fx-button,
.fx-experience-card .fx-text-link {
  margin-top: auto;
  align-self: flex-start;
}

.fx-experience-reasons {
  margin-top: 62px;
}

.fx-experience-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.fx-experience-section-heading h2,
.fx-satisfaction-heading h2,
.fx-experience-cta h2 {
  margin: 0;
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.fx-experience-section-heading h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.fx-experience-section-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--fx-slate);
  font-size: 1rem;
}

.fx-satisfaction {
  margin-top: 96px;
  padding: 52px;
  border-radius: var(--fx-radius-lg);
  background: var(--fx-navy);
  color: #fff;
}

.fx-satisfaction-heading {
  display: grid;
  max-width: 920px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 46px;
  align-items: end;
  margin-bottom: 44px;
}

.fx-satisfaction-heading h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.fx-satisfaction-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.fx-satisfaction-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fx-satisfaction-step {
  padding: 24px 20px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.fx-satisfaction-number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--fx-orange);
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 800;
}

.fx-satisfaction-step h3 {
  margin: 0 0 12px;
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.fx-satisfaction-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
}

.fx-experience-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
  margin-top: 32px;
  padding: 42px 46px;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius-lg);
  background: var(--fx-paper);
}

.fx-experience-cta h2 {
  max-width: 760px;
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
}

.fx-experience-cta-actions {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.fx-experience-cta-actions .fx-button {
  white-space: nowrap;
}

.fx-experience-card h3 {
  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;
  line-height: 1.1;
}

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

.fx-service-card::before {
  width: 42px;
  height: 3px;
  margin-bottom: 30px;
  content: "";
  background: var(--fx-orange);
}

.fx-service-card .fx-button,
.fx-district-card .fx-button {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 0.76rem;
}

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

.fx-service-card:nth-child(2) p {
  color: rgba(255, 255, 255, 0.7);
}

.fx-service-card:nth-child(2) .fx-button {
  background: var(--fx-orange);
}

.fx-service-card h2 a {
  color: inherit;
  text-decoration: none;
}

.nx-service-card-actions {
  display: grid;
  gap: 12px;
  margin-top: auto;
  align-items: start;
}

.nx-service-card-actions .fx-button {
  margin-top: 0;
}

.nx-service-detail-link {
  width: max-content;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--fx-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.nx-service-detail-link:hover {
  color: var(--fx-orange);
}

.fx-service-preview .fx-service-card:nth-child(2) .fx-button:hover {
  background: #fff;
  color: var(--fx-navy);
}

.nx-service-landing {
  display: grid;
  gap: 64px;
}

.nx-service-landing .fx-page-intro {
  margin-bottom: 0;
}

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

.nx-service-highlight {
  padding: 28px;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  background: rgba(255, 253, 249, 0.76);
}

.nx-service-highlight::before {
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 26px;
  content: "";
  background: var(--fx-orange);
}

.nx-service-highlight h2,
.nx-service-process h2,
.nx-service-note h2,
.nx-service-cta h2 {
  margin: 0;
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.nx-service-highlight h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.nx-service-highlight p,
.nx-service-note p,
.nx-service-cta p {
  margin: 0;
  color: var(--fx-slate);
}

.nx-service-process {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: 48px;
  align-items: start;
}

.nx-service-process h2 {
  max-width: 520px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.nx-service-process ol {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nx-service-process li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--fx-line);
}

.nx-service-process li:last-child {
  border-bottom: 1px solid var(--fx-line);
}

.nx-service-process li span {
  color: var(--fx-orange);
  font-weight: 800;
}

.nx-service-process li p {
  margin: 0;
}

.nx-service-note {
  padding: 36px 40px;
  border-left: 4px solid var(--fx-orange);
  border-radius: 0 var(--fx-radius) var(--fx-radius) 0;
  background: rgba(234, 96, 1, 0.07);
}

.nx-service-note h2 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 2.4vw, 2.3rem);
}

.nx-service-faq .fx-region-heading {
  margin-top: 0;
}

.nx-service-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  padding: 42px 46px;
  border-radius: var(--fx-radius-lg);
  background: var(--fx-navy);
  color: #fff;
}

.nx-service-cta h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.nx-service-cta p {
  color: rgba(255, 255, 255, 0.7);
}

.nx-service-cta-actions {
  display: flex;
  gap: 10px;
}

.nx-service-cta-actions .fx-button {
  white-space: nowrap;
}

.nx-service-cta .fx-button--ghost {
  border-color: rgba(255, 255, 255, 0.52);
  color: #fff;
}

.nx-service-related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 4px;
  border-top: 1px solid var(--fx-line);
}

.nx-service-related a {
  color: var(--fx-navy);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--fx-orange);
  text-underline-offset: 5px;
}

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

.fx-district-card {
  min-height: 280px;
  padding: 24px;
}

.fx-district-card h2 {
  font-size: 1.35rem;
}

.fx-district-letter {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--fx-orange);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Process */
.fx-process {
  background: var(--fx-navy);
  color: #fff;
}

.fx-process .fx-section-heading p,
.fx-process .fx-kicker {
  color: rgba(255, 255, 255, 0.65);
}

.fx-process .fx-kicker::before {
  background: var(--fx-orange);
}

.fx-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--fx-radius);
  background: rgba(255, 255, 255, 0.14);
}

.fx-process-step {
  padding: 36px;
  background: var(--fx-navy);
}

.fx-process-step span {
  color: var(--fx-orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  font-style: italic;
}

.fx-process-step h3 {
  margin: 34px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.fx-process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

/* Corporate */
.fx-corporate-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(400px, 1.12fr);
  gap: 70px;
  align-items: center;
}

.fx-corporate-panel {
  position: relative;
  min-height: 500px;
  padding: 38px;
  overflow: hidden;
  border-radius: var(--fx-radius-lg);
  background:
    radial-gradient(circle at 82% 22%, rgba(234, 96, 1, 0.48), transparent 28%),
    linear-gradient(145deg, var(--fx-navy-soft), var(--fx-navy));
  color: #fff;
}

.fx-corporate-panel::after {
  position: absolute;
  right: -80px;
  bottom: -140px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.fx-corporate-stat {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 260px;
  gap: 6px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.fx-corporate-stat strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
}

.fx-corporate-stat span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}

.fx-corporate-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 4.6vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.fx-corporate-copy > p {
  margin: 26px 0 0;
  color: var(--fx-slate);
}

.fx-check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 30px 0;
  list-style: none;
}

.fx-check-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
}

.fx-check-list li::before {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  content: "✓";
  background: rgba(234, 96, 1, 0.12);
  color: var(--fx-orange);
  font-size: 0.75rem;
}

/* CTA */
.fx-cta {
  padding: 28px 0 100px;
}

.fx-cta-inner {
  position: relative;
  display: grid;
  min-height: 350px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  padding: 54px;
  overflow: hidden;
  border-radius: var(--fx-radius-lg);
  background: var(--fx-orange);
  color: #fff;
}

.fx-cta-inner::before {
  position: absolute;
  top: -190px;
  right: 12%;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  content: "";
}

.fx-cta h2 {
  position: relative;
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5.8vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 0.9;
}

.fx-cta p {
  position: relative;
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.fx-cta .fx-button {
  position: relative;
  background: #fff;
  color: var(--fx-navy);
}

/* Inner pages */
.fx-page-hero {
  padding: 90px 0 60px;
}

.fx-page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 450px);
  gap: 60px;
  align-items: end;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--fx-line);
}

.fx-page-content {
  padding-bottom: 100px;
}

.fx-page-content > *:first-child {
  margin-top: 0;
}

.fx-page-content .alignwide {
  width: var(--fx-container);
  max-width: none;
  margin-inline: calc(50% - (var(--fx-container) / 2));
}

.fx-page-intro {
  max-width: 760px;
  margin-bottom: 46px;
  color: var(--fx-slate);
  font-size: 1.05rem;
}

.fx-form-shell {
  display: grid;
  min-height: 430px;
  place-items: center;
  padding: 44px;
  border: 1px dashed rgba(10, 38, 53, 0.25);
  border-radius: var(--fx-radius-lg);
  background: rgba(255, 253, 249, 0.55);
  text-align: center;
}

.fx-form-shell h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.fx-form-shell p {
  max-width: 600px;
  margin: 0;
  color: var(--fx-slate);
}

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

.fx-contact-card {
  padding: 28px;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  background: var(--fx-paper);
}

.fx-contact-card strong,
.fx-contact-card a {
  display: block;
}

.fx-contact-card strong {
  margin-bottom: 14px;
  color: var(--fx-orange);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fx-contact-card a {
  font-family: ui-rounded, "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.fx-contact-address {
  width: 100%;
  margin: 58px auto 0;
  padding: 28px 0;
  border-top: 1px solid var(--fx-line);
  border-bottom: 1px solid var(--fx-line);
  text-align: center;
}

.fx-contact-address strong {
  display: block;
  margin-bottom: 10px;
  color: var(--fx-orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fx-contact-address address {
  margin: 0;
  color: var(--fx-slate);
  font-family: inherit;
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
  white-space: nowrap;
}

.nx-after-hours-note {
  display: grid;
  width: min(100%, 940px);
  gap: 4px;
  padding-top: 12px;
  margin: 12px auto 0;
  border-top: 1px solid rgba(10, 38, 53, 0.1);
  color: var(--fx-slate);
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.nx-after-hours-note span {
  display: block;
  max-width: 100%;
  text-wrap: balance;
}

.fx-legal-copy {
  max-width: 820px;
}

.fx-legal-copy h2 {
  margin-top: 46px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.fx-notice {
  padding: 18px 20px;
  border-left: 3px solid var(--fx-orange);
  border-radius: 0 12px 12px 0;
  background: rgba(234, 96, 1, 0.07);
  color: var(--fx-slate);
  font-size: 0.88rem;
}

/* FAQ */
.fx-faq-list {
  display: grid;
  max-width: 900px;
  gap: 12px;
}

.fx-faq-item {
  overflow: hidden;
  border: 1px solid var(--fx-line);
  border-radius: 18px;
  background: var(--fx-paper);
}

.fx-faq-item summary {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 500;
  list-style: none;
}

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

.fx-faq-item summary::after {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  content: "+";
  background: var(--fx-ivory);
  color: var(--fx-orange);
  font-family: Arial, sans-serif;
}

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

.fx-faq-answer {
  padding: 0 24px 24px;
  color: var(--fx-slate);
  font-size: 0.92rem;
}

.fx-faq-answer p {
  margin: 0;
}

/* Footer */
.fx-site-footer {
  padding: 78px 0 28px;
  background: var(--fx-navy);
  color: #fff;
}

.fx-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 50px;
}

.fx-footer-brand .fx-brand-mark {
  background: #fff;
  color: var(--fx-navy);
}

.fx-footer-brand .fx-brand-tagline {
  color: rgba(255, 255, 255, 0.56);
}

.fx-footer-brand p {
  max-width: 330px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

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

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

.fx-footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

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

.fx-socials {
  display: flex;
  gap: 9px;
}

.fx-socials a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  transition: background 180ms ease, border-color 180ms ease;
}

.fx-socials a:hover {
  border-color: var(--fx-orange);
  background: var(--fx-orange);
}

.fx-socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.fx-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  margin-top: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

.fx-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

/* Entry and system pages */
.fx-entry {
  max-width: 840px;
}

.fx-entry h2,
.fx-entry h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.fx-entry a {
  color: var(--fx-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fx-empty {
  padding: 100px 0;
  text-align: center;
}

@media (max-width: 1100px) {
  .fx-header-phone {
    display: none;
  }

  .fx-primary-nav a {
    padding-inline: 9px;
    font-size: 0.74rem;
  }

  .fx-hero-grid {
    min-height: 560px;
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  }

  .fx-hero-visual,
  .fx-hero-visual img {
    min-height: 560px;
  }
}

@media (max-width: 920px) {
  :root {
    --fx-container: min(100% - 32px, 760px);
  }

  .fx-section {
    padding: 78px 0;
  }

  .fx-menu-toggle {
    display: grid;
    margin-left: auto;
  }

  .fx-primary-nav {
    position: fixed;
    top: 84px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow-y: auto;
    padding: 20px 16px 80px;
    background: var(--fx-ivory);
  }

  .fx-primary-nav.is-open {
    display: block;
  }

  .fx-primary-nav ul {
    display: grid;
    gap: 7px;
  }

  .fx-primary-nav a {
    min-height: 54px;
    padding: 14px 16px;
    font-size: 0.93rem;
  }

  .fx-primary-nav .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;
  }

  .fx-header-actions {
    display: none;
  }

  .fx-hero {
    padding-top: 20px;
  }

  .fx-hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .fx-hero-copy {
    padding: 52px 0;
  }

  .fx-hero h1 {
    max-width: 720px;
    font-size: clamp(3.6rem, 13vw, 6.2rem);
  }

  .fx-hero-visual,
  .fx-hero-visual img {
    min-height: 520px;
  }

  .fx-section-heading,
  .fx-page-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fx-card-grid,
  .fx-service-grid,
  .fx-district-grid,
  .fx-experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fx-trust-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .fx-trust-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--fx-line);
  }

  .fx-trust-item:nth-child(4) {
    border-top: 1px solid var(--fx-line);
  }

  .fx-corporate-grid {
    grid-template-columns: 1fr;
  }

  .fx-process-grid {
    grid-template-columns: 1fr;
  }

  .fx-cta-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .fx-contact-address {
    margin-top: 40px;
    padding: 24px 12px;
  }

  .fx-contact-address address {
    white-space: normal;
  }

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

  .nx-service-process,
  .nx-service-cta {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nx-service-cta {
    align-items: start;
  }

  .fx-experience-section-heading,
  .fx-satisfaction-heading,
  .fx-experience-cta {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .fx-experience-cta {
    align-items: start;
  }

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

@media (max-width: 600px) {
  :root {
    --fx-container: calc(100% - 24px);
    --fx-radius: 20px;
    --fx-radius-lg: 26px;
  }

  .fx-header-inner {
    min-height: 74px;
  }

  .fx-primary-nav {
    top: 74px;
  }

  .fx-brand-tagline {
    display: none;
  }

  .fx-hero-copy {
    padding: 44px 0 38px;
  }

  .fx-hero h1 {
    font-size: clamp(3.25rem, 18vw, 5rem);
  }

  .fx-hero-actions .fx-button {
    width: 100%;
  }

  .fx-hero-trust {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
  }

  .fx-hero-visual,
  .fx-hero-visual img {
    min-height: 420px;
  }

  .fx-hero-visual img {
    object-position: 63% center;
  }

  .fx-trust-item {
    padding: 20px 16px;
  }

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

  .nx-service-landing {
    gap: 48px;
  }

  .nx-service-highlight {
    padding: 24px;
  }

  .nx-service-process {
    gap: 22px;
  }

  .nx-service-note,
  .nx-service-cta {
    padding: 30px 26px;
  }

  .nx-service-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .fx-experience-reasons {
    margin-top: 48px;
  }

  .fx-satisfaction {
    margin-top: 68px;
    padding: 34px 26px;
  }

  .fx-satisfaction-steps {
    grid-template-columns: 1fr;
  }

  .fx-satisfaction-step {
    padding-right: 0;
  }

  .fx-experience-cta {
    padding: 32px 26px;
  }

  .fx-experience-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fx-experience-cta-actions .fx-button {
    width: 100%;
  }

  .fx-corporate-grid {
    gap: 40px;
  }

  .fx-corporate-panel {
    min-height: 430px;
    padding: 28px;
  }

  .fx-process-step {
    padding: 28px;
  }

  .fx-cta {
    padding-bottom: 72px;
  }

  .fx-cta-inner {
    min-height: 0;
    padding: 34px 26px;
  }

  .fx-page-hero {
    padding-top: 60px;
  }

  .fx-page-hero-inner {
    padding-bottom: 38px;
  }

  .fx-footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
