:root {
  --blue-950: #071f3d;
  --blue-900: #0b2b52;
  --blue-800: #113b70;
  --blue-700: #165995;
  --blue-100: #eaf3ff;
  --blue-50: #f5f9ff;
  --gold: #c9a24a;
  --ink: #142033;
  --muted: #637083;
  --line: #d9e4f2;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(7, 31, 61, 0.13);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--blue-950);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  color: var(--blue-950);
  font-size: 1.12rem;
  line-height: 1.3;
}

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

.narrow {
  max-width: 850px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: var(--blue-950);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 228, 242, 0.85);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--blue-950);
  font-weight: 800;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-900);
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
}

.brand-logo {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
}

.footer-brand .brand-logo {
  width: 54px;
  height: 54px;
  flex-basis: 54px;
  margin-bottom: 20px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-menu a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--blue-900);
  font-weight: 700;
  padding: 0 16px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--blue-900);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-950);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 31, 61, 0.94), rgba(7, 31, 61, 0.68), rgba(7, 31, 61, 0.2)),
    url("https://images.unsplash.com/photo-1589994965851-a8f479c573a9?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: end;
  gap: 50px;
  padding: 92px 0;
}

.hero-content h1,
.hero-content p {
  color: var(--white);
}

.hero-content p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.eyebrow.light {
  color: var(--blue-100);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue-700);
  color: var(--white);
  box-shadow: 0 14px 25px rgba(22, 89, 149, 0.25);
}

.btn-secondary,
.btn-light {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--blue-900);
}

.hero-panel {
  display: grid;
  gap: 12px;
}

.hero-panel div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.hero-panel strong {
  display: block;
  font-size: 1.45rem;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.8);
}

.section {
  padding: 88px 0;
}

.intro-section {
  background: linear-gradient(135deg, var(--blue-50), var(--white));
  border-bottom: 1px solid var(--line);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.split-layout p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.heading-row .section-heading {
  margin-bottom: 0;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.04rem;
}

.service-grid {
  display: grid;
  gap: 22px;
}

.service-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.practice-card,
.values-card,
.contact-card,
.contact-form,
.stats-grid article,
.feature-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(7, 31, 61, 0.07);
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.48;
  object-fit: cover;
}

.service-card div {
  padding: 24px;
}

.section-action {
  margin-top: 28px;
}

.service-card p,
.practice-card p,
.stats-grid p,
.feature-item p,
.values-card li,
.contact-card p,
.form-note {
  color: var(--muted);
}

.blue-band {
  background: var(--blue-950);
  color: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.feature-copy h2,
.feature-copy p {
  color: var(--white);
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  padding: 24px;
  box-shadow: none;
}

.feature-item:first-child {
  grid-column: 1 / -1;
}

.feature-item h3,
.feature-item p {
  color: var(--white);
}

.feature-item p {
  color: rgba(255, 255, 255, 0.74);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px;
  border-radius: var(--radius);
  background: var(--blue-50);
  border: 1px solid var(--line);
}

.cta h2 {
  margin-bottom: 0;
}

.page-hero {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--blue-50), var(--white));
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-hero img {
  width: 100%;
  aspect-ratio: 1.58;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: start;
}

.about-grid p {
  color: var(--muted);
}

.values-card,
.contact-card,
.contact-form,
.practice-card,
.stats-grid article {
  padding: 28px;
}

.values-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
}

.muted-section {
  background: var(--blue-50);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.stats-grid strong {
  color: var(--gold);
  font-size: 0.92rem;
}

.expertise-preview {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 32px;
  align-items: start;
}

.expertise-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.expertise-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(7, 31, 61, 0.07);
}

.expertise-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.service-grid.detailed {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.practice-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.practice-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--blue-700);
}

.practice-card h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.13rem;
}

.practice-card:hover {
  border-color: rgba(22, 89, 149, 0.38);
  box-shadow: 0 18px 42px rgba(7, 31, 61, 0.13);
  transform: translateY(-5px);
}

.practice-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-100);
  color: var(--blue-800);
  font-size: 1.2rem;
}

.contact-hero {
  text-align: center;
}

.contact-hero .eyebrow {
  justify-content: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 30px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.contact-info p {
  margin-bottom: 0;
}

.contact-info strong {
  display: block;
  color: var(--blue-950);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  color: var(--blue-950);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 4px rgba(22, 89, 149, 0.12);
}

.field-error {
  min-height: 18px;
  color: #b42318;
  font-weight: 700;
}

.form-submit {
  width: max-content;
}

.form-note {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  max-width: min(380px, calc(100% - 44px));
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--blue-950);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  background: var(--blue-950);
  color: rgba(255, 255, 255, 0.78);
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr 0.9fr 1.25fr;
  gap: 34px;
}

.footer-brand,
.footer-grid h2 {
  color: var(--white);
}

.footer-grid h2 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
}

.footer-grid a {
  display: block;
  width: fit-content;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 8px;
}

.footer-grid p {
  margin-bottom: 10px;
}

.footer-contact a {
  display: inline;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    border-radius: 8px;
  }

  .hero-grid,
  .page-hero-grid,
  .split-layout,
  .feature-grid,
  .about-grid,
  .contact-grid,
  .expertise-preview {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 76px 0;
  }

  .hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-grid.compact,
  .service-grid.detailed,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .navbar {
    min-height: 74px;
  }

  .nav-menu {
    top: 74px;
    left: 14px;
    right: 14px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-logo,
  .footer-brand .brand-logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .hero-grid {
    padding: 64px 0;
  }

  .hero-panel,
  .service-grid.compact,
  .service-grid.detailed,
  .stats-grid,
  .feature-list,
  .expertise-list,
  .two-column,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .page-hero {
    padding: 56px 0;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }

  .form-submit,
  .btn,
  .heading-row .btn {
    width: 100%;
  }

  .heading-row {
    align-items: stretch;
    flex-direction: column;
  }
}


.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top: 2px solid #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.6s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}




/* csr */




.csr-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.csr-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.csr-gallery img:hover {
  transform: scale(1.03);
}

@media (max-width: 980px) {
  .csr-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .csr-gallery {
    grid-template-columns: 1fr;
  }
}

@media(min-width:650px){
  .cta-button{
    width:35%;
  }
}