/*
Theme Name: Atlas Contabilidade
Theme URI: https://atlastax.com.br/
Author: Atlas Contabilidade
Author URI: https://atlastax.com.br/
Description: Tema institucional da Atlas Contabilidade, com serviços, planos e blog integrado ao WordPress.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: atlas-contabilidade
*/

:root {
  --ink: #0b1f3a;
  --ink-soft: #38506e;
  --blue: #0741ad;
  --blue-dark: #052f80;
  --blue-pale: #edf4ff;
  --mint: #a9ead7;
  --mint-dark: #13765e;
  --paper: #fbfcfe;
  --white: #ffffff;
  --line: #dbe4ef;
  --shadow: 0 24px 70px rgba(11, 31, 58, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; padding: 12px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 750; }
.skip-link:focus { top: 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
a { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 104px 0; }
.inner-section { padding-top: 88px; }
.light-section { background: var(--blue-pale); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 254, 0.94);
  border-bottom: 1px solid rgba(219, 228, 239, 0.86);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 80px; display: flex; align-items: center; gap: 28px; }
.brand { height: 50px; display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 144px; height: auto; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-left: auto; }
.desktop-nav .atlas-menu, .desktop-nav .atlas-menu-fallback { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 28px; }
.desktop-nav a { color: #304966; font-size: 14px; font-weight: 650; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--blue); }
.desktop-nav .current-menu-item a, .desktop-nav a[aria-current="page"] { color: var(--blue); }

.button {
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, summary:focus-visible, .comparison-wrap:focus-visible { outline: 3px solid rgba(7, 65, 173, .32); outline-offset: 3px; }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(7, 65, 173, .22); }
.button-primary:hover { background: var(--blue-dark); }
.button-header { background: var(--ink); color: #fff; margin-left: 6px; min-height: 44px; padding-inline: 18px; }
.button-secondary { color: var(--blue); border-color: #bdd0ef; background: #fff; }
.button-secondary:hover { border-color: var(--blue); background: var(--blue-pale); }
.button-ghost-light { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.button-ghost-light:hover { background: rgba(255,255,255,.16); }
.button-mint { background: var(--mint); color: #0a4437; box-shadow: 0 12px 30px rgba(55, 176, 143, .18); }
.button-mint:hover { background: #c3f3e5; }
.button-footer { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }
.full-button { width: 100%; }

.mobile-nav { display: none; margin-left: auto; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 11px; display: grid; place-items: center; background: #fff; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; right: 0; top: 54px; width: min(320px, calc(100vw - 32px)); padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); display: grid; }
.mobile-nav nav > a:not(.button) { padding: 13px 10px; font-weight: 650; border-bottom: 1px solid #edf1f6; }
.mobile-nav .button { margin-top: 12px; }

.hero { min-height: 690px; position: relative; display: grid; overflow: hidden; background: var(--ink); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 21, 43, .97) 0%, rgba(8, 29, 58, .89) 38%, rgba(10, 30, 55, .2) 73%, rgba(10, 30, 55, .04) 100%); }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(169, 234, 215, .16); border-radius: 50%; left: -210px; bottom: -210px; box-shadow: 0 0 0 70px rgba(169, 234, 215, .035), 0 0 0 140px rgba(169, 234, 215, .025); }
.hero-content { position: relative; z-index: 2; display: flex; align-items: center; padding-block: 82px; }
.hero-copy { width: min(620px, 58%); color: #fff; }
.eyebrow { color: var(--blue); font-size: 12px; line-height: 1.2; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow-light { color: var(--mint); }
.hero h1 { font-size: clamp(48px, 5.3vw, 74px); line-height: .99; letter-spacing: -.052em; margin-bottom: 26px; }
.hero-copy > p:not(.eyebrow) { max-width: 590px; color: rgba(255,255,255,.8); font-size: 18px; line-height: 1.68; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 30px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 650; }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { color: var(--mint); }

.signal-strip { background: #fff; border-bottom: 1px solid var(--line); }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.signal-grid > div { min-height: 104px; display: flex; flex-direction: column; justify-content: center; padding: 18px 28px; border-left: 1px solid var(--line); }
.signal-grid > div:last-child { border-right: 1px solid var(--line); }
.signal-grid strong { font-size: 17px; letter-spacing: -.02em; }
.signal-grid span { color: #708299; font-size: 12px; margin-top: 5px; }

.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading h2, .story-copy h2, .detail-grid h2, .contact-prep h2 { font-size: clamp(34px, 4.1vw, 54px); line-height: 1.07; letter-spacing: -.045em; margin-bottom: 18px; }
.section-heading > p:not(.eyebrow), .split-heading > p, .story-copy > p, .detail-grid p { color: var(--ink-soft); line-height: 1.75; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { margin: 0; }
.centered-heading { text-align: center; margin-inline: auto; }
.centered-heading > p { margin-inline: auto; max-width: 620px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 330px; padding: 35px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.service-card:hover { z-index: 2; background: var(--blue-pale); transform: translateY(-4px); box-shadow: 0 18px 50px rgba(11, 31, 58, .1); }
.service-card > svg { color: var(--blue); margin: 20px 0 36px; }
.service-index { position: absolute; right: 28px; top: 25px; color: #9baabd; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.service-card h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 12px; }
.service-card p { color: var(--ink-soft); line-height: 1.65; font-size: 14px; margin-bottom: 25px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--blue); font-size: 13px; font-weight: 800; }
.text-link-strong { font-size: 15px; }
.section-center-action { display: flex; justify-content: center; margin-top: 38px; }

.section-process { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.section-process::after { content: ""; width: 520px; height: 520px; position: absolute; border-radius: 50%; right: -240px; top: -270px; border: 1px solid rgba(169,234,215,.13); box-shadow: 0 0 0 75px rgba(169,234,215,.025), 0 0 0 150px rgba(169,234,215,.018); }
.process-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.process-copy { position: sticky; top: 124px; }
.process-copy h2 { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.03; letter-spacing: -.045em; margin-bottom: 22px; }
.process-copy > p:not(.eyebrow) { color: rgba(255,255,255,.7); line-height: 1.75; margin-bottom: 28px; }
.process-steps { display: grid; }
.process-step { min-height: 150px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: 44px 46px 1fr; gap: 20px; align-items: start; }
.process-step:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.process-step > span { color: var(--mint); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.process-step > svg { color: var(--mint); }
.process-step h3 { font-size: 20px; margin-bottom: 9px; }
.process-step p { color: rgba(255,255,255,.66); line-height: 1.65; font-size: 14px; margin: 0; }

.section-plans-preview { background: #f5f8fc; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan-card { position: relative; padding: 36px; min-height: 550px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; box-shadow: 0 16px 50px rgba(11,31,58,.055); }
.plan-card h2, .plan-card h3 { font-size: 28px; letter-spacing: -.035em; margin-bottom: 20px; }
.plan-card > p:not(.plan-eyebrow):not(.plan-price) { color: var(--ink-soft); line-height: 1.65; font-size: 14px; }
.plan-eyebrow { min-height: 34px; color: var(--blue); font-size: 11px; text-transform: uppercase; letter-spacing: .11em; font-weight: 800; }
.plan-price { display: flex; align-items: flex-start; gap: 5px; font-size: 49px; line-height: 1; letter-spacing: -.055em; font-weight: 800; margin: 4px 0 20px; }
.plan-price small { font-size: 15px; letter-spacing: 0; margin-top: 7px; }
.plan-price span { align-self: end; font-size: 13px; letter-spacing: 0; color: #708299; margin-bottom: 5px; }
.plan-card ul { list-style: none; padding: 24px 0 0; margin: 10px 0 30px; border-top: 1px solid var(--line); display: grid; gap: 15px; }
.plan-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; }
.plan-card li svg { color: var(--blue); flex: 0 0 auto; margin-top: 2px; }
.plan-card .button { margin-top: auto; }
.plan-featured { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-12px); box-shadow: 0 26px 70px rgba(7,65,173,.23); }
.plan-featured .plan-eyebrow, .plan-dark .plan-eyebrow { color: var(--mint); }
.plan-featured > p:not(.plan-eyebrow):not(.plan-price), .plan-dark > p:not(.plan-eyebrow):not(.plan-price), .plan-featured .plan-price span, .plan-dark .plan-price span { color: rgba(255,255,255,.72); }
.plan-featured ul, .plan-dark ul { border-color: rgba(255,255,255,.19); }
.plan-featured li svg, .plan-dark li svg { color: var(--mint); }
.plan-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-dark .button-secondary { background: #fff; }
.plan-badge { position: absolute; top: 18px; right: 18px; background: var(--mint); color: #0b4b3a; border-radius: 999px; padding: 7px 10px; font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.plans-note { text-align: center; color: #708299; font-size: 12px; line-height: 1.6; margin: 25px auto 0; }

.final-cta-section { padding-top: 0; background: #f5f8fc; }
.final-cta { padding: 55px 64px; border-radius: 26px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 50px; box-shadow: 0 24px 70px rgba(7,65,173,.2); }
.final-cta h2 { max-width: 720px; font-size: clamp(34px, 4vw, 50px); line-height: 1.06; letter-spacing: -.045em; margin-bottom: 13px; }
.final-cta p:not(.eyebrow) { color: rgba(255,255,255,.75); margin-bottom: 0; line-height: 1.6; }
.final-cta > .button { flex: 0 0 auto; }
.compact-cta-section { padding-top: 84px; padding-bottom: 84px; }

.site-footer { background: #07182e; color: #fff; }
.footer-trust { min-height: 92px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; border-bottom: 1px solid rgba(255,255,255,.13); }
.footer-trust span { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.76); font-size: 13px; font-weight: 650; }
.footer-trust svg { color: var(--mint); }
.footer-grid { padding: 70px 0; display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 90px; }
.footer-brand img { width: 144px; height: auto; opacity: .96; }
.footer-brand p { max-width: 400px; color: rgba(255,255,255,.61); line-height: 1.7; margin: 22px 0 25px; }
.footer-title { color: var(--mint); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 23px; }
.footer-links { display: grid; gap: 13px; }
.footer-links a { width: fit-content; color: rgba(255,255,255,.67); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.certification-link { width: fit-content; margin-top: 22px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.78); font-size: 12px; font-weight: 750; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.certification-link:hover { border-color: rgba(169,234,215,.55); background: rgba(255,255,255,.06); color: #fff; }
.certification-link svg:first-child { color: var(--mint); }
.legal-identity, .legal-pending { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: 11px; line-height: 1.6; }
.legal-identity p { margin: 0 0 5px; }
.footer-bottom { min-height: 75px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.38); font-size: 11px; }

.page-intro { padding: 105px 0 92px; background: var(--blue-pale); position: relative; overflow: hidden; }
.page-intro::after { content: ""; position: absolute; right: -130px; top: -230px; width: 520px; height: 520px; border: 1px solid rgba(21,88,214,.14); border-radius: 50%; box-shadow: 0 0 0 75px rgba(21,88,214,.025), 0 0 0 150px rgba(21,88,214,.02); }
.page-intro-inner { position: relative; z-index: 1; }
.page-intro h1 { max-width: 880px; font-size: clamp(48px, 6vw, 76px); line-height: .99; letter-spacing: -.055em; margin-bottom: 25px; }
.page-intro .lead { max-width: 790px; color: var(--ink-soft); font-size: 18px; line-height: 1.7; margin-bottom: 0; }

.service-list { display: grid; border-top: 1px solid var(--line); }
.service-row { min-height: 210px; padding: 35px 12px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 52px 70px 1fr 52px; gap: 28px; align-items: center; }
.service-row-number { color: #91a2b7; font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.service-row-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: var(--blue); background: var(--blue-pale); }
.service-row .eyebrow { margin-bottom: 10px; }
.service-row h2 { font-size: 29px; letter-spacing: -.035em; margin-bottom: 8px; }
.service-row p:not(.eyebrow) { max-width: 720px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 0; }
.round-link { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--blue); transition: background .2s, color .2s, transform .2s; }
.round-link:hover { background: var(--blue); color: #fff; transform: translateX(3px); }

.service-hero { padding: 100px 0; background: var(--ink); color: #fff; overflow: hidden; }
.service-hero-grid { display: grid; grid-template-columns: 1.15fr .45fr; gap: 80px; align-items: center; }
.service-hero h1 { max-width: 830px; font-size: clamp(50px, 6vw, 76px); line-height: .98; letter-spacing: -.055em; margin-bottom: 24px; }
.service-hero .lead { max-width: 760px; color: rgba(255,255,255,.69); font-size: 18px; line-height: 1.7; margin-bottom: 30px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.55); font-size: 12px; font-weight: 700; margin-bottom: 48px; }
.service-hero-mark { aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(169,234,215,.25); display: grid; place-items: center; color: var(--mint); box-shadow: 0 0 0 45px rgba(169,234,215,.035), 0 0 0 90px rgba(169,234,215,.02); }
.detail-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; color: var(--ink-soft); line-height: 1.6; }
.check-list svg { color: var(--blue); flex: 0 0 auto; margin-top: 4px; }
.large-check-list { gap: 0; border-top: 1px solid var(--line); }
.large-check-list li { padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; }
.three-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.three-step-grid article { min-height: 250px; padding: 32px; border: 1px solid #cadbf3; border-radius: 18px; background: rgba(255,255,255,.65); }
.three-step-grid span { color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.three-step-grid h3 { font-size: 22px; margin: 42px 0 12px; }
.three-step-grid p { color: var(--ink-soft); line-height: 1.65; font-size: 14px; }
.scope-note { margin: 26px 0 0; color: #657b96; font-size: 12px; }

.plans-page-section { padding-bottom: 90px; }
.comparison-section { background: #fff; }
.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.comparison-table { width: 100%; min-width: 850px; border-collapse: collapse; text-align: left; }
.comparison-table th { padding: 22px 24px; background: var(--ink); color: #fff; font-size: 13px; }
.comparison-table th:first-child { border-top-left-radius: 17px; }
.comparison-table th:last-child { border-top-right-radius: 17px; }
.comparison-table td { padding: 19px 24px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; }
.comparison-table td:first-child { color: var(--ink); font-weight: 750; }
.comparison-table tr:last-child td { border-bottom: 0; }
.table-check { display: inline-flex; align-items: center; gap: 7px; color: var(--mint-dark); font-weight: 750; }

.story-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: center; }
.story-mark { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--blue); box-shadow: 0 0 0 32px var(--blue-pale), 0 24px 70px rgba(7,65,173,.22); }
.story-mark img { width: 68%; height: auto; object-fit: contain; }
.story-copy > p:not(.eyebrow) { font-size: 16px; }
.story-copy .button { margin-top: 10px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.values-grid article { padding: 30px; min-height: 260px; border-radius: 17px; border: 1px solid #cadbf3; background: rgba(255,255,255,.68); }
.values-grid svg { color: var(--blue); }
.values-grid h3 { font-size: 21px; margin: 50px 0 12px; }
.values-grid p { color: var(--ink-soft); font-size: 14px; line-height: 1.65; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card { min-height: 420px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; display: flex; flex-direction: column; }
.blog-card-top { display: flex; justify-content: space-between; color: #7f90a5; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.blog-card-top span { color: var(--blue); font-weight: 800; }
.blog-card > svg, .blog-card-link > svg { color: var(--blue); margin: 65px 0 28px; }
.blog-card h2 { font-size: 25px; line-height: 1.18; letter-spacing: -.035em; }
.blog-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.blog-card-link { color: inherit; display: flex; flex-direction: column; height: 100%; }
.blog-card-link:hover h2 { color: var(--blue); }
.blog-card-thumbnail { aspect-ratio: 16 / 9; margin: -30px -30px 28px; overflow: hidden; border-radius: 18px 18px 0 0; background: var(--blue-pale); }
.blog-card-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.coming-soon { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; color: #8292a6; font-size: 12px; font-weight: 700; }
.blog-note { margin-top: 35px; padding: 45px; border-radius: 20px; background: var(--blue-pale); display: grid; grid-template-columns: 1fr auto; gap: 20px 50px; align-items: center; }
.blog-note .eyebrow { grid-column: 1 / -1; margin-bottom: -5px; }
.blog-note h2 { font-size: 32px; letter-spacing: -.04em; margin: 0; }

.contact-section { padding-bottom: 110px; }
.contact-card { padding: 48px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; grid-template-columns: 90px 1fr auto; gap: 34px; align-items: center; }
.contact-icon { width: 82px; height: 82px; border-radius: 22px; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 18px 40px rgba(21,88,214,.2); }
.contact-card h2 { font-size: 32px; letter-spacing: -.04em; margin-bottom: 10px; }
.contact-card p:not(.eyebrow) { color: var(--ink-soft); line-height: 1.65; margin: 0; }
.contact-prep { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-prep .check-list { padding-top: 10px; }

.legal-page { max-width: 820px; padding-top: 90px; padding-bottom: 110px; }
.legal-page h1 { font-size: clamp(46px, 6vw, 70px); letter-spacing: -.055em; line-height: 1; margin-bottom: 15px; }
.legal-date { color: #7d8fa5; font-size: 12px; margin-bottom: 45px; }
.legal-page > p:not(.eyebrow):not(.legal-date) { color: var(--ink-soft); line-height: 1.78; }
.legal-page h2 { font-size: 22px; letter-spacing: -.025em; margin: 38px 0 10px; }
.legal-page a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.post-hero { padding: 92px 0 72px; background: var(--blue-pale); }
.post-hero h1 { max-width: 920px; font-size: clamp(44px, 6vw, 72px); line-height: 1.02; letter-spacing: -.052em; margin-bottom: 24px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #657b96; font-size: 13px; }
.post-featured { width: min(1100px, calc(100% - 48px)); margin: -28px auto 0; position: relative; z-index: 1; }
.post-featured img { width: 100%; max-height: 620px; display: block; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.post-content { max-width: 820px; padding-top: 78px; padding-bottom: 105px; font-size: 17px; line-height: 1.82; }
.post-content > * { max-width: 100%; }
.post-content h2 { font-size: 34px; line-height: 1.15; letter-spacing: -.035em; margin: 52px 0 18px; }
.post-content h3 { font-size: 25px; line-height: 1.2; letter-spacing: -.025em; margin: 38px 0 14px; }
.post-content p, .post-content li { color: var(--ink-soft); }
.post-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.post-content img { height: auto; border-radius: 16px; }
.post-content blockquote { margin: 36px 0; padding: 24px 28px; border-left: 4px solid var(--blue); background: var(--blue-pale); }
.post-content blockquote p:last-child { margin-bottom: 0; }
.post-tags { max-width: 820px; margin: -58px auto 80px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a { padding: 8px 11px; border-radius: 999px; background: var(--blue-pale); color: var(--blue); font-size: 12px; font-weight: 750; }
.posts-pagination { margin-top: 45px; display: flex; justify-content: center; }
.posts-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.posts-pagination a, .posts-pagination span { min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--ink); font-size: 13px; font-weight: 750; }
.posts-pagination .current, .posts-pagination a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.empty-state { max-width: 720px; margin-inline: auto; padding: 50px; border-radius: 20px; border: 1px solid var(--line); background: #fff; text-align: center; }
.empty-state h1 { font-size: clamp(42px, 6vw, 68px); line-height: 1; letter-spacing: -.05em; }
.empty-state p { color: var(--ink-soft); line-height: 1.7; }
.generic-page { min-height: 45vh; }
.not-found { min-height: 65vh; display: grid; align-items: center; }
.alignwide { width: min(1100px, calc(100vw - 48px)); max-width: none !important; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none !important; margin-left: 50%; transform: translateX(-50%); }
.wp-caption, .gallery-caption { color: #657b96; font-size: 12px; }
.sticky { position: relative; }
.bypostauthor { position: relative; }
.admin-bar .site-header { top: 32px; }

@media (max-width: 1060px) {
  .desktop-nav { gap: 18px; }
  .desktop-nav .atlas-menu, .desktop-nav .atlas-menu-fallback { gap: 18px; }
  .desktop-nav a { font-size: 13px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-layout { gap: 60px; }
  .plan-card { padding: 28px; }
  .footer-grid { gap: 55px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .shell { width: min(100% - 36px, 1160px); }
  .section { padding: 78px 0; }
  .desktop-nav, .button-header { display: none; }
  .mobile-nav { display: block; }
  .hero { min-height: 660px; }
  .hero-image { object-position: 66% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(5,21,43,.97) 0%, rgba(8,29,58,.9) 54%, rgba(8,29,58,.38) 100%); }
  .hero-copy { width: min(620px, 82%); }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .signal-grid > div:nth-child(2) { border-right: 1px solid var(--line); }
  .signal-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split-heading, .process-layout, .detail-grid, .story-grid, .contact-prep { grid-template-columns: 1fr; gap: 45px; }
  .process-copy { position: static; }
  .plan-grid, .blog-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .plan-featured { transform: none; }
  .plan-card { min-height: auto; }
  .final-cta { padding: 44px; align-items: flex-start; flex-direction: column; }
  .footer-trust { grid-template-columns: 1fr; padding: 23px 0; gap: 15px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .service-hero-grid { grid-template-columns: 1fr; }
  .service-hero-mark { display: none; }
  .three-step-grid { grid-template-columns: 1fr; }
  .three-step-grid article { min-height: 200px; }
  .story-mark { max-width: 360px; margin-inline: auto; }
  .blog-note { grid-template-columns: 1fr; }
  .blog-note .eyebrow { grid-column: auto; }
  .contact-card { grid-template-columns: 78px 1fr; }
  .contact-card > .button { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 30px, 1160px); }
  .header-inner { min-height: 70px; }
  .brand img { width: 110px; }
  .hero { min-height: 720px; }
  .hero-image { object-position: 70% center; opacity: .62; }
  .hero-overlay { background: linear-gradient(90deg, rgba(5,21,43,.97), rgba(8,29,58,.78)); }
  .hero-content { align-items: flex-end; padding-block: 70px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 47px; }
  .hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; gap: 9px; }
  .signal-grid > div { min-height: 88px; padding: 15px; }
  .signal-grid strong { font-size: 14px; }
  .split-heading { gap: 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 295px; padding: 29px; }
  .process-step { grid-template-columns: 34px 32px 1fr; gap: 12px; }
  .section-heading h2, .story-copy h2, .detail-grid h2, .contact-prep h2 { font-size: 36px; }
  .page-intro { padding: 78px 0 70px; }
  .page-intro h1 { font-size: 48px; }
  .page-intro .lead { font-size: 16px; }
  .service-row { grid-template-columns: 44px 1fr 44px; gap: 15px; padding: 28px 0; }
  .service-row-number { display: none; }
  .service-row-icon { width: 44px; height: 44px; border-radius: 12px; }
  .service-row-icon svg { width: 22px; }
  .service-row h2 { font-size: 23px; }
  .service-row p:not(.eyebrow) { font-size: 13px; }
  .round-link { width: 40px; height: 40px; }
  .service-hero { padding: 72px 0; }
  .service-hero h1 { font-size: 48px; }
  .back-link { margin-bottom: 36px; }
  .plan-card { padding: 28px; }
  .final-cta { padding: 35px 27px; border-radius: 20px; }
  .final-cta .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 45px; padding: 55px 0; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 20px 0; }
  .values-grid { grid-template-columns: 1fr; }
  .values-grid article { min-height: 220px; }
  .blog-card { min-height: 370px; }
  .blog-note { padding: 30px; }
  .contact-card { padding: 29px; grid-template-columns: 1fr; }
  .contact-icon { width: 68px; height: 68px; }
  .contact-card > .button { grid-column: auto; }
  .legal-page { padding-top: 70px; }
  .post-hero { padding: 70px 0 56px; }
  .post-hero h1 { font-size: 44px; }
  .post-featured { width: min(100% - 30px, 1100px); }
  .post-featured img { border-radius: 17px; }
  .post-content { padding-top: 58px; font-size: 16px; }
  .post-content h2 { font-size: 30px; }
  .admin-bar .site-header { top: 46px; }
}

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