/* Geometra Rocco Galasso — mobile first, layout formale */
:root {
  /* Neutral + navy accent (più “studio”, meno “landing”) */
  --inter-black: #0f1115;
  --inter-blue: #1f3a5a; /* accent */
  --inter-blue-dark: #162a42;
  --inter-blue-soft: #eef2f5;
  --inter-blue-mid: #2c4f78;
  --bg-page: #f6f5f2; /* warm neutral */
  --bg-surface: #ffffff;
  --text: #14181f;
  --text-muted: #4b5563;
  --border: #d7dbe2;
  --border-strong: #b8c1cc;
  --font-serif: "Source Serif 4", "Georgia", serif;
  --font-sans: "Source Sans 3", system-ui, sans-serif;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 17, 21, 0.05), 0 10px 24px rgba(15, 17, 21, 0.06);
  --header-h: 4rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

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

html {
  scroll-behavior: smooth;
  /* Ancore sotto header fisso (anche #top, non più su elemento fixed) */
  scroll-padding-top: calc(var(--header-h) + var(--safe-top) + 0.5rem);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--inter-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--inter-blue-dark);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--inter-blue);
  color: #fff;
}

.skip-link:focus {
  left: 0;
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.nav-panel a:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(31, 58, 90, 0.35);
  outline-offset: 3px;
  border-radius: calc(var(--radius) - 2px);
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-sizing: border-box;
  min-height: calc(var(--header-h) + var(--safe-top));
  padding: var(--safe-top) max(1rem, var(--safe-right)) 0 max(1rem, var(--safe-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(170%) blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header .logo {
  min-width: 0;
  flex: 1;
}

.logo {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--inter-black);
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  flex-shrink: 0;
}

.logo-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--inter-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--inter-blue);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--inter-black);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

.nav-panel {
  position: fixed;
  top: calc(var(--header-h) + var(--safe-top));
  right: 0;
  bottom: 0;
  left: auto;
  width: min(20rem, calc(100vw - 2.5rem));
  max-width: 100%;
  background: var(--bg-surface);
  padding: 0.5rem 1rem 1.25rem;
  padding-bottom: max(1.25rem, var(--safe-bottom));
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 90;
  box-shadow: -12px 0 40px rgba(15, 17, 21, 0.16);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.nav-panel.is-open {
  transform: translateX(0);
}

.nav-panel-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0 1rem;
  margin: 0 0 0.25rem;
  border-bottom: 1px solid var(--border);
}

.nav-panel-title {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-panel-name {
  font-weight: 700;
  color: var(--inter-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-panel-sub {
  margin-top: 0.15rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--inter-blue);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-panel li {
  border-bottom: 1px solid var(--border);
}

.nav-panel li:last-child {
  border-bottom: none;
}

.nav-panel a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.65rem 0;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  -webkit-tap-highlight-color: transparent;
}

.nav-panel a:hover,
.nav-panel a:active {
  color: var(--inter-blue);
}

@media (max-width: 899px) {
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(15, 17, 21, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Mobile: panel overlays full height; content starts below header */
  .nav-panel {
    top: 0;
    bottom: auto;
    height: 100dvh;
    max-height: 100dvh;
    padding-top: calc(var(--header-h) + var(--safe-top) + 0.75rem);
    border-left: 1px solid var(--border);
  }
}

@media (min-width: 900px) {
  .site-header {
    min-height: var(--header-h);
    height: var(--header-h);
    padding: 0 1.25rem;
    box-sizing: border-box;
  }

  .site-header .logo {
    flex: initial;
  }

  .nav-toggle {
    display: none;
  }

  .nav-panel {
    position: static;
    transform: none !important;
    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    max-width: none;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }

  .nav-panel ul {
    display: flex;
    gap: 0.15rem;
  }

  .nav-panel li {
    border: none;
  }

  .nav-panel a {
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    color: var(--text-muted);
  }

  .nav-panel a:hover {
    background: var(--inter-blue-soft);
    color: var(--inter-blue-dark);
  }

  /* Desktop nav: no drawer header */
  .nav-panel-head {
    display: none;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: calc(var(--header-h) + var(--safe-top) + 2.25rem) max(1rem, var(--safe-left)) 2.5rem max(1rem, var(--safe-right));
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--header-h) + var(--safe-top));
  bottom: 0;
  width: 4px;
  background: var(--inter-blue);
}

.hero-layout {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

@media (min-width: 840px) {
  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 44%);
    gap: 2.25rem;
    align-items: center;
  }
}

.hero-inner {
  position: relative;
  max-width: 40rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  flex-shrink: 0;
  display: block;
  transform: translateY(-5px);
}


@media (min-width: 480px) {
  .hero-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.hero-media {
  order: -1;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--inter-black);
}

@media (min-width: 480px) {
  .hero-media {
    margin: 0;
  }
}

@media (min-width: 840px) {
  .hero-media {
    order: 0;
    margin: 0;
  }
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-media--logo {
  background: transparent;
}

@media (max-width: 839px) {
  .hero-media--logo {
    border: none;
    box-shadow: none;
  }

  .hero-media--logo img {
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }
}

.hero-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--inter-blue);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 6vw, 2.85rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--inter-black);
}

.hero-location {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  margin: 0 0 0.75rem;
  max-width: 38ch;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  max-width: 36ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  min-height: 44px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--inter-blue);
  color: #fff;
  border-color: var(--inter-blue);
}

.btn-primary:hover {
  background: var(--inter-blue-dark);
  border-color: var(--inter-blue-dark);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--inter-blue);
  border-color: rgba(31, 58, 90, 0.55);
}

.btn-secondary:hover {
  background: var(--inter-blue-soft);
  color: var(--inter-blue-dark);
  border-color: var(--inter-blue-dark);
}

.btn-secondary.btn--whatsapp {
  gap: 0.5rem;
  background: var(--bg-surface);
  color: var(--inter-blue);
  border-color: rgba(31, 58, 90, 0.55);
}

.btn-secondary.btn--whatsapp:hover {
  background: var(--inter-blue-soft);
  border-color: var(--inter-blue-dark);
  color: var(--inter-blue-dark);
}

.btn-secondary.btn--whatsapp .icon-whatsapp {
  color: currentColor;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon-whatsapp {
  flex-shrink: 0;
  color: var(--inter-blue);
  display: block;
}

.link-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  vertical-align: middle;
}

.link-whatsapp .icon-whatsapp {
  margin-top: 0.05em;
}

/* —— Sections —— */
section {
  padding: 3.25rem max(1.25rem, var(--safe-left)) 3.25rem max(1.25rem, var(--safe-right));
}

@media (max-width: 767px) {
  section {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }
}

.section-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.section-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--inter-blue);
  margin: 0 0 0.4rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--inter-black);
}

.section-intro {
  color: var(--text-muted);
  margin: 0.65rem 0 0;
  max-width: 58ch;
  font-size: 0.98rem;
}

.section-intro--tight {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

/* Lead Chi sono: su tablet/desktop niente 58ch; da ~lg una sola riga se c’è spazio */
@media (min-width: 768px) {
  .about-lead {
    max-width: none;
  }
}

@media (min-width: 960px) {
  .about-lead {
    white-space: nowrap;
  }
}

/* —— Chi siamo —— */
.about {
  background: var(--bg-page);
}

.about-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }
}

.about-card {
  padding: 1.35rem 1.5rem;
  background: var(--bg-surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.about-card--with-photo {
  padding: 0 0 1.35rem;
  overflow: hidden;
}

.about-card--with-photo .about-card__photo {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 280px;
  overflow: hidden;
  background: #e8eaed;
}

.about-card--with-photo .about-card__photo img {
  width: 100%;
  max-width: 360px;
  height: 280px;
  object-fit: cover;
  object-position: 92% 88%;
  display: block;
}

@media (max-width: 479px) {
  .about-card--with-photo .about-card__photo img {
    max-width: none;
  }
}

.about-card--with-photo h3,
.about-card--with-photo > p {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.about-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--inter-black);
}

.about-card--with-photo h3 {
  margin-top: 1rem;
}

.about-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.formation {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.formation--certifications {
  margin-top: 1rem;
}

.formation-label {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.formation-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.formation-years {
  color: color-mix(in srgb, var(--text-muted) 70%, var(--inter-black));
}

/* —— Services —— */
.services {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.service-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 600px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 17, 21, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 58, 90, 0.32);
  box-shadow: 0 12px 30px rgba(15, 17, 21, 0.10);
}

.service-card-media {
  margin: 0;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: var(--inter-black);
}

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

.service-card-media--renewable {
  box-shadow: inset 0 -2px 0 rgba(31, 58, 90, 0.85);
}

.service-card-body {
  padding: 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--inter-black);
}

.service-card p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
  line-height: 1.55;
}

.skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.skill-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: transparent;
  color: var(--inter-blue-dark);
  border: 1px solid rgba(31, 58, 90, 0.22);
}

.skill-tag--renewable {
  background: transparent;
  color: var(--inter-blue-dark);
  border-color: rgba(31, 58, 90, 0.22);
}

.subsection-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--inter-blue);
  margin: 2.25rem 0 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.green-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1.15rem;
  max-width: 62ch;
}

/* —— Contact —— */
.contact {
  background: var(--bg-page);
}

.contact-columns {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 899px) {
  .contact-columns .contact-block--recapito {
    order: -1;
  }
}

@media (min-width: 900px) {
  .contact-columns {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 1.75rem 2rem;
  }

  .contact-columns .contact-block--recapito {
    order: 0;
  }
}

.contact-block--recapito {
  margin-bottom: 0;
}

.contact-block h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--inter-black);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.contact-list a {
  color: var(--inter-blue);
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--inter-blue-dark);
}

.map-wrap {
  margin-top: 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  min-height: min(240px, 55vh);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 767px) {
  .map-wrap {
    min-height: 200px;
    aspect-ratio: 4 / 3;
  }
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* —— Dati aziendali (in Contatti) —— */
.company-data-panel {
  margin-top: 0;
  margin-bottom: 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.company-data-heading {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--inter-black);
}

.company-data-list {
  margin: 0;
}

.company-data-row {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(31, 58, 90, 0.12);
}

.company-data-row:first-of-type {
  padding-top: 0;
}

.company-data-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

@media (min-width: 560px) {
  .company-data-row {
    grid-template-columns: 11rem 1fr;
    gap: 1rem;
    align-items: baseline;
  }
}

.company-data-row dt {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.company-data-row dd {
  margin: 0;
  font-family: ui-monospace, monospace;
  font-size: 0.95rem;
  color: var(--inter-black);
  word-break: break-word;
}

.company-data-value {
  min-height: 1.35em;
  color: var(--text-muted);
}

.company-data-hint {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text-muted);
}

.company-data-row dt .company-data-hint {
  display: inline;
  margin-left: 0.25rem;
  font-weight: 500;
}

/* —— Footer —— */
.site-footer {
  padding: 2.25rem max(1.25rem, var(--safe-left)) max(2rem, var(--safe-bottom)) max(1.25rem, var(--safe-right));
  background: var(--inter-black);
  color: #c9cdd3;
  border-top: 2px solid rgba(31, 58, 90, 0.95);
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #aeb4bc;
  font-size: 0.84rem;
  font-weight: 600;
}

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

.footer-links-sep {
  color: #5c6570;
  user-select: none;
}

.footer-copy {
  font-size: 0.78rem;
  color: #8a9199;
  margin: 0;
  text-align: center;
}

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

  .service-card {
    transition: none;
  }

  .nav-panel,
  .nav-backdrop {
    transition: none;
  }
}
