/*
Theme Name: MR Costruzioni
Description: Tema WordPress per MR Costruzioni, con layout per Elementor Core.
Version: 1.1.0
Requires at least: 6.8
Requires PHP: 7.4
Text Domain: mr-costruzioni
*/

body {margin:0; background:#f4f4ed}
.mr-fallback {min-height:52vh}
.mr-fallback img {max-width:100%; height:auto}

@font-face {
  font-family:"Red Hat Display"; font-style:normal; font-weight:400 700; font-display:swap;
  src:url("fonts/red-hat-display.woff2") format("woff2");
}
@font-face {
  font-family:"Red Hat Text"; font-style:normal; font-weight:400 700; font-display:swap;
  src:url("fonts/red-hat-text.woff2") format("woff2");
}

.mr-shell {
  --paper:var(--e-global-color-9ea7a01, #f4f4ed); --ink:var(--e-global-color-9ea7a02, #18211b); --sub:var(--e-global-color-9ea7a03, #4e5a4d); --line:var(--e-global-color-9ea7a04, #cbd1c4);
  --green:var(--e-global-color-9ea7a05, #365b21); --lime:var(--e-global-color-9ea7a06, #d6ee91); --mist:var(--e-global-color-9ea7a07, #e8ebe2); --dark:var(--e-global-color-9ea7a08, #202b1f);
  --gutter:clamp(20px,4.6vw,80px); --frame:1512px;
  --mr-font-display:var(--e-global-typography-9ea7a09-font-family, "Red Hat Display"), "Helvetica Neue", Arial, sans-serif;
  --mr-font-body:var(--e-global-typography-9ea7a0a-font-family, "Red Hat Text"), system-ui, sans-serif;
  color:var(--ink); background:var(--paper); font:400 16px/1.6 var(--mr-font-body);
  --gap:0px; --widgets-spacing:0px; --padding-top:0px; --padding-bottom:0px;
  --padding-left:0px; --padding-right:0px;
}
.elementor .mr-shell.e-con {--row-gap:0px; --column-gap:0px; gap:0}
.mr-shell, .mr-shell * {box-sizing:border-box}
.mr-shell a {color:inherit}
.mr-shell :focus-visible {outline:2px solid #457d24; outline-offset:4px}
.mr-shell .mr-section.e-con, .mr-shell .mr-layout.e-con, .mr-shell .mr-stack.e-con, .mr-shell .mr-card.e-con, .mr-shell .mr-actions.e-con {
  --padding-top:0px; --padding-bottom:0px; --padding-left:0px; --padding-right:0px;
  --gap:0px; --row-gap:0px; --column-gap:0px;
}
.mr-shell .elementor-widget {margin:0; min-width:0}
.mr-shell .elementor-widget-container > :last-child, .mr-shell .elementor-widget-text-editor > p:last-child {margin-bottom:0}
.elementor .mr-shell .elementor-widget-text-editor {font-family:var(--mr-font-body)}
.mr-shell .elementor-widget-heading .elementor-heading-title {margin:0; padding:0; color:var(--ink); font-family:var(--mr-font-display)}
.mr-shell p {margin:0 0 1em}
.mr-shell .mr-wrap {width:min(100%,var(--frame)); margin-inline:auto; padding-inline:var(--gutter)}
.mr-shell .mr-section {display:block; width:100%; max-width:none}
.mr-shell .mr-section.mr-wrap {max-width:var(--frame); padding-inline:var(--gutter)}
.mr-shell .mr-stack {display:flex; flex-direction:column; align-items:stretch; width:100%; min-width:0}
.mr-shell .mr-stack > * {width:100%}
.mr-shell .mr-layout {display:grid; align-items:start; width:100%; min-width:0}
.mr-shell .mr-layout > *, .mr-shell .mr-card > * {width:100%; min-width:0}
.mr-shell .mr-skip {position:absolute; z-index:20; left:20px; top:8px; transform:translateY(-200%); padding:10px 16px; background:var(--lime)}
.mr-shell .mr-skip:focus {transform:none}
.mr-shell .mr-header {border-bottom:1px solid var(--line); background:var(--paper)}
.mr-shell .mr-header-inner {height:82px; display:flex; align-items:center; justify-content:space-between; gap:20px}
.mr-shell .mr-brand {display:inline-flex; align-items:center; min-height:44px; width:max-content; text-decoration:none}
.mr-shell .mr-brand img {display:block; width:146px; height:auto; mix-blend-mode:multiply}
.mr-shell .mr-nav {margin:0; display:flex; align-items:center; gap:clamp(16px,3vw,48px)}
.mr-shell .mr-nav a {position:relative; display:inline-flex; align-items:center; min-height:44px; font-size:14px; font-weight:650; text-decoration:none}
.mr-shell .mr-nav a::after {position:absolute; content:""; inset:auto 0 7px; height:1px; scale:0 1; transform-origin:left; background:currentColor; transition:scale .2s ease}
.mr-shell .mr-nav a:hover::after, .mr-shell .mr-nav a[aria-current]::after {scale:1 1}
.mr-shell .mr-menu {display:none}
.mr-shell .mr-header-link {padding:10px 14px; border:1px solid var(--line); text-decoration:none; font-size:14px; font-weight:650; white-space:nowrap; transition:background-color .2s}
.mr-shell .mr-header-link:hover {background:var(--lime)}
.mr-shell .mr-hero {display:grid; gap:0; grid-template-columns:minmax(0, .94fr) minmax(0, 1.06fr); align-items:stretch; min-height:clamp(540px, 71svh, 780px); border-bottom:1px solid var(--line)}
.mr-shell .mr-hero .mr-hero-copy {padding:clamp(36px,6vw,100px) clamp(24px,4vw,70px) clamp(36px,5vw,88px) var(--gutter); justify-content:center}
.mr-shell .mr-kicker {letter-spacing:.12em; text-transform:uppercase; font-size:.72rem; font-weight:700; color:var(--green)}
.mr-shell .mr-kicker p {margin:0}
.mr-shell .mr-hero-title {margin-top:24px}
.mr-shell .mr-hero-title .elementor-heading-title {font-size:clamp(44px,5.3vw,96px); font-weight:650; line-height:1; letter-spacing:-.058em; text-wrap:balance}
.mr-shell .mr-home .mr-hero-title .elementor-heading-title {text-wrap:initial}
.mr-shell .mr-home .mr-hero-title em {display:block}
@media (min-width:1025px) {
  .mr-shell .mr-home .mr-hero {min-height:max(600px,calc(100svh - 147px))}
}
.mr-shell .mr-hero-title em {color:var(--green); font-style:normal}
.mr-shell .mr-lead {margin-top:24px; max-width:48ch; color:var(--sub); font-size:clamp(1rem,1.35vw,1.22rem); line-height:1.55}
.mr-shell .mr-actions.e-con, .mr-shell .mr-actions {display:flex; flex-direction:row; flex-wrap:wrap; gap:10px; width:100%; margin-top:30px}
.mr-shell .mr-actions > * {width:auto}
.mr-shell .mr-button .elementor-button {border:1px solid var(--ink); border-radius:0; background:var(--ink); color:white; display:inline-flex; min-height:48px; padding:12px 17px; align-items:center; text-align:left; text-decoration:none; font:650 .9rem/1.25 var(--mr-font-body); transition:background-color .2s,color .2s,transform .2s}
.mr-shell .mr-button .elementor-button::after {content:"↗" / ""; padding-inline-start:16px; line-height:1}
.mr-shell .mr-button .elementor-button:hover {transform:translateY(-2px); background:var(--lime); color:var(--ink)}
.mr-shell .mr-button .elementor-button:active {transform:translateY(1px)}
.mr-shell .mr-button-quiet .elementor-button {background:transparent; color:var(--ink)}
.mr-shell .mr-visual {position:relative; overflow:hidden; align-self:stretch; background:var(--mist)}
.mr-shell .mr-visual :is(.elementor-widget-container,.elementor-shortcode,.mr-photo) {height:100%; width:100%}
.mr-shell .mr-photo {position:relative; overflow:hidden; margin:0}
.mr-shell .mr-photo img {display:block; width:100%; height:100%; object-fit:cover; transition:filter .25s,transform .45s}
.mr-shell .mr-hero > .mr-visual .mr-photo img {position:absolute; inset:0; object-position:center}
.mr-shell .mr-home .mr-visual .mr-photo img {object-position:56% center}
.mr-shell .mr-hero > .mr-visual::after {content:""; position:absolute; inset:18px; border:1px solid rgba(255,255,255,.58); pointer-events:none}
.mr-shell .mr-rail {background:var(--lime)}
.mr-shell .mr-audiences {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding-block:0; margin-block:0; list-style:none}
.mr-shell .mr-audiences li {min-height:64px; display:flex; align-items:center; justify-content:center; padding:14px 5px; text-transform:uppercase; letter-spacing:.09em; font-size:clamp(.61rem,1.1vw,.78rem); font-weight:700; text-align:center}
.mr-shell .mr-audiences li + li {border-left:1px solid #a4b874}
.mr-shell .mr-block {padding-block:clamp(64px,8vw,128px)}
.mr-shell .mr-block.mr-section {padding-block:clamp(64px,8vw,128px)}
.mr-shell .mr-section-head {grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:clamp(14px,4vw,64px); align-items:end; margin-bottom:30px}
.mr-shell .mr-section-head .mr-text {max-width:42ch}
.mr-shell .mr-label-title {gap:10px}
.mr-shell .mr-h2 .elementor-heading-title {font-size:clamp(34px,4.3vw,66px); font-weight:630; line-height:1.02; letter-spacing:-.051em; text-wrap:balance}
.mr-shell .mr-h3 .elementor-heading-title {font-size:clamp(20px,2vw,29px); font-weight:660; line-height:1.11; letter-spacing:-.035em}
.mr-shell .mr-text {color:var(--sub); font-size:.98rem; line-height:1.55}
.mr-shell .mr-cards {grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:var(--line); border:1px solid var(--line)}
.mr-shell .mr-card {display:flex; flex-direction:column; gap:12px; align-items:flex-start; padding:clamp(19px,2.3vw,34px); height:100%; background:var(--paper); transition:background-color .2s}
.mr-shell .mr-card:hover, .mr-shell .mr-card:focus-within {background:var(--mist)}
.mr-shell .mr-card .mr-h3 {margin-top:3px}
.mr-shell .mr-card .mr-text {margin-bottom:8px}
.mr-shell .mr-card .mr-card-link {margin-top:auto; width:auto}
.mr-shell .mr-card-link .elementor-button {min-height:44px; padding:7px 0; border:0; background:transparent; color:var(--green); text-decoration:underline; text-decoration-color:transparent; text-underline-offset:.3em}
.mr-shell .mr-card-link .elementor-button:hover {background:transparent; text-decoration-color:currentColor}
.mr-shell .mr-process {background:var(--mist)}
.mr-shell .mr-process-intro {max-width:46ch; margin-top:14px}
.mr-shell .mr-feature {grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(24px,5vw,78px); align-items:center}
.mr-shell .mr-feature .mr-visual {min-height:clamp(260px,39vw,555px)}
.mr-shell .mr-feature .mr-visual img {position:absolute; inset:0}
.mr-shell .mr-steps {margin:24px 0 0; padding:0; list-style:none; counter-reset:mr-step}
.mr-shell .mr-steps li {display:flex; align-items:baseline; padding:12px 0; gap:16px; border-top:1px solid var(--line); counter-increment:mr-step}
.mr-shell .mr-steps li::before {content:counter(mr-step,decimal-leading-zero); display:inline-block; font-family:ui-monospace,monospace; color:var(--green); font-size:.75rem}
.mr-shell .mr-close {background:var(--lime)}
.mr-shell .mr-close .mr-section-head {margin:0}
.mr-shell .mr-close .mr-actions {margin-top:0; justify-content:flex-end}
.mr-shell .mr-footer {background:var(--dark); color:#f4f4ed}
.mr-shell .mr-footer a {text-decoration-thickness:1px; text-underline-offset:3px; display:inline-flex; align-items:center; min-height:44px}
.mr-shell .mr-footer a:hover {color:var(--lime)}
.mr-shell .mr-footer :focus-visible {outline-color:var(--lime)}
.mr-shell .mr-footer-inner {display:flex; flex-direction:column; gap:26px; padding-block:clamp(32px,5vw,74px)}
.mr-shell .mr-footer-top {display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:12px 24px}
.mr-shell .mr-footer-brand {font:650 clamp(1.45rem,3vw,2.5rem)/1 var(--mr-font-display); letter-spacing:-.04em; text-decoration:none}
.mr-shell .mr-footer-meta {display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 20px; padding-top:18px; border-top:1px solid #667162; color:#dbe2d5; font-size:.81rem}
.mr-shell .mr-service .mr-hero-title .elementor-heading-title {font-size:clamp(36px,4.55vw,78px); letter-spacing:-.059em; text-wrap:initial}
.mr-shell .mr-service .mr-hero {min-height:clamp(470px,63svh,720px)}
.mr-shell .mr-service .mr-detail-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
.mr-shell .mr-related {background:var(--mist)}
.mr-shell .mr-related .mr-cards {grid-template-columns:repeat(2,minmax(0,1fr))}
.mr-shell .mr-contacts .mr-hero {grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.mr-shell .mr-contact-panel {background:var(--lime); padding:clamp(28px,4vw,70px); display:flex; flex-direction:column; align-self:stretch; justify-content:center}
.mr-shell .mr-contact-panel dl {margin:0}
.mr-shell .mr-contact-panel dt {padding-top:12px; color:#35472a; font-size:.75rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase}
.mr-shell .mr-contact-panel dd {margin:0; border-bottom:1px solid #a5b676; padding-bottom:10px; overflow-wrap:anywhere; color:var(--ink); font-family:var(--mr-font-display); font-size:clamp(1.05rem,2vw,1.65rem); font-weight:630}
.mr-shell .mr-contact-panel dd a {display:inline-flex; align-items:center; min-height:44px; text-underline-offset:4px}
.mr-shell .mr-contact-panel dd a:hover {text-decoration-thickness:2px}
.mr-shell .mr-contact-panel dd:last-child {border:0}
.mr-shell .mr-breadcrumb {color:var(--sub); font-size:.85rem}
.mr-shell .mr-breadcrumb a {display:inline-flex; align-items:center; min-height:44px; text-underline-offset:4px}
.mr-shell .mr-breadcrumb + .mr-kicker {margin-top:12px}
@media (min-width:1512px) {
  .mr-shell .mr-hero .mr-hero-copy {padding-left:max(var(--gutter),calc((100vw - var(--frame))/2 + var(--gutter)))}
}
@media (max-width:1024px) {
  .mr-shell .mr-hero-title .elementor-heading-title {font-size:clamp(40px,6.3vw,65px)}
  .mr-shell .mr-hero {min-height:560px}
  .mr-shell .mr-cards, .mr-shell .mr-service .mr-detail-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .mr-shell .mr-header-inner {height:72px}
}
@media (max-width:690px) {
  .mr-shell .mr-header-inner {height:auto; min-height:67px; position:relative; flex-wrap:wrap; gap:0 13px; padding-block:7px}
  .mr-shell .mr-brand img {width:126px}
  .mr-shell .mr-header-link {display:none}
  .mr-shell .mr-menu {min-height:44px; padding:6px 0 6px 8px; align-items:center; gap:7px; border:0; border-radius:0; background:transparent; color:var(--ink); font:650 .9rem var(--mr-font-body); cursor:pointer}
  .mr-shell .mr-header[data-enhanced] .mr-menu {display:inline-flex}
  .mr-shell .mr-nav {width:100%; justify-content:space-between; gap:8px}
  .mr-shell .mr-header[data-enhanced] .mr-nav:not([data-open]) {display:none}
  .mr-shell .mr-hero, .mr-shell .mr-contacts .mr-hero {grid-template-columns:minmax(0,1fr); min-height:auto}
  .mr-shell .mr-service .mr-hero {min-height:auto}
  .mr-shell .mr-hero .mr-hero-copy {padding:34px var(--gutter) 33px}
  .mr-shell .mr-hero-title {margin-top:14px}
  .mr-shell .mr-hero-title .elementor-heading-title {font-size:clamp(42px,10.3vw,62px)}
  .mr-shell .mr-service .mr-hero-title .elementor-heading-title {font-size:clamp(35px,8.6vw,55px)}
  .mr-shell .mr-lead {margin-top:16px}
  .mr-shell .mr-actions.e-con, .mr-shell .mr-actions {margin-top:22px}
  .mr-shell .mr-hero .mr-visual {min-height:clamp(208px,66vw,360px)}
  .mr-shell .mr-hero > .mr-visual::after {inset:12px}
  .mr-shell .mr-audiences li {min-height:52px}
  .mr-shell .mr-cards, .mr-shell .mr-service .mr-detail-grid, .mr-shell .mr-related .mr-cards,
  .mr-shell .mr-section-head, .mr-shell .mr-feature {grid-template-columns:minmax(0,1fr)}
  .mr-shell .mr-close .mr-actions {justify-content:flex-start; margin-top:8px}
  .mr-shell .mr-contact-panel {padding:22px var(--gutter)}
}
@media (max-width:370px) {
  .mr-shell .mr-hero .mr-actions > *, .mr-shell .mr-hero .mr-actions .elementor-button {width:100%}
}
@media (prefers-reduced-motion:reduce) {
  .mr-shell *, .mr-shell *::before, .mr-shell *::after {animation:none !important; transition:none !important; scroll-behavior:auto !important}
}
