/* Saga Service — sagaservice.it */
:root {
  --teal: #306364;
  --teal-dark: #0c1c1c;
  --teal-mid: #1d4243;
  --teal-light: #60bebd;
  --mist: #e9f5f6;
  --ink: #333;
  --muted: #5d6b6c;
  --white: #fff;
  --radius: 5px;
  --radius-xl: 120px;
  --wrap: 1200px;
  --shadow: 0 18px 40px -18px rgba(12, 28, 28, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--teal); }
h3 { font-size: 1.2rem; color: var(--teal); font-weight: 600; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--teal-dark); color: #d7e6e6; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.eyebrow {
  display: block; margin-bottom: 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-light);
}
.section--mist .eyebrow, .section:not(.section--dark) .eyebrow { color: var(--teal); opacity: .8; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.section--dark .lead { color: #b9cfcf; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: var(--white); padding: 10px 16px; border-radius: var(--radius); }

/* Icone (mask) */
.ico {
  display: inline-block; flex: none; width: 1.15em; height: 1.15em; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.i-phone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.i-mail { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E"); }
.i-chat { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 2a8 8 0 1 1-4.1 14.9l-.4-.2-2.6.7.7-2.5-.3-.4A8 8 0 0 1 12 4zm-3 4.2c-.3 0-.6.1-.8.4-.5.6-.8 1.300-.7 2.100.2 1.400 1.100 2.700 2.200 3.700 1.200 1.100 2.600 1.900 4.200 2.100.8.1 1.600-.3 2.100-.9.3-.4.3-.9 0-1.200l-1.500-1c-.3-.2-.7-.2-1 .1l-.6.6c-1.100-.5-2-1.400-2.600-2.500l.6-.6c.3-.3.3-.7.1-1l-1-1.500a.9.9 0 0 0-.9-.4z'/%3E%3C/svg%3E"); }
.i-pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.500 2.500 0 1 1 12 6.500a2.500 2.500 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.i-check { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.800 12l-1.400 1.400L9 19 21 7l-1.400-1.400z'/%3E%3C/svg%3E"); }
.i-arrow { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 4-1.400 1.400 5.600 5.600H4v2h12.200l-5.600 5.600L12 20l8-8z'/%3E%3C/svg%3E"); }
.i-bulb { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 22h6v-1.500H9zM12 2a7 7 0 0 0-4 12.700V17a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2.300A7 7 0 0 0 12 2z'/%3E%3C/svg%3E"); }
.i-build { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M4 21V3h10v6h6v12zM7 7v2h2V7zm4 0v2h2V7zm-4 4v2h2v-2zm4 0v2h2v-2zm5 0v2h2v-2zm-9 4v2h2v-2zm4 0v2h2v-2zm5 0v2h2v-2z'/%3E%3C/svg%3E"); }
.i-shield { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2 4 5v6c0 5 3.400 9.400 8 11 4.600-1.600 8-6 8-11V5zm-1.200 13.600L7.400 12.200l1.400-1.400 2 2 4.400-4.400 1.400 1.400z'/%3E%3C/svg%3E"); }

/* Pulsanti */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border: 2px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-white { background: var(--white); color: var(--teal); }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-mid); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--teal); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow .ico { transition: transform .2s; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(12, 28, 28, .08);
}
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--teal-dark); }
.logo img { height: 50px; width: auto; }
.logo b { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: .06em; line-height: 1.1; }
.logo small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { white-space: nowrap; }
.nav a:not(.btn) {
  position: relative; padding: 6px 0; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--teal); transition: right .25s;
}
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { right: 0; }
.nav a[aria-current] { color: var(--teal); font-weight: 700; }
.nav .btn { padding: 10px 20px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; padding: 11px; }
.nav-toggle span { display: block; height: 2px; margin: 6px 0; background: var(--teal-dark); transition: transform .25s, opacity .25s; }

/* Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100vh, 900px); display: flex; align-items: center;
  padding: 150px 0 110px; background: var(--teal) center / cover no-repeat; color: var(--white);
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(48, 99, 100, .1); }
.shape { position: absolute; z-index: -1; }
.shape--a {
  inset: 0 45% 22% 0; border-radius: 0 0 var(--radius-xl) 0;
  background: radial-gradient(120% 120% at 100% 0%, rgba(60, 120, 120, .55) 0%, rgba(29, 66, 67, .86) 34%, rgba(12, 28, 28, .96) 75%);
}
.shape--b {
  inset: 0 0 30% 82%; border-radius: 0 0 0 var(--radius-xl);
  background: linear-gradient(200deg, rgba(108, 198, 197, .34) 10%, rgba(79, 156, 156, .2) 55%, rgba(42, 85, 86, .3) 100%);
}
.shape--c { inset: 88% 70% 0 0; border-radius: 0 var(--radius-xl) 0 0; background: var(--teal-dark); }
.shape--d { inset: 88% 0 0 70%; border-radius: var(--radius-xl) 0 0 0; background: var(--teal-dark); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 400; max-width: 15ch; margin-bottom: .35em; }
.hero h1 strong { font-weight: 700; }
.hero .sub { font-size: clamp(1.05rem, 1.9vw, 1.4rem); text-transform: uppercase; letter-spacing: .04em; max-width: 26ch; line-height: 1.4; }
.hero .intro { max-width: 52ch; color: #d3e6e6; margin-top: 18px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; font-size: .88rem; font-weight: 600; color: #cfe4e4; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges .ico { color: var(--teal-light); }

.page-hero { min-height: 0; padding: 170px 0 90px; }
.page-hero .shape--a { inset: 0 40% 0 0; border-radius: 0 0 var(--radius-xl) 0; }
.page-hero .shape--b { inset: 0 0 35% 86%; }
.page-hero h1 { max-width: 20ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: .85rem; color: #bfd8d8; }
.crumbs a { color: inherit; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }

/* Griglie e card */
.grid { display: grid; gap: 28px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.head { margin-bottom: 48px; }

.area {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  min-height: 520px; padding: 44px; color: var(--white); text-decoration: none;
  border-radius: 0 0 80px 0;
  background: radial-gradient(130% 110% at 100% 0%, #4f9c9c 0%, #2a5556 40%, var(--teal-dark) 85%);
  transition: transform .3s, box-shadow .3s;
}
.area:nth-child(2) { border-radius: 0 0 0 80px; background: radial-gradient(130% 110% at 0% 0%, #4f9c9c 0%, #2a5556 40%, var(--teal-dark) 85%); }
.g-3 .area { min-height: 540px; padding: 34px 30px; }
.g-3 .area h3 { font-size: 1.4rem; }
.g-3 .area:nth-child(2) { border-radius: 0; }
.g-3 .area:nth-child(3) { border-radius: 0 0 0 80px; }
.area:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.area img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.area:hover img { transform: scale(1.05); }
.area::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 28, 28, .15) 0%, rgba(12, 28, 28, .72) 45%, rgba(12, 28, 28, .95) 100%); }
.photo { margin: 0; }
.photo img { width: 100%; height: 380px; object-fit: cover; border-radius: 0 0 80px 0; }
.photo:nth-child(2) img { border-radius: 0 0 0 80px; }
.photo--full img { height: auto; }
.photo figcaption { margin-top: 12px; font-size: .88rem; color: var(--muted); }
.area h3 { color: var(--white); font-size: 1.7rem; font-weight: 500; margin-top: auto; }
.area p { color: #d3e6e6; }
.area ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 26px; }
.area li { padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 99px; font-size: .8rem; }
.area .link-arrow { color: var(--white); }

.ba { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1000px; margin: 0 auto 40px; }
.ba-item { position: relative; margin: 0; overflow: hidden; border-radius: 0 0 0 80px; }
.ba-item--after { border-radius: 0 0 80px 0; }
.ba-item img { width: 100%; height: 540px; object-fit: cover; }
.ba-item figcaption { position: absolute; inset: auto 0 0 0; padding: 90px 30px 28px 44px; color: var(--white); background: linear-gradient(180deg, rgba(12, 28, 28, 0), rgba(12, 28, 28, .93) 70%); }
.ba-item--after figcaption { padding-left: 30px; }
.ba-item span { display: inline-block; margin-bottom: 10px; padding: 5px 14px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 99px; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.ba-item--after span { background: var(--teal-light); border-color: var(--teal-light); color: var(--teal-dark); }
.ba-item b { display: block; font-size: 1.3rem; font-weight: 600; }
.ba-item small { display: block; margin-top: 4px; font-size: .9rem; color: #c9dcdc; }
.ba-arrow { position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--white); color: var(--teal); font-size: 1.5rem; box-shadow: 0 0 0 7px var(--teal-dark); }

.card {
  padding: 32px 28px; background: var(--white); border-radius: var(--radius);
  border-bottom: 3px solid var(--teal); box-shadow: 0 6px 24px -14px rgba(12, 28, 28, .25);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .badge {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px;
  border-radius: 0 0 16px 0; background: var(--mist); color: var(--teal); font-size: 1.4rem;
}
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.section--dark .ba { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1000px; margin: 0 auto 40px; }
.ba-item { position: relative; margin: 0; overflow: hidden; border-radius: 0 0 0 80px; }
.ba-item--after { border-radius: 0 0 80px 0; }
.ba-item img { width: 100%; height: 540px; object-fit: cover; }
.ba-item figcaption { position: absolute; inset: auto 0 0 0; padding: 90px 30px 28px 44px; color: var(--white); background: linear-gradient(180deg, rgba(12, 28, 28, 0), rgba(12, 28, 28, .93) 70%); }
.ba-item--after figcaption { padding-left: 30px; }
.ba-item span { display: inline-block; margin-bottom: 10px; padding: 5px 14px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 99px; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.ba-item--after span { background: var(--teal-light); border-color: var(--teal-light); color: var(--teal-dark); }
.ba-item b { display: block; font-size: 1.3rem; font-weight: 600; }
.ba-item small { display: block; margin-top: 4px; font-size: .9rem; color: #c9dcdc; }
.ba-arrow { position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--white); color: var(--teal); font-size: 1.5rem; box-shadow: 0 0 0 7px var(--teal-dark); }

.card { background: #132a2a; border-color: var(--teal-light); box-shadow: none; }
.section--dark .card p { color: #b9cfcf; }
.section--dark .card .badge { background: rgba(96, 190, 189, .14); color: var(--teal-light); }

.checks li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.checks .ico { margin-top: .3em; color: var(--teal); }
.section--dark .checks .ico { color: var(--teal-light); }

.panel {
  padding: clamp(32px, 4vw, 52px); border-radius: 0 0 80px 0; color: var(--white);
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-mid) 55%, var(--teal-dark) 100%);
}
.panel h3 { color: var(--white); font-size: 1.4rem; }
.panel .checks .ico { color: var(--teal-light); }
.panel p { color: #d3e6e6; }

.steps { counter-reset: step; }
.step { position: relative; padding-top: 62px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0; font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--teal-light);
}
.step::after { content: ""; position: absolute; top: 50px; left: 0; width: 44px; height: 2px; background: var(--teal-light); }
.step p { font-size: .95rem; color: #b9cfcf; margin: 0; }

.project {
  display: flex; flex-direction: column; padding: 28px; min-height: 190px;
  background: var(--white); border-left: 3px solid var(--teal); border-radius: var(--radius);
}
.project span { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); opacity: .8; }
.project h3 { margin: 10px 0 0; font-size: 1.05rem; font-weight: 600; color: var(--ink); line-height: 1.45; }

.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid #cfe1e2; }
.faq summary {
  display: flex; justify-content: space-between; gap: 20px; padding: 22px 0;
  font-weight: 600; font-size: 1.05rem; color: var(--teal); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; font-weight: 400; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 40px; }

.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--teal); color: var(--white); text-align: center; }
.cta::before, .cta::after { content: ""; position: absolute; z-index: -1; background: var(--teal-dark); opacity: .55; }
.cta::before { inset: 0 78% 40% 0; border-radius: 0 0 var(--radius-xl) 0; }
.cta::after { inset: 40% 0 0 78%; border-radius: var(--radius-xl) 0 0 0; }
.cta h2 { color: var(--white); }
.cta p { color: #d3e6e6; max-width: 56ch; margin-inline: auto; }
.cta .btn-row { justify-content: center; }

.contact-card { display: flex; gap: 18px; align-items: flex-start; text-decoration: none; color: inherit; }
.contact-card .badge { margin: 0; flex: none; }
.contact-card b { display: block; color: var(--teal); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-card span { font-size: 1.05rem; font-weight: 500; overflow-wrap: anywhere; }
.data-list { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 0; }
.data-list dt { font-weight: 700; color: var(--teal-light); }
.data-list dd { margin: 0; overflow-wrap: anywhere; }

.work { display: flex; flex-direction: column; overflow: hidden; background: var(--white); color: inherit; text-decoration: none; border-radius: 0 0 60px 0; box-shadow: 0 6px 24px -14px rgba(12, 28, 28, .3); transition: transform .25s, box-shadow .25s; }
.work:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.work img { width: 100%; height: 280px; object-fit: cover; }
.work > div { display: flex; flex: 1; flex-direction: column; padding: 26px 30px 32px; }
.work .cat { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.work h3 { margin: 10px 0; font-size: 1.2rem; color: var(--ink); line-height: 1.4; }
.work p { color: var(--muted); font-size: .95rem; }
.work .link-arrow { margin-top: auto; color: var(--teal); }
.stat { padding: 30px 28px; background: #132a2a; border-bottom: 3px solid var(--teal-light); border-radius: var(--radius); }
.stat b { display: block; margin-bottom: 8px; font-size: 2.4rem; font-weight: 700; line-height: 1.1; color: var(--white); }
.stat span { color: #d5e6e6; font-size: .95rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); }
.split h3 { margin-top: 1.4em; }
.panel h3, .split .panel h3 { margin-top: 0; }
.project a { color: inherit; text-decoration: none; }
.project a:hover { color: var(--teal); text-decoration: underline; }
/* Leggibilita' su fondi scuri */
.panel, .panel p, .panel dd, .panel .checks span { color: var(--white); }
.data-list dt { color: #d6f5f3; }
.panel .checks .ico { color: #d6f5f3; }
.panel a { color: var(--white); text-decoration: underline; }
.section--dark p a, .section--dark li a { color: #9fe3e1; }
.section--dark .lead, .section--dark .card p, .step p { color: #d5e6e6; }
.section--dark .eyebrow { color: #8fdedc; }
.site-footer { color: #eaf5f5; }

/* Footer */
.site-footer { background: var(--teal); color: #d7e9e9; padding: 70px 0 0; font-size: .93rem; }
.site-footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h2 { font-size: 1rem; font-weight: 700; color: var(--white); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer li { margin-bottom: 8px; }
.site-footer .logo { color: var(--white); margin-bottom: 18px; }
.site-footer .logo img { height: 56px; }
.legal { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .82rem; text-align: center; }

/* Animazioni (attive solo con JS) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1200px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 20px 24px; background: var(--white); box-shadow: 0 20px 30px -20px rgba(12, 28, 28, .4);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--mist); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 700px) {
  :root { --radius-xl: 70px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .hero { padding: 130px 0 90px; min-height: 0; }
  .shape--a { inset: 0 0 14% 0; }
  .page-hero { padding: 120px 0 80px; }
  .page-hero .shape--a { inset: 0 0 7% 0; }
  .shape--b, .shape--d { display: none; }
  .hero { background-position: 68% center; }
  .g-3 .area:nth-child(n) { border-radius: 0 0 80px 0; min-height: 420px; }
  .photo img { height: 240px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery img { height: 170px; }
  .work img { height: 220px; }
  .ba { grid-template-columns: 1fr; }
  .ba-item, .ba-item--after { border-radius: 0 0 60px 0; }
  .ba-item img { height: 380px; }
  .ba-item figcaption { padding-left: 26px; }
  .ba-arrow { transform: translate(-50%, -50%) rotate(90deg); }
  .logo img { height: 42px; }
  .shape--c { inset: 93% 45% 0 0; }
  .btn-row .btn { flex: 1 1 100%; }
  .area { min-height: 380px; padding: 32px 26px; }
  .site-footer .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
