/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor child theme for FERRIMOVIL.
Version: 3.4.7.1774138128
*/

:root {
  --fmv-primary: #162846;
  --fmv-primary-strong: #0d1b35;
  --fmv-secondary: #254a78;
  --fmv-highlight: #89a9cf;
  --fmv-surface: #ffffff;
  --fmv-surface-muted: #f3f7fc;
  --fmv-text-dark: #1a2744;
  --fmv-text-soft: rgba(26, 39, 68, 0.76);
  --fmv-border-soft: rgba(22, 40, 70, 0.1);
  --fmv-shadow-soft: 0 24px 60px rgba(12, 27, 58, 0.16);
  --fmv-shadow-card: 0 16px 32px rgba(12, 27, 58, 0.12);
  --fmv-radius-xl: 32px;
  --fmv-radius-lg: 24px;
  --fmv-radius-md: 18px;
  --fmv-radius-sm: 12px;
}

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

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

body {
  margin: 0;
  color: var(--fmv-text-dark);
  font-family: var(--fmv-font, "Montserrat"), sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top, rgba(92, 123, 166, 0.16), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #edf3fa 46%, #e7eef6 100%);
}

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

a {
  color: inherit;
}

#site-header,
#site-footer,
.skip-link,
.site-header + #content.site-main {
  display: none !important;
}

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

.fmv-page-shell {
  position: relative;
  overflow: clip;
}

.fmv-main {
  display: block;
}

.fmv-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(12, 24, 47, 0.92), rgba(23, 40, 71, 0.88));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 36px rgba(10, 20, 40, 0.16);
}

body.admin-bar .fmv-nav {
  top: 32px;
}

.fmv-nav__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
  min-height: 78px;
  padding: 0.9rem 0;
}

.fmv-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fmv-nav__brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  padding: 0.35rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.fmv-nav__links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-self: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fmv-nav__links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.fmv-nav__links a:hover,
.fmv-nav__links a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.fmv-nav__cta,
.fmv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.fmv-nav__cta:hover,
.fmv-button:hover,
.fmv-nav__cta:focus-visible,
.fmv-button:focus-visible {
  transform: translateY(-2px);
}

.fmv-nav__cta,
.fmv-button--solid {
  color: var(--fmv-btn-text, #fff);
  background: linear-gradient(135deg, var(--fmv-primary), #1e5da0);
  box-shadow: 0 14px 30px rgba(10, 34, 76, 0.28);
}

.fmv-nav__cta {
  justify-self: end;
  min-width: 132px;
  color: var(--fmv-primary-strong);
  background: linear-gradient(135deg, #ffffff, #d8e7fa);
}

.fmv-button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.fmv-hero {
  position: relative;
  padding: clamp(4.6rem, 8vw, 7.4rem) 0 4.2rem;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(8, 19, 41, 0.96) 0%, rgba(15, 29, 60, 0.9) 52%, rgba(22, 43, 82, 0.72) 100%),
    radial-gradient(circle at 20% 20%, rgba(122, 156, 196, 0.28), transparent 34%),
    var(--fmv-hero-image, none) center/cover no-repeat;
}

.fmv-hero::before,
.fmv-hero::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.fmv-hero::before {
  top: 10%;
  right: -8%;
  width: min(480px, 42vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 66%);
  filter: blur(8px);
}

.fmv-hero::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  background: linear-gradient(180deg, transparent 0%, rgba(248, 251, 255, 1) 100%);
}

.fmv-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.fmv-eyebrow,
.fmv-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
}

.fmv-kicker {
  color: var(--fmv-primary);
  background: rgba(22, 40, 70, 0.08);
}

.fmv-hero h1,
.fmv-section__heading h2,
.fmv-section__copy h2,
.fmv-contact__copy h2 {
  margin: 0;
  letter-spacing: calc(var(--fmv-ls, 0px) + 0.01em);
  font-weight: var(--fmv-title-fw, 800);
  line-height: 0.95;
}

.fmv-hero h1 {
  max-width: 8ch;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
}

.fmv-hero__lead {
  max-width: 28ch;
  margin: 1.2rem 0 0;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.fmv-hero__meta {
  max-width: 36ch;
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.fmv-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.fmv-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.fmv-stats li {
  padding: 1rem 1.1rem;
  border-radius: var(--fmv-radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.fmv-stats strong {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
}

.fmv-stats span {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.fmv-hero__panel {
  display: grid;
  gap: 1rem;
}

.fmv-brand-card,
.fmv-contact-card,
.fmv-note-card,
.fmv-service-card,
.fmv-proof__grid article,
.fmv-contact__list article,
.fmv-form {
  border-radius: var(--fmv-radius-lg);
  box-shadow: var(--fmv-shadow-card);
}

.fmv-brand-card,
.fmv-contact-card {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.fmv-brand-card img {
  width: min(100%, 320px);
  margin-inline: auto;
}

.fmv-brand-card p,
.fmv-contact-card p {
  margin: 0;
}

.fmv-brand-card p {
  margin-top: 0.9rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.fmv-contact-card {
  display: grid;
  gap: 0.55rem;
}

.fmv-contact-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.fmv-contact-card a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.fmv-contact-card p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.fmv-strip {
  position: relative;
  z-index: 2;
  margin-top: -1.5rem;
}

.fmv-strip__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.fmv-strip__items span {
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(22, 40, 70, 0.08);
  box-shadow: 0 14px 28px rgba(12, 27, 58, 0.08);
  color: var(--fmv-primary);
  font-size: 0.94rem;
  font-weight: 700;
}

.fmv-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.fmv-section__heading,
.fmv-section__copy,
.fmv-contact__copy {
  max-width: 760px;
}

.fmv-section__heading h2,
.fmv-section__copy h2,
.fmv-contact__copy h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--fmv-primary);
}

.fmv-section__heading p,
.fmv-section__copy p,
.fmv-contact__copy p {
  margin: 1rem 0 0;
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--fmv-text-soft);
}

.fmv-about__grid,
.fmv-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.fmv-about__details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.fmv-about__details article {
  padding: 1.2rem;
  border-radius: var(--fmv-radius-md);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--fmv-border-soft);
  box-shadow: 0 16px 32px rgba(17, 35, 64, 0.08);
}

.fmv-about__details span,
.fmv-note-card span,
.fmv-proof__grid span,
.fmv-contact__list span {
  display: block;
  margin-bottom: 0.55rem;
  color: rgba(26, 39, 68, 0.56);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.fmv-about__details strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.5;
}

.fmv-about__panel {
  display: grid;
  gap: 1rem;
}

.fmv-note-card {
  padding: 1.45rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(239, 245, 251, 1));
  border: 1px solid var(--fmv-border-soft);
}

.fmv-note-card p {
  margin: 0;
  color: rgba(26, 39, 68, 0.85);
  line-height: 1.7;
}

.fmv-services {
  background:
    radial-gradient(circle at top right, rgba(122, 156, 196, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(236, 243, 251, 0.98));
}

.fmv-service-grid,
.fmv-proof__grid,
.fmv-contact__list {
  display: grid;
  gap: 1rem;
}

.fmv-service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.fmv-service-card {
  position: relative;
  padding: 1.55rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--fmv-border-soft);
}

.fmv-service-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--fmv-primary), var(--fmv-highlight));
  font-weight: 800;
}

.fmv-service-card h3 {
  margin: 0;
  color: var(--fmv-primary);
  font-size: 1.3rem;
}

.fmv-service-card p {
  margin: 0.9rem 0 0;
  color: rgba(26, 39, 68, 0.8);
  line-height: 1.7;
}

.fmv-service-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.fmv-service-card li {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(26, 39, 68, 0.82);
  line-height: 1.55;
}

.fmv-service-card li::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--fmv-highlight);
}

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

.fmv-proof__grid article {
  padding: 1.45rem;
  background: linear-gradient(160deg, rgba(14, 28, 56, 0.98), rgba(26, 52, 93, 0.96));
  color: #fff;
}

.fmv-proof__grid h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

.fmv-proof__grid p {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.fmv-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.fmv-gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  grid-column: span 4;
  border-radius: 26px;
  box-shadow: var(--fmv-shadow-soft);
  background: #dfe7f0;
}

.fmv-gallery-card.is-wide {
  grid-column: span 8;
}

.fmv-gallery-card.is-tall {
  grid-row: span 2;
  min-height: 540px;
}

.fmv-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fmv-gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(7, 20, 43, 0.8));
}

.fmv-gallery-card figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
  font-weight: 700;
}

.fmv-contact {
  background:
    linear-gradient(180deg, rgba(233, 239, 247, 0.35), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at bottom left, rgba(122, 156, 196, 0.12), transparent 35%);
}

.fmv-contact__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.fmv-contact__list article {
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--fmv-border-soft);
}

.fmv-contact__list a {
  color: var(--fmv-primary);
  text-decoration: none;
  font-weight: 800;
}

.fmv-contact__list p {
  margin: 0;
}

.fmv-form {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: linear-gradient(180deg, rgba(12, 24, 47, 0.98), rgba(24, 42, 73, 0.98));
  color: #fff;
}

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

.fmv-form label {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.fmv-form input,
.fmv-form select,
.fmv-form textarea {
  width: 100%;
  min-width: 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  box-sizing: border-box;
}

.fmv-form input::placeholder,
.fmv-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.fmv-form select option {
  color: #111;
}

.fmv-form textarea {
  resize: vertical;
}

.fmv-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.fmv-form__status {
  margin: 1rem 0 0;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.68);
}

.fmv-form__status[data-state="success"] {
  color: #7ff0a8;
}

.fmv-form__status[data-state="error"] {
  color: #ff9f9f;
}

.fmv-footer {
  padding: 1.8rem 0 2.2rem;
}

.fmv-footer__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.7fr) minmax(220px, 0.9fr);
  gap: 1.3rem;
  padding: 1.5rem;
  border-radius: 28px 28px 20px 20px;
  background: linear-gradient(160deg, rgba(11, 23, 45, 0.98), rgba(22, 40, 70, 0.98));
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 50px rgba(10, 20, 38, 0.18);
}

.fmv-footer__brand,
.fmv-footer__nav,
.fmv-footer__contact {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.fmv-footer__eyebrow,
.fmv-footer__nav span,
.fmv-footer__contact span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fmv-footer__panel strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
}

.fmv-footer__panel p {
  margin: 0;
  line-height: 1.7;
}

.fmv-footer__meta {
  color: rgba(255, 255, 255, 0.62);
}

.fmv-footer__nav a,
.fmv-footer__contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.fmv-footer__nav a {
  color: rgba(255, 255, 255, 0.82);
}

.fmv-footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.95rem 1.35rem 0;
  color: rgba(22, 40, 70, 0.72);
  font-size: 0.88rem;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .fmv-hero__grid,
  .fmv-about__grid,
  .fmv-contact__grid,
  .fmv-proof__grid,
  .fmv-footer__panel {
    grid-template-columns: 1fr;
  }

  .fmv-gallery-card,
  .fmv-gallery-card.is-wide {
    grid-column: span 6;
  }

  .fmv-gallery-card.is-tall {
    min-height: 420px;
  }
}

@media (max-width: 820px) {
  .fmv-nav__inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .fmv-nav__brand,
  .fmv-nav__links,
  .fmv-nav__cta {
    justify-content: center;
  }

  .fmv-stats,
  .fmv-about__details,
  .fmv-service-grid,
  .fmv-contact__list,
  .fmv-form__row {
    grid-template-columns: 1fr;
  }

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

  .fmv-gallery-card,
  .fmv-gallery-card.is-wide {
    grid-column: span 1;
  }

  .fmv-gallery-card.is-tall {
    grid-row: span 1;
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .fmv-shell {
    width: min(100% - 1.1rem, 100%);
  }

  .fmv-hero {
    padding-top: 3.5rem;
  }

  .fmv-nav {
    position: static;
  }

  .fmv-nav__brand span {
    font-size: 0.88rem;
    text-align: center;
  }

  .fmv-nav__links {
    width: 100%;
    padding-inline: 0.45rem;
    gap: 0.35rem;
  }

  .fmv-nav__links a {
    flex: 1 1 auto;
    text-align: center;
  }

  .fmv-strip {
    margin-top: -0.8rem;
  }

  .fmv-strip__items {
    justify-content: center;
  }

  .fmv-button,
  .fmv-nav__cta {
    width: 100%;
  }

  .fmv-gallery-grid {
    grid-template-columns: 1fr;
  }

  .fmv-gallery-card,
  .fmv-gallery-card.is-wide,
  .fmv-gallery-card.is-tall {
    min-height: 260px;
    grid-column: auto;
  }

  .fmv-footer__panel {
    padding: 1.25rem;
    border-radius: 24px 24px 18px 18px;
  }

  .fmv-footer__bar {
    padding-inline: 0.3rem;
  }
}

@media (max-width: 782px) {
  body.admin-bar .fmv-nav {
    top: 46px;
  }
}

.fmv-button--outline {
  color: var(--fmv-primary);
  border-color: rgba(22, 40, 70, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 24px rgba(17, 35, 64, 0.08);
}

.fmv-button--outline:hover,
.fmv-button--outline:focus-visible {
  border-color: rgba(22, 40, 70, 0.2);
}

.fmv-service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.fmv-service-card__media {
  position: relative;
  min-height: 220px;
  background: linear-gradient(160deg, rgba(14, 28, 56, 0.98), rgba(30, 67, 117, 0.82));
}

.fmv-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fmv-service-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(8, 18, 38, 0.78));
}

.fmv-service-card__tag,
.fmv-service-card__eyebrow {
  position: absolute;
  z-index: 1;
}

.fmv-service-card__tag {
  top: 1rem;
  left: 1rem;
  margin-bottom: 0;
}

.fmv-service-card__eyebrow {
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fmv-service-card__body {
  display: grid;
  gap: 1rem;
  flex: 1;
  padding: 1.45rem;
}

.fmv-service-card__body p,
.fmv-service-card__body h3 {
  margin: 0;
}

.fmv-service-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: auto;
}

.fmv-service-card__actions .fmv-button {
  flex: 1 1 180px;
}

.fmv-gallery-carousel {
  margin-top: 2rem;
}

.fmv-gallery-carousel__controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.fmv-carousel-btn {
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(22, 40, 70, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--fmv-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(17, 35, 64, 0.08);
}

.fmv-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.fmv-gallery-track::-webkit-scrollbar {
  display: none;
}

.fmv-gallery-track .fmv-gallery-card {
  min-height: 380px;
  grid-column: auto;
  scroll-snap-align: start;
}

.fmv-gallery-track .fmv-gallery-card::after,
.fmv-gallery-grid--page .fmv-gallery-card::after {
  height: 60%;
}

.fmv-gallery-track .fmv-gallery-card figcaption,
.fmv-gallery-grid--page .fmv-gallery-card figcaption {
  display: grid;
  gap: 0.35rem;
}

.fmv-gallery-track .fmv-gallery-card strong,
.fmv-gallery-grid--page .fmv-gallery-card strong {
  font-size: 1rem;
  color: #fff;
}

.fmv-gallery-track .fmv-gallery-card span,
.fmv-gallery-grid--page .fmv-gallery-card span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.5;
}

.fmv-gallery-carousel__footer {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem;
}

.fmv-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6rem) 0;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(8, 19, 41, 0.96) 0%, rgba(15, 29, 60, 0.9) 52%, rgba(22, 43, 82, 0.72) 100%),
    radial-gradient(circle at 20% 20%, rgba(122, 156, 196, 0.28), transparent 34%),
    var(--fmv-page-hero-image, none) center/cover no-repeat;
}

.fmv-page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(180deg, transparent 0%, rgba(248, 251, 255, 1) 100%);
}

.fmv-page-hero__grid,
.fmv-detail-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.fmv-page-hero__copy h1,
.fmv-cta-band__inner h2 {
  margin: 0;
  line-height: 0.98;
}

.fmv-page-hero__copy h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.fmv-page-hero__lead {
  margin: 1rem 0 0;
  max-width: 32ch;
  font-size: clamp(1.08rem, 2.1vw, 1.32rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.fmv-page-hero__actions,
.fmv-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.fmv-page-hero__media,
.fmv-page-hero__stats article,
.fmv-detail-card,
.fmv-cta-band__inner {
  border-radius: var(--fmv-radius-lg);
  box-shadow: var(--fmv-shadow-card);
}

.fmv-page-hero__media {
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
}

.fmv-page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fmv-page-hero__stats {
  display: grid;
  gap: 1rem;
}

.fmv-page-hero__stats article {
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.fmv-page-hero__stats strong {
  display: block;
  font-size: 1.4rem;
}

.fmv-page-hero__stats span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.74);
}

.fmv-detail-panel {
  display: grid;
  gap: 1rem;
}

.fmv-detail-card {
  padding: 1.45rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--fmv-border-soft);
}

.fmv-detail-card > span {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: var(--fmv-primary);
  background: rgba(22, 40, 70, 0.08);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fmv-detail-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fmv-detail-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--fmv-text-soft);
  line-height: 1.6;
}

.fmv-detail-list li::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--fmv-highlight);
}

.fmv-cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem;
  background: linear-gradient(160deg, rgba(14, 28, 56, 0.98), rgba(26, 52, 93, 0.96));
  color: #fff;
}

.fmv-cta-band__inner .fmv-kicker {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
}

.fmv-cta-band__inner h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.fmv-cta-band__inner p {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.fmv-gallery-grid--page {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fmv-gallery-card--page {
  min-height: 360px;
  grid-column: auto;
}

@media (max-width: 1100px) {
  .fmv-page-hero__grid,
  .fmv-detail-grid,
  .fmv-cta-band__inner,
  .fmv-gallery-grid--page {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .fmv-gallery-track {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 640px) {
  .fmv-gallery-track {
    grid-auto-columns: 100%;
  }

  .fmv-gallery-track .fmv-gallery-card,
  .fmv-gallery-card--page,
  .fmv-page-hero__media {
    min-height: 280px;
  }

  .fmv-gallery-carousel__controls {
    justify-content: center;
  }

  .fmv-carousel-btn {
    flex: 1 1 140px;
  }

  .fmv-service-card__actions {
    flex-direction: column;
  }
}
