/* ! Base Style */
/* ----------------------------------------------------------------------------------- */
body {
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

a {
  text-decoration: none;
  color: #F75E47
}

p {
  line-height: 1.3
}


/* ! Title System */
/* ----------------------------------------------------------------------------------- */
.text-0 {
  font-size: 5rem;
}

h1,
.text-1 {
  font-size: 3.4rem;
}

h2,
.text-2 {
  font-size: 2.2rem;
}

h3,
.text-3 {
  font-size: 1.5rem;
}

h4,
p,
.text-4 {
  font-size: 1rem;
}

h1,
h2,
h3,
h4,
p,
ol,
ul {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .text-0 {
    font-size: 4rem
  }
}


/* =================================================================================== */
/* ! 2GAMMA HOMEPAGE — stili importati dalla reference statica (reference-html)         */
/* =================================================================================== */

:root {
  --bg: #f3f4ef;
  --ink: #10201c;
  --muted: #66716d;
  --line: rgba(16, 32, 28, .14);
  --lime: #c9f45b;
  --green: #315e35;
  --blue: #5eb7e8;
  --steel: #73747b;
  --graphite: #151b22;
  --white: #fff;
  --radius: 28px;
  --container: 1240px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 130px 0;
}

#azienda,
#divisioni,
#competenze,
#contatti {
  scroll-margin-top: 110px;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #0f211d;
  pointer-events: auto;
  transition: background .65s ease, opacity .25s ease, visibility .25s ease;
}

.page-loader.flying {
  background: rgba(15, 33, 29, 0);
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  width: clamp(180px, 18vw, 280px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, .24));
  transform-origin: center center;
  transition: transform .9s cubic-bezier(.72, 0, .22, 1), filter .9s cubic-bezier(.72, 0, .22, 1);
}

.page-loader.flying .loader-logo {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .08));
  transform: translate(var(--loader-x, 0), var(--loader-y, 0)) scale(var(--loader-scale, .35));
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 22px 0;
  color: #fff;
  background: transparent;
  transition: background .3s ease, padding .3s ease, color .3s ease, box-shadow .3s ease;
}

.logged-in .site-header {
  top: 32px;
}

.site-header.scrolled {
  padding: 13px 0;
  color: var(--ink);
  background: rgba(243, 244, 239, .88);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.main-nav a {
  position: relative;
  color: inherit;
  padding: 0;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
}

.scrolled .nav-cta {
  border-color: var(--line);
  background: var(--ink);
  color: white;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  padding: 0;
}

/* Selettore lingua Polylang: eredita lo stile di .main-nav a (colore, hover, dimensioni)
   così resta allineato e identico alle altre voci del menu, su desktop e mobile. */
.main-nav .lang-switch {
  white-space: nowrap;
}

/* Hero */
.hero {
  position: relative;
  min-height: 1120px;
  height: auto;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 75% 24%, rgba(94, 183, 232, .42), transparent 30%),
    radial-gradient(circle at 18% 84%, rgba(126, 130, 140, .26), transparent 34%),
    linear-gradient(125deg, #111820 6%, #25313d 48%, #0d2234 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -30vw;
  width: 70vw;
  height: 70vw;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(255, 255, 255, .025), 0 0 0 14vw rgba(255, 255, 255, .02), 0 0 0 21vw rgba(255, 255, 255, .015);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
}

.orb-one {
  width: 440px;
  height: 440px;
  right: 3%;
  top: 16%;
  background: radial-gradient(circle at 30% 25%, rgba(94, 183, 232, .5), rgba(115, 116, 123, .12) 62%, transparent 72%);
}

.orb-two {
  width: 250px;
  height: 250px;
  left: -5%;
  bottom: 8%;
  background: rgba(94, 183, 232, .18);
  filter: blur(45px);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 1120px;
  flex-direction: column;
  justify-content: center;
  padding-top: 90px;
  padding-bottom: 90px;
}

.section-label {
  margin-bottom: 26px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #7a8580;
}

.hero-kicker-space {
  height: 40px;
  margin-bottom: 26px;
}

.hero h1 {
  max-width: 1120px;
  margin: 0;
  font: 600 clamp(52px, 6.7vw, 104px)/1 "Space Grotesk", sans-serif;
  letter-spacing: 0;
  color: #fff;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .62);
}

.hero-copy {
  max-width: 650px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 42px;
}

.hero-brand-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  width: min(100%, 1180px);
  margin: 36px 0 72px;
}

.hero-brand-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  align-items: center;
  gap: 34px;
  min-height: 142px;
  padding: 26px 30px;
  border: 1px solid rgba(190, 218, 238, .24);
  border-radius: 28px;
  background: rgba(27, 39, 50, .58);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .18);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.hero-brand-card:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 183, 232, .52);
  background: rgba(34, 52, 68, .68);
}

.hero-brand-card img {
  display: block;
  width: 100%;
  max-height: 78px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .14));
}

.hero-brand-card span {
  display: grid;
  gap: 10px;
}

.hero-brand-card strong {
  color: white;
  font-size: 22px;
  line-height: 1.1;
}

.hero-brand-card em {
  color: rgba(255, 255, 255, .74);
  font-size: 16px;
  font-style: normal;
  line-height: 1.45;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-transform: none;
  transition: transform .25s ease, background .25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: #07121a;
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, .28);
  color: white;
  background: transparent;
}

.button-ghost:hover {
  background: transparent;
}

.scroll-indicator {
  position: absolute;
  right: 28px;
  bottom: 45px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: rotate(90deg);
  transform-origin: right bottom;
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.scroll-indicator i {
  width: 70px;
  height: 1px;
  background: currentColor;
}

/* Intro */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 70px;
}

.section-title {
  margin: 0;
  font: 600 clamp(44px, 5vw, 74px)/1.02 "Space Grotesk", sans-serif;
  letter-spacing: 0;
}

.section-title span {
  color: #71807a;
}

.intro-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 55px;
  padding-top: 35px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.intro-copy p {
  margin: 0;
}

/* Brands */
.brands {
  padding-top: 30px;
}

.section-heading {
  margin-bottom: 50px;
}

.brand-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.brand-card {
  position: relative;
  min-height: 740px;
  overflow: hidden;
  border-radius: var(--radius);
  color: white;
  isolation: isolate;
}

.brand-card-top {
  display: flex;
  justify-content: space-between;
  padding: 28px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.brand-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 530px;
  flex-direction: column;
  padding: 48px 44px;
}

.brand-card h3 {
  margin: 0 0 24px;
  font: 600 clamp(38px, 4vw, 57px)/1 "Space Grotesk", sans-serif;
  letter-spacing: 0;
  color: #fff;
}

.brand-card p {
  max-width: 490px;
  color: rgba(255, 255, 255, .68);
  line-height: 1.7;
}

.brand-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.brand-card li {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  margin: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: auto 0 0;
  padding: 19px 0;
  border-top: 1px solid rgba(255, 255, 255, .24);
  font-weight: 700;
  color: #fff;
}

.brand-link a {
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-link span {
  font-size: 22px;
  transition: transform .25s;
}

.brand-link a:hover span {
  transform: translate(4px, -4px);
}

/* Expertise */
.expertise {
  background: #e9ebe4;
}

.expertise-header {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 70px;
}

.expertise-header>p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.expertise-list {
  border-top: 1px solid var(--line);
}

.expertise-item {
  display: grid;
  grid-template-columns: 80px 1.1fr 1.4fr 40px;
  gap: 35px;
  align-items: center;
  min-height: 145px;
  border-bottom: 1px solid var(--line);
  transition: padding .3s, background .3s;
}

.expertise-item:hover {
  padding: 0 18px;
  background: rgba(255, 255, 255, .4);
}

.expertise-item h3 {
  margin: 0;
  font: 600 25px "Space Grotesk";
}

/* Statement marquee */
.statement {
  overflow: hidden;
  padding: 34px 0;
  background: var(--lime);
}

.statement-track {
  display: inline-block;
  width: max-content;
  margin: 0;
  white-space: nowrap;
  font: 600 30px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0;
  animation: marquee 22s linear infinite;
}

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

/* Contact */
.contact {
  background: #0f211d;
  color: white;
}

.contact-box {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 100px;
  padding: 65px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 10% 80%, rgba(201, 244, 91, .1), transparent 30%),
    rgba(255, 255, 255, .025);
}

.contact h2 {
  margin: 0;
  font: 600 clamp(45px, 5vw, 72px)/1 "Space Grotesk";
  letter-spacing: 0;
  color: #fff;
}

.contact .section-label {
  color: #7a8580;
}

.contact-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-side p {
  margin: 0 0 35px;
  color: rgba(255, 255, 255, .62);
  line-height: 1.75;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Brand (logo) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo-wrap {
  gap: 12px;
}

.brand-logo {
  width: 92px;
  max-height: 70px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .08));
  margin: 0;
}

.footer-logo {
  width: 108px;
  max-height: 80px;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-subtitle {
  max-width: 215px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .72;
}

.site-header:not(.scrolled) .brand-subtitle {
  color: rgba(255, 255, 255, .82);
}

.site-header.scrolled .brand-subtitle {
  color: rgba(16, 32, 28, .72);
}

.footer-brand .brand-subtitle {
  color: rgba(255, 255, 255, .55);
}

/* Footer */
.site-footer {
  padding: 80px 0 28px;
  background: #0a1714;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: 50px;
  padding-bottom: 70px;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-grid>div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-grid strong {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .4);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-grid p {
  margin: 0;
  color: rgba(255, 255, 255, .56);
  line-height: 1.6;
}

.footer-grid a:not(.brand) {
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  padding: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .4);
  font-size: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .4);
}

/* =================================================================================== */
/* ! Adattamenti per la struttura Gutenberg (DOM diverso dalla reference statica)        */
/* =================================================================================== */

/* Questo tema classico (senza theme.json) avvolge ogni core/group in un
   .wp-block-group__inner-container. Lo rendiamo trasparente al layout così che i
   layout grid/flex applicati ai gruppi raggiungano i figli reali. Solo in homepage. */
.home .wp-block-group__inner-container {
  display: contents;
}

/* Imposta i gap dei layout grid sui gruppi Gutenberg (specificità .X.wp-block-group
   per avere la precedenza sulle classi di layout iniettate dal core) */
.intro-grid.wp-block-group {
  gap: 70px;
}

.brand-cards.wp-block-group {
  gap: 40px;
}

.expertise-header.wp-block-group {
  gap: 80px;
}

.expertise-list.wp-block-group {
  gap: 0;
}

.expertise-item.wp-block-group {
  gap: 35px;
}

.statement.wp-block-group {
  gap: 0;
}

/* Le sezioni full-width usano la .container interna per centrare il contenuto */
.wp-block-group.alignfull>.container {
  float: none;
}

/* Brand card: lo sfondo della reference era un div figlio (.brand-card-bg),
   qui viene ricreato con pseudo-elementi sul gruppo Gutenberg. */
.brand-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform .7s ease;
}

.brand-card:hover::before {
  transform: scale(1.04);
}

.seal-card::before {
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 244, 91, .25), transparent 30%),
    linear-gradient(145deg, #294c2f, #112c20 72%);
}

.panel-card::before {
  background:
    radial-gradient(circle at 80% 10%, rgba(113, 194, 239, .22), transparent 30%),
    linear-gradient(145deg, #164d80, #0a273f 72%);
}

.brand-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 210px;
  z-index: -1;
  opacity: .7;
  pointer-events: none;
}

.seal-card::after {
  background: linear-gradient(0deg, #8da852, transparent);
}

.panel-card::after {
  background: linear-gradient(0deg, rgba(114, 199, 243, .42), transparent);
}

/* Logo divisione: in Gutenberg è una figure core/image */
.brand-card-content .division-logo {
  width: min(370px, 100%);
  min-height: 118px;
  margin: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand-card-content .division-logo.panel-logo {
  width: min(390px, 100%);
}

.brand-card-content .division-logo img {
  width: 100%;
  max-height: 110px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .22));
}

/* Brand link come paragrafo con link interno */
.brand-link {
  margin-top: auto;
}

/* Expertise: i figli sono blocchi Gutenberg con classi dedicate */
.expertise-item .exp-num {
  margin: 0;
  color: #87928d;
  font: 600 12px "Space Grotesk", sans-serif;
}

.expertise-item .exp-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.expertise-item .exp-arrow {
  margin: 0;
  font-size: 22px;
  font-style: normal;
  text-align: right;
}

/* Frecce: forza la presentazione testuale (no emoji colorate) come nella reference */
.exp-arrow,
.brand-link span,
.hero .button span,
.contact-side .wp-block-button__link {
  font-variant-emoji: text;
}

.exp-arrow {
  color: var(--ink);
}

.brand-link span {
  color: #fff;
}

/* Contatti: il CTA è un core/button mappato allo stile button-light */
.contact-side .wp-block-buttons {
  margin: 0;
}

.contact-side .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-transform: none;
  transition: transform .25s ease;
}

.contact-side .wp-block-button__link:hover {
  transform: translateY(-3px);
  background: #fff;
}

/* =================================================================================== */
/* ! Responsive (allineato ai breakpoint della reference)                               */
/* =================================================================================== */

@media (max-width: 900px) {
  .section {
    padding: 90px 0;
  }

  #azienda,
  #divisioni,
  #competenze,
  #contatti {
    scroll-margin-top: 82px;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: block;
    width: 42px;
    height: 42px;
  }

  .menu-toggle span {
    position: absolute;
    left: 8px;
    width: 26px;
    height: 1px;
    background: currentColor;
    transition: transform .3s, top .3s;
  }

  .menu-toggle span:first-child {
    top: 16px;
  }

  .menu-toggle span:last-child {
    top: 25px;
  }

  .menu-open .menu-toggle span:first-child {
    top: 21px;
    transform: rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    top: 21px;
    transform: rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #0f211d;
    color: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: .3s;
  }

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

  /* Quando il menu mobile è aperto, l'header non deve avere backdrop-filter:
     in stato .scrolled quel filtro crea un containing block che ancora
     .main-nav (position:fixed) all'header invece che al viewport, rompendo
     l'overlay dopo lo scroll. Lo azzeriamo e forziamo il bianco per la X. */
  body.menu-open .site-header {
    color: #fff;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }

  /* Dentro l'overlay la CTA mantiene l'aspetto chiaro anche se l'header è .scrolled. */
  body.menu-open .nav-cta {
    border-color: rgba(255, 255, 255, .45);
    background: transparent;
    color: #fff;
  }

  .main-nav a {
    font-size: 23px;
  }

  .hero {
    min-height: 1180px;
  }

  .hero-content {
    min-height: 1180px;
  }

  .hero h1 {
    font-size: clamp(52px, 12vw, 82px);
  }

  .hero-brand-cards {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .hero-brand-card {
    grid-template-columns: 210px 1fr;
  }

  .intro-grid,
  .expertise-header,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .brand-cards {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .expertise-item {
    grid-template-columns: 50px 1fr 30px;
    padding: 26px 0;
  }

  .expertise-item .exp-text {
    grid-column: 2 / 3;
  }

  .expertise-item .exp-num {
    grid-column: 1;
    grid-row: 1;
  }

  .expertise-item .exp-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .contact-box {
    gap: 50px;
  }

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

  .brand-logo {
    width: 78px;
  }

  .brand-subtitle {
    max-width: 150px;
    font-size: 9px;
    letter-spacing: .04em;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    padding: 16px 0;
  }

  .hero {
    min-height: 1240px;
    height: auto;
  }

  .hero-content {
    min-height: 1240px;
    padding-top: 100px;
    padding-bottom: 80px;
  }

  .hero-kicker-space {
    height: 30px;
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-brand-cards {
    grid-template-columns: 1fr;
    gap: 14px;
    width: min(100%, 1180px);
    margin: 28px 0 64px;
  }

  .hero-brand-card {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    padding: 22px 24px;
    border-radius: 22px;
  }

  .hero-brand-card img {
    width: min(240px, 100%);
    max-height: 70px;
  }

  .hero-brand-card strong {
    font-size: 20px;
  }

  .hero-brand-card em {
    font-size: 14px;
  }

  .button {
    width: 100%;
  }

  .scroll-indicator {
    display: none;
  }

  .section-title {
    font-size: 43px;
  }

  .brand-card {
    min-height: 700px;
  }

  .brand-card-content {
    padding: 38px 27px;
  }

  .brand-card-content .division-logo {
    width: min(300px, 100%);
    min-height: 90px;
    margin-bottom: 34px;
  }

  .brand-card-content .division-logo img {
    max-height: 88px;
  }

  .brand-card h3 {
    font-size: 42px;
  }

  .brand-link {
    width: 100%;
  }

  .expertise-item {
    gap: 16px;
  }

  .expertise-item h3 {
    font-size: 20px;
  }

  .contact-box {
    padding: 38px 26px;
  }

  .contact h2 {
    font-size: 43px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .brand-subtitle {
    display: none;
  }

  .brand-logo {
    width: 68px;
  }
}