:root {
  --ink: #102330;
  --muted: #526570;
  --navy: #0b3b59;
  --navy-deep: #072c43;
  --blue: #28b5d6;
  --blue-soft: #dff8fc;
  --green: #65c94f;
  --green-soft: #eafbdd;
  --yellow: #f4db40;
  --yellow-soft: #fff7b8;
  --paper: #ffffff;
  --surface: #f6fafb;
  --line: rgba(16, 35, 48, 0.12);
  --shadow-sm: 0 14px 40px rgba(7, 44, 67, 0.10);
  --shadow-lg: 0 28px 70px rgba(7, 44, 67, 0.18);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 35, 48, 0.08);
}
.header-shell {
  width: min(calc(100% - 40px), 1240px);
  min-height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--yellow), #ffec72);
  box-shadow: 0 10px 22px rgba(244, 219, 64, 0.28);
}
.brand-mark svg {
  width: 34px;
  fill: none;
  stroke: var(--navy-deep);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: clamp(1rem, 2vw, 1.25rem); letter-spacing: 0.035em; }
.brand-copy small { margin-top: 6px; color: var(--muted); font-size: 0.72rem; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 10px 13px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  color: #314b5a;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.main-nav a:hover,
.main-nav a:focus-visible { background: var(--surface); color: var(--navy); }
.main-nav .nav-call {
  margin-left: 6px;
  padding-inline: 18px;
  color: white;
  background: var(--navy);
}
.main-nav .nav-call:hover,
.main-nav .nav-call:focus-visible { color: white; background: var(--navy-deep); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform .2s ease, opacity .2s ease;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 14%, rgba(244, 219, 64, 0.32), transparent 27%),
    radial-gradient(circle at 10% 80%, rgba(101, 201, 79, 0.22), transparent 30%),
    linear-gradient(135deg, #f7ffef 0%, #edfcff 50%, #fffceb 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  z-index: -1;
  background: linear-gradient(to top, white, transparent);
}
.hero-shape {
  position: absolute;
  z-index: -1;
  border-radius: 38% 62% 62% 38% / 55% 35% 65% 45%;
  opacity: .6;
  filter: blur(1px);
}
.hero-shape-one {
  width: 380px;
  height: 380px;
  top: -130px;
  right: -80px;
  background: rgba(244, 219, 64, 0.28);
  transform: rotate(18deg);
}
.hero-shape-two {
  width: 300px;
  height: 300px;
  left: -130px;
  bottom: 40px;
  background: rgba(40, 181, 214, 0.18);
  transform: rotate(-18deg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: clamp(44px, 6vw, 84px);
  align-items: center;
  padding-block: 96px 108px;
}
.eyebrow {
  margin: 0 0 12px;
  color: #287c3b;
  font-weight: 850;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1,
.section-heading h2,
.credits h2,
.contact h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.04;
}
.hero h1 { max-width: 760px; font-size: clamp(2.65rem, 5.7vw, 5.25rem); }
.hero-lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: 15px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover,
.button:focus-visible { transform: translateY(-2px); }
.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--navy), #116387);
  box-shadow: 0 14px 25px rgba(11, 59, 89, .23);
}
.button-primary:hover,
.button-primary:focus-visible { box-shadow: 0 18px 32px rgba(11, 59, 89, .31); }
.button-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(11, 59, 89, .14);
}
.hero-meta {
  margin-top: 36px;
  padding-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  border-top: 1px solid rgba(16, 35, 48, 0.13);
}
.hero-meta div { display: grid; gap: 4px; }
.meta-label { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-meta strong { font-size: .96rem; }

.hero-visual { position: relative; }
.image-frame {
  padding: 12px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}
.image-frame img {
  width: 100%;
  aspect-ratio: 1280 / 711;
  object-fit: cover;
  border-radius: 20px;
}
.visual-badge {
  position: absolute;
  left: -26px;
  bottom: -28px;
  max-width: 330px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 18px;
  border-radius: 18px;
  color: var(--navy-deep);
  background: white;
  box-shadow: var(--shadow-sm);
  font-size: .9rem;
  font-weight: 800;
}
.visual-badge-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-soft);
  color: #24813b;
  font-weight: 900;
}

.section { padding-block: 100px; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2,
.credits h2,
.contact h2 { font-size: clamp(2.15rem, 4vw, 3.65rem); }
.section-heading > p:last-child,
.section-intro,
.contact-card > div > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-overview { background: white; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.service-card {
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 12px 35px rgba(7, 44, 67, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -72px;
  top: -72px;
  border-radius: 50%;
  opacity: .42;
}
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-sm); }
.service-card-legal { background: linear-gradient(160deg, #fffef4, #fff9cf); }
.service-card-legal::before { background: var(--yellow); }
.service-card-admin { background: linear-gradient(160deg, #f4fff2, #e4fbdc); }
.service-card-admin::before { background: var(--green); }
.service-card-tech { background: linear-gradient(160deg, #f1fcff, #dff8fc); }
.service-card-tech::before { background: var(--blue); }
.service-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--navy-deep);
  background: white;
  box-shadow: 0 12px 26px rgba(7, 44, 67, .09);
}
.service-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-kicker {
  margin: 25px 0 8px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.service-card h3 { margin: 0; font-size: 1.75rem; line-height: 1.14; letter-spacing: -.025em; }
.check-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; color: #304955; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: #247837;
  font-size: .78rem;
  font-weight: 900;
}
.text-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 850;
  text-decoration: none;
}
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.credits {
  background: linear-gradient(140deg, var(--yellow-soft), #fffce0 48%, var(--green-soft));
}
.credits-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
}
.institution-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 32px;
}
.institution-grid span {
  min-width: 82px;
  padding: 10px 14px;
  border-radius: 999px;
  text-align: center;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(16, 35, 48, .11);
  font-size: .9rem;
  font-weight: 900;
  letter-spacing: .045em;
}
.button-dark { color: white; background: var(--ink); }
.credits-panel {
  position: relative;
  padding: clamp(32px, 5vw, 52px);
  overflow: hidden;
  border-radius: 30px;
  color: white;
  background: linear-gradient(145deg, var(--navy-deep), #126482);
  box-shadow: var(--shadow-lg);
}
.credits-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -110px;
  bottom: -110px;
  border-radius: 50%;
  background: rgba(101, 201, 79, .18);
}
.money-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 24px;
  background: var(--yellow);
  color: var(--navy-deep);
  transform: rotate(-5deg);
}
.money-icon svg {
  width: 68px;
  height: 68px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.panel-label { margin: 0 0 4px; color: #bbd9e8; font-size: .74rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.credits-panel h3 { position: relative; z-index: 1; margin: 0; font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.18; }
.panel-divider { height: 1px; margin: 26px 0; background: rgba(255, 255, 255, .2); }

.offices {
  color: white;
  background:
    radial-gradient(circle at 10% 10%, rgba(40, 181, 214, .18), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(101, 201, 79, .13), transparent 30%),
    var(--navy-deep);
}
.section-heading-light .eyebrow { color: #9ee184; }
.section-heading-light > p:last-child { color: #b8d0dc; }
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.office-card {
  min-height: 95px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(10px);
  transition: background .2s ease, transform .2s ease;
}
.office-card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .11); }
.office-card-main {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(244, 219, 64, .2), rgba(101, 201, 79, .14));
}
.office-card div { display: grid; }
.office-card small { color: #bad1dd; }
.office-card strong { font-size: 1.02rem; }
.pin {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--yellow);
  background: rgba(255, 255, 255, .1);
}

.contact { background: var(--surface); }
.contact-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: center;
  padding: clamp(32px, 5vw, 58px);
  border-radius: 30px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.contact-actions { display: grid; gap: 12px; }
.phone-link,
.social-reference {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 14px 17px;
  border-radius: 17px;
  border: 1px solid var(--line);
  text-decoration: none;
  background: var(--surface);
}
.phone-link { transition: transform .2s ease, border-color .2s ease; }
.phone-link:hover { transform: translateX(3px); border-color: rgba(11, 59, 89, .35); }
.phone-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: white;
  background: var(--navy);
  font-size: 1.2rem;
}
.phone-link span:nth-child(2),
.social-reference { min-width: 0; }
.phone-link small,
.social-reference small { display: block; color: var(--muted); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.phone-link strong,
.social-reference strong { display: block; overflow-wrap: anywhere; }

.site-footer { padding-block: 34px; color: #bed0db; background: #051e2f; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-footer strong { color: white; letter-spacing: .04em; }
.site-footer p { margin: 4px 0 0; }
.footer-contact { display: flex; align-items: center; gap: 18px; }
.footer-contact a { color: white; font-weight: 850; text-decoration: none; }

.floating-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 17px;
  border-radius: 999px;
  color: white;
  background: var(--navy);
  box-shadow: 0 16px 30px rgba(7, 44, 67, .3);
  font-weight: 850;
  text-decoration: none;
}

[data-animate] { transition: opacity .65s ease, transform .65s ease; }
.js-enabled [data-animate] { opacity: 0; transform: translateY(24px); }
.js-enabled [data-animate].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .main-nav a:not(.nav-call) { padding-inline: 9px; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 76px 100px; }
  .hero-copy { max-width: 840px; }
  .hero-visual { max-width: 820px; }
  .visual-badge { left: 24px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; min-height: 380px; }
  .credits-grid { grid-template-columns: 1fr; }
  .credits-panel { max-width: 760px; }
  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 790px) {
  .header-shell { min-height: 70px; }
  .brand-copy small { display: none; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    display: none;
    padding: 12px;
    border-radius: 18px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 12px 14px; }
  .main-nav .nav-call { margin-left: 0; text-align: center; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid { padding-block: 64px 86px; }
  .hero h1 { font-size: clamp(2.45rem, 10vw, 4rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; }
  .service-card { min-height: auto; }
  .office-grid { grid-template-columns: 1fr 1fr; }
  .office-card-main { grid-column: 1 / -1; }
  .floating-call { display: inline-flex; }
  .site-footer { padding-bottom: 100px; }
}

@media (max-width: 560px) {
  .container,
  .header-shell { width: min(calc(100% - 28px), var(--container)); }
  .brand-mark { width: 42px; height: 42px; border-radius: 13px; }
  .brand-mark svg { width: 30px; }
  .brand-copy strong { font-size: .95rem; }
  .hero-grid { padding-block: 48px 78px; }
  .hero-actions { display: grid; }
  .hero-meta { grid-template-columns: 1fr; gap: 14px; }
  .image-frame { padding: 7px; border-radius: 22px; }
  .image-frame img { border-radius: 16px; }
  .visual-badge { position: static; margin: 12px 6px 0; max-width: none; }
  .section { padding-block: 74px; }
  .service-card { padding: 24px; border-radius: 21px; }
  .office-grid { grid-template-columns: 1fr; }
  .office-card-main { grid-column: auto; }
  .contact-card { padding: 26px 20px; gap: 32px; border-radius: 22px; }
  .phone-link,
  .social-reference { align-items: flex-start; }
  .footer-grid,
  .footer-contact { align-items: flex-start; flex-direction: column; }
  .floating-call { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js-enabled [data-animate] { opacity: 1; transform: none; }
}
