/* ==========================================================================
   Kuta Mandalika Group (KMG) — v132
   Layout fedele all'architettura di turnerandtownsend.com
   Palette: navy + blu CTA + bianco. Niente accento dorato.
   ========================================================================== */

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

:root {
  --navy: #102a4c;          /* T&T deep navy (titles) */
  --navy-2: #1a2a4a;
  --navy-deep: #0c1729;
  --blue: #2a8fd9;          /* T&T accent blue (rotator word) */
  --blue-hover: #1a73b8;
  --cream: #f7f3ea;         /* T&T hero cream background */
  --gray-50: #fafafa;
  --gray-100: #f4f5f7;
  --gray-200: #e6e8ec;
  --gray-300: #cdd1d8;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --text: #11151f;
  --white: #ffffff;
  --max-w: 1320px;
  --transition: 0.22s ease;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
}

html { scroll-behavior: smooth; background: var(--navy-deep); }


body {
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: color var(--transition); }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

p { color: var(--gray-700); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition);
}

.btn:hover { background: var(--blue-hover); color: var(--white); }

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}

.btn--ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn--ghost-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn--ghost-dark:hover { background: var(--navy); color: var(--white); }

.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--cream);
  border-bottom: 0;
}

.nav {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 148px;
  max-width: 100%;
  margin: 0;
  padding: 0 10rem 0 12rem;
}

.nav__menu,
.nav__toggle,
.lang-switch { margin-top: 50px; }

.lang-switch {
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
  margin-left: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.lang-switch__btn {
  background: none;
  border: 1px solid var(--gray-300);
  color: var(--navy);
  padding: 0.3rem 0.55rem;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.lang-switch__btn:hover { border-color: var(--navy); }

.lang-switch__btn.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

@media (max-width: 1400px) {
  .nav { padding: 0 6rem 0 4rem; }
}
@media (max-width: 1100px) {
  .nav { padding: 0 2rem 0 3rem; }
}
@media (max-width: 700px) {
  .nav { padding: 0.4rem 1.5rem 0; height: auto; }
  .lang-switch { margin-top: 13px; margin-left: -1px; }
  .nav__toggle { margin-top: 6px; }
}

.nav__menu {
  flex: 1;
  justify-content: space-evenly;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  color: var(--navy);
}

.nav .brand {
  margin-left: -55px;
  margin-top: -1.2rem;
}


.brand__mark {
  width: 330px;
  height: auto;
  display: block;
  background: transparent;
  flex-shrink: 0;
}

.brand__mark img {
  width: 100%;
  height: auto;
  display: block;
}

.brand__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}

.brand__tag {
  display: block;
  font-size: 0.55rem;
  line-height: 1.2;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.14em;
  margin-top: 2px;
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav__menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 0.5rem 0;
}

.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--navy);
  transition: width var(--transition);
}

.nav__menu a:hover::after,
.nav__menu a.active::after { width: 100%; }

.nav__tools {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav__tools .icon-btn {
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--navy);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background var(--transition);
}

.nav__tools .icon-btn:hover { background: var(--gray-100); }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.nav__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-active span:nth-child(2) { opacity: 0; }
.nav__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav__menu, .nav__tools { display: none; }
  .nav__toggle { display: flex; }
}

/* Mobile full-screen nav overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  flex-direction: column;
  overflow-y: auto;
  background: var(--cream);
}
.mobile-nav-overlay.is-open { display: flex; }
body.menu-open { overflow: hidden; }

.mobile-overlay__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.4rem 1.5rem 0;
  height: auto;
  background: var(--cream);
  flex-shrink: 0;
}
.mobile-overlay__head .brand__mark { width: 190px; max-height: 91px; overflow: hidden; }
.mobile-overlay__head .brand { margin-left: -32px; margin-top: -14px; }

.mobile-overlay__nav {
  padding: 1.2rem 2rem 1.2rem;
  flex-shrink: 0;
}
.mobile-overlay__nav ul { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-overlay__nav a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}
.mobile-overlay__nav a:hover { color: var(--blue); }

.mobile-nav-overlay .site-footer { flex-shrink: 0; margin-top: 1.2rem; }

/* Mobile logo scale */
@media (max-width: 700px) {
  .brand__mark { width: 190px; }
  .nav .brand { margin-left: -32px; margin-top: -14px; }
  .nav .brand__mark { max-height: 91px; overflow: hidden; }
  .footer__brand .brand { margin-top: -30px; margin-left: -42px; }
  .footer__brand .brand__mark { width: 240px; max-height: 114px; overflow: hidden; }
}
@media (max-width: 420px) {
  .brand__mark { width: 180px; }
  .brand__tag { font-size: 0.5rem; }
  .nav .brand { margin-left: -30px; margin-top: -14px; }
  .nav .brand__mark { max-height: 86px; overflow: hidden; }
  .footer__brand .brand { margin-top: -27px; margin-left: -40px; }
  .footer__brand .brand__mark { width: 220px; max-height: 105px; overflow: hidden; }
  .mobile-overlay__head .brand__mark { width: 180px; max-height: 86px; }
  .mobile-overlay__head .brand { margin-left: -30px; }
}

/* Open menu logo/lang at intermediate (tablet/half-screen) viewport 701–1024px */
@media (min-width: 701px) and (max-width: 1024px) {
  .mobile-overlay__head {
    height: 148px;
    padding: 0 2rem 0 3rem;
  }
  .mobile-overlay__head .brand__mark {
    width: 330px;
    max-height: none;
    overflow: visible;
  }
  .mobile-overlay__head .brand {
    margin-left: -55px;
    margin-top: -1.2rem;
  }
  .mobile-overlay__nav a {
    font-size: 1.5rem;
  }
}

/* ---------- Hero (T&T layout: cream bg, serif title left, copy top-right, wide video below) ---------- */
.hero {
  position: relative;
  background: var(--cream);
  padding: 0;
  overflow: hidden;
}

.hero__top {
  display: flex;
  align-items: flex-start;
  gap: 12rem;
  max-width: 100%;
  margin: 0;
  padding: 1rem 12rem 1.5rem;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  font-size: clamp(2.6rem, 6vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  flex: 0 1 auto;
}

.hero__title .line { display: block; }
.hero__title .line--indent { padding-left: 0.12em; }

.hero__title .rotator {
  color: var(--blue);
  display: inline-block;
  font-style: normal;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero__copy {
  padding-top: 1.5rem;
  flex: 1 1 0;
  min-width: 0;
}

.hero__copy p {
  font-size: clamp(1.75rem, 2vw, 1.95rem);
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 1.4rem;
  font-weight: 400;
  text-align: left;
}

.hero__find {
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.hero__find:hover { color: var(--blue); }

.hero__video {
  position: relative;
  width: calc(100% - 4rem);
  max-width: calc(var(--max-w) - 4rem);
  margin: 0 auto;
  aspect-ratio: 32 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  overflow: hidden;
}

.hero__video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-carousel__slide.is-active { opacity: 1; }

.hero__playbtn {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  color: var(--navy);
  font-size: 0.7rem;
  transition: background var(--transition);
}

.hero__playbtn:hover { background: var(--white); }

.hero__playbtn::before,
.hero__playbtn::after {
  content: "";
  width: 3px;
  height: 12px;
  background: var(--navy);
  display: inline-block;
  margin: 0 1px;
}

@media (max-width: 1400px) {
  .hero__top { padding: 1rem 4rem 1.2rem; gap: 4rem; }
}

@media (max-width: 1100px) {
  .hero__top { padding: 0.75rem 3rem 1rem; gap: 3rem; }
}

@media (max-width: 900px) {
  .hero__top { flex-direction: row; gap: 1.2rem; padding: 0.75rem 1.5rem 2.8rem 3rem; align-items: flex-start; }
  .hero__copy { padding-top: 0; flex: 1 1 0; min-width: 0; }
  .hero__video { width: calc(100% - 2rem); aspect-ratio: 16 / 10; }
}
@media (max-width: 700px) {
  .hero__top { padding-top: 1.2rem; padding-left: 1.5rem; }
}

/* Inner-page hero (smaller) */
.page-hero {
  background: var(--cream);
  color: var(--navy);
  padding: 0;
}

.page-hero .container {
  display: grid;
  grid-template-columns: auto 1fr;
  row-gap: 1.2rem;
  column-gap: 6rem;
  align-items: start;
  max-width: 100%;
  padding: 1.5rem 12rem 2rem;
}

.page-hero .breadcrumbs { margin-bottom: 0; }

.page-hero .breadcrumbs {
  grid-column: 1 / -1;
  color: rgba(16,42,76,0.6);
}

.page-hero .breadcrumbs a { color: rgba(16,42,76,0.7); }
.page-hero .breadcrumbs a:hover { color: var(--navy); }

.page-hero h1 {
  color: var(--navy);
  margin: 0;
  padding: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-align: left;
  justify-self: start;
}

.page-hero h1 .line { display: block; }
.page-hero h1 .line--indent { padding-left: 0.12em; }

.page-hero h1 .accent { color: var(--blue); }

.page-hero p {
  font-size: clamp(1.75rem, 2vw, 1.95rem);
  line-height: 1.35;
  color: var(--navy);
  margin: 0;
  font-weight: 400;
  text-align: left;
  padding-top: 1.5rem;
}

@media (max-width: 1400px) {
  .page-hero .container { padding: 1.5rem 8rem 1.5rem; column-gap: 4rem; }
}
@media (max-width: 1100px) {
  .page-hero .container { padding: 1.5rem 4rem 1.5rem; column-gap: 3rem; }
}
@media (max-width: 900px) {
  .page-hero .container { grid-template-columns: auto 1fr; gap: 1rem 1.2rem; padding: 0.75rem 1.5rem 2rem; }
  .page-hero p { padding-top: 0; align-self: center; }
}

.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumbs a:hover { color: var(--white); }

/* ---------- Sections ---------- */
section { padding: 6rem 0; }

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.section__head .head-text { max-width: 720px; }

.section__head h2 { margin-bottom: 0.6rem; }

.section--gray { background: var(--gray-100); }

.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.78); }

/* ---------- Stats banner (T&T style — clean horizontal row, navy bg) ---------- */
.stats {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat__num {
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat__label {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}

@media (max-width: 800px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

/* Rounded card variant — aligned to .hero__video margins */
.stats--card {
  background: transparent;
  padding: 0;
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}

.stats--card .container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.stats--card .stats__grid {
  background: var(--navy);
  border-radius: 28px;
  padding: 1.8rem 1rem;
  grid-template-columns: repeat(3, auto);
  justify-content: space-evenly;
  gap: 6rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}

@media (max-width: 800px) {
  .stats--card .stats__grid { padding: 1.5rem 1.5rem; border-radius: 20px; }
}

/* ---------- Insights / news cards (image top, text below — T&T style) ---------- */
.insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.insight {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
}

.insight:hover { transform: translateY(-4px); }

.insight__image {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-200);
}

.insight__body { padding: 1.6rem 0 0; }

.insight__cat {
  font-size: 0.78rem;
  color: var(--gray-500);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.insight h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 0.8rem;
}

.insight__meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.insight__meta .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-300);
}

@media (max-width: 900px) { .insights { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .insights { grid-template-columns: 1fr; } }

/* ---------- Outcomes / Projects carousel (image cards) ---------- */
.outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.outcome {
  display: block;
}

.outcome__image {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-200);
  margin-bottom: 1rem;
  transition: transform var(--transition);
}

.outcome:hover .outcome__image { transform: scale(1.02); }

.outcome__loc {
  font-size: 0.78rem;
  color: var(--gray-500);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.outcome h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}

@media (max-width: 1024px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .outcomes { grid-template-columns: 1fr; } }

/* ---------- Careers / sector blocks (T&T-style numbered grid) ---------- */
.careers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.career-block {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.career-block:hover {
  border-color: var(--navy);
  box-shadow: 0 18px 40px -22px rgba(20,33,61,0.25);
}

.career-block__num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.career-block h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.career-block p { color: var(--gray-700); font-size: 0.95rem; }

.career-block__cta {
  margin-top: auto;
  padding-top: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.career-block__cta:hover { color: var(--blue); }

@media (max-width: 900px) { .careers { grid-template-columns: 1fr; } }

/* ---------- Testimonial carousel (T&T style) ---------- */
.testimonial {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: center;
}

.testimonial__photo {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-300);
}

.testimonial blockquote {
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  line-height: 1.4;
  color: var(--white);
  font-weight: 300;
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}

.testimonial blockquote::before { content: "\201C"; color: rgba(255,255,255,0.3); font-size: 4rem; line-height: 0; vertical-align: -0.4em; margin-right: 0.2em; }

.testimonial__author {
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.testimonial__author strong {
  color: var(--white);
  display: block;
  margin-bottom: 0.2rem;
}

@media (max-width: 800px) {
  .testimonial { grid-template-columns: 1fr; gap: 2rem; text-align: left; }
  .testimonial__photo { max-width: 220px; }
}

/* ---------- Centered quote ---------- */
.quote-centered {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.4;
  color: var(--navy);
  font-weight: 400;
  letter-spacing: -0.01em;
  padding: 1rem 0;
}


/* ---------- Solutions/Sectors 2-col promo ---------- */
.promo-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.promo {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
  color: var(--white);
  overflow: hidden;
}

.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12,23,41,0.85) 0%, rgba(12,23,41,0.1) 70%);
  transition: background var(--transition);
}

.promo:hover::before {
  background: linear-gradient(0deg, rgba(12,23,41,0.92) 0%, rgba(12,23,41,0.3) 70%);
}

.promo__body { position: relative; z-index: 1; max-width: 80%; }

.promo h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 0.6rem; }

.promo p { color: rgba(255,255,255,0.85); margin-bottom: 1.2rem; }

.promo__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

.promo__link::after { content: "→"; }

@media (max-width: 800px) { .promo-2col { grid-template-columns: 1fr; } }

/* Info-card variant — no image, clean layout */
.promo--info {
  background: var(--gray-100);
  background-image: none;
  min-height: 260px;
  padding: 2.5rem 2.2rem;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  align-items: stretch;
  color: var(--navy);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.promo--info::before,
.promo--info::after { display: none; }

.promo--info:hover::before { background: none; }

.promo--info .promo__body { max-width: 100%; }

.promo--info h3 { color: var(--navy); font-size: 1.7rem; margin-bottom: 0.8rem; }

.promo--info p { color: var(--gray-700); }

.promo--info .promo__link { color: var(--blue); }

.promo--info:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(16,42,76,0.10);
  border-color: var(--blue);
}

/* ---------- Split content ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.split__media {
  min-height: 480px;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-200);
}

.split h2 { margin-bottom: 1rem; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 1rem; }
  .split__media { min-height: 320px; }
}

/* ---------- Tick list ---------- */
.tick-list { list-style: none; display: grid; gap: 0.8rem; margin-top: 1.5rem; }

.tick-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--gray-700);
  line-height: 1.55;
}

.tick-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--navy);
  font-weight: 700;
}

.section--navy .tick-list li { color: rgba(255,255,255,0.85); }
.section--navy .tick-list li::before { color: var(--white); }

/* ---------- Service detail blocks (what-we-do) ---------- */
.service-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  padding: 4rem 0;
  border-top: 1px solid var(--gray-200);
}

.service-block:first-child { border-top: 0; padding-top: 1rem; }

.service-block__num {
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--gray-500);
  font-weight: 600;
}

.service-block h2 { margin-bottom: 1rem; }

@media (max-width: 800px) {
  .service-block { grid-template-columns: 1fr; gap: 1rem; }
}

/* ---------- Two-pillar split (what-we-do) ---------- */
.services-split-section { padding: 2.5rem 0 3rem; }

.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.service-pillar {
  padding: 0.5rem 2.5rem;
  display: flex;
  flex-direction: column;
}

.service-pillar__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.service-pillar__title {
  color: var(--navy);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.2;
  margin: 0 0 1.2rem;
}

.service-pillar__lead {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 0.5rem;
}

.service-pillar .tick-list { margin-top: 1.4rem; }

/* Service items — bulleted list with title + description */
.service-items {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}

.service-item {
  position: relative;
  padding-left: 3rem;
  min-height: 34px;
}

.service-item__icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: rgba(38,118,224,0.10);
  border: 1px solid rgba(38,118,224,0.18);
  border-radius: 50%;
  z-index: 1;
  transition: background var(--transition), border-color var(--transition);
}

.service-item__icon svg {
  width: 18px;
  height: 18px;
}

.service-item:hover .service-item__icon {
  background: rgba(38,118,224,0.18);
  border-color: rgba(38,118,224,0.30);
}

.service-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 36px;
  bottom: -1.2rem;
  width: 2px;
  background: rgba(16,42,76,0.18);
  z-index: 0;
}

.service-item__title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0.45rem 0 0.3rem;
  line-height: 1.3;
}

.service-item__desc {
  display: block;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--gray-700);
}

@media (max-width: 900px) {
  .services-split { grid-template-columns: 1fr 1fr; gap: 0; }
  .services-split-section .container { padding: 0 1rem; }
  .service-pillar { padding: 1.5rem 0.1rem; }
  .service-pillar__title { font-size: 0.9rem; }
  .service-pillar__lead { font-size: 0.72rem; }
  .service-item__desc { display: none; }
  .service-item { gap: 0.3rem; }
  .service-item__title { font-size: 0.7rem; }
  .service-item__icon { width: 16px; height: 16px; }
}

/* ---------- Careers / Work with us ---------- */
.careers-intro { padding: 3.5rem 0 1.5rem; position: relative; z-index: 0; }
.careers-form-section { position: relative; z-index: 0; }

.careers-intro__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.careers-intro__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.careers-intro h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.2;
  margin: 0 0 1.4rem;
}

.careers-intro p {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 auto 0.9rem;
  max-width: 600px;
}

/* Careers form section */
.careers-form-section { padding: 1rem 0 5rem; }

.careers-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(16,42,76,0.08);
  border-radius: 16px;
  padding: 1.4rem 2.4rem 1.6rem;
  box-shadow: 0 1px 2px rgba(16,42,76,0.04);
}

.careers-form-wrap .form-title {
  text-align: center;
  margin-top: 0;
  margin-bottom: 1.2rem;
}

.careers-form select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(16,42,76,0.18);
  border-radius: 6px;
  font: inherit;
  color: var(--navy);
  background: var(--white);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%230a1f44'><path d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 10px;
  padding-right: 2.2rem;
}

.careers-form select:focus {
  outline: none;
  border-color: var(--blue);
}

.careers-form__note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0.4rem 0 1.2rem;
  font-style: italic;
}

@media (max-width: 600px) {
  .careers-form-wrap { padding: 1.8rem 1.3rem 0.8rem; }
  .careers-intro .container,
  .careers-form-section .container { padding: 0 0.8rem; }
  .careers-intro { padding: 1.5rem 0 0.8rem; }
  .careers-intro h2 { font-size: 1.3rem; margin-bottom: 0.8rem; }
  .careers-intro p { font-size: 0.88rem; margin-bottom: 0.6rem; }
  .careers-intro__eyebrow { font-size: 0.7rem; margin-bottom: 0.5rem; }
  .careers-form-section { padding: 0.5rem 0 4rem; }
  .careers-form-wrap .form-title { font-size: 1.2rem; }
  .careers-form input,
  .careers-form textarea,
  .careers-form select { padding: 0.55rem 0.7rem !important; font-size: 0.85rem !important; }
  .careers-form label { font-size: 0.78rem !important; }
  .careers-form { gap: 0.7rem !important; }
  .careers-form textarea { min-height: 0 !important; height: 75px !important; }
}

/* ---------- Approach steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  border-top: 2px solid var(--navy);
  padding-top: 1.4rem;
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  display: block;
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.section--navy .step { border-top-color: var(--white); }
.section--navy .step::before { color: rgba(255,255,255,0.6); }

.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.values--two { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

.value h3 { margin-bottom: 0.7rem; }

@media (max-width: 800px) { .values, .values--two { grid-template-columns: 1fr; } }

/* ---------- Mission / Values split ---------- */
.mv-section { padding: 5.5rem 0; }

.mv {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 1.5fr;
  gap: 4rem;
  align-items: stretch;
}

.mv__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.2rem;
}

.mv__eyebrow--dark { color: var(--navy); }

.mv__mission {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mv__mission .mv__eyebrow { color: var(--blue); }

.mv__mission h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.2;
  margin-bottom: 1.4rem;
}

.mv__mission p {
  color: var(--gray-700);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.mv__mission p:last-child { margin-bottom: 0; }

.mv__values { min-width: 0; }

.mv__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.mv-card {
  background: var(--white);
  padding: 1.8rem 1.6rem;
  border-radius: 4px;
  border-top: 3px solid var(--blue);
  box-shadow: 0 1px 2px rgba(16,42,76,0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}

.mv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(16,42,76,0.10);
}

.mv-card__num {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
}

.mv-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.mv-card--title-only {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 170px;
}

.mv-card--title-only h3 {
  font-size: 1.4rem;
  margin: 0;
}

.mv-card p {
  font-size: 0.93rem;
  line-height: 1.55;
}

@media (max-width: 1000px) {
  .mv { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 600px) {
  .mv__grid { grid-template-columns: 1fr; }
  .mv__mission { padding: 2rem 1.6rem; }
}

/* Centered mission block */
.mv-mission-centered {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 0;
}

.mv-mission-centered .mv__eyebrow { color: var(--blue); }

.mv-mission-centered h2 {
  color: var(--navy);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 1.4rem;
}

.mv-mission-centered p {
  color: var(--gray-700);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.mv-mission-centered p:last-child { margin-bottom: 0; }

/* Values section (under mission) */
.mv-values-section { padding: 3rem 0 1rem; }

.mv-values-section + section { padding-top: 2rem; }

.mv-values-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.mv-values-head h2 {
  color: var(--navy);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.2;
  margin: 0;
}

/* Minimal values cards — clean grid with title only */
.values-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.value-card {
  background: var(--white);
  border: 1px solid rgba(16,42,76,0.08);
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
  min-height: 90px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.9rem;
  text-align: left;
  position: relative;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.value-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: rgba(38,118,224,0.10);
  border: 1px solid rgba(38,118,224,0.18);
  border-radius: 50%;
  margin: 0;
  transition: background var(--transition), border-color var(--transition);
}

.value-card__icon svg {
  width: 22px;
  height: 22px;
}

.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16,42,76,0.16);
  box-shadow: 0 10px 24px rgba(16,42,76,0.06);
}

.value-card:hover .value-card__icon {
  background: rgba(38,118,224,0.18);
  border-color: rgba(38,118,224,0.30);
}

.value-card__title {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .values-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .values-cards { grid-template-columns: 1fr; }
  .value-card { min-height: 80px; padding: 1.2rem 1rem; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  padding: 5rem 0;
  background: var(--navy);
  color: var(--white);
}

.cta-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.cta-banner h2 { color: var(--white); max-width: 700px; }

@media (max-width: 800px) { .cta-banner__inner { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 720px;
  margin: 0 auto;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid rgba(16,42,76,0.08);
  border-radius: 16px;
  padding: 1.4rem 2.4rem 1.6rem;
  box-shadow: 0 1px 2px rgba(16,42,76,0.04);
}

@media (max-width: 600px) {
  .contact-form-wrap { padding: 1.2rem 1.3rem 1.4rem; }
  .contact-form input,
  .contact-form textarea,
  .contact-form select { padding: 0.55rem 0.7rem !important; font-size: 0.85rem !important; }
  .contact-form label { font-size: 0.78rem !important; }
  .contact-form { gap: 0.7rem !important; }
  .contact-form textarea { min-height: 0 !important; height: 95px !important; }
  .contact-form-wrap .form-title { font-size: 1.2rem; }
}

.form-title {
  text-align: center;
  margin-top: 0;
  margin-bottom: 1.2rem;
}

.contact-form { display: grid; gap: 1.2rem; }

.contact-form .field { display: grid; gap: 0.4rem; }

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 1px solid var(--gray-300);
  background: var(--white);
  padding: 0.95rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  border-radius: 4px;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--navy);
}

.contact-form textarea { resize: vertical; min-height: 140px; }

.contact-form button[type="submit"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.contact-form button[type="submit"]:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
}

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }

.contact-info {
  background: var(--gray-100);
  padding: 1.5rem 1.8rem;
  text-align: center;
  border-top: 2px solid var(--navy);
  max-width: 460px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.contact-info > p {
  color: var(--gray-700);
  font-size: 0.85rem;
  max-width: 360px;
  margin: 0 auto 0.9rem;
  line-height: 1.45;
}

.info-block {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.info-block strong {
  color: var(--gray-500);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.info-block a {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
}

.info-block a:hover {
  color: var(--blue);
}

/* ---------- Footer (T&T style — wide multi-col, dark navy) ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 2.7rem 0 1.3rem;
  font-size: 0.92rem;
  position: relative;
  z-index: 10;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 2rem;
  text-align: left;
}

.footer__top > .footer__brand { flex: 0 1 auto; }
.footer__top > div:not(.footer__brand) { flex: 0 0 auto; }

.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__brand p {
  color: rgba(255,255,255,0.6);
  margin: 0;
  max-width: 420px;
  flex: 0 0 auto;
  line-height: 1.5;
  align-self: flex-start;
}

@media (min-width: 1300px) {
  .footer__brand {
    overflow: hidden;
    max-height: 155px;
    margin-left: -28px;
  }
  .footer__brand .brand { margin-top: -41px; }
  .footer__brand p { margin-top: 22px; }
}

@media (max-width: 1299px) {
  .footer__top > .footer__brand { flex: 1 0 100%; max-width: none; max-height: none; overflow: visible; gap: 1.5rem; margin-left: 0; margin-bottom: -2rem; }
  .footer__brand { overflow: visible; max-height: none; margin-left: 0; flex-wrap: nowrap; align-items: center; }
  .footer__brand .brand { margin-top: 0; margin-left: -55px; flex-shrink: 0; }
  .footer__brand .brand__mark { max-height: none; overflow: visible; }
  .footer__brand p { flex: 1 1 0; min-width: 0; max-width: 340px; margin-top: -20px; align-self: center; }
  .site-footer { padding-top: 1.2rem; padding-bottom: 0.7rem; }
  .footer__top { padding-bottom: 1rem; margin-bottom: 0.7rem; gap: 1rem; }
}

@media (max-width: 700px) {
  .footer__brand { flex-direction: column; align-items: flex-start; gap: 0; flex-wrap: wrap; }
  .footer__brand .brand { margin-left: -40px; flex-shrink: 0; }
  .footer__brand .brand__mark { width: 240px; }
  .footer__brand p { flex: unset; min-width: unset; max-width: none; margin-top: -38px; align-self: flex-start; }
  .footer__top > .footer__brand { margin-bottom: 1.5rem; }
  .site-footer { padding-top: 0.4rem; }
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.site-footer ul { list-style: none; display: grid; gap: 0.7rem; }

.site-footer a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  text-align: center;
}

.footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (max-width: 500px) {
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .site-footer { padding-top: 1rem; }
  .footer__top { padding-bottom: 1.2rem; margin-bottom: 1rem; }
}

/* ---------- Built carousel ---------- */
.built-carousel {
  position: relative;
  min-height: 520px;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  background: transparent;
  overflow: hidden;
}

.built-carousel__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.built-carousel__slide.is-active {
  opacity: 1;
}

@media (max-width: 900px) {
  .built-carousel { min-height: 320px; }
}

/* ---------- Mission carousel ---------- */
.mission-carousel {
  position: relative;
  min-height: 420px;
  border-radius: 4px;
  overflow: hidden;
}

.mission-carousel__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.mission-carousel__slide.is-active {
  opacity: 1;
}

@media (max-width: 900px) {
  .mission-carousel { min-height: 320px; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-3 { margin-top: 2rem; }
.mb-3 { margin-bottom: 2rem; }

/* ==========================================================================
   MOBILE RESPONSIVE FIXES
   ========================================================================== */

/* 1. Section padding: 6rem è troppo su mobile */
@media (max-width: 900px) {
  section { padding: 4rem 0; }
  .mv-section { padding: 3.5rem 0; }
}
@media (max-width: 600px) {
  section { padding: 2.5rem 0; }
  .mv-section { padding: 2rem 0; }
  .page-hero .container { padding-bottom: 0.75rem; }
  .services-split-section { padding: 1.2rem 0 1rem; }
  .services-split-section .container { padding: 0 0.5rem; }
  .services-split { gap: 0; align-items: start; }
  .service-pillar { padding: 0; }
  .service-pillar__eyebrow { font-size: 0.68rem; margin-bottom: 0.3rem; }
  .service-pillar__title { font-size: 0.86rem; min-height: 2.5em; margin-bottom: 0.3rem; }
  .service-pillar__lead { font-size: 0.68rem; min-height: 0; }
  .service-item__title { font-size: 0.68rem; margin: 0.1rem 0 0; }
  .service-item { padding-left: 1.1rem; min-height: 27px; }
  .service-item:not(:last-child)::after { left: 8px; top: 18px; bottom: -0.4rem; }
  .service-items { margin-top: 0.3rem; gap: 0.5rem; }
}

/* 2. background-attachment: fixed non funziona su iOS Safari */
@media (max-width: 1024px) {
  body { background-attachment: scroll !important; }
}
@media (max-width: 600px) {
  body { background-position: center center !important; background-size: cover !important; }
  /* iOS-safe fixed background via ::before pseudo-element */
  body.page-work { background: none !important; isolation: isolate; }
  body.page-work::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-image: linear-gradient(rgba(255,255,255,0.75),rgba(255,255,255,0.75)), url('../images/WORK WITH US MOBILE.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: -1;
    pointer-events: none;
  }
  body.page-what { background: none !important; isolation: isolate; }
  body.page-what::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-image: linear-gradient(rgba(255,255,255,0.65),rgba(255,255,255,0.65)), url('../images/WHAT WE DO MOBILE.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: -1;
    pointer-events: none;
  }
  body.page-invest { background: none !important; }
  body.page-invest::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-image: linear-gradient(rgba(255,255,255,0.65),rgba(255,255,255,0.65)), url('../images/INVEST WITH US MOBILE.png');
    background-size: auto 200%;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: -1;
    pointer-events: none;
  }
  .careers-intro,
  .careers-form-section {
    position: relative;
    z-index: 1;
  }
  .site-footer {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

/* 3. Stats card: sempre 3 colonne orizzontali, allineato al hero image */
@media (max-width: 900px) {
  .stats--card .container { padding: 0 1rem; }
  .stats--card .stats__grid { gap: 0; justify-content: space-around; }
  .page-about .stats--card .container { padding: 0 1.75rem; }
  .page-about .stats--card { margin-bottom: 3rem; }
}

/* 4. Font sizes: tutto troppo grande su mobile */
@media (max-width: 768px) {
  h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  h2 { font-size: clamp(1.3rem, 4vw, 1.9rem); }
  h3 { font-size: clamp(1rem, 3vw, 1.25rem); }

  /* Hero home */
  .hero__title       { font-size: clamp(2rem, 6vw, 2.8rem); }
  .hero__copy p      { font-size: clamp(1rem, 2.5vw, 1.3rem); line-height: 1.5; margin-bottom: 0; }
  .hero__find        { font-size: 0.82rem; }

  /* Hero pagine interne */
  .page-hero h1      { font-size: clamp(2rem, 6vw, 2.8rem); }
  .page-hero p       { font-size: clamp(1rem, 2.5vw, 1.3rem); line-height: 1.5; }

  /* Statistiche */
  .stat__num         { font-size: clamp(1.5rem, 5vw, 2rem); }
  .stat__label       { font-size: 0.78rem; margin-top: 0.4rem; }

  /* Promo card titles (Who we are / What we do) — align with h2 */
  .promo--info h3    { font-size: 1.3rem; }

  /* About page — align with home sizes */
  .mv-values-head h2  { font-size: 1.3rem; }
  .value-card__title  { font-size: 1rem; }
}

/* 5. Rimuovi padding-bottom dalla section prima del footer (nessuna banda bianca) */
section:has(+ footer) { padding-bottom: 2.5rem; }

/* 5b. Promo card su mobile: niente min-height forzata, padding ridotto */
@media (max-width: 600px) {
  .promo--info { min-height: 0; padding: 1.5rem; }
}

/* 6. Carousel altezza minima su schermi molto piccoli */
@media (max-width: 480px) {
  .mission-carousel, .built-carousel { min-height: 220px; }
}

/* 7. Home desktop: spaziature banner e cards/footer */
@media (min-width: 901px) {
  .page-home .stats--card + section { padding-top: 3rem; }
  .page-home section:has(+ footer) { padding-bottom: 5rem; }
}

/* 8. Footer desktop: riduci spazi interni */
@media (min-width: 901px) {
  .footer__top { padding-bottom: 0.5rem; margin-bottom: 0.8rem; }
}

/* 9. Footer reveal — mobile (work-with-us e invest-with-us) */
@media (max-width: 600px) {
  body.page-work > .site-footer,
  body.page-invest > .site-footer {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    transform: translateY(100dvh);
    will-change: transform;
  }
  body.page-invest section { position: relative; }
  /* Spazio moderato tra form e footer reveal */
  body.page-work .careers-form-section { padding-bottom: 2rem; }
  body.page-invest section:last-of-type { padding-top: 0.5rem; padding-bottom: 2rem; }
  /* Riduce gap contact-grid su mobile */
  body.page-invest .contact-grid { gap: 1.5rem; }
}

