/* ══════════════════════════════════════
   QUASER S.R.L. — STYLES
   Design tokens basati sulla palette logo
══════════════════════════════════════ */
:root {
  --blue-950:  #071c3f;
  --blue-900:  #0e3460;
  --blue-800:  #124080;
  --blue-700:  #1a5296;
  --blue-600:  #1a5fa8;
  --blue-500:  #2272c3;
  --blue-400:  #5096d6;
  --blue-300:  #7eb8e8;
  --blue-200:  #bfdbfe;
  --blue-100:  #ddeaf8;
  --blue-50:   #eef5fc;

  --orange-700: #c45f0a;
  --orange-600: #e06b10;
  --orange-500: #f47920;
  --orange-400: #f7953f;
  --orange-300: #fbb06a;
  --orange-100: #fde8d0;
  --orange-50:  #fff4ec;

  --green-700: #15803d;
  --green-100: #bbf7d0;
  --green-50:  #f0fdf4;

  --red-700: #b91c1c;
  --red-100: #fecaca;
  --red-50:  #fef2f2;

  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;

  --font: 'Nunito', system-ui, sans-serif;
  --radius-xs: 6px;
  --radius-sm: 9px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 1px 3px rgba(26,95,168,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 18px rgba(26,95,168,.12), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg: 0 12px 40px rgba(26,95,168,.16);
  --shadow-xl: 0 20px 60px rgba(26,95,168,.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }

/* ══ ANIMATIONS ══ */
@keyframes fadeUp   { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes pip      { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.8)} }
@keyframes float    { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes bar-fill { from{width:0} to{width:var(--pct)} }

.anim-1 { animation: fadeUp .55s .1s ease both; }
.anim-2 { animation: fadeUp .55s .22s ease both; }
.anim-3 { animation: fadeUp .55s .34s ease both; }
.anim-4 { animation: fadeUp .55s .46s ease both; }
.anim-5 { animation: fadeUp .55s .58s ease both; }

/* ══ NAVBAR ══ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  height: 68px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 0 var(--gray-200), 0 2px 8px rgba(0,0,0,.04);
  display: flex; align-items: center;
  padding: 0 52px;
  gap: 32px;
  animation: fadeIn .4s ease both;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; cursor: pointer; }
.nav-logo-img { height: 46px; width: auto; display: block; transition: transform .15s ease; }
.nav-logo:hover .nav-logo-img { transform: scale(1.03); }
.foot-logo-block { margin-bottom: 16px; }
/* Quando il footer-logo è un'immagine (PHP), aggiunge un pannello bianco per contrasto sul navy */
.foot-logo-block:has(img) { background: #fff; padding: 14px 18px; border-radius: var(--radius-sm); display: inline-block; }
.foot-logo-block img { width: 200px; height: auto; display: block; }
.logo-icon-group { display: flex; align-items: center; position: relative; margin-right: 4px; }
.logo-bubbles { display: flex; flex-direction: column; gap: 2px; margin-right: -3px; margin-top: 1px; z-index: 1; }
.logo-bubble-row { display: flex; gap: 2px; align-items: center; }
.lb { border-radius: 50%; background: var(--orange-500); animation: pip 3s infinite; }
.lb1 { width:6px;  height:8px;  animation-delay:.0s; }
.lb2 { width:4px;  height:6px;  animation-delay:.2s; }
.lb3 { width:8px;  height:6px;  animation-delay:.1s; }
.lb4 { width:5px;  height:4px;  animation-delay:.3s; }
.lb5 { width:4px;  height:6px;  animation-delay:.15s;}
.lb6 { width:6px;  height:4px;  animation-delay:.25s;}
.logo-q { font-size: 34px; font-weight: 900; color: var(--blue-600); letter-spacing: -.03em; line-height: 1; }
.logo-text-block { display: flex; flex-direction: column; gap: 0; }
.logo-name { font-size: 28px; font-weight: 900; color: var(--blue-600); letter-spacing: -.03em; line-height: 1; display: flex; align-items: baseline; gap: 3px; }
.logo-srl { font-size: 10px; font-weight: 700; color: var(--blue-600); margin-bottom: 3px; align-self: flex-start; margin-top: 5px; }
.logo-underline { display: flex; flex-direction: column; gap: 1px; }
.logo-bar { height: 3px; background: var(--orange-500); border-radius: 2px; width: 100%; }
.logo-tagline { font-size: 10px; font-style: italic; font-weight: 700; color: var(--blue-600); letter-spacing: .02em; line-height: 1.2; }

.nav-links { display: flex; gap: 2px; list-style: none; margin-left: auto; }
.nav-links a {
  font-size: 14px; font-weight: 700; color: var(--gray-600);
  padding: 6px 13px; border-radius: var(--radius-sm);
  transition: all .15s ease; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-600); background: var(--blue-50); }

.nav-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.btn-nav-ghost {
  font-family: var(--font); font-size: 13px; font-weight: 700;
  background: transparent; border: 1.5px solid var(--gray-300);
  color: var(--gray-600); padding: 7px 16px; border-radius: var(--radius-sm);
  cursor: pointer; transition: all .15s; white-space: nowrap;
  text-decoration: none; display: inline-flex; align-items: center;
}
.btn-nav-ghost:hover { border-color: var(--blue-400); color: var(--blue-600); }
.btn-nav-fad {
  font-family: var(--font); font-size: 13px; font-weight: 800;
  background: var(--orange-500); color: #fff; border: none;
  padding: 8px 18px; border-radius: var(--radius-sm); cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  box-shadow: 0 2px 10px rgba(244,121,32,.38);
  transition: all .18s; white-space: nowrap; text-decoration: none;
}
.btn-nav-fad:hover { background: var(--orange-600); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(244,121,32,.45); }
.fad-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.7); animation: pip 2s infinite; }

/* Mobile nav toggle */
.nav-toggle {
  display: none; background: transparent; border: none; cursor: pointer;
  padding: 8px; margin-left: auto; flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--blue-700); border-radius: 2px; transition: all .2s; }

/* ══ HERO ══ */
.hero-shell {
  background: linear-gradient(155deg, var(--blue-50) 0%, #fff 48%, var(--orange-50) 100%);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden; position: relative;
}
.hero-shell::before {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,95,168,.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-shell::after {
  content: ''; position: absolute; left: -80px; bottom: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,121,32,.05) 0%, transparent 65%);
  pointer-events: none;
}
.hero {
  max-width: 1200px; margin: 0 auto;
  padding: 96px 52px 92px;
  display: grid; grid-template-columns: 1fr 420px; gap: 72px; align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  color: var(--blue-700); padding: 5px 14px; border-radius: 99px;
  font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow-pip { width: 7px; height: 7px; border-radius: 50%; background: var(--orange-500); animation: pip 2s infinite; }
.hero h1 {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900; line-height: 1.08; letter-spacing: -.03em;
  color: var(--blue-900); margin-bottom: 22px;
}
.hero h1 .hl { color: var(--orange-500); }
.hero-sub { font-size: 17px; color: var(--gray-500); font-weight: 500; max-width: 480px; margin-bottom: 38px; line-height: 1.65; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }

.btn-primary {
  font-family: var(--font); font-weight: 800; font-size: 15px;
  background: var(--blue-600); color: #fff; border: none;
  padding: 14px 30px; border-radius: var(--radius-sm); cursor: pointer;
  box-shadow: 0 4px 18px rgba(26,95,168,.32);
  transition: all .2s; white-space: nowrap;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
}
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,95,168,.42); color: #fff; }

.btn-orange {
  font-family: var(--font); font-weight: 800; font-size: 15px;
  background: var(--orange-500); color: #fff; border: none;
  padding: 14px 30px; border-radius: var(--radius-sm); cursor: pointer;
  box-shadow: 0 4px 18px rgba(244,121,32,.32);
  transition: all .2s; white-space: nowrap;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
}
.btn-orange:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(244,121,32,.42); color: #fff; }

.btn-ghost {
  font-family: var(--font); font-weight: 700; font-size: 15px;
  background: transparent; color: var(--gray-600);
  border: 1.5px solid var(--gray-300);
  padding: 13px 24px; border-radius: var(--radius-sm); cursor: pointer;
  transition: all .18s; white-space: nowrap;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
}
.btn-ghost:hover { border-color: var(--blue-400); color: var(--blue-700); background: var(--blue-50); }

.hero-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chip-label { font-size: 11px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: .08em; }
.chip { font-size: 11px; font-weight: 700; color: var(--blue-700); background: var(--blue-50); border: 1px solid var(--blue-100); padding: 3px 10px; border-radius: 99px; }

.hero-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); overflow: hidden; animation: float 6s ease-in-out infinite; }
.hc-header { background: linear-gradient(135deg, var(--blue-700), var(--blue-600)); padding: 22px 26px; display: flex; align-items: center; gap: 14px; }
.hc-icon { width: 44px; height: 44px; border-radius: 11px; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.hc-title { font-size: 15px; font-weight: 800; color: #fff; }
.hc-sub   { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 1px; }
.hc-live  { margin-left: auto; display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.65); }
.hc-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #86efac; animation: pip 2s infinite; }
.hc-body { padding: 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.hc-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-radius: 10px; background: var(--gray-50); border: 1px solid var(--gray-200); transition: all .15s; }
.hc-row:hover { background: var(--blue-50); border-color: var(--blue-100); }
.hc-lbl { font-size: 13px; font-weight: 600; color: var(--gray-600); }
.hc-val { font-size: 22px; font-weight: 900; color: var(--blue-700); letter-spacing: -.02em; }
.hc-badge { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 2px 8px; border-radius: 99px; margin-left: 6px; }
.badge-blue { background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100); }
.badge-or   { background: var(--orange-50); color: var(--orange-700); border: 1px solid var(--orange-100); }
.badge-grn  { background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100); }
.hc-progress-row { padding: 13px 16px; border-radius: 10px; background: var(--gray-50); border: 1px solid var(--gray-200); }
.hc-prog-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.hc-prog-label { font-size: 13px; font-weight: 600; color: var(--gray-600); }
.hc-prog-val   { font-size: 13px; font-weight: 900; color: var(--blue-700); }
.hc-bar-track { height: 6px; background: var(--gray-200); border-radius: 99px; overflow: hidden; }
.hc-bar-fill  { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue-500), var(--orange-500)); --pct: 98%; animation: bar-fill 1.2s .8s ease both; }
.hc-footer { padding: 14px 26px; border-top: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-between; }
.hc-footer-loc { font-size: 11px; color: var(--gray-400); font-weight: 600; }
.hc-footer-tag { font-size: 11px; font-weight: 800; color: var(--orange-500); display: flex; align-items: center; gap: 4px; }

/* ══ SECTION SCAFFOLD ══ */
.section      { padding: 88px 52px; }
.section-alt  { background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.section-blue { background: var(--blue-50); border-top: 1px solid var(--blue-100); border-bottom: 1px solid var(--blue-100); }
.inner { max-width: 1100px; margin: 0 auto; }
.inner-narrow { max-width: 820px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 56px; }
.s-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange-600); margin-bottom: 14px;
}
.s-eyebrow::before, .s-eyebrow::after {
  content: ''; display: block; width: 28px; height: 2.5px;
  background: linear-gradient(90deg, var(--orange-300), var(--orange-500));
  border-radius: 2px;
}
.s-title { font-size: clamp(26px, 3vw, 40px); font-weight: 900; color: var(--blue-900); letter-spacing: -.025em; line-height: 1.15; margin-bottom: 14px; }
.s-sub { font-size: 16px; color: var(--gray-500); max-width: 510px; margin: 0 auto; font-weight: 500; }

/* page header (per pagine dedicate) */
.page-header { background: linear-gradient(155deg, var(--blue-50) 0%, #fff 60%, var(--orange-50) 100%); padding: 70px 52px 60px; border-bottom: 1px solid var(--gray-200); position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; right: -120px; top: -120px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(26,95,168,.06) 0%, transparent 65%); pointer-events: none; }
.page-header-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; text-align: center; }
.page-header h1 { font-size: clamp(28px, 3.5vw, 46px); font-weight: 900; color: var(--blue-900); letter-spacing: -.025em; margin-bottom: 14px; }
.page-header p { font-size: 17px; color: var(--gray-500); font-weight: 500; max-width: 620px; margin: 0 auto; }
.breadcrumb { font-size: 12px; font-weight: 700; color: var(--gray-400); margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.breadcrumb a { color: var(--blue-600); }
.breadcrumb a:hover { color: var(--orange-500); }
.breadcrumb .sep { margin: 0 8px; color: var(--gray-300); }

/* ══ SERVIZI ══ */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.svc {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: all .24s cubic-bezier(.25,.46,.45,.94);
}
.svc::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: var(--radius) var(--radius) 0 0; background: var(--top-color, var(--blue-600)); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(26,95,168,.2); }
.svc:hover::after { transform: scaleX(1); }
.svc.top-orange { --top-color: var(--orange-500); }
.svc.top-blue   { --top-color: var(--blue-600); }
.svc-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.ic-b { background: var(--blue-50);   border: 1px solid var(--blue-100);   }
.ic-o { background: var(--orange-50); border: 1px solid var(--orange-100); }
.ic-g { background: var(--gray-100);  border: 1px solid var(--gray-200);   }
/* immagine CMS dentro i box icona */
.cms-voce-img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.norm-em .cms-voce-img { width: 30px; height: 30px; border-radius: 7px; }

.svc h3 { font-size: 15px; font-weight: 800; color: var(--blue-900); margin-bottom: 9px; letter-spacing: -.01em; }
.svc p  { font-size: 13px; color: var(--gray-500); line-height: 1.58; font-weight: 500; }
.svc.detailed { padding: 36px; }
.svc.detailed h3 { font-size: 18px; }
.svc.detailed p { font-size: 14px; }
.svc.detailed ul { list-style: none; margin-top: 14px; }
.svc.detailed li { font-size: 13px; color: var(--gray-600); padding: 6px 0 6px 22px; position: relative; font-weight: 500; }
.svc.detailed li::before { content: '✓'; position: absolute; left: 0; color: var(--orange-500); font-weight: 900; }

.pill {
  display: inline-block; margin-top: 16px;
  font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 99px;
}
.pill-red { background:var(--red-50); color:var(--red-700); border:1px solid var(--red-100); }
.pill-or  { background:var(--orange-50); color:var(--orange-700); border:1px solid var(--orange-100); }
.pill-bl  { background:var(--blue-50); color:var(--blue-700); border:1px solid var(--blue-100); }

/* ══ FEATURES ══ */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feat { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px 26px; display: flex; gap: 18px; align-items: flex-start; box-shadow: var(--shadow-sm); transition: all .2s; }
.feat:hover { border-color: var(--blue-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feat-ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 11px; background: var(--blue-50); border: 1px solid var(--blue-100); display: flex; align-items: center; justify-content: center; font-size: 21px; }
.feat-body h4 { font-size: 14px; font-weight: 800; color: var(--blue-900); margin-bottom: 5px; }
.feat-body p  { font-size: 13px; color: var(--gray-500); line-height: 1.56; font-weight: 500; }

/* ══ STEPS ══ */
.steps-row { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.step { padding: 32px 22px; text-align: center; border-right: 1px solid var(--gray-200); position: relative; transition: background .2s; }
.step:last-child { border-right: none; }
.step:hover { background: var(--blue-50); }
.step:not(:last-child)::after { content: '›'; font-size: 22px; color: var(--orange-400); font-weight: 900; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); z-index: 2; line-height: 1; }
.step-n { width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 16px; background: var(--blue-600); color: #fff; font-size: 18px; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(26,95,168,.3); }
.step h4 { font-size: 14px; font-weight: 800; color: var(--blue-900); margin-bottom: 7px; }
.step p  { font-size: 12px; color: var(--gray-500); line-height: 1.52; font-weight: 500; }

/* ══ NORMATIVA ══ */
.norm-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; max-width: 860px; margin: 0 auto; }
.norm { background: var(--white); border: 1px solid var(--gray-200); border-left: 4px solid var(--blue-600); border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 15px; align-items: flex-start; box-shadow: var(--shadow-sm); transition: all .2s; }
.norm:hover { border-left-color: var(--orange-500); box-shadow: var(--shadow-md); }
.norm-em { font-size: 24px; flex-shrink: 0; margin-top: 1px; }
.norm h4 { font-size: 12px; font-weight: 800; color: var(--blue-700); letter-spacing: .04em; margin-bottom: 4px; }
.norm p  { font-size: 12px; color: var(--gray-500); line-height: 1.52; font-weight: 500; }

/* ══ TESTIMONIALS ══ */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.testi { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.testi:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stars { color: var(--orange-500); font-size: 15px; letter-spacing: 3px; margin-bottom: 14px; }
.testi blockquote { font-size: 13px; color: var(--gray-600); line-height: 1.65; font-style: italic; flex: 1; margin-bottom: 20px; font-weight: 500; }
.testi-auth { display: flex; align-items: center; gap: 11px; }
.testi-av { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); color: #fff; font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.testi-meta strong { display: block; font-size: 13px; font-weight: 800; color: var(--blue-900); }
.testi-meta span   { font-size: 11px; color: var(--gray-400); }

/* ══ FAD BANNER ══ */
.fad-banner { background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 55%, #2d87cc 100%); position: relative; overflow: hidden; }
.fad-banner::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.04) 1px, transparent 0); background-size: 32px 32px; }
.fad-bubbles { position: absolute; pointer-events: none; }
.fad-bubbles.left  { left: -40px; top: -40px; }
.fad-bubbles.right { right: -30px; bottom: -30px; opacity:.7; }
.fad-inner { max-width: 1100px; margin: 0 auto; padding: 72px 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.fad-left h2 { font-size: clamp(26px,2.8vw,38px); font-weight: 900; color: #fff; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 14px; }
.fad-left h2 span { color: var(--orange-300); }
.fad-left p { font-size: 15px; color: rgba(255,255,255,.6); margin-bottom: 28px; font-weight: 500; line-height: 1.6; }
.fad-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-fad-white { font-family: var(--font); font-weight: 900; font-size: 15px; background: #fff; color: var(--blue-800); border: none; padding: 14px 28px; border-radius: var(--radius-sm); cursor: pointer; transition: all .18s; text-decoration: none; display: inline-flex; align-items: center; }
.btn-fad-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.25); color: var(--blue-800); }
.btn-fad-outline { font-family: var(--font); font-weight: 700; font-size: 15px; background: transparent; color: rgba(255,255,255,.75); border: 1.5px solid rgba(255,255,255,.28); padding: 13px 24px; border-radius: var(--radius-sm); cursor: pointer; transition: all .18s; text-decoration: none; display: inline-flex; align-items: center; }
.btn-fad-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); color: #fff; }
.fad-features { display: flex; flex-direction: column; gap: 12px; }
.fad-feat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; backdrop-filter: blur(8px); transition: background .2s; }
.fad-feat:hover { background: rgba(255,255,255,.14); }
.fad-feat-ic { font-size: 24px; flex-shrink: 0; }
.fad-feat h4 { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.fad-feat p  { font-size: 12px; color: rgba(255,255,255,.55); font-weight: 500; }

/* ══ CTA ══ */
.cta-wrap { background: linear-gradient(135deg, var(--blue-950) 0%, var(--blue-800) 60%, var(--blue-700) 100%); border-radius: var(--radius-xl); padding: 70px 60px; text-align: center; position: relative; overflow: hidden; max-width: 940px; margin: 0 auto; box-shadow: 0 24px 64px rgba(26,95,168,.3); }
.cta-deco { position: absolute; pointer-events: none; }
.cta-deco-tl { top: -50px; left: -50px; }
.cta-deco-br { bottom: -40px; right: -40px; opacity: .6; }
.cta-deco svg circle { fill: rgba(244,121,32,.22); }
.cta-wrap h2 { font-size: clamp(26px,3vw,40px); font-weight: 900; color: #fff; letter-spacing: -.025em; margin-bottom: 14px; position: relative; }
.cta-wrap p  { font-size: 16px; color: rgba(255,255,255,.58); margin-bottom: 34px; font-weight: 500; position: relative; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn-cta-w { font-family: var(--font); font-weight: 900; font-size: 15px; background: #fff; color: var(--blue-900); border: none; padding: 15px 30px; border-radius: var(--radius-sm); cursor: pointer; transition: all .18s; text-decoration: none; display: inline-flex; align-items: center; }
.btn-cta-w:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.3); color: var(--blue-900); }
.btn-cta-or { font-family: var(--font); font-weight: 900; font-size: 15px; background: var(--orange-500); color: #fff; border: none; padding: 15px 30px; border-radius: var(--radius-sm); cursor: pointer; box-shadow: 0 4px 18px rgba(244,121,32,.42); transition: all .18s; text-decoration: none; display: inline-flex; align-items: center; }
.btn-cta-or:hover { background: var(--orange-600); transform: translateY(-2px); color: #fff; }
.cta-badges { display: flex; gap: 22px; justify-content: center; margin-top: 30px; flex-wrap: wrap; position: relative; }
.cta-b { font-size: 12px; color: rgba(255,255,255,.38); font-weight: 700; display: flex; align-items: center; gap: 5px; }

/* ══ FOOTER ══ */
footer { background: var(--blue-950); border-top: 4px solid var(--orange-500); padding: 60px 52px 30px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 44px; max-width: 1100px; margin: 0 auto 44px; }
.foot-logo-block { margin-bottom: 16px; }
.foot-name { font-size: 24px; font-weight: 900; color: #fff; letter-spacing: -.025em; line-height: 1; margin-bottom: 2px; }
.foot-name span { color: var(--orange-400); }
.foot-bar { width: 44px; height: 3px; background: var(--orange-500); border-radius: 2px; margin: 4px 0 5px; }
.foot-tag { font-size: 10px; font-style: italic; font-weight: 700; color: rgba(255,255,255,.35); letter-spacing: .03em; }
.foot-desc { font-size: 13px; color: rgba(255,255,255,.38); line-height: 1.75; font-weight: 500; }
.foot-contact { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,.3); line-height: 2; font-weight: 500; }
.foot-contact a { color: rgba(255,255,255,.3); transition: color .15s; }
.foot-contact a:hover { color: var(--orange-400); }
.foot-col h5 { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-400); margin-bottom: 16px; }
.foot-col a { display: block; font-size: 13px; color: rgba(255,255,255,.42); margin-bottom: 9px; font-weight: 600; transition: color .15s; }
.foot-col a:hover { color: var(--orange-400); }
.foot-bottom { max-width: 1100px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 11px; color: rgba(255,255,255,.22); font-weight: 600; }
.foot-badges { display: flex; gap: 14px; }
.foot-badge { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.28); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); padding: 3px 9px; border-radius: 99px; }

/* ══ FORMS ══ */
.form-wrap { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 40px; max-width: 640px; margin: 0 auto; }
.form-row { margin-bottom: 18px; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row label { display: block; font-size: 12px; font-weight: 800; color: var(--blue-900); margin-bottom: 6px; letter-spacing: .02em; text-transform: uppercase; }
.form-row .req { color: var(--orange-500); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm); font-family: var(--font); font-size: 14px;
  color: var(--gray-800); background: var(--white); transition: all .15s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(34,114,195,.15); }
.form-row textarea { resize: vertical; min-height: 130px; }
.form-row .hint { font-size: 11px; color: var(--gray-400); margin-top: 5px; font-weight: 500; }
.form-row .check-row { display: flex; gap: 9px; align-items: flex-start; font-size: 12px; color: var(--gray-600); font-weight: 500; line-height: 1.6; }
.form-row .check-row input { width: auto; margin-top: 3px; }
.form-row .check-row a { color: var(--blue-600); font-weight: 700; }
.form-row .check-row a:hover { color: var(--orange-500); }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size: 13px; font-weight: 600; display: flex; align-items: flex-start; gap: 10px; line-height: 1.55; }
.alert-success { background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-700); }
.alert-error   { background: var(--red-50); border: 1px solid var(--red-100); color: var(--red-700); }
.alert-info    { background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-700); }

/* ══ CONTACT INFO BLOCKS ══ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; max-width: 1000px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.ci-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow-sm); }
.ci-ico { width: 44px; height: 44px; border-radius: 11px; background: var(--blue-50); border: 1px solid var(--blue-100); display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0; }
.ci-item h4 { font-size: 13px; font-weight: 800; color: var(--blue-900); margin-bottom: 4px; letter-spacing: .02em; text-transform: uppercase; }
.ci-item p, .ci-item a { font-size: 14px; color: var(--gray-600); font-weight: 600; line-height: 1.55; display: block; }
.ci-item a { color: var(--blue-600); }
.ci-item a:hover { color: var(--orange-500); }

.map-embed { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; min-height: 380px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 380px; border: none; display: block; }

/* ══ LEGAL/PROSE PAGES ══ */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 22px; font-weight: 900; color: var(--blue-900); margin-top: 40px; margin-bottom: 14px; letter-spacing: -.02em; }
.prose h3 { font-size: 16px; font-weight: 800; color: var(--blue-800); margin-top: 28px; margin-bottom: 10px; }
.prose p { font-size: 14px; color: var(--gray-700); line-height: 1.75; margin-bottom: 14px; font-weight: 500; }
.prose ul { margin: 0 0 14px 22px; }
.prose li { font-size: 14px; color: var(--gray-700); line-height: 1.75; margin-bottom: 6px; font-weight: 500; }
.prose strong { color: var(--blue-900); font-weight: 800; }
.prose a { color: var(--blue-600); font-weight: 700; }
.prose a:hover { color: var(--orange-500); }
.prose .last-update { font-size: 12px; color: var(--gray-400); font-weight: 600; margin-bottom: 22px; }

/* ══ COOKIE BANNER ══ */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  max-width: 540px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); box-shadow: var(--shadow-xl);
  padding: 22px 26px; z-index: 9999;
  display: none;
}
.cookie-banner.show { display: block; animation: fadeUp .4s ease both; }
.cookie-banner h4 { font-size: 14px; font-weight: 900; color: var(--blue-900); margin-bottom: 8px; }
.cookie-banner p { font-size: 12px; color: var(--gray-600); line-height: 1.55; font-weight: 500; margin-bottom: 14px; }
.cookie-banner p a { color: var(--blue-600); font-weight: 700; }
.cookie-banner-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner button { font-family: var(--font); font-size: 12px; font-weight: 800; padding: 8px 16px; border-radius: var(--radius-sm); border: none; cursor: pointer; transition: all .15s; }
.cookie-accept { background: var(--blue-600); color: #fff; }
.cookie-accept:hover { background: var(--blue-700); }
.cookie-reject { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-200); }
.cookie-reject:hover { background: var(--gray-200); }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .navbar { padding: 0 28px; }
  .hero   { padding: 72px 28px 68px; gap: 48px; grid-template-columns: 1fr 380px; }
  .section { padding: 72px 28px; }
  .page-header { padding: 56px 28px 48px; }
  footer   { padding: 52px 28px 24px; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .steps-row .step:nth-child(2) { border-right: none; }
  .steps-row .step:nth-child(2)::after { display: none; }
  .steps-row .step:nth-child(3),
  .steps-row .step:nth-child(4) { border-top: 1px solid var(--gray-200); }
  .fad-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 14px 28px; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 14px; }
  .nav-toggle { display: flex; }
  .nav-actions { display: none; }
  .feat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .navbar { padding: 0 16px; height: 60px; }
  .section { padding: 56px 18px; }
  .page-header { padding: 44px 18px 38px; }
  footer  { padding: 44px 18px 20px; }
  .hero   { padding: 60px 18px 56px; }
  .services-grid, .feat-grid, .norm-grid, .steps-row, .testi-grid { grid-template-columns: 1fr; }
  .steps-row .step { border-right: none !important; border-bottom: 1px solid var(--gray-200); }
  .steps-row .step:last-child { border-bottom: none; }
  .steps-row .step::after { display: none !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .cta-wrap { padding: 44px 24px; border-radius: var(--radius-lg); }
  .nav-logo-img { height: 38px; }
  .form-wrap { padding: 28px 22px; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .nav-links.open { top: 60px; }
}
