:root {
  --navy-950: #040a14;
  --navy-900: #061224;
  --navy-850: #0b1f38;
  --navy-700: #123157;
  --gold-500: #c49a45;
  --gold-600: #b38a3a;
  --gold-soft: rgba(196, 154, 69, 0.16);
  --bg-soft: #fafaf9;
  --bg-muted: #f8fafc;
  --card: #ffffff;
  --text-strong: #142033;
  --text-body: #596579;
  --text-soft: #7d8797;
  --border: rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 10px 30px -20px rgba(6, 18, 36, 0.28);
  --shadow-md: 0 20px 50px -26px rgba(6, 18, 36, 0.22);
  --shadow-lg: 0 28px 80px -36px rgba(6, 18, 36, 0.32);
  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --transition: 220ms ease;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(196, 154, 69, 0.08), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
  color: var(--text-strong);
  line-height: 1.72;
  font-size: 16px;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.seo-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.loaded {
  opacity: 1;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.fade-in,
.slide-in-left,
.slide-in-right {
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.fade-in {
  transform: translateY(18px);
}

.slide-in-left {
  transform: translateX(-26px);
}

.slide-in-right {
  transform: translateX(26px);
}

.fade-in.visible,
.slide-in-left.visible,
.slide-in-right.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgb(111 48 144);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  transition: padding var(--transition), background-color var(--transition), box-shadow var(--transition);
  padding: 18px 0;
}

.header.scrolled {
  padding: 12px 0;
  background: rgb(111 48 144);
  box-shadow: 0 18px 36px -28px rgba(0, 0, 0, 0.55);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  /* 根据实际需要调整 */
  width: auto;
  display: block;
}

/* 如果需要响应式 */
@media (max-width: 768px) {
  .logo-img {
    height: 40px;
  }
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition), opacity var(--transition);
}

.nav a:hover {
  color: #ffffff;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-switcher a,
.mobile-language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.language-switcher a:hover,
.mobile-language-switcher a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(196, 154, 69, 0.36);
  color: #ffffff;
}

.mobile-language-switcher {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition);
}

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

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 84px) 0 100px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(4, 10, 20, 0.72), rgba(11, 31, 56, 0.74)),
    url("../img/banner1.webp") center center / cover no-repeat;
}

html[lang="en"] .hero {
  background:
    linear-gradient(180deg, rgba(4, 10, 20, 0.72), rgba(11, 31, 56, 0.74)),
    url("../img/banner1.webp") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(196, 154, 69, 0.28), transparent 35%),
    radial-gradient(circle at 82% 72%, rgba(255, 255, 255, 0.08), transparent 26%);
  pointer-events: none;
}

.hero img {
  display: none;
}

.hero-mobile-hotspot {
  display: none;
}

.hero-mobile-hotspot:focus-visible {
  outline: 3px solid rgba(196, 154, 69, 0.72);
  outline-offset: 4px;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero-text h1,
.hero-text h2 {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.hero-text>p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.16rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 400;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 42px auto 30px;
  width: min(100%, 760px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  color: var(--gold-500);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.expertise {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 840px);
  padding: 16px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
}

.property-dispute-section,
.team-section,
.why-choose-section,
.about-section,
.contact-section {
  padding: 90px 0;
}

.property-dispute-section,
.why-choose-section,
.contact-section {
  background: var(--bg-soft);
}

.team-section,
.about-section {
  background: transparent;
}

.section-title {
  margin-bottom: 18px;
  text-align: center;
  color: var(--navy-900);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.property-dispute-section .section-title,
.team-section .section-title,
.why-choose-section .section-title,
.contact-section .section-title,
.about-section .section-title {
  position: relative;
  padding-bottom: 22px;
}

.property-dispute-section .section-title::after,
.team-section .section-title::after,
.why-choose-section .section-title::after,
.contact-section .section-title::after,
.about-section .section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 84px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.property-dispute-content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.property-card {
  height: auto;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.property-left .property-card {
  background: linear-gradient(180deg, #f9fafc 0%, #ffffff 100%);
}

.property-right .property-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.property-card h3,
.property-logo h3,
.property-logo h4 {
  color: var(--navy-900);
}

.property-card h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 8px;
}

.subtitle,
.property-logo p {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.subtitle {
  margin-bottom: 22px;
}

.case-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.case-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  color: var(--text-body);
  font-size: 0.97rem;
  box-shadow: 0 12px 28px -24px rgba(6, 18, 36, 0.38);
}

.case-list li i {
  color: var(--gold-500);
  font-size: 1rem;
  margin-top: 4px;
}

.property-logo {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.property-logo h3 {
  font-size: 0.9rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--navy-850);
}

.property-logo h4 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

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

.service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  min-height: 88px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: linear-gradient(180deg, #ffffff 0%, #f9fafc 100%);
  box-shadow: 0 10px 24px -20px rgba(6, 18, 36, 0.22);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 34px -28px rgba(6, 18, 36, 0.34);
  border-color: rgba(196, 154, 69, 0.24);
}

.service-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #792696, #792696);
  color: #fff;
  box-shadow: 0 10px 20px -14px rgba(6, 18, 36, 0.55);
}

.service-title {
  color: var(--text-strong);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.25;
}

.team-section .disclaimer {
  max-width: none;
  width: 100%;
  margin: 24px auto 38px;
  padding: 18px 22px 20px;
  text-align: left;
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.85;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(121, 38, 150, 0.05), rgba(121, 38, 150, 0.02));
  border: 1px solid rgba(121, 38, 150, 0.1);
  box-shadow: 0 14px 34px -28px rgba(6, 18, 36, 0.28);
}

.team-section .disclaimer-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(121, 38, 150, 0.1);
  color: #792696;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-section .disclaimer-text {
  display: block;
}

@media (max-width: 768px) {
  .team-section .disclaimer {
    margin: 18px auto 28px;
    padding: 16px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.75;
  }

  .team-section .disclaimer-label {
    margin-bottom: 8px;
    font-size: 0.72rem;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.team-single {
  max-width: none;
  width: 100%;
  margin: 0 auto;
}

.team-feature {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 32px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
}

.team-feature-photo {
  width: 100%;
}

.team-feature-img {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px -18px rgba(6, 18, 36, 0.2);
}

.team-feature-img img {
  width: 100%;
  height: auto;
  display: block;
}

.team-feature-content {
  min-width: 0;
}

.team-feature-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.team-feature-quick-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #faf7fc;
  border: 1px solid rgba(121, 38, 150, 0.08);
  font-size: 0.88rem;
  color: var(--text-body);
}

.team-feature-quick-item i {
  color: #792696;
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
}

.team-feature-header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(121, 38, 150, 0.1);
}

.team-feature-header h2,
.team-feature-header h3 {
  font-size: 2rem;
  color: var(--navy-900);
  font-weight: 800;
  margin-bottom: 8px;
}

.team-feature-role {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #792696, #9b3dbd);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.team-feature-section h3 {
  font-size: 1.1rem;
  color: var(--navy-900);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-feature-section h3 i {
  color: #792696;
  font-size: 0.95rem;
}

.team-feature-section p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .team-feature {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px 18px;
  }

  .team-feature-quick {
    grid-template-columns: 1fr;
    margin-bottom: 22px;
  }

  .team-feature-header h2 {
    font-size: 1.5rem;
  }
}

.lawyer-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.lawyer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 154, 69, 0.2);
}

.lawyer-img {
  padding: 26px 18px 10px;
  background: linear-gradient(180deg, #f6f8fb 0%, #fafbfd 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.img-container {
  width: min(100%, 160px);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 20px 36px -30px rgba(6, 18, 36, 0.45);
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.lawyer-info {
  padding: 18px 18px 22px;
  text-align: center;
}

.lawyer-info h3 {
  font-size: 1.18rem;
  line-height: 1.2;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.lawyer-title-row {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #792696, #792696);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.experience {
  color: var(--text-soft);
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.specialty {
  color: var(--text-body);
  font-size: 0.88rem;
  line-height: 1.6;
}

.why-choose-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.why-choose-item {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-choose-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-choose-icon {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.why-choose-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 56, 0.02), rgba(11, 31, 56, 0.42));
}

.why-choose-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.why-choose-item:hover .why-choose-img {
  transform: scale(1.04);
}

.why-choose-text {
  position: relative;
  padding: 24px 20px 22px;
  text-align: center;
}

.why-choose-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.why-choose-text h3 {
  color: var(--navy-850);
  font-size: 1.16rem;
  line-height: 1.25;
  margin-bottom: 12px;
}

.why-choose-text p {
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 1.62;
}

.about-section .container {
  position: relative;
}

.about-section .container::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 50%;
  width: min(92%, 1100px);
  height: 52%;
  transform: translateX(-50%);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(255, 255, 255, 0.85));
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.05);
  z-index: -1;
}

.about-top {
  max-width: 920px;
  margin: 0 auto 36px;
}

.about-text {
  display: grid;
  gap: 18px;
  text-align: center;
}

.about-text p {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.85;
}

.about-img--hidden {
  display: none;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.feature-item {
  padding: 22px 20px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.78), #ffffff);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 36px -28px rgba(6, 18, 36, 0.3);
  text-align: center;
}

.feature-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #792696, #792696);
  color: #fff;
  box-shadow: 0 18px 26px -20px rgba(6, 18, 36, 0.55);
}

.feature-icon i {
  font-size: 1.28rem;
}

.feature-item h3 {
  color: var(--navy-900);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.62;
}

.office-location-image {
  margin-top: 14px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 28px -24px rgba(6, 18, 36, 0.45);
}

.form-notice,
.message-notice,
.phone-hint {
  color: var(--text-soft);
}

.form-notice {
  max-width: 760px;
  margin: -2px auto 28px;
  text-align: center;
  font-size: 0.95rem;
}

.contact-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--navy-900);
  font-size: 0.96rem;
  font-weight: 700;
}

.message-notice,
.phone-hint {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
}

.phone-input-group {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.phone-input-group .phone-hint {
  grid-column: 1 / -1;
  margin-top: -2px;
}

.area-code-select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.65);
  color: var(--text-strong);
  padding: 14px 16px;
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.area-code-select,
.contact-form input {
  min-height: 54px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.area-code-select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(196, 154, 69, 0.5);
  box-shadow: 0 0 0 4px rgba(196, 154, 69, 0.12);
  background: #ffffff;
}

.submit-btn {
  width: 100%;
  min-height: 58px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(90deg, #792696, #84379e);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 20px 36px -26px rgba(6, 18, 36, 0.6);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.submit-btn.is-loading::after {
  content: "";
  position: absolute;
  right: 18px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: #ffffff;
  animation: button-spin 0.8s linear infinite;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 42px -26px rgba(6, 18, 36, 0.66);
  filter: brightness(1.03);
}

.submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

.submit-btn.is-loading {
  cursor: wait;
  filter: saturate(0.96) brightness(1.02);
}

.submit-feedback {
  margin-top: 10px;
  min-height: 20px;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.submit-feedback.is-loading {
  color: var(--navy-700);
}

.submit-feedback.is-success {
  color: #2f7a47;
}

.submit-feedback.is-error {
  color: #c84444;
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

.footer {
  position: relative;
  overflow: hidden;
  padding: 60px 0 34px;
  background: linear-gradient(180deg, #792696, #300041);
  color: #ffffff;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 154, 69, 0.34), transparent);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.footer-links a {
  transition: color var(--transition);
}

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

.footer-info {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.84rem;
}

.footer-meta {
  width: min(100%, 860px);
  display: grid;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-meta-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: left;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  line-height: 1.72;
}

.footer-meta-icon {
  width: 24px;
  flex: 0 0 24px;
  color: var(--gold-500);
  font-size: 1rem;
  text-align: center;
}

.footer-meta-text {
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.floating-action-buttons {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}

.contact-us-btn,
.whatsapp-btn,
.phone-btn,
.back-to-top-btn {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #792696, #792696);
  color: #ffffff;
  box-shadow: 0 18px 38px -18px rgba(6, 18, 36, 0.7);
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
  border: none;
  text-decoration: none;
}

.contact-us-btn,
.whatsapp-btn,
.phone-btn {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-btn,
.phone-btn {
  position: relative;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #1faa52);
}

.phone-btn {
  background: linear-gradient(135deg, #ff7a45, #ff5b2e);
}

.floating-action-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(9, 18, 32, 0.92);
  color: #ffffff;
  font-size: 0.82rem;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.floating-action-icon {
  width: 24px;
  height: 24px;
}

.whatsapp-btn:hover .floating-action-label,
.phone-btn:hover .floating-action-label {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-4px);
}

.back-to-top-btn {
  opacity: 0;
  transform: translateY(14px);
}

.back-to-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-us-btn:hover,
.whatsapp-btn:hover,
.phone-btn:hover,
.back-to-top-btn:hover {
  box-shadow: 0 22px 44px -18px rgba(6, 18, 36, 0.85);
}

.success-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 10, 20, 0.55);
  backdrop-filter: blur(8px);
  z-index: 1100;
}

.modal-content {
  width: min(100%, 420px);
  padding: 30px 26px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(196, 154, 69, 0.16), rgba(196, 154, 69, 0.08));
  color: var(--gold-500);
  font-size: 1.9rem;
  font-weight: 700;
}

.modal-content h3 {
  color: var(--navy-900);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.modal-content p {
  color: var(--text-body);
  font-size: 0.96rem;
}

.modal-close-btn {
  margin-top: 20px;
  min-width: 132px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--navy-850);
  color: #ffffff;
  cursor: pointer;
}

.mobile-collapse-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid rgba(196, 154, 69, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy-900);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 24px -24px rgba(6, 18, 36, 0.5);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.mobile-collapse-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -24px rgba(6, 18, 36, 0.58);
}

.mobile-collapse-toggle[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .property-dispute-content {
    grid-template-columns: 1fr;
  }

  .team-grid,
  .why-choose-content,
  .about-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(100% - 28px, 100%);
  }

  .header {
    padding: 14px 0;
  }

  .logo h1 {
    font-size: 1.05rem;
  }

  .logo p {
    font-size: 0.58rem;
    letter-spacing: 0.24em;
  }

  .mobile-language-switcher {
    display: flex;
    margin-left: auto;
  }

  .language-switcher {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: 10px;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(145deg, #3d0855 0%, #1a0d2e 50%, #792696 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px -26px rgba(0, 0, 0, 0.6);
    display: none;
  }

  .nav.active {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav li {
    list-style: none;
  }

  .nav a {
    display: block;
    padding: 11px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
  }

  .hero {
    padding: calc(var(--header-height) + 28px) 0 40px;
    background:
      linear-gradient(180deg, rgba(4, 10, 20, 0.82), rgba(11, 31, 56, 0.86)),
      url("../img/banner1.webp") center center / cover no-repeat;
  }

  .hero::before {
    display: block;
  }

  .hero img {
    display: none;
  }

  .hero-mobile-hotspot {
    display: none;
  }

  html[lang="en"] .hero img {
    height: auto;
    object-fit: initial;
    object-position: initial;
  }

  .hero-content {
    display: block;
    max-width: 100%;
    padding: 0;
  }

  .hero-text h2 {
    max-width: 100%;
    font-size: 2.08rem;
    line-height: 1.18;
    margin-bottom: 14px;
  }

  .hero-text>p {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.78;
  }

  .hero-stats {
    margin: 26px auto 18px;
    padding: 12px;
    gap: 8px;
    border-radius: 18px;
    width: 100%;
  }

  .stat-item h3 {
    font-size: 1.3rem;
  }

  .stat-item p {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
  }

  .expertise {
    margin-top: 12px;
    border-radius: 18px;
    padding: 13px 14px;
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .expertise p {
    margin: 0;
  }

  .property-dispute-section,
  .team-section,
  .why-choose-section,
  .about-section,
  .contact-section {
    padding: 68px 0;
  }

  .team-section,
  .why-choose-section,
  .about-section,
  .contact-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 920px;
  }

  .section-title {
    font-size: 1.9rem;
    margin-bottom: 14px;
  }

  .property-dispute-section .section-title,
  .team-section .section-title,
  .why-choose-section .section-title,
  .contact-section .section-title,
  .about-section .section-title {
    padding-bottom: 18px;
  }

  .property-card,
  .contact-form {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .service-grid,
  .team-grid,
  .why-choose-content,
  .about-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .service-item {
    min-height: 84px;
    padding: 12px;
    gap: 10px;
    align-items: flex-start;
  }

  .service-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .service-title {
    font-size: 0.82rem;
  }

  .case-list {
    gap: 10px;
  }

  .case-list li {
    padding: 13px 14px;
    font-size: 0.85rem;
    gap: 10px;
  }

  .property-dispute-content.mobile-collapsible,
  .team-grid.mobile-collapsible {
    margin-bottom: 10px;
  }

  .mobile-collapse-toggle {
    display: inline-flex;
  }

  .mobile-collapsible--issues.is-collapsed .case-list li:nth-child(n+5) {
    display: none;
  }

  .mobile-collapsible--issues.is-collapsed .property-right {
    display: none;
  }

  .mobile-collapsible--team.is-collapsed .lawyer-card:nth-child(n+5) {
    display: none;
  }

  .lawyer-img {
    padding: 18px 12px 8px;
  }

  .img-container {
    width: min(100%, 94px);
    border-width: 3px;
  }

  .lawyer-info {
    padding: 14px 12px 16px;
  }

  .lawyer-info h3 {
    font-size: 0.98rem;
    margin-bottom: 8px;
  }

  .lawyer-title-row {
    gap: 6px;
    margin-bottom: 10px;
  }

  .position,
  .experience {
    font-size: 0.68rem;
  }

  .specialty {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .why-choose-icon {
    height: 108px;
  }

  .why-choose-text {
    padding: 18px 14px 16px;
  }

  .why-choose-text h3 {
    font-size: 0.98rem;
    margin-bottom: 8px;
  }

  .why-choose-text p,
  .feature-item p {
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .about-section .container::before {
    inset: 8px auto auto 50%;
    width: calc(100% - 8px);
    height: 58%;
  }

  .about-top {
    max-width: 100%;
    margin: 0 auto 24px;
    padding: 0 12px;
  }

  .about-section .section-title {
    max-width: 100%;
    margin: 0 auto 12px;
    padding: 0 12px 18px;
    font-size: clamp(1.34rem, 6vw, 1.58rem);
    line-height: 1.18;
    text-wrap: balance;
  }

  html[lang="en"] .about-section .section-title {
    font-size: clamp(1.2rem, 5.4vw, 1.42rem);
    line-height: 1.16;
  }

  .about-text {
    gap: 14px;
    padding: 0 12px;
    text-align: left;
  }

  .about-text p {
    font-size: 0.9rem;
    line-height: 1.72;
  }

  .feature-item {
    padding: 18px 14px;
    border-radius: 20px;
  }

  .feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    margin-bottom: 12px;
  }

  .feature-item h3 {
    font-size: 0.96rem;
  }

  .contact-section {
    padding: 56px 0 58px;
  }

  .form-notice {
    margin: 0 auto 18px;
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .contact-form {
    padding: 18px 14px;
    border-radius: 20px;
  }

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

  .form-group label {
    margin-bottom: 6px;
    font-size: 0.88rem;
  }

  .message-notice,
  .phone-hint {
    margin-top: 6px;
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .phone-input-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .area-code-select,
  .contact-form input,
  .contact-form textarea {
    padding: 12px 14px;
    border-radius: 13px;
  }

  .area-code-select,
  .contact-form input {
    min-height: 46px;
  }

  .contact-form textarea {
    min-height: 96px;
    resize: none;
  }

  .submit-btn {
    min-height: 50px;
    border-radius: 16px;
    font-size: 0.94rem;
  }

  .floating-action-buttons {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }

  .contact-us-btn,
  .back-to-top-btn {
    width: 54px;
    height: 54px;
  }

  .footer {
    padding: 44px 0 28px;
  }

  .footer-links {
    font-size: 0.84rem;
    gap: 8px;
  }

  .footer-links a {
    padding: 4px 0;
  }

  .footer-meta {
    padding: 16px 0;
    gap: 10px;
  }

  .footer-meta-line {
    justify-content: flex-start;
    text-align: left;
    font-size: 0.88rem;
    line-height: 1.65;
  }
}

@media (max-width: 480px) {
  .hero-text h2 {
    font-size: 1.72rem;
  }

  .property-logo h4,
  .property-card h3 {
    font-size: 1.16rem;
  }

  .service-grid,
  .team-grid,
  .why-choose-content,
  .about-features {
    gap: 10px;
  }

  .service-item {
    min-height: 80px;
    padding: 10px;
  }

  .service-title,
  .why-choose-text h3 {
    font-size: 0.78rem;
  }

  .lawyer-info h3 {
    font-size: 0.88rem;
  }

  .specialty,
  .why-choose-text p,
  .feature-item p {
    font-size: 0.72rem;
  }

  .about-top {
    padding: 0 10px;
  }

  .about-section .section-title {
    padding: 0 10px 16px;
    font-size: clamp(1.2rem, 7vw, 1.4rem);
    line-height: 1.16;
  }

  html[lang="en"] .about-section .section-title {
    font-size: clamp(1.08rem, 6.3vw, 1.26rem);
    line-height: 1.14;
  }

  .about-text {
    padding: 0 10px;
    gap: 12px;
  }

  .about-text p {
    font-size: 0.84rem;
    line-height: 1.66;
  }

  .contact-form {
    padding: 16px 13px;
  }

  .form-notice {
    font-size: 0.82rem;
  }

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

  .contact-form textarea {
    min-height: 88px;
  }

  .submit-btn {
    min-height: 48px;
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
