:root {
    --white: #ffffff;
    --paper: #fafafa;
    --paper-2: #f4f4f3;
    --parchment: #f1e9db;
    --line: rgba(10,10,12,0.10);
    --line-soft: rgba(10,10,12,0.06);
    --ink: #0d0d0f;
    --ink-2: #2a2a2e;
    --gray: #5c5c63;
    --gray-dim: #8a8a92;
    --gold: #e0a500;
    --gold-bright: #f5b800;
    --gold-deep: #b88600;
    --gold-wash: rgba(245,184,0,0.10);
    --blue: #00aaff;
    --blue-bright: #00c8ff;
    --blue-deep: #031c2e;
    --font: 'Sora', -apple-system, sans-serif;
    --mono: 'Spline Sans Mono', monospace;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--font); background: var(--white); color: var(--ink); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
  ::selection { background: var(--gold-bright); color: var(--ink); }
  h1,h2,h3,h4 { font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
  .section-head p, .lead, .flag-text > p { text-wrap: pretty; }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 30px; }
  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.8); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-soft); }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 30px; max-width: 1180px; margin: 0 auto; }
  .brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
  .brand .tri { width: 30px; height: 30px; }
  .brand-logo { height: 42px; width: auto; display: block; }
  .nav-links { display: flex; gap: 30px; align-items: center; }
  .nav-links a { font-size: .9rem; font-weight: 400; color: var(--gray); transition: color .2s; }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta { background: var(--ink); padding: 9px 20px; border-radius: 8px; color: var(--white) !important; font-weight: 500; transition: background .2s, transform .2s; }
  .nav-cta:hover { background: var(--gold-deep); transform: translateY(-1px); }
  .menu-btn { display: none; background: none; border: none; color: var(--ink); font-size: 1.5rem; cursor: pointer; }
  header.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--white); }
  .hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at 80% 30%, rgba(245,184,0,0.10), transparent 45%), radial-gradient(circle at 12% 85%, rgba(245,184,0,0.04), transparent 50%); }
  .grid-lines { position: absolute; inset: 0; z-index: 0; opacity: 0.6; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 90% 70% at 60% 40%, #000 25%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 40%, #000 25%, transparent 72%); }
  .hero-tri { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: min(42vw, 480px); z-index: 0; opacity: 0.95; animation: drift 14s ease-in-out infinite; }
  @keyframes drift { 0%,100%{transform:translateY(-50%) rotate(0)} 50%{transform:translateY(-54%) rotate(2deg)} }
  .hero-content { position: relative; z-index: 2; max-width: 740px; padding-top: 70px; }
  .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--gold-deep); border: 1px solid rgba(245,184,0,0.4); background: var(--gold-wash); padding: 7px 16px; border-radius: 100px; margin-bottom: 30px; white-space: nowrap; max-width: 100%; opacity: 0; animation: rise .7s ease forwards; }
  .eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 8px var(--gold-bright); }
  .hero h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 700; margin-bottom: 26px; color: var(--ink); opacity: 0; animation: rise .8s ease .1s forwards; }
  .hero h1 .g { color: var(--gold-deep); }
  .hero .lead { font-size: 1.22rem; color: var(--gray); max-width: 580px; margin-bottom: 40px; font-weight: 300; opacity: 0; animation: rise .8s ease .25s forwards; }
  .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: rise .8s ease .4s forwards; }
  .btn-dark { background: var(--ink); color: var(--white); padding: 15px 30px; border-radius: 10px; font-weight: 600; font-size: .98rem; transition: transform .2s, box-shadow .2s, background .2s; }
  .btn-dark:hover { transform: translateY(-2px); background: var(--gold-deep); box-shadow: 0 12px 30px rgba(245,184,0,0.25); }
  .btn-line { border: 1px solid var(--line); color: var(--ink); padding: 15px 28px; border-radius: 10px; font-weight: 500; font-size: .98rem; transition: border-color .2s, background .2s; }
  .btn-line:hover { border-color: var(--gold); background: var(--gold-wash); }
  @keyframes rise { from{opacity:0;transform:translateY(26px)} to{opacity:1;transform:translateY(0)} }
  .strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); padding: 22px 0; position: relative; z-index: 2; overflow: hidden; }
  .strip-inner { display: flex; gap: 60px; white-space: nowrap; font-family: var(--mono); font-size: .82rem; color: rgba(255,255,255,0.55); letter-spacing: .05em; text-transform: uppercase; animation: scroll 30s linear infinite; }
  @keyframes scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
  section { position: relative; z-index: 2; padding: 120px 0; }
  .section-head { max-width: 700px; margin-bottom: 64px; }
  .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
  .section-head .tag { font-family: var(--mono); font-size: .8rem; color: var(--gold-deep); letter-spacing: .05em; margin-bottom: 18px; display: block; }
  .section-head h2 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); margin-bottom: 20px; color: var(--ink); }
  .section-head p { font-size: 1.12rem; color: var(--gray); font-weight: 300; }
  /* ECOSYSTEM */
  .eco { background: var(--paper); }
  .eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .eco-pillar { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 48px 44px; transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden; }
  .eco-pillar:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(10,10,12,0.08); border-color: var(--gold); }
  .eco-pillar .glow { position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, var(--gold-wash), transparent 70%); }
  .eco-pillar .code { font-family: var(--mono); font-size: .82rem; color: var(--gold-deep); letter-spacing: .06em; margin-bottom: 20px; position: relative; }
  .eco-pillar h3 { font-size: 1.85rem; margin-bottom: 14px; color: var(--ink); position: relative; }
  .eco-pillar p { color: var(--gray); font-weight: 300; font-size: 1.05rem; position: relative; }
  .eco-pillar .ico { width: 56px; height: 56px; margin-bottom: 26px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--ink); color: var(--gold-bright); position: relative; }
  /* SERVICES */
  .serv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
  .serv { background: var(--white); padding: 36px 30px; transition: background .3s; }
  .serv:hover { background: var(--paper); }
  .serv .n { font-family: var(--mono); font-size: .76rem; color: var(--gold-deep); margin-bottom: 16px; }
  .serv h4 { font-size: 1.18rem; margin-bottom: 8px; color: var(--ink); }
  .serv p { color: var(--gray); font-weight: 300; font-size: .92rem; }
  .serv-note { text-align: center; margin-top: 30px; font-family: var(--mono); font-size: .82rem; color: var(--gray-dim); }
  /* FLAGSHIP */
  .flagship { background: var(--blue-deep); }
  .flagship .section-head h2 { color: #fff; }
  .flagship .section-head p { color: #cfeaff; }
  .flag-card { border: 1px solid rgba(0,200,255,0.3); border-radius: 26px; overflow: hidden; background: radial-gradient(circle at 80% 0%, rgba(0,200,255,0.14), transparent 50%), rgba(255,255,255,0.03); }
  .flag-grid { display: grid; grid-template-columns: 1.1fr 1fr; }
  .flag-text { padding: 60px 54px; }
  .flag-text .pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .76rem; color: var(--blue-bright); border: 1px solid rgba(0,200,255,0.45); padding: 6px 14px; border-radius: 100px; margin-bottom: 24px; }
  .flag-text h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 18px; color: #fff; }
  .flag-text .slogan { font-size: 1.3rem; color: var(--blue-bright); font-weight: 400; margin-bottom: 22px; font-style: italic; }
  .flag-text p { color: #cfeaff; font-weight: 300; margin-bottom: 28px; font-size: 1.05rem; }
  .flag-modules { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
  .flag-modules a { font-size: .85rem; padding: 8px 16px; border: 1px solid rgba(255,255,255,0.2); border-radius: 100px; color: #cfeaff; text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s, background .2s, transform .2s; }
  .flag-modules a:hover { border-color: var(--blue-bright); color: #fff; background: rgba(0,200,255,0.12); transform: translateY(-1px); }
  .flag-modules a.active { border-color: var(--blue-bright); color: var(--blue-bright); background: rgba(0,200,255,0.12); }
  .module-grid .module { scroll-margin-top: 100px; }
  #module { scroll-margin-top: 84px; }
  .flag-btn { display: inline-block; border: 1px solid rgba(0,200,255,0.55); color: #fff; padding: 13px 26px; border-radius: 10px; font-weight: 500; font-size: .96rem; white-space: nowrap; transition: background .2s, border-color .2s; }
  .flag-btn:hover { background: rgba(0,200,255,0.15); border-color: var(--blue-bright); }
  .flag-visual { position: relative; background: radial-gradient(circle at 50% 50%, rgba(0,200,255,0.16), transparent 70%); display: flex; align-items: center; justify-content: center; border-left: 1px solid rgba(255,255,255,0.08); min-height: 320px; padding: 48px; }
  .flag-logo { width: 100%; max-width: 360px; height: auto; object-fit: contain; animation: hover 7s ease-in-out infinite; filter: drop-shadow(0 0 28px rgba(0,200,255,0.35)); }
  @keyframes hover { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
  @keyframes spin { from{transform:rotate(0)} to{transform:rotate(360deg)} }
  /* PURPOSE */
  .purpose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .purpose { padding: 38px 34px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); transition: transform .3s, border-color .3s; }
  .purpose:hover { transform: translateY(-5px); border-color: var(--gold); }
  .purpose .ico { width: 46px; height: 46px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--gold-wash); color: var(--gold-deep); }
  .purpose h4 { font-size: 1.22rem; margin-bottom: 10px; color: var(--ink); }
  .purpose p { color: var(--gray); font-weight: 300; font-size: .96rem; }
  /* STATS */
  .stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); position: relative; overflow: hidden; }
  .stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 130%, rgba(245,184,0,0.12), transparent 60%); pointer-events: none; }
  .stats .wrap { position: relative; z-index: 1; }
  .stats-tri { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); width: 280px; height: auto; opacity: 0.06; z-index: 0; pointer-events: none; }
  .stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
  .stat-item { text-align: center; padding: 18px 20px; position: relative; }
  .stat-item:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 22%; height: 56%; width: 1px; background: rgba(255,255,255,0.12); }
  .stat-item .n { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; color: var(--gold-bright); letter-spacing: -0.03em; line-height: 1; }
  .stat-item .l { font-size: .9rem; color: #b0b0b8; font-weight: 300; margin-top: 10px; }
  /* ABOUT */
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
  .about-text .tag { font-family: var(--mono); font-size: .8rem; color: var(--gold-deep); letter-spacing: .05em; margin-bottom: 18px; display: block; }
  .about-text h2 { font-size: clamp(2rem,4vw,3rem); margin-bottom: 22px; color: var(--ink); }
  .about-text p { color: var(--gray); font-weight: 300; font-size: 1.08rem; margin-bottom: 18px; }
  .about-text .name { color: var(--ink); font-weight: 600; }
  .about-panel { border: 1px solid var(--line); border-radius: 22px; padding: 8px; background: var(--ink); }
  .about-panel .row { display: flex; justify-content: space-between; gap: 18px; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: .95rem; }
  .about-panel .row:last-child { border-bottom: none; }
  .about-panel .row .k { color: var(--gray-dim); font-family: var(--mono); font-size: .82rem; white-space: nowrap; }
  .about-panel .row .v { color: #fff; font-weight: 500; text-align: right; }
  .about-panel .row .v.gold { color: var(--gold-bright); }
  /* CONTACT */
  .contact { background: var(--paper); }
  .contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
  .contact-info h2 { font-size: clamp(2rem,4.5vw,3.2rem); margin-bottom: 20px; color: var(--ink); }
  .contact-info h2 .g { color: var(--gold-deep); }
  .contact-info > p { color: var(--gray); font-weight: 300; font-size: 1.1rem; margin-bottom: 36px; }
  .c-detail { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
  .c-detail .ico { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--gold-wash); border-radius: 11px; display: flex; align-items: center; justify-content: center; color: var(--gold-deep); flex-shrink: 0; }
  .c-detail .l { font-family: var(--mono); font-size: .76rem; color: var(--gray-dim); }
  .c-detail .v { font-weight: 500; }
  form { background: var(--white); border: 1px solid var(--line); padding: 40px; border-radius: 22px; box-shadow: 0 20px 50px rgba(10,10,12,0.05); }
  .field { margin-bottom: 20px; }
  .field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 8px; color: var(--ink-2); }
  .field input, .field select, .field textarea { width: 100%; padding: 13px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-family: var(--font); font-size: .98rem; transition: border-color .2s, background .2s; }
  .field input::placeholder, .field textarea::placeholder { color: var(--gray-dim); }
  .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
  .field textarea { resize: vertical; min-height: 110px; }
  form button { width: 100%; background: var(--ink); color: var(--white); border: none; padding: 16px; border-radius: 10px; font-family: var(--font); font-size: 1rem; font-weight: 600; cursor: pointer; transition: transform .2s, background .2s; }
  form button:hover { transform: translateY(-2px); background: var(--gold-deep); }
  .form-note { font-family: var(--mono); font-size: .76rem; color: var(--gray-dim); text-align: center; margin-top: 16px; }
  footer { background: var(--ink); border-top: 1px solid var(--line); padding: 60px 0 34px; position: relative; z-index: 2; }
  .footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .footer-brand { max-width: 340px; }
  .footer-brand .fb { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; color: #fff; }
  .footer-brand p { color: var(--gray-dim); font-weight: 300; font-size: .94rem; }
  .footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
  .footer-col h5 { font-family: var(--mono); font-size: .76rem; color: var(--gold-bright); margin-bottom: 16px; letter-spacing: .05em; }
  .footer-col a, .footer-col p { display: block; color: var(--gray-dim); font-size: .92rem; margin-bottom: 11px; font-weight: 300; transition: color .2s; }
  .footer-col a:hover { color: #fff; }
  .footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--mono); font-size: .74rem; color: var(--gray-dim); }
  .footer-bottom span { text-wrap: balance; }
  .reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: translateY(0); }
  @media (max-width: 920px) {
    .nav-links { display: none; }
    .menu-btn { display: block; }
    .eco-grid, .flag-grid, .about-grid, .contact-grid, .purpose-grid { grid-template-columns: 1fr; }
    .serv-grid { grid-template-columns: 1fr 1fr; }
    .flag-visual { min-height: 240px; border-left: none; border-top: 1px solid rgba(255,255,255,0.08); padding: 40px; }
    .flag-logo { max-width: 300px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero-tri { opacity: 0.4; right: -15%; }
    section { padding: 84px 0; }
  }

  /* ============ DESIGN ENHANCEMENTS ============ */
  ::-webkit-scrollbar { width: 11px; }
  ::-webkit-scrollbar-track { background: var(--paper-2); }
  ::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-deep), var(--gold-bright)); border-radius: 10px; border: 2px solid var(--paper-2); }

  /* Hero: layered animated gold aurora + livelier grid + glowing motif */
  .hero-bg {
    background:
      radial-gradient(58% 76% at 80% 26%, rgba(245,184,0,0.20), transparent 60%),
      radial-gradient(50% 62% at 10% 88%, rgba(245,184,0,0.12), transparent 60%),
      radial-gradient(46% 54% at 50% 46%, rgba(255,214,92,0.07), transparent 72%);
    animation: heroPulse 13s ease-in-out infinite alternate;
  }
  @keyframes heroPulse { 0%{opacity:.82; transform:scale(1)} 100%{opacity:1; transform:scale(1.05)} }
  .grid-lines { opacity: .85; animation: gridDrift 50s linear infinite; }
  @keyframes gridDrift { from{background-position:0 0, 0 0} to{background-position:64px 64px, 64px 64px} }
  .hero-tri { filter: drop-shadow(0 0 46px rgba(245,184,0,0.32)); width: min(46vw, 560px); }
  .hero-tri .core { transform-origin: 50% 60%; animation: triCore 6s ease-in-out infinite; }
  .hero-tri .geo-rot { transform-box: fill-box; transform-origin: center; animation: orbitSpin 90s linear infinite; }
  @keyframes orbitSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
  @keyframes triCore { 0%,100%{opacity:.95; transform:scale(1)} 50%{opacity:.55; transform:scale(1.08)} }
  .hero h1 .g { background: linear-gradient(95deg, var(--gold-deep), var(--gold-bright) 55%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

  /* Soft corner glows so white sections aren't flat */
  .eco, #servicii, #scop { position: relative; }
  .eco::after, #servicii::after, #scop::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(38% 60% at 100% 0%, rgba(245,184,0,0.07), transparent 55%),
                radial-gradient(34% 50% at 0% 100%, rgba(245,184,0,0.05), transparent 55%);
  }
  .eco > .wrap, #servicii > .wrap, #scop > .wrap { position: relative; z-index: 1; }

  /* Richer cards with smoother lift + gradient depth */
  .eco-pillar, .serv, .purpose { transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease, background .4s ease; }
  .eco-pillar { background: linear-gradient(162deg, #ffffff, #fcfaf3); }
  .eco-pillar:hover { transform: translateY(-8px); box-shadow: 0 34px 64px rgba(224,165,0,0.16); }
  .eco-pillar .ico { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
  .eco-pillar:hover .ico { transform: translateY(-3px) rotate(-4deg); }
  .serv { position: relative; overflow: hidden; }
  .serv::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold-bright), rgba(245,184,0,0)); transition: width .45s ease; }
  .serv:hover::before { width: 100%; }
  .serv .n { transition: color .3s; }
  .serv:hover .n { color: var(--gold-bright); }
  .purpose { background: linear-gradient(162deg, var(--paper), #fff); }
  .purpose:hover { transform: translateY(-8px); box-shadow: 0 30px 56px rgba(224,165,0,0.14); }
  .purpose .ico { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
  .purpose:hover .ico { transform: scale(1.08) rotate(-4deg); }

  /* Button polish */
  .btn-dark, .nav-cta, form button { position: relative; overflow: hidden; }
  .btn-dark::after, .nav-cta::after, form button::after {
    content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,0.28), transparent);
    transform: skewX(-18deg); transition: left .55s ease, opacity .35s ease; opacity: 0;
  }
  .btn-dark:hover::after, .nav-cta:hover::after, form button:hover::after { left: 130%; opacity: 1; }

  /* Flagship: deeper ambient glow */
  .flag-card { box-shadow: 0 40px 90px rgba(0,0,0,0.28); }
  .flag-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 50% at 85% 8%, rgba(0,200,255,0.10), transparent 60%); }

  /* Reveal: add a touch of scale for life */
  .reveal { transform: translateY(34px) scale(.985); }
  .reveal.in { transform: translateY(0) scale(1); }

  /* ===== Mobile nav: hamburger dropdown panel ===== */
  @media (max-width: 920px) {
    .nav-inner { position: relative; }
    .menu-btn { display: block; z-index: 2; font-size: 1.6rem; line-height: 1; }
    .nav-links {
      display: flex; flex-direction: column; align-items: stretch; gap: 0;
      position: absolute; top: calc(100% + 8px); left: 0; right: 0;
      background: rgba(255,255,255,0.98); backdrop-filter: blur(18px);
      border: 1px solid var(--line-soft); border-radius: 16px;
      padding: 10px 18px 16px; margin: 0 4px;
      box-shadow: 0 26px 50px rgba(10,10,12,0.14);
      opacity: 0; transform: translateY(-10px); pointer-events: none;
      transition: opacity .25s ease, transform .25s ease;
    }
    .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
    .nav-links a { font-size: 1.05rem; padding: 14px 6px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
    .nav-links a:last-child { border-bottom: none; }
    .nav-cta { margin-top: 12px; text-align: center; color: #fff !important; border-radius: 10px; }
  }

  /* Desktop hero: wider title column + slightly smaller type => 3-4 clean lines */
  .db { display: none; }
  @media (min-width: 921px) {
    .hero-content { max-width: 1060px; }
    .hero h1 { font-size: clamp(2.8rem, 3.8vw, 3.45rem); line-height: 1.14; }
    .hero-tri { width: min(34vw, 430px); right: 2%; opacity: 0.85; }
    .db { display: inline; }
  }

/* ============ MULTI-PAGE ADDITIONS ============ */
.page-hero { background: linear-gradient(180deg, var(--parchment) 0%, #f6f1e8 38%, var(--white) 100%); position: relative; overflow: hidden; padding: 150px 0 30px; }
.page-hero::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  top: calc(50% - 250px); right: -150px; width: 500px; height: 500px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240' fill='none' stroke='%23b88600'%3E%3Ccircle cx='120' cy='120' r='112' stroke-opacity='0.3' stroke-width='1'/%3E%3Ccircle cx='120' cy='120' r='86' stroke-opacity='0.18' stroke-width='1'/%3E%3Cline x1='120' y1='6' x2='120' y2='234' stroke-opacity='0.1'/%3E%3Cline x1='6' y1='120' x2='234' y2='120' stroke-opacity='0.1'/%3E%3Cpath d='M120 52 L181 166 L59 166 Z' stroke-opacity='0.28' stroke-width='1.2'/%3E%3Cpath d='M120 78 L162 156 L78 156 Z' stroke='%23e0a500' stroke-opacity='0.4' stroke-width='1.1'/%3E%3Ccircle cx='120' cy='120' r='3.2' fill='%23e0a500' fill-opacity='0.55' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat;
}
.page-hero .hero-bg { position:absolute; inset:0; z-index:0; background: radial-gradient(50% 70% at 85% 10%, rgba(245,184,0,0.16), transparent 60%), radial-gradient(45% 55% at 8% 90%, rgba(245,184,0,0.09), transparent 60%); }
.page-hero .grid-lines { position:absolute; inset:0; z-index:0; opacity:.6; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size:64px 64px; mask-image: radial-gradient(ellipse 90% 70% at 60% 30%, #000 25%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 30%, #000 25%, transparent 72%); }
.page-hero .wrap { position:relative; z-index:2; }
.page-hero .section-head { margin-bottom: 0; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--ink); margin-bottom: 18px; }
.page-hero p { font-size: 1.15rem; color: var(--gray); font-weight: 300; max-width: 680px; }
section.tight { padding-top: 70px; }

/* Module cards (Conștient) */
.module-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.module { border:1px solid var(--line); border-radius:18px; padding:30px 28px; background:linear-gradient(162deg,#fff,#fcfaf3); transition:transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s, border-color .4s; }
.module:hover { transform:translateY(-6px); box-shadow:0 26px 50px rgba(224,165,0,.14); border-color:var(--gold); }
.module .mtag { font-family:var(--mono); font-size:.74rem; color:var(--gold-deep); letter-spacing:.05em; }
.module h4 { font-size:1.22rem; margin:10px 0 10px; color:var(--ink); }
.module p { color:var(--gray); font-weight:300; font-size:.96rem; }
.module .badge { display:inline-block; margin-top:14px; font-size:.74rem; padding:5px 13px; border-radius:100px; border:1px solid var(--line); color:var(--gray); font-family:var(--mono); }
.module .badge.active { border-color:var(--gold); color:var(--gold-deep); background:var(--gold-wash); }

/* CTA band */
.cta-band { background:var(--ink); border-radius:26px; padding:60px 48px; text-align:center; position:relative; overflow:hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 80% at 50% 120%, rgba(245,184,0,0.16), transparent 60%); pointer-events:none; }
.cta-band > * { position:relative; z-index:1; }
.cta-band h2 { color:#fff; font-size:clamp(1.8rem,3.5vw,2.6rem); margin-bottom:14px; }
.cta-band p { color:#b0b0b8; font-weight:300; margin-bottom:28px; max-width:560px; margin-left:auto; margin-right:auto; }
.cta-band .btn-dark { background:linear-gradient(90deg,var(--gold-deep),var(--gold-bright)); color:var(--ink); }

/* Home teaser sections */
.teaser .more { margin-top: 30px; }
.teaser-split { display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center; }
@media (max-width: 920px) {
  .module-grid { grid-template-columns:1fr; }
  .teaser-split { grid-template-columns:1fr; gap:34px; }
  .page-hero { padding:120px 0 20px; }
  .page-hero::before { width: 340px; height: 340px; right: -200px; top: calc(50% - 200px); opacity: .55; }
}

/* Animated particle network in hero */
.hero-net { position:absolute; inset:0; z-index:1; pointer-events:none; }
.hero .hero-content { z-index:3; }

/* Image cards / visual sections */
.imgcard { border-radius:22px; overflow:hidden; border:1px solid var(--line); box-shadow:0 30px 60px rgba(10,10,12,.14); line-height:0; background:var(--ink); }
.imgcard img { width:100%; height:100%; object-fit:cover; display:block; }
.con-intro { display:grid; grid-template-columns: 1.05fr 1fr; gap:56px; align-items:center; }
.con-intro .vtag { font-family:var(--mono); font-size:.8rem; color:var(--gold-deep); letter-spacing:.05em; display:block; margin-bottom:16px; }
.con-intro h2 { font-size:clamp(1.7rem,3vw,2.3rem); color:var(--ink); margin-bottom:16px; }
.con-intro p { color:var(--gray); font-weight:300; font-size:1.05rem; margin-bottom:14px; }
@media (max-width:920px){ .con-intro { grid-template-columns:1fr; gap:30px; } }

/* Contact without form */
.contact-card { max-width:820px; margin:0 auto; text-align:center; border:1px solid var(--line); border-radius:24px; padding:50px 42px; background:linear-gradient(162deg,#fff,var(--paper)); box-shadow:0 24px 50px rgba(10,10,12,.06); position:relative; z-index:1; }
.contact-card .lead-line { color:var(--gray); font-weight:300; font-size:1.12rem; margin-bottom:34px; max-width:560px; margin-left:auto; margin-right:auto; }
.contact-tiles { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:38px; }
.ctile { border:1px solid var(--line); border-radius:16px; padding:26px 16px; background:var(--white); transition:transform .3s, border-color .3s, box-shadow .3s; display:block; color:inherit; text-decoration:none; }
a.ctile:hover { transform:translateY(-4px); border-color:var(--gold); box-shadow:0 18px 36px rgba(224,165,0,.12); }
.ctile .ico { width:46px;height:46px;margin:0 auto 14px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:var(--gold-wash);color:var(--gold-deep);font-size:1.2rem; }
.ctile .l { font-family:var(--mono); font-size:.72rem; color:var(--gray-dim); letter-spacing:.05em; margin-bottom:6px; }
.ctile .v { font-weight:500; color:var(--ink); font-size:.95rem; word-break:break-word; }
@media(max-width:760px){ .contact-tiles{ grid-template-columns:1fr; } }

/* ============ HERO "DA VINCI HANDS" (home) ============ */
.hero.hero-hands { min-height: 100vh; align-items: stretch; background: var(--paper); }
.hero-hands .hero-art {
  position: absolute; inset: 0; z-index: 0;
  background: url("hero-hands.jpg") center 24% / cover no-repeat;
  animation: heroArtIn 1.4s ease both;
}
@keyframes heroArtIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
.hero-hands .hero-spark {
  position: absolute; left: 51%; top: 50%; width: 300px; height: 300px;
  transform: translate(-50%, -50%); z-index: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(255,244,214,0.9), rgba(245,184,0,0.34) 26%, rgba(245,184,0,0) 62%);
  mix-blend-mode: screen; animation: sparkPulse 4.6s ease-in-out infinite;
}
@keyframes sparkPulse {
  0%,100% { opacity: .5;  transform: translate(-50%,-50%) scale(.92); }
  50%     { opacity: .95; transform: translate(-50%,-50%) scale(1.12); }
}
.hero-hands .hero-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(252,250,245,0.92) 0%, rgba(252,250,245,0.5) 15%, rgba(252,250,245,0) 33%,
    rgba(252,250,245,0) 58%, rgba(252,250,245,0.55) 80%, rgba(252,250,245,0.95) 100%);
}
.hero.hero-hands .hero-content {
  position: relative; z-index: 3; max-width: 1180px; width: 100%;
  min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between;
  text-align: center; align-items: center; padding: 104px 30px 46px;
}
.hero-hands .hero-top { width: 100%; }
.hero.hero-hands .eyebrow { margin-bottom: 18px; }
.hero.hero-hands h1 {
  font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1.05; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.012em; color: #1c3a5e; margin-bottom: 16px;
}
.hero.hero-hands .lead {
  margin: 0 auto; max-width: 500px; color: var(--ink-2); font-size: 1.05rem;
}
.hero-hands .hero-bottom { width: 100%; }
.hero-hands .hero-pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  width: 100%; max-width: 940px; margin: 0 auto 30px;
  opacity: 0; animation: rise .8s ease .55s forwards;
}
.hero-hands .hp { padding: 0 24px; position: relative; }
.hero-hands .hp:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 12%; height: 76%; width: 1px; background: var(--line);
}
.hero-hands .hp .ico {
  width: 36px; height: 36px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center;
  color: var(--gold-deep);
}
.hero-hands .hp h4 { font-size: .92rem; letter-spacing: .015em; color: var(--ink); margin-bottom: 6px; line-height: 1.25; min-height: 2.4em; display: flex; align-items: center; justify-content: center; }
.hero-hands .hp p { font-size: .82rem; color: var(--gray); font-weight: 300; line-height: 1.45; }
.hero-hands .hero-cta { opacity: 0; animation: rise .8s ease .7s forwards; }

@media (max-width: 920px) {
  .hero.hero-hands { min-height: auto; background: linear-gradient(180deg, #f1e9db 0%, #f3ece0 62%, var(--white) 100%); }
  .hero-hands .hero-art   { top: 30vh; height: 44vh; bottom: auto; inset: auto 0; left: 0; right: 0; }
  .hero-hands .hero-scrim { display: none; }
  .hero-hands .hero-spark { top: 52vh; width: 200px; height: 200px; }
  .hero.hero-hands .hero-content { display: flex; flex-direction: column; min-height: auto; padding: 88px 22px 40px; }
  .hero-hands .hero-top { min-height: 74vh; }
  .hero.hero-hands .eyebrow { white-space: normal; font-size: .72rem; line-height: 1.4; padding: 7px 15px; max-width: 92%; margin-bottom: 16px; }
  .hero.hero-hands h1 { font-size: clamp(1.8rem, 7.4vw, 2.7rem); margin-bottom: 14px; }
  .hero.hero-hands .lead { font-size: .98rem; max-width: 420px; }
  .hero-hands .hero-pillars { grid-template-columns: 1fr 1fr; gap: 26px 0; max-width: 460px; margin-top: 6px; }
  .hero-hands .hp:nth-child(odd)::after { display: none; }
  .hero-hands .hp { padding: 0 16px; }
}
@media (max-width: 560px) {
  .hero-hands .hero-art { top: 32vh; height: 40vh; }
  .hero-hands .hero-spark { top: 52vh; width: 170px; height: 170px; }
  .hero-hands .hero-top { min-height: 72vh; }
}

/* Desktop: keep the headline column from overriding (beats earlier .hero h1 media rule) */
@media (min-width: 921px) {
  .hero.hero-hands h1 { font-size: clamp(2.3rem, 3.4vw, 3.4rem); line-height: 1.06; }
  .hero.hero-hands .hero-content { padding-top: 96px; }
  .hero-hands .hero-top { max-width: 760px; margin: 0 auto; }
}

/* ============ REDUCED MOTION (accessibility finesse) ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-hands .hero-art { opacity: 1 !important; transform: none !important; }
  .eyebrow, .hero h1, .hero .lead, .hero-btns, .hero-hands .hero-pillars, .hero-hands .hero-cta { opacity: 1 !important; }
}

/* === FIX: bandă + overflow flagship pe mobil (adăugat) === */
.strip-inner { width: max-content; }

@media (max-width: 920px) {
  .flag-grid > * { min-width: 0; }
  .flag-text { padding: 40px 24px; }
  .flag-btn { white-space: normal; display: block; text-align: center; }
  .flag-text p { overflow-wrap: anywhere; }
}
