:root {
  --night: #061b34;
  --deep: #0b2340;
  --slate: #122b49;
  --gold: #c8953a;
  --gold-light: #f4dfac;
  --gold-strong: #9d671d;
  --wine: #6b233d;
  --paper: #fff7e8;
  --brand-cream: #fff7e8;
  --brand-cream-mid: #f8ead1;
  --brand-cream-deep: #f1debc;
  --sand: #d1a34b;
  --muted: rgba(6, 27, 52, 0.74);
  --line: rgba(157, 103, 29, 0.24);
  --panel: rgba(6, 27, 52, 0.94);
  --panel-soft: rgba(11, 35, 64, 0.9);
  --shadow: 0 12px 30px rgba(6, 27, 52, 0.13);
  --radius: 8px;
  --max: 1560px;
  --container-gutter: clamp(64px, 7vw, 220px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--brand-cream-mid);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--night);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.72), transparent 28rem),
    radial-gradient(circle at 86% 12%, rgba(200, 149, 58, 0.16), transparent 26rem),
    linear-gradient(180deg, var(--brand-cream) 0%, var(--brand-cream-mid) 48%, var(--brand-cream-deep) 100%);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

main,
section,
.container,
.hero-inner,
.portal-layout,
.payment-layout,
.portal-main,
.portal-sidebar,
.payment-panel,
.pricing-card,
.result-card,
.timeline-card {
  min-width: 0;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--night);
  background: var(--paper);
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 247, 232, 0.88);
  border-bottom: 1px solid rgba(157, 103, 29, 0.18);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(calc(100% - var(--container-gutter)), var(--max));
  min-height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  min-width: 176px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 8px 18px rgba(86, 63, 22, 0.08);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.brand-text {
  display: grid;
  gap: 0;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  line-height: 1.1;
}

.brand-note {
  color: var(--sand);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--night);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-links a {
  padding: 8px 8px;
  color: var(--muted);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
  color: var(--night);
  background: rgba(200, 149, 58, 0.12);
  outline: none;
}

.nav-links .nav-cta {
  margin-left: 6px;
  color: var(--night);
  background: var(--gold);
  font-weight: 700;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus {
  color: var(--night);
  background: var(--gold-light);
}

.hero {
  position: relative;
  min-height: auto;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 28%, rgba(255, 255, 255, 0.62), transparent 21rem),
    radial-gradient(circle at 18% 18%, rgba(200, 149, 58, 0.16), transparent 24rem),
    linear-gradient(145deg, var(--brand-cream) 0%, var(--brand-cream-mid) 58%, var(--brand-cream-deep) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 88px;
  background: linear-gradient(180deg, rgba(255, 247, 232, 0), var(--brand-cream-mid));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - var(--container-gutter)), var(--max));
  margin: 0 auto;
  padding: clamp(34px, 4.5vh, 48px) 0 clamp(48px, 5.5vh, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: clamp(40px, 4.5vw, 76px);
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  max-width: min(100%, 800px);
}

.hero-brand-figure {
  margin: 0;
  justify-self: end;
  width: min(100%, 500px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-brand-figure img {
  display: block;
  width: 100%;
  border-radius: 0;
  filter: drop-shadow(0 18px 28px rgba(86, 63, 22, 0.08));
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--night);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.08;
  max-width: 100%;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin-top: 12px;
  font-size: 3.25rem;
}

.mobile-break {
  display: none;
}

.hero-lead {
  max-width: 720px;
  margin-top: 16px;
  color: rgba(7, 22, 43, 0.82);
  font-size: 1rem;
}

.hero-note {
  max-width: 700px;
  margin-top: 12px;
  color: var(--sand);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.center-actions {
  justify-content: center;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button::after {
  content: ">";
  font-weight: 900;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: var(--night);
  background: var(--gold);
  box-shadow: 0 10px 22px rgba(243, 198, 118, 0.14);
}

.button-primary:hover,
.button-primary:focus {
  background: var(--gold-light);
}

.button-secondary {
  color: var(--night);
  border-color: rgba(6, 27, 52, 0.28);
  background: rgba(255, 255, 255, 0.46);
}

.button-secondary:hover,
.button-secondary:focus {
  border-color: rgba(157, 103, 29, 0.44);
  background: rgba(255, 255, 255, 0.58);
}

.pricing-card .button-secondary,
.product-card .button-secondary,
.offer-card .button-secondary,
.service-card .button-secondary,
.page-card .button-secondary {
  color: var(--night);
  border-color: rgba(255, 247, 232, 0.62);
  background: var(--paper);
}

.pricing-card .button-secondary:hover,
.pricing-card .button-secondary:focus,
.product-card .button-secondary:hover,
.product-card .button-secondary:focus,
.offer-card .button-secondary:hover,
.offer-card .button-secondary:focus,
.service-card .button-secondary:hover,
.service-card .button-secondary:focus,
.page-card .button-secondary:hover,
.page-card .button-secondary:focus {
  background: var(--gold-light);
}

.button-disabled,
.button-disabled:hover,
.button-disabled:focus {
  color: rgba(6, 27, 52, 0.82);
  border-color: rgba(157, 103, 29, 0.24);
  background: rgba(255, 247, 232, 0.72);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.button-disabled::after {
  content: "";
}

.trust-row {
  width: min(calc(100% - var(--container-gutter)), var(--max));
  margin: -32px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(6, 27, 52, 0.12);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.trust-row span {
  padding: 12px 16px;
  color: var(--gold-light);
  text-align: center;
  border-right: 1px solid rgba(255, 247, 232, 0.14);
  font-weight: 650;
  font-size: 0.88rem;
}

.trust-row span:last-child {
  border-right: 0;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.28);
}

.section.wine-band {
  background:
    linear-gradient(90deg, rgba(107, 35, 61, 0.9), rgba(7, 22, 43, 0.92)),
    var(--deep);
}

.section.wine-band,
.section.wine-band h2,
.section.wine-band h3,
.cta-band,
.cta-band h2,
.cta-band h3,
.site-footer,
.site-footer .footer-title {
  color: var(--paper);
}

.section.wine-band .lead,
.section.wine-band .muted,
.section.wine-band .feature-list li,
.section.wine-band .clean-list li,
.cta-band .lead,
.cta-band .muted,
.cta-band .feature-list li,
.cta-band .clean-list li,
.site-footer .muted,
.site-footer p {
  color: rgba(255, 247, 232, 0.82);
}

.container {
  width: min(calc(100% - var(--container-gutter)), var(--max));
  margin: 0 auto;
}

.section-header {
  display: grid;
  gap: 10px;
  max-width: 700px;
  margin-bottom: 24px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header.center .section-kicker {
  justify-content: center;
}

.section-header.center .section-kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.section h2 {
  font-size: 2.12rem;
}

.section h3 {
  font-size: 1.1rem;
}

.lead {
  color: rgba(7, 22, 43, 0.78);
  font-size: 0.98rem;
}

.muted {
  color: var(--muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 24px;
  align-items: start;
}

.text-stack {
  display: grid;
  gap: 12px;
}

.quote-panel,
.notice-panel,
.contact-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.quote-panel,
.notice-panel,
.contact-panel,
.service-card,
.product-card,
.offer-card,
.feature-card,
.step-card,
.faq-card,
.page-card,
.service-detail,
.social-panel,
.qr-card,
.portal-preview,
.portal-sidebar,
.portal-main,
.payment-panel,
.pricing-card,
.result-card,
.timeline-card {
  color: var(--paper);
}

.quote-panel h2,
.quote-panel h3,
.notice-panel h2,
.notice-panel h3,
.contact-panel h2,
.contact-panel h3,
.service-card h2,
.service-card h3,
.product-card h2,
.product-card h3,
.offer-card h2,
.offer-card h3,
.feature-card h2,
.feature-card h3,
.step-card h2,
.step-card h3,
.faq-card h2,
.faq-card h3,
.page-card h2,
.page-card h3,
.service-detail h2,
.service-detail h3,
.social-panel h2,
.social-panel h3,
.qr-card h2,
.qr-card h3,
.portal-preview h2,
.portal-preview h3,
.portal-sidebar h2,
.portal-sidebar h3,
.portal-main h2,
.portal-main h3,
.payment-panel h2,
.payment-panel h3,
.pricing-card h2,
.pricing-card h3,
.result-card h2,
.result-card h3,
.timeline-card h2,
.timeline-card h3 {
  color: var(--paper);
}

.quote-panel .lead,
.quote-panel .muted,
.notice-panel .lead,
.notice-panel .muted,
.contact-panel .lead,
.contact-panel .muted,
.service-card .lead,
.service-card .muted,
.product-card .lead,
.product-card .muted,
.offer-card .lead,
.offer-card .muted,
.feature-card .lead,
.feature-card .muted,
.step-card .lead,
.step-card .muted,
.faq-card .lead,
.faq-card .muted,
.page-card .lead,
.page-card .muted,
.service-detail .lead,
.service-detail .muted,
.social-panel .lead,
.social-panel .muted,
.qr-card .lead,
.qr-card .muted,
.portal-preview .lead,
.portal-preview .muted,
.portal-sidebar .lead,
.portal-sidebar .muted,
.portal-main .lead,
.portal-main .muted,
.payment-panel .lead,
.payment-panel .muted,
.pricing-card .lead,
.pricing-card .muted,
.result-card .lead,
.result-card .muted,
.timeline-card .lead,
.timeline-card .muted,
.feature-list li,
.clean-list li {
  color: rgba(255, 247, 232, 0.82);
}

.quote-panel strong,
.notice-panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.2;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.product-card,
.feature-card,
.step-card,
.faq-card {
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(6, 27, 52, 0.16);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.service-card {
  display: grid;
  gap: 10px;
}

.product-strip,
.offer-grid {
  display: grid;
  gap: 14px;
}

.product-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.offer-card {
  min-height: 100%;
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(6, 27, 52, 0.16);
  border-radius: var(--radius);
  background: var(--panel);
}

.product-card.featured,
.offer-card.featured {
  border-color: rgba(200, 149, 58, 0.56);
  background:
    linear-gradient(180deg, rgba(200, 149, 58, 0.14), rgba(6, 27, 52, 0.92)),
    var(--panel);
}

.service-card .tag,
.service-detail .tag,
.page-card .tag,
.pricing-card .tag,
.product-card .tag,
.offer-card .tag {
  width: fit-content;
  padding: 4px 8px;
  color: var(--sand);
  border: 1px solid rgba(243, 198, 118, 0.32);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-link {
  width: fit-content;
  color: var(--gold);
  text-decoration: none;
  font-weight: 800;
}

.service-link:hover,
.service-link:focus {
  text-decoration: underline;
  outline: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  counter-reset: steps;
}

.step-card {
  counter-increment: steps;
  position: relative;
  padding-top: 50px;
}

.step-card::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.feature-list,
.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.feature-list li,
.clean-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.service-card .feature-list li,
.service-card .clean-list li,
.product-card .feature-list li,
.product-card .clean-list li,
.offer-card .feature-list li,
.offer-card .clean-list li,
.feature-card .feature-list li,
.feature-card .clean-list li,
.step-card .feature-list li,
.step-card .clean-list li,
.faq-card .feature-list li,
.faq-card .clean-list li,
.page-card .feature-list li,
.page-card .clean-list li,
.service-detail .feature-list li,
.service-detail .clean-list li,
.pricing-card .feature-list li,
.pricing-card .clean-list li,
.notice-panel .feature-list li,
.notice-panel .clean-list li,
.quote-panel .feature-list li,
.quote-panel .clean-list li,
.contact-panel .feature-list li,
.contact-panel .clean-list li,
.portal-preview .feature-list li,
.portal-preview .clean-list li,
.portal-sidebar .feature-list li,
.portal-sidebar .clean-list li,
.payment-panel .feature-list li,
.payment-panel .clean-list li,
.result-card .feature-list li,
.result-card .clean-list li,
.timeline-card .feature-list li,
.timeline-card .clean-list li {
  color: rgba(255, 247, 232, 0.86);
}

.feature-list li::before,
.clean-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-card h3 {
  margin-bottom: 8px;
}

.cta-band {
  padding: 46px 0;
  background:
    linear-gradient(90deg, rgba(7, 22, 43, 0.92), rgba(107, 35, 61, 0.72)),
    var(--deep);
  border-top: 1px solid rgba(200, 149, 58, 0.28);
  border-bottom: 1px solid rgba(200, 149, 58, 0.28);
}

.cta-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.page-hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(circle at 82% 46%, rgba(255, 255, 255, 0.48), transparent 22rem),
    radial-gradient(circle at 16% 12%, rgba(200, 149, 58, 0.16), transparent 22rem),
    linear-gradient(135deg, var(--brand-cream) 0%, var(--brand-cream-mid) 62%, var(--brand-cream-deep) 100%);
  border-bottom: 1px solid rgba(157, 103, 29, 0.16);
}

.page-hero .container {
  max-width: var(--max);
}

.page-hero h1 {
  font-size: 2.7rem;
}

.page-hero p {
  max-width: 660px;
  margin-top: 12px;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.page-card {
  padding: 20px;
  border: 1px solid rgba(6, 27, 52, 0.16);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.page-card h2,
.page-card h3 {
  margin: 8px 0;
}

.service-detail {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(6, 27, 52, 0.16);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.service-detail + .service-detail {
  margin-top: 14px;
}

.service-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.service-actions,
.card-actions {
  display: grid;
  gap: 8px;
  min-width: 170px;
}

.service-detail h2 {
  font-size: 1.7rem;
}

.info-table {
  display: grid;
  gap: 8px;
}

.info-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(243, 198, 118, 0.18);
}

.info-row strong {
  color: var(--gold);
}

.message-box {
  padding: 14px;
  color: var(--sand);
  border: 1px dashed rgba(157, 103, 29, 0.38);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.32);
}

.social-panel,
.qr-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.qr-card {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.qr-card img {
  width: min(100%, 300px);
  border-radius: var(--radius);
  background: #fff;
}

.site-footer {
  padding: 18px 0 12px;
  background: var(--night);
  border-top: 1px solid rgba(200, 149, 58, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(400px, 1fr) minmax(290px, 0.72fr) minmax(300px, 0.72fr);
  gap: 12px 24px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200, 149, 58, 0.1);
}

.footer-brand {
  max-width: 520px;
}

.footer-title {
  margin: 0 0 3px;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  line-height: 1.12;
}

.site-footer .muted {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 247, 232, 0.68);
  font-size: 0.84rem;
  line-height: 1.32;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
  align-content: center;
  padding-top: 0;
}

.footer-links a {
  color: rgba(255, 247, 232, 0.63);
  font-size: 0.84rem;
  line-height: 1.25;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact {
  justify-content: flex-end;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--gold);
  outline: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  color: rgba(255, 247, 232, 0.48);
  font-size: 0.74rem;
  line-height: 1.25;
}

.portal-preview,
.portal-sidebar,
.portal-main,
.payment-panel,
.pricing-card,
.result-card,
.timeline-card {
  border: 1px solid rgba(200, 149, 58, 0.26);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.portal-preview,
.portal-sidebar,
.payment-panel,
.pricing-card,
.result-card,
.timeline-card {
  padding: 20px;
}

.portal-status-list,
.portal-preview {
  display: grid;
  gap: 12px;
}

.portal-status {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.portal-status strong,
.timeline-step strong {
  display: block;
  color: var(--paper);
}

.portal-status p,
.timeline-step p {
  color: rgba(255, 247, 232, 0.78);
  font-size: 0.88rem;
}

.status-dot {
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(200, 149, 58, 0.1);
  box-shadow: 0 0 0 5px rgba(200, 149, 58, 0.09);
}

.status-dot.active {
  background: var(--gold);
}

.portal-layout,
.payment-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.payment-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
}

.portal-main {
  padding: 0;
  overflow: hidden;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid rgba(157, 103, 29, 0.18);
  background: rgba(255, 255, 255, 0.3);
}

.tab-button {
  min-height: 36px;
  padding: 8px 11px;
  color: var(--muted);
  border: 1px solid rgba(157, 103, 29, 0.24);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.tab-button.active,
.tab-button:hover,
.tab-button:focus {
  color: var(--night);
  background: var(--gold);
  outline: none;
}

.tab-panel {
  display: none;
  padding: 20px;
}

.tab-panel.active {
  display: block;
}

.form-card {
  display: grid;
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--wine);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 9px 11px;
  color: var(--night);
  border: 1px solid rgba(157, 103, 29, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(243, 198, 118, 0.18);
}

.checkbox-line {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 500;
}

.checkbox-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 5px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compact-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin-bottom: 16px;
}

.result-card {
  margin-top: 16px;
  border-color: rgba(157, 103, 29, 0.42);
}

.result-card h3 {
  margin-bottom: 8px;
}

.protocol-code {
  display: inline-flex;
  margin: 8px 0 10px;
  padding: 7px 10px;
  color: var(--night);
  border-radius: var(--radius);
  background: var(--gold);
  font-weight: 900;
  letter-spacing: 0;
}

.timeline-card {
  display: grid;
  gap: 0;
}

.timeline-step {
  position: relative;
  padding: 13px 0 13px 22px;
  border-bottom: 1px solid rgba(157, 103, 29, 0.18);
}

.timeline-step:last-child {
  border-bottom: 0;
}

.timeline-step::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(200, 149, 58, 0.12);
}

.timeline-step.done::before {
  background: var(--gold);
}

.notice-mini {
  margin-top: 16px;
  padding: 12px;
  border: 1px dashed rgba(157, 103, 29, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.36);
}

.notice-mini strong {
  color: var(--gold);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pricing-card {
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: rgba(200, 149, 58, 0.62);
  background:
    linear-gradient(180deg, rgba(200, 149, 58, 0.18), rgba(6, 27, 52, 0.96)),
    var(--panel);
  box-shadow: 0 16px 38px rgba(6, 27, 52, 0.2);
}

[data-package].selected {
  border-color: rgba(200, 149, 58, 0.72);
  background:
    linear-gradient(180deg, rgba(200, 149, 58, 0.2), rgba(6, 27, 52, 0.96)),
    var(--panel);
}

.price-label {
  color: var(--gold);
  font-weight: 900;
}

.service-detail .price-label,
.pricing-card .price-label,
.product-card .price-label,
.offer-card .price-label {
  color: var(--gold-light);
}

.service-detail .button-disabled,
.pricing-card .button-disabled,
.product-card .button-disabled,
.offer-card .button-disabled {
  color: var(--night);
  border-color: rgba(255, 247, 232, 0.54);
  background: rgba(255, 247, 232, 0.88);
}

.payment-warning {
  border-color: rgba(243, 198, 118, 0.48);
}

.summary-panel {
  position: sticky;
  top: 98px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9;
  padding: 10px 14px;
  color: var(--night);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 12px 28px rgba(86, 63, 22, 0.2);
  text-decoration: none;
  font-weight: 900;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus {
  background: var(--gold-light);
  outline: none;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 62px 0 0 0;
    z-index: 20;
    height: calc(100vh - 62px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 14px;
    background: rgba(255, 247, 232, 0.97);
    border-bottom: 1px solid var(--line);
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 11px 14px;
  }

  .nav-links .nav-cta {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
    background-position: center, right 24px top 42px, center;
    background-size: auto, 220px, auto;
  }

  .hero-inner {
    padding: 54px 0 66px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-brand-figure {
    justify-self: start;
    width: min(100%, 320px);
  }

  h1 {
    font-size: 2.55rem;
  }

  .section h2 {
    font-size: 1.9rem;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .service-detail h2 {
    font-size: 1.55rem;
  }

  .trust-row,
  .card-grid,
  .product-strip,
  .offer-grid,
  .offer-grid.compact,
  .pricing-grid,
  .steps,
  .page-grid,
  .grid-2,
  .portal-layout,
  .payment-layout,
  .footer-grid,
  .cta-content {
    grid-template-columns: 1fr;
  }

  .summary-panel {
    position: static;
  }

  .trust-row span {
    border-right: 0;
    border-bottom: 1px solid rgba(243, 198, 118, 0.18);
    padding: 10px 12px;
  }

  .trust-row span:last-child {
    border-bottom: 0;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .container,
  .hero-inner,
  .trust-row {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .brand-note {
    display: none;
  }

  .brand {
    min-width: auto;
    max-width: calc(100% - 58px);
  }

  .nav-toggle {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: static;
    margin-left: auto;
    flex: 0 0 40px;
    z-index: 30;
    border-color: rgba(243, 198, 118, 0.52);
    background: rgba(255, 247, 232, 0.08);
  }

  .nav-toggle span {
    margin: 3px auto;
  }

  h1 {
    font-size: 1.9rem;
    line-height: 1.14;
  }

  .mobile-break {
    display: none;
  }

  .hero h1,
  .hero-lead,
  .hero-note,
  .hero .eyebrow {
    width: 100%;
    max-width: 100%;
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .hero-lead,
  .hero-note {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .eyebrow,
  .section-kicker {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    letter-spacing: 0;
  }

  .eyebrow::before,
  .section-kicker::before {
    width: 34px;
    flex: 0 0 34px;
  }

  .section {
    padding: 42px 0;
  }

  .section h2,
  .page-hero h1 {
    font-size: 1.56rem;
  }

  .hero {
    background-position: center, right -42px top 24px, center;
    background-size: auto, 190px, auto;
  }

  .hero-brand-figure {
    justify-self: center;
    width: min(100%, 290px);
  }

  .hero-actions,
  .section-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .form-grid,
  .compact-form {
    grid-template-columns: 1fr;
  }

  .tab-panel {
    padding: 16px;
  }

  .page-hero {
    padding: 46px 0 34px;
    background-position: center;
  }

  .page-hero p,
  .page-hero h1,
  .page-card,
  .portal-preview,
  .portal-sidebar,
  .payment-panel,
  .pricing-card,
  .result-card,
  .timeline-card,
  .form-card {
    overflow-wrap: anywhere;
  }

  .portal-preview,
  .portal-sidebar,
  .payment-panel,
  .pricing-card,
  .result-card,
  .timeline-card {
    padding: 16px;
  }

  .floating-whatsapp {
    position: static;
    width: calc(100% - 24px);
    margin: 18px 12px 0;
    max-width: none;
    padding: 9px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .service-detail-header {
    display: grid;
  }

  .service-actions,
  .card-actions {
    width: 100%;
  }

  .site-footer {
    padding: 16px 0 12px;
  }

  .footer-grid {
    gap: 10px;
    align-items: start;
    padding-bottom: 11px;
  }

  .footer-brand,
  .site-footer .muted {
    max-width: none;
  }

  .footer-links {
    gap: 5px 13px;
    padding-top: 0;
  }

  .footer-contact {
    justify-content: flex-start;
  }

  .footer-bottom {
    display: grid;
    gap: 3px;
    padding-top: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Calibração responsiva exclusiva da página inicial. */
.home-page .hero h1 {
  font-size: clamp(2.45rem, 1.9rem + 1.75vw, 3.35rem);
  line-height: 1.06;
}

@media screen and (min-width: 1366px) and (max-height: 1000px) {
  .home-page .hero-inner {
    padding-top: clamp(26px, 3.4vh, 36px);
    padding-bottom: clamp(40px, 4.5vh, 50px);
    gap: clamp(30px, 3.2vw, 54px);
  }

  .home-page .hero h1 {
    font-size: clamp(2.55rem, 2.55vw, 3.1rem);
  }

  .home-page .section {
    padding: 48px 0;
  }

  .home-page .section h2 {
    font-size: 1.95rem;
  }
}

@media screen and (min-width: 641px) and (max-width: 980px) {
  .home-page .hero-inner {
    padding: 46px 0 56px;
  }

  .home-page .hero h1 {
    font-size: clamp(2.2rem, 5vw, 2.65rem);
  }
}

@media screen and (max-width: 640px) {
  .home-page .hero-inner {
    padding: 38px 0 46px;
    gap: 18px;
  }

  .home-page .hero h1 {
    font-size: clamp(1.82rem, 8.4vw, 2.2rem);
    line-height: 1.1;
  }

  .home-page .hero-lead {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .home-page .hero-actions {
    margin-top: 18px;
  }

  .home-page .section {
    padding: 38px 0;
  }

  .home-page .section h2 {
    font-size: clamp(1.46rem, 6.8vw, 1.72rem);
  }
}
