/*
Theme Name: EMSADV Digital
Theme URI: https://emsadv.com.br
Author: EMSADV
Description: Tema institucional do Escovedo, Monteiro e Saldanha Sociedade de Advogados, com foco em Direito Digital.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: emsadv
*/

:root {
  --black: #02050a;
  --navy-950: #050b17;
  --navy-900: #0a1730;
  --navy-800: #172a59;
  --ink: #f5f1e8;
  --muted: #aeb7c7;
  --gold: #b99a5b;
  --gold-light: #d5be86;
  --gold-pale: #f1e3be;
  --line: rgba(213, 190, 134, 0.23);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

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

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

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-900);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgba(2, 5, 10, 0.99) 0%, rgba(5, 11, 23, 0.93) 34%, rgba(5, 11, 23, 0.31) 67%, rgba(5, 11, 23, 0.05) 100%);
  pointer-events: none;
}

.site-header {
  position: fixed;
  z-index: 2147483000;
  top: 0;
  right: 0;
  left: 0;
  background: transparent;
  isolation: isolate;
  pointer-events: auto;
  transition: background 280ms ease, box-shadow 280ms ease, backdrop-filter 280ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(213, 190, 134, 0.16);
  background: rgba(2, 5, 10, 0.78);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.navigation-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  height: 112px;
  align-items: center;
  justify-content: space-between;
  transition: height 280ms ease;
}

.site-header.is-scrolled .navigation-wrap { height: 82px; }
.site-header.is-scrolled .brand-link { height: 76px; }
.site-header.is-scrolled .brand-horizontal {
  transform: translateY(-50%) scale(.78);
}

.brand-link {
  position: relative;
  display: flex;
  width: 222px;
  height: 96px;
  align-items: center;
  transform-origin: left center;
  transition: height 680ms cubic-bezier(.16,1,.3,1);
}

.brand-horizontal {
  position: absolute;
  top: 50%;
  left: -5px;
  width: auto;
  height: 92px;
  max-width: none;
  transform: translateY(-50%) scale(1);
  transform-origin: left center;
  transition: transform 680ms cubic-bezier(.16,1,.3,1), opacity 320ms ease;
}

.line-icon { width: 28px; height: 28px; }

.list-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #a99569;
  color: #725a2e;
}

.values-grid .list-icon {
  border-color: rgba(213, 190, 134, 0.58);
  color: var(--gold-light);
}

.solution-card .icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #a99569;
  color: #725a2e;
}

.brand-mark {
  display: none;
}

.main-nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.8vw, 46px);
  color: #dbe2e5;
  font-size: 15px;
  pointer-events: auto;
}

.main-nav > a:not(.nav-contact) {
  position: relative;
  padding: 14px 0;
}

.main-nav > a:not(.nav-contact)::after {
  position: absolute;
  right: 100%;
  bottom: 6px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold-light);
  transition: right 180ms ease;
}

.main-nav > a:hover::after,
.main-nav > a.active::after {
  right: 0;
}

.nav-contact {
  padding: 12px 18px;
  border: 1px solid rgba(213, 190, 134, 0.58);
  color: var(--ink);
  transition: border-color 180ms ease, background 180ms ease;
}

.nav-contact:hover {
  border-color: var(--gold-light);
  background: rgba(185, 154, 91, 0.11);
}

.menu-toggle {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 655px;
  align-items: center;
  grid-template-columns: repeat(12, 1fr);
}

.hero-copy {
  grid-column: 1 / span 6;
  padding: 132px 0 76px;
}

.eyebrow {
  margin: 0 0 25px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(57px, 5.5vw, 86px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.99;
  text-wrap: balance;
}

.hero-intro {
  max-width: 600px;
  margin: 31px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  margin-top: 36px;
  align-items: center;
  gap: 38px;
}

.hero-choice-actions {
  display: grid;
  max-width: 690px;
  margin-top: 36px;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.choice-button {
  display: grid;
  min-height: 82px;
  padding: 17px 20px;
  align-items: center;
  gap: 16px;
  grid-template-columns: 34px 1fr;
  border: 1px solid rgba(213, 190, 134, 0.6);
  background: rgba(5, 11, 23, 0.7);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  transition: background 180ms ease, transform 180ms ease;
}

.choice-button small {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.choice-button .line-icon { width: 27px; height: 27px; color: var(--gold-light); }
.choice-button:hover { background: rgba(185, 154, 91, 0.13); transform: translateY(-2px); }
.choice-account { border-color: rgba(174, 183, 199, 0.45); }

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-primary {
  background: var(--gold);
  color: #100d07;
}

.button-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 12px 34px rgba(185, 154, 91, 0.2);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 12px 0 9px;
  border-bottom: 1px solid var(--gold);
  font-size: 15px;
  transition: color 180ms ease;
}

.text-link span {
  color: var(--gold-light);
  font-size: 23px;
  transition: transform 180ms ease;
}

.text-link:hover {
  color: var(--gold-light);
}

.text-link:hover span {
  transform: translateX(5px);
}

.trust-line {
  display: flex;
  margin-top: 55px;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.trust-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(213, 190, 134, 0.6);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 20px;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 49px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: right center;
}

.scroll-cue i {
  display: block;
  width: 54px;
  height: 1px;
  background: var(--gold);
}

.intro-strip {
  border-top: 1px solid rgba(167, 182, 191, 0.16);
  background: #081b2a;
}

.path-intro { border-top: 1px solid rgba(167, 182, 191, 0.16); background: #081b2a; }
.path-intro-grid { display: grid; min-height: 170px; align-items: center; gap: 56px; grid-template-columns: 1fr 1.5fr; }
.path-intro-grid > p { max-width: 510px; margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.28; }
.path-intro-grid > div { display: grid; gap: 12px 30px; grid-template-columns: 1fr 1fr; color: var(--muted); font-size: 14px; }
.path-intro-grid span { padding: 12px 0; border-bottom: 1px solid rgba(167, 182, 191, 0.17); }

.business-path { background: #f1eee7; color: #101722; }
.platform-path { background: #071426; }

.digital-path-heading {
  display: grid;
  margin-bottom: 58px;
  align-items: end;
  gap: 90px;
  grid-template-columns: 1.25fr .75fr;
}

.digital-path-heading h2,
.focus-strip h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 4.4vw, 67px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.digital-path-heading > p { margin: 0; color: #5e6774; font-size: 17px; line-height: 1.7; }
.light-heading > p { color: var(--muted); }

.digital-audience-grid { display: grid; border-top: 1px solid #c7c2b7; border-left: 1px solid #c7c2b7; grid-template-columns: repeat(3, 1fr); }

.digital-audience-card {
  position: relative;
  min-height: 500px;
  padding: 34px;
  border-right: 1px solid #c7c2b7;
  border-bottom: 1px solid #c7c2b7;
}

.digital-audience-card .icon-box { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid #a99569; color: #725a2e; }
.digital-audience-card h3 { margin: 52px 0 14px; font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1.08; }
.digital-audience-card > p { margin: 0; color: #5e6774; font-size: 14px; line-height: 1.65; }
.digital-audience-card ul { margin: 27px 0 72px; padding: 0; list-style: none; }
.digital-audience-card li { position: relative; padding: 11px 0 11px 20px; border-top: 1px solid #d4d0c7; color: #38414d; font-size: 13px; line-height: 1.4; }
.digital-audience-card li::before { position: absolute; top: 15px; left: 2px; width: 6px; height: 6px; border: 1px solid #8e7444; border-radius: 50%; content: ""; }
.digital-audience-card > a { position: absolute; right: 34px; bottom: 30px; left: 34px; display: flex; padding-bottom: 10px; border-bottom: 1px solid #9c7f48; justify-content: space-between; color: #313945; font-size: 13px; font-weight: 600; }

.dark-cards { border-color: rgba(174,183,199,.2); }
.dark-cards .digital-audience-card { border-color: rgba(174,183,199,.2); }
.dark-cards .icon-box { border-color: rgba(213,190,134,.6); color: var(--gold-light); }
.dark-cards .digital-audience-card > p { color: var(--muted); }
.dark-cards .digital-audience-card li { border-color: rgba(174,183,199,.16); color: #d4dae3; }
.dark-cards .digital-audience-card > a { color: var(--ink); }

.focus-strip { padding: 96px 0; background: #0c1b34; }
.focus-strip-grid { display: grid; gap: 100px; grid-template-columns: .9fr 1.1fr; }
.focus-strip h2 { font-size: clamp(40px, 4vw, 60px); }
.focus-points { border-top: 1px solid rgba(174,183,199,.2); }
.focus-points p { display: grid; margin: 0; padding: 25px 0; border-bottom: 1px solid rgba(174,183,199,.2); gap: 20px; grid-template-columns: 32px 1fr; color: var(--muted); font-size: 14px; line-height: 1.6; }
.focus-points .line-icon { width: 25px; color: var(--gold-light); }
.focus-points strong { display: block; margin-bottom: 3px; color: var(--ink); font-family: var(--serif); font-size: 22px; font-weight: 400; }

.intro-strip-grid {
  display: grid;
  min-height: 190px;
  align-items: center;
  gap: 56px;
  grid-template-columns: 1fr 1.5fr;
}

.intro-strip p {
  max-width: 460px;
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.28;
}

.audience-list {
  display: grid;
  gap: 14px 32px;
  grid-template-columns: repeat(2, 1fr);
  color: var(--muted);
  font-size: 14px;
}

.audience-list span {
  padding: 13px 0;
  border-bottom: 1px solid rgba(167, 182, 191, 0.17);
}

.section {
  padding: 118px 0;
}

.section-kicker {
  margin: 0 0 20px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  margin-bottom: 66px;
  align-items: end;
  gap: 80px;
  grid-template-columns: 1.35fr 0.65fr;
}

.section-heading.compact {
  grid-template-columns: 0.9fr 1.1fr;
}

.section-heading h2,
.process-intro h2,
.cta-section h2,
.mini-cta h2,
.about-grid h2,
.contact-sidebar h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 4.5vw, 67px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.section-heading > p,
.process-intro > p,
.cta-grid > div:last-child > p,
.mini-cta p,
.contact-sidebar > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-solutions {
  background: #f1eee7;
  color: #101722;
}

.section-solutions .section-kicker {
  color: #846b3d;
}

.section-solutions .section-heading > p {
  color: #5e6774;
}

.solution-grid {
  display: grid;
  border-top: 1px solid #cbc7bd;
  border-left: 1px solid #cbc7bd;
  grid-template-columns: repeat(3, 1fr);
}

.solution-card {
  position: relative;
  min-height: 330px;
  padding: 36px;
  border-right: 1px solid #cbc7bd;
  border-bottom: 1px solid #cbc7bd;
  transition: background 220ms ease, color 220ms ease;
}

.solution-card > span,
.audience-cards > a > span,
.feature-list article > span,
.all-solutions-grid article > span,
.values-grid article > span {
  color: #846b3d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.solution-card h3,
.audience-cards h3 {
  margin: 62px 0 18px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.05;
}

.solution-card p,
.audience-cards p {
  margin: 0;
  color: #5e6774;
  font-size: 14px;
  line-height: 1.65;
}

.solution-card a {
  position: absolute;
  right: 36px;
  bottom: 34px;
  left: 36px;
  display: flex;
  justify-content: space-between;
  color: #2d3540;
  font-size: 13px;
  font-weight: 600;
}

.solution-card:hover {
  background: var(--navy-800);
  color: var(--ink);
}

.solution-card:hover p,
.solution-card:hover a,
.solution-card:hover > span {
  color: #d8dce2;
}

.section-action {
  display: flex;
  margin-top: 44px;
  justify-content: flex-end;
}

.button-outline {
  border: 1px solid #9a958a;
  color: #202934;
}

.button-outline:hover {
  border-color: #846b3d;
  background: rgba(185, 154, 91, 0.08);
  transform: translateY(-2px);
}

.section-process {
  background: var(--navy-950);
}

.account-recovery-section { background: #071426; }

.account-recovery-grid {
  display: grid;
  gap: 100px;
  grid-template-columns: 0.85fr 1.15fr;
}

.account-recovery-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 4.4vw, 68px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.account-recovery-copy > p:not(.section-kicker) {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.account-recovery-copy .button { margin-top: 34px; }
.account-problems { border-top: 1px solid rgba(174, 183, 199, 0.2); }

.account-problems article {
  display: grid;
  padding: 27px 0;
  border-bottom: 1px solid rgba(174, 183, 199, 0.2);
  gap: 25px;
  grid-template-columns: 42px 1fr;
}

.account-problems .line-icon { color: var(--gold-light); }
.account-problems h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.account-problems p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.process-grid {
  display: grid;
  gap: 100px;
  grid-template-columns: 0.8fr 1.2fr;
}

.process-intro {
  position: sticky;
  top: 40px;
  align-self: start;
}

.process-intro > p {
  max-width: 470px;
  margin-top: 28px;
}

.process-intro .text-link {
  margin-top: 35px;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  padding: 34px 0 38px;
  border-top: 1px solid rgba(174, 183, 199, 0.2);
  gap: 34px;
  grid-template-columns: 48px 1fr;
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(174, 183, 199, 0.2);
}

.process-list li > span {
  color: var(--gold-light);
  font-size: 12px;
}

.process-list h3 {
  margin: 0 0 11px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.section-audiences {
  background: #0c1b34;
}

.audience-cards {
  display: grid;
  border-top: 1px solid rgba(174, 183, 199, 0.2);
  border-left: 1px solid rgba(174, 183, 199, 0.2);
  grid-template-columns: repeat(4, 1fr);
}

.audience-cards > a {
  min-height: 310px;
  padding: 30px;
  border-right: 1px solid rgba(174, 183, 199, 0.2);
  border-bottom: 1px solid rgba(174, 183, 199, 0.2);
  transition: background 200ms ease;
}

.audience-cards > a > span {
  color: var(--gold-light);
}

.audience-cards h3 {
  margin-top: 82px;
  font-size: 28px;
}

.audience-cards p {
  color: var(--muted);
}

.audience-cards > a:hover {
  background: rgba(185, 154, 91, 0.08);
}

.cta-section,
.mini-cta {
  padding: 100px 0;
  background: var(--gold);
  color: #100d07;
}

.cta-grid,
.mini-cta-grid {
  display: grid;
  align-items: end;
  gap: 90px;
  grid-template-columns: 1.2fr 0.8fr;
}

.cta-section .section-kicker {
  color: #4b3c22;
}

.cta-section h2,
.mini-cta h2 {
  font-size: clamp(42px, 4.3vw, 66px);
}

.cta-grid > div:last-child > p,
.mini-cta p {
  color: #3e3525;
}

.cta-section .button,
.mini-cta .button {
  margin-top: 30px;
  background: var(--navy-950);
  color: var(--ink);
}

.cta-section .button:hover,
.mini-cta .button:hover {
  background: var(--navy-800);
  box-shadow: none;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 82px 0 28px;
  background: #f4f2ed;
  color: #101722;
}

.footer-grid {
  display: grid;
  padding-bottom: 70px;
  gap: 90px;
  grid-template-columns: 1.25fr 0.65fr 0.7fr 1fr;
}

.footer-location { position: relative; z-index: 0; isolation: isolate; }
.footer-location iframe { position: relative; z-index: 0; display: block; width: 100%; height: 180px; border: 0; filter: grayscale(.25); }
.footer-location > a { display: block; margin-top: 13px; color: #4e5865; font-size: 12px; line-height: 1.5; }
.footer-bottom a:hover, .footer-location > a:hover { color: #725a2e; }

.footer-brand img {
  width: 240px;
  height: auto;
}

.footer-brand p {
  max-width: 410px;
  margin: 28px 0 0;
  color: #5e6774;
  line-height: 1.7;
}

.footer-label {
  margin: 0 0 24px;
  color: #725a2e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  color: #4e5865;
  font-size: 14px;
}

.footer-links a {
  transition: color 180ms ease;
}

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

.footer-bottom {
  display: flex;
  padding-top: 26px;
  border-top: 1px solid #d1cdc4;
  justify-content: space-between;
  color: #727b8a;
  font-size: 11px;
}

.whatsapp-float {
  position: fixed;
  z-index: 9999;
  right: 26px;
  bottom: 24px;
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 0 10px 0 20px;
  border-radius: 30px;
  isolation: isolate;
  opacity: 1;
  background: #18a957;
  color: #fff;
  mix-blend-mode: normal;
  pointer-events: auto;
  will-change: transform;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  font-size: 13px;
  font-weight: 700;
  animation: whatsapp-pulse 2.4s ease-in-out infinite;
}

.whatsapp-float b { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 19px; }

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(31, 157, 89, 0.42); transform: scale(1); }
  50% { box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3), 0 0 0 11px rgba(31, 157, 89, 0); transform: scale(1.035); }
}

.reveal-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.22,.61,.36,1);
}

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

.digital-audience-card.reveal-target:nth-child(2),
.values-grid article.reveal-target:nth-child(2) { transition-delay: 90ms; }
.digital-audience-card.reveal-target:nth-child(3),
.values-grid article.reveal-target:nth-child(3) { transition-delay: 180ms; }
.digital-audience-card .icon-box,
.choice-button .line-icon,
.focus-points .line-icon { transition: transform 260ms ease, color 260ms ease; }
.digital-audience-card:hover .icon-box,
.choice-button:hover .line-icon,
.focus-points p:hover .line-icon { transform: translateY(-3px) scale(1.05); }

.inner-page {
  background: #f1eee7;
  color: #101722;
}

.inner-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 58%, rgba(185, 154, 91, 0.15), transparent 28%),
    linear-gradient(115deg, var(--black), var(--navy-900) 58%, #102449);
  color: var(--ink);
}

.inner-hero::after {
  position: absolute;
  top: 132px;
  right: 8%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(213, 190, 134, 0.2);
  content: "";
  transform: rotate(45deg);
}

.inner-hero-copy {
  position: relative;
  z-index: 2;
  padding: 172px 0 100px;
}

.inner-hero-copy h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 6vw, 92px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.inner-hero-copy > p:last-child {
  max-width: 700px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.inner-section {
  background: #f1eee7;
}

.feature-list article {
  display: grid;
  padding: 48px 0;
  border-top: 1px solid #c7c2b7;
  align-items: start;
  gap: 44px;
  grid-template-columns: 70px 1fr 210px;
}

.feature-list article:last-child {
  border-bottom: 1px solid #c7c2b7;
}

.feature-list h2,
.all-solutions-grid h2,
.content-grid h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 400;
  line-height: 1.1;
}

.feature-list p,
.all-solutions-grid p,
.content-grid p,
.prose p,
.values-grid p {
  margin: 0;
  color: #5e6774;
  font-size: 15px;
  line-height: 1.7;
}

.feature-list a,
.all-solutions-grid a {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid #9c7f48;
  color: #313945;
  font-size: 13px;
  font-weight: 600;
}

.all-solutions-grid {
  display: grid;
  border-top: 1px solid #c7c2b7;
  border-left: 1px solid #c7c2b7;
  grid-template-columns: repeat(3, 1fr);
}

.all-solutions-grid article {
  position: relative;
  min-height: 350px;
  padding: 32px;
  border-right: 1px solid #c7c2b7;
  border-bottom: 1px solid #c7c2b7;
}

.all-solutions-grid h2 {
  margin-top: 64px;
  font-size: 31px;
}

.all-solutions-grid a {
  position: absolute;
  right: 32px;
  bottom: 28px;
  left: 32px;
}

.about-grid {
  display: grid;
  gap: 100px;
  grid-template-columns: 1fr 1fr;
}

.about-grid h2 {
  font-size: clamp(42px, 4.2vw, 62px);
}

.prose {
  display: grid;
  gap: 24px;
}

.prose p:first-child {
  color: #2f3741;
  font-size: 20px;
}

.values-section {
  background: #0c1b34;
  color: var(--ink);
}

.values-grid {
  display: grid;
  border-top: 1px solid rgba(174, 183, 199, 0.2);
  border-left: 1px solid rgba(174, 183, 199, 0.2);
  grid-template-columns: repeat(4, 1fr);
}

.values-grid article {
  min-height: 275px;
  padding: 30px;
  border-right: 1px solid rgba(174, 183, 199, 0.2);
  border-bottom: 1px solid rgba(174, 183, 199, 0.2);
}

.values-grid article > span {
  color: var(--gold-light);
}

.values-grid h3 {
  margin: 75px 0 14px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
}

.values-grid p {
  color: var(--muted);
}

.content-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.content-grid article {
  min-height: 360px;
  padding: 34px;
  border: 1px solid #c7c2b7;
}

.content-grid article > span {
  color: #846b3d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.content-grid h2 {
  margin-top: 68px;
  font-size: 31px;
}

.content-grid em {
  display: inline-block;
  margin-top: 30px;
  color: #846b3d;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  align-items: start;
  gap: 100px;
  grid-template-columns: 0.8fr 1.2fr;
}

.contact-sidebar h2 {
  font-size: 48px;
}

.contact-sidebar > p {
  margin-top: 26px;
  color: #5e6774;
}

.contact-card {
  margin-top: 30px;
  padding: 22px 0;
  border-top: 1px solid #c7c2b7;
}

.contact-card > span {
  display: block;
  margin-bottom: 9px;
  color: #846b3d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-card p {
  margin: 0;
}

.contact-form {
  display: grid;
  padding: 44px;
  gap: 24px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(10, 23, 48, 0.08);
}

.field-row {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: #39424d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9c5bb;
  border-radius: 0;
  outline: 0;
  background: #faf9f6;
  color: #101722;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form input,
.contact-form select {
  height: 52px;
  padding: 0 14px;
}

.contact-form textarea {
  padding: 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #9c7f48;
  box-shadow: 0 0 0 3px rgba(185, 154, 91, 0.12);
}

.contact-form .button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: -9px 0 0;
  color: #747c87;
  font-size: 11px;
}

.legal-prose { max-width: 900px; }
.legal-prose h2 { margin: 46px 0 14px; font-family: var(--serif); font-size: 34px; font-weight: 400; color: #101722; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { margin: 0; color: #5e6774; font-size: 16px; line-height: 1.8; }

@media (max-width: 1050px) {
  .container {
    width: min(100% - 56px, 1380px);
  }

  .main-nav {
    gap: 22px;
  }

  .nav-contact {
    display: none;
  }

  .hero-copy {
    grid-column: 1 / span 8;
  }

  .solution-grid,
  .digital-audience-grid,
  .all-solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-cards,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .contact-grid {
    gap: 60px;
  }

  .footer-grid {
    gap: 50px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

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

  .hero {
    min-height: 820px;
  }

  .site-header,
  .site-header.is-scrolled {
    z-index: 2147483000;
    border-bottom: 1px solid rgba(213, 190, 134, 0.22);
    background: #02050a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
    backdrop-filter: none;
    isolation: isolate;
  }

  .site-header .navigation-wrap,
  .site-header.is-scrolled .navigation-wrap {
    position: relative;
    z-index: 2;
    height: 88px;
  }

  .site-header .brand-link,
  .site-header.is-scrolled .brand-link {
    width: 58px;
    height: 66px;
  }

  .brand-horizontal {
    display: none;
  }

  .brand-mark {
    display: block;
    width: 58px;
    height: auto;
  }

  .menu-toggle {
    position: relative;
    z-index: 2147483001;
    display: flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(213, 190, 134, 0.45);
    background: var(--navy-900);
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
  }

  .menu-toggle span {
    width: 18px;
    height: 1px;
    background: var(--ink);
  }

  .main-nav {
    position: fixed;
    z-index: 2147482999;
    top: 88px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding: 30px 20px;
    border-top: 1px solid rgba(213, 190, 134, 0.28);
    background: #02050a;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    visibility: hidden;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-header.is-scrolled .main-nav {
    top: 88px;
    height: auto;
  }

  .main-nav > a:not(.nav-contact) {
    padding: 18px 12px;
    border-bottom: 1px solid rgba(167, 182, 191, 0.15);
    font-size: 18px;
  }

  .main-nav > a:not(.nav-contact)::after {
    display: none;
  }

  .main-nav .nav-contact {
    display: inline-flex;
    margin-top: 28px;
    justify-content: center;
  }

  .hero {
    background: var(--navy-900);
  }

  .hero-art {
    object-position: 63% center;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(2, 5, 10, 0.98), rgba(5, 11, 23, 0.68));
  }

  .hero-grid {
    min-height: 670px;
    align-items: start;
  }

  .hero-copy {
    grid-column: 1 / -1;
    padding: 116px 0 52px;
  }

  .eyebrow {
    margin-bottom: 19px;
    font-size: 10px;
    letter-spacing: 0.13em;
  }

  .hero h1 {
    max-width: 600px;
    font-size: clamp(48px, 14vw, 69px);
    line-height: 0.98;
  }

  .hero-intro {
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 30px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .hero-choice-actions { grid-template-columns: 1fr; }

  .button {
    width: 100%;
  }

  .text-link {
    align-self: flex-start;
  }

  .trust-line {
    margin-top: 35px;
  }

  .scroll-cue {
    display: none;
  }

  .intro-strip-grid {
    min-height: 0;
    padding: 60px 0;
    gap: 38px;
    grid-template-columns: 1fr;
  }

  .path-intro-grid { min-height: 0; padding: 58px 0; gap: 35px; grid-template-columns: 1fr; }
  .path-intro-grid > div { grid-template-columns: 1fr; }

  .audience-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading,
  .digital-path-heading,
  .focus-strip-grid,
  .section-heading.compact,
  .process-grid,
  .account-recovery-grid,
  .cta-grid,
  .mini-cta-grid,
  .about-grid,
  .contact-grid {
    gap: 36px;
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .solution-grid,
  .digital-audience-grid,
  .all-solutions-grid,
  .audience-cards,
  .values-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .solution-card,
  .digital-audience-card,
  .audience-cards > a,
  .all-solutions-grid article,
  .content-grid article {
    min-height: 310px;
  }

  .digital-audience-card { min-height: 500px; }

  .process-intro {
    position: static;
  }

  .cta-section,
  .mini-cta {
    padding: 72px 0;
  }

  .footer-grid {
    padding-bottom: 52px;
    gap: 45px;
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .inner-hero {
    min-height: 590px;
  }

  .inner-hero-copy {
    padding: 142px 0 78px;
  }

  .inner-hero-copy h1 {
    font-size: clamp(50px, 14vw, 72px);
  }

  .feature-list article {
    gap: 22px;
    grid-template-columns: 46px 1fr;
  }

  .feature-list article > a {
    grid-column: 2;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .whatsapp-float { right: 16px; bottom: 16px; min-height: 50px; padding-left: 16px; }
}

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

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

  .whatsapp-float { animation: none !important; }
  .reveal-target { opacity: 1 !important; transform: none !important; }
}

/* WordPress integration */
body.admin-bar .site-header { top: 32px; }
.main-nav .menu-items { display: flex; margin: 0; padding: 0; align-items: center; gap: clamp(24px, 2.8vw, 46px); list-style: none; }
.main-nav .menu-items > li > a { position: relative; display: block; padding: 14px 0; }
.main-nav .menu-items > li > a::after { position: absolute; right: 100%; bottom: 6px; left: 0; height: 1px; content: ""; background: var(--gold-light); transition: right 180ms ease; }
.main-nav .menu-items > li > a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after { right: 0; }

.blog-toolbar { display: flex; margin-bottom: 42px; align-items: center; justify-content: space-between; gap: 30px; }
.blog-toolbar > p { margin: 0; font-family: var(--serif); font-size: 28px; }
.blog-grid { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.post-card { overflow: hidden; border: 1px solid #c7c2b7; background: #fff; }
.post-card-image { display: block; height: 220px; overflow: hidden; background: #0c1b34; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.post-card:hover .post-card-image img { transform: scale(1.035); }
.post-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: var(--gold-light); font-family: var(--serif); font-size: 28px; letter-spacing: .08em; }
.post-card-body { padding: 28px; }
.post-meta, .article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #846b3d; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.post-card h2 { margin: 26px 0 15px; font-family: var(--serif); font-size: 29px; font-weight: 400; line-height: 1.12; }
.post-card p { margin: 0; color: #5e6774; font-size: 14px; line-height: 1.7; }
.post-read { display: flex; margin-top: 28px; padding-bottom: 10px; border-bottom: 1px solid #9c7f48; justify-content: space-between; color: #313945; font-size: 13px; font-weight: 600; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pagination .page-numbers { display: grid; min-width: 42px; min-height: 42px; padding: 8px 12px; place-items: center; border: 1px solid #bcb7ac; }
.pagination .current { border-color: #846b3d; background: #846b3d; color: #fff; }
.empty-state { padding: 70px; border: 1px solid #c7c2b7; text-align: center; }
.empty-state h2 { margin: 0; font-family: var(--serif); font-size: 40px; font-weight: 400; }
.empty-state p { color: #5e6774; }

.search-form { display: flex; max-width: 520px; }
.search-form label { flex: 1; }
.search-form input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #c7c2b7; border-right: 0; background: #fff; }
.search-form button { padding: 0 18px; border: 0; background: #0c1b34; color: #fff; cursor: pointer; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }

.article-hero { padding: 190px 0 90px; background: linear-gradient(115deg, var(--black), var(--navy-900) 58%, #102449); }
.article-hero-grid { display: grid; align-items: center; gap: 80px; grid-template-columns: 1.2fr .8fr; }
.article-hero h1 { margin: 0 0 30px; font-family: var(--serif); font-size: clamp(52px,5.6vw,84px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.article-cover { height: 420px; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { color: var(--gold-light); }
.article-layout { display: grid; align-items: start; gap: 90px; grid-template-columns: minmax(0,1fr) 330px; }
.article-content { color: #2f3741; font-size: 18px; line-height: 1.85; }
.article-content > *:first-child { margin-top: 0; }
.article-content h2, .article-content h3 { margin: 48px 0 18px; font-family: var(--serif); font-weight: 400; line-height: 1.18; }
.article-content h2 { font-size: 38px; }
.article-content h3 { font-size: 29px; }
.article-content a { color: #725a2e; text-decoration: underline; }
.article-content img { max-width: 100%; height: auto; }
.article-content blockquote { margin: 38px 0; padding: 8px 0 8px 28px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 25px; }
.article-aside { position: sticky; top: 120px; padding: 28px; background: #0c1b34; color: #fff; }
.article-aside > p:not(.footer-label) { color: var(--muted); line-height: 1.65; }
.article-aside .button { width: 100%; margin-top: 18px; padding: 0 18px; }
.related-section { background: #e9e5dc; color: #101722; }

.team-grid { display: grid; gap: 26px; grid-template-columns: repeat(3,1fr); }
.team-card { padding-bottom: 28px; border-bottom: 1px solid #c7c2b7; }
.team-photo { height: 390px; overflow: hidden; background: #0c1b34; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin: 24px 0 8px; font-family: var(--serif); font-size: 31px; font-weight: 400; }
.team-role { color: #846b3d; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.team-bio { color: #5e6774; font-size: 14px; line-height: 1.7; }
.generic-page-content { max-width: 900px; }

@media (max-width: 1050px) {
  .blog-grid, .team-grid { grid-template-columns: repeat(2,1fr); }
  .article-layout { gap: 50px; grid-template-columns: minmax(0,1fr) 280px; }
}

@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

@media (max-width: 760px) {
  body.admin-bar .main-nav,
  body.admin-bar .site-header.is-scrolled .main-nav {
    top: 134px;
  }

  .main-nav .menu-items { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav .menu-items > li > a { padding: 18px 12px; border-bottom: 1px solid rgba(167,182,191,.15); font-size: 18px; }
  .main-nav .menu-items > li > a::after { display: none; }
  .blog-toolbar { align-items: stretch; flex-direction: column; }
  .blog-grid, .team-grid, .article-hero-grid, .article-layout { grid-template-columns: 1fr; }
  .post-card-image { height: 210px; }
  .article-hero { padding: 145px 0 65px; }
  .article-cover { height: 280px; }
  .article-aside { position: static; }
  .empty-state { padding: 45px 22px; }
}
