﻿:root {
  color-scheme: dark;
  --background: #0b0d10;
  --background-soft: #101318;
  --card: #12151a;
  --card-2: #171b21;
  --foreground: #ece3d4;
  --muted: #a79a86;
  --muted-2: #746b5f;
  --primary: #c4a16d;
  --primary-light: #dec18f;
  --primary-dark: #8f6d3f;
  --border: rgba(222, 193, 143, 0.18);
  --border-soft: rgba(236, 227, 212, 0.09);
  --shadow: rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
.font-serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
}

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

em {
  color: var(--primary);
  font-style: italic;
}

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

.narrow {
  max-width: 820px;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  border-bottom: 1px solid transparent;
  animation: headerDrop 560ms ease both;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(11, 13, 16, 0.97);
  border-color: var(--border-soft);
  box-shadow: 0 16px 40px var(--shadow);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: auto;
  height: clamp(54px, 7vw, 78px);
  transition: transform 240ms ease;
}

.brand:hover img {
  transform: scale(1.03);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}

.nav-link {
  position: relative;
  color: rgba(236, 227, 212, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--primary);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--primary);
}

.header-social,
.footer-social,
.mobile-social,
.contact-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-social a,
.footer-social a,
.mobile-social a,
.contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  color: rgba(236, 227, 212, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-social svg,
.footer-social svg,
.mobile-social svg,
.contact-social svg {
  display: block;
  width: 18px;
  height: 18px;
}

.footer-social a,
.contact-social a {
  border-color: var(--border-soft);
}

.header-social a:hover,
.footer-social a:hover,
.mobile-social a:hover,
.contact-social a:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  position: relative;
}

.menu-open,
.menu-open::before,
.menu-open::after,
.menu-close::before,
.menu-close::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open {
  top: 21px;
}

.menu-open::before {
  top: -8px;
  left: 0;
  right: 0;
}

.menu-open::after {
  top: 8px;
  left: 0;
  right: 0;
}

.menu-close::before,
.menu-close::after {
  top: 21px;
  opacity: 0;
}

.site-header.is-open .menu-open,
.site-header.is-open .menu-open::before,
.site-header.is-open .menu-open::after {
  opacity: 0;
}

.site-header.is-open .menu-close::before {
  opacity: 1;
  transform: rotate(45deg);
}

.site-header.is-open .menu-close::after {
  opacity: 1;
  transform: rotate(-45deg);
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--border-soft);
}

.mobile-panel-inner {
  padding-block: 22px 28px;
}

.mobile-panel nav {
  display: grid;
  gap: 16px;
}

.mobile-social {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}

main {
  min-height: 60vh;
  padding-top: 88px;
}

.hero {
  min-height: calc(92svh - 88px);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-slides,
.hero-slide,
.hero-slide > img,
.hero-shade,
.hero-lines {
  position: absolute;
  inset: 0;
}

.hero-slides {
  z-index: 0;
}

.hero-slide {
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 900ms ease, visibility 0s linear 900ms;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transition: opacity 900ms ease;
}

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 6800ms ease;
  will-change: transform;
}

.hero-slide.is-active > img {
  transform: scale(1.07);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(11, 13, 16, 0.9), rgba(11, 13, 16, 0.78) 45%, var(--background)),
    linear-gradient(90deg, rgba(11, 13, 16, 0.72), transparent 50%, rgba(11, 13, 16, 0.56));
}

.hero-lines {
  z-index: 2;
  pointer-events: none;
}

.hero-lines::before,
.hero-lines::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  border-color: rgba(196, 161, 109, 0.24);
}

.hero-lines::before {
  left: 24px;
  top: 88px;
  border-left: 1px solid;
  border-top: 1px solid;
  animation: cornerTrace 1200ms ease 300ms both;
}

.hero-lines::after {
  right: 24px;
  bottom: 80px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  animation: cornerTrace 1200ms ease 520ms both;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-block: 70px;
}

.hero h1 {
  margin: 30px 0 0;
  font-size: clamp(3.2rem, 10vw, 8rem);
  letter-spacing: 0;
}

.hero-accent {
  margin: 0;
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(2.6rem, 8vw, 7rem);
  line-height: 1;
}

.hero-kicker,
.section-label {
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.hero-kicker {
  color: rgba(236, 227, 212, 0.66);
  margin-top: 22px;
}

.hero-copy {
  color: var(--muted);
  max-width: 580px;
  margin: 32px auto 0;
  font-size: 1.08rem;
}

.hero-slide.is-active h1 {
  animation: riseIn 800ms ease 120ms both;
}

.hero-slide.is-active .hero-accent {
  animation: riseIn 900ms ease 240ms both;
}

.hero-slide.is-active .hero-kicker {
  animation: fadeIn 900ms ease 440ms both;
}

.hero-slide.is-active .hero-copy {
  animation: riseIn 900ms ease 580ms both;
}

.hero-slide.is-active .button {
  animation: riseIn 900ms ease 720ms both;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: clamp(22px, 5vw, 42px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(196, 161, 109, 0.68);
  background: transparent;
  cursor: pointer;
  transform: rotate(45deg);
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.hero-dot:hover,
.hero-dot.is-active {
  background: var(--primary);
  border-color: var(--primary);
  transform: rotate(45deg) scale(1.25);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 14px 28px;
  border: 1px solid;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

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

.button-outline {
  border-color: rgba(196, 161, 109, 0.5);
  color: var(--foreground);
}

.button-outline:hover,
.button-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #111418;
}

.button-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  box-shadow: 0 18px 36px rgba(196, 161, 109, 0.16);
}

.button-quiet {
  border-color: rgba(236, 227, 212, 0.2);
}

.button-quiet:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 10vw, 120px);
}

.section-card {
  background: var(--card);
}

.section h2 {
  margin: 18px 0 28px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.section p,
.prose p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 64px;
}

.diamond-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
}

.diamond-divider span {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 161, 109, 0.7));
}

.diamond-divider span:last-child {
  background: linear-gradient(90deg, rgba(196, 161, 109, 0.7), transparent);
}

.diamond-divider i {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(196, 161, 109, 0.8);
  transform: rotate(45deg);
}

.hero-slide.is-active .diamond-divider span {
  animation: lineGrow 800ms ease 80ms both;
}

.hero-slide.is-active .diamond-divider i {
  animation: diamondPop 700ms ease 180ms both;
}

.large-gap {
  margin-top: 58px;
}

.large-gap i {
  animation: diamondSpin 8s linear infinite;
}

.text-link,
.mini-link {
  color: var(--primary);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 22px;
}

.text-link:hover,
.mini-link:hover {
  color: var(--primary-light);
}

.vertical-lines::before,
.vertical-lines::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(196, 161, 109, 0.1), rgba(196, 161, 109, 0.04), transparent);
  pointer-events: none;
}

.vertical-lines::before {
  left: 28%;
}

.vertical-lines::after {
  right: 28%;
}

.dot-grid {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(196, 161, 109, 0.13) 1px, transparent 0);
  background-size: 68px 68px;
  animation: dotDrift 26s linear infinite;
}

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

.practice-card,
.area-card,
.cert-card,
.contact-form-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
}

.practice-card {
  position: relative;
  min-height: 184px;
  padding: 30px;
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.practice-card::before,
.area-card::before,
.cert-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 48px;
  height: 1px;
  background: var(--primary);
  transition: width 220ms ease;
}

.practice-card:hover,
.area-card:hover,
.cert-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 161, 109, 0.45);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}

.practice-card:hover::before,
.area-card:hover::before,
.cert-card:hover::before {
  width: 100%;
}

.practice-card h3 {
  position: relative;
  margin: 0 52px 34px 0;
  font-size: 1.35rem;
  transition: color 180ms ease;
}

.practice-card:hover h3 {
  color: var(--primary);
}

.practice-number {
  position: absolute;
  right: 22px;
  top: 18px;
  color: rgba(196, 161, 109, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
}

.contact-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.page-header {
  position: relative;
  overflow: hidden;
  padding-block: clamp(86px, 12vw, 140px);
  border-bottom: 1px solid var(--border-soft);
}

.page-header-inner {
  position: relative;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 26px;
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.page-header p {
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
}

.page-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(196, 161, 109, 0.06);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbitPulse 12s ease-in-out infinite;
}

.orbit-one {
  width: min(780px, 90vw);
  aspect-ratio: 1;
}

.orbit-two {
  width: min(560px, 76vw);
  aspect-ratio: 1;
  animation-delay: -5s;
}

.corner {
  position: absolute;
  width: 76px;
  height: 76px;
  border-color: rgba(196, 161, 109, 0.14);
}

.corner-top {
  left: 46px;
  top: 74px;
  border-left: 1px solid;
  border-top: 1px solid;
  animation: cornerTrace 1000ms ease 320ms both;
}

.corner-bottom {
  right: 46px;
  bottom: 74px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  animation: cornerTrace 1000ms ease 460ms both;
}

.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(42px, 8vw, 86px);
  align-items: start;
}

.framed-image {
  position: relative;
}

.framed-image::before,
.framed-image::after {
  content: "";
  position: absolute;
  border-color: rgba(196, 161, 109, 0.24);
  pointer-events: none;
}

.framed-image::before {
  inset: 0;
  border: 1px solid;
}

.framed-image::after {
  width: 130px;
  height: 130px;
  right: -18px;
  bottom: -18px;
  border: 1px solid;
  z-index: -1;
}

.framed-image img {
  width: 100%;
  height: auto;
  transition: transform 600ms ease;
}

.framed-image:hover img {
  transform: scale(1.03);
}

.lead-accent {
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-style: italic;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 46px;
}

.cert-card {
  position: relative;
  padding: 36px 26px;
}

.cert-card h3 {
  color: var(--primary);
  font-size: 1.14rem;
}

.prose {
  max-width: 820px;
}

.prose p {
  margin-bottom: 24px;
}

.diamond-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  color: var(--muted);
}

.diamond-list li {
  position: relative;
  padding-left: 26px;
}

.diamond-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--primary);
  transform: rotate(45deg);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 42px 0 24px;
  border: 1px solid rgba(196, 161, 109, 0.24);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.muted {
  color: var(--muted);
}

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

.area-card {
  position: relative;
  padding: 30px;
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.area-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.area-card-head span {
  color: var(--muted-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
}

.area-card-head h2 {
  margin: 10px 0 0;
  font-size: 1.55rem;
}

.area-card-head i {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(196, 161, 109, 0.4);
  transform: rotate(45deg);
  flex: 0 0 auto;
  transition: transform 280ms ease, opacity 280ms ease;
}

.area-card:hover .area-card-head i {
  opacity: 0.7;
  transform: rotate(90deg);
}

.area-card ul {
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.area-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.area-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background: var(--primary);
  transform: rotate(45deg);
}

.area-card li.is-extra {
  display: none;
}

.area-card.is-expanded li.is-extra {
  display: list-item;
}

.area-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.area-toggle {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.area-toggle:hover {
  color: var(--foreground);
}

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

.title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 56px;
}

.title-row > span {
  width: 4px;
  height: 58px;
  background: var(--primary);
}

.title-row h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.news-card a {
  display: block;
}

.news-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--card);
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.news-card:hover img,
.related-card:hover img {
  transform: scale(1.06);
}

.news-image span,
.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 14px;
  background: rgba(18, 21, 26, 0.96);
  border: 1px solid var(--border-soft);
  color: var(--foreground);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-image span {
  position: absolute;
  right: 16px;
  bottom: 16px;
}

.news-body h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  transition: color 180ms ease;
}

.news-card:hover h2,
.related-card:hover h3 {
  color: var(--primary);
}

.news-meta,
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.82rem;
}

.news-meta > span,
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.news-meta span span,
.article-meta span:last-child {
  color: var(--primary);
}

.article-header {
  position: relative;
  padding-block: clamp(58px, 8vw, 96px) 56px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 42px;
}

.back-link:hover {
  color: var(--primary);
}

.article-header h1 {
  max-width: 900px;
  margin: 24px 0 28px;
  font-size: clamp(2rem, 5vw, 4rem);
}

.article-image {
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border: 1px solid rgba(196, 161, 109, 0.16);
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content-section {
  padding-block: 56px 88px;
}

.article-prose {
  margin-inline: auto;
}

.related-section h2 {
  margin-bottom: 40px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.related-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 16px;
  transition: transform 400ms ease;
}

.related-card h3 {
  font-size: 1.25rem;
  transition: color 180ms ease;
}

.contact-info-list {
  display: grid;
  gap: 28px;
  margin-top: 34px;
}

.contact-info-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
}

.contact-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(196, 161, 109, 0.35);
  color: var(--primary);
  font-family: Georgia, "Times New Roman", serif;
}

.contact-icon svg {
  width: 21px;
  height: 21px;
}

.contact-info-list h3,
.social-title {
  color: var(--primary);
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.contact-info-list a {
  display: block;
  width: fit-content;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.contact-info-list a:hover {
  color: var(--primary);
}

.social-title {
  margin-top: 40px;
}

.contact-form-card {
  padding: clamp(28px, 5vw, 44px);
}

.contact-form-card h2 {
  font-size: 1.8rem;
  margin-bottom: 28px;
}

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

.contact-form-card label {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  border: 1px solid var(--border-soft);
  background: var(--background);
  color: var(--foreground);
  padding: 13px 14px;
  resize: vertical;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: 1px solid var(--primary);
  border-color: var(--primary);
}

.contact-form-card button {
  margin-top: 14px;
  cursor: pointer;
}

.site-footer {
  position: relative;
  background: var(--card);
  overflow: hidden;
}

.footer-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 161, 109, 0.35), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1.25fr;
  gap: clamp(34px, 7vw, 72px);
  padding-block: 76px;
}

.footer-brand img {
  width: auto;
  height: 64px;
  margin-bottom: 28px;
}

.site-footer h2 {
  color: var(--primary);
  margin-bottom: 26px;
  font-size: 1.18rem;
}

.site-footer p,
.site-footer address,
.site-footer a {
  color: var(--muted);
  font-style: normal;
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--primary);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-contact {
  margin-top: 22px;
}

.footer-social {
  margin-top: 28px;
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 26px 16px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(167, 154, 134, 0.78);
  font-size: 0.78rem;
}

.footer-bottom p + p {
  margin-top: 8px;
}

.footer-bottom a {
  color: var(--primary);
}

.whatsapp-float {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-float:not([hidden]) {
  animation: floatIn 420ms ease both;
}

.whatsapp-hint {
  max-width: 218px;
  padding: 12px 14px;
  border: 1px solid rgba(196, 161, 109, 0.26);
  background: var(--card);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  color: var(--foreground);
  font-size: 0.9rem;
}

.whatsapp-float a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  border: 2px solid var(--primary);
  background: var(--background);
  color: var(--primary);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  font-weight: 700;
  transition: transform 180ms ease;
}

.whatsapp-float a:hover {
  transform: scale(1.05);
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
}

.not-found {
  min-height: 64vh;
  display: grid;
  place-items: center;
}

.not-found h1 {
  color: var(--primary);
  font-size: clamp(4rem, 12vw, 8rem);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.areas-grid .reveal:nth-child(odd),
.news-grid .reveal:nth-child(odd),
.split-grid .reveal:nth-child(odd) {
  transform: translate(-28px, 24px);
}

.areas-grid .reveal:nth-child(even),
.news-grid .reveal:nth-child(even),
.split-grid .reveal:nth-child(even) {
  transform: translate(28px, 24px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.areas-grid .reveal.is-visible,
.news-grid .reveal.is-visible,
.split-grid .reveal.is-visible {
  transform: translate(0, 0);
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes lineGrow {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes diamondPop {
  from {
    opacity: 0;
    transform: rotate(45deg) scale(0.45);
  }
  to {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

@keyframes diamondSpin {
  from {
    transform: rotate(45deg);
  }
  to {
    transform: rotate(405deg);
  }
}

@keyframes dotDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 68px 68px;
  }
}

@keyframes orbitPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes cornerTrace {
  from {
    opacity: 0;
    transform: scale(0.65);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1050px) {
  .desktop-nav,
  .header-social {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header.is-open .mobile-panel {
    display: block;
  }

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

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

  .split-grid,
  .contact-grid,
  .areas-grid,
  .news-grid,
  .related-grid,
  .cert-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(86svh - 88px);
  }

  .hero-lines::before,
  .hero-lines::after,
  .corner,
  .vertical-lines::before,
  .vertical-lines::after,
  .whatsapp-hint {
    display: none;
  }

  .section {
    padding-block: 68px;
  }

  .page-header h1 {
    letter-spacing: 0.08em;
  }

  .article-image {
    aspect-ratio: 16 / 10;
  }

  .footer-grid {
    padding-block: 56px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    height: 78px;
  }

  main {
    padding-top: 78px;
  }

  .brand img {
    height: 52px;
  }

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

  .button {
    width: 100%;
    max-width: 360px;
    padding-inline: 18px;
    letter-spacing: 0.14em;
  }

  .contact-actions {
    align-items: stretch;
  }

  .contact-info-list article {
    grid-template-columns: 40px 1fr;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float a {
    width: 58px;
    height: 58px;
  }
}
