/*
 * Faris Group homepage (index.html, ar/index.html), markup from
 * scripts/home-page.mjs. Every rule is scoped to .fgh- classes, so no other
 * page is affected. Loaded after the theme's stylesheets by
 * scripts/optimize-site.mjs; bump HOME_ASSET_VERSION there on change.
 */

/* Design tokens (--fgh-*) are defined in faris-site.css, loaded first. */

.fgh-hero,
.fgh-main {
  font-family: var(--fgh-body);
  -webkit-font-smoothing: antialiased;
}
.fgh-hero *,
.fgh-main * {
  box-sizing: border-box;
}
.fgh-main ul,
.fgh-main ol,
.fgh-hero ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fgh-main li,
.fgh-hero li {
  margin: 0;
}
.fgh-main figure {
  margin: 0;
}
.fgh-main img,
.fgh-hero img {
  display: block;
  max-width: 100%;
  height: auto;
}
.fgh-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.fgh-arrow {
  flex: none;
  transition: transform 0.35s var(--fgh-ease);
}
html[dir="rtl"] .fgh-arrow {
  transform: scaleX(-1);
}

/* ── Shared type ───────────────────────────────────────────────────────── */
.fgh-wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}
.fgh-section {
  position: relative;
  padding-block: clamp(76px, 10vw, 132px);
}
.fgh-main .fgh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--fgh-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fgh-accent);
}
html[dir="rtl"] .fgh-main .fgh-eyebrow {
  letter-spacing: 0;
  font-size: 16px;
}
.fgh-main .fgh-eyebrow-light {
  color: var(--fgh-accent-bright);
}
.fgh-bars {
  display: inline-flex;
  gap: 3px;
}
.fgh-bars i {
  display: block;
  width: 6px;
  height: 14px;
  border-radius: 2px;
  background: var(--fgh-orange);
}
.fgh-bars i:nth-child(2) { background: var(--fgh-blue); height: 18px; }
.fgh-bars i:nth-child(3) { background: var(--fgh-red); height: 11px; }
.fgh-bars i:nth-child(4) { background: var(--fgh-green); height: 16px; }
.fgh-main .fgh-h2 {
  margin: 0 0 22px;
  font-family: var(--fgh-display);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--fgh-ink);
}
html[dir="rtl"] .fgh-main .fgh-h2 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}
.fgh-main p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--fgh-muted);
}
html[dir="rtl"] .fgh-main p {
  font-size: 18px;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
a.fgh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--fgh-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s var(--fgh-ease), color 0.3s var(--fgh-ease), border-color 0.3s var(--fgh-ease), transform 0.3s var(--fgh-ease), box-shadow 0.3s var(--fgh-ease);
}
.fgh-btn:hover .fgh-arrow {
  transform: translateX(4px);
}
html[dir="rtl"] .fgh-btn:hover .fgh-arrow {
  transform: scaleX(-1) translateX(4px);
}
.fgh-btn:focus-visible,
.fgh-card-link:focus-visible,
.fgh-service a:focus-visible,
.fgh-contact a:focus-visible,
.fgh-hero-scroll:focus-visible {
  outline: 3px solid var(--fgh-accent-bright);
  outline-offset: 3px;
}
a.fgh-btn.fgh-btn-accent {
  background: var(--fgh-accent);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(10, 166, 224, 0.75);
}
a.fgh-btn.fgh-btn-accent:hover {
  background: #086a93;
  color: #fff;
  transform: translateY(-2px);
}
a.fgh-btn.fgh-btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
a.fgh-btn.fgh-btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
a.fgh-btn.fgh-btn-dark {
  margin-top: 12px;
  background: var(--fgh-ink);
  color: #fff;
}
a.fgh-btn.fgh-btn-dark:hover {
  background: var(--fgh-accent);
  color: #fff;
  transform: translateY(-2px);
}
.fgh-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 56px;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.fgh-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 640px;
  min-height: max(640px, 100vh);
  min-height: max(640px, 100svh);
  overflow: hidden;
  background: var(--fgh-ink);
  color: #fff;
  isolation: isolate;
}
.fgh-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--fgh-ink);
}
.fgh-hero-media picture,
.fgh-hero-media .fgh-hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
/* The video covers the hero like background-size: cover, and stays hidden
   until YouTube has drawn its first frames (see faris-home.js). */
.fgh-hero-media iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 177.78vh);
  width: max(100%, 177.78svh);
  height: max(100%, 56.25vw);
  max-width: none;
  border: 0;
  transform: translate(-50%, -50%) scale(1.02);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 1.2s var(--fgh-ease);
}
.fgh-hero-media.is-playing iframe {
  visibility: visible;
  opacity: 1;
}
.fgh-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(8, 14, 22, 0.92) 0%, rgba(8, 14, 22, 0.35) 38%, rgba(8, 14, 22, 0) 62%),
    linear-gradient(90deg, rgba(8, 14, 22, 0.8) 0%, rgba(8, 14, 22, 0.42) 52%, rgba(8, 14, 22, 0.12) 100%);
}
html[dir="rtl"] .fgh-hero-shade {
  background:
    linear-gradient(to top, rgba(8, 14, 22, 0.92) 0%, rgba(8, 14, 22, 0.35) 38%, rgba(8, 14, 22, 0) 62%),
    linear-gradient(270deg, rgba(8, 14, 22, 0.8) 0%, rgba(8, 14, 22, 0.42) 52%, rgba(8, 14, 22, 0.12) 100%);
}
.fgh-hero-inner {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding: 150px clamp(20px, 4vw, 40px) 44px;
}
.fgh-hero .fgh-hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fgh-accent-bright);
}
.fgh-hero .fgh-hero-kicker::before {
  content: "";
  width: 44px;
  height: 2px;
  background: currentColor;
}
html[dir="rtl"] .fgh-hero .fgh-hero-kicker {
  font-size: 18px;
  letter-spacing: 0;
}
.fgh-hero .fgh-hero-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 26px;
  font-family: var(--fgh-display);
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.fgh-hero-brand {
  font-size: clamp(54px, 10.5vw, 136px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.fgh-hero-tagline {
  font-size: clamp(22px, 3.1vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #d8f6fd;
}
html[dir="rtl"] .fgh-hero-brand {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}
html[dir="rtl"] .fgh-hero-tagline {
  font-weight: 500;
  line-height: 1.4;
}
.fgh-hero .fgh-hero-lede {
  max-width: 560px;
  margin: 0 0 34px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
}
.fgh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.fgh-hero .fgh-hero-facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px) 36px;
}
.fgh-hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.fgh-hero-facts li:first-child {
  padding-inline-start: 0;
}
.fgh-hero-facts li + li {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.12);
}
.fgh-hero-facts strong {
  font-family: var(--fgh-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1;
  color: #fff;
}
.fgh-hero-facts span {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}
html[dir="rtl"] .fgh-hero-facts span {
  font-size: 15px;
}
.fgh-hero-scroll {
  position: absolute;
  inset-inline-end: clamp(20px, 4vw, 40px);
  bottom: 150px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
}
.fgh-hero-scroll span {
  width: 4px;
  height: 12px;
  border-radius: 4px;
  background: #fff;
  animation: fgh-scroll 1.8s var(--fgh-ease) infinite;
}
@keyframes fgh-scroll {
  0% { transform: translateY(-10px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ── About ─────────────────────────────────────────────────────────────── */
.fgh-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}
.fgh-main .fgh-lead {
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.6;
  color: var(--fgh-text);
}
.fgh-about-media {
  position: relative;
  padding: 0 0 28px 28px;
}
html[dir="rtl"] .fgh-about-media {
  padding: 0 28px 28px 0;
}
.fgh-about-media::before {
  content: "";
  position: absolute;
  inset: 44px 44px 0 0;
  border-radius: calc(var(--fgh-radius) + 6px);
  background: linear-gradient(135deg, var(--fgh-orange), var(--fgh-red) 34%, var(--fgh-blue) 67%, var(--fgh-green));
  opacity: 0.9;
}
html[dir="rtl"] .fgh-about-media::before {
  inset: 44px 0 0 44px;
}
.fgh-about-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--fgh-radius);
  box-shadow: 0 40px 70px -40px rgba(11, 19, 29, 0.55);
}
.fgh-badge {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
  padding: 18px 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 50px -24px rgba(11, 19, 29, 0.45);
}
.fgh-badge strong {
  font-family: var(--fgh-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  color: var(--fgh-accent);
}
.fgh-badge span {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--fgh-text);
}

/* ── Solutions ─────────────────────────────────────────────────────────── */
.fgh-solutions {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(29, 180, 232, 0.16), transparent 70%),
    radial-gradient(700px 420px at 0% 110%, rgba(245, 160, 26, 0.08), transparent 70%),
    var(--fgh-navy);
  color: #fff;
}
.fgh-section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.fgh-section-head-center {
  margin-inline: auto;
  text-align: center;
}
.fgh-solutions .fgh-h2 {
  color: #fff;
}
.fgh-main .fgh-section-intro {
  margin: 0;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.68);
}
.fgh-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.fgh-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--fgh-radius);
  background: var(--fgh-navy-2);
  color: inherit;
  text-decoration: none;
  transition: transform 0.45s var(--fgh-ease), border-color 0.45s var(--fgh-ease), box-shadow 0.45s var(--fgh-ease);
}
.fgh-card-link:hover {
  transform: translateY(-6px);
  border-color: rgba(78, 233, 254, 0.45);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.fgh-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.fgh-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 28, 44, 0.55), transparent 55%);
}
.fgh-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--fgh-ease);
}
.fgh-card-link:hover .fgh-card-media img {
  transform: scale(1.06);
}
.fgh-card-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 28px 28px;
}
.fgh-card-num {
  position: absolute;
  top: -22px;
  inset-inline-end: 24px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fgh-accent);
  font-family: var(--fgh-display);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(10, 166, 224, 0.9);
}
.fgh-main .fgh-card-title {
  margin: 0 0 12px;
  font-family: var(--fgh-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
}
html[dir="rtl"] .fgh-main .fgh-card-title {
  font-weight: 700;
  letter-spacing: 0;
}
.fgh-card-text {
  display: block;
  flex: 1;
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
}
.fgh-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--fgh-accent-bright);
}
.fgh-card-link:hover .fgh-arrow {
  transform: translateX(4px);
}
html[dir="rtl"] .fgh-card-link:hover .fgh-arrow {
  transform: scaleX(-1) translateX(4px);
}

/* ── Services ──────────────────────────────────────────────────────────── */
.fgh-services {
  background: var(--fgh-surface);
}
.fgh-services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.fgh-main ol.fgh-features {
  display: grid;
  gap: 26px;
  margin-bottom: 28px;
}
.fgh-features li {
  display: flex;
  gap: 18px;
}
.fgh-feature-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--fgh-line);
  font-family: var(--fgh-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--fgh-accent);
}
.fgh-main .fgh-features h3 {
  margin: 4px 0 6px;
  font-family: var(--fgh-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fgh-ink);
}
html[dir="rtl"] .fgh-main .fgh-features h3 {
  font-weight: 700;
}
.fgh-main .fgh-features p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}
.fgh-service-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.fgh-service a {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px 26px 28px;
  border: 1px solid var(--fgh-line);
  border-radius: var(--fgh-radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.4s var(--fgh-ease), border-color 0.4s var(--fgh-ease), box-shadow 0.4s var(--fgh-ease);
}
.fgh-service:nth-child(even) {
  transform: translateY(32px);
}
.fgh-service a:hover {
  transform: translateY(-5px);
  border-color: rgba(10, 166, 224, 0.5);
  box-shadow: 0 28px 50px -30px rgba(11, 19, 29, 0.4);
}
.fgh-service-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(29, 180, 232, 0.14), rgba(78, 233, 254, 0.08));
}
.fgh-service-icon img {
  width: 48px;
  height: 48px;
}
.fgh-main .fgh-service h3 {
  margin: 0 0 8px;
  font-family: var(--fgh-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--fgh-ink);
}
html[dir="rtl"] .fgh-main .fgh-service h3 {
  font-weight: 700;
}
.fgh-service-text {
  display: block;
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fgh-muted);
}
.fgh-service-go {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: 20px;
  border-radius: 50%;
  background: var(--fgh-surface);
  color: var(--fgh-accent);
  transition: background-color 0.3s var(--fgh-ease), color 0.3s var(--fgh-ease);
}
.fgh-service a:hover .fgh-service-go {
  background: var(--fgh-accent);
  color: #fff;
}

/* ── Clients ───────────────────────────────────────────────────────────── */
.fgh-clients {
  background: #fff;
}
.fgh-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.fgh-logos li {
  display: grid;
  place-items: center;
  aspect-ratio: 6 / 5;
  padding: 14px;
  border: 1px solid var(--fgh-line);
  border-radius: 18px;
  background: #fff;
  transition: border-color 0.3s var(--fgh-ease), box-shadow 0.3s var(--fgh-ease);
}
.fgh-logos img {
  width: 100%;
  max-width: 170px;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.35s var(--fgh-ease), opacity 0.35s var(--fgh-ease);
}
.fgh-logos li:hover {
  border-color: rgba(10, 166, 224, 0.4);
  box-shadow: 0 20px 40px -28px rgba(11, 19, 29, 0.35);
}
.fgh-logos li:hover img {
  filter: none;
  opacity: 1;
}

/* ── Quote ─────────────────────────────────────────────────────────────── */
.fgh-quote {
  padding-top: 0;
  background: linear-gradient(to bottom, #fff 0, #fff 18%, var(--fgh-surface) 18%);
}
.fgh-quote-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  overflow: hidden;
  border-radius: calc(var(--fgh-radius) + 6px);
  background: #fff;
  box-shadow: 0 50px 90px -50px rgba(11, 19, 29, 0.5);
}
.fgh-quote-aside {
  position: relative;
  padding: clamp(36px, 5vw, 64px);
  background:
    radial-gradient(520px 320px at 110% 110%, rgba(29, 180, 232, 0.28), transparent 70%),
    var(--fgh-navy);
  color: #fff;
}
.fgh-quote-aside .fgh-h2 {
  margin-bottom: 8px;
  color: #fff;
  text-transform: uppercase;
}
html[dir="rtl"] .fgh-quote-aside .fgh-h2 {
  text-transform: none;
}
.fgh-main .fgh-quote-sub {
  margin: 0 0 10px;
  font-family: var(--fgh-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--fgh-accent-bright);
}
.fgh-main .fgh-quote-text {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
}
.fgh-contact {
  display: grid;
  gap: 10px;
}
.fgh-contact a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s var(--fgh-ease);
}
.fgh-contact a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.fgh-contact svg {
  flex: none;
  color: var(--fgh-accent-bright);
}
.fgh-contact small {
  margin-inline-start: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.fgh-quote-form {
  padding: clamp(32px, 5vw, 60px);
}
.fgh-quote-form .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.fgh-quote-form .wpcf7-form > .hidden-fields-container,
.fgh-quote-form .wpcf7-form > p {
  display: none;
}
.fgh-quote-form .wpcf7-form .column {
  float: none;
  width: auto;
  margin: 0;
}
.fgh-quote-form .wpcf7-form .column:nth-of-type(n + 5),
.fgh-quote-form .wpcf7-response-output {
  grid-column: 1 / -1;
}
.fgh-quote-form .wpcf7-form .column p {
  margin: 0;
}
.fgh-quote-form .wpcf7-form-control-wrap {
  display: block;
}
.fgh-quote-form input[type="text"],
.fgh-quote-form input[type="email"],
.fgh-quote-form textarea {
  width: 100%;
  margin: 0;
  padding: 15px 18px;
  border: 1px solid var(--fgh-line);
  border-radius: 14px;
  background: var(--fgh-surface);
  font-family: var(--fgh-body);
  font-size: 16px;
  line-height: 1.4;
  color: var(--fgh-text);
  box-shadow: none;
  transition: border-color 0.25s var(--fgh-ease), background-color 0.25s var(--fgh-ease), box-shadow 0.25s var(--fgh-ease);
}
.fgh-quote-form textarea {
  height: 150px;
  resize: vertical;
}
.fgh-quote-form input::placeholder,
.fgh-quote-form textarea::placeholder {
  color: #7d8898;
}
.fgh-quote-form input[type="text"]:focus,
.fgh-quote-form input[type="email"]:focus,
.fgh-quote-form textarea:focus {
  border-color: var(--fgh-accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(10, 166, 224, 0.14);
  outline: none;
}
.fgh-quote-form input.wpcf7-submit {
  width: auto;
  min-height: 54px;
  margin: 6px 0 0;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  background: var(--fgh-accent);
  font-family: var(--fgh-body);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 14px 30px -14px rgba(10, 166, 224, 0.75);
  transition: background-color 0.3s var(--fgh-ease), transform 0.3s var(--fgh-ease);
}
.fgh-quote-form input.wpcf7-submit:hover {
  background: #086a93;
  transform: translateY(-2px);
}
.fgh-quote-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
}

/* ── Reveal on scroll (only for what starts below the fold) ────────────── */
.fgh-pending {
  opacity: 0;
  transform: translateY(28px);
}
.fgh-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--fgh-ease), transform 0.8s var(--fgh-ease);
}
.fgh-service.fgh-in:nth-child(even) {
  transform: translateY(32px);
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .fgh-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fgh-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fgh-services-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fgh-quote-card {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .fgh-about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fgh-about-media {
    max-width: 520px;
  }
  .fgh-hero .fgh-hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0;
  }
  .fgh-hero-facts li:nth-child(3) {
    padding-inline-start: 0;
    border-inline-start: 0;
  }
  .fgh-hero-scroll {
    display: none;
  }
}
@media (max-width: 640px) {
  .fgh-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .fgh-service-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .fgh-service:nth-child(even),
  .fgh-service.fgh-in:nth-child(even) {
    transform: none;
  }
  .fgh-quote-form .wpcf7-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .fgh-hero-inner {
    padding-top: 120px;
    padding-bottom: 28px;
  }
  .fgh-hero-actions .fgh-btn {
    flex: 1 1 100%;
  }
  .fgh-hero-facts li {
    padding: 16px 14px 0;
  }
  .fgh-hero-facts span {
    font-size: 13px;
  }
  .fgh-badge {
    max-width: 240px;
    padding: 14px 16px;
  }
  .fgh-badge strong {
    font-size: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fgh-main *,
  .fgh-hero * {
    transition: none !important;
    animation: none !important;
  }
  .fgh-pending {
    opacity: 1;
    transform: none;
  }
}
