:root {
  --ink: #17130f;
  --ink-soft: #5b544d;
  --paper: #f7f4ef;
  --paper-deep: #ebe6de;
  --white: #fffdf9;
  --red: #dd2f24;
  --red-dark: #b8231b;
  --cream: #f1d8b4;
  --line: rgba(23, 19, 15, 0.15);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.expogelato-site { padding: 0; }
.admin-bar .site-header { top: 32px; }
.expogelato-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-error { color: #ffb0a7; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 0 0 0.5rem 0.5rem;
}
.skip-link:focus { top: 0; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.header-inner {
  width: min(1180px, calc(100% - 3rem));
  min-height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: block; width: 340px; }
.brand img { width: 100%; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 2rem; font-size: .84rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.desktop-nav a { opacity: .78; transition: opacity .2s ease; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 1.3rem; }
.language-switch { display: flex; align-items: center; gap: .35rem; font-size: .76rem; }
.language-switch button { color: white; border: 0; background: transparent; padding: .4rem .1rem; cursor: pointer; opacity: .5; font-weight: 800; }
.language-switch button.active { opacity: 1; }
.header-cta { border: 1px solid rgba(255,255,255,.6); padding: .8rem 1rem; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; transition: background .2s ease, color .2s ease; }
.header-cta:hover, .header-cta:focus-visible { background: white; color: var(--red); }

.hero {
  position: relative;
  min-height: 850px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(92,5,3,.22), transparent 54%),
    radial-gradient(circle at 78% 55%, #f46642 0, #e63727 26%, #c81f19 58%, #a91514 100%);
  color: white;
  padding-top: 88px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .15;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(8.333% - 1px), rgba(255,255,255,.22) calc(8.333% - 1px), rgba(255,255,255,.22) 8.333%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(3px); border: 1px solid rgba(255,255,255,.18); }
.hero-glow-one { width: 620px; height: 620px; right: -190px; top: 125px; }
.hero-glow-two { width: 420px; height: 420px; right: -90px; top: 225px; }
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 3rem));
  min-height: 650px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 4rem;
  padding: 5rem 0 4rem;
}
.eyebrow { margin: 0 0 1.35rem; display: flex; align-items: center; gap: .7rem; font-size: .73rem; font-weight: 850; text-transform: uppercase; letter-spacing: .18em; }
.eyebrow > span:not([data-lang-content]) { flex: 0 0 auto; width: 30px; height: 2px; background: currentColor; }
.eyebrow.dark { color: var(--red); }
.hero h1 { margin: 0; max-width: 700px; font-size: clamp(3.45rem, 7.1vw, 7.4rem); line-height: .88; letter-spacing: -.068em; font-weight: 840; }
.hero h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.06em; }
.hero-body { max-width: 610px; margin: 2rem 0 0; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.7; color: rgba(255,255,255,.8); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 1.3rem; padding: 0 1.35rem; border: 1px solid transparent; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 850; cursor: pointer; }
.button-primary { color: var(--red); background: white; }
.button-primary:hover, .button-primary:focus-visible { color: var(--red-dark); background: #fff4e8; }
.button-secondary { color: white; border-color: rgba(255,255,255,.55); }
.button-secondary:hover, .button-secondary:focus-visible { background: rgba(255,255,255,.1); border-color: white; }

.machine-stage { position: relative; min-height: 535px; display: grid; place-items: center; }
.machine-halo { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,218,178,.22); box-shadow: inset 0 0 80px rgba(255,255,255,.08); }
.machine-stage::before { content: ""; position: absolute; width: 400px; height: 45px; border-radius: 50%; background: rgba(74,0,0,.23); filter: blur(10px); bottom: 62px; }
.machine-image { position: relative; z-index: 2; width: 300px; height: auto; image-rendering: auto; filter: contrast(1.03) saturate(.88) drop-shadow(0 30px 34px rgba(68,0,0,.28)); }
.stage-label { position: absolute; top: 22px; left: 0; padding-left: 1rem; border-left: 2px solid white; display: flex; flex-direction: column; gap: .25rem; }
.stage-label span, .stage-note { font-size: .67rem; text-transform: uppercase; letter-spacing: .13em; color: rgba(255,255,255,.65); }
.stage-label strong { font-size: 1.05rem; letter-spacing: .08em; }
.capacity-orbit { position: absolute; z-index: 3; right: 0; top: 39%; width: 104px; height: 104px; border: 1px solid rgba(255,255,255,.58); border-radius: 50%; display: grid; place-content: center; text-align: center; background: rgba(171,21,17,.58); backdrop-filter: blur(8px); }
.capacity-orbit strong { font-size: 1.1rem; line-height: 1.05; }
.capacity-orbit span { opacity: .5; line-height: .7; }
.stage-note { position: absolute; bottom: 18px; text-align: center; }
.hero-stats { position: relative; z-index: 2; width: min(1180px, calc(100% - 3rem)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.23); }
.hero-stats > div { display: flex; align-items: baseline; gap: 1rem; padding: 1.7rem 0; }
.hero-stats > div + div { border-left: 1px solid rgba(255,255,255,.23); padding-left: 2rem; }
.hero-stats strong { font-size: 1.5rem; letter-spacing: -.03em; }
.hero-stats span { font-size: .68rem; color: rgba(255,255,255,.64); text-transform: uppercase; letter-spacing: .1em; }

.section { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.intro { padding-top: 8rem; padding-bottom: 8rem; }
.section-heading h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5rem); line-height: .98; letter-spacing: -.055em; }
.section-heading > p { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.75; }
.split-heading { display: grid; grid-template-columns: 1.15fr .65fr; gap: 6rem; align-items: end; }
.split-heading > p { margin: 0 0 .5rem; }
.feature-grid { margin-top: 4.5rem; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-card { position: relative; padding: 2rem 2.2rem 2.5rem 0; min-height: 245px; }
.feature-card + .feature-card { border-left: 1px solid var(--line); padding-left: 2.2rem; }
.feature-number { color: var(--red); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.feature-card h3 { margin: 3.6rem 0 .8rem; font-size: 1.35rem; letter-spacing: -.03em; }
.feature-card p { margin: 0; color: var(--ink-soft); line-height: 1.7; font-size: .93rem; }

.models-section { background: #201b17; color: white; padding: 8rem 0; }
.models-heading { display: grid; grid-template-columns: 1.2fr .65fr; gap: 6rem; align-items: end; }
.models-heading > p { margin: 0 0 .5rem; color: rgba(255,255,255,.58); }
.model-grid { margin-top: 4rem; display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.model-card { min-height: 375px; padding: 1.3rem; display: flex; flex-direction: column; transition: background .25s ease, transform .25s ease; }
.model-card + .model-card { border-left: 1px solid rgba(255,255,255,.18); }
.model-card:hover { background: var(--red); transform: translateY(-8px); }
.model-top { display: flex; justify-content: space-between; align-items: flex-start; }
.model-top span { font-size: .66rem; color: rgba(255,255,255,.45); }
.model-top strong { font-size: 2.35rem; letter-spacing: -.06em; }
.model-metrics { margin-top: 3.4rem; display: grid; gap: 1rem; }
.model-metrics > div { display: flex; flex-direction: column; gap: .25rem; }
.model-card small { color: rgba(255,255,255,.48); text-transform: uppercase; letter-spacing: .1em; font-size: .6rem; }
.model-metrics strong { font-size: 1rem; }
.model-use { margin-top: 2rem; }
.model-use p { margin: .5rem 0; font-size: .84rem; line-height: 1.5; color: rgba(255,255,255,.68); }
.model-card a { margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: space-between; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.model-card:hover small, .model-card:hover .model-use p, .model-card:hover .model-top span { color: rgba(255,255,255,.78); }
.comparison { margin-top: 5rem; }
.comparison-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.4rem; }
.comparison-title h3 { font-size: 1.5rem; letter-spacing: -.03em; margin: 0; }
.comparison-title span { color: var(--red); font-size: .68rem; letter-spacing: .14em; font-weight: 800; }
.table-wrap { overflow-x: auto; border-top: 1px solid rgba(255,255,255,.23); }
table { width: 100%; min-width: 880px; border-collapse: collapse; text-align: left; }
th, td { border-bottom: 1px solid rgba(255,255,255,.13); padding: 1.05rem .8rem; white-space: nowrap; }
thead th { color: rgba(255,255,255,.4); font-size: .61rem; text-transform: uppercase; letter-spacing: .1em; }
tbody th { color: var(--cream); font-size: 1.05rem; }
tbody td { color: rgba(255,255,255,.72); font-size: .78rem; }

.engineering { padding-top: 8rem; padding-bottom: 8rem; display: grid; grid-template-columns: 1.1fr .9fr; gap: 7rem; align-items: center; }
.engineering h2 { margin: 0; max-width: 720px; font-size: clamp(2.7rem,5.4vw,5.6rem); line-height: .93; letter-spacing: -.06em; }
.engineering-lead { max-width: 700px; margin: 2rem 0 0; color: var(--ink-soft); line-height: 1.75; }
.benefit-list { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.benefit-list > div { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.benefit-list > div > span { color: var(--red); font-size: 1.5rem; font-weight: 300; }
.benefit-list section h3 { margin: 0 0 .35rem; font-size: 1rem; }
.benefit-list section p { margin: 0; color: var(--ink-soft); font-size: .86rem; line-height: 1.55; }
.material-card { min-height: 560px; position: relative; overflow: hidden; background: linear-gradient(145deg,#e6e3de,#bcb8b1 42%,#f0efec 60%,#aaa69f); box-shadow: 0 25px 80px rgba(40,30,20,.16); }
.material-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg,transparent 30%,rgba(255,255,255,.55) 49%,transparent 65%); transform: translateX(-45%); }
.steel-lines { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4,1fr); }
.steel-lines span + span { border-left: 1px solid rgba(255,255,255,.4); }
.material-copy { position: absolute; z-index: 2; inset: auto 2rem 2rem 2rem; display: grid; grid-template-columns: auto 1fr; align-items: end; }
.material-copy > span { grid-column: 1 / -1; font-size: .65rem; letter-spacing: .18em; font-weight: 800; }
.material-copy strong { font-size: 7rem; line-height: .8; letter-spacing: -.08em; color: var(--red); }
.material-copy p { margin: 0 0 .1rem 1rem; text-transform: uppercase; letter-spacing: .1em; font-size: .62rem; line-height: 1.7; }

.signature-band { min-height: 330px; background: var(--red); color: white; display: grid; grid-template-columns: .45fr 1.35fr auto; align-items: center; gap: 4rem; padding: 4rem max(1.5rem, calc((100% - 1180px)/2)); overflow: hidden; }
.signature-mark { font-family: Georgia,serif; font-size: 15rem; line-height: .6; opacity: .14; transform: rotate(-12deg); }
.signature-band h2 { margin: 0; max-width: 820px; font-family: Georgia,serif; font-weight: 400; font-size: clamp(2.6rem,5vw,5.4rem); line-height: .95; letter-spacing: -.055em; }
.signature-band p { max-width: 650px; margin: 1.4rem 0 0; color: rgba(255,255,255,.72); line-height: 1.7; }
.signature-band > a { width: 82px; height: 82px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; transition: background .2s,color .2s; }
.signature-band > a:hover, .signature-band > a:focus-visible { background: white; color: var(--red); }

.contact-section { background: #17130f; color: white; }
.contact-inner { padding-top: 8rem; padding-bottom: 8rem; display: grid; grid-template-columns: .9fr 1.1fr; gap: 7rem; }
.contact-copy h2 { margin: 0; font-size: clamp(2.8rem,5vw,5.5rem); line-height: .94; letter-spacing: -.06em; }
.contact-copy > p:not(.eyebrow) { max-width: 550px; color: rgba(255,255,255,.57); line-height: 1.75; }
.contact-details { margin-top: 3rem; display: grid; gap: 1.3rem; }
.contact-details > * { display: flex; flex-direction: column; gap: .3rem; }
.contact-details small { color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .1em; font-size: .62rem; }
.contact-details strong { font-size: 1rem; }
.contact-form { display: grid; gap: 1.5rem; padding: 2.3rem; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.035); }
.contact-form label { display: grid; gap: .65rem; }
.contact-form label span { font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.52); }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.28); border-radius: 0; outline: 0; background: transparent; color: white; padding: .65rem 0; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: white; }
.contact-form .button { justify-self: start; border: 0; }
.form-notice { margin: -.3rem 0 0; color: var(--cream); line-height: 1.5; font-size: .8rem; }

footer { background: #0c0a08; color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.1); }
.footer-inner { width: min(1180px,calc(100% - 3rem)); min-height: 150px; margin: auto; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 2rem; font-size: .72rem; }
.footer-inner img { width: 170px; filter: brightness(0) invert(1); opacity: .9; }
.footer-inner p { text-align: center; }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr 380px; gap: 1.5rem; }
  .hero h1 { font-size: clamp(3.4rem,8vw,6.4rem); }
  .machine-stage { min-height: 480px; }
  .model-grid { grid-template-columns: repeat(2,1fr); }
  .model-card { border-bottom: 1px solid rgba(255,255,255,.18); }
  .model-card:nth-child(odd) { border-left: 0; }
  .model-card:last-child { grid-column: 1 / -1; }
  .engineering { gap: 3rem; }
}

@media (max-width: 760px) {
  .admin-bar .site-header { top: 46px; }
  .header-inner, .hero-inner, .hero-stats, .section, .footer-inner { width: min(100% - 2rem,1180px); }
  .header-inner { min-height: 72px; }
  .brand { width: 210px; }
  .header-cta { display: none; }
  .hero { padding-top: 72px; }
  .hero-inner { grid-template-columns: 1fr; padding: 4.3rem 0 2rem; }
  .hero h1 { font-size: clamp(3.15rem,15vw,5rem); }
  .hero-body { font-size: .98rem; }
  .machine-stage { min-height: 440px; }
  .machine-halo { width: 330px; height: 330px; }
  .machine-image { width: 255px; }
  .stage-label { left: .5rem; top: 10px; }
  .capacity-orbit { width: 86px; height: 86px; right: .2rem; }
  .hero-stats { grid-template-columns: 1fr; padding-bottom: 1rem; }
  .hero-stats > div { padding: 1rem 0; }
  .hero-stats > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding-left: 0; }
  .intro, .models-section, .engineering, .contact-inner { padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .split-heading, .models-heading, .engineering, .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 210px; padding-left: 0; }
  .feature-card + .feature-card { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .model-grid { grid-template-columns: 1fr; }
  .model-card, .model-card + .model-card { min-height: 330px; border-left: 0; }
  .model-card:last-child { grid-column: auto; }
  .material-card { min-height: 420px; }
  .signature-band { grid-template-columns: 1fr auto; gap: 2rem; padding-block: 5rem; }
  .signature-mark { display: none; }
  .signature-band p { font-size: .9rem; }
  .signature-band > a { width: 62px; height: 62px; }
  .contact-form { padding: 1.3rem; }
  .footer-inner { padding: 2.5rem 0; grid-template-columns: 1fr; text-align: center; }
  .footer-inner img { margin: auto; }
  .footer-inner p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
