/* ============================================================
   CyberCircle — Master stylesheet
   Light, professional, corporate.  White / Navy / Brand-blue.
   Fonts: Bricolage Grotesque (display) + Manrope (body)
   ============================================================ */

/* ---------- Tokens ----------------------------------------- */
:root {
  /* Brand */
  --brand-900: #0A4D74;
  --brand-800: #0E6695;
  --brand-700: #1080B5;
  --brand-600: #1397D5;   /* PRIMARY */
  --brand-500: #2BA4DA;
  --brand-400: #4DB7E2;
  --brand-300: #7CC8EC;
  --brand-200: #B6DEF1;
  --brand-100: #DCEEF8;
  --brand-050: #ECF6FB;

  /* Navy */
  --navy-900: #062338;
  --navy-800: #0A2540;
  --navy-700: #14385F;
  --navy-600: #1F4F82;
  --navy-100: #DAE3EE;
  --navy-050: #F1F5FA;

  /* Neutrals */
  --white:    #FFFFFF;
  --paper:    #F8FAFD;
  --grey-100: #F1F4F9;
  --grey-200: #E3E8F0;
  --grey-300: #CBD3E0;
  --grey-500: #6B7C93;
  --grey-700: #2C3E5A;

  --text:       var(--navy-800);
  --text-soft:  var(--grey-700);
  --text-muted: var(--grey-500);
  --border:     var(--grey-200);

  --radius:    12px;
  --radius-lg: 20px;
  --container: 1240px;
  --header-h:  84px;

  --shadow-sm: 0 4px 12px rgba(10,37,64,.06);
  --shadow-md: 0 8px 24px rgba(10,37,64,.08);
  --shadow-lg: 0 24px 60px rgba(10,37,64,.14);

  --font-display: 'Bricolage Grotesque', 'Outfit', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;
}

/* ---------- Base ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg { 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; color: inherit; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy-800);
}

::selection { background: var(--brand-200); color: var(--navy-900); }

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--navy-800); color: var(--white);
  padding: 0.5rem 1rem; z-index: 9999;
}
.skip-link:focus { top: 0; }

.container {
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 1.5rem;
}
.section { padding: 6rem 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand-700);
}
.eyebrow::before {
  content: ''; display: inline-block;
  width: 28px; height: 2px; background: var(--brand-600);
}

.section-head {
  max-width: 760px; margin: 0 auto 4rem; text-align: center;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 1rem 0 1.25rem;
}
.section-head h2 .accent,
.accent { color: var(--brand-600); }
.section-head p { color: var(--text-soft); font-size: 1.1rem; }

/* ---------- Buttons ---------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem; border-radius: 999px;
  font-weight: 700; font-family: var(--font-display);
  font-size: 0.95rem; letter-spacing: 0.01em;
  transition: all 0.25s ease; white-space: nowrap;
}
.btn .arrow { display: inline-block; transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--brand-600); color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--brand-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: var(--white); color: var(--brand-700);
  border: 2px solid var(--brand-200);
}
.btn-ghost:hover {
  border-color: var(--brand-600);
  background: var(--brand-050);
}
.btn-secondary {
  background: transparent; color: var(--navy-800);
  border: 2px solid var(--navy-800);
}
.btn-secondary:hover { background: var(--navy-800); color: var(--white); }

/* ---------- Header ----------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(10,37,64,0.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 2rem;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }

.main-nav {
  display: flex; align-items: center; gap: 2rem;
  margin-left: auto;
}
.main-nav a {
  font-weight: 600; font-size: 0.95rem;
  color: var(--navy-700);
  position: relative; transition: color 0.2s;
}
.main-nav a:hover { color: var(--brand-700); }
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--brand-600);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.lang-switch {
  display: inline-flex; background: var(--grey-100);
  border-radius: 999px; padding: 4px;
  font-size: 0.82rem; font-weight: 700;
}
.lang-switch a {
  padding: 0.4rem 0.85rem; border-radius: 999px;
  color: var(--text-soft); transition: all 0.2s;
}
.lang-switch a.active {
  background: var(--brand-600); color: var(--white);
}

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--navy-800);
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ------------------------------------------- */
.hero {
  position: relative; padding: 5rem 0 5rem;
  background:
    radial-gradient(1200px 600px at 110% -10%, var(--brand-100) 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 110%, var(--navy-050) 0%, transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grey-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--grey-200) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 75%);
  opacity: 0.4; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 4rem; align-items: center;
}
.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05; margin: 1.25rem 0 1.5rem;
  letter-spacing: -0.03em;
}
.hero-text h1 .accent {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-text p {
  font-size: 1.15rem; color: var(--text-soft);
  max-width: 540px; margin-bottom: 2rem;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2.5rem;
}
.cta-banner .hero-cta,
.hero-cover-inner > .hero-cta {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
.hero-trust {
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.hero-trust .label {
  display: block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.85rem;
}
.hero-trust .badges {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.hero-trust .badges span {
  display: inline-flex; align-items: center;
  padding: 0.45rem 0.9rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--brand-200);
  font-size: 0.82rem; font-weight: 700; color: var(--brand-800);
}
.hero-visual img {
  filter: drop-shadow(0 30px 60px rgba(10,37,64,0.12));
  border-radius: var(--radius-lg);
}

/* ---------- Stats strip ------------------------------------ */
.stats-strip {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--white); padding: 4rem 0;
  position: relative; overflow: hidden;
}
.stats-strip::before {
  content: ''; position: absolute;
  top: -50%; right: -10%; width: 50%; height: 200%;
  background: radial-gradient(ellipse, var(--brand-600), transparent 60%);
  opacity: 0.18; pointer-events: none;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem; position: relative; z-index: 1;
}
.stat { text-align: center; padding: 0.5rem; }
.stat .num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  color: var(--brand-300); line-height: 1;
  letter-spacing: -0.02em;
}
.stat .lbl {
  font-size: 0.92rem; color: var(--brand-100);
  margin-top: 0.55rem; line-height: 1.4;
}

/* ---------- Services --------------------------------------- */
.services { background: var(--paper); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 960px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
}
.svc-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-400));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.svc-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-050));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; color: var(--brand-700);
}
.svc-icon svg { width: 28px; height: 28px; }
.svc-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.svc-card p { color: var(--text-soft); margin-bottom: 1.25rem; }
.svc-list {
  display: flex; flex-direction: column; gap: 0.5rem;
  border-top: 1px solid var(--border); padding-top: 1rem;
}
.svc-list li {
  font-size: 0.9rem; color: var(--text-soft);
  position: relative; padding-left: 1.4rem;
}
.svc-list li::before {
  content: ''; position: absolute; left: 0; top: 0.55rem;
  width: 14px; height: 2px; background: var(--brand-500);
  border-radius: 2px;
}

/* ---------- Contact section -------------------------------- */
.contact {
  background:
    linear-gradient(rgba(10,37,64,0.85), rgba(10,37,64,0.88)),
    url('../img/contact-bg.jpg') center/cover no-repeat;
  color: var(--white);
}
.contact .eyebrow { color: var(--brand-300); }
.contact .eyebrow::before { background: var(--brand-400); }
.contact h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 1rem 0 1.25rem;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 4rem; align-items: start;
}
.contact-info p {
  color: var(--brand-100); font-size: 1.05rem;
  margin-bottom: 2rem; max-width: 460px;
}
.contact-channels {
  display: flex; flex-direction: column; gap: 1.25rem;
}
.contact-channel {
  display: flex; align-items: flex-start; gap: 1rem;
  color: var(--white); transition: transform 0.2s;
}
a.contact-channel:hover { transform: translateX(4px); }
.contact-channel .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-300); flex-shrink: 0;
}
.contact-channel .ico svg { width: 20px; height: 20px; }
.contact-channel .lbl {
  font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brand-300);
  margin-bottom: 0.2rem; font-weight: 700;
}
.contact-channel .val { color: var(--white); font-weight: 600; }

/* ---------- Contact form ----------------------------------- */
.contact-form {
  background: var(--white); color: var(--text);
  border-radius: var(--radius-lg); padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.contact-form .form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-bottom: 0.5rem;
}
.contact-form .form-row.single { grid-template-columns: 1fr; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 700;
  color: var(--navy-700); margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.req { color: #D9534F; }
.form-control {
  width: 100%; padding: 0.85rem 1rem;
  border: 1.5px solid var(--grey-200);
  border-radius: 10px; font-size: 0.98rem;
  color: var(--navy-800); background: var(--paper);
  transition: all 0.2s;
}
.form-control:focus {
  outline: none; border-color: var(--brand-600);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--brand-100);
}
.form-control.error {
  border-color: #D9534F; background: #FFF6F6;
}
textarea.form-control { min-height: 130px; resize: vertical; }
.form-error {
  display: block; min-height: 1.1em;
  color: #D9534F; font-size: 0.8rem;
  margin-top: 0.3rem; font-weight: 600;
}
.form-error:empty { display: none; }
.form-hint {
  font-size: 0.78rem; color: var(--text-muted);
  margin-top: 0.3rem;
}

.checkbox-row {
  display: flex; align-items: flex-start; gap: 0.6rem;
  margin: 1.2rem 0; font-size: 0.9rem; color: var(--text-soft);
}
.checkbox-row input[type="checkbox"] {
  margin-top: 0.25rem; flex-shrink: 0;
  accent-color: var(--brand-600);
  width: 18px; height: 18px;
}
.checkbox-row a {
  color: var(--brand-700); font-weight: 600;
  text-decoration: underline;
}
.checkbox-row label { line-height: 1.5; }

.h-captcha { margin: 1rem 0; }
#captcha-error {
  margin-top: -0.4rem; margin-bottom: 0.75rem;
}

.form-submit {
  width: 100%; padding: 1.1rem;
  background: var(--brand-600); color: var(--white);
  font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; border-radius: 12px;
  transition: all 0.25s ease;
  margin-top: 0.5rem;
}
.form-submit:hover:not(:disabled) {
  background: var(--brand-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-status {
  display: none;
  padding: 1rem; border-radius: 10px; margin-top: 1.2rem;
  font-weight: 600; font-size: 0.95rem;
  line-height: 1.5;
}
.form-status.success {
  display: block;
  background: #E8F5E9; color: #1B5E20;
  border: 1px solid #A5D6A7;
}
.form-status.failure {
  display: block;
  background: #FFEBEE; color: #B71C1C;
  border: 1px solid #EF9A9A;
}

/* ---------- Footer ----------------------------------------- */
.site-footer {
  background: var(--navy-900); color: var(--brand-100);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand img {
  height: 64px; width: auto; margin-bottom: 1.25rem;
}
.footer-brand p {
  color: var(--brand-100); max-width: 360px;
  line-height: 1.7; font-size: 0.95rem;
}
.footer-col h4 {
  color: var(--white); font-size: 0.95rem;
  margin-bottom: 1rem; letter-spacing: 0.02em;
}
.footer-col ul {
  display: flex; flex-direction: column; gap: 0.6rem;
}
.footer-col a {
  color: var(--brand-100); font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
  color: var(--brand-200); font-size: 0.85rem;
}
.footer-bottom a {
  color: var(--brand-200);
  margin-left: 0.4rem;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--white); }

/* ---------- Cookie banner ---------------------------------- */
.cookie-banner {
  position: fixed; left: 1.5rem; right: auto; bottom: 1.5rem;
  max-width: 460px; width: calc(100% - 3rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  box-shadow: var(--shadow-lg); z-index: 200;
  transform: translateY(150%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.cookie-banner p {
  font-size: 0.88rem; color: var(--text-soft);
  margin-bottom: 1rem; line-height: 1.5;
}
.cookie-banner a {
  color: var(--brand-700); font-weight: 600;
  text-decoration: underline;
}
.cookie-actions {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
}
.cookie-actions .btn { padding: 0.65rem 1.2rem; font-size: 0.85rem; }

/* ---------- Back to top ------------------------------------ */
.back-to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem;
  width: 48px; height: 48px;
  background: var(--brand-600); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(20px);
  transition: 0.3s; pointer-events: none; z-index: 90;
}
.back-to-top.show {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.back-to-top:hover {
  background: var(--brand-700); transform: translateY(-4px);
}
.back-to-top svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor;
  stroke-width: 2.5; stroke-linecap: round;
}

/* ---------- Reveal animation ------------------------------- */
/* All content visible by default — animations apply as a JS-driven enhancement only */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.visible {
  animation: reveal-in 0.75s ease backwards;
}
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.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: 980px) {
  .hero-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual { order: -1; max-width: 540px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--white);
    flex-direction: column; align-items: flex-start;
    padding: 2rem 1.5rem; gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-md);
    margin-left: 0;
  }
  .main-nav.open { transform: translateY(0); }
  .header-actions .btn { display: none; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .hero { padding: 3rem 0 4rem; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .header-inner { gap: 1rem; }
  .brand img { height: 40px; }
  .contact-form { padding: 1.75rem; }
}
@media (max-width: 480px) {
  .lang-switch a { padding: 0.35rem 0.7rem; font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* =====================================================================
   HOMEPAGE BLUE HERO (full-bleed, centred logo)
   ===================================================================== */
.hero-cover {
  position: relative; overflow: hidden;
  padding: 1.8rem 0 4rem;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(70% 90% at 50% 30%, rgba(255,255,255,0.16) 0%, transparent 70%),
    linear-gradient(160deg, var(--brand-500) 0%, var(--brand-700) 55%, var(--navy-800) 100%);
}
.hero-cover::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-cover-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.4rem; max-width: 880px; margin: 0 auto;
}
.hero-cover-logo {
  width: clamp(220px, 32vw, 360px);
  height: auto;
  filter: drop-shadow(0 6px 30px rgba(0, 30, 60, 0.25));
  animation: float 7s ease-in-out infinite;
}
.hero-cover h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
}
.hero-cover h1 .accent {
  color: var(--white); position: relative; display: inline-block;
}
.hero-cover h1 .accent::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.05em;
  height: 0.18em; background: rgba(255, 255, 255, 0.22);
  z-index: -1; border-radius: 4px;
}
.hero-cover-inner > p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  max-width: 60ch;
}
.hero-cover .hero-cta { justify-content: center; flex-wrap: wrap; display: flex; gap: 1rem; }
.hero-cover .btn-primary {
  background: var(--white); color: var(--brand-700);
  box-shadow: 0 10px 28px rgba(0, 30, 60, 0.22);
}
.hero-cover .btn-primary:hover {
  background: var(--brand-100); color: var(--brand-900); transform: translateY(-2px);
}
.hero-cover .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white); background: transparent;
}
.hero-cover .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: var(--white); color: var(--white);
}
.hero-cover .hero-trust {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.8rem; margin-top: 2.4rem;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1.5rem; justify-content: center;
}
.hero-cover .hero-trust .label {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.hero-cover .hero-trust .badges { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-cover .hero-trust .badges span {
  font-size: 0.85rem; font-weight: 600;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Animated rings emanating from logo */
.hero-rings {
  position: absolute; left: 50%; top: 38%;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 1;
}
.hero-rings span {
  position: absolute; left: 0; top: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  animation: ring-pulse 6s ease-out infinite;
}
.hero-rings span:nth-child(1) { width: 340px; height: 340px; margin: -170px 0 0 -170px; animation-delay: 0s; }
.hero-rings span:nth-child(2) { width: 520px; height: 520px; margin: -260px 0 0 -260px; animation-delay: 1.5s; }
.hero-rings span:nth-child(3) { width: 720px; height: 720px; margin: -360px 0 0 -360px; animation-delay: 3s; }
@keyframes ring-pulse {
  0%   { opacity: 0;   transform: scale(0.92); }
  30%  { opacity: 0.9; }
  100% { opacity: 0;   transform: scale(1.10); }
}
@media (max-width: 720px) {
  .hero-cover { padding: 4.5rem 0 5rem; }
  .hero-rings span:nth-child(3) { display: none; }
}

/* =====================================================================
   PAGE HERO (compact, blue, used on subpages)
   ===================================================================== */
.page-hero {
  position: relative; overflow: hidden;
  padding: 4.5rem 0 4rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-700) 50%, var(--navy-800) 100%);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 60%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at 30% 60%, #000 30%, transparent 80%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--brand-200); }
.page-hero .eyebrow::before { background: var(--brand-300); }
.page-hero h1 {
  color: var(--white); margin: 1rem 0 0.8rem;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  max-width: 22ch;
}
.page-hero h1 .accent { color: var(--brand-200); position: relative; display: inline-block; }
.page-hero h1 .accent::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.05em;
  height: 0.18em; background: rgba(255, 255, 255, 0.18);
  z-index: -1; border-radius: 4px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.88); font-size: 1.08rem;
  max-width: 60ch; line-height: 1.65;
}
.breadcrumb {
  display: flex; gap: 0.6rem; align-items: center;
  font-size: 0.86rem; color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.85); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: 0.5; }

/* =====================================================================
   CTA STRIP / BANNER
   ===================================================================== */
.cta-banner {
  position: relative; overflow: hidden;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--brand-600), var(--navy-800));
  color: var(--white);
  text-align: center;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 30px 30px; opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
}
.cta-banner .container { position: relative; z-index: 1; max-width: 760px; }
.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 1rem;
}
.cta-banner h2 .accent { color: var(--brand-200); }
.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem; margin-bottom: 2rem;
  max-width: 56ch; margin-left: auto; margin-right: auto;
}
.cta-banner .btn-row {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}
.cta-banner .btn-primary { background: var(--white); color: var(--brand-700); }
.cta-banner .btn-primary:hover { background: var(--brand-100); color: var(--brand-900); transform: translateY(-2px); }
.cta-banner .btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.4); color: var(--white); background: transparent;
}
.cta-banner .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1); border-color: var(--white); color: var(--white);
}

/* =====================================================================
   ABOUT PAGE — values grid + numbered cards
   ===================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
}
.value-card .card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-050); color: var(--brand-700);
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.value-card:hover .card-num { background: var(--brand-600); color: var(--white); }
.value-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.value-card p { color: var(--text-soft); font-size: 0.96rem; line-height: 1.65; }

/* Approach 5-phase circle (used on chi-siamo) */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
  list-style: none; padding: 0;
}
.phase-card {
  background: var(--paper);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}
.phase-card .phase-num {
  font-family: var(--font-display);
  font-size: 0.85rem; letter-spacing: 0.16em;
  color: var(--brand-700); font-weight: 700;
  text-transform: uppercase;
}
.phase-card h3 { font-size: 1.25rem; margin: 0.5rem 0; }
.phase-card p { font-size: 0.92rem; color: var(--text-soft); }
.phase-card.is-final {
  background: var(--brand-600);
  border-color: var(--brand-700);
  color: var(--white);
}
.phase-card.is-final .phase-num { color: var(--brand-200); }
.phase-card.is-final h3 { color: var(--white); }
.phase-card.is-final p { color: rgba(255, 255, 255, 0.92); }

/* =====================================================================
   FEATURE block — alternating image+text rows (servizi page)
   ===================================================================== */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.feature + .feature { margin-top: 5rem; }
.feature.reverse > div:first-child { order: 2; }
.feature-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-050), var(--brand-100));
  aspect-ratio: 4 / 3;
  border: 1px solid var(--grey-200);
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-body h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0.6rem 0 1rem;
}
.feature-body p { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 1rem; }
.feature-body ul {
  margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.5rem;
}
.feature-body ul li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  color: var(--text-soft); font-size: 0.97rem;
}
.feature-body ul li::before {
  content: ''; flex-shrink: 0;
  width: 8px; height: 8px; margin-top: 0.55em;
  background: var(--brand-500); border-radius: 50%;
}
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature.reverse > div:first-child { order: 0; }
  .feature-img { aspect-ratio: 16 / 9; }
}

/* =====================================================================
   FOOTER — company-details (legal) block
   ===================================================================== */
.footer-legal {
  position: relative;
  margin: 2rem 0 1.5rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}
.footer-legal strong {
  color: var(--white); font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}
.footer-legal .sep { margin: 0 0.4rem; opacity: 0.4; }

/* =====================================================================
   "Selling" promise list (used on chi-siamo + servizi)
   ===================================================================== */
.promise-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; padding: 0; list-style: none;
}
@media (max-width: 920px) {
  .promise-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .promise-list { grid-template-columns: 1fr; }
}
.promise-list li {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-left: 4px solid var(--brand-600);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  font-size: 0.97rem;
  color: var(--text-soft);
  line-height: 1.6;
}
.promise-list li strong {
  display: block; color: var(--navy-800);
  font-family: var(--font-display);
  margin-bottom: 0.3rem;
  font-weight: 700;
}

/* Map embed wrapper */
.map-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200);
  aspect-ratio: 16 / 9;
  background: var(--brand-050);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* =================== Hero keyword cloud (hero-cover) =================== */
.hero-logo-frame {
  position: relative;
  display: inline-block;
  margin: 0 auto 0.4rem;
  padding: 105px 270px 120px;     /* asymmetric: less top, normal bottom */
  --kw-radius: 245px;
}
.hero-logo-frame .hero-cover-logo {
  position: relative;
  display: block;
  z-index: 2;
}
@media (max-width: 767px) {
  .hero-logo-frame { padding: 75px 175px 85px; --kw-radius: 170px; }
}
@media (max-width: 479px) {
  .hero-logo-frame { padding: 55px 120px 65px; --kw-radius: 125px; }
}

.hero-kw {
  position: absolute;
  display: inline-flex;          /* visible on ALL screen sizes */
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0, 30, 60, 0.22);
  transform: translate(-50%, -50%);
  animation: kw-drift 7s ease-in-out infinite;
  z-index: 3;
}
@media (min-width: 480px) { .hero-kw { font-size: 0.66rem; padding: 0.34rem 0.78rem; } }
@media (min-width: 768px) { .hero-kw { font-size: 0.72rem; padding: 0.42rem 0.9rem; } }

@keyframes kw-drift {
  0%, 100% { transform: translate(-50%, -50%); }
  50%      { transform: translate(-50%, -50%) translateY(-6px); }
}

/* 6 positions evenly distributed on a circle (60° apart),
   anchored at 1, 3, 5, 7, 9 and 11 o'clock — symmetric and away from
   the wordmark at 6 o'clock.
   offset x = sin(angle) * R ; offset y = -cos(angle) * R                    */
.hero-kw.kw-1 { /* 11 o'clock */ top: calc(50% - var(--kw-radius) * 0.866); left: calc(50% - var(--kw-radius) * 0.5); animation-delay: 0s; }
.hero-kw.kw-2 { /*  1 o'clock */ top: calc(50% - var(--kw-radius) * 0.866); left: calc(50% + var(--kw-radius) * 0.5); animation-delay: 1s; }
.hero-kw.kw-3 { /*  3 o'clock */ top: 50%;                                  left: calc(50% + var(--kw-radius));        animation-delay: 2s; }
.hero-kw.kw-4 { /*  5 o'clock */ top: calc(50% + var(--kw-radius) * 0.866); left: calc(50% + var(--kw-radius) * 0.5); animation-delay: 3s; }
.hero-kw.kw-5 { /*  7 o'clock */ top: calc(50% + var(--kw-radius) * 0.866); left: calc(50% - var(--kw-radius) * 0.5); animation-delay: 4s; }
.hero-kw.kw-6 { /*  9 o'clock */ top: 50%;                                  left: calc(50% - var(--kw-radius));        animation-delay: 5s; }

/* brand-kw kept for backward compat — visually identical to other pills */
.hero-kw.brand-kw { }

/* =================== Insurance section =================== */
.section.insurance {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(19,151,213,0.10), transparent 60%),
    linear-gradient(180deg, var(--white) 0%, #F4F8FC 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}
.section.insurance::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(19,151,213,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 70%);
          mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 70%);
  pointer-events: none;
}
.insurance-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}
.insurance-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.insurance-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-300);
}
.insurance-card .ic-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--brand-100);
  color: var(--brand-700);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.insurance-card .ic-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  box-shadow: 0 6px 20px rgba(19,151,213,0.25);
}
.insurance-card .ic-icon svg { width: 28px; height: 28px; }
.insurance-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
  color: var(--navy-800);
  font-family: var(--font-display);
}
.insurance-card > p {
  color: var(--text-soft);
  margin-bottom: 1.3rem;
  line-height: 1.65;
}
.insurance-list { list-style: none; padding: 0; margin: 0; }
.insurance-list li {
  padding: 0.6rem 0 0.6rem 1.6rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text);
  border-top: 1px solid var(--grey-100);
}
.insurance-list li:first-child { border-top: none; padding-top: 0.2rem; }
.insurance-list li::before {
  content: ''; position: absolute; left: 0; top: 0.95em;
  width: 8px; height: 8px;
  background: var(--brand-500);
  border-radius: 50%;
}
.insurance-bridge {
  margin: 2.5rem auto 0;
  text-align: center;
  background: linear-gradient(135deg, var(--navy-800), #061829);
  color: var(--white);
  padding: 2rem 2.4rem;
  border-radius: var(--radius-lg);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 880px;
  position: relative;
  z-index: 1;
}
.insurance-bridge strong {
  display: block;
  color: var(--brand-200);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
@media (max-width: 760px) {
  .insurance-duo { grid-template-columns: 1fr; }
  .insurance-card { padding: 1.8rem 1.5rem; }
  .insurance-bridge { padding: 1.5rem 1.5rem; font-size: 0.98rem; }
}

/* =================== Page-hero background images =================== */
.page-hero.bg-photo {
  background-color: var(--brand-700);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.page-hero.bg-about {
  background-image:
    linear-gradient(135deg, rgba(19,151,213,0.72) 0%, rgba(12,68,124,0.86) 50%, rgba(10,37,64,0.94) 100%),
    url('../img/hero-about.webp');
}
.page-hero.bg-services {
  background-image:
    linear-gradient(135deg, rgba(19,151,213,0.72) 0%, rgba(12,68,124,0.86) 50%, rgba(10,37,64,0.94) 100%),
    url('../img/hero-services.webp');
}
.page-hero.bg-contact {
  background-image:
    linear-gradient(135deg, rgba(19,151,213,0.72) 0%, rgba(12,68,124,0.86) 50%, rgba(10,37,64,0.94) 100%),
    url('../img/hero-contact.webp');
}
.page-hero.bg-outcomes {
  background-image:
    linear-gradient(135deg, rgba(19,151,213,0.72) 0%, rgba(12,68,124,0.86) 50%, rgba(10,37,64,0.94) 100%),
    url('../img/hero-outcomes.webp');
}

/* =================== Outcomes grid (3×2 on desktop) =================== */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
@media (max-width: 960px) {
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .outcomes-grid { grid-template-columns: 1fr; }
}

/* =================== Pull quote =================== */
.pull-quote-section {
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(19,151,213,0.06), transparent 70%),
    var(--white);
  padding: 5rem 0;
}
.pull-quote {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.4;
  font-weight: 500;
  color: var(--navy-800);
  position: relative;
  font-style: italic;
}
.pull-quote .quote-mark {
  display: block;
  font-size: 4rem;
  line-height: 0.6;
  color: var(--brand-500);
  margin-bottom: 1rem;
  font-family: serif;
  font-style: normal;
  opacity: 0.7;
}


/* =================== Deliverables list (flex, centered last row) =================== */
.deliverables-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 1.5rem auto 0;
  max-width: 1100px;
}
.deliverables-list li {
  flex: 0 1 320px;
  max-width: 360px;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-left: 4px solid var(--brand-600);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  font-size: 0.97rem;
  color: var(--text-soft);
  line-height: 1.6;
}
.deliverables-list li strong {
  display: block; color: var(--navy-800);
  font-family: var(--font-display);
  margin-bottom: 0.3rem;
  font-weight: 700;
}


/* =================== Marquee bar (diagonal scrolling keywords) =================== */
.marquee-bar {
  position: relative;
  margin: -3rem -4vw 3rem;
  padding: 1.3rem 0;
  background: var(--navy-800);
  color: var(--white);
  overflow: hidden;
  transform: rotate(-2deg);
  transform-origin: center;
  z-index: 5;
  box-shadow: 0 12px 28px rgba(0,0,0,0.20), 0 -6px 18px rgba(0,0,0,0.12);
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 36s linear infinite;
  will-change: transform;
}
.marquee-track > span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 1.6rem;
  flex: none;
}
.marquee-track .mq-blue { color: var(--brand-300); }
.marquee-track .mq-dot {
  color: var(--brand-500);
  font-size: 1.5em;
  padding: 0 0.2rem;
  opacity: 0.8;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 760px) {
  .marquee-bar {
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
