:root {
  --bg: #061821;
  --bg-2: #0b2733;
  --panel: rgba(11, 38, 51, 0.88);
  --panel-soft: rgba(18, 53, 68, 0.76);
  --panel-strong: rgba(7, 27, 39, 0.94);
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #eaf7fd;
  --muted: #9ec0d0;
  --brand: #28d8b2;
  --brand-2: #9ff2dd;
  --accent: #ffd36b;
  --danger: #ff7f90;
  --ok: #83f2c6;
  --whatsapp: #25d366;
  --viber: #7360f2;
  --instagram: #e4405f;
  --facebook: #1877f2;
  --radius: 18px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px rgba(0, 8, 14, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, #12425a 0%, transparent 36%),
    radial-gradient(circle at 100% 0%, #113e33 0%, transparent 32%),
    linear-gradient(180deg, #031019 0%, #071e2a 100%);
}

body.contact-chooser-open,
body.photo-reminder-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(1, 9, 13, 0.18) 100%);
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.15) 0.6px, transparent 0.6px),
    radial-gradient(rgba(255, 255, 255, 0.12) 0.6px, transparent 0.6px);
  background-size: 22px 22px, 34px 34px;
  background-position: 0 0, 12px 8px;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea,
a {
  font: inherit;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 90px 0;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.76rem;
  color: var(--brand);
  font-weight: 700;
}

.topbar {
  position: relative;
  z-index: 55;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(1, 10, 15, 0.42);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar-home .topbar-inner {
  justify-content: center;
}

.topbar p,
.topbar a {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.topbar a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.topbar-home p {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.site-header.scrolled {
  border-color: var(--line-soft);
  background: rgba(3, 16, 25, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 38px rgba(0, 8, 14, 0.22);
}

.nav-wrap {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

h1,
h2,
h3,
h4,
.brand {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

.brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  position: relative;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  isolation: isolate;
}

.site-header .brand-mark {
  width: 64px;
  height: 64px;
}

.site-header .brand-mark::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.46) 28%, rgba(216, 247, 239, 0.24) 56%, rgba(255, 255, 255, 0.1) 80%, rgba(255, 255, 255, 0) 100%);
  box-shadow: 0 18px 38px rgba(0, 8, 14, 0.26), 0 0 0 1px rgba(255, 255, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 36px rgba(159, 242, 221, 0.18);
  z-index: 0;
}

.site-header .brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: rgba(248, 252, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  z-index: 0;
}

.brand-mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 16px rgba(0, 8, 14, 0.18));
}

.site-header .brand-mark img {
  transform: scale(1.03);
  filter: brightness(1.05) contrast(1.04) saturate(1.06) drop-shadow(0 10px 16px rgba(0, 8, 14, 0.24));
}

.brand-wordmark {
  display: inline-block;
  color: #f5fbff;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 0.96;
  padding-bottom: 2px;
}

.brand-footer {
  margin-bottom: 10px;
  gap: 12px;
}

.brand-footer .brand-mark {
  width: 50px;
  height: 50px;
}

.brand-footer .brand-wordmark {
  font-size: 1.24rem;
}


.main-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 24px;
}

.main-nav a,
.mobile-nav a,
.footer-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  transition: color 180ms ease;
}

.main-nav a:hover,
.mobile-nav a:hover,
.footer-link:hover,
.main-nav a:focus-visible,
.mobile-nav a:focus-visible,
.footer-link:focus-visible {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #04201c;
  transition: transform 180ms ease, filter 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.btn:focus-visible,
.menu-btn:focus-visible,
.scroll-top:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.faq-item button:focus-visible,
.upload-remove:focus-visible,
.social-link:focus-visible,
.contact-option:focus-visible,
.contact-chooser-close:focus-visible,
.photo-reminder-close:focus-visible {
  outline: 2px solid rgba(159, 242, 221, 0.9);
  outline-offset: 2px;
}

.btn-sm {
  padding: 10px 15px;
  font-size: 0.92rem;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.menu-btn,
.mobile-nav {
  display: none;
}

.hero {
  padding-top: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: start;
}

.hero-copy {
  display: grid;
  align-content: start;
}

.hero-copy h1 {
  margin-top: 10px;
  font-size: clamp(2.3rem, 5.1vw, 4.3rem);
  line-height: 1.02;
  max-width: 12ch;
}

.lead {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 58ch;
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-points article,
.trust-strip article,
.category-card,
.process-step,
.benefit,
.contact-panel,
.success-card,
.quick-estimator,
.offer-form,
.legal-copy article,
.legal-intro {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(17, 58, 77, 0.86) 0%, rgba(7, 27, 39, 0.92) 100%);
  box-shadow: var(--shadow);
}

.hero-points article {
  padding: 16px;
  border-radius: 14px;
}

.hero-points strong {
  display: block;
  font-size: 1.04rem;
}

.hero-points span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.quick-estimator {
  padding: 26px;
}

.estimator-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 211, 107, 0.14);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quick-estimator h2 {
  margin-top: 16px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.quick-estimator p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

#mini-estimator {
  margin-top: 18px;
  display: grid;
  gap: 11px;
}

label,
.field {
  display: grid;
  gap: 8px;
}

.field > span,
label > span {
  font-weight: 700;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(9, 31, 44, 0.86);
  color: var(--text);
  padding: 12px 14px;
}

textarea {
  resize: vertical;
  min-height: 148px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(159, 242, 221, 0.7);
  box-shadow: 0 0 0 4px rgba(40, 216, 178, 0.12);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: rgba(255, 127, 144, 0.88);
  box-shadow: 0 0 0 4px rgba(255, 127, 144, 0.1);
}

.field-error {
  min-height: 18px;
  color: var(--danger);
  font-size: 0.84rem;
  line-height: 1.35;
}

.mini-result {
  min-height: 48px;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 800;
  line-height: 1.5;
}

.estimator-continue {
  margin-top: 4px;
  width: 100%;
}

.trust-strip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-strip article {
  padding: 18px;
  border-radius: 16px;
}

.trust-strip strong {
  display: block;
  font-size: 1rem;
}

.trust-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.section-head {
  display: grid;
  gap: 10px;
}

.section-head h2 {
  max-width: 19ch;
}

.section-head > p:last-child {
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.65;
}

.category-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.category-card {
  width: 100%;
  min-width: 0;
  overflow: clip;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  background: rgba(10, 34, 47, 0.84);
}

.category-card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: rgba(6, 24, 35, 0.92);
  border-bottom: 1px solid rgba(159, 242, 221, 0.08);
}

.category-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.category-card-body {
  padding: 14px 16px 16px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.category-card h3 {
  font-size: 1.02rem;
}

.category-card p {
  overflow-wrap: anywhere;
}

.category-card p,
.process-step p,
.benefits-copy p,
.benefit p,
.contact-copy p,
.contact-panel p,
.form-section-head p,
.legal-copy p,
.legal-intro p {
  color: var(--muted);
  line-height: 1.62;
}

.process {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(9, 29, 40, 0.2) 0%, rgba(5, 18, 26, 0.45) 100%);
}

.process-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  padding: 18px;
  display: grid;
  gap: 9px;
  border-radius: 16px;
}

.process-step span {
  color: var(--brand);
  font-weight: 800;
}

.benefits-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr;
}

.benefits-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.benefit-list {
  display: grid;
  gap: 12px;
}

.benefit {
  padding: 18px;
  border-radius: 16px;
}

.benefit p {
  margin-top: 8px;
}

.faq-list {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(12, 35, 49, 0.75);
}

.faq-item button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 18px;
  cursor: pointer;
  font-weight: 800;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.faq-content p {
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.58;
}

.faq-item.open {
  border-color: rgba(40, 216, 178, 0.42);
}

.contact {
  padding-bottom: 120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
}

.contact-copy {
  display: grid;
  align-content: start;
  gap: 15px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.social-links > span {
  color: var(--muted);
  font-weight: 700;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(9, 31, 44, 0.56);
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(159, 242, 221, 0.35);
  background: rgba(10, 38, 53, 0.78);
}

.social-link-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: currentColor;
}

.social-link-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.social-link-icon-instagram {
  color: var(--instagram);
}

.social-link-icon-facebook {
  color: var(--facebook);
}

.contact-trigger {
  gap: 10px;
}

.contact-trigger-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-trigger-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: currentColor;
}

.contact-trigger-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.contact-trigger-icon-whatsapp {
  color: var(--whatsapp);
}

.contact-trigger-icon-viber {
  color: var(--viber);
}

.contact-chooser {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
}

.contact-chooser-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 11, 17, 0.74);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.contact-chooser-panel {
  position: relative;
  z-index: 1;
  width: min(380px, calc(100vw - 32px));
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(159, 242, 221, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(40, 216, 178, 0.14) 0%, transparent 42%),
    linear-gradient(180deg, rgba(7, 27, 39, 0.98) 0%, rgba(5, 22, 31, 0.98) 100%);
  box-shadow: 0 28px 70px rgba(0, 8, 14, 0.42);
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.contact-chooser.is-open .contact-chooser-backdrop {
  opacity: 1;
}

.contact-chooser.is-open .contact-chooser-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-chooser-panel h3,
#contact-chooser-copy {
  margin: 0;
}

.contact-chooser-panel h3 {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
}

#contact-chooser-copy {
  color: var(--muted);
  line-height: 1.6;
}

.contact-chooser-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 31, 44, 0.7);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-chooser-close:hover {
  transform: translateY(-1px);
  border-color: rgba(159, 242, 221, 0.35);
  background: rgba(10, 38, 53, 0.9);
}

.contact-chooser-actions {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.contact-option {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(9, 31, 44, 0.6);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.contact-option:hover {
  transform: translateY(-1px);
  border-color: rgba(159, 242, 221, 0.3);
  background: rgba(10, 38, 53, 0.84);
}

.contact-option-whatsapp .contact-option-icon {
  color: var(--whatsapp);
}

.contact-option-viber .contact-option-icon {
  color: var(--viber);
}

.contact-option-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.contact-option-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.photo-reminder {
  position: fixed;
  inset: 0;
  z-index: 82;
  display: grid;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
}

.photo-reminder-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 11, 17, 0.74);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.photo-reminder-panel {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 32px));
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(159, 242, 221, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(40, 216, 178, 0.14) 0%, transparent 42%),
    linear-gradient(180deg, rgba(7, 27, 39, 0.98) 0%, rgba(5, 22, 31, 0.98) 100%);
  box-shadow: 0 28px 70px rgba(0, 8, 14, 0.42);
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.photo-reminder.is-open .photo-reminder-backdrop {
  opacity: 1;
}

.photo-reminder.is-open .photo-reminder-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.photo-reminder-panel h3,
#photo-reminder-copy,
#photo-reminder-note {
  margin: 0;
}

.photo-reminder-panel h3 {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
}

#photo-reminder-copy {
  color: var(--muted);
  line-height: 1.6;
}

.photo-reminder-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 31, 44, 0.7);
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.photo-reminder-close:hover {
  transform: translateY(-1px);
  border-color: rgba(159, 242, 221, 0.35);
  background: rgba(10, 38, 53, 0.9);
}

.photo-reminder-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.contact-panel {
  padding: 18px;
  display: grid;
  gap: 8px;
  border-radius: 16px;
}

.offer-form {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}

.form-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.form-step-chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.form-step-chip.active {
  color: #04201c;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  border-color: transparent;
}

.form-progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.form-progress-bar {
  display: block;
  height: 100%;
  width: 50%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  transition: width 220ms ease;
}

.form-section {
  display: grid;
  gap: 18px;
}

.form-section-head {
  display: grid;
  gap: 8px;
}

.form-section-head h4,
.success-card h4 {
  font-size: 1.22rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field-full {
  grid-column: 1 / -1;
}

.upload-meta {
  display: grid;
  gap: 14px;
}

.upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.upload-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(9, 31, 44, 0.82);
}

.upload-thumb,
.upload-fallback {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-fallback {
  padding: 14px;
  color: var(--muted);
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.4;
}

.upload-info {
  padding: 10px 12px 12px;
  display: grid;
  gap: 6px;
}

.upload-name {
  font-size: 0.84rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-size {
  color: var(--muted);
  font-size: 0.78rem;
}

.upload-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(6, 24, 33, 0.86);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
}

.check input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

.check span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.93rem;
}

.check a {
  color: var(--brand-2);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.small-note {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.form-navigation .btn:last-child,
.form-navigation .btn:nth-child(2) {
  margin-left: auto;
}

.form-status {
  min-height: 22px;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status.ok {
  color: var(--ok);
}

.form-status.err {
  color: var(--danger);
}

.success-card {
  padding: 20px;
  display: grid;
  gap: 10px;
  border-color: rgba(131, 242, 198, 0.32);
}

.success-id {
  color: var(--brand-2);
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: rgba(1, 10, 15, 0.86);
  padding: 22px 0;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
}

.site-footer p {
  color: var(--muted);
}

.site-footer .brand-wordmark {
  color: #f4fbff;
}

.footer-link {
  justify-self: center;
}


.copy {
  justify-self: end;
}

.mobile-cta-bar {
  display: none;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 58;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(3, 16, 25, 0.88);
  color: var(--text);
  box-shadow: 0 16px 30px rgba(0, 8, 14, 0.28);
  backdrop-filter: blur(14px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease, background 180ms ease, border-color 180ms ease;
}

.scroll-top span {
  font-size: 1.32rem;
  line-height: 1;
}

.scroll-top:hover {
  transform: translateY(-2px);
  background: rgba(9, 31, 44, 0.96);
  border-color: rgba(159, 242, 221, 0.3);
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.legal-main {
  min-height: 100vh;
}

.legal-shell {
  max-width: 920px;
}

.legal-back {
  margin-top: 6px;
}

.legal-header {
  margin-top: 24px;
}

.legal-intro,
.legal-copy article {
  padding: 20px;
}

.legal-copy {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.legal-copy h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.legal-copy a {
  color: var(--brand-2);
}

.legal-updated {
  margin-top: 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .main-nav,
  .btn-sm {
    display: none;
  }

  .menu-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: transparent;
    cursor: pointer;
  }

  .menu-btn span {
    width: 18px;
    height: 2px;
    background: var(--text);
    display: block;
  }

  .menu-btn {
    justify-self: end;
  }

  .mobile-nav {
    display: grid;
    justify-items: end;
    gap: 12px;
    max-height: 0;
    overflow: hidden;
    text-align: right;
    border-top: 1px solid transparent;
    background: rgba(3, 16, 25, 0.94);
    backdrop-filter: blur(16px);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 34px rgba(0, 8, 14, 0.22);
    transition: max-height 220ms ease, border-color 220ms ease, padding 220ms ease;
    padding: 0 4vw 0;
  }

  .mobile-nav a {
    display: flex;
    justify-content: flex-end;
    width: min(280px, 100%);
    padding: 6px 0;
    text-align: right;
  }

  .mobile-nav.open {
    max-height: 320px;
    border-color: var(--line-soft);
    padding: 12px 4vw 18px;
  }

  .nav-wrap {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .site-header .brand-mark {
    width: 58px;
    height: 58px;
  }

  .brand-wordmark {
    font-size: 1.18rem;
  }

  .hero-grid,
  .benefits-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 260px));
    justify-content: center;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 92px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 38px;
  }

  .topbar-inner {
    min-height: 44px;
    flex-direction: column;
    justify-content: center;
    padding: 6px 0;
    text-align: center;
  }

  .topbar-home .topbar-inner {
    gap: 6px;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .category-grid,
  .hero-points,
  .process-grid,
  .trust-strip,
  .form-grid,
  .upload-preview {
    grid-template-columns: 1fr;
  }

  .form-header,
  .form-navigation,
  .footer-wrap {
    grid-template-columns: 1fr;
    display: grid;
  }

  .form-navigation .btn,
  .form-navigation .btn:last-child,
  .form-navigation .btn:nth-child(2) {
    width: 100%;
    margin-left: 0;
  }

  .form-steps {
    justify-content: start;
  }

  .footer-link,
  .copy {
    justify-self: start;
  }

.mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 4vw calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-soft);
    background: rgba(2, 13, 20, 0.95);
    backdrop-filter: blur(14px);
  }

  .mobile-cta-bar .btn {
    width: 100%;
  }

  .contact-trigger {
    justify-content: center;
  }

  .contact-chooser {
    align-items: end;
    padding: 16px 12px calc(12px + env(safe-area-inset-bottom));
  }

  .contact-chooser-panel {
    width: min(100%, 420px);
    padding: 22px 18px 18px;
    border-radius: 24px 24px 18px 18px;
  }

  .contact-chooser-close {
    top: 12px;
    right: 12px;
  }

  .photo-reminder {
    align-items: end;
    padding: 16px 12px calc(12px + env(safe-area-inset-bottom));
  }

  .photo-reminder-panel {
    width: min(100%, 420px);
    padding: 22px 18px 18px;
    border-radius: 24px 24px 18px 18px;
  }

  .photo-reminder-close {
    top: 12px;
    right: 12px;
  }

  .photo-reminder-actions {
    grid-template-columns: 1fr;
  }

  .scroll-top {
    right: 16px;
    bottom: calc(104px + env(safe-area-inset-bottom));
    z-index: 61;
  }
}
