:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-strong: #ffffff;
  --color-text: #0f172a;
  --color-muted: #475569;
  --color-border: #e2e8f0;
  --color-dark: #0b1220;
  --color-dark-soft: #111827;
  --color-blue: #2563eb;
  --color-blue-dark: #1d4ed8;
  --color-blue-soft: #eff6ff;
  --color-orange: #f97316;
  --color-orange-dark: #ea580c;
  --color-orange-soft: #fff7ed;
  --color-whatsapp: #16a34a;
  --color-whatsapp-dark: #128c4a;
  --color-neutral-button: #ffffff;
  --color-neutral-button-hover: #f8fafc;
  --color-notice-bg: #fff7ed;
  --color-notice-border: #fed7aa;
  --shadow-card: 0 22px 60px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --radius-lg: 30px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.1), transparent 32rem),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.055), transparent 30rem),
    var(--color-bg);
  color: var(--color-text);
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

a {
  color: var(--color-blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.42);
  outline-offset: 3px;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: min(180px, 44vw);
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.site-nav a,
.footer-links a {
  border-radius: 999px;
  color: var(--color-text);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 8px 12px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  background: var(--color-blue-soft);
  color: var(--color-blue-dark);
}

.header-cta {
  flex: 0 0 auto;
  background: var(--color-orange);
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.2);
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--color-orange-dark);
  box-shadow: 0 18px 38px rgba(249, 115, 22, 0.26);
}

.page {
  padding: 38px 0 64px;
}

.notice {
  background: var(--color-notice-bg);
  border: 1px solid var(--color-notice-border);
  border-radius: 999px;
  color: #9a3412;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 32px;
  padding: 10px 16px;
}

.home-hero {
  padding: clamp(48px, 8vw, 96px) 0 34px;
}

.hero-layout,
.hero,
.split {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
}

.hero-copy {
  max-width: 710px;
}

.hero-copy h1,
.hero h1,
.split h1,
.centered-card h1 {
  color: var(--color-text);
  font-size: clamp(2.35rem, 6vw, 5.5rem);
  letter-spacing: -0.065em;
  line-height: 0.96;
  margin: 0 0 22px;
}

.split h1,
.centered-card h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.hero-lede {
  color: var(--color-muted);
  font-size: clamp(1.06rem, 2vw, 1.22rem);
  margin: 0;
  max-width: 66ch;
}

.eyebrow {
  color: var(--color-blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin: 0 0 13px;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  align-items: center;
  background: var(--color-blue);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--color-blue-dark);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.28);
  transform: translateY(-1px);
}

.button-secondary {
  background: var(--color-neutral-button);
  border-color: var(--color-border);
  box-shadow: none;
  color: var(--color-text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--color-neutral-button-hover);
  border-color: #bfdbfe;
  color: var(--color-blue-dark);
  box-shadow: var(--shadow-soft);
}

.button-large {
  min-height: 52px;
  padding: 14px 24px;
}

.trust-line {
  color: #334155;
  font-size: 0.96rem;
  font-weight: 800;
  margin: 20px 0 0;
}

.hero-visual-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94)),
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.12), transparent 18rem),
    radial-gradient(circle at 92% 88%, rgba(249, 115, 22, 0.13), transparent 18rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  padding: 14px;
}

.hero-image,
.panel-image,
.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.hero-visual-card .hero-image {
  background: var(--color-surface);
  box-shadow: none;
  width: 100%;
}

.hero-stat-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  padding: 14px 4px 2px;
}

.hero-stat-row span {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-blue-dark);
  font-size: 0.8rem;
  font-weight: 900;
  padding: 8px 10px;
  text-align: center;
}

.hero-stat-row span:nth-child(2) {
  background: var(--color-orange-soft);
  border-color: #fed7aa;
  color: var(--color-orange-dark);
}

.offer-strip {
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.28), transparent 21rem),
    linear-gradient(135deg, var(--color-dark), var(--color-dark-soft));
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  color: #f8fafc;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.75fr);
  margin-top: 10px;
  padding: clamp(24px, 4vw, 38px);
}

.offer-strip .eyebrow {
  color: #fb923c;
}

.offer-strip h2,
.offer-strip p {
  margin: 0;
}

.offer-strip h2 {
  color: #ffffff;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.offer-strip p {
  color: #cbd5e1;
  font-size: 1.02rem;
}

.section {
  padding: clamp(58px, 8vw, 96px) 0;
}

.section-dark {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.2), transparent 27rem),
    radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.18), transparent 25rem),
    var(--color-dark);
  border-block: 1px solid rgba(148, 163, 184, 0.18);
  color: #e5e7eb;
}

.section-muted {
  background: var(--color-bg-soft);
  border-block: 1px solid var(--color-border);
}

.section-heading {
  margin-bottom: clamp(26px, 4vw, 40px);
  max-width: 780px;
}

.section-heading h2,
.capability-panel h2,
.privacy-layout h2,
.final-cta h2,
.file-note h2 {
  color: var(--color-text);
  font-size: clamp(2rem, 4vw, 3.45rem);
  letter-spacing: -0.055em;
  line-height: 1;
  margin: 0 0 14px;
}

.section-heading p,
.capability-panel p,
.final-cta p,
.file-note p {
  color: var(--color-muted);
  margin: 0;
}

.section-heading-dark h2 {
  color: #ffffff;
}

.section-heading-dark p {
  color: #cbd5e1;
}

.path-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.path-card {
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.path-card.card-emphasis {
  border-color: rgba(37, 99, 235, 0.26);
  box-shadow: var(--shadow-card);
}

.path-card-media {
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
  padding: 14px;
}

.path-card.card-emphasis .path-card-media {
  background: var(--color-blue-soft);
}

.path-card-media img {
  border-radius: 18px;
  width: 100%;
}

.path-card-body {
  align-content: start;
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 30px);
}

.path-label {
  color: var(--color-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.path-label-orange {
  color: var(--color-orange);
}

.path-card:not(.card-emphasis) {
  border-top: 4px solid var(--color-orange);
}

.path-card h3,
.step-card h3 {
  color: var(--color-text);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.path-card p,
.step-card p {
  color: var(--color-muted);
  margin: 0;
}

.path-card .button {
  justify-self: start;
  margin-top: 4px;
}

.file-note {
  align-items: center;
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
  border-left: 6px solid var(--color-orange);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr) auto;
  padding: clamp(22px, 4vw, 34px);
}

.file-note h2,
.file-note p {
  margin: 0;
}

.file-note .button {
  white-space: nowrap;
}

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

.step-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.16);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 24px;
}

.step-card h3 {
  color: #ffffff;
}

.step-card p {
  color: #cbd5e1;
}

.step-number {
  color: #fb923c;
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 30px;
}

.use-case-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-case-grid article {
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  color: var(--color-text);
  font-size: 1.04rem;
  font-weight: 900;
  padding: 20px;
}

.use-case-grid article {
  border-top: 4px solid #dbeafe;
}

.capability-panel {
  align-items: center;
  background:
    radial-gradient(circle at 10% 15%, rgba(37, 99, 235, 0.13), transparent 20rem),
    var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.75fr);
  padding: clamp(28px, 5vw, 44px);
}

.capability-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.capability-list li {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-blue);
  border-radius: 16px;
  color: var(--color-text);
  font-weight: 900;
  padding: 12px 16px;
}

.privacy-section {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 26rem),
    var(--color-dark-soft);
  color: #f8fafc;
  padding: clamp(58px, 8vw, 96px) 0;
}

.privacy-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
}

.privacy-layout .eyebrow {
  color: #93c5fd;
}

.privacy-layout h2 {
  color: #ffffff;
}

.privacy-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.privacy-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(226, 232, 240, 0.16);
  border-radius: var(--radius);
  color: #e2e8f0;
  font-weight: 800;
  padding: 20px;
}

.privacy-card-blue {
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(147, 197, 253, 0.34);
  color: #dbeafe;
}

.privacy-card-wide {
  grid-column: 1 / -1;
}

.final-cta {
  background:
    radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.12), transparent 18rem),
    var(--color-surface-strong);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-block: clamp(58px, 8vw, 96px);
  padding: clamp(32px, 6vw, 58px);
  text-align: center;
}

.final-cta p {
  margin-inline: auto;
  max-width: 620px;
}

.final-actions {
  justify-content: center;
}

.upload-hero {
  padding: clamp(48px, 8vw, 88px) 0 36px;
}

.upload-hero-layout {
  align-items: stretch;
  display: grid;
  gap: clamp(24px, 5vw, 52px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
}

.upload-hero-copy {
  align-self: center;
  max-width: 720px;
}

.upload-hero-copy h1 {
  color: var(--color-text);
  font-size: clamp(2.35rem, 6vw, 5.25rem);
  letter-spacing: -0.065em;
  line-height: 0.96;
  margin: 0 0 22px;
}

.local-processing-card {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 18rem),
    var(--color-blue-soft);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 4vw, 34px);
}

.local-processing-card h2 {
  color: var(--color-text);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 18px;
}

.local-processing-card ul {
  color: var(--color-muted);
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.upload-workspace {
  padding: clamp(36px, 7vw, 72px) 0;
}

.upload-grid {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
}

.upload-card,
.estimate-panel,
.continue-panel {
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.upload-card {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 30px);
}

.upload-drop-zone {
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.09), transparent 18rem),
    var(--color-bg-soft);
  border: 2px dashed #93c5fd;
  border-radius: 24px;
  color: var(--color-text);
  display: grid;
  gap: 16px;
  justify-items: center;
  min-height: 300px;
  padding: clamp(22px, 5vw, 38px);
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.upload-drop-zone.is-drag-over {
  background: var(--color-blue-soft);
  border-color: var(--color-blue);
  transform: translateY(-2px);
}

.upload-icon {
  align-items: center;
  background: var(--color-blue);
  border-radius: 22px;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.24);
  color: #ffffff;
  display: inline-flex;
  height: 76px;
  justify-content: center;
  width: 76px;
}

.upload-drop-zone h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0;
}

.upload-drop-zone p {
  color: var(--color-muted);
  margin: 6px 0 0;
}

.native-file-input {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  color: var(--color-muted);
  cursor: pointer;
  max-width: 420px;
}

.format-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.format-chip-row span {
  background: var(--color-blue-soft);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: var(--color-blue-dark);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 7px 11px;
}

.selected-file-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-blue);
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
  padding: 18px;
}

.selected-file-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.selected-file-card dl div {
  display: grid;
  gap: 4px;
  grid-template-columns: 90px minmax(0, 1fr);
}

.selected-file-card dt {
  color: var(--color-muted);
  font-weight: 800;
}

.selected-file-card dd {
  color: var(--color-text);
  font-weight: 800;
  margin: 0;
  overflow-wrap: anywhere;
}

.estimate-panel {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 30px);
  position: sticky;
  top: 112px;
}

.estimate-panel h2,
.continue-panel h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
}

.estimate-panel p,
.continue-panel p {
  color: var(--color-muted);
  margin: 0;
}

.estimate-placeholder {
  display: grid;
  gap: 12px;
}

.estimate-file-summary {
  background: var(--color-blue-soft);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  display: grid;
  gap: 4px;
  padding: 16px;
}

.estimate-file-summary span,
.estimate-file-summary small {
  color: var(--color-muted);
  font-weight: 800;
}

.estimate-file-summary strong {
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.estimate-note {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 12px 14px;
}

.estimate-status {
  color: var(--color-muted);
  font-weight: 800;
}

.estimate-status.is-loading::before {
  animation: pulseDot 900ms ease-in-out infinite;
  background: var(--color-blue);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 9px;
  margin-right: 8px;
  width: 9px;
}

.quote-result-card {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 16rem),
    #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  display: grid;
  gap: 14px;
  padding: 18px;
}

.quote-kicker {
  color: var(--color-blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-price-row {
  display: grid;
  gap: 4px;
}

.quote-price-row strong {
  color: var(--color-text);
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.quote-price-row span {
  color: var(--color-orange-dark);
  font-weight: 900;
}

.quote-result-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.quote-result-card dl div {
  align-items: center;
  border-top: 1px solid var(--color-border);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1fr);
  padding-top: 10px;
}

.quote-result-card dt {
  color: var(--color-muted);
  font-weight: 800;
}

.quote-result-card dd {
  color: var(--color-text);
  font-weight: 900;
  margin: 0;
}

.estimate-breakdown {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 12px 14px;
}

.estimate-breakdown summary {
  color: var(--color-blue-dark);
  cursor: pointer;
  font-weight: 900;
}

.estimate-breakdown dl {
  margin-top: 12px;
}

.warning-card,
.manual-review-card {
  border-radius: var(--radius);
  display: grid;
  gap: 8px;
  padding: 14px 16px;
}

.warning-card {
  background: var(--color-orange-soft);
  border: 1px solid #fed7aa;
  color: #9a3412;
}

.warning-card p,
.manual-review-card p {
  margin: 0;
}

.manual-review-card {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-orange);
  color: var(--color-muted);
}

.manual-review-card strong {
  color: var(--color-text);
}

.button-disabled,
.button-disabled:hover,
.button-disabled:focus-visible {
  background: #dbeafe;
  border-color: #bfdbfe;
  box-shadow: none;
  color: #1e3a8a;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.button:disabled,
.button.is-loading {
  box-shadow: none;
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

.continue-panel {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 22px;
  padding: clamp(22px, 4vw, 30px);
}

.continue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.offer-note {
  color: var(--color-orange-dark) !important;
  font-weight: 900;
  margin-top: 10px !important;
}

.upload-file-note {
  margin-top: clamp(22px, 5vw, 48px);
}

.compact-use-case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkout-hero {
  padding: clamp(48px, 8vw, 88px) 0 36px;
}

.checkout-hero-layout {
  align-items: stretch;
  display: grid;
  gap: clamp(24px, 5vw, 52px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
}

.checkout-hero h1 {
  color: var(--color-text);
  font-size: clamp(2.25rem, 5.7vw, 5rem);
  letter-spacing: -0.065em;
  line-height: 0.98;
  margin: 0 0 22px;
}

.checkout-trust-card,
.checkout-card {
  background: var(--color-surface-strong);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.checkout-trust-card {
  align-self: stretch;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.13), transparent 18rem),
    var(--color-blue-soft);
  border-color: #bfdbfe;
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 34px);
}

.checkout-trust-card h2,
.checkout-card h2 {
  color: var(--color-text);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
}

.checkout-trust-card ul,
.offer-explainer-card ul {
  color: var(--color-muted);
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.checkout-workspace {
  padding: clamp(36px, 7vw, 72px) 0 clamp(58px, 8vw, 96px);
}

.checkout-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
}

.checkout-summary-column {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 112px;
}

.checkout-card {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 30px);
}

.quote-summary-card {
  border-top: 5px solid var(--color-blue);
}

.no-upload-summary-card {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 16rem),
    #ffffff;
  border-left: 5px solid var(--color-blue);
}

.offer-explainer-card {
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 16rem),
    var(--color-orange-soft);
  border-color: #fed7aa;
  border-left: 5px solid var(--color-orange);
}

.offer-explainer-card .eyebrow {
  color: var(--color-orange-dark);
}

.summary-disclaimer,
.checkout-card p {
  color: var(--color-muted);
  margin: 0;
}

.summary-list,
.checkout-breakdown dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.summary-list div,
.checkout-breakdown dl div {
  align-items: center;
  border-top: 1px solid var(--color-border);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(120px, 0.82fr) minmax(0, 1fr);
  padding-top: 10px;
}

.summary-list dt,
.checkout-breakdown dt {
  color: var(--color-muted);
  font-weight: 800;
}

.summary-list dd,
.checkout-breakdown dd {
  color: var(--color-text);
  font-weight: 900;
  margin: 0;
  overflow-wrap: anywhere;
}

.quote-total-box {
  background: var(--color-blue-soft);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  display: grid;
  gap: 4px;
  padding: 18px;
}

.quote-total-box span {
  color: var(--color-blue-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-total-box strong {
  color: var(--color-text);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.quote-total-box small {
  color: var(--color-orange-dark);
  font-weight: 900;
}

.inline-action {
  color: var(--color-blue-dark);
  font-weight: 900;
  justify-self: start;
}

.empty-state {
  display: grid;
  gap: 14px;
}

.checkout-form-card form {
  display: grid;
  gap: 22px;
}

.form-section {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 24px);
}

.form-section h3 {
  color: var(--color-text);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 0;
}

.project-details-section {
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.08), transparent 14rem),
    var(--color-bg-soft);
  border-left: 5px solid var(--color-orange);
}

.form-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.optional-label {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.field-error {
  color: #b91c1c;
  font-size: 0.9rem;
  font-weight: 800;
  margin: -4px 0 2px;
}

[aria-invalid="true"] {
  border-color: #ef4444;
}

.consent-section {
  background: #ffffff;
  border-left: 5px solid var(--color-blue);
}

.consent-note {
  background: var(--color-blue-soft);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  color: var(--color-blue-dark) !important;
  font-weight: 800;
  padding: 12px 14px;
}

.checkout-message {
  border-radius: var(--radius);
  font-weight: 850;
  padding: 14px 16px;
}

.checkout-message-success {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.checkout-message-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.checkout-submit {
  justify-self: start;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.thank-you-main {
  padding: clamp(48px, 8vw, 92px) 0;
}

.thank-you-layout {
  display: grid;
  place-items: center;
}

.thank-you-card {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 20rem),
    #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 22px;
  max-width: 860px;
  padding: clamp(28px, 6vw, 56px);
  text-align: center;
}

.thank-you-card h1 {
  color: var(--color-text);
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
  margin: 0;
}

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

.coupon-card {
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.24), transparent 18rem),
    var(--color-orange-soft);
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: clamp(20px, 4vw, 30px);
}

.coupon-card span {
  color: var(--color-orange-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coupon-card strong {
  color: var(--color-text);
  font-size: clamp(2rem, 7vw, 4rem);
  letter-spacing: 0.04em;
  line-height: 1;
}

.coupon-card small {
  color: #9a3412;
  font-weight: 900;
}

.thank-you-note-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

.thank-you-note-grid article {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 18px;
}

.thank-you-note-grid strong {
  color: var(--color-text);
  display: block;
  margin-bottom: 6px;
}

.thank-you-card .actions {
  justify-content: center;
  margin-top: 0;
}

.thank-you-fallback {
  border-top: 5px solid var(--color-orange);
}

.contact-hero {
  padding: clamp(48px, 8vw, 88px) 0 36px;
}

.contact-hero-layout {
  align-items: stretch;
  display: grid;
  gap: clamp(24px, 5vw, 52px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
}

.contact-hero-copy {
  align-self: center;
  max-width: 720px;
}

.contact-hero h1 {
  color: var(--color-text);
  font-size: clamp(2.35rem, 6vw, 5.25rem);
  letter-spacing: -0.065em;
  line-height: 0.96;
  margin: 0 0 22px;
}

.contact-note-card {
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.16), transparent 18rem),
    var(--color-orange-soft);
  border: 1px solid #fed7aa;
  border-left: 5px solid var(--color-orange);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 34px);
}

.contact-note-card .eyebrow {
  color: var(--color-orange-dark);
}

.contact-note-card h2 {
  color: var(--color-text);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
}

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

.contact-note-card .actions {
  margin-top: 4px;
}

.contact-section {
  padding: clamp(36px, 7vw, 82px) 0 clamp(58px, 8vw, 96px);
}

.contact-card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 30px);
}

.contact-card-whatsapp {
  border-top: 5px solid var(--color-whatsapp);
}

.contact-card h3 {
  color: var(--color-text);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

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

.contact-card .button {
  justify-self: start;
  margin-top: 6px;
}

.contact-icon {
  align-items: center;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 18px;
  color: var(--color-whatsapp-dark);
  display: inline-flex;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.contact-icon img {
  height: 34px;
  width: 34px;
}

.contact-icon-blue {
  background: var(--color-blue-soft);
  border-color: #bfdbfe;
  color: var(--color-blue-dark);
}

.contact-icon-orange {
  background: var(--color-orange-soft);
  border-color: #fed7aa;
  color: var(--color-orange-dark);
}

.contact-button-whatsapp,
.contact-button-whatsapp:hover,
.contact-button-whatsapp:focus-visible {
  background: var(--color-whatsapp);
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.2);
}

.contact-button-whatsapp:hover,
.contact-button-whatsapp:focus-visible {
  background: var(--color-whatsapp-dark);
  box-shadow: 0 18px 38px rgba(22, 163, 74, 0.26);
}

.floating-whatsapp {
  align-items: center;
  background: #ffffff;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
  color: #14532d;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 900;
  gap: 8px;
  min-height: 50px;
  padding: 9px 14px 9px 10px;
  position: fixed;
  right: calc(22px + env(safe-area-inset-right));
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  z-index: 30;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  border-color: var(--color-whatsapp);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.24);
  color: #14532d;
  transform: translateY(-2px);
}

.floating-whatsapp img {
  height: 28px;
  width: 28px;
}

.is-hidden {
  display: none !important;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.card {
  background: var(--color-surface);
  padding: 24px;
}

.card h2 {
  font-size: 1.25rem;
  margin: 0 0 10px;
}

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

.form-card {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.placeholder-section {
  background: var(--color-bg-soft);
  border: 1px dashed var(--color-border);
  border-radius: 14px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.placeholder-section h2 {
  font-size: 1.1rem;
  margin: 0;
}

.placeholder-section p {
  color: var(--color-muted);
  margin: 0 0 4px;
}

label {
  font-size: 0.95rem;
  font-weight: 900;
}

input,
select,
textarea {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-text);
  font: inherit;
  padding: 12px 14px;
  width: 100%;
}

input:disabled,
select:disabled {
  background: #f1f5f9;
  color: var(--color-muted);
}

.checkbox-label {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.checkbox-label input {
  margin-top: 6px;
  width: auto;
}

.helper-text {
  color: var(--color-muted);
  font-size: 0.92rem;
  margin: -4px 0 6px;
}

.centered-card {
  max-width: 720px;
  text-align: center;
}

.centered-card .button {
  margin-top: 24px;
}

.site-footer {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  padding: 28px 0;
}

.footer-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner strong {
  color: var(--color-text);
  display: block;
  font-size: 1.05rem;
}

.footer-inner p {
  margin: 4px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 980px) {
  .header-inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-nav {
    justify-content: flex-start;
    order: 3;
    width: 100%;
  }

  .hero-layout,
  .hero,
  .split,
  .upload-hero-layout,
  .upload-grid,
  .checkout-hero-layout,
  .checkout-layout,
  .contact-hero-layout,
  .offer-strip,
  .file-note,
  .continue-panel,
  .capability-panel,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .step-grid,
  .use-case-grid,
  .contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .file-note .button {
    justify-self: start;
  }

  .estimate-panel {
    position: static;
  }

  .checkout-summary-column {
    position: static;
  }

  .continue-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, var(--max-width));
  }

  .home-hero {
    padding-top: 34px;
  }

  .hero-copy h1,
  .hero h1,
  .split h1,
  .centered-card h1 {
    letter-spacing: -0.045em;
  }

  .header-cta,
  .button,
  .button-large,
  .file-note .button,
  .continue-actions {
    width: 100%;
  }

  .actions,
  .final-actions {
    width: 100%;
  }

  .hero-stat-row,
  .path-grid,
  .step-grid,
  .use-case-grid,
  .compact-use-case-grid,
  .contact-card-grid,
  .thank-you-note-grid,
  .privacy-grid,
  .grid {
    grid-template-columns: 1fr;
  }

  .upload-drop-zone {
    min-height: 240px;
  }

  .selected-file-card dl div {
    grid-template-columns: 1fr;
  }

  .quote-result-card dl div,
  .summary-list div,
  .checkout-breakdown dl div,
  .form-row {
    grid-template-columns: 1fr;
  }

  .privacy-card-wide {
    grid-column: auto;
  }

  .notice,
  .capability-list li {
    border-radius: 16px;
  }

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

  .floating-whatsapp {
    bottom: calc(76px + env(safe-area-inset-bottom));
    min-height: 52px;
    padding: 0;
    right: calc(14px + env(safe-area-inset-right));
    width: 52px;
    justify-content: center;
  }

  .floating-whatsapp span {
    display: none;
  }
}
