:root {
  --black: #101112;
  --black-soft: #18191b;
  --gold: #d7aa3c;
  --gold-light: #f2d778;
  --cream: #fff3c8;
  --text: #f8f3e5;
  --muted: #d8d0bd;
  --ink: #171717;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--black);
  font-family: Georgia, "Times New Roman", serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(16, 17, 18, 0.86);
  border-bottom: 1px solid rgba(215, 170, 60, 0.28);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 42px);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle,
.nav-button {
  display: none;
}

.nav a {
  position: relative;
  padding: 10px 0;
  color: #fff7df;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 82svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(125deg, #111214 0%, #262729 52%, #0e0f10 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.hero::after {
  position: absolute;
  right: -8%;
  bottom: -160px;
  left: -8%;
  z-index: -1;
  height: 300px;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 244, 187, 0.96), rgba(215, 170, 60, 0.95)),
    var(--gold);
  border-top: 7px solid #b88420;
  border-radius: 48% 42% 0 0 / 42% 48% 0 0;
  box-shadow: 0 -18px 28px rgba(0, 0, 0, 0.28);
  transform: rotate(3deg);
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(34px, 7vw, 96px);
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(46px, 7vw, 92px) 0 210px;
}

.hero__logo-block {
  display: flex;
  justify-content: center;
}

.hero__logo-block img {
  width: min(460px, 100%);
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.42));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: white;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(3.3rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 0.88;
  text-shadow: 0 16px 24px rgba(0, 0, 0, 0.45);
}

.registry {
  display: inline-block;
  margin: 20px 0 0;
  padding: 0 36px 10px;
  color: #fff;
  border-bottom: 2px solid var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  letter-spacing: 0.08em;
}

.lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid rgba(215, 170, 60, 0.7);
  border-radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button--primary {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.32);
}

.button--ghost {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.04);
}

.button__icon,
.whatsapp-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.button__icon svg {
  width: 30px;
  height: 30px;
}

.section-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.areas {
  padding: clamp(54px, 7vw, 92px) 0;
  background: linear-gradient(180deg, #f4dd8f 0%, #d4a43a 100%);
  color: var(--ink);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  text-align: center;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.areas .eyebrow,
.contact .eyebrow {
  color: #6d4b0a;
}

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

.practice-card {
  min-height: 235px;
  padding: 26px;
  color: #fff8df;
  background: linear-gradient(145deg, #18191b, #252525);
  border: 1px solid rgba(255, 245, 200, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(72, 45, 5, 0.22);
}

.practice-card span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  border: 1px solid rgba(242, 215, 120, 0.62);
  border-radius: 8px;
}

.practice-card svg {
  width: 25px;
  height: 25px;
}

h3 {
  margin: 22px 0 10px;
  font-size: 1.36rem;
}

.practice-card p {
  margin: 0;
  color: #e4dcc5;
  font-size: 1rem;
  line-height: 1.52;
}

.about {
  padding: clamp(58px, 8vw, 104px) 0;
  background: #101112;
}

.about__layout,
.contact__layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(300px, 1fr);
  gap: clamp(30px, 7vw, 88px);
  align-items: start;
}

.about p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.65;
}

.contact {
  padding: clamp(54px, 7vw, 92px) 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f5dc85, #c9952c);
}

.contact__note {
  margin: 18px 0 0;
  font-size: 1.2rem;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 0;
  font-style: normal;
}

.contact-list a,
.contact-list p,
.phone-group {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.2);
  font-size: clamp(1.02rem, 2vw, 1.34rem);
  line-height: 1.35;
}

.phone-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.phone-group a {
  display: inline-flex;
  padding: 0;
  border: 0;
  font-size: inherit;
  line-height: inherit;
}

.phone-group a + a::before {
  margin-right: 18px;
  color: rgba(23, 23, 23, 0.45);
  content: "/";
}

.contact-list span,
.phone-group > span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  background: #18191b;
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: 62px;
  height: 62px;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 2px solid #111;
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.36);
}

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

.footer {
  padding: 28px 18px;
  color: #f8efd6;
  text-align: center;
  background: #101112;
  border-top: 1px solid rgba(215, 170, 60, 0.35);
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    justify-content: flex-end;
    min-height: 66px;
    padding: 12px 18px;
  }

  .nav-button {
    position: relative;
    z-index: 31;
    display: inline-flex;
    width: 46px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--gold-light);
    border: 1px solid rgba(215, 170, 60, 0.62);
    border-radius: 8px;
    cursor: pointer;
  }

  .nav-button span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-toggle:checked + .nav-button span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-button span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-button span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    z-index: 30;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(16, 17, 18, 0.97);
    border: 0 solid rgba(215, 170, 60, 0.34);
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.42);
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease, border-width 180ms ease;
    white-space: normal;
  }

  .nav-toggle:checked ~ .nav {
    max-height: 280px;
    border-width: 1px;
    opacity: 1;
    transform: translateY(0);
  }

  .nav a {
    display: block;
    padding: 17px 18px;
    border-bottom: 1px solid rgba(215, 170, 60, 0.2);
    text-align: center;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav a::after {
    display: none;
  }

  .hero__content,
  .about__layout,
  .contact__layout {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding-top: 34px;
    padding-bottom: 176px;
  }

  .hero__logo-block {
    justify-content: flex-start;
  }

  .hero__logo-block img {
    width: min(330px, 92vw);
  }

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

@media (max-width: 560px) {
  .hero::after {
    bottom: -196px;
    height: 310px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .button {
    padding: 0 16px;
    font-size: 0.82rem;
  }

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

  .practice-card {
    min-height: 0;
  }

  .contact-list a,
  .contact-list p,
  .phone-group {
    grid-template-columns: 42px 1fr;
    font-size: 1rem;
  }

  .phone-group > div {
    display: grid;
    gap: 8px;
  }

  .phone-group a + a::before {
    display: none;
  }
}
