:root {
  --primary: #0f1b3d;
  --secondary: #63cfeb;
  --accent: #ffc7b2;
  --ink: #0f1b3d;
  --muted: #5f6878;
  --soft: #f3f4f6;
  --line: #e4e7ec;
  --deep: #0f1b3d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Poppins", system-ui, sans-serif;
  letter-spacing: 0;
}

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

a {
  text-decoration: none;
}

.container-wide {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.container-narrow {
  width: min(820px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
}

.top-strip {
  background: var(--primary);
}

.nav-shell {
  z-index: 80;
  background: rgba(255, 255, 255, .78);
  border-bottom: 1px solid rgba(230, 226, 244, .72);
  box-shadow: 0 12px 34px rgba(7, 17, 47, .06);
  backdrop-filter: blur(22px) saturate(1.15);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), #172852);
  box-shadow: 0 16px 32px rgba(15, 27, 61, .18);
}

.brand-name {
  display: none;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--ink);
  content: "";
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.nav-menu {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 88px;
  display: none;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(7, 17, 47, .14);
}

.nav-menu.is-open {
  display: grid;
}

.nav-menu a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #24304d;
  font-weight: 800;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--primary);
  background: #effbfe;
}

.nav-menu .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: var(--secondary);
  text-align: center;
  box-shadow: 0 16px 28px rgba(99, 207, 235, .24);
}

.nav-menu .nav-cta:hover,
.btn-whatsapp:hover {
  animation: buttonNudge .42s ease;
}

.hero-section {
  position: relative;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 199, 178, .42), transparent 26%),
    radial-gradient(circle at 18% 78%, rgba(15, 27, 61, .06), transparent 28%),
    linear-gradient(120deg, #ffffff 0%, #f3f4f6 52%, #fff7f3 100%);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  right: -14vw;
  top: 7%;
  width: min(620px, 48vw);
  aspect-ratio: 1;
  border: 34px solid rgba(15, 27, 61, .09);
  border-left-color: transparent;
  border-bottom-color: rgba(99, 207, 235, .18);
  border-radius: 50%;
  opacity: .9;
  animation: heroCrescentSoft 12s ease-in-out infinite;
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 45%, rgba(99, 207, 235, .08) 45.2%, transparent 45.7%),
    repeating-linear-gradient(115deg, transparent 0 68px, rgba(15, 27, 61, .035) 69px 70px);
  mask-image: linear-gradient(90deg, transparent 0%, #000 44%, #000 100%);
  opacity: .72;
  pointer-events: none;
  animation: heroLinesMove 18s linear infinite;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: max-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--deep);
  background: #effbfe;
  font-size: 13px;
  font-weight: 900;
}

.eyebrow.light {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

.hero-copy h1,
.page-hero h1,
.detail-hero h1,
.article-hero h1 {
  max-width: 960px;
  margin: 20px 0 0;
  font-size: clamp(2.2rem, 3.75vw, 3.45rem);
  line-height: 1.04;
  font-weight: 700;
}

.hero-copy p,
.page-hero p,
.detail-hero p,
.article-hero p {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
.service-card:hover,
.plan-card:hover,
.news-card:hover {
  transform: translateY(-3px);
}

.btn-primary {
  gap: 8px;
  color: #fff;
  background: var(--secondary);
  box-shadow: 0 18px 34px rgba(99, 207, 235, .24);
}

.btn-outline {
  color: var(--deep);
  background: #fff;
  border: 1px solid var(--line);
}

.btn-coral {
  color: #fff;
  background: var(--secondary);
  box-shadow: 0 18px 34px rgba(99, 207, 235, .24);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
  max-width: 640px;
}

.trust-row div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
}

.trust-row strong {
  display: block;
  color: var(--secondary);
  font-size: 1.5rem;
  font-weight: 900;
}

.trust-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.35;
}

.hero-media-grid {
  display: grid;
  gap: 24px;
}

.hero-form-stage {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: start;
  justify-items: start;
  min-height: 520px;
  padding-top: 34px;
}

.hero-accountant-cutout {
  position: absolute;
  z-index: 1;
  right: -5%;
  bottom: -10px;
  width: min(430px, 82%);
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 28px 36px rgba(15, 27, 61, .18));
  animation: accountantFloat 7.5s ease-in-out infinite;
  pointer-events: none;
}

.hero-dynamic-card {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid rgba(15, 27, 61, .08);
  border-radius: 36px;
  background:
    radial-gradient(circle at 78% 22%, rgba(99, 207, 235, .25), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(255, 199, 178, .52), transparent 31%),
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(243, 244, 246, .82));
  box-shadow: 0 34px 80px rgba(15, 27, 61, .12);
  isolation: isolate;
}

.hero-dynamic-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .72;
}

.hero-crescent {
  position: absolute;
  z-index: 1;
  right: -9%;
  top: 8%;
  width: 420px;
  aspect-ratio: 1;
  border: 38px solid rgba(15, 27, 61, .92);
  border-left-color: transparent;
  border-bottom-color: rgba(99, 207, 235, .78);
  border-radius: 50%;
  filter: drop-shadow(0 30px 46px rgba(15, 27, 61, .16));
  opacity: .88;
  animation: crescentFloat 9s ease-in-out infinite;
}

.hero-crescent::after {
  content: "";
  position: absolute;
  inset: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .72);
}

.hero-arc {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(99, 207, 235, .18);
  border-radius: 50%;
  pointer-events: none;
  animation: arcDrift 10s ease-in-out infinite;
}

.hero-arc-one {
  right: 9%;
  top: 18%;
  width: 320px;
  height: 320px;
}

.hero-arc-two {
  right: 24%;
  bottom: 12%;
  width: 220px;
  height: 220px;
  border-color: rgba(15, 27, 61, .13);
  animation-delay: 1.8s;
}

.hero-paper {
  position: absolute;
  z-index: 1;
  width: 74px;
  height: 96px;
  border: 1px solid rgba(15, 27, 61, .08);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .34)),
    repeating-linear-gradient(180deg, transparent 0 14px, rgba(15, 27, 61, .08) 15px 16px);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(15, 27, 61, .08);
  animation: paperFloat 7.4s ease-in-out infinite;
}

.hero-paper-one {
  left: 9%;
  bottom: 17%;
  transform: rotate(-10deg);
}

.hero-paper-two {
  right: 13%;
  bottom: 17%;
  transform: rotate(8deg);
  animation-delay: 1.2s;
}

.hero-photo-wrap {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 32px;
  background: var(--deep);
  box-shadow: 0 30px 70px rgba(47, 27, 143, .22);
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
}

.hero-flow-line {
  position: absolute;
  z-index: 1;
  right: 9%;
  width: 34%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(99, 207, 235, .75), transparent);
  opacity: .72;
  transform-origin: right center;
  animation: heroLineDrift 5.8s ease-in-out infinite;
}

.hero-flow-line-one {
  top: 24%;
}

.hero-flow-line-two {
  top: 32%;
  width: 25%;
  animation-delay: 1.4s;
}

.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 27, 61, .12), transparent 38%),
    linear-gradient(180deg, rgba(15, 27, 61, .02), rgba(15, 27, 61, .24));
  pointer-events: none;
}

.float-card {
  position: absolute;
  z-index: 1;
  max-width: 210px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 18px;
  color: #fff;
  background: rgba(7, 17, 47, .58);
  backdrop-filter: blur(14px);
  font-size: .92rem;
  font-weight: 900;
}

.top-card {
  top: 28px;
  left: 28px;
}

.mid-card {
  display: none;
}

.bottom-card {
  display: none;
}

.hero-form-wrap {
  position: relative;
  z-index: 3;
  border-radius: 22px;
  width: min(390px, 72%);
  margin-top: 68px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(15, 27, 61, .08);
  padding: 22px;
  box-shadow: 0 28px 70px rgba(15, 27, 61, .14);
  backdrop-filter: blur(18px) saturate(1.1);
}

.hero-form-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(99, 207, 235, .32), rgba(255, 255, 255, .08), rgba(15, 27, 61, .16));
  opacity: .55;
}

.form-heading {
  margin-bottom: 14px;
}

.form-heading span {
  color: var(--secondary);
  font-size: .84rem;
  font-weight: 900;
}

.form-heading h2 {
  margin: 4px 0 0;
  font-size: 1.35rem;
  font-weight: 900;
}

.contact-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(7, 17, 47, .10);
}

.contact-card-compact {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-form-wrap .field {
  background: rgba(255, 255, 255, .88);
  border-color: rgba(15, 27, 61, .09);
  padding: 10px 12px;
  border-radius: 13px;
  font-size: .92rem;
}

.hero-form-wrap textarea.field {
  min-height: 58px;
}

.hero-form-wrap .form-heading {
  margin-bottom: 12px;
}

.hero-form-wrap .form-heading h2 {
  font-size: 1.14rem;
  color: var(--ink);
  text-shadow: none;
}

.hero-form-wrap .btn {
  min-height: 42px;
}

.hero-form-wrap .contact-card p {
  display: none;
}

.field {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
}

.field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 207, 235, .13);
}

.form-alert {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 800;
}

.form-alert.success {
  color: #06613e;
  background: #e8fff5;
}

.form-alert.error {
  color: #9d1430;
  background: #fff0f3;
}

.section-block {
  padding: 124px 0;
}

.section-head {
  display: block;
  margin-bottom: 44px;
  text-align: center;
}

.section-head .text-link {
  margin-top: 14px;
  justify-content: center;
}

.section-head h2,
.diagnostic-panel h2,
.about-band h2,
.soft-panel h2,
.final-contact h2 {
  max-width: 1120px;
  margin: 18px auto 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--secondary);
  font-weight: 900;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
}

.service-card,
.plan-card,
.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(7, 17, 47, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover,
.plan-card:hover,
.news-card:hover {
  border-color: rgba(99, 207, 235, .34);
  box-shadow: 0 22px 55px rgba(15, 27, 61, .10);
}

.service-card img,
.news-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
}

.service-card h3,
.news-card h3,
.plan-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 900;
}

.service-card p,
.news-card p,
.plan-card .description {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.65;
  text-align: justify;
  text-align-last: left;
}

.mini-cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  font-size: .9rem;
  font-weight: 900;
}

.service-actions {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.service-detail-link {
  justify-content: center;
  text-align: center;
}

.service-quote-link {
  width: 100%;
  min-height: 46px;
  gap: 8px;
}

.diagnostic-section {
  padding: 26px 0;
}

.diagnostic-panel {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 32px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--primary) 0%, #182a5c 64%, var(--secondary) 100%);
  box-shadow: 0 28px 70px rgba(15, 27, 61, .20);
}

.diagnostic-panel p,
.final-contact p {
  margin-top: 14px;
  max-width: 720px;
  color: rgba(255, 255, 255, .78);
  font-size: 1.06rem;
  line-height: 1.7;
}

.about-band,
.benefits-band,
.soft-panel {
  background: var(--soft);
}

.about-photo {
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 28px 65px rgba(7, 17, 47, .12);
}

.about-photo img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.lead,
.content-p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.value-list span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-weight: 900;
}

.plan-card {
  position: relative;
  overflow: visible;
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 34px 34px 38px;
}

.plan-card::before {
  content: "";
  display: block;
  width: 58px;
  height: 6px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.plan-card.is-featured {
  border-color: rgba(99, 207, 235, .48);
  box-shadow: 0 26px 65px rgba(99, 207, 235, .13);
}

.plan-badge {
  position: absolute;
  top: -18px;
  left: 24px;
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--secondary);
  font-size: .82rem;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(99, 207, 235, .26);
}

.price {
  margin: 18px 0 0;
  color: var(--secondary);
  font-size: clamp(2rem, 3.2vw, 2.45rem);
  font-weight: 900;
}

.plan-card ul {
  display: grid;
  gap: 13px;
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}

.plan-card .btn {
  margin-top: auto !important;
}

.plan-card li {
  position: relative;
  padding-left: 24px;
  color: #35405a;
  line-height: 1.45;
}

.plan-card li::before,
.check-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #079c6c;
  font-weight: 900;
}

.benefit-item {
  padding: 24px;
  border-left: 4px solid var(--secondary);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7, 17, 47, .06);
}

.benefit-item strong {
  font-size: 1.1rem;
  font-weight: 900;
}

.benefit-item p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.news-card span,
.article-meta {
  color: var(--secondary);
  font-size: .86rem;
  font-weight: 900;
}

.page-hero,
.detail-hero,
.article-hero {
  padding: 72px 0 76px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 199, 178, .34), transparent 30%),
    linear-gradient(135deg, #fff, var(--soft));
}

.page-hero + .section-block,
.detail-hero + .section-block,
.article-hero + .section-block {
  padding-top: 76px;
}

.page-hero .container-wide,
.detail-hero .container-wide,
.article-hero .container-wide,
.page-hero .container-narrow,
.article-hero .container-narrow {
  text-align: center;
}

.page-hero h1,
.detail-hero h1,
.article-hero h1,
.page-hero p,
.detail-hero p,
.article-hero p {
  margin-left: auto;
  margin-right: auto;
}

.detail-main-image,
.article-image {
  width: 100%;
  max-height: 560px;
  border-radius: 32px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(7, 17, 47, .13);
}

.check-item {
  position: relative;
  padding: 16px 18px 16px 42px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  font-weight: 800;
}

.check-item::before {
  left: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.article-hero .container-wide {
  margin-top: 34px;
}

.final-contact {
  padding: 96px 0;
  color: #fff;
  background: #fff;
}

.final-contact .container-wide {
  padding: 44px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 84% 16%, rgba(99, 207, 235, .22), transparent 30%),
    linear-gradient(135deg, var(--primary), #172852);
  box-shadow: 0 28px 70px rgba(15, 27, 61, .18);
}

.contact-info-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
  color: var(--muted);
  text-align: left;
}

.contact-info-list p {
  display: grid;
  grid-template-columns: 44px 118px 1fr;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid rgba(15, 27, 61, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .74);
}

.contact-info-list span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--secondary);
  background: #effbfe;
}

.contact-info-list svg {
  width: 20px;
  height: 20px;
}

.contact-info-list strong {
  color: var(--ink);
  font-weight: 900;
}

.contact-info-list em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.map-link {
  display: inline-flex;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--line);
  font-size: .96rem;
  font-weight: 900;
  text-align: center;
}

.map-section {
  padding-top: 72px;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--soft);
  box-shadow: 0 24px 60px rgba(7, 17, 47, .10);
}

.map-frame iframe {
  width: 100%;
  height: min(520px, 62vh);
  min-height: 360px;
  display: block;
  border: 0;
}

.contact-page-hero .container-wide {
  text-align: left;
}

.contact-page-hero h1,
.contact-page-hero p {
  margin-left: 0;
  margin-right: 0;
}

.contact-page-hero {
  padding: 58px 0 64px;
}

.contact-page-hero .container-wide {
  align-items: center;
}

.contact-page-hero .contact-card {
  align-self: start;
  width: 100%;
  max-width: 680px;
  justify-self: end;
}

.contact-page-hero textarea.field {
  min-height: 116px;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(15, 27, 61, .42);
  backdrop-filter: blur(10px);
}

.success-modal.is-open {
  display: grid;
}

.success-modal-card {
  position: relative;
  z-index: 2;
  width: min(460px, 100%);
  padding: 34px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(15, 27, 61, .26);
  text-align: center;
  animation: successPop .34s ease both;
}

.success-modal-card h2 {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 1.7rem;
  font-weight: 900;
}

.success-modal-card p {
  margin: 12px auto 0;
  max-width: 340px;
  color: var(--muted);
  line-height: 1.65;
}

.success-modal-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 999px;
  color: #fff;
  background: #10b981;
  font-size: 2.2rem;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(16, 185, 129, .26);
}

.success-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.success-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.success-confetti span {
  position: absolute;
  top: -24px;
  width: 9px;
  height: 16px;
  border-radius: 3px;
  background: var(--secondary);
  animation: confettiFall 1.9s ease-in forwards;
}

.success-confetti span:nth-child(3n) {
  background: #10b981;
}

.success-confetti span:nth-child(4n) {
  background: var(--primary);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 8px;
  z-index: 60;
  display: block;
}

.wa-dot {
  position: relative;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #10b981;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(16, 185, 129, .34);
  transition: transform .2s ease, box-shadow .2s ease;
}

.wa-dot svg {
  width: 31px;
  height: 31px;
}

.floating-whatsapp:hover .wa-dot {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 22px 44px rgba(16, 185, 129, .42);
}

.wa-dot::before,
.wa-dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(16, 185, 129, .42);
  border-radius: inherit;
  animation: waPulse 2.2s ease-out infinite;
}

.wa-dot::after {
  animation-delay: .75s;
}

.wa-bubble {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: max-content;
  min-width: 0;
  max-width: min(260px, calc(100vw - 32px));
  padding: 10px 12px;
  border: 1px solid rgba(15, 27, 61, .08);
  border-radius: 16px 16px 5px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 14px 34px rgba(15, 27, 61, .14);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.35;
  backdrop-filter: blur(12px);
  text-align: left;
  white-space: nowrap;
}

.wa-bubble::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, .92);
  border-right: 1px solid rgba(15, 27, 61, .08);
  border-bottom: 1px solid rgba(15, 27, 61, .08);
  transform: rotate(45deg);
}

.wa-caret {
  display: inline-block;
  width: 1px;
  height: .9em;
  margin-left: 2px;
  background: var(--secondary);
  vertical-align: -1px;
  animation: caretBlink .9s steps(1) infinite;
}

.wa-inline-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 auto;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.02 3.2A12.7 12.7 0 0 0 5.08 22.35L3.4 28.8l6.6-1.73A12.68 12.68 0 1 0 16.02 3.2Zm0 23.18a10.48 10.48 0 0 1-5.34-1.46l-.38-.23-3.92 1.03 1.05-3.82-.25-.4A10.47 10.47 0 1 1 16.02 26.38Zm5.75-7.84c-.31-.16-1.86-.92-2.15-1.02-.29-.11-.5-.16-.71.16-.21.31-.82 1.02-1.01 1.23-.18.21-.37.24-.68.08-.31-.16-1.31-.48-2.5-1.54-.92-.82-1.55-1.84-1.73-2.15-.18-.31-.02-.48.14-.64.14-.14.31-.37.47-.55.16-.18.21-.31.31-.52.1-.21.05-.39-.03-.55-.08-.16-.71-1.7-.97-2.33-.26-.61-.52-.53-.71-.54h-.61c-.21 0-.55.08-.84.39-.29.31-1.1 1.07-1.1 2.62s1.13 3.04 1.29 3.25c.16.21 2.23 3.4 5.4 4.76.75.32 1.34.52 1.8.66.76.24 1.45.21 2 .13.61-.09 1.86-.76 2.12-1.49.26-.73.26-1.36.18-1.49-.08-.13-.29-.21-.6-.37Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer {
  color: rgba(255, 255, 255, .72);
  background:
    radial-gradient(circle at 12% 20%, rgba(99, 207, 235, .16), transparent 28%),
    linear-gradient(135deg, #0f1b3d, #13224b 58%, #09142f);
}

.footer-shell {
  display: grid;
  gap: 44px;
  padding: 64px 0 44px;
  grid-template-columns: minmax(280px, 1.3fr) repeat(3, minmax(170px, .7fr));
  align-items: start;
}

.footer h3 {
  margin: 0;
  color: #fff;
  font-weight: 900;
}

.footer a,
.footer span {
  color: rgba(255, 255, 255, .72);
}

.footer a:hover {
  color: #fff;
}

.footer-brand p {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.75;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 11px 15px;
  border-radius: 999px;
  color: #fff !important;
  background: rgba(99, 207, 235, .18);
  border: 1px solid rgba(99, 207, 235, .36);
  font-weight: 900;
}

.footer-col {
  padding-top: 8px;
}

.footer-links {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}

.footer-links a,
.footer-links span {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.45;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--secondary);
}

.footer-bottom {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .58);
  font-size: .92rem;
}

.footer-bottom a {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 900;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}

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

@media (min-width: 640px) {
  .brand-name {
    display: inline;
  }
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero-section .container-wide {
    grid-template-columns: 1fr .82fr;
    gap: 76px;
  }

  .hero-form-stage {
    min-height: 520px;
    padding-top: 42px;
  }

  .diagnostic-panel {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 1023px) {
  .hero-section .container-wide {
    gap: 34px;
    padding-top: 48px;
    padding-bottom: 58px;
  }

  .hero-section::before {
    right: -28vw;
    top: 38%;
    width: min(520px, 82vw);
    opacity: .45;
  }

  .hero-section::after {
    opacity: .36;
    mask-image: linear-gradient(180deg, transparent 0%, #000 36%, #000 100%);
  }

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

  .hero-copy .eyebrow,
  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy .btn {
    width: 100%;
  }

  .hero-form-stage {
    min-height: auto;
    padding-top: 0;
    justify-items: center;
  }

  .hero-accountant-cutout {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(360px, 72vw);
    max-height: 430px;
    margin: 0 auto -24px;
  }

  .hero-form-wrap {
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .top-strip {
    display: none;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-hero h1,
  .article-hero h1 {
    font-size: 2.45rem;
  }

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

  .section-head {
    display: block;
  }

  .section-block {
    padding: 84px 0;
  }

  .hero-form-stage {
    min-height: auto;
    padding-top: 0;
  }

  .hero-form-wrap {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0 auto;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .78);
    backdrop-filter: blur(12px);
  }

  .hero-accountant-cutout {
    width: min(260px, 76vw);
    max-height: 320px;
    margin: 0 auto -14px;
  }

  .hero-form-wrap .field {
    background: rgba(255, 255, 255, .84);
  }

  .float-card {
    max-width: 170px;
    font-size: .82rem;
  }

  .diagnostic-panel {
    padding: 24px;
  }

  .contact-page-hero .container-wide {
    text-align: left;
  }

  .contact-page-hero {
    padding: 44px 0 54px;
  }

  .contact-page-hero .contact-card {
    max-width: none;
    justify-self: stretch;
  }

  .contact-info-list p {
    grid-template-columns: 40px 1fr;
    gap: 6px 10px;
  }

  .contact-info-list span {
    grid-row: span 2;
  }

  .contact-info-list em {
    grid-column: 2;
  }

  .map-frame iframe {
    min-height: 300px;
  }

  .about-photo img {
    height: 340px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 8px;
  }

  .wa-bubble {
    display: none;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 48px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@keyframes waPulse {
  0% {
    opacity: .55;
    transform: scale(.92);
  }
  100% {
    opacity: 0;
    transform: scale(1.42);
  }
}

@keyframes heroLineDrift {
  0%, 100% {
    opacity: .25;
    transform: translateX(18px) scaleX(.72);
  }
  50% {
    opacity: .9;
    transform: translateX(-10px) scaleX(1);
  }
}

@keyframes heroCrescentSoft {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-10deg);
  }
  50% {
    transform: translate3d(-24px, 16px, 0) rotate(8deg);
  }
}

@keyframes heroLinesMove {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 0 0, 220px 0;
  }
}

@keyframes buttonNudge {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-2px) scale(1.035);
  }
}

@keyframes crescentFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-12deg);
  }
  50% {
    transform: translate3d(-28px, 20px, 0) rotate(8deg);
  }
}

@keyframes arcDrift {
  0%, 100% {
    opacity: .45;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: .82;
    transform: translateY(-18px) scale(1.04);
  }
}

@keyframes paperFloat {
  0%, 100% {
    transform: translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateY(-18px) rotate(4deg);
  }
}

@keyframes accountantFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(.3deg);
  }
  50% {
    transform: translate3d(-10px, -14px, 0) rotate(-1deg);
  }
}

@keyframes successPop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translate3d(0, -20px, 0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--fall-x), 110vh, 0) rotate(var(--turn));
  }
}

@keyframes caretBlink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

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