/* Valencor Advisory | Refaktoryzacja 2026-07-10 */
/* ---------- divider motif (diamond) ---------- */
  .diamond-divider{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    margin: 0 auto;
  }
  .diamond-divider .bar{
    height:1px;
    width:60px;
    background: var(--gold);
    opacity:.6;
  }
  .diamond-divider .dot{
    width:7px;height:7px;
    background:var(--gold);
    transform:rotate(45deg);
    flex-shrink:0;
  }

  /* --- about --- */
  .about-grid{
    display:grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap:70px;
    align-items:start;
  }
  .about-text p{
    color: var(--ink);
    font-size:16.5px;
    margin-bottom:20px;
  }
  .about-text strong{color:var(--navy);}

  .why-list{
    display:flex;
    flex-direction:column;
    gap:26px;
  }
  .why-item{
    display:flex;
    gap:18px;
    padding-bottom:24px;
    border-bottom:1px solid var(--line);
  }
  .why-item:last-child{border-bottom:none; padding-bottom:0;}
  .why-icon{
    flex-shrink:0;
    width:46px;height:46px;
    border-radius:50%;
    border:1.5px solid var(--gold);
    display:flex;
    align-items:center;
    justify-content:center;
    color: var(--navy);
  }
  .why-icon img{width:22px;height:22px;}
  .why-item h4{
    font-family: Georgia, serif;
    font-size:17px;
    color:var(--navy);
    margin-bottom:6px;
    font-weight:700;
  }
  .why-item p{
    color: var(--muted);
    font-size:14.5px;
  }

  /* --- services / process --- */
  .process-grid{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px 28px;
    margin-bottom:70px;
  }
  
  .process-card{
    position:relative;
    padding: 30px 22px 26px;
    background: var(--white);
    border: 1px solid var(--line);
    transition: border-color .2s, transform .2s;
  }
  .process-card:hover{
    border-color: var(--gold);
    transform: translateY(-3px);
  }
  .process-num{
    width:38px;height:38px;
    border-radius:50%;
    border:1.5px solid var(--gold);
    color: var(--navy);
    font-family: Georgia, serif;
    font-size:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:18px;
  }
  .process-card h4{
    font-family: Georgia, serif;
    font-size:16.5px;
    color:var(--navy);
    margin-bottom:10px;
    font-weight:700;
  }
  .process-card p{
    color: var(--muted);
    font-size:14px;
  }

  .value-add{
    border-top: 1px solid var(--line);
    padding-top: 50px;
  }
  .value-add h3{
    text-align:center;
    font-size:20px;
    margin-bottom:36px;
  }
  .value-grid{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:30px;
  }
  
  .value-item{
    text-align:center;
  }
  .value-icon{
    width:54px;height:54px;
    margin: 0 auto 16px;
    border-radius:50%;
    border:1.5px solid var(--gold);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--navy);
  }
  .value-icon img{width:24px;height:24px;}
  .value-item p{
    font-size:14px;
    color: var(--ink);
    font-weight:600;
  }

  /* --- team --- */
  .team-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
  
  .team-card{
    display:flex;
    gap:24px;
  }
  .team-photo{
    flex-shrink:0;
    width:130px;
    height:162px;
    overflow:hidden;
    border-radius: 4px;
  }
  .team-photo img{
    width:100%;height:100%;
    object-fit:cover;
  }
  .team-info h3{
    font-size:21px;
    margin-bottom:6px;
  }
  .team-role{
    color: var(--gold);
    font-size:13.5px;
    font-weight:600;
    margin-bottom:14px;
  }
  .team-bullets{
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:9px;
  }
  .team-bullets li{
    font-size:13.5px;
    color: var(--muted);
    padding-left:16px;
    position:relative;
  }
  .team-bullets li::before{
    content:"";
    position:absolute;
    left:0; top:7px;
    width:6px;height:6px;
    background:var(--gold);
    transform:rotate(45deg);
  }
  .team-bullets strong{color:var(--navy);}

  /* --- contact --- */
  .contact-section{
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, #133352 100%);
    color: var(--white);
    text-align:center;
  }
  .contact-section .section-eyebrow{color:var(--gold-light);}
  .contact-section h2{color:var(--white);}
  .contact-section .section-head p{color: rgba(255,255,255,0.75);}

  .contact-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 880px;
    margin: 0 auto 50px;
  }
  
  .contact-card{
    border: 1px solid rgba(184,146,74,0.35);
    padding: 32px 24px;
    background: rgba(255,255,255,0.03);
  }
  .contact-card .c-icon{
    width:44px;height:44px;
    border-radius:50%;
    border:1.5px solid var(--gold-light);
    display:flex;
    align-items:center;
    justify-content:center;
    margin: 0 auto 16px;
    color: var(--gold-light);
  }
  .contact-card .c-icon img{width:20px;height:20px;}
  .contact-card h4{
    font-family: Georgia, serif;
    font-size:15px;
    text-transform:uppercase;
    letter-spacing:.06em;
    color: var(--gold-light);
    margin-bottom:12px;
  }
  .contact-card .placeholder{
    color: rgba(255,255,255,0.55);
    font-size:14.5px;
    font-style:italic;
  }
  .contact-card--company{
    grid-column:1 / -1;
    padding:28px 36px;
    text-align:center;
  }
  .contact-card--company .c-icon{margin:0 auto 16px;}
  .contact-card--company h4{margin-bottom:10px;}
  .contact-company__name{
    color:var(--white);
    font-size:16px;
    line-height:1.5;
  }
  .contact-company__registry{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px 30px;
    margin:12px 0 0;
  }
  .contact-company__registry div{display:flex;gap:8px;}
  .contact-company__registry dt{
    color:var(--gold-light);
    font-size:12px;
    font-weight:700;
    letter-spacing:.08em;
  }
  .contact-company__registry dd{margin:0;color:rgba(255,255,255,.8);}

  .contact-cta{
    margin-top: 30px;
  }

  /* ---------- mobile nav ---------- */
  

  

  

  :focus-visible{
    outline: 2px solid var(--gold);
    outline-offset: 3px;
  }
.why-icon img,.value-icon img,.c-icon img{display:block;opacity:.85;}
.section-mark img{width:auto;}
.footer-inner .f-logo img{width:auto;}

/* ---------- modal formularza kontaktowego ---------- */
.contact-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:grid;
  place-items:center;
  padding:24px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .25s ease, visibility .25s ease;
}
.contact-modal.is-open{opacity:1;visibility:visible;pointer-events:auto;}
.contact-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(7,23,38,.68);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.contact-modal__dialog{
  position:relative;
  z-index:1;
  width:min(700px,100%);
  max-height:calc(100dvh - 48px);
  overflow:auto;
  background:var(--white);
  border:1px solid var(--line);
  box-shadow:0 24px 80px rgba(0,0,0,.28);
  padding:44px;
  transform:translateY(18px) scale(.985);
  transition:transform .25s ease;
}
.contact-modal.is-open .contact-modal__dialog{transform:translateY(0) scale(1);}
.contact-modal__close{
  position:absolute;
  top:18px;
  right:18px;
  width:42px;
  height:42px;
  border:1px solid var(--line);
  border-radius:50%;
  background:var(--white);
  cursor:pointer;
}
.contact-modal__close span{position:absolute;left:11px;top:19px;width:20px;height:2px;background:var(--navy);}
.contact-modal__close span:first-child{transform:rotate(45deg);}
.contact-modal__close span:last-child{transform:rotate(-45deg);}
.contact-modal__header{text-align:center;margin-bottom:26px;padding:0 30px;}
.contact-modal__header h2{font-size:clamp(27px,4vw,36px);margin-bottom:10px;}
.contact-modal__header p{color:var(--muted);}
.contact-form{display:flex;flex-direction:column;gap:18px;}
.contact-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.contact-form__field{display:flex;flex-direction:column;gap:7px;text-align:left;}
.contact-form__field label{font-size:14px;color:var(--navy);font-weight:600;}
.contact-form input,.contact-form textarea{
  width:100%;
  border:1px solid #cfc6b5;
  border-radius:2px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  padding:13px 14px;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea{resize:vertical;min-height:138px;}
.contact-form input:focus,.contact-form textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(184,146,74,.14);outline:none;}
.contact-form .has-error{border-color:#b42318;box-shadow:0 0 0 3px rgba(180,35,24,.08);}
.field-error{min-height:18px;color:#b42318;font-size:12.5px;}
.contact-form-status{display:none;margin-bottom:20px;padding:13px 15px;text-align:left;font-size:14px;border:1px solid transparent;}
.contact-form-status.is-visible{display:block;}
.contact-form-status.is-success{color:var(--navy);background:var(--cream);border-color:rgba(184,146,74,.55);border-left:4px solid var(--gold);box-shadow:0 12px 30px rgba(10,31,51,.10);}
.contact-form-status.is-error{color:#8f1d16;background:#fff1f0;border-color:#efc0bc;}
.contact-form__actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:4px;}
.contact-form__actions .btn{border:0;cursor:pointer;}
.btn-form-clear{background:transparent;color:var(--navy);border:1px solid var(--line)!important;}
.btn-form-clear:hover{border-color:var(--gold)!important;color:var(--gold);}
.contact-form__honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;}
body.modal-open{overflow:hidden;}

/* Ekran potwierdzenia wysłania formularza — v25 */
.contact-success{
  display:none;
  min-height:360px;
  padding:46px 24px 30px;
  text-align:center;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:24px;
  opacity:0;
  transform:translateY(10px);
}
.contact-modal.is-success .contact-modal__header,
.contact-modal.is-success .contact-form-status,
.contact-modal.is-success .contact-form{display:none;}
.contact-modal.is-success .contact-success{
  display:flex;
  opacity:1;
  transform:translateY(0);
  animation:contactSuccessIn .35s ease both;
}
.contact-success__icon{width:88px;height:88px;}
.contact-success__icon svg{width:100%;height:100%;fill:none;stroke:var(--gold);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;}
.contact-success__icon circle{opacity:.48;}
.contact-success__icon path{stroke-width:3.2;}
.contact-success p{
  max-width:520px;
  margin:0;
  color:var(--navy);
  font-family:Georgia,'Cambria','Times New Roman',serif;
  font-size:clamp(24px,3.2vw,34px);
  line-height:1.38;
}
@keyframes contactSuccessIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}

/* ---------- modal cookies ---------- */
.cookie-modal{
  position:fixed;
  inset:0;
  z-index:1200;
  display:grid;
  place-items:center;
  padding:24px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .25s ease, visibility .25s ease;
}
.cookie-modal.is-open{opacity:1;visibility:visible;pointer-events:auto;}
.cookie-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(7,23,38,.72);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
.cookie-modal__dialog{
  position:relative;
  z-index:1;
  width:min(720px,100%);
  max-height:calc(100dvh - 48px);
  overflow:auto;
  background:rgba(10,31,51,.97);
  color:rgba(255,255,255,.82);
  border:1px solid rgba(184,146,74,.55);
  box-shadow:0 28px 90px rgba(0,0,0,.42);
  padding:42px;
  transform:translateY(16px) scale(.985);
  transition:transform .25s ease;
}
.cookie-modal.is-open .cookie-modal__dialog{transform:translateY(0) scale(1);}
.cookie-modal__close{
  position:absolute;
  top:16px;
  right:16px;
  width:40px;
  height:40px;
  border:1px solid rgba(212,175,106,.45);
  border-radius:50%;
  background:transparent;
  cursor:pointer;
}
.cookie-modal__close::before,.cookie-modal__close::after{
  content:"";
  position:absolute;
  left:10px;
  top:19px;
  width:20px;
  height:1px;
  background:var(--gold-light);
}
.cookie-modal__close::before{transform:rotate(45deg);}
.cookie-modal__close::after{transform:rotate(-45deg);}
.cookie-modal__eyebrow{color:var(--gold-light);font-size:12px;letter-spacing:.18em;text-transform:uppercase;margin-bottom:12px;}
.cookie-modal h2{color:var(--white);font-size:clamp(26px,4vw,36px);margin:0 38px 14px 0;}
.cookie-modal p{font-size:15px;line-height:1.7;}
.cookie-modal__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px;}
.cookie-modal__actions .btn{border:0;cursor:pointer;}
.cookie-modal__actions .btn-secondary{border:1px solid rgba(255,255,255,.35);background:transparent;color:var(--white);}
.cookie-modal__actions .btn-secondary:hover{border-color:var(--gold-light);color:var(--gold-light);}
.cookie-modal__settings{display:none;margin-top:26px;padding-top:22px;border-top:1px solid rgba(184,146,74,.28);}
.cookie-modal.is-settings .cookie-modal__settings{display:block;}
.cookie-modal.is-settings .cookie-modal__intro-actions{display:none;}
.cookie-option{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid rgba(255,255,255,.1);}
.cookie-option:last-of-type{border-bottom:0;}
.cookie-option h3{font-family:Georgia,serif;color:var(--white);font-size:17px;margin-bottom:4px;}
.cookie-option p{font-size:13.5px;color:rgba(255,255,255,.65);}
.cookie-switch{position:relative;display:inline-flex;width:48px;height:26px;flex-shrink:0;}
.cookie-switch input{position:absolute;opacity:0;pointer-events:none;}
.cookie-switch span{width:100%;height:100%;border-radius:999px;background:#59697a;transition:background .2s ease;cursor:pointer;}
.cookie-switch span::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s ease;}
.cookie-switch input:checked + span{background:var(--gold);}
.cookie-switch input:checked + span::after{transform:translateX(22px);}
.cookie-switch input:disabled + span{opacity:.72;cursor:not-allowed;}
.cookie-switch input:focus-visible + span{outline:2px solid var(--gold-light);outline-offset:3px;}
.cookie-modal__settings-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px;}
.cookie-policy-link,.cookie-settings-link{color:var(--gold-light);text-decoration:underline;text-underline-offset:3px;}
.cookie-settings-link{background:none;border:0;font:inherit;cursor:pointer;padding:0;}
.footer-cookie-settings{text-align:center;margin-top:12px;font-size:12.5px;}
body.cookie-modal-open{overflow:hidden;}

/* Language switch — last item in the main navigation */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(184,146,74,.55);
  border-radius: 3px;
}
.nav-language .language-switch a {
  min-width: 38px;
  padding: 5px 8px;
  border: 0;
  border-radius: 2px;
  color: var(--gold-light);
  text-align: center;
  letter-spacing: .08em;
  line-height: 1.2;
}
.nav-language .language-switch a:last-child {
  min-width: 48px;
  letter-spacing: .02em;
}
.nav-language .language-switch a:hover,
.nav-language .language-switch a.is-active,
header.scrolled .nav-language .language-switch a:hover,
header.scrolled .nav-language .language-switch a.is-active {
  background: var(--gold);
  color: var(--navy-deep);
}
header.scrolled .language-switch { border-color: rgba(14,40,65,.28); }
header.scrolled .nav-language .language-switch a { color: var(--navy); }
header.scrolled .nav-language .language-switch a.is-active,
header.scrolled .nav-language .language-switch a:hover { color: var(--navy-deep); }
