:root {
  --pc-navy: #00274d;
  --pc-navy-2: #0b3155;
  --pc-gold: #b8860b;
  --pc-ink: #17212b;
  --pc-muted: #5d6875;
  --pc-soft: #f4f7fa;
  --pc-border: #dce3ea;
  --pc-white: #ffffff;
  --pc-radius: 18px;
  --pc-shadow: 0 18px 50px rgba(17, 35, 54, 0.08);
}

html { scroll-padding-top: 82px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--pc-ink);
  background: #fff;
  line-height: 1.65;
}
h1,h2,h3,h4,h5,h6,.navbar-brand { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-weight: 700; }
h2 { font-size: clamp(2rem, 3.7vw, 3.15rem); line-height: 1.08; letter-spacing: -0.035em; }
h3 { letter-spacing: -0.02em; }
a { color: var(--pc-navy); }
a:hover { color: #7b5900; }

.skip-link { position: absolute; left: -9999px; top: auto; z-index: 9999; background: #fff; color: #000; padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

#mainNav { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 rgba(0,0,0,.08); padding: .9rem 0; transition: padding .2s ease, box-shadow .2s ease; }
#mainNav.navbar-shrink { padding: .55rem 0; box-shadow: 0 5px 25px rgba(20,35,50,.08); }
#mainNav .navbar-brand { color: var(--pc-ink); font-size: 1.35rem; letter-spacing: -.03em; }
#mainNav .nav-link { color: #263544; font-weight: 600; font-size: .93rem; padding-left: .75rem; padding-right: .75rem; text-decoration: none; }
#mainNav .nav-link:hover, #mainNav .nav-link.active { color: var(--pc-navy); }
.nav-cta { padding: .62rem 1rem !important; color: #fff !important; }
.nav-cta:hover { color: #fff !important; }

.btn { border-radius: 999px; font-weight: 700; text-decoration: none; padding: .78rem 1.35rem; }
.btn-lg { padding: .95rem 1.55rem; font-size: 1rem; }
.btn-primary { background: var(--pc-navy); border-color: var(--pc-navy); }
.btn-primary:hover, .btn-primary:focus { background: #0a3b68; border-color: #0a3b68; }
.btn-outline-primary { color: var(--pc-navy); border-color: var(--pc-navy); }
.btn-outline-primary:hover { background: var(--pc-navy); border-color: var(--pc-navy); }

.hero-section { position: relative; min-height: 720px; background: url('../assets/img/bg-masthead.jpg') center center / cover no-repeat; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,24,48,.94) 0%, rgba(0,31,61,.84) 49%, rgba(0,39,77,.20) 100%); }
.hero-content { position: relative; z-index: 2; }
.hero-section h1 { color: #fff; font-size: clamp(2.7rem, 6vw, 5.35rem); line-height: .99; letter-spacing: -.055em; max-width: 970px; margin-bottom: 1.5rem; }
.hero-lead { color: rgba(255,255,255,.9); font-size: clamp(1.12rem, 2vw, 1.4rem); max-width: 820px; line-height: 1.55; }
.hero-statement { color: #fff; font-weight: 700; max-width: 820px; font-size: 1.04rem; border-left: 3px solid var(--pc-gold); padding-left: 1rem; margin-top: 1.5rem; }
.eyebrow { color: var(--pc-gold); font-size: .78rem; line-height: 1.2; letter-spacing: .14em; font-weight: 800; margin-bottom: .9rem; }
.text-gold { color: #e5c461 !important; }

.trust-strip { background: var(--pc-navy); color: #fff; }
.trust-item { padding: 1.45rem 1rem; border-right: 1px solid rgba(255,255,255,.16); }
.trust-item:last-child { border-right: 0; }
.trust-label { display: block; font-size: .78rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem; }
.trust-item strong { font-size: 1rem; }

.page-section { padding: 6.5rem 0; }
.bg-soft { background: var(--pc-soft); }
.section-heading { max-width: 790px; }
.section-heading > p:last-child { color: var(--pc-muted); font-size: 1.08rem; }
.intro-section .lead-copy { font-size: 1.2rem; color: #344250; }

.service-card { background: #fff; border: 1px solid var(--pc-border); border-radius: var(--pc-radius); padding: 2rem; box-shadow: 0 1px 0 rgba(0,0,0,.01); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--pc-shadow); }
.service-number { display: inline-flex; align-items: center; justify-content: center; width: 2.35rem; height: 2.35rem; border-radius: 50%; background: #edf2f7; color: var(--pc-navy); font-weight: 800; font-size: .82rem; margin-bottom: 1.15rem; }
.service-card h3 { font-size: 1.32rem; color: var(--pc-navy); }
.service-card p { color: var(--pc-muted); }
.service-card ul { margin: 1.1rem 0 0; padding-left: 1.15rem; color: #35414c; }
.service-card li { margin-bottom: .5rem; }
.service-card-cta { background: var(--pc-navy); color: #fff; border-color: var(--pc-navy); }
.service-card-cta h3, .service-card-cta p { color: #fff; }
.service-card-cta .eyebrow { color: #e5c461; }
.service-card-cta .text-link { color: #fff; }
.text-link { font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .12rem; }
.text-link:hover { color: var(--pc-gold); }

.uk-establishment-panel { border: 1px solid var(--pc-border); border-radius: 26px; padding: clamp(2rem, 5vw, 4.5rem); background: linear-gradient(135deg, #fff 0%, #f7f9fb 100%); box-shadow: var(--pc-shadow); }
.checklist-card { background: var(--pc-navy); color: #fff; border-radius: var(--pc-radius); padding: 2rem; }
.checklist-card h3 { color: #fff; font-size: 1.25rem; }
.check-list { list-style: none; padding: 0; margin: 1.25rem 0 1.6rem; }
.check-list li { position: relative; padding-left: 1.6rem; margin-bottom: .7rem; color: rgba(255,255,255,.9); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #e5c461; font-weight: 800; }
.checklist-card .btn-outline-primary { border-color: #fff; color: #fff; }
.checklist-card .btn-outline-primary:hover { background: #fff; color: var(--pc-navy); }

.featured-client-section { background: #fff; }
.featured-label { font-size: .75rem; font-weight: 800; letter-spacing: .13em; color: var(--pc-gold); margin-bottom: 1rem; }
.featured-client-card { border-radius: 26px; overflow: hidden; background: var(--pc-navy); color: #fff; box-shadow: var(--pc-shadow); }
.featured-image-wrap { position: relative; min-height: 500px; background: #eff5f8; overflow: hidden; }
.featured-client-image { width: 100%; height: 100%; object-fit: cover; object-position: center; position: absolute; inset: 0; }
.featured-client-logo { position: absolute; left: 1.5rem; bottom: 1.5rem; width: min(72%, 390px); background: #fff; border-radius: 14px; box-shadow: 0 12px 35px rgba(0,0,0,.25); }
.featured-client-copy { padding: clamp(2rem, 5vw, 4.2rem); }
.featured-client-copy h2 { color: #fff; font-size: clamp(2rem, 3.3vw, 3rem); }
.featured-client-copy p { color: rgba(255,255,255,.87); }
.featured-client-copy strong { color: #fff; }
.featured-client-copy .text-link { color: #fff; }
.featured-note { margin: 1rem 0 0; color: var(--pc-muted); font-size: .88rem; }

.case-card { background: #fff; border: 1px solid var(--pc-border); border-radius: var(--pc-radius); padding: 2rem; }
.case-tag { display: inline-block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--pc-navy); background: #edf2f7; border-radius: 999px; padding: .35rem .65rem; font-weight: 800; margin-bottom: 1rem; }
.case-card h3 { color: var(--pc-navy); font-size: 1.45rem; }
.case-summary { color: var(--pc-muted); }
.case-card details { border-top: 1px solid var(--pc-border); margin-top: 1.4rem; padding-top: 1rem; }
.case-card summary { color: var(--pc-navy); font-weight: 800; cursor: pointer; }
.case-details { padding-top: 1rem; color: #394653; }
.case-details p:last-child { margin-bottom: 0; }

.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem; }
.why-item { border-top: 3px solid var(--pc-gold); padding: 1.35rem 1.25rem 1.15rem; background: #fff; box-shadow: 0 10px 30px rgba(17,35,54,.05); }
.why-item h3 { font-size: 1.15rem; color: var(--pc-navy); }
.why-item p { color: var(--pc-muted); margin: 0; }

.founder-section { background: #10283f !important; }
.founder-photo { width: min(100%, 420px); height: 520px; object-fit: cover; object-position: 50% 54%; border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.founder-section h2 { color: #fff; }
.founder-section p { color: rgba(255,255,255,.82); }
.founder-lead { color: #fff !important; font-size: 1.2rem; font-weight: 700; }

.identity-section { padding-top: 5rem; padding-bottom: 5rem; }
.identity-card { border: 1px solid #c8d5e2; border-left: 6px solid var(--pc-gold); border-radius: var(--pc-radius); padding: clamp(2rem, 4vw, 3rem); background: #fff; box-shadow: var(--pc-shadow); }
.identity-card h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.official-link { display: inline-block; margin-top: .8rem; font-size: .88rem; font-weight: 700; text-decoration: none; }

.contact-section h2 { max-width: 650px; }
.contact-lead { font-size: 1.13rem; color: var(--pc-muted); max-width: 650px; }
.contact-card { background: #fff; border-radius: var(--pc-radius); border: 1px solid var(--pc-border); padding: 2rem; box-shadow: var(--pc-shadow); }
.contact-card dl { margin: 0 0 1.2rem; }
.contact-card dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--pc-border); }
.contact-card dt { color: var(--pc-muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-card dd { margin: 0; }
.contact-card a { font-weight: 700; text-decoration: none; }

.site-footer { background: #0b1e30; color: #fff; padding: 4.5rem 0 1.5rem; }
.footer-brand { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 1rem; }
.footer-copy { color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-heading { color: #fff; font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .92rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 3rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.13); display: flex; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,.55); font-size: .84rem; }
.footer-bottom a { color: rgba(255,255,255,.7); text-decoration: none; }

.legal-page { background: var(--pc-soft); min-height: 100vh; }
.legal-nav { background: #fff; border-bottom: 1px solid var(--pc-border); }
.legal-wrap { max-width: 920px; margin: 0 auto; padding: 5rem 1.5rem; }
.legal-card { background: #fff; border: 1px solid var(--pc-border); border-radius: 20px; padding: clamp(1.5rem, 4vw, 3.5rem); box-shadow: var(--pc-shadow); }
.legal-card h1 { color: var(--pc-navy); font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.04em; }
.legal-card h2 { color: var(--pc-navy); font-size: 1.4rem; letter-spacing: -.02em; margin-top: 2rem; }
.legal-card h3 { font-size: 1.05rem; margin-top: 1.5rem; }
.legal-meta { color: var(--pc-muted); font-size: .9rem; }
.legal-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 2rem; }

@media (max-width: 991.98px) {
  #mainNav .navbar-collapse { padding: .75rem 0 1rem; }
  .hero-section { min-height: 680px; background-position: 62% center; }
  .hero-overlay { background: rgba(0,31,61,.83); }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .trust-item:last-child { border-bottom: 0; }
  .featured-image-wrap { min-height: 420px; }
  .featured-client-image { position: absolute; }
}

@media (max-width: 767.98px) {
  .page-section { padding: 4.5rem 0; }
  .hero-section h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .why-grid { grid-template-columns: 1fr; }
  .contact-card dl > div { grid-template-columns: 1fr; gap: .2rem; }
  .footer-bottom { flex-direction: column; }
  .founder-photo { height: 430px; }
}

@media (max-width: 575.98px) {
  .hero-section { min-height: 720px; }
  .hero-section .btn { width: 100%; }
  .service-card, .case-card { padding: 1.5rem; }
  .uk-establishment-panel { padding: 1.5rem; }
  .featured-image-wrap { min-height: 330px; }
  .featured-client-logo { left: 1rem; bottom: 1rem; width: 78%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}


/* Ukrainian search pages and language navigation */
.language-link { font-weight: 800 !important; }
.ua-promo-section { padding-top: 0; }
.ua-promo-panel { border-radius: 26px; padding: clamp(2rem, 5vw, 4rem); background: linear-gradient(135deg, #edf5fb 0%, #ffffff 75%); border: 1px solid var(--pc-border); box-shadow: var(--pc-shadow); }
.ua-link-grid { display: grid; gap: .8rem; }
.ua-link-grid a { display: block; border: 1px solid var(--pc-border); background: #fff; border-radius: 14px; padding: 1rem 1.15rem; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.ua-link-grid a:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17,35,54,.08); }
.ua-link-grid strong { display: block; color: var(--pc-navy); margin-bottom: .1rem; }
.ua-link-grid span { display: block; color: var(--pc-muted); font-size: .92rem; }
.ua-hero h1 { max-width: 1100px; font-size: clamp(2.5rem, 5.4vw, 4.9rem); }
.ua-hero .hero-lead { max-width: 900px; }

.content-page { background: #fff; }
.service-page-hero { padding: 9.5rem 0 5rem; background: linear-gradient(135deg, #eff5fa 0%, #ffffff 68%); border-bottom: 1px solid var(--pc-border); }
.service-page-hero h1 { color: var(--pc-navy); font-size: clamp(2.55rem, 5.8vw, 4.8rem); max-width: 1050px; line-height: 1.02; letter-spacing: -.05em; margin-bottom: 1.4rem; }
.service-page-lead { max-width: 900px; color: #344250; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; }
.pc-breadcrumb { margin-bottom: 2.7rem; }
.pc-breadcrumb .breadcrumb { margin: 0; font-size: .86rem; }
.pc-breadcrumb a { text-decoration: none; color: var(--pc-muted); }
.pc-breadcrumb .active { color: var(--pc-navy); }
.narrow-content { max-width: 1040px; }
.prose-content > h2 { color: var(--pc-navy); margin-top: 3.5rem; margin-bottom: 1.1rem; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.prose-content > h2:first-of-type { margin-top: 1.2rem; }
.prose-content > p, .prose-content > ul { font-size: 1.05rem; }
.keyword-note { border-left: 4px solid var(--pc-gold); background: #f8fafc; padding: 1rem 1.2rem; color: #465361; border-radius: 0 12px 12px 0; }
.content-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.content-grid.two-col { grid-template-columns: repeat(2,minmax(0,1fr)); }
.info-panel { border: 1px solid var(--pc-border); border-radius: 16px; padding: 1.5rem; background: #fff; }
.info-panel h3 { color: var(--pc-navy); font-size: 1.2rem; }
.info-panel p, .info-panel li { color: #45515d; }
.info-panel ul { padding-left: 1.15rem; margin-bottom: 0; }
.callout-panel { background: var(--pc-navy); color: #fff; border-radius: 20px; padding: clamp(1.6rem,4vw,2.6rem); margin: 3rem 0; }
.callout-panel h2 { color: #fff; margin-top: 0 !important; font-size: clamp(1.7rem,2.8vw,2.3rem) !important; }
.callout-panel p { color: rgba(255,255,255,.88); margin-bottom: 0; }
.callout-panel .btn-primary { background: #fff; border-color: #fff; color: var(--pc-navy); }
.callout-panel .btn-primary:hover { background: #eef3f8; color: var(--pc-navy); }
.plain-check-list { list-style: none; padding: 0; }
.plain-check-list li { position: relative; padding-left: 1.7rem; margin-bottom: .65rem; }
.plain-check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--pc-gold); font-weight: 900; }
.source-note { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--pc-border); color: var(--pc-muted); font-size: .88rem !important; }
.faq-list { border-top: 1px solid var(--pc-border); }
.faq-item { border-bottom: 1px solid var(--pc-border); padding: 1rem 0; }
.faq-item summary { color: var(--pc-navy); font-weight: 800; font-size: 1.06rem; cursor: pointer; list-style-position: outside; }
.faq-item > div { padding-top: .8rem; color: #45515d; }
.faq-item p { margin-bottom: .3rem; }
.related-section { padding-top: 5rem; padding-bottom: 5rem; }
.related-card { display: flex; flex-direction: column; gap: .3rem; padding: 1.35rem; border: 1px solid var(--pc-border); border-radius: 14px; text-decoration: none; background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.related-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17,35,54,.08); }
.related-card strong { color: var(--pc-navy); }
.related-card span { color: var(--pc-muted); font-size: .9rem; }
.related-card.related-current { border-color: #9fb4c8; background: #f4f8fb; }

@media (max-width: 991.98px) {
  .content-grid, .content-grid.two-col { grid-template-columns: 1fr; }
  .service-page-hero { padding-top: 8.3rem; }
}
@media (max-width: 575.98px) {
  .service-page-hero { padding-top: 7.6rem; padding-bottom: 3.8rem; }
  .service-page-hero .btn { width: 100%; }
  .ua-promo-panel { padding: 1.5rem; }
}
