/* =========================================================
   DIKUBA LAW FIRM
   CSS PART 1 OF 7
   FOUNDATION + HEADER + HOME HERO
========================================================= */


/* =========================================================
   1. DESIGN VARIABLES
========================================================= */

:root {
  --navy: #142b43;
  --navy-deep: #0d1e30;
  --navy-soft: #203c57;

  --gold: #b99a5b;
  --gold-light: #d7bf8b;

  --ivory: #f7f4ed;
  --white: #ffffff;

  --text: #333d48;
  --text-muted: #6c7580;
  --border: #e5e1d8;

  --header-height: 84px;

  --container-width: 1180px;
  --container-gutter: 24px;

  --radius-small: 4px;
  --radius-medium: 8px;

  --shadow-soft: 0 8px 28px rgba(15, 32, 48, 0.08);
  --shadow-card: 0 10px 32px rgba(15, 32, 48, 0.09);

  --transition: 220ms ease;
}


/* =========================================================
   2. RESET AND BASE STYLES
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--text);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size: 16px;
  line-height: 1.7;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family:
    Arial,
    Helvetica,
    sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
  flex-shrink: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-size: inherit;
}

button {
  color: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

p {
  margin-top: 0;
  margin-bottom: 18px;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 3.5vw, 3.35rem);
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
}

h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
}

h4 {
  font-size: 1.05rem;
}

ul,
ol {
  padding-left: 22px;
}

[hidden] {
  display: none !important;
}


/* =========================================================
   3. SHARED LAYOUT
========================================================= */

.container {
  width: min(
    var(--container-width),
    calc(100% - var(--container-gutter) * 2)
  );

  margin-inline: auto;
}

.page-view {
  width: 100%;
  min-width: 0;
}

.section {
  position: relative;
  padding-block: 84px;
}

.section-light {
  background: var(--white);
}

.section-ivory {
  background: var(--ivory);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4 {
  color: var(--white);
}

.section-navy p {
  color: rgba(255, 255, 255, 0.82);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

.section-navy .section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.8);
}

.eyebrow {
  margin-bottom: 12px;
  color: #96773d;

  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-navy .eyebrow {
  color: var(--gold-light);
}


/* =========================================================
   4. LANGUAGE SWITCHING
   English is the default language.
   JavaScript will add/remove the language class on body.
========================================================= */

.lang-fr {
  display: none;
}

body.lang-fr-active .lang-en {
  display: none !important;
}

body.lang-fr-active .lang-fr {
  display: initial;
}

body.lang-fr-active .lang-fr:not(span) {
  display: block;
}


/* =========================================================
   5. SHARED BUTTONS
========================================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 48px;
  padding: 12px 22px;

  border: 1px solid transparent;
  border-radius: var(--radius-small);

  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;

  cursor: pointer;

  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.button-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.button-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.button-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.section-navy .button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.section-navy .button-outline:hover {
  background: var(--white);
  color: var(--navy);
}


/* =========================================================
   6. SHARED TEXT LINKS
========================================================= */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;

  transition: color var(--transition);
}

.text-link:hover {
  color: #92713a;
}

.text-link span[aria-hidden="true"] {
  transition: transform var(--transition);
}

.text-link:hover span[aria-hidden="true"] {
  transform: translateX(4px);
}


/* =========================================================
   7. SITE HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;
  min-height: var(--header-height);

  background: var(--white);
  border-bottom: 1px solid rgba(20, 43, 67, 0.1);

  box-shadow: 0 3px 14px rgba(13, 30, 48, 0.045);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;

  min-height: var(--header-height);
}


/* Brand */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  flex: 0 0 auto;
  min-width: 0;
}

.brand-logo {
  width: 54px;
  height: 54px;

  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;

  min-width: 0;
}

.brand-name {
  display: block;

  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.brand-subtitle {
  display: block;
  margin-top: 3px;

  color: #8a744d;
  font-size: 0.67rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}


/* Desktop navigation */

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.25vw, 20px);

  flex: 1 1 auto;
  min-width: 0;
}

.nav-link {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;
  padding: 5px 0;

  color: #364454;

  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;

  transition: color var(--transition);
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;

  height: 2px;

  background: var(--gold);

  content: "";
  transform: scaleX(0);
  transform-origin: left;

  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--navy);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}


/* Language controls */

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;

  flex: 0 0 auto;
}

.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 37px;
  min-height: 34px;
  padding: 6px 8px;

  border: 1px solid var(--border);
  border-radius: var(--radius-small);

  background: var(--white);
  color: var(--navy);

  font-size: 0.73rem;
  font-weight: 700;

  cursor: pointer;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.language-button:hover,
.language-button.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}


/* Hamburger: hidden on desktop */

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;

  width: 44px;
  height: 44px;
  padding: 10px;

  border: 1px solid var(--border);
  border-radius: var(--radius-small);

  background: var(--white);
  color: var(--navy);

  cursor: pointer;
}

.menu-toggle-line {
  display: block;

  width: 21px;
  height: 2px;

  background: currentColor;
  border-radius: 2px;

  transition:
    transform var(--transition),
    opacity var(--transition);
}


/* Animated hamburger when opened */

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   8. HOME HERO
========================================================= */

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: flex;
  align-items: center;

  min-height: 510px;
  background: var(--navy-deep);
  color: var(--white);
}

.home-hero-image,
.home-hero-overlay {
  position: absolute;
  inset: 0;
}

.home-hero-image {
  z-index: -2;
}

.home-hero-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 42%;
}

.home-hero-overlay {
  z-index: -1;

  background:
    linear-gradient(
      90deg,
      rgba(9, 25, 42, 0.91) 0%,
      rgba(9, 25, 42, 0.77) 45%,
      rgba(9, 25, 42, 0.35) 100%
    );
}

.home-hero-content {
  width: min(
    var(--container-width),
    calc(100% - var(--container-gutter) * 2)
  );

  margin-inline: auto;
  padding-block: 88px;

  color: var(--white);
}

.home-hero-content .eyebrow {
  color: var(--gold-light);
}

.home-hero-content h1 {
  max-width: 760px;
  margin-bottom: 24px;

  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1.13;
  letter-spacing: -0.025em;
}

.home-hero-content > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 30px;

  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.home-hero .button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.78);
}

.home-hero .button-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}


/* =========================================================
   END OF CSS PART 1 OF 7
========================================================= */

/* =========================================================
   DIKUBA LAW FIRM — CSS PART 2 OF 7
   HOME INTRODUCTION, PRACTICE AREAS, SERVICES & ACHIEVEMENTS
========================================================= */


/* =========================================================
   1. HOME INTRODUCTION
========================================================= */

.home-introduction {
  padding-top: 76px;
  padding-bottom: 76px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(34px, 5vw, 68px);
}

.intro-image-wrap {
  position: relative;
  width: 100%;
  max-width: 490px;
  margin: 0 auto;
}

.intro-image {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center;
  border-radius: 3px;
}

.image-caption {
  position: absolute;
  right: -14px;
  bottom: 20px;
  max-width: 230px;
  padding: 15px 19px;
  background: var(--navy);
  color: var(--white);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-soft);
}

.image-caption p,
.image-caption span {
  margin: 0;
  color: inherit;
  font-size: 0.82rem;
  line-height: 1.6;
}

.intro-content {
  min-width: 0;
}

.intro-content h2,
.intro-content h3 {
  margin-bottom: 19px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
  font-weight: 500;
  line-height: 1.25;
}

.intro-content p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.85;
}

.intro-content p:last-of-type {
  margin-bottom: 22px;
}

.intro-content .text-link {
  margin-top: 5px;
}


/* =========================================================
   2. SHARED SECTION HEADINGS
========================================================= */

.section-heading {
  max-width: 710px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 11px;
}

.section-heading h2 {
  margin: 0 0 15px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 500;
  line-height: 1.25;
}

.section-heading p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.8;
}

.section-navy .section-heading h2 {
  color: var(--white);
}

.section-navy .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}


/* =========================================================
   3. HOMEPAGE PRACTICE-AREA PREVIEW
========================================================= */

.home-expertise {
  padding-top: 76px;
  padding-bottom: 80px;
}

.service-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
  align-items: stretch;
}

.service-preview-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  box-shadow: 0 5px 18px rgba(13, 30, 48, 0.045);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.service-preview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 154, 91, 0.65);
  box-shadow: var(--shadow-soft);
}

.service-preview-image {
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: #e9e6df;
}

.service-preview-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.service-preview-card:hover .service-preview-image img {
  transform: scale(1.035);
}

.service-preview-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px 22px 25px;
}

.service-preview-body h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
}

.service-preview-body p {
  margin: 0 0 19px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.service-preview-body .text-link {
  margin-top: auto;
  font-size: 0.82rem;
}

.home-expertise > .container > .button,
.home-expertise .section-action {
  display: flex;
  justify-content: center;
  margin-top: 35px;
}


/* =========================================================
   4. HOMEPAGE SERVICES SECTION
========================================================= */

.home-services {
  padding-top: 76px;
  padding-bottom: 80px;
}

.home-services .section-heading {
  margin-bottom: 36px;
}

.home-services .service-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-services .service-preview-card {
  background: var(--white);
}

.home-services .service-preview-image {
  height: 175px;
}

.home-services .service-preview-body {
  padding: 21px 21px 24px;
}

/* General service-list layout support */

.services-grid,
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.home-service-card {
  min-width: 0;
  padding: 25px 23px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.service-card:hover,
.home-service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.service-card h3,
.home-service-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.4;
}

.service-card p,
.home-service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}


/* =========================================================
   5. HOMEPAGE ACHIEVEMENTS / HIGHLIGHTS
========================================================= */

.home-achievements,
.achievements-section {
  padding-top: 66px;
  padding-bottom: 66px;
  background: var(--navy);
  color: var(--white);
}

.home-achievements .section-heading h2,
.achievements-section .section-heading h2 {
  color: var(--white);
}

.home-achievements .section-heading p,
.achievements-section .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.achievements-grid,
.achievement-grid,
.home-achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.achievement-card,
.achievement-item {
  min-width: 0;
  padding: 23px 19px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 3px;
}

.achievement-card h3,
.achievement-item h3 {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
}

.achievement-card p,
.achievement-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Avoid presenting unverified numerical claims as firm statistics. */

.achievement-card .achievement-number,
.achievement-item .achievement-number {
  display: block;
  margin-bottom: 9px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1.2;
}


/* =========================================================
   6. SHARED SECTION ACTIONS
========================================================= */

.section-action {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.section-action .button {
  margin: 0;
}

.section-navy .button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.section-navy .button-outline:hover {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}


/* =========================================================
   7. HOME SECTION IMAGE SAFEGUARDS
========================================================= */

.home-page img {
  max-width: 100%;
}

.home-page .intro-image,
.home-page .service-preview-image img {
  max-width: 100%;
}

.home-page .intro-content,
.home-page .service-preview-body,
.home-page .section-heading {
  overflow-wrap: anywhere;
}


/* END OF CSS PART 2 OF 7 *//* =========================================================
   DIKUBA LAW FIRM — CSS PART 3 OF 7
   HOME FOUNDER, SOCIAL LINKS & CONTACT CALL-TO-ACTION
========================================================= */


/* =========================================================
   1. HOMEPAGE FOUNDER SECTION
========================================================= */

.home-founder {
  padding-top: 76px;
  padding-bottom: 76px;
}

.founder-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(34px, 5vw, 66px);
}

.founder-preview-image {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--ivory);
  border: 1px solid var(--border);
}

.founder-preview-image img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center top;
}

.founder-preview-content {
  min-width: 0;
}

.founder-preview-content .eyebrow {
  margin-bottom: 12px;
}

.founder-preview-content h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.25;
}

.founder-preview-content h3 {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.founder-preview-content p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.85;
}

.founder-preview-content .text-link {
  display: inline-flex;
  margin-top: 7px;
}


/* =========================================================
   2. HOMEPAGE SOCIAL / CONNECT SECTION
========================================================= */

.home-connect {
  padding-top: 62px;
  padding-bottom: 62px;
}

.home-connect-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.home-connect-inner h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
}

.home-connect-inner p {
  max-width: 580px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.91rem;
  line-height: 1.75;
}


/* =========================================================
   3. SOCIAL LINKS — SHARED STYLING
========================================================= */

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 38px;
  min-height: 38px;
  padding: 9px 12px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.social-link svg {
  display: block;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.social-links-large {
  gap: 12px;
}

.social-links-large .social-link {
  min-height: 44px;
  padding: 11px 15px;
}

.social-links-large .social-link svg {
  width: 19px;
  height: 19px;
}


/* =========================================================
   4. HOMEPAGE CONTACT BANNER
========================================================= */

.home-contact-cta {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 340px;
  overflow: hidden;
  background: var(--navy-deep);
}

.home-contact-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.home-contact-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center;
}

.home-contact-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13, 30, 48, 0.94) 0%,
    rgba(13, 30, 48, 0.78) 52%,
    rgba(13, 30, 48, 0.43) 100%
  );
}

.home-contact-content {
  width: min(100% - (var(--gutter) * 2), var(--container-width));
  margin-inline: auto;
  padding-top: 68px;
  padding-bottom: 68px;
  color: var(--white);
}

.home-contact-content .eyebrow {
  margin-bottom: 12px;
  color: var(--gold-light);
}

.home-contact-content h2 {
  max-width: 650px;
  margin: 0 0 16px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
}

.home-contact-content p {
  max-width: 590px;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  line-height: 1.8;
}

.home-contact-content .button-primary {
  color: var(--navy);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.home-contact-content .button-primary:hover {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}


/* =========================================================
   5. HOME PAGE BUTTON AND LINK CONSISTENCY
========================================================= */

.home-page .button,
.home-page a.text-link {
  text-decoration: none;
}

.home-page .text-link {
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.6;
}

.home-page .text-link:hover,
.home-page .text-link:focus-visible {
  color: #8c6e35;
}

.home-page a:focus-visible,
.home-page button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}


/* =========================================================
   6. HOME PAGE IMAGE SAFEGUARDS
========================================================= */

.home-founder img,
.home-connect img,
.home-contact-cta img {
  max-width: 100%;
}

.home-founder .founder-preview-image img {
  object-fit: cover;
  object-position: center top;
}


/* END OF CSS PART 3 OF 7 */

/* =========================================================
   DIKUBA LAW FIRM — CSS PART 4 OF 7
   ABOUT PAGE & FOUNDER PAGE
========================================================= */


/* =========================================================
   1. INNER-PAGE BANNERS — SHARED
========================================================= */

.inner-page-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 250px;
  overflow: hidden;
  background: var(--navy-deep);
}

.inner-banner-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.inner-banner-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  object-position: center 42%;
}

.inner-banner-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13, 30, 48, 0.91) 0%,
    rgba(13, 30, 48, 0.72) 58%,
    rgba(13, 30, 48, 0.48) 100%
  );
}

.inner-banner-content {
  width: min(100% - (var(--gutter) * 2), var(--container-width));
  margin-inline: auto;
  padding-top: 48px;
  padding-bottom: 48px;
  color: var(--white);
}

.inner-banner-content .eyebrow {
  margin-bottom: 10px;
  color: var(--gold-light);
}

.inner-banner-content h1 {
  max-width: 780px;
  margin: 0 0 12px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.18;
}

.inner-banner-content p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.87);
  font-size: 0.94rem;
  line-height: 1.8;
}


/* =========================================================
   2. ABOUT PAGE — INTRODUCTION
========================================================= */

.about-page .about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 62px);
  padding-top: 68px;
  padding-bottom: 68px;
}

.about-intro-content {
  min-width: 0;
}

.about-intro-content .eyebrow {
  margin-bottom: 12px;
}

.about-intro-content h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.3;
}

.about-intro-content h3 {
  margin: 24px 0 10px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
}

.about-intro-content p {
  margin: 0 0 15px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.85;
}

.about-intro-image {
  min-width: 0;
  overflow: hidden;
  background: var(--ivory);
}

.about-intro-image img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
}


/* =========================================================
   3. ABOUT PAGE — VALUES CARDS
========================================================= */

.about-page .values-section {
  padding-top: 68px;
  padding-bottom: 72px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.value-card {
  min-width: 0;
  padding: 27px 23px;
  background: var(--white);
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--gold);
  border-radius: 3px;
}

.value-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 17px;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 600;
}

.value-card h3 {
  margin: 0 0 11px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  font-weight: 500;
  line-height: 1.4;
}

.value-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}


/* =========================================================
   4. ABOUT PAGE — FEATURE SECTION
========================================================= */

.about-page .about-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 58px);
  padding-top: 68px;
  padding-bottom: 68px;
}

.about-feature-image {
  min-width: 0;
  overflow: hidden;
  background: var(--ivory);
}

.about-feature-image img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
}

.about-feature-content {
  min-width: 0;
}

.about-feature-content h2 {
  margin: 0 0 17px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  font-weight: 500;
  line-height: 1.3;
}

.about-feature-content p {
  margin: 0 0 15px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.85;
}


/* =========================================================
   5. FOUNDER PAGE — PROFILE LAYOUT
========================================================= */

.founder-page .founder-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(32px, 5vw, 62px);
  padding-top: 70px;
  padding-bottom: 76px;
}

.founder-profile-image {
  min-width: 0;
  overflow: hidden;
  background: var(--ivory);
  border: 1px solid var(--border);
}

.founder-profile-image img {
  display: block;
  width: 100%;
  max-height: 490px;
  object-fit: cover;
  object-position: center top;
}

.founder-image-caption {
  padding: 14px 16px;
  color: var(--navy);
  background: var(--ivory);
  border-top: 2px solid var(--gold);
  font-size: 0.84rem;
  line-height: 1.65;
}

.founder-profile-content {
  min-width: 0;
}

.founder-profile-content .eyebrow {
  margin-bottom: 11px;
}

.founder-profile-content h1,
.founder-profile-content h2 {
  margin: 0 0 9px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 500;
  line-height: 1.25;
}

.founder-role {
  margin: 0 0 24px;
  color: #8c6e35;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.founder-profile-content p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.85;
}

.founder-profile-content h3 {
  margin: 24px 0 10px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.4;
}


/* =========================================================
   6. FOUNDER SIGNATURE
========================================================= */

/* Keep the original signature proportions. */

.founder-profile-content img[src*="signature"],
.founder-profile-content img[alt*="signature" i],
.founder-profile-content img[alt*="Signature"] {
  display: block;
  width: auto;
  max-width: min(100%, 220px);
  height: auto;
  max-height: 100px;
  margin: 20px 0 12px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Optional signature wrapper, if present in the HTML. */

.founder-signature,
.signature-block {
  margin-top: 25px;
}

.founder-signature p,
.signature-block p {
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}


/* =========================================================
   7. FOUNDER CONTACT PANEL
========================================================= */

.founder-contact-panel {
  margin-top: 27px;
  padding: 22px;
  background: var(--ivory);
  border-left: 3px solid var(--gold);
}

.founder-contact-label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.founder-contact-panel p {
  margin: 0 0 12px;
  font-size: 0.88rem;
  line-height: 1.7;
}

.founder-contact-panel p:last-child {
  margin-bottom: 0;
}

.founder-contact-panel a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(185, 154, 91, 0.8);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.founder-contact-panel a:hover {
  color: #8c6e35;
}

.founder-profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}


/* =========================================================
   8. FOUNDER PAGE — CONTACT BANNER
========================================================= */

.founder-contact-cta {
  padding: 56px 0;
  background: var(--ivory);
  border-top: 1px solid var(--border);
}

.founder-contact-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.founder-contact-cta h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
}

.founder-contact-cta p {
  max-width: 600px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.91rem;
  line-height: 1.8;
}


/* =========================================================
   9. ABOUT & FOUNDER IMAGE SAFEGUARDS
========================================================= */

.about-page img,
.founder-page img {
  max-width: 100%;
}

.about-page p,
.founder-page p,
.about-page h1,
.about-page h2,
.about-page h3,
.founder-page h1,
.founder-page h2,
.founder-page h3 {
  overflow-wrap: anywhere;
}


/* END OF CSS PART 4 OF 7 *//* =========================================================
   DIKUBA LAW FIRM — CSS PART 5 OF 7
   PRACTICE AREAS & OUR SERVICES PAGES
========================================================= */


/* =========================================================
   1. PRACTICE AREAS — INTRODUCTION
========================================================= */

.expertise-page .expertise-introduction {
  max-width: 850px;
  margin: 0 auto;
  padding: 58px var(--gutter) 38px;
  text-align: center;
}

.expertise-introduction .eyebrow {
  margin-bottom: 11px;
}

.expertise-introduction h2 {
  margin: 0 0 15px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.3;
}

.expertise-introduction p {
  margin: 0 auto 14px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.85;
}


/* =========================================================
   2. PRACTICE AREAS — CARD GRID
========================================================= */

.expertise-page .expertise-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
  padding-top: 12px;
  padding-bottom: 76px;
}

.expertise-service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  box-shadow: 0 4px 16px rgba(13, 30, 48, 0.045);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.expertise-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 154, 91, 0.75);
  box-shadow: var(--shadow-soft);
}

.expertise-service-image {
  position: relative;
  width: 100%;
  height: 185px;
  overflow: hidden;
  background: #e9e6df;
}

.expertise-service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.expertise-service-card:hover .expertise-service-image img {
  transform: scale(1.035);
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 35px;
  height: 35px;
  padding: 0 8px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.76rem;
  font-weight: 600;
}

.expertise-service-card .service-index {
  align-self: flex-start;
  margin: 20px 22px 0;
}

.expertise-service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px 22px 24px;
}

.expertise-service-body h2,
.expertise-service-body h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.17rem;
  font-weight: 500;
  line-height: 1.4;
}

.expertise-service-body p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.expertise-service-body p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   3. PRACTICE AREAS — PROCESS SECTION
========================================================= */

.expertise-page .process-section {
  padding-top: 70px;
  padding-bottom: 75px;
  background: var(--ivory);
}

.expertise-page .process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.process-step {
  min-width: 0;
  padding: 25px 23px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  margin-bottom: 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
}

.process-step h2,
.process-step h3 {
  margin: 0 0 11px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
}

.process-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}


/* =========================================================
   4. PRACTICE AREAS — NAVY CALL-TO-ACTION
========================================================= */

.expertise-page .expertise-cta {
  padding: 56px 0;
}

.expertise-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.expertise-cta-content > div {
  min-width: 0;
}

.expertise-cta-content h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
}

.expertise-cta-content p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  line-height: 1.8;
}

.expertise-cta-content .button {
  flex-shrink: 0;
}


/* =========================================================
   5. OUR SERVICES PAGE — INTRODUCTION
========================================================= */

.services-page .services-introduction {
  max-width: 850px;
  margin: 0 auto;
  padding: 58px var(--gutter) 38px;
  text-align: center;
}

.services-introduction .eyebrow {
  margin-bottom: 11px;
}

.services-introduction h2 {
  margin: 0 0 15px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.3;
}

.services-introduction p {
  margin: 0 auto 14px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.85;
}


/* =========================================================
   6. OUR SERVICES PAGE — SERVICE GRID
========================================================= */

.services-page .services-grid,
.services-page .home-services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
  padding-top: 12px;
  padding-bottom: 72px;
}

.services-page .service-card,
.services-page .home-service-card {
  min-width: 0;
  padding: 27px 23px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.services-page .service-card:hover,
.services-page .home-service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.services-page .service-card h2,
.services-page .service-card h3,
.services-page .home-service-card h2,
.services-page .home-service-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
}

.services-page .service-card p,
.services-page .home-service-card p {
  margin: 0 0 13px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.services-page .service-card p:last-child,
.services-page .home-service-card p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   7. OUR SERVICES PAGE — STEPS / PROCESS
========================================================= */

.services-page .process-section,
.services-page .services-process {
  padding-top: 70px;
  padding-bottom: 75px;
  background: var(--ivory);
}

.services-page .process-grid,
.services-page .services-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.services-page .process-step,
.services-page .services-process-step {
  min-width: 0;
  padding: 25px 23px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
}

.services-page .process-step h2,
.services-page .process-step h3,
.services-page .services-process-step h2,
.services-page .services-process-step h3 {
  margin: 0 0 11px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
}

.services-page .process-step p,
.services-page .services-process-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}


/* =========================================================
   8. OUR SERVICES PAGE — CALL-TO-ACTION
========================================================= */

.services-page .services-cta {
  padding: 56px 0;
  background: var(--navy);
  color: var(--white);
}

.services-page .services-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.services-page .services-cta-content h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
}

.services-page .services-cta-content p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  line-height: 1.8;
}

.services-page .services-cta-content .button {
  flex-shrink: 0;
}


/* =========================================================
   9. PRACTICE & SERVICE PAGE SAFEGUARDS
========================================================= */

.expertise-page img,
.services-page img {
  max-width: 100%;
}

.expertise-page p,
.expertise-page h1,
.expertise-page h2,
.expertise-page h3,
.services-page p,
.services-page h1,
.services-page h2,
.services-page h3 {
  overflow-wrap: anywhere;
}


/* END OF CSS PART 5 OF 7 */

/* =========================================================
   DIKUBA LAW FIRM — CSS PART 6 OF 7
   PUBLICATIONS PAGE & INDIVIDUAL ARTICLES
========================================================= */


/* =========================================================
   1. PUBLICATIONS PAGE OVERVIEW
========================================================= */

.publications-page .publications-overview {
  padding-bottom: 70px;
}

.publications-page .publications-introduction {
  max-width: 850px;
  margin: 0 auto;
  padding: 58px var(--gutter) 38px;
  text-align: center;
}

.publications-introduction .eyebrow {
  margin-bottom: 11px;
}

.publications-introduction h2 {
  margin: 0 0 15px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.3;
}

.publications-introduction p {
  margin: 0 auto 14px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.85;
}


/* =========================================================
   2. PUBLICATION CARDS GRID
========================================================= */

.publication-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.publication-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  box-shadow: 0 5px 18px rgba(13, 30, 48, 0.05);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.publication-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 154, 91, 0.7);
  box-shadow: var(--shadow-soft);
}

.publication-card-image {
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: var(--ivory);
}

.publication-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.publication-card:hover .publication-card-image img {
  transform: scale(1.035);
}

.publication-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px 22px 25px;
}

.publication-card-body .publication-category {
  display: inline-block;
  margin-bottom: 12px;
  color: #8c6e35;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.publication-card-body h2,
.publication-card-body h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
}

.publication-card-body p {
  margin: 0 0 17px;
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.8;
}

.publication-card-body .publication-meta {
  margin-top: auto;
  margin-bottom: 16px;
  color: #727272;
  font-size: 0.76rem;
  line-height: 1.6;
}

.publication-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: auto;
  padding: 10px 15px;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.publication-open-button:hover,
.publication-open-button:focus-visible {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}


/* =========================================================
   3. INDIVIDUAL ARTICLE VISIBILITY
========================================================= */

.publication-article[hidden],
.publications-overview[hidden] {
  display: none !important;
}

.publication-article {
  min-width: 0;
  padding-bottom: 70px;
}


/* =========================================================
   4. ARTICLE HEADER
========================================================= */

.article-header {
  padding-top: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--border);
}

.article-header-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.article-back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 13px;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.article-back-button:hover,
.article-back-button:focus-visible {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.article-header .article-lead {
  max-width: 850px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.85;
}


/* =========================================================
   5. ARTICLE CONTENT AND FAQ LAYOUT
========================================================= */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 290px);
  align-items: start;
  gap: clamp(30px, 4vw, 55px);
  padding-top: 45px;
}

.article-content {
  min-width: 0;
  color: var(--text);
}

.article-content h1 {
  margin: 0 0 20px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 500;
  line-height: 1.3;
}

.article-content h2 {
  margin: 34px 0 13px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.4;
}

.article-content h3 {
  margin: 25px 0 11px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.13rem;
  font-weight: 500;
  line-height: 1.4;
}

.article-content p {
  margin: 0 0 17px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.9;
}

.article-content ul,
.article-content ol {
  margin: 0 0 22px;
  padding-left: 23px;
  color: var(--text-muted);
}

.article-content li {
  margin-bottom: 9px;
  padding-left: 3px;
  font-size: 0.91rem;
  line-height: 1.8;
}

.article-content strong {
  color: var(--navy);
  font-weight: 700;
}

.article-content a {
  color: #80632f;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.article-content a:hover {
  color: var(--navy);
}


/* =========================================================
   6. ARTICLE FAQ SIDEBAR
========================================================= */

.article-faq {
  min-width: 0;
  padding: 23px 21px;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
}

.article-faq h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.4;
}

.article-faq h3 {
  margin: 19px 0 7px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
}

.article-faq p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.75;
}

.article-faq-item {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.article-faq-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}


/* =========================================================
   7. ARTICLE FOOTER ACTIONS
========================================================= */

.article-footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
}

.article-footer-actions .button {
  margin: 0;
}

.article-footer-actions .button-outline {
  color: var(--navy);
  border-color: var(--gold);
}

.article-footer-actions .button-outline:hover {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}


/* =========================================================
   8. PUBLICATION METADATA
========================================================= */

.publication-date,
.publication-author,
.publication-meta {
  color: #727272;
  font-size: 0.78rem;
  line-height: 1.6;
}

.publication-category {
  color: #8c6e35;
  font-weight: 700;
}


/* =========================================================
   9. PUBLICATIONS IMAGE AND TEXT SAFEGUARDS
========================================================= */

.publications-page img {
  max-width: 100%;
}

.publications-page h1,
.publications-page h2,
.publications-page h3,
.publications-page p,
.publications-page li {
  overflow-wrap: anywhere;
}


/* END OF CSS PART 6 OF 7 *//* =========================================================
   DIKUBA LAW FIRM — CSS PART 7 OF 7
   TEAM, CONTACT, FOOTER, RESPONSIVENESS & FINAL POLISH
========================================================= */


/* =========================================================
   1. PAGE VISIBILITY
========================================================= */

.page-view {
  display: none;
  width: 100%;
}

.page-view.is-active {
  display: block;
}

.page-view[hidden] {
  display: none !important;
}


/* =========================================================
   2. TEAM PAGE — INTRODUCTION
========================================================= */

.team-page .team-introduction {
  max-width: 850px;
  margin: 0 auto;
  padding: 58px var(--gutter) 38px;
  text-align: center;
}

.team-introduction .eyebrow {
  margin-bottom: 11px;
}

.team-introduction h2 {
  margin: 0 0 15px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.3;
}

.team-introduction p {
  margin: 0 auto 14px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.85;
}


/* =========================================================
   3. TEAM PAGE — FOUNDER FEATURE
========================================================= */

.team-founder-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(30px, 5vw, 55px);
  margin-bottom: 55px;
  padding: 30px;
  background: var(--ivory);
  border: 1px solid var(--border);
}

.team-founder-image {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
}

.team-founder-image img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center top;
}

.team-founder-content {
  min-width: 0;
}

.team-founder-content h2 {
  margin: 0 0 9px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 500;
  line-height: 1.3;
}

.team-founder-content .founder-role {
  margin-bottom: 17px;
}

.team-founder-content p {
  margin: 0 0 15px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}


/* =========================================================
   4. TEAM PAGE — TEAM MEMBERS
========================================================= */

.team-page .team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  padding-bottom: 72px;
}

.team-member-card {
  display: grid;
  grid-template-columns: minmax(125px, 0.7fr) minmax(0, 1.3fr);
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.team-member-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.team-member-image {
  min-width: 0;
  min-height: 210px;
  overflow: hidden;
  background: var(--ivory);
}

.team-member-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  object-position: center top;
}

.team-member-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 22px 20px;
}

.team-member-details h2,
.team-member-details h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
}

.team-member-details .team-member-role {
  margin: 0 0 12px;
  color: #8c6e35;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-transform: uppercase;
}

.team-member-description {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.team-page .team-cta-content {
  padding-top: 55px;
  padding-bottom: 55px;
  text-align: center;
}

.team-cta-content h2 {
  margin: 0 0 13px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
}

.team-cta-content p {
  max-width: 650px;
  margin: 0 auto 23px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  line-height: 1.8;
}


/* =========================================================
   5. CONTACT PAGE — INTRODUCTION
========================================================= */

.contact-page .contact-introduction {
  max-width: 850px;
  margin: 0 auto;
  padding: 55px var(--gutter) 35px;
  text-align: center;
}

.contact-introduction h2 {
  margin: 0 0 15px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.3;
}

.contact-introduction p {
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.85;
}


/* =========================================================
   6. CONTACT PAGE — TWO-COLUMN LAYOUT
========================================================= */

.contact-page .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 30px;
  padding-top: 20px;
  padding-bottom: 75px;
}

.contact-information,
.contact-form-panel {
  min-width: 0;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
}

.contact-information {
  background: var(--ivory);
}

.contact-information h2,
.contact-form-heading h2 {
  margin: 0 0 13px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.35;
}

.contact-information-intro {
  margin: 0 0 27px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}


/* =========================================================
   7. CONTACT DETAILS
========================================================= */

.contact-detail {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  margin-bottom: 23px;
}

.contact-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--gold);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
}

.contact-detail-icon svg {
  width: 19px;
  height: 19px;
}

.contact-detail-content {
  min-width: 0;
}

.contact-detail-content h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.5;
}

.contact-detail-content p,
.contact-detail-content a {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.contact-detail-content a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.contact-detail-content a:hover {
  color: #8c6e35;
}


/* =========================================================
   8. CONTACT SOCIAL LINKS
========================================================= */

.contact-social-block {
  margin-top: 28px;
  padding-top: 23px;
  border-top: 1px solid var(--border);
}

.contact-social-block h3 {
  margin: 0 0 13px;
  color: var(--navy);
  font-size: 0.87rem;
  font-weight: 700;
}

.contact-social-links {
  gap: 8px;
}

.contact-social-links .social-link {
  min-width: 36px;
  min-height: 36px;
  padding: 8px 10px;
  font-size: 0.76rem;
}


/* =========================================================
   9. CONTACT FORM PANEL
========================================================= */

.contact-form-heading {
  margin-bottom: 25px;
}

.contact-form-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 17px;
}

.form-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 7px;
}

.form-field.full-width,
.form-field:has(textarea),
.contact-form .full-width {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  color: var(--text);
  background: #fff;
  border: 1px solid #d9d6cf;
  border-radius: 2px;
  outline: none;
  font-family: inherit;
  font-size: 0.88rem;
  line-height: 1.5;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.form-field input,
.form-field select {
  min-height: 45px;
}

.form-field textarea {
  min-height: 135px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 154, 91, 0.13);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #858585;
  opacity: 1;
}

.form-field-hint {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.contact-form-privacy {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.77rem;
  line-height: 1.7;
}

.contact-submit-button {
  grid-column: 1 / -1;
  justify-self: start;
  min-width: 160px;
}

.contact-form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  color: var(--navy);
  font-size: 0.85rem;
  line-height: 1.6;
}

.contact-form-note {
  margin-top: 18px;
  padding-top: 17px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  line-height: 1.7;
}


/* =========================================================
   10. CONTACT PAGE — LOCATION BANNER
========================================================= */

.contact-location-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 270px;
  overflow: hidden;
  background: var(--navy-deep);
}

.contact-location-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.contact-location-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  object-position: center;
}

.contact-location-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(13, 30, 48, 0.78);
}

.contact-location-content {
  width: min(100% - (var(--gutter) * 2), var(--container-width));
  margin-inline: auto;
  padding-top: 45px;
  padding-bottom: 45px;
  color: var(--white);
}

.contact-location-content h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.3;
}

.contact-location-content p {
  max-width: 570px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.8;
}


/* =========================================================
   11. FOOTER — MAIN LAYOUT
========================================================= */

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy-deep);
}

.footer-main {
  padding-top: 58px;
  padding-bottom: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr 1.1fr;
  gap: 35px;
  align-items: start;
}

.footer-brand-column,
.footer-column,
.footer-contact-column {
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
  color: var(--white);
  text-decoration: none;
}

.footer-brand img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--white);
  border-radius: 2px;
}

.footer-brand-name {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.35;
}

.footer-brand-column > p {
  max-width: 290px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.83rem;
  line-height: 1.8;
}

.footer-column h2,
.footer-column h3,
.footer-contact-column h2,
.footer-contact-column h3 {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link-list a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.6;
  text-decoration: none;
  transition: color var(--transition);
  overflow-wrap: anywhere;
}

.footer-link-list a:hover,
.footer-link-list a:focus-visible {
  color: var(--gold-light);
}

.footer-contact-column p,
.footer-contact-column a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.footer-contact-column p {
  margin: 0 0 11px;
}

.footer-contact-column a {
  text-decoration: none;
}

.footer-contact-column a:hover {
  color: var(--gold-light);
}

.footer-social-links {
  margin-top: 18px;
  gap: 8px;
}

.footer-social-links .social-link {
  min-width: 35px;
  min-height: 35px;
  padding: 7px;
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

.footer-social-links .social-link:hover {
  color: var(--navy);
  background: var(--gold-light);
  border-color: var(--gold-light);
}


/* =========================================================
   12. FOOTER — BOTTOM BAR
========================================================= */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.footer-bottom-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  line-height: 1.7;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.back-to-top:hover {
  color: var(--navy);
  background: var(--gold-light);
  border-color: var(--gold-light);
}


/* =========================================================
   13. LANGUAGE VISIBILITY
========================================================= */

.lang-fr {
  display: none;
}

body.lang-fr-active .lang-en {
  display: none !important;
}

body.lang-fr-active .lang-fr {
  display: initial;
}

body.lang-fr-active p.lang-fr,
body.lang-fr-active div.lang-fr,
body.lang-fr-active section.lang-fr,
body.lang-fr-active h1.lang-fr,
body.lang-fr-active h2.lang-fr,
body.lang-fr-active h3.lang-fr,
body.lang-fr-active li.lang-fr {
  display: block;
}

body.lang-fr-active a.lang-fr,
body.lang-fr-active button.lang-fr,
body.lang-fr-active span.lang-fr {
  display: inline-flex;
}


/* =========================================================
   14. TABLET RESPONSIVENESS
========================================================= */

@media (max-width: 1050px) {

  .header-inner {
    gap: 15px;
  }

  .brand-logo {
    width: 47px;
    height: 47px;
  }

  .brand-name {
    font-size: 0.91rem;
  }

  .main-navigation {
    gap: 11px;
  }

  .nav-link {
    font-size: 0.71rem;
  }

  .header-tools {
    gap: 5px;
  }

  .language-button {
    padding: 7px 8px;
    font-size: 0.7rem;
  }

  .service-preview-grid,
  .expertise-page .expertise-service-grid,
  .services-page .services-grid,
  .services-page .home-services-grid,
  .publication-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 28px;
  }

  .team-page .team-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   15. MOBILE NAVIGATION
========================================================= */

@media (max-width: 850px) {

  :root {
    --header-height: 72px;
    --gutter: 19px;
  }

  .site-header {
    min-height: var(--header-height);
  }

  .header-inner {
    position: relative;
    min-height: var(--header-height);
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .brand {
    flex: 1;
    min-width: 0;
    gap: 9px;
  }

  .brand-logo {
    width: 43px;
    height: 43px;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-name {
    font-size: 0.88rem;
  }

  .brand-subtitle {
    font-size: 0.61rem;
  }

  .menu-toggle {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 8px;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 2px;
    cursor: pointer;
  }

  .menu-toggle-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
    transition:
      transform var(--transition),
      opacity var(--transition);
  }

  .main-navigation {
    position: absolute;
    z-index: 1000;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    padding: 10px 18px 17px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 2px solid var(--gold);
    box-shadow: var(--shadow-soft);
  }

  .site-header.menu-open .main-navigation,
  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation .nav-link {
    display: flex;
    align-items: center;
    min-height: 43px;
    padding: 10px 5px;
    color: var(--navy);
    border-bottom: 1px solid var(--border);
    font-size: 0.83rem;
  }

  .main-navigation .nav-link:last-child {
    border-bottom: 0;
  }

  .main-navigation .nav-link:hover,
  .main-navigation .nav-link.is-active {
    color: #8c6e35;
    background: var(--ivory);
  }

  .header-tools {
    flex: 0 0 auto;
    gap: 4px;
  }

  .header-tools .language-button {
    padding: 7px;
    font-size: 0.68rem;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}


/* =========================================================
   16. MOBILE — TABLET AND PHONE CONTENT
========================================================= */

@media (max-width: 700px) {

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .home-hero {
    min-height: 440px;
  }

  .home-hero-content {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .intro-grid,
  .founder-preview-grid,
  .about-page .about-intro-grid,
  .about-page .about-feature-grid,
  .founder-page .founder-profile-grid,
  .team-founder-feature,
  .contact-page .contact-layout {
    grid-template-columns: 1fr;
  }

  .intro-image-wrap,
  .founder-preview-image {
    max-width: 100%;
  }

  .intro-image {
    height: 310px;
  }

  .image-caption {
    right: 10px;
    bottom: 10px;
  }

  .intro-content {
    padding-top: 10px;
  }

  .founder-preview-image img {
    height: 340px;
  }

  .home-connect-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-contact-cta {
    min-height: 310px;
  }

  .home-contact-image img {
    min-height: 310px;
  }

  .inner-page-banner {
    min-height: 220px;
  }

  .inner-banner-image img {
    min-height: 220px;
  }

  .about-intro-image img,
  .about-feature-image img {
    height: 300px;
  }

  .founder-profile-image img {
    max-height: 430px;
    object-fit: cover;
  }

  .founder-contact-cta .container,
  .expertise-cta-content,
  .services-page .services-cta-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-founder-feature {
    padding: 22px;
  }

  .team-founder-image img {
    height: 300px;
  }

  .contact-information,
  .contact-form-panel {
    padding: 24px 20px;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-faq {
    width: 100%;
  }

  .team-member-card {
    grid-template-columns: minmax(110px, 0.65fr) minmax(0, 1.35fr);
  }

  .achievements-grid,
  .achievement-grid,
  .home-achievements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* =========================================================
   17. SMALL MOBILE PHONES
========================================================= */

@media (max-width: 480px) {

  :root {
    --gutter: 16px;
  }

  body {
    font-size: 15px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 0.78rem;
  }

  .brand-subtitle {
    font-size: 0.55rem;
  }

  .header-tools {
    gap: 2px;
  }

  .header-tools .language-button {
    padding: 6px;
    font-size: 0.63rem;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .home-hero {
    min-height: 400px;
  }

  .home-hero-content {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .home-hero-content h1 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  .home-hero-content p {
    font-size: 0.86rem;
  }

  .hero-actions,
  .founder-profile-actions,
  .section-action {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .founder-profile-actions .button,
  .section-action .button {
    width: 100%;
    text-align: center;
  }

  .service-preview-grid,
  .home-services .service-preview-grid,
  .services-grid,
  .home-services-grid,
  .expertise-page .expertise-service-grid,
  .services-page .services-grid,
  .services-page .home-services-grid,
  .publication-grid,
  .values-grid,
  .process-grid,
  .services-process-grid {
    grid-template-columns: 1fr;
  }

  .service-preview-image,
  .expertise-service-image,
  .publication-card-image {
    height: 185px;
  }

  .intro-image {
    height: 260px;
  }

  .founder-preview-image img {
    height: 285px;
  }

  .about-intro-image img,
  .about-feature-image img {
    height: 255px;
  }

  .team-founder-image img {
    height: 260px;
  }

  .team-member-card {
    grid-template-columns: 1fr;
  }

  .team-member-image,
  .team-member-image img {
    height: 245px;
    min-height: 245px;
  }

  .team-member-details {
    padding: 20px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-field.full-width,
  .form-field:has(textarea),
  .contact-form .full-width,
  .contact-form-privacy,
  .contact-submit-button,
  .contact-form-status {
    grid-column: 1;
  }

  .contact-submit-button {
    width: 100%;
  }

  .footer-main {
    padding-top: 43px;
    padding-bottom: 35px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }

  .footer-brand-column {
    grid-column: 1 / -1;
  }

  .footer-bottom-inner {
    align-items: flex-start;
  }

  .footer-bottom-note {
    font-size: 0.7rem;
  }

  .inner-banner-content {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .inner-banner-content h1 {
    font-size: 1.85rem;
  }

  .publication-card-body {
    padding: 20px;
  }

  .article-header {
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .article-layout {
    padding-top: 30px;
  }

  .article-content h1 {
    font-size: 1.75rem;
  }

  .article-content h2 {
    font-size: 1.3rem;
  }
}


/* =========================================================
   18. ACCESSIBILITY AND FINAL POLISH
========================================================= */

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

img {
  height: auto;
}

.home-hero-image img,
.home-contact-image img,
.inner-banner-image img,
.contact-location-image img,
.intro-image,
.service-preview-image img,
.expertise-service-image img,
.publication-card-image img,
.team-member-image img {
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* =========================================================
   END OF CSS PART 7 OF 7
   END OF DIKUBA LAW FIRM STYLESHEET
========================================================= */