:root{--blue:#23758e;--red:#b91f26;--pale:#edf7fa;--ink:#2c363b}*{box-sizing:border-box}body{margin:0;color:var(--ink);font:17px/1.7 Arial,sans-serif}a{color:inherit}a:focus-visible{outline:3px solid #eb9329;outline-offset:4px}.wrap{width:min(1120px,calc(100% - 44px));margin:auto}header{background:white;box-shadow:0 4px 24px #0001;position:relative;z-index:1}.bar{display:flex;align-items:center;gap:32px;min-height:96px}.brand{margin-right:auto;text-decoration:none;line-height:0}.brand img,.wordmark{width:92px;height:92px;display:grid;place-content:center}.wordmark{background:#141414;color:white;font:bold italic 30px Georgia;display:flex;align-items:center;justify-content:center}.wordmark span{color:#ec4149}nav{display:flex;flex-wrap:wrap;gap:22px}nav a,.phone,.button{text-decoration:none}nav a{font-size:14px;text-transform:uppercase}nav a:hover,nav a[aria-current]{color:var(--red)}.phone,.button{display:inline-block;background:var(--red);color:white;padding:8px 22px;border-radius:24px;font-size:15px;font-weight:bold;white-space:nowrap}.button{background:#237643;border-radius:3px;margin-top:12px}.button:hover,.phone:hover{filter:brightness(.88)}h1,h2{line-height:1.1;color:var(--blue);margin:0 0 20px}h1{font-size:clamp(40px,6vw,72px)}h2{font-size:clamp(29px,4vw,46px)}p{max-width:65ch;margin:0 0 18px}.eyebrow{font-weight:bold;text-transform:uppercase;letter-spacing:.12em;font-size:13px}.hero,.pale,.help{background:var(--pale)}.hero .wrap{padding:75px 0}.split,.grid{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}main>section.wrap,.pale>.wrap,.help>.wrap{padding:65px 0}.photo{display:block;width:100%;height:360px;object-fit:cover}.fallback{display:grid;place-items:center;background:var(--pale);color:#63b7d2}.fallback svg{width:130px;stroke:currentColor;fill:none;stroke-width:5}.grid{align-items:stretch;margin-top:32px}.grid article,.card{padding:30px;background:var(--pale)}.help{background:#dceff5}footer{background:#24292c;color:white;padding:32px 0}footer p{font-size:15px;margin:8px 0 0}.skip{position:absolute;left:12px;top:-100px;z-index:2;background:white;padding:8px}.skip:focus{top:8px}@media(max-width:740px){.bar{padding:12px 0;flex-wrap:wrap;gap:12px}.brand img,.wordmark{width:66px;height:66px}nav{order:3;width:100%;justify-content:space-between;gap:8px}.split,.grid{grid-template-columns:1fr;gap:24px}.photo{height:245px}.split .photo{order:1}.hero .wrap,main>section.wrap,.pale>.wrap,.help>.wrap{padding:42px 0}}

/* Palette del marchio LER2 */
:root {
  --blue: #a61924;
  --red: #b91f2c;
  --pale: #f7eeee;
  --ink: #211e20;
}

.hero h1 { color: #fff; }
.hero .eyebrow { color: #ffadb4; }
.button { background: var(--red); }
.help { background: #eee9ea; }
.fallback { color: var(--red); }
footer { background: #fff; color: var(--ink); border-top: 1px solid #eadcde; }
#chi-siamo, #servizi, #contatti { scroll-margin-top: 20px; }
#servizi { border-block: 1px solid #eadcde; }
.section-title { font-size: clamp(36px, 5vw, 56px); }

.hero {
  background: radial-gradient(ellipse at 90% 110%, #6c1820, #161415 60%);
  color: #fff;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 42px;
}
.hero h1 { font-size: clamp(38px, 5vw, 64px); }
.hero .photo { height: 390px; border-radius: 6px; }
.hero-contact { display: inline-block; margin: 12px 0 0 12px; }
#chi-siamo { border-bottom: 1px solid #eadcde; }
.grid article { border-top: 4px solid var(--red); }
@media (max-width:740px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero .photo { height: 245px; }
}

/* Archi ispirati al logo */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}
.hero::before {
  width: 520px;
  height: 520px;
  right: -130px;
  top: -230px;
  border: 2px solid #e74955;
  box-shadow: 0 0 0 24px #df334825, 0 0 0 49px #df334815;
}
.hero::after {
  width: 360px;
  height: 360px;
  left: -215px;
  bottom: -220px;
  border: 1px solid #ff879266;
}
.hero .photo {
  border-radius: 34% 8px 32% 8px / 34% 8px 32% 8px;
  box-shadow: 14px 14px 0 #b91f2c70;
}
#servizi .grid article {
  border-radius: 4px 34px 4px 34px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #eadcde;
}
#servizi .grid article:nth-child(2) { margin-top: 24px; }
#chi-siamo .photo {
  border-radius: 8px 30% 8px 26%;
  box-shadow: -9px 9px 0 #e8c1c5;
}
@media (max-width:740px) {
  .hero::before { right: -320px; }
  .hero .photo { box-shadow: 7px 7px 0 #b91f2c70; }
  #servizi .grid article:nth-child(2) { margin-top: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero .photo { animation: hero-enter 650ms ease-out both; }
  .button { transition: transform 180ms ease, filter 180ms ease; }
  .button:hover { transform: translateY(-2px); }
}
@keyframes hero-enter {
  from { opacity: .35; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-toggle { display: none; }
#site-menu[hidden] { display: none; }
.whatsapp {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 3;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #087744;
  color: #fff;
  box-shadow: 0 4px 16px #0004;
}
.whatsapp:hover { background: #065d36; }
footer { padding-right: 64px; }
@media (max-width: 740px) {
  .menu-ready .menu-toggle {
    order: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #eadcde;
    border-radius: 6px;
    background: #fff;
    color: var(--red);
    cursor: pointer;
  }
  .menu-ready #site-menu { flex-direction: column; gap: 0; }
  .menu-ready #site-menu a { padding: 10px 4px; border-top: 1px solid #eadcde; }
  .phone { padding-inline: 12px; font-size: 13px; }
}

/* Match the background at the edges of the LER2 logo. */
header {
  background: #121212;
  color: #fff;
}
header nav a:hover,
header nav a[aria-current] { color: #ff9da5; }
@media (max-width: 740px) {
  .menu-ready .menu-toggle {
    background: #121212;
    color: #fff;
    border-color: #696969;
  }
  .menu-ready #site-menu a { border-top-color: #454545; }
}

body, main, #contatti .card { background: #fff; }
#contatti .card { border: 1px solid #eadcde; }
