/*
Theme Name: MT Impianti e Scavi
Author: MT Impianti e Scavi
Description: Landing page italiana con dettagli aziendali personalizzabili e modulo contatti.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mt-impianti
*/

*,*::before,*::after{box-sizing:border-box}
body{margin:0;font-family:var(--font-body);font-size:var(--fs-body);line-height:var(--lh-normal);color:var(--text-body);background:var(--surface-page);-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:var(--fw-extrabold);color:var(--text-strong);letter-spacing:var(--ls-heading);margin:0;text-wrap:balance}
p{margin:0;text-wrap:pretty}
a{color:var(--text-link);text-decoration:none;border-bottom:1px solid currentColor;transition:var(--transition-control)}
a:hover{color:var(--text-link-hover)}
:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}
img{display:block;max-width:100%}

:root{
  /* Brand - sampled directly from the logo SVG */
  --mt-blue-900:#032e42;
  --mt-blue-800:#054760;
  --mt-blue-700:#075374;
  --mt-blue-600:#0a6e97;
  --mt-blue-500:#1a8cba;
  --mt-blue-200:#a9d3e5;
  --mt-blue-100:#dceaf2;
  --mt-blue-050:#eef5f9;

  --mt-orange-800:#b96406;
  --mt-orange-700:#d47407;
  --mt-orange-600:#ed8208;
  --mt-orange-500:#f59426;
  --mt-orange-200:#fbd6a8;
  --mt-orange-100:#fdeada;
  --mt-orange-050:#fef6ee;

  /* Neutrals - logo ink plus the light-grey ground of the lockup */
  --mt-ink-900:#181919;
  --mt-ink-800:#262828;
  --mt-ink-700:#3a3d3d;
  --mt-ink-600:#565a5a;
  --mt-ink-500:#767b7b;
  --mt-ink-400:#9ca1a1;
  --mt-ink-300:#c4c8c8;
  --mt-ink-200:#dfe2e2;
  --mt-ink-100:#eef0f0;
  --mt-ink-050:#f7f8f8;
  --mt-white:#ffffff;

  /* Semantic status */
  --mt-success-600:#1e7a4c;
  --mt-success-100:#dff0e6;
  --mt-warning-600:#c98a02;
  --mt-warning-100:#fdf1cf;
  --mt-danger-600:#b32418;
  --mt-danger-100:#fbe1de;

  /* Semantic aliases - use these in components */
  --brand-primary:var(--mt-blue-700);
  --brand-primary-hover:var(--mt-blue-800);
  --brand-primary-active:var(--mt-blue-900);
  --brand-accent:var(--mt-orange-600);
  --brand-accent-hover:var(--mt-orange-700);
  --brand-accent-active:var(--mt-orange-800);

  --text-strong:var(--mt-ink-900);
  --text-body:var(--mt-ink-700);
  --text-muted:var(--mt-ink-500);
  --text-inverse:var(--mt-white);
  --text-on-accent:var(--mt-ink-900);
  --text-link:var(--mt-blue-700);
  --text-link-hover:var(--mt-orange-700);

  --surface-page:var(--mt-white);
  --surface-subtle:var(--mt-ink-050);
  --surface-card:var(--mt-white);
  --surface-inverse:var(--mt-ink-900);
  --surface-brand:var(--mt-blue-700);
  --surface-brand-soft:var(--mt-blue-050);
  --surface-accent-soft:var(--mt-orange-050);

  --border-hairline:var(--mt-ink-200);
  --border-strong:var(--mt-ink-300);
  --border-brand:var(--mt-blue-700);
  --border-accent:var(--mt-orange-600);
  --focus-ring:var(--mt-orange-600);
}

:root{
  --shadow-none:none;
  --shadow-sm:0 1px 2px rgba(24,25,25,.08);
  --shadow-md:0 2px 6px rgba(24,25,25,.10);
  --shadow-lg:0 10px 28px rgba(24,25,25,.12);
  --shadow-inset-top:inset 0 1px 0 rgba(255,255,255,.14);
  --shadow-focus:0 0 0 3px rgba(237,130,8,.45);
  --elevation-card:var(--shadow-sm);
  --elevation-card-hover:var(--shadow-md);
  --elevation-overlay:var(--shadow-lg);
  --scrim-photo:linear-gradient(180deg,rgba(3,46,66,.86) 0%,rgba(3,46,66,.55) 55%,rgba(3,46,66,.82) 100%); /* @kind other */
  --scrim-photo-bottom:linear-gradient(0deg,rgba(3,46,66,.9) 0%,rgba(3,46,66,0) 70%); /* @kind other */
}

:root{
  --dur-fast:120ms; /* @kind other */
  --dur-base:180ms; /* @kind other */
  --dur-slow:280ms; /* @kind other */
  --ease-standard:cubic-bezier(.2,.6,.2,1); /* @kind other */
  --ease-out:cubic-bezier(0,0,.2,1); /* @kind other */
  --ease-in-out:cubic-bezier(.4,0,.2,1); /* @kind other */
  --transition-control:background-color var(--dur-fast) var(--ease-standard),color var(--dur-fast) var(--ease-standard),border-color var(--dur-fast) var(--ease-standard),box-shadow var(--dur-fast) var(--ease-standard); /* @kind other */
}
@media (prefers-reduced-motion:reduce){:root{--dur-fast:0ms; /* @kind other */ --dur-base:0ms; /* @kind other */ --dur-slow:0ms /* @kind other */}}

:root{
  --radius-0:0px;
  --radius-xs:2px;
  --radius-sm:4px;
  --radius-md:6px;
  --radius-lg:10px;
  --radius-pill:999px;
  /* The brand is squared-off and industrial - controls and cards stay tight */
  --radius-control:4px;
  --radius-card:6px;
  --radius-badge:2px;
}

:root{
  --space-0:0px;
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:24px;
  --space-6:32px;
  --space-7:40px;
  --space-8:56px;
  --space-9:72px;
  --space-10:96px;
  --space-11:128px;

  --gutter-inline:24px;
  --section-y:96px;
  --section-y-compact:56px;
  --container-max:1200px; /* @kind spacing */
  --container-narrow:760px; /* @kind spacing */
  --control-h-sm:36px; /* @kind spacing */
  --control-h-md:44px; /* @kind spacing */
  --control-h-lg:54px; /* @kind spacing */
}

:root{
  --font-display:"Montserrat",system-ui,sans-serif;
  --font-body:"Barlow",system-ui,sans-serif;
  --font-condensed:"Barlow Condensed","Barlow",system-ui,sans-serif;
  --font-mono:ui-monospace,Menlo,monospace;

  --fw-regular:400; /* @kind font */
  --fw-medium:500; /* @kind font */
  --fw-semibold:600; /* @kind font */
  --fw-bold:700; /* @kind font */
  --fw-extrabold:800; /* @kind font */
  --fw-black:900; /* @kind font */

  --fs-display-1:64px;
  --fs-display-2:48px;
  --fs-display-3:36px;
  --fs-h1:30px;
  --fs-h2:24px;
  --fs-h3:20px;
  --fs-body-lg:18px;
  --fs-body:16px;
  --fs-body-sm:14px;
  --fs-caption:13px;
  --fs-eyebrow:12px;

  --lh-tight:1.04; /* @kind font */
  --lh-snug:1.18; /* @kind font */
  --lh-normal:1.5; /* @kind font */
  --lh-relaxed:1.62; /* @kind font */

  --ls-display:-0.02em; /* @kind font */
  --ls-heading:-0.01em; /* @kind font */
  --ls-body:0em; /* @kind font */
  --ls-eyebrow:0.14em; /* @kind font */

  --type-hero-family:var(--font-display); /* @kind other */
  --type-hero-weight:var(--fw-black); /* @kind other */
  --type-heading-family:var(--font-display); /* @kind other */
  --type-heading-weight:var(--fw-extrabold); /* @kind other */
  --type-body-family:var(--font-body); /* @kind other */
  --type-eyebrow-transform:uppercase; /* @kind other */
}

a{border-bottom:0}body{font-family:Arial,sans-serif}h1,h2,h3,.button{font-family:Arial,sans-serif}.brand-logo{width:180px;height:44px;object-fit:contain}.button{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border-radius:4px;border:1px solid transparent;background:var(--brand-primary);color:#fff;font-weight:700;font-size:16px;cursor:pointer;min-height:48px}.button:hover{background:var(--brand-primary-hover);color:white}.button.accent{background:var(--brand-accent);color:#181919}.button.accent:hover{background:var(--brand-accent-hover)}.button.outline{background:white;color:var(--brand-primary);border-color:var(--brand-primary)}.eyebrow{display:block;color:#a95100;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin-bottom:14px}.section-heading h2{font-size:clamp(28px,3.3vw,40px);line-height:1.15;margin-bottom:18px}.section-heading p{font-size:18px;line-height:1.65;max-width:65ch}.on-dark h2,.on-dark p,.on-dark .eyebrow,.stat{color:white}.service-card{padding:28px;background:white;border:1px solid var(--border-hairline);border-top:3px solid var(--brand-primary);border-radius:4px}.service-icon{display:block;color:var(--brand-primary);font-size:32px;margin-bottom:22px}.service-card h3{font-size:22px;margin-bottom:14px}.service-card p{line-height:1.65}.service-card ul{padding-left:18px;font-size:14px;line-height:1.8;margin-top:20px}.service-card:nth-child(even){border-top-color:var(--brand-accent)}.stat strong{display:block;font-size:44px;line-height:1.2}.stat span{display:block;font-size:14px;margin-top:10px}.contact-strip{display:grid;gap:12px}.contact-strip a{font-weight:700;overflow-wrap:anywhere}label{display:grid;gap:8px;font-size:14px;font-weight:700}input,textarea,select{width:100%;min-width:0;border:1px solid #9ca1a1;border-radius:4px;padding:12px;font:inherit;font-size:16px;background:white;color:#181919}textarea{resize:vertical}input:focus,textarea:focus,select:focus{outline:2px solid #ed8208;outline-offset:2px}.hero-photo img{width:100%;height:100%;object-fit:cover;border-radius:6px}.hero-photo{aspect-ratio:4/5}.hero.no-photo{grid-template-columns:1fr!important;max-width:1000px!important}.hero.no-photo>div{max-width:800px}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.notice{padding:16px;background:#eef5f9;border-left:3px solid #075374}.skip-link{position:absolute;left:-10000px}.skip-link:focus{left:10px;top:10px;background:white;padding:15px;z-index:100000}.content-page{max-width:1000px;margin:auto;padding:64px 24px;min-height:55vh}.content-page article{margin-bottom:48px}.content-page h1{margin-bottom:24px}.content-page p{margin-bottom:20px}html{scroll-behavior:smooth;scroll-padding-top:110px}.admin-bar header{top:32px!important}footer a{color:white}footer .brand-logo{background:white;border-radius:3px}nav{flex-wrap:wrap}section{scroll-margin-top:24px}
@media(max-width:800px){header>div{flex-wrap:wrap;gap:16px!important}header nav{gap:16px!important}header nav .button{display:none}.hero,section#contatti>div,section[style*="surface-brand"]>div{grid-template-columns:1fr!important;gap:32px!important}.hero{padding-top:48px!important;padding-bottom:48px!important}.hero-photo{max-height:450px}section>div[style*="padding: 96px"]{padding-top:56px!important;padding-bottom:56px!important}section#metodo{padding-top:56px!important;padding-bottom:56px!important}.admin-bar header{top:46px!important}}
@media(max-width:480px){header{position:relative!important}header nav a{font-size:12px!important}header nav{gap:14px!important}.stat strong{font-size:32px}.hero h1{font-size:38px!important}#contatti>div>div:last-child{padding:22px!important}.button{width:100%}.hero>div>div{width:100%}footer>div{align-items:flex-start!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
