:root {
  --bg: #efefef;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --text: #111111;
  --muted: #5f5f5f;
  --line: rgba(17, 17, 17, 0.1);
  --line-strong: rgba(17, 17, 17, 0.18);
  --accent: #ffcc00;
  --accent-soft: rgba(255, 204, 0, 0.16);
  --dark: #0f0f10;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.1);
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 204, 0, 0.1), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(17, 17, 17, 0.06), transparent 24%),
    linear-gradient(180deg, #f7f7f7 0%, #e7e7e7 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 88%);
}

.page-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 18px auto 36px;
}

.site-header,
.hero-copy,
.hero-panel,
.panel,
.practice-card,
.feature,
.mini-panel,
.map-card,
.cta-band,
.site-footer {
  backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-logo-shell {
  display: grid;
  place-items: center;
  width: 98px;
  min-width: 98px;
  height: 56px;
  padding: 4px 10px;
  border-radius: 16px;
  background: transparent;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-transparent {
  mix-blend-mode: multiply;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.71rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease,
    color 180ms ease;
}

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

.button-solid {
  color: #111111;
  background: linear-gradient(135deg, #ffdd4f, var(--accent));
}

.button-outline,
.button-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  background: linear-gradient(135deg, #ffdd4f, var(--accent));
  color: #111111;
  text-decoration: none;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 24px;
  margin-top: 26px;
}

.hero-copy,
.hero-panel,
.panel,
.practice-card,
.feature,
.mini-panel,
.cta-band,
.site-footer {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 46px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 242, 242, 0.84)),
    var(--surface);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 204, 0, 0.14), transparent 24%),
    linear-gradient(135deg, transparent 58%, rgba(17, 17, 17, 0.04) 100%);
  pointer-events: none;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.eyebrow,
.panel-label,
.partner-role {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-band h2,
.hero-panel h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 11.5ch;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.hero-text,
.panel p,
.feature p,
.practice-card p,
.contact-card p,
.mini-panel p,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 60ch;
  margin: 22px 0 0;
  font-size: 1rem;
  line-height: 1.76;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-highlights li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.86rem;
  line-height: 1.54;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(15, 15, 16, 0.98), rgba(34, 34, 34, 0.98)),
    var(--dark);
  color: #f4f0e8;
}

.hero-panel-top {
  display: grid;
  gap: 18px;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  width: fit-content;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 204, 0, 0.16);
  color: #ffe06b;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 132px;
  padding: 18px;
  border-radius: 24px;
  background: #f7f7f7;
}

.hero-panel-logo img {
  width: min(100%, 260px);
  height: auto;
}

.hero-panel-body {
  margin-top: 18px;
}

.hero-panel h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}

.hero-panel p,
.profile-points dd,
.profile-points dt {
  color: rgba(244, 240, 232, 0.8);
}

.profile-points {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
}

.profile-points div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.profile-points dt {
  margin-bottom: 6px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-points dd {
  margin: 0;
  font-size: 0.95rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(17, 17, 17, 0.08);
}

.trust-strip p {
  margin: 0;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  margin-top: 88px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading h2,
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.section-two-column .section-heading {
  max-width: 760px;
}

.about-layout,
.authority-layout,
.contact-layout {
  display: grid;
  gap: 20px;
}

.about-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.panel,
.practice-card,
.feature,
.mini-panel {
  padding: 26px;
}

.about-copy {
  min-height: 100%;
}

.about-copy p + p {
  margin-top: 16px;
}

.partners-grid,
.authority-points {
  display: grid;
  gap: 18px;
}

.partner-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(242, 242, 242, 0.74));
  box-shadow: var(--shadow);
}

.partner-card h3,
.practice-card h3,
.feature h3,
.mini-panel h3,
.contact-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.partner-card p {
  margin: 0;
  color: var(--muted);
}

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

.practice-card {
  min-height: 250px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 243, 243, 0.8)),
    var(--surface-strong);
}

.practice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.practice-card p,
.feature p,
.mini-panel p,
.contact-card p {
  margin: 0;
  line-height: 1.7;
  font-size: 0.94rem;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature {
  min-height: 220px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 239, 239, 0.78));
}

.authority-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.authority-main {
  min-height: 100%;
}

.mini-panel {
  min-height: 160px;
  background: linear-gradient(180deg, rgba(255, 204, 0, 0.08), rgba(255, 255, 255, 0.86));
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 88px;
  padding: 30px 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 246, 246, 0.8)),
    var(--surface);
}

.contact-layout {
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  align-items: stretch;
}

.contact-stack {
  display: grid;
  gap: 18px;
}

.contact-card h3 {
  margin-bottom: 14px;
}

.contact-line {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 700;
}

.contact-line + .contact-line {
  margin-top: 10px;
}

.location-links {
  margin-top: 16px;
}

.location-links a {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.location-links a:hover,
.location-links a:focus-visible {
  text-decoration: underline;
}

.map-card {
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding: 24px 26px;
}

.site-footer p {
  margin: 0;
  line-height: 1.65;
  font-size: 0.88rem;
}

.footer-note {
  max-width: 420px;
  text-align: right;
}

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

.reveal-delay {
  transition-delay: 120ms;
}

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

@media (max-width: 1120px) {
  .hero,
  .about-layout,
  .authority-layout,
  .contact-layout,
  .practice-grid,
  .premium-grid {
    grid-template-columns: 1fr 1fr;
  }

  .premium-grid article:last-child {
    grid-column: span 2;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .site-nav {
    display: none;
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: min(calc(100% - 18px), var(--container));
    margin-top: 10px;
  }

  .hero,
  .about-layout,
  .authority-layout,
  .contact-layout,
  .practice-grid,
  .premium-grid,
  .hero-highlights,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header,
  .hero-copy,
  .hero-panel,
  .panel,
  .practice-card,
  .feature,
  .mini-panel,
  .cta-band,
  .site-footer {
    border-radius: 24px;
  }

  .site-header {
    padding: 14px 16px;
  }

  .brand-text {
    display: none;
  }

  .brand-logo-shell {
    width: 84px;
    min-width: 84px;
    height: 48px;
  }

  .button-outline {
    padding-inline: 14px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.3rem, 10vw, 3.5rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .cta-band {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-note {
    max-width: none;
    text-align: left;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    min-width: 118px;
    min-height: 46px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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