/*
Theme Name: Juris Advocates
Theme URI: https://juris.mv
Author: Juris Advocates & Consultancy LLP
Author URI: https://juris.mv
Description: A professional law firm WordPress theme for Juris Advocates & Consultancy LLP — Maldives. Features animated hero, team profiles, practice areas, and WhatsApp CTA.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
License URI: https://juris.mv
Text Domain: juris-advocates
Tags: law, legal, firm, professional, one-page
*/

/* ---- CSS Custom Properties ---- */
:root {
  --copper: #bc8148;
  --steel: #7393b1;
  --sand: #ddd4c1;
  --navy: #264463;
  --navy-deep: #1a3047;
  --ivory: #fffdf1;
  --copper-glow: rgba(188, 129, 72, 0.15);
}

/* ---- Reset & Base ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--ivory);
  color: var(--navy);
  overflow-x: hidden;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--ivory);
}
::-webkit-scrollbar-thumb {
  background: var(--copper);
  border-radius: 3px;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}

/* ---- Google Fonts (loaded via functions.php) ---- */

/* ---- Navigation ---- */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
#mainNav.scrolled {
  background: rgba(255, 253, 241, 0.92);
  backdrop-filter: blur(20px);
  padding: 0.8rem 5vw;
  box-shadow: 0 1px 0 rgba(38, 68, 99, 0.06);
}
.nav-logo img {
  height: 80px;
  transition: height 0.4s;
  width: auto;
}
#mainNav.scrolled .nav-logo img {
  height: 56px;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--copper);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--copper);
}
.nav-links a.nav-cta {
  font-weight: 600 !important;
  color: var(--ivory) !important;
  background: var(--navy);
  padding: 0.65rem 1.5rem !important;
  transition: all 0.4s;
}
.nav-links a.nav-cta::after {
  display: none !important;
}
.nav-links a.nav-cta:hover {
  background: var(--copper);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 200;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 5vw 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
      ellipse 80% 60% at 70% 40%,
      rgba(115, 147, 177, 0.06),
      transparent
    ),
    radial-gradient(
      ellipse 50% 50% at 20% 80%,
      rgba(188, 129, 72, 0.04),
      transparent
    );
}
.hero-wave-tex {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-eyebrow {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: slideUp 0.8s ease 0.15s forwards;
}
.hero-eyebrow::before {
  content: "";
  width: 44px;
  height: 1.5px;
  background: var(--copper);
}
.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 5.8vw, 4.5rem);
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 2rem;
  opacity: 0;
  animation: slideUp 0.9s ease 0.35s forwards;
}
.hero-title strong {
  font-weight: 700;
}
.hero-title em {
  font-style: italic;
  color: var(--copper);
  font-weight: 400;
}
.hero-desc {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1.85;
  color: var(--navy);
  max-width: 620px;
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: slideUp 0.9s ease 0.55s forwards;
  text-align: justify;
}
.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp 0.9s ease 0.75s forwards;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Buttons ---- */
.btn-primary {
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--navy);
  padding: 1rem 2.2rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--copper);
  transform: translateX(-101%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-primary:hover::before {
  transform: translateX(0);
}
.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}
.btn-primary:hover svg {
  transform: translateX(4px);
}
.btn-primary svg {
  transition: transform 0.35s;
}
.btn-ghost {
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 1rem 0.25rem;
  border-bottom: 2px solid var(--copper);
  transition: all 0.35s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-ghost:hover {
  color: var(--copper);
  gap: 0.8rem;
}
.btn-copper {
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--copper);
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.4s;
}
.btn-copper:hover {
  background: var(--navy);
  color: var(--ivory);
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Consultation Strip ---- */
.consult-strip {
  background: var(--navy);
  padding: 4rem 5vw;
  position: relative;
  overflow: hidden;
}
.consult-strip::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(188, 129, 72, 0.06));
}
.consult-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.consult-inner h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--ivory);
  margin-bottom: 0.6rem;
}
.consult-inner p {
  font-weight: 300;
  font-size: 0.92rem;
  color: var(--ivory);
  line-height: 1.65;
  max-width: 560px;
  text-align: justify;
}

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
}
.section-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-header .divider {
  width: 60px;
  height: 2px;
  background: var(--copper);
  margin: 0 auto;
}

/* ---- Principles ---- */
.principles {
  padding: 7rem 5vw;
  max-width: 1200px;
  margin: 0 auto;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.p-card {
  padding: 3rem 2.4rem;
  border: 1px solid var(--sand);
  border-left: 4px solid var(--copper);
  background: var(--ivory);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.p-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--copper);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.p-card:hover::before {
  width: 100%;
}
.p-card:hover {
  border-color: transparent;
  border-left-color: var(--copper);
  box-shadow: 0 16px 60px rgba(38, 68, 99, 0.1),
    0 0 0 1px rgba(188, 129, 72, 0.12);
  transform: translateY(-8px);
}
.p-num {
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  font-size: 2.4rem;
  color: var(--copper);
  opacity: 0.8;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: 0.18em;
  border-bottom: 2px solid var(--copper);
  padding-bottom: 0.5rem;
  display: inline-block;
}
.p-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.p-card p {
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--navy);
  text-align: justify;
}

/* ---- About ---- */
.about {
  padding: 6rem 5vw 7rem;
  background: linear-gradient(180deg, var(--ivory), rgba(221, 212, 193, 0.12));
}
.about-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-label {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.about-label::before {
  content: "";
  width: 32px;
  height: 1.5px;
  background: var(--copper);
}
.about h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1.6rem;
}
.about-text {
  font-weight: 300;
  font-size: 0.93rem;
  line-height: 1.9;
  color: var(--navy);
  text-align: justify;
}
.about-text + .about-text {
  margin-top: 1rem;
}
.about-visual {
  position: relative;
}
.about-block {
  width: 100%;
  aspect-ratio: 4/3;
  background: transparent;
  border: 2px solid var(--navy);
  position: relative;
  overflow: hidden;
}
.about-block .quote-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem;
  z-index: 1;
}
.quote-wrap .qm {
  font-family: "Cormorant Garamond", serif;
  font-size: 7rem;
  color: var(--copper);
  opacity: 0.7;
  line-height: 1;
  position: absolute;
  top: 1rem;
  left: 2rem;
}
.quote-wrap blockquote {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.7rem;
  line-height: 1.5;
  color: var(--copper);
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
}
.about-accent {
  position: absolute;
  top: -14px;
  left: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  border: 1px solid var(--copper);
  opacity: 0.12;
  pointer-events: none;
}

/* ---- Team ---- */
.team {
  padding: 7rem 5vw;
  max-width: 1200px;
  margin: 0 auto;
}
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
.team-member {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3.5rem;
  align-items: start;
}
.team-member:nth-child(even) {
  grid-template-columns: 1fr 300px;
}
.team-member:nth-child(even) .tm-photo {
  order: 2;
}
.tm-photo {
  position: relative;
  background: var(--navy);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.tm-photo-accent {
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  border: 1px solid var(--copper);
  opacity: 0.1;
  pointer-events: none;
  transition: opacity 0.4s;
}
.team-member:hover .tm-photo-accent {
  opacity: 0.2;
}
.tm-info {
  padding-top: 0.5rem;
}
.tm-name {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.9rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.tm-role {
  font-weight: 600;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--copper);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  font-family: "Cormorant Garamond", serif;
}
.tm-quals {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--navy);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}
.tm-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.tm-focus span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--sand);
  color: var(--navy);
  transition: all 0.3s;
}
.team-member:hover .tm-focus span {
  border-color: var(--copper);
  color: var(--copper);
}
.tm-bio {
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--navy);
  text-align: justify;
}
.tm-bio p + p {
  margin-top: 0.8rem;
}
.tm-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tm-name-linkedin {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  opacity: 0.5;
  transition: opacity 0.25s;
  flex-shrink: 0;
  line-height: 1;
}
.tm-name-linkedin:hover {
  opacity: 1;
}
.tm-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: center;
}
.tm-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.tm-links a:hover {
  color: var(--copper);
  border-bottom-color: var(--copper);
}
.tm-links a svg {
  width: 18px;
  height: 18px;
}
.team-banner {
  position: relative;
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  margin-bottom: 5rem;
}
.team-banner img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  filter: brightness(0.95);
}
.team-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 48, 71, 0.08) 0%,
    transparent 40%,
    transparent 60%,
    rgba(26, 48, 71, 0.35) 100%
  );
}
.team-banner-caption {
  position: absolute;
  bottom: 2rem;
  left: 5vw;
  color: var(--ivory);
  text-align: left;
}
.team-banner-caption h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 0.4rem;
  opacity: 0.95;
}
.team-banner-caption p {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.8;
}

/* ---- Practice Areas ---- */
.practice {
  padding: 7rem 5vw;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.practice::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 40% at 80% 20%,
    rgba(115, 147, 177, 0.08),
    transparent
  );
}
.practice .section-header h2 {
  color: var(--ivory);
}
.practice .section-header .divider {
  background: var(--copper);
}
.practice-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: rgba(115, 147, 177, 0.15);
}
.practice-item {
  padding: 2rem 1.8rem;
  background: var(--navy);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.4s;
  cursor: default;
}
.practice-item:hover {
  background: rgba(188, 129, 72, 0.05);
}
.practice-bar {
  width: 3px;
  height: 24px;
  background: var(--copper);
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.4;
  transition: all 0.35s;
}
.practice-item:hover .practice-bar {
  height: 34px;
  opacity: 1;
}
.practice-item h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ivory);
  margin-bottom: 0.3rem;
}
.practice-item p {
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--ivory);
  opacity: 0.85;
  line-height: 1.6;
}

/* ---- Contact ---- */
.contact {
  padding: 6rem 5vw;
}
.contact-inner {
  max-width: 900px;
  margin: 0 auto;
}
.contact h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.contact-text {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--navy);
  margin-bottom: 2rem;
}
.social-grid {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--sand);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  transition: all 0.35s;
}
.social-link:hover {
  border-color: var(--copper);
  color: var(--copper);
  background: var(--copper-glow);
}
.social-link svg {
  width: 16px;
  height: 16px;
}
.social-link--bare {
  border: none;
  padding: 0;
  background: none;
}

/* ---- Footer ---- */
footer {
  background: var(--navy-deep);
  padding: 3.5rem 5vw 2rem;
  color: var(--ivory);
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  align-items: start;
  gap: 2rem;
}
.footer-brand img {
  height: 140px;
  width: auto;
}
.footer-col h5 {
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
}
.footer-coming-soon {
  font-size: 0.68rem;
  color: var(--steel);
  font-style: italic;
  line-height: 1.6;
  margin-top: 0.4rem;
}
.footer-col a {
  display: block;
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--steel);
  margin-bottom: 0.6rem;
  transition: color 0.3s;
}
.footer-col a:hover {
  color: var(--ivory);
}
.footer-bottom {
  max-width: 1140px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(115, 147, 177, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 300;
  font-size: 0.72rem;
  color: var(--steel);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-socials a {
  color: var(--steel);
  transition: color 0.3s;
}
.footer-socials a:hover {
  color: var(--copper);
}
.footer-socials svg {
  width: 18px;
  height: 18px;
}

/* ---- WhatsApp Float ---- */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366;
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.wa-float:hover {
  background: #128c7e;
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}
.wa-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ---- WordPress Alignment & Gutenberg ---- */
.wp-block-image img {
  height: auto;
}
.alignnone,
.alignleft,
.alignright,
.aligncenter {
  max-width: 100%;
}
.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}
.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}
.aligncenter {
  display: block;
  margin: 0 auto 1rem;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-inner {
    grid-template-columns: 1fr;
  }
  .about-visual {
    order: -1;
  }
  .team-member,
  .team-member:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .team-member:nth-child(even) .tm-photo {
    order: 0;
  }
  .tm-photo {
    max-width: 280px;
  }
  .consult-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 680px) {
  .team-banner {
    max-height: none;
  }
  .team-banner img {
    height: auto;
    object-fit: contain;
    object-position: center center;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero {
    padding-top: 110px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .practice-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .wa-float {
    padding: 0.85rem;
    border-radius: 50%;
  }
  .wa-label {
    display: none;
  }
}
