/* ==========================================================================
   Marine Legal Bureau â€” stylesheet
   ========================================================================== */

:root {
  --navy: #0d2136;
  --navy-deep: #081521;
  --cream: #f3efe7;
  --cream-dark: #ece6d9;
  --ink: #1c2530;
  --ink-soft: #4b5563;
  --gold: #c79a5a;
  --gold-soft: #d8b482;
  --white: #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --container: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
}

p {
  margin: 0;
  line-height: 1.7;
}

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

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

.arrow {
  display: inline-block;
  transition: transform .25s ease;
}

a:hover .arrow,
.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: var(--gold-soft);
}

.btn-outline {
  border-color: var(--gold);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

/* ---------- section title ---------- */
.section-title {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 50px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 1px;
  background: var(--gold);
}

.section-title.light {
  color: var(--white);
}

.section-title.light::after {
  background: var(--gold);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 22, 36, .92);
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.logo-icon {
  color: var(--gold);
  display: flex;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-family: var(--font-sans);
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 600;
}

.logo-text em {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 2.5px;
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  color: var(--white);
  font-size: 12.5px;
  letter-spacing: 1.6px;
  font-weight: 400;
  opacity: .9;
  transition: color .2s ease;
}

.main-nav a:hover {
  color: var(--gold);
  opacity: 1;
}

.main-nav a.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--white);
  width: 100%;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(6, 15, 26, .35) 0%, rgba(6, 15, 26, .15) 35%, rgba(6, 15, 26, .55) 100%),
    radial-gradient(ellipse at 75% 55%, #f2c98a 0%, #e0a563 12%, #b97a4c 26%, #6b5a68 42%, #3a4560 58%, #1c2740 75%, #0c1526 100%);
  background-size: cover;
  color: var(--white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 14, 24, .55) 0%, rgba(6, 14, 24, .15) 55%, rgba(6, 14, 24, .05) 100%);
}

.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 32px;
  width: 100%;
  margin-bottom: 220px;
}

.hero h1 {
  font-size: 47px;
  line-height: 1.18;
  font-weight: 500;
  max-width: 650px;
  margin-bottom: 26px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}

.hero p {
  max-width: 430px;
  font-size: 15.5px;
  font-weight: 300;
  margin-bottom: 34px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .2);
}

/* ==========================================================================
   RECOGNITION BAR
   ========================================================================== */
.recognition {
  background: var(--navy-deep);
  padding: 34px 32px 40px;
  color: var(--white);
}

.recognition-label {
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 28px;
}

.recognition-row {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.rec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 30px;
  border-right: 1px solid rgba(255, 255, 255, .15);
  min-width: 110px;
}

.rec-item:last-child {
  border-right: none;
}

.rec-name {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: .5px;
}

.rec-name.small {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: .5px;
  line-height: 1.4;
  margin-top: 4px;
}

.rec-sub {
  font-size: 10px;
  letter-spacing: .8px;
  color: rgba(255, 255, 255, .6);
  margin-top: 4px;
}

.rec-badge {
  color: var(--gold);
  gap: 2px;
}

.rec-badge svg {
  margin-bottom: 4px;
}

/* ==========================================================================
   HOW WE CAN ASSIST
   ========================================================================== */
.assist {
  background: var(--cream);
  padding: 90px 32px;
}

.assist-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.assist-item {
  text-align: center;
  padding: 0 14px;
}

.assist-icon {
  color: var(--gold);
  margin-bottom: 22px;
  display: flex;
  justify-content: center;
}

.assist-item h3 {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 1.3px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--ink);
}

.assist-item p {
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 300;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  background: var(--cream);
  padding: 90px 32px;
}

.about-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 60px;
  align-items: stretch;
}

.about-photo {
  position: relative;
  overflow: hidden;
}

.about-content {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-size: 11.5px;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 500;
}

.about-content h2 {
  font-size: 34px;
  margin-bottom: 16px;
}

.tagline {
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 24px;
}

.about-content p {
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 300;
  margin-bottom: 18px;
  max-width: 560px;
}

.about-content .btn {
  margin-top: 14px;
  align-self: flex-start;
}

/* ==========================================================================
   WHY
   ========================================================================== */
.why {
  background: var(--navy);
  padding: 90px 32px;
  color: var(--white);
}

.why-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.why-item {
  text-align: center;
  padding: 0 22px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.why-item:last-child {
  border-right: none;
}

.why-icon {
  color: var(--gold);
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.why-item h3 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1.2px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 12px;
}

.why-item p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, .75);
}

/* ==========================================================================
   INSIGHTS
   ========================================================================== */
.insights {
  background: var(--cream);
  padding: 90px 32px;
}

.insights-head {
  max-width: var(--container);
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insights-head h2 {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 500;
}

.view-all {
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.insights-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.insight-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, .06);
}

.insight-img {
  height: 190px;
  background-size: cover;
  background-position: center;
}

.insight-img--ship {
  background: linear-gradient(180deg, #e8b177 0%, #c97b4e 25%, #5c4b5e 55%, #202a3e 100%);
}

.insight-img--waves {
  background: linear-gradient(180deg, #6d8298 0%, #46586c 45%, #263447 100%);
}

.insight-img--containers {
  background: linear-gradient(180deg, #9c4f3d 0%, #7a3a30 30%, #3f5468 65%, #1f2c3d 100%);
}

.insight-body {
  padding: 24px 26px 30px;
}

.insight-date {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 500;
}

.insight-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  margin-top: 12px;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative;
  padding: 110px 32px;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(10, 20, 35, 0.25), rgba(10, 20, 35, 0.25)),
    url('images/bgg.jpg') no-repeat center center;
  background-size: cover;
}

.cta-inner {
  position: relative;
}

.cta h2 {
  font-size: 34px;
  margin-bottom: 34px;
}

.contact-form {
  max-width: 600px;
  margin: 40px auto 0;
  position: relative;
  z-index: 2;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  border-radius: 2px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
}

.contact-form button {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .8);
  padding: 70px 32px 30px;
}

.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr 1fr;
  gap: 30px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand .logo {
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 18px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
}

.footer-col h4 {
  font-size: 11.5px;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-cities {
  max-width: var(--container);
  margin: 34px auto 0;
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
}

.footer-cities span:nth-child(even) {
  color: rgba(255, 255, 255, .3);
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .4);
  margin-top: 18px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .assist-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 50px;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 44px;
  }

  .why-item {
    border-right: none;
  }

  .footer-top {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .about-photo {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .main-nav.open {
    max-height: 400px;
  }

  .main-nav a {
    width: 100%;
    padding: 16px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 14px;
  }

  .recognition-row {
    flex-direction: column;
  }

  .rec-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 16px 10px;
    width: 100%;
  }

  .assist-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .about-content {
    padding: 50px 28px;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* ---------- focus states ---------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}


.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.hero {
  position: relative;
  min-height: 100vh;
  background: url("images/hero.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
}

.insight-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.insight-img--ship {
  background-image: url("https://mlb.lv/images/latvian-maritime-bowling-cup-2019-54461.jpg");
}

.insight-img--waves {
  background-image: url("https://mlb.lv/images/latvian-maritime-bowling-cup-2019-38347.jpg");
}

.insight-img--containers {
  background-image: url("https://mlb.lv/images/m-u-3-26-03.jpg");
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.main-nav a.active {
  color: var(--gold);
  opacity: 1;
}

/* ---------- about hero ---------- */
.about-hero {
  background: var(--cream);
  padding: 70px 32px 90px;
}

.about-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 60px;
  align-items: stretch;
}

.about-hero-text h1 {
  font-size: 44px;
  color: var(--ink);
  margin-bottom: 12px;
}

.about-hero-text .tagline {
  margin-bottom: 26px;
}

.about-hero-text p {
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 300;
  margin-bottom: 18px;
  max-width: 560px;
}

.about-hero-text .btn {
  margin-top: 12px;
}

.about-hero-photo {
  position: relative;
  overflow: hidden;
  align-self: start;
  margin-top: 36px;
  height: 330px;
}

.about-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- principle banner ---------- */
.principle {
  background: var(--navy-deep);
  color: var(--white);
  padding: 95px 32px;
}

.principle-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 30px;
  align-items: center;
}

.principle-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 2px solid rgba(199, 154, 90, 0.6);
  padding-right: 30px;
}

.emblem-img {
  width: 220px;
  height: auto;
  display: block;
}

.principle-text {
  text-align: center;
}

.principle-text h2 {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 10px;
}

.principle-text .lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  color: var(--white);
  margin-bottom: 20px;
}

.principle-divider {
  border: none;
  height: 1px;
  background: rgba(199, 154, 90, 0.45);
  max-width: 440px;
  margin: 22px auto 26px;
}

.principle-text p {
  color: rgba(255, 255, 255, .82);
  font-size: 15.5px;
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto 12px;
}

/* ---------- international practice / appointments ---------- */
.practice-appointments {
  background: var(--cream);
  padding: 90px 32px;
}

.pa-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.pa-col p.eyebrow {
  margin-bottom: 18px;
}

.pa-col p {
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 300;
  margin-bottom: 16px;
}


.appointments-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.appointments-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}

.appointments-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ---------- professional standing ---------- */
.standing {
  background: var(--cream-dark);
  padding: 90px 32px;
}

.standing-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
}

.standing-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: default;
}

.standing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.5);
  color: var(--navy-deep);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  box-shadow: 
    0 0 0 2px var(--cream-dark), 
    0 0 0 3.5px var(--gold),
    0 6px 16px rgba(13, 33, 54, 0.06);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.standing-badge.award {
  color: var(--gold-soft);
  border-color: var(--gold-soft);
}

.standing-item:hover .standing-badge {
  transform: translateY(-4px) scale(1.05);
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--gold-soft);
  box-shadow: 
    0 0 0 2px var(--cream-dark), 
    0 0 0 3.5px var(--gold-soft),
    0 12px 24px rgba(199, 154, 90, 0.25);
}

.standing-sub {
  font-size: 11px;
  letter-spacing: .5px;
  color: var(--ink-soft);
  margin-top: 3px;
}

/* ---------- laurel highlight ---------- */
.rec-badge-img {
  height: 72px;
  width: auto;
  display: block;
}

.standing-laurel-item {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: default;
}

.standing-laurel-img {
  height: 80px;
  width: auto;
  display: block;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.3s ease;
}

.standing-laurel-item:hover .standing-laurel-img {
  transform: translateY(-4px) scale(1.05);
  filter: drop-shadow(0 12px 24px rgba(199, 154, 90, 0.25));
}

/* ---------- cta subtitle (about page) ---------- */
.cta-lead {
  font-size: 12.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: -14px;
  margin-bottom: 30px;
}

/* ---------- about page responsive ---------- */
@media (max-width: 1024px) {
  .standing-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 16px;
  }
}

@media (max-width: 900px) {
  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero-photo {
    order: -1;
    margin-top: 0;
    height: auto;
    min-height: 320px;
  }

  .principle-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .principle-emblem {
    border-right: none;
    padding-right: 0;
  }

  .emblem-img {
    width: 140px;
    margin: 0 auto;
  }

  .principle-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .pa-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 760px) {
  .about-hero {
    padding: 50px 28px 60px;
  }

  .about-hero-text h1 {
    font-size: 32px;
  }

  .standing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .principle {
    padding: 60px 28px;
  }

  .practice-appointments {
    padding: 60px 28px;
  }

  .standing {
    padding: 60px 28px;
  }
}

/* ---------- modernized footer ---------- */
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1px 1fr;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

.footer-divider {
  background: rgba(199, 154, 90, 0.5);
  width: 1px;
  height: 100%;
}

.footer-right {
  display: flex;
  flex-direction: column;
}

.footer-section-header h4 {
  font-family: var(--font-sans);
  font-size: 12.5px;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}

.footer-section-header .gold-underline {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  line-height: 1.5;
}

.contact-icon-svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item-detail a {
  transition: color 0.25s ease;
}

.contact-item-detail a:hover {
  color: var(--gold);
}

.connect-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.connect-item-box {
  display: flex;
  align-items: center;
}

.connect-link {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: color 0.25s ease;
}

.connect-icon-img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(199, 154, 90, 0.5);
  border-radius: 4px;
  box-sizing: border-box;
  padding: 9px;
  background: transparent;
  flex-shrink: 0;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.connect-icon-svg-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.connect-icon-svg-box rect {
  stroke: rgba(199, 154, 90, 0.5);
  transition: stroke 0.25s ease;
}

.connect-link:hover .connect-icon-img {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.connect-link:hover .connect-icon-svg-box {
  transform: translateY(-2px);
}

.connect-link:hover .connect-icon-svg-box rect {
  stroke: var(--gold);
}

.connect-link:hover {
  color: var(--gold);
}

.connect-text-label {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.3;
}

.footer-map-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
}

.footer-map-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.footer-map-image:hover {
  opacity: 1;
}

.footer-bottom-row {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(199, 154, 90, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-bottom-links a {
  transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

.footer-bottom-divider {
  color: rgba(199, 154, 90, 0.5);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-divider {
    display: none;
  }
  
  .footer-bottom-row {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}