/*
Theme Name: Fley Media Corporate
Theme URI: https://fleymedia.com/
Author: Fley Media
Author URI: https://fleymedia.com/
Description: Tema corporativo ligero, moderno y accesible para Fley Media.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: fley-media
*/

:root {
  --fm-black: #090a0a;
  --fm-black-soft: #121313;
  --fm-panel: #171818;
  --fm-panel-light: #1e2020;
  --fm-orange: #f86617;
  --fm-orange-hot: #ff7a28;
  --fm-white: #ffffff;
  --fm-ink: #151616;
  --fm-muted: #a9adad;
  --fm-line: rgba(255, 255, 255, 0.12);
  --fm-radius-sm: 14px;
  --fm-radius: 24px;
  --fm-radius-lg: 36px;
  --fm-shadow: 0 26px 80px rgba(0, 0, 0, 0.26);
  --fm-content: 1180px;
  --fm-header-height: 82px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--fm-black);
  color: var(--fm-white);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .fm-site-header {
  top: 32px;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(248, 102, 23, 0.72);
  outline-offset: 4px;
}

::selection {
  background: var(--fm-orange);
  color: var(--fm-black);
}

.screen-reader-text {
  position: absolute !important;
  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: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: var(--fm-white);
  color: var(--fm-black);
  border-radius: 10px;
}

.fm-container {
  width: min(calc(100% - 40px), var(--fm-content));
  margin-inline: auto;
}

.fm-site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: var(--fm-header-height);
  border-bottom: 1px solid transparent;
  background: rgba(9, 10, 10, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.fm-site-header.is-scrolled {
  border-bottom-color: var(--fm-line);
  background: rgba(9, 10, 10, 0.94);
}

.fm-header-inner {
  display: flex;
  min-height: var(--fm-header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fm-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--fm-white);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.fm-brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  overflow: hidden;
  place-items: center;
  border-radius: 13px;
  background: var(--fm-white);
}

.fm-brand-mark img {
  width: 70px;
  max-width: none;
  transform: scale(1.82) translateY(-1%);
}

.fm-brand-name {
  font-size: 1.18rem;
}

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

.fm-nav-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.fm-nav a {
  position: relative;
  color: #e8eaea;
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.fm-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--fm-orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.fm-nav a:hover::after,
.fm-nav .current-menu-item > a::after,
.fm-nav .current_page_item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.fm-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--fm-line);
  border-radius: 14px;
  background: var(--fm-panel);
  color: var(--fm-white);
  cursor: pointer;
}

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

.fm-menu-toggle span {
  margin-block: 5px;
}

.fm-menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.fm-menu-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.fm-menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.fm-button,
.wp-block-button__link,
button.fm-submit {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid var(--fm-orange);
  border-radius: 999px;
  background: var(--fm-orange);
  box-shadow: 0 12px 30px rgba(248, 102, 23, 0.22);
  color: var(--fm-black);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.fm-button:hover,
.wp-block-button__link:hover,
button.fm-submit:hover {
  background: var(--fm-orange-hot);
  box-shadow: 0 16px 38px rgba(248, 102, 23, 0.3);
  transform: translateY(-2px);
}

.fm-button--ghost {
  border-color: var(--fm-line);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
  color: var(--fm-white);
}

.fm-button--ghost:hover {
  border-color: rgba(248, 102, 23, 0.6);
  background: rgba(248, 102, 23, 0.08);
  box-shadow: none;
}

.fm-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--fm-header-height));
  overflow: hidden;
  padding: clamp(86px, 11vw, 150px) 0 92px;
}

.fm-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  mask-image: linear-gradient(to bottom, black 15%, transparent 92%);
}

.fm-hero::after {
  position: absolute;
  z-index: -1;
  top: 5%;
  right: -13%;
  width: min(52vw, 700px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 102, 23, 0.28), rgba(248, 102, 23, 0.04) 50%, transparent 72%);
  content: "";
  filter: blur(6px);
  transform: translate3d(0, 0, 0);
  animation: fm-pulse 8s ease-in-out infinite alternate;
}

.fm-hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(48px, 8vw, 110px);
}

.fm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: #d7dada;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fm-eyebrow::before {
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--fm-orange);
  content: "";
}

.fm-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 7.4vw, 6.9rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.93;
  text-wrap: balance;
}

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

.fm-hero-copy {
  max-width: 650px;
  margin: 30px 0 0;
  color: #c3c7c7;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.fm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.fm-hero-note {
  margin: 22px 0 0;
  color: var(--fm-muted);
  font-size: 0.85rem;
}

.fm-logo-stage {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
  perspective: 1000px;
}

.fm-logo-stage::before,
.fm-logo-stage::after {
  position: absolute;
  border: 1px solid rgba(248, 102, 23, 0.34);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.fm-logo-stage::before {
  inset: -42px;
  animation: fm-spin 22s linear infinite;
}

.fm-logo-stage::after {
  inset: -16px;
  border-style: dashed;
  animation: fm-spin 15s linear infinite reverse;
}

.fm-logo-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--fm-radius-lg);
  background: #fefefe;
  box-shadow: var(--fm-shadow), 0 0 80px rgba(248, 102, 23, 0.12);
  transform: rotateY(-5deg) rotateX(3deg);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fm-logo-card:hover {
  transform: rotateY(0) rotateX(0) translateY(-5px);
}

.fm-logo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm-orbit-dot {
  position: absolute;
  z-index: 2;
  top: -50px;
  left: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--fm-orange);
  box-shadow: 0 0 26px var(--fm-orange);
}

.fm-section {
  position: relative;
  padding: clamp(82px, 10vw, 132px) 0;
}

.fm-section--light {
  background: #f5f5f2;
  color: var(--fm-ink);
}

.fm-section--orange {
  overflow: hidden;
  background: var(--fm-orange);
  color: var(--fm-black);
}

.fm-section-heading {
  display: grid;
  margin-bottom: 50px;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.6fr);
  align-items: end;
  gap: 44px;
}

.fm-section-heading h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.3rem, 5.2vw, 4.8rem);
  letter-spacing: -0.055em;
  line-height: 1;
  text-wrap: balance;
}

.fm-section-heading p {
  margin: 0;
  color: var(--fm-muted);
}

.fm-section--light .fm-section-heading p {
  color: #5c6060;
}

.fm-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.fm-service-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius);
  background: linear-gradient(145deg, var(--fm-panel-light), var(--fm-panel));
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.fm-service-card:hover {
  border-color: rgba(248, 102, 23, 0.62);
  background: linear-gradient(145deg, #242626, #171818);
  transform: translateY(-7px);
}

.fm-card-number {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 60px;
  place-items: center;
  border: 1px solid rgba(248, 102, 23, 0.38);
  border-radius: 50%;
  color: var(--fm-orange);
  font-size: 0.8rem;
  font-weight: 800;
}

.fm-service-card h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.fm-service-card p {
  margin: 0;
  color: var(--fm-muted);
  font-size: 0.94rem;
}

.fm-service-card::after {
  position: absolute;
  right: -28px;
  bottom: -32px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 102, 23, 0.2), transparent 68%);
  content: "";
}

.fm-marquee {
  overflow: hidden;
  border-block: 1px solid rgba(9, 10, 10, 0.2);
}

.fm-marquee-track {
  display: flex;
  width: max-content;
  padding: 17px 0;
  animation: fm-marquee 24s linear infinite;
}

.fm-marquee-track span {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.fm-marquee-track span::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fm-black);
  content: "";
}

.fm-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: fm-process;
}

.fm-process-step {
  position: relative;
  min-height: 250px;
  padding: 30px 28px;
  border-top: 1px solid rgba(9, 10, 10, 0.2);
  counter-increment: fm-process;
}

.fm-process-step:not(:last-child) {
  border-right: 1px solid rgba(9, 10, 10, 0.2);
}

.fm-process-step::before {
  display: block;
  margin-bottom: 62px;
  color: var(--fm-orange);
  content: "0" counter(fm-process);
  font-size: 0.8rem;
  font-weight: 850;
}

.fm-process-step h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.fm-process-step p {
  margin: 0;
  color: #595d5d;
  font-size: 0.94rem;
}

.fm-split {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(50px, 8vw, 110px);
}

.fm-split h2 {
  margin: 0 0 24px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.fm-split p {
  color: #c1c5c5;
}

.fm-value-stack {
  display: grid;
  gap: 14px;
}

.fm-value-item {
  display: grid;
  padding: 22px;
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius-sm);
  background: rgba(255, 255, 255, 0.035);
  grid-template-columns: 44px 1fr;
  gap: 15px;
}

.fm-value-item strong {
  color: var(--fm-orange);
}

.fm-value-item h3,
.fm-value-item p {
  margin: 0;
}

.fm-value-item p {
  color: var(--fm-muted);
  font-size: 0.9rem;
}

.fm-cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 8vw, 92px);
  border-radius: var(--fm-radius-lg);
  background: var(--fm-orange);
  color: var(--fm-black);
}

.fm-cta-panel::after {
  position: absolute;
  z-index: -1;
  top: -130px;
  right: -80px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(9, 10, 10, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(9, 10, 10, 0.05), 0 0 0 84px rgba(9, 10, 10, 0.04);
  content: "";
}

.fm-cta-panel h2 {
  max-width: 850px;
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.fm-cta-panel p {
  max-width: 640px;
  margin: 0 0 32px;
}

.fm-cta-panel .fm-button {
  border-color: var(--fm-black);
  background: var(--fm-black);
  color: var(--fm-white);
  box-shadow: none;
}

.fm-cta-panel .fm-button:hover {
  background: #202222;
}

.fm-page-hero {
  padding: clamp(82px, 10vw, 130px) 0 62px;
  border-bottom: 1px solid var(--fm-line);
  background:
    radial-gradient(circle at 84% 30%, rgba(248, 102, 23, 0.18), transparent 35%),
    var(--fm-black);
}

.fm-page-hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.fm-page-content {
  padding: 70px 0 110px;
  background: #f5f5f2;
  color: var(--fm-ink);
}

.fm-prose {
  width: min(100%, 850px);
  font-size: 1.04rem;
}

.fm-prose > *:first-child {
  margin-top: 0;
}

.fm-prose h2,
.fm-prose h3 {
  margin-top: 2.2em;
  margin-bottom: 0.65em;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.fm-prose h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.fm-prose h3 {
  font-size: 1.45rem;
}

.fm-prose p,
.fm-prose li {
  color: #424646;
}

.fm-prose a {
  color: #b94408;
  font-weight: 700;
}

.fm-prose ul,
.fm-prose ol {
  padding-left: 1.3em;
}

.fm-prose blockquote {
  padding: 22px 26px;
  margin: 32px 0;
  border-left: 4px solid var(--fm-orange);
  background: #fff;
  border-radius: 0 var(--fm-radius-sm) var(--fm-radius-sm) 0;
}

.fm-prose details {
  padding: 20px 0;
  border-bottom: 1px solid #d4d6d4;
}

.fm-prose summary {
  font-weight: 800;
  cursor: pointer;
}

.fm-contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1fr);
  gap: 55px;
}

.fm-contact-card {
  padding: 30px;
  border-radius: var(--fm-radius);
  background: var(--fm-black);
  color: var(--fm-white);
}

.fm-contact-card h2 {
  margin-top: 0;
  font-size: 1.65rem;
}

.fm-contact-card a {
  color: var(--fm-orange);
  overflow-wrap: anywhere;
}

.fm-contact-list {
  display: grid;
  padding: 0;
  margin: 30px 0 0;
  gap: 18px;
  list-style: none;
}

.fm-contact-list small {
  display: block;
  color: var(--fm-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fm-form {
  display: grid;
  gap: 20px;
}

.fm-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fm-field {
  display: grid;
  gap: 8px;
}

.fm-field label,
.fm-consent label {
  font-size: 0.9rem;
  font-weight: 750;
}

.fm-field input,
.fm-field textarea,
.fm-field select {
  width: 100%;
  border: 1px solid #c9ccca;
  border-radius: 13px;
  background: #fff;
  color: var(--fm-ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.fm-field input,
.fm-field select {
  min-height: 52px;
  padding: 10px 14px;
}

.fm-field textarea {
  min-height: 160px;
  padding: 14px;
  resize: vertical;
}

.fm-field input:focus,
.fm-field textarea:focus,
.fm-field select:focus {
  border-color: var(--fm-orange);
  box-shadow: 0 0 0 4px rgba(248, 102, 23, 0.12);
  outline: 0;
}

.fm-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.fm-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.fm-consent input {
  margin-top: 5px;
}

.fm-form-notice {
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
}

.fm-form-notice--success {
  border: 1px solid #7dbb90;
  background: #e6f5e9;
  color: #16552b;
}

.fm-form-notice--error {
  border: 1px solid #d99d91;
  background: #fff0ed;
  color: #802519;
}

.fm-site-footer {
  padding: 72px 0 28px;
  border-top: 1px solid var(--fm-line);
  background: #070808;
}

.fm-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) repeat(2, minmax(180px, 0.5fr));
  gap: 50px;
}

.fm-footer-intro {
  max-width: 480px;
  color: var(--fm-muted);
}

.fm-footer-title {
  margin: 0 0 16px;
  color: var(--fm-white);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fm-footer-menu,
.fm-social-list {
  display: grid;
  padding: 0;
  margin: 0;
  gap: 10px;
  list-style: none;
}

.fm-footer-menu a,
.fm-social-list a {
  color: #c9cccc;
  text-decoration: none;
}

.fm-footer-menu a:hover,
.fm-social-list a:hover {
  color: var(--fm-orange);
}

.fm-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  margin-top: 58px;
  border-top: 1px solid var(--fm-line);
  color: #888d8d;
  font-size: 0.82rem;
}

.fm-reveal {
  opacity: 1;
  transform: none;
}

.fm-no-animations *,
.fm-no-animations *::before,
.fm-no-animations *::after {
  animation: none !important;
  transition-duration: 0.01ms !important;
}

.fm-no-animations .fm-reveal {
  opacity: 1 !important;
  transform: none !important;
}

.js .fm-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .fm-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fm-empty {
  padding: 110px 0;
  text-align: center;
}

@keyframes fm-spin {
  to { transform: rotate(360deg); }
}

@keyframes fm-pulse {
  from { opacity: 0.72; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1.08); }
}

@keyframes fm-marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 1040px) {
  .fm-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fm-hero-grid {
    gap: 58px;
  }

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

  .fm-process-step:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 860px) {
  :root {
    --fm-header-height: 72px;
  }

  body.admin-bar .fm-site-header {
    top: 46px;
  }

  .fm-menu-toggle {
    display: grid;
  }

  .fm-nav-wrap > .fm-button {
    display: none;
  }

  .fm-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    visibility: hidden;
    padding: 16px;
    border: 1px solid var(--fm-line);
    border-radius: 18px;
    background: rgba(15, 16, 16, 0.98);
    box-shadow: var(--fm-shadow);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .fm-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .fm-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .fm-nav a {
    display: block;
    padding: 13px 10px;
    border-radius: 10px;
  }

  .fm-nav a:hover {
    background: rgba(248, 102, 23, 0.08);
  }

  .fm-nav a::after {
    display: none;
  }

  .fm-hero {
    min-height: auto;
  }

  .fm-hero-grid,
  .fm-section-heading,
  .fm-split,
  .fm-contact-grid {
    grid-template-columns: 1fr;
  }

  .fm-logo-stage {
    width: min(78vw, 410px);
  }

  .fm-section-heading {
    gap: 20px;
  }

  .fm-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fm-footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .fm-container {
    width: min(calc(100% - 28px), var(--fm-content));
  }

  .fm-brand-name {
    font-size: 1.05rem;
  }

  .fm-brand-mark {
    width: 40px;
    height: 40px;
  }

  .fm-hero {
    padding-top: 70px;
  }

  .fm-hero h1 {
    font-size: clamp(2.75rem, 16vw, 4.6rem);
  }

  .fm-logo-stage::before {
    inset: -28px;
  }

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

  .fm-card-grid,
  .fm-process-grid,
  .fm-form-row,
  .fm-footer-grid {
    grid-template-columns: 1fr;
  }

  .fm-process-step {
    border-right: 0 !important;
  }

  .fm-service-card {
    min-height: 260px;
  }

  .fm-card-number {
    margin-bottom: 46px;
  }

  .fm-footer-grid > :first-child {
    grid-column: auto;
  }

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

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

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

  .js .fm-reveal {
    opacity: 1;
    transform: none;
  }
}
