/* ═══════════════════════════════════════════════════════════════
   SOLUTION ROOF – STYLESHEET CONDIVISO
   Identità: rame/bronzo/sabbia | Tono: tecnico, professionale
═══════════════════════════════════════════════════════════════ */

/* ─── VARIABLES ─────────────────────────────────────────────── */
:root {
  --copper:        #C07A30;
  --copper-light:  #D9943A;
  --copper-dark:   #9A5E1E;
  --bronze:        #8B6220;
  --gold:          #B8962E;
  --sand:          #F5EDD8;
  --sand-mid:      #E8D9B8;
  --sand-dark:     #C8B898;
  --dark:          #1A1710;
  --dark-mid:      #2C2820;
  --dark-soft:     #3E3830;
  --grey:          #6B6458;
  --grey-light:    #A09880;
  --off-white:     #FAF7F0;
  --white:         #FFFFFF;
  --primary:       var(--copper);
  --primary-hover: var(--copper-light);
  --bg-light:      var(--off-white);
  --text-main:     var(--dark);
  --text-muted:    var(--grey);
  --border:        rgba(192,122,48,0.2);
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;
  --font-head:     'Playfair Display', Georgia, serif;
  --section-py:    96px;
  --container:     1200px;
  --header-h:      72px;
  --ease:          cubic-bezier(0.25,0.46,0.45,0.94);
  --ease-out:      cubic-bezier(0.16,1,0.3,1);
  --dur:           0.3s;
  --dur-slow:      0.5s;
  --shadow-sm:     0 2px 8px rgba(26,23,16,0.08);
  --shadow-md:     0 8px 32px rgba(26,23,16,0.12);
  --shadow-lg:     0 20px 60px rgba(26,23,16,0.16);
  --shadow-copper: 0 8px 32px rgba(192,122,48,0.2);
}

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text-main); background: linear-gradient(rgba(26,23,16,0.74), rgba(26,23,16,0.84)), url('../images/sfondo-main.webp') center center / cover no-repeat fixed; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
dialog { border: none; padding: 0; background: transparent; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

/* ─── CONTAINER ─────────────────────────────────────────────── */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px,5vw,60px); }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--copper); margin-bottom: 12px;
}
.section-label--light { color: var(--sand-mid); }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 700;
  line-height: 1.2; color: var(--dark); margin-bottom: 16px;
}
.section-title--light { color: var(--off-white); }
.section-sub { font-size: 1rem; color: var(--text-muted); max-width: 580px; line-height: 1.75; }
.section-header { margin-bottom: 56px; }
.lead { font-size: 1.05rem; font-weight: 500; color: var(--dark); line-height: 1.75; }
.body-text { font-size: 0.93rem; color: var(--text-muted); line-height: 1.8; }

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 28px; border-radius: 4px;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em;
  transition: all var(--dur) var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--copper); color: var(--white); box-shadow: var(--shadow-copper); }
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--copper-light); transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(192,122,48,0.3);
}
.btn-outline { background: transparent; color: var(--copper); border: 2px solid var(--copper); }
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--copper); color: var(--white); transform: translateY(-2px);
}
.btn-outline-light { background: transparent; color: var(--off-white); border: 2px solid rgba(245,237,216,0.5); }
.btn-outline-light:hover, .btn-outline-light:focus-visible {
  background: rgba(245,237,216,0.15); border-color: var(--sand); transform: translateY(-2px);
}
.btn-ghost { background: transparent; color: var(--copper); padding: 10px 0; font-weight: 600; letter-spacing: 0.04em; }
.btn-ghost:hover { color: var(--copper-light); gap: 12px; }
.btn-full { width: 100%; }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1ebe5c; transform: translateY(-2px); }
.link-btn {
  background: none; border: none; padding: 0; color: var(--copper);
  cursor: pointer; font-size: inherit; font-family: inherit;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ─── HEADER ─────────────────────────────────────────────────── */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  background: rgba(26,23,16,0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192,122,48,0.15);
  transition: box-shadow var(--dur) var(--ease);
}
#header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.header-logo { display: flex; align-items: center; height: 46px; flex-shrink: 0; }
.logo-img { height: 46px; width: auto; object-fit: contain; }
.nav-list { display: flex; align-items: center; gap: 2px; }

/* Dropdown */
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 13px;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.05em;
  color: rgba(245,237,216,0.75); border-radius: 3px;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 2px; left: 13px; right: 13px;
  height: 1px; background: var(--copper);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--sand); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.nav-cta {
  background: var(--copper); color: var(--white); font-weight: 600; padding: 8px 18px;
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover { background: var(--copper-light); color: var(--white); }
.nav-arrow { font-size: 0.6rem; transition: transform var(--dur) var(--ease); }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown menu */
.nav-dropdown,
.dropdown {
  position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 240px;
  background: var(--dark-mid);
  border: 1px solid rgba(192,122,48,0.2);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  z-index: 10;
  padding: 8px 0;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.nav-dropdown a,
.dropdown-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  font-size: 0.82rem; font-weight: 500; color: var(--grey-light);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-dropdown a i,
.dropdown-link i { font-size: 0.75rem; color: var(--copper); flex-shrink: 0; }
.nav-dropdown a:hover,
.dropdown-link:hover { color: var(--sand); background: rgba(192,122,48,0.07); }
.nav-dropdown hr,
.dropdown hr { border: none; border-top: 1px solid rgba(192,122,48,0.1); margin: 4px 0; }
.dropdown li { list-style: none; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; width: 40px; }
.hamburger span { display: block; height: 2px; background: var(--sand); border-radius: 2px; transition: all var(--dur) var(--ease); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ─── PAGE HERO (pagine interne) ─────────────────────────────── */
.page-hero {
  position: relative; padding-top: calc(var(--header-h) + 72px);
  padding-bottom: 72px; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: var(--dark);
}
.page-hero-bg.has-img {
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,23,16,0.95) 0%, rgba(44,32,12,0.88) 100%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content .section-label { margin-bottom: 8px; }
.page-hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem,5vw,3.2rem); font-weight: 700;
  color: var(--sand); line-height: 1.15; margin-bottom: 20px;
}
.page-hero-content .hero-intro {
  font-size: 1.05rem; color: var(--grey-light); line-height: 1.75;
  max-width: 640px; margin-bottom: 36px;
}
.page-hero-content .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: var(--grey); margin-bottom: 24px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--grey-light); transition: color var(--dur) var(--ease); }
.breadcrumb a:hover { color: var(--copper); }
.breadcrumb span { color: var(--copper-light); font-weight: 600; }
.breadcrumb i { font-size: 0.55rem; color: var(--grey); }

/* ─── SEZIONE GENERICA ───────────────────────────────────────── */
.section { padding-block: var(--section-py); }
.section--light { background: var(--off-white); }
.section--white { background: var(--white); }
.section--dark { background: var(--dark); }
.section--dark .section-label { color: var(--copper); }
.section--dark .section-title { color: var(--sand); }
.section--dark .section-sub { color: var(--grey-light); }
.section--sand { background: var(--sand); }

/* ─── CARD GENERICA ──────────────────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 36px 28px;
  transition: all var(--dur) var(--ease); position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--copper), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-slow) var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(192,122,48,0.4); }
.card:hover::before { transform: scaleX(1); }
.card--dark {
  background: var(--dark-mid); border-color: rgba(192,122,48,0.15);
}
.card--dark:hover { background: var(--dark-soft); }

/* ─── ICON CIRCLE ─────────────────────────────────────────────── */
.icon-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(192,122,48,0.1); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--copper);
  transition: all var(--dur) var(--ease);
  flex-shrink: 0;
}
.icon-circle--lg { width: 72px; height: 72px; font-size: 1.5rem; }
.card:hover .icon-circle,
.icon-circle:hover { background: var(--copper); color: var(--white); }

/* ─── 2-COL LAYOUT ────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two-col--60-40 { grid-template-columns: 0.6fr 0.4fr; }
.two-col--40-60 { grid-template-columns: 0.4fr 0.6fr; }
.two-col--reverse > *:first-child { order: 2; }
.two-col--reverse > *:last-child  { order: 1; }

/* ─── SERVIZI GRID ────────────────────────────────────────────── */
.servizi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.servizi-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* ─── LISTA CHECK ─────────────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.6;
  padding: 12px 0; border-bottom: 1px solid rgba(192,122,48,0.08);
}
.check-list li:last-child { border-bottom: none; }
.check-list li i { color: var(--copper); font-size: 0.8rem; margin-top: 4px; flex-shrink: 0; }
.check-list--light li { color: var(--grey-light); border-bottom-color: rgba(192,122,48,0.1); }
.check-list--light li i { color: var(--copper-light); }

/* ─── STEP PROCESS ────────────────────────────────────────────── */
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 24px 0; border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--copper);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; color: var(--white);
  flex-shrink: 0; letter-spacing: 0.05em;
}
.step-body h4 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.step-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.process-steps--dark .process-step { border-bottom-color: rgba(192,122,48,0.1); }
.process-steps--dark .step-body h4 { color: var(--sand-mid); }
.process-steps--dark .step-body p { color: var(--grey-light); }

/* ─── HIGHLIGHT BOX ───────────────────────────────────────────── */
.highlight-box {
  padding: 28px 32px; border-left: 4px solid var(--copper);
  background: rgba(192,122,48,0.05); border-radius: 0 8px 8px 0;
}
.highlight-box p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }
.highlight-box--dark {
  background: rgba(192,122,48,0.08); border-left-color: var(--copper-light);
}
.highlight-box--dark p { color: var(--grey-light); }

/* ─── TAG ─────────────────────────────────────────────────────── */
.tag {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--copper); padding: 3px 10px;
  background: rgba(192,122,48,0.1); border-radius: 3px;
}
.tag--dark { background: rgba(192,122,48,0.15); color: var(--copper-light); }

/* ─── CTA BANNER ──────────────────────────────────────────────── */
.cta-banner {
  padding-block: 72px;
  background: var(--dark);
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 700;
  color: var(--sand); margin-bottom: 12px;
}
.cta-banner p { font-size: 0.95rem; color: var(--grey-light); margin-bottom: 32px; max-width: 520px; margin-inline: auto; }
.cta-banner .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
#footer {
  background: var(--dark);
  border-top: 1px solid rgba(192,122,48,0.15);
  padding-top: 64px; padding-bottom: 32px;
}
.footer-layout {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo { height: 52px; width: auto; margin-bottom: 16px; }
.footer-tagline { font-size: 0.78rem; font-weight: 500; color: var(--grey-light); letter-spacing: 0.06em; margin-bottom: 4px; }
.footer-claim { font-size: 0.76rem; color: var(--grey); font-style: italic; }
.footer-col h4 {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--copper); margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(192,122,48,0.2);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a, .footer-col ul li button {
  font-size: 0.82rem; color: var(--grey-light); transition: color var(--dur) var(--ease);
}
.footer-col ul li a:hover, .footer-col ul li button:hover { color: var(--copper-light); }
.footer-col ul li span { font-size: 0.82rem; color: var(--grey); }
.footer-note { font-size: 0.74rem; color: var(--grey); line-height: 1.6; margin-top: 16px; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(192,122,48,0.1); text-align: center;
}
.footer-bottom p { font-size: 0.75rem; color: var(--grey); letter-spacing: 0.04em; }

/* ─── WHATSAPP STICKY ─────────────────────────────────────────── */
.whatsapp-sticky {
  position: fixed; bottom: 32px; right: 32px; z-index: 800;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--white);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  transition: all var(--dur) var(--ease);
}
.whatsapp-sticky::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4); animation: waRing 2s ease-in-out infinite;
}
.whatsapp-sticky:hover { transform: scale(1.1); box-shadow: 0 12px 36px rgba(37,211,102,0.45); }
.wa-tooltip {
  position: absolute; right: 72px; top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--dark); color: var(--sand);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 6px 14px; border-radius: 4px; white-space: nowrap;
  pointer-events: none; opacity: 0; transition: all var(--dur) var(--ease);
}
.wa-tooltip::after {
  content: ''; position: absolute; right: -6px; top: 50%;
  transform: translateY(-50%); border: 6px solid transparent;
  border-right: none; border-left-color: var(--dark);
}
.whatsapp-sticky:hover .wa-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ─── MODAL OVERLAY ───────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(26,23,16,0.8); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

/* ─── MODAL ───────────────────────────────────────────────────── */
.modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%,-45%) scale(0.94);
  z-index: 1010; max-width: 560px; width: calc(100% - 48px);
  max-height: 88vh; overflow-y: auto;
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.modal.active { opacity: 1; pointer-events: all; transform: translate(-50%,-50%) scale(1); }
.modal::backdrop { display: none; }
.modal--wide { max-width: 720px; }
.modal-close {
  position: sticky; top: 0; right: 0; float: right;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--grey); background: var(--white); border-radius: 50%;
  transition: all var(--dur) var(--ease); z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); margin: 16px 16px 0 auto; flex-shrink: 0;
}
.modal-close:hover { color: var(--dark); background: var(--sand); }
.modal-content { padding: 8px 36px 36px; clear: both; }
.modal-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(192,122,48,0.1); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--copper); margin-bottom: 20px;
}
.modal-content h3 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.modal-content p, .modal-content li { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; }
.modal-content h4 { font-size: 0.78rem; font-weight: 700; color: var(--dark); margin: 20px 0 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.modal-cta { display: inline-flex; align-items: center; margin-top: 16px; }

/* ─── FORM ───────────────────────────────────────────────────── */
.form-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 48px 40px; box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--dark); margin-bottom: 8px; text-transform: uppercase;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: 4px; font-family: var(--font-body); font-size: 0.9rem;
  color: var(--dark); background: var(--white);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none; -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(192,122,48,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--grey-light); font-size: 0.85rem; }
.form-group input.error, .form-group select.error, .form-group textarea.error { border-color: #c0392b; }
.form-error { display: block; font-size: 0.75rem; color: #c0392b; margin-top: 4px; min-height: 1rem; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C07A30' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.form-check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; border: 2px solid var(--border); border-radius: 3px; margin-top: 2px; cursor: pointer; accent-color: var(--copper); }
.form-check label { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; cursor: pointer; }
.btn-loading { display: none; }
.loading .btn-text { display: none; }
.loading .btn-loading { display: inline; }
.form-success {
  display: flex; align-items: flex-start; gap: 12px; padding: 20px;
  background: rgba(39,174,96,0.08); border: 1px solid rgba(39,174,96,0.3);
  border-radius: 6px; font-size: 0.9rem; color: #1a7a3d; line-height: 1.5; margin-top: 16px;
}
.form-success i { font-size: 1.2rem; color: #27ae60; flex-shrink: 0; margin-top: 1px; }

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes waRing { 0%,100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.3); opacity: 0; } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .servizi-grid { grid-template-columns: repeat(2,1fr); }
  .two-col, .two-col--60-40, .two-col--40-60 { grid-template-columns: 1fr; gap: 48px; }
  .two-col--reverse > *:first-child { order: unset; }
  .two-col--reverse > *:last-child  { order: unset; }
  .footer-layout { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  :root { --section-py: 64px; }
  .hamburger { display: flex; }
  #main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(26,23,16,0.98); border-bottom: 1px solid rgba(192,122,48,0.15);
    padding: 24px 0; transform: translateY(-100%); opacity: 0; pointer-events: none;
    transition: all var(--dur-slow) var(--ease); z-index: 890;
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  #main-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 0 24px; }
  .nav-link { padding: 14px 0; font-size: 0.95rem; border-bottom: 1px solid rgba(192,122,48,0.08); display: block; }
  .nav-link.nav-cta { margin-top: 16px; padding: 14px; text-align: center; }
  .nav-dropdown,
  .dropdown {
    position: static; opacity: 1; pointer-events: all; transform: none;
    box-shadow: none; border: none; border-radius: 0;
    background: transparent; padding: 0 0 8px 16px;
    display: none;
  }
  .nav-item.open .nav-dropdown,
  .nav-item.open .dropdown { display: block; }
  .nav-dropdown a,
  .dropdown-link { padding: 9px 0; font-size: 0.85rem; }
  .nav-dropdown hr,
  .dropdown hr { margin: 4px 0; }
  .servizi-grid, .servizi-grid-3 { grid-template-columns: 1fr; }
  .footer-layout { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-content .hero-actions { flex-direction: column; }
  .page-hero-content .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-banner .cta-actions { flex-direction: column; align-items: center; }
  .whatsapp-sticky { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 1.5rem; }
  .modal { width: calc(100% - 24px); max-height: 90vh; }
  .modal-content { padding: 8px 22px 28px; }
  .form-wrap { padding: 32px 20px; }
}
@media (max-width: 480px) {
  .footer-layout { grid-template-columns: 1fr; }
}
@media print {
  #header, .whatsapp-sticky, .modal, .modal-overlay { display: none !important; }
  body { color: #000; }
}
