/* PrintYas — layout aligned to client mockup + UX fixes
   Palette: navy #0A1D37 + gold #C89666 */

:root {
  --py-navy-950: #121820;
  --py-navy-900: #1c2740; /* logo navy */
  --py-navy-800: #243352;
  --py-gold: #bb924d; /* logo gold */
  --py-gold-hover: #a67f3f;
  --py-gold-soft: rgba(187, 146, 77, 0.2);
  --py-orange: var(--py-gold);
  --py-orange-hover: var(--py-gold-hover);
  --py-orange-soft: var(--py-gold-soft);
  --py-white: #ffffff;
  --py-cream: #f7f5f2;
  --py-muted: #5c6b7a;
  --py-muted-strong: #3d4a5c;
  --py-body: #2c3642;
  --py-surface: #f4f6f8;
  --py-border: #e4e8ee;
  --py-radius: 16px;
  --py-radius-sm: 10px;
  --py-shadow: 0 18px 40px rgba(10, 29, 55, 0.1);
  --font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --container: min(1180px, calc(100% - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--py-body);
  background: var(--py-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--py-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--py-navy-900);
  flex: none;
}

.brand__mark {
  width: 46px;
  height: 46px;
  flex: none;
  object-fit: contain;
}

.brand__type {
  height: 42px;
  width: auto;
  max-width: min(168px, 42vw);
  object-fit: contain;
  display: block;
}

/* Footer is dark — wordmark is navy; lift to light without killing gold mark */
.brand--on-dark .brand__type {
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--py-muted-strong);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.2rem 0;
  position: relative;
}

.nav a:hover,
.nav a.is-active {
  color: var(--py-navy-900);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -0.4rem;
  height: 2px;
  background: var(--py-gold);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* ——— Account / login popover ——— */
.account-menu {
  position: relative;
}

.account-menu__btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--py-border);
  background: var(--py-white);
  color: var(--py-navy-900);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

.account-menu__btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.account-menu__btn.has-initials {
  background: var(--py-navy-900);
  border-color: var(--py-navy-900);
  color: #f3e6d4;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.account-menu__btn.has-avatar {
  border-color: rgba(187, 146, 77, 0.45);
}

.account-menu__initials {
  line-height: 1;
}

.account-menu__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.account-menu__btn:hover,
.account-menu.is-open .account-menu__btn {
  border-color: rgba(187, 146, 77, 0.55);
  color: var(--py-gold);
}

.account-menu__btn.has-initials:hover,
.account-menu.is-open .account-menu__btn.has-initials {
  color: #fff;
  border-color: var(--py-gold);
}

.profile-avatar-field {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.profile-avatar-preview {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 999px;
  overflow: hidden;
  background: var(--py-navy-900);
  color: #f3e6d4;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
  border: 1px solid rgba(28, 39, 64, 0.1);
}

.profile-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-menu__panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  right: auto;
  width: min(17.5rem, calc(100vw - 1.5rem));
  background: var(--py-white);
  border: 1px solid var(--py-border);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(28, 39, 64, 0.14);
  padding: 0.9rem;
  z-index: 60;
}

.account-menu__form {
  display: grid;
  gap: 0.55rem;
}

.account-menu__form input {
  width: 100%;
  border: 1px solid var(--py-border);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  background: #fff;
  color: var(--py-navy-900);
  font-size: 0.88rem;
}

.account-menu__form input:focus {
  outline: none;
  border-color: var(--py-gold);
  box-shadow: 0 0 0 2px var(--py-gold-soft);
}

.account-menu__register {
  display: block;
  margin-top: 0.75rem;
  text-align: center;
  color: var(--py-navy-900);
  font-weight: 700;
  font-size: 0.88rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--py-border);
}

.account-menu__register:hover {
  color: var(--py-gold);
}

.account-menu__hello {
  margin: 0 0 0.75rem;
  color: var(--py-muted-strong);
  font-size: 0.9rem;
}

.account-menu__status {
  margin: 0;
  font-size: 0.8rem;
  color: #b91c1c;
  line-height: 1.55;
}

.account-menu__status.is-err {
  color: #b91c1c;
}

.account-menu__forgot {
  display: block;
  text-align: center;
  margin-top: 0.15rem;
  color: var(--py-muted-strong);
  font-size: 0.82rem;
  font-weight: 600;
}

.account-menu__forgot:hover,
.account-menu__forgot-inline {
  color: var(--py-gold-hover);
}

.account-menu__forgot-inline {
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}

input.is-locked {
  background: rgba(28, 39, 64, 0.06);
  cursor: default;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--orange,
.btn--gold {
  background: var(--py-gold);
  color: var(--py-white);
  box-shadow: 0 10px 22px rgba(200, 150, 102, 0.28);
}

.btn--orange:hover,
.btn--gold:hover {
  background: var(--py-gold-hover);
}

.btn--navy {
  background: var(--py-navy-900);
  color: #f3e6d4;
  box-shadow: 0 8px 20px rgba(10, 29, 55, 0.18);
}

.btn--navy:hover {
  background: var(--py-navy-800);
}

.btn--block {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--py-border);
  border-radius: 10px;
  background: var(--py-white);
  color: var(--py-navy-900);
  cursor: pointer;
}

/* ——— Hero: height for laptop, photo anchored to the right ——— */
.hero--photo {
  position: relative;
  color: var(--py-white);
  overflow: hidden;
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  background: #0d1e30;
}

.hero__photo {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  /* Pull photo further left so the blend replaces the old mid-page hard cut */
  width: 72%;
  z-index: 0;
  background-color: #0d1e30;
  background-image: url("../img/hero-packaging.jpg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Solid navy under copy → soft blue wash into photo (no hard vertical line) */
  background: linear-gradient(
    to right,
    #0d1e30 0%,
    #0d1e30 22%,
    rgba(13, 30, 48, 0.94) 32%,
    rgba(13, 30, 48, 0.72) 42%,
    rgba(13, 30, 48, 0.4) 54%,
    rgba(13, 30, 48, 0.14) 66%,
    transparent 78%
  );
}

.hero--photo .hero__content {
  position: relative;
  z-index: 2;
  width: min(26rem, 42%);
  max-width: 26rem;
  margin-inline: 0;
  /* RTL: auto on the start side pushes the block onto the navy (physical left) */
  margin-inline-start: auto;
  margin-inline-end: clamp(1.25rem, 5vw, 4.5rem);
  padding: 1.5rem 0 2.5rem;
  animation: rise 0.7s ease both;
}

.hero__eyebrow {
  color: var(--py-gold);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.hero--photo h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3.1vw, 3.15rem);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 12ch;
}

.hero__lead {
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.95rem, 1.25vw, 1.2rem);
  line-height: 1.85;
  max-width: 34ch;
}

.hero__peek {
  position: absolute;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  z-index: 3;
}

.hero__peek span {
  width: 16px;
  height: 16px;
  border-right: 2px solid var(--py-gold);
  border-bottom: 2px solid var(--py-gold);
  transform: rotate(45deg);
  opacity: 0.9;
  animation: bob 1.4s ease-in-out infinite;
}

/* ——— Services: mockup layout (header+4 cards | tall quote) ——— */
.services-block {
  scroll-margin-top: 76px;
  padding: 1.5rem 0 1.5rem;
  background: #fbf8f3;
  box-sizing: border-box;
  overflow-x: clip;
}

.services-block__inner {
  /* keep .container width — do not override with 100% */
  box-sizing: border-box;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(200px, 22%, 240px);
  gap: 0.75rem;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.services-main {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  min-height: 100%;
}

.svc-head {
  margin: 0;
  max-width: 34rem;
}

.svc-head__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.25rem;
  color: var(--py-gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.svc-head__kicker::after {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--py-gold);
  border-radius: 2px;
}

.svc-head__title {
  margin: 0 0 0.25rem;
  color: var(--py-navy-900);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 800;
  line-height: 1.3;
}

.svc-head__desc {
  margin: 0;
  color: var(--py-muted-strong);
  font-size: 0.86rem;
  line-height: 1.5;
  max-width: 42ch;
}

.services-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  align-items: stretch;
  flex: 1;
  min-width: 0;
}

.svc {
  position: relative;
  background: var(--py-white);
  border: 1px solid rgba(28, 39, 64, 0.06);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(28, 39, 64, 0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.svc__media {
  height: 7.75rem;
  flex: none;
  background: #e8eef5 center / cover no-repeat;
}

.svc__badge {
  position: absolute;
  top: 6.75rem;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: var(--py-white);
  color: var(--py-gold);
  border: 1px solid rgba(187, 146, 77, 0.28);
  display: grid;
  place-items: center;
  box-shadow: 0 5px 12px rgba(28, 39, 64, 0.12);
  z-index: 2;
}

.svc__badge svg {
  width: 1rem;
  height: 1rem;
}

.svc__body {
  padding: 1.1rem 0.75rem 0.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.svc h3 {
  margin: 0 0 0.35rem;
  color: var(--py-navy-900);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

.svc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.18rem;
}

.svc li {
  position: relative;
  padding-right: 0.75rem;
  color: var(--py-muted-strong);
  font-size: 0.78rem;
  line-height: 1.35;
}

.svc li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.45em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--py-gold);
}

.svc__more {
  margin-top: auto;
  padding-top: 0.55rem;
  color: var(--py-navy-900);
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1.2;
}

.svc__more span {
  color: var(--py-gold);
}

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

/* Quote: compact mockup panel, stays inside container */
.quote-panel {
  position: relative;
  background: #152238;
  color: var(--py-white);
  border-radius: 14px;
  padding: 0.95rem 0.9rem 0.85rem;
  box-shadow: 0 12px 28px rgba(28, 39, 64, 0.18);
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.quote-panel::before,
.quote-panel::after {
  content: "";
  position: absolute;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid rgba(187, 146, 77, 0.5);
  pointer-events: none;
  z-index: 1;
}

.quote-panel::before {
  top: 0.65rem;
  right: 0.65rem;
  border-bottom: none;
  border-left: none;
}

.quote-panel::after {
  bottom: 0.65rem;
  left: 0.65rem;
  border-top: none;
  border-right: none;
}

.quote-panel__kicker {
  margin: 0 0 0.2rem;
  color: var(--py-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.quote-panel h2 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.quote-panel__lead {
  margin: 0 0 0.7rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  line-height: 1.5;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  min-height: 0;
}

.field {
  position: relative;
  min-height: 0;
}

.field--grow {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.field__icon {
  position: absolute;
  top: 50%;
  right: 0.7rem;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--py-gold);
  pointer-events: none;
  z-index: 2;
  display: grid;
  place-items: center;
}

.field__icon--top {
  top: 0.7rem;
  transform: none;
}

.field__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 16, 30, 0.35);
  color: var(--py-white);
  border-radius: 9px;
  padding: 0.58rem 2.1rem 0.58rem 0.75rem;
  outline: none;
  font-size: 0.8rem;
  line-height: 1.3;
  max-width: 100%;
  box-sizing: border-box;
}

.field select:invalid,
.field select option[disabled] {
  color: rgba(255, 255, 255, 0.48);
}

.field--icon select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--py-gold) 50%),
    linear-gradient(135deg, var(--py-gold) 50%, transparent 50%);
  background-position: 0.85rem calc(50% - 1px), 1.15rem calc(50% - 1px);
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
  padding-left: 1.55rem;
}

.field select option {
  color: var(--py-navy-900);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--py-gold);
  box-shadow: 0 0 0 2px var(--py-gold-soft);
}

.field textarea {
  flex: 1;
  min-height: 3.25rem;
  resize: none;
  padding-top: 0.65rem;
}

.field--grow textarea {
  flex: 1;
}

.form-grid .btn {
  margin-top: auto;
  padding: 0.65rem 0.85rem;
  font-size: 0.84rem;
  flex: none;
  border-radius: 999px;
  box-shadow: none;
}

.optional-tag {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
}

.field--optional .optional-tag {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

.form-note {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.form-status {
  display: none;
  margin-top: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--py-radius-sm);
  font-size: 0.86rem;
}

.form-status.is-ok {
  display: block;
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
}

.form-status.is-err {
  display: block;
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
}

/* ——— Trust bar: same container width as cards+quote ——— */
.trust-bar {
  margin-top: 0.9rem;
  padding: 0;
  background: transparent;
}

.trust-bar__inner {
  background: #efe8df;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  text-align: start;
  padding: 0.2rem 0.25rem;
}

.trust-item__icon {
  width: 34px;
  height: 34px;
  flex: none;
  color: var(--py-navy-900);
}

.trust-item__copy {
  min-width: 0;
}

.trust-item h3 {
  margin: 0 0 0.15rem;
  font-size: 0.92rem;
  color: var(--py-navy-900);
}

.trust-item p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--py-muted-strong);
  line-height: 1.45;
}

/* ——— Evidence / portfolio ——— */
.evidence {
  padding: 2.5rem 0 3rem;
  background: var(--py-white);
}

.evidence__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.evidence__copy h2 {
  margin: 0 0 0.6rem;
  color: var(--py-navy-900);
  font-size: 1.45rem;
}

.evidence__copy p {
  margin: 0 0 1rem;
  color: var(--py-muted-strong);
  max-width: 42ch;
}

.evidence__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.evidence__list li {
  padding: 0.7rem 0.9rem;
  background: var(--py-surface);
  border-radius: 12px;
  border: 1px solid var(--py-border);
  font-weight: 600;
  color: var(--py-navy-900);
  font-size: 0.92rem;
}

.evidence__shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.shot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--py-border);
  background: var(--py-navy-900);
  min-height: 140px;
}

.shot img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* ——— Page chrome (inner pages) ——— */
.page-hero {
  background: var(--py-navy-900);
  color: var(--py-white);
  padding: 2.75rem 0 2.25rem;
}

.page-hero h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  max-width: 48ch;
}

.page-content {
  padding: 2.5rem 0 3.5rem;
}

.prose {
  max-width: 70ch;
}

.prose h2 {
  color: var(--py-navy-900);
  margin: 1.5rem 0 0.55rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--py-muted-strong);
}

.card {
  border-radius: 16px;
  padding: 1.35rem 1.25rem 1.5rem;
  background: var(--py-white, #fff);
  border: 1px solid rgba(28, 39, 64, 0.08);
}

/* Honeypot — never show anti-spam field */
.hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ——— Quote / register pages ——— */
.quote-page,
.auth-page {
  max-width: 44rem;
  margin: 0 auto 2rem;
  padding: 1rem 1rem 0;
}

.auth-page {
  max-width: 28rem;
}

.quote-page__head {
  margin: 0 0 0.85rem;
}

.quote-page__head h1 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--py-navy-900);
  line-height: 1.3;
}

.quote-page__head p {
  margin: 0;
  color: var(--py-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.quote-page__card,
.auth-page__card {
  background: var(--py-white);
  border: 1px solid rgba(28, 39, 64, 0.08);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(28, 39, 64, 0.06);
  padding: 1rem 1rem 1.15rem;
}

.quote-page__grid,
.inquiry-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.75rem;
}

.inquiry-row:has(> :nth-child(3)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inquiry-pricing--light {
  display: grid;
  gap: 0.85rem;
}

.inquiry-pricing--light [hidden],
.inquiry-pricing--light .is-hidden {
  display: none !important;
}

.inquiry-section {
  display: grid;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--py-border);
}

.inquiry-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.inquiry-section__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--py-navy-900);
}

.inquiry-section__hint {
  margin: 0;
  color: var(--py-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.inquiry-help {
  display: block;
  margin-top: 0.2rem;
  color: var(--py-muted);
  font-size: 0.74rem;
}

.inquiry-pricing--light .field-light {
  gap: 0.28rem;
}

.inquiry-pricing--light .field-light label {
  font-size: 0.8rem;
}

.inquiry-pricing--light .field-light input,
.inquiry-pricing--light .field-light select,
.inquiry-pricing--light .field-light textarea {
  padding: 0.55rem 0.7rem;
  font-size: 0.88rem;
  border-radius: 8px;
}

.inquiry-pricing--light .field-light textarea {
  min-height: 4.25rem;
}

.inquiry-inline-check {
  display: flex;
  align-items: flex-end;
  padding-bottom: 0.35rem;
}

.inquiry-check__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--py-navy-900);
  line-height: 1.3;
}

.inquiry-check__label--block {
  margin: 0;
}

.inquiry-pricing--light .inquiry-check__label input[type="checkbox"],
.inquiry-pricing--light .inquiry-finishes__item input[type="checkbox"],
.inquiry-check__label input[type="checkbox"],
.inquiry-finishes__item input[type="checkbox"] {
  width: 1rem !important;
  height: 1rem !important;
  min-width: 1rem;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
  accent-color: var(--py-navy-900);
  border-radius: 3px;
  background: #fff;
}

.inquiry-finishes {
  margin: 0.15rem 0 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--py-border);
  border-radius: 10px;
  background: #fafbfc;
}

.inquiry-finishes legend {
  padding-inline: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--py-navy-900);
}

.inquiry-finishes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.35rem 0.65rem;
  margin-top: 0.2rem;
}

.inquiry-finishes__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  cursor: pointer;
  font-size: 0.84rem;
  color: var(--py-body);
}

.inquiry-submit {
  display: grid;
  gap: 0.4rem;
  padding-top: 0.15rem;
}

.inquiry-submit .btn {
  width: 100%;
  justify-content: center;
  min-height: 2.65rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.inquiry-submit__note {
  margin: 0;
  text-align: center;
  color: var(--py-muted);
  font-size: 0.78rem;
}

.inquiry-pricing--light .field-light input[type="file"] {
  padding: 0.45rem 0.55rem;
  background: #f8fafc;
}

.field-light {
  display: grid;
  gap: 0.35rem;
}

.field-light--full {
  grid-column: 1 / -1;
}

.field-light label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--py-navy-900);
}

.field-light .optional-tag {
  color: var(--py-muted);
  font-weight: 500;
  font-size: 0.78rem;
}

.field-light input,
.field-light select,
.field-light textarea {
  width: 100%;
  border: 1px solid var(--py-border);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  background: #fff;
  color: var(--py-navy-900);
  font-size: 0.92rem;
  box-sizing: border-box;
}

.field-light textarea {
  resize: vertical;
  min-height: 7rem;
}

.field-light input:focus,
.field-light select:focus,
.field-light textarea:focus {
  outline: none;
  border-color: var(--py-gold);
  box-shadow: 0 0 0 2px var(--py-gold-soft);
}

.form-status--light.is-ok {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.form-status--light.is-err {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

.quote-gate {
  margin-bottom: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: rgba(187, 146, 77, 0.12);
  border: 1px solid rgba(187, 146, 77, 0.35);
  color: var(--py-navy-900);
  font-size: 0.86rem;
}

.quote-gate p {
  margin: 0;
}

.quote-gate a {
  color: var(--py-gold-hover);
  font-weight: 700;
  text-decoration: underline;
}

.auth-page__card {
  display: grid;
  gap: 0.85rem;
}

.auth-page__hint {
  margin: 0.25rem 0 0;
  text-align: center;
  color: var(--py-muted);
  font-size: 0.86rem;
}

@media (max-width: 720px) {
  .quote-page__grid,
  .inquiry-row,
  .inquiry-row:has(> :nth-child(3)) {
    grid-template-columns: 1fr;
  }
}

/* ——— Account area ——— */
.flash-wrap {
  padding-top: 0.85rem;
}

.flash {
  display: block;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.55;
}

.flash--ok {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(4, 120, 87, 0.22);
  color: #047857;
}

.flash--err {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(185, 28, 28, 0.2);
  color: #b91c1c;
}

.account-page {
  width: var(--container);
  margin: 0 auto 2.25rem;
  padding: 1rem 0 0;
}

.account-page__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.account-page__titles h1 {
  margin: 0 0 0.2rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--py-navy-900);
  line-height: 1.25;
}

.account-page__titles p {
  margin: 0;
  color: var(--py-muted);
  font-size: 0.86rem;
  line-height: 1.5;
  max-width: 40rem;
}

.account-page__cta {
  flex-shrink: 0;
}

.account-nav {
  margin: 0 0 1rem;
  border-bottom: 1px solid var(--py-border);
}

.account-nav__track {
  display: flex;
  gap: 0.15rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0;
}

.account-nav__track::-webkit-scrollbar {
  display: none;
}

.account-nav__link {
  flex: 0 0 auto;
  padding: 0.55rem 0.75rem;
  border-bottom: 2px solid transparent;
  color: var(--py-muted-strong);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.account-nav__link:hover {
  color: var(--py-navy-900);
}

.account-nav__link.is-active {
  color: var(--py-navy-900);
  border-bottom-color: var(--py-gold);
}

.account-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1rem;
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: rgba(187, 146, 77, 0.1);
  border: 1px solid rgba(187, 146, 77, 0.28);
  font-size: 0.86rem;
  color: var(--py-navy-900);
}

.account-banner p {
  margin: 0;
}

.account-banner a {
  font-weight: 700;
  color: var(--py-gold-hover);
  text-decoration: underline;
}

.account-empty {
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: 14px;
  background: #fff;
  border: 1px dashed rgba(28, 39, 64, 0.18);
}

.account-empty strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--py-navy-900);
  font-size: 1.05rem;
}

.account-empty p {
  margin: 0 0 1rem;
  color: var(--py-muted);
  font-size: 0.88rem;
}

.inquiry-list {
  display: none;
  gap: 0.75rem;
}

.inquiry-card {
  background: #fff;
  border: 1px solid rgba(28, 39, 64, 0.08);
  border-radius: 14px;
  padding: 0.9rem 0.95rem 0.85rem;
  box-shadow: 0 8px 22px rgba(28, 39, 64, 0.04);
}

.inquiry-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.inquiry-card__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--py-navy-900);
  letter-spacing: 0.02em;
}

.inquiry-card__status,
.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(28, 39, 64, 0.06);
  color: var(--py-navy-900);
  font-size: 0.74rem;
  font-weight: 700;
}

.inquiry-card__title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--py-navy-900);
  line-height: 1.35;
}

.inquiry-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.75rem;
  margin: 0 0 0.75rem;
}

.inquiry-card__meta div {
  min-width: 0;
}

.inquiry-card__meta dt {
  margin: 0;
  font-size: 0.7rem;
  color: var(--py-muted);
}

.inquiry-card__meta dd {
  margin: 0.05rem 0 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--py-navy-900);
}

.inquiry-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--py-border);
}

.inquiry-card__quote-label {
  font-size: 0.75rem;
  color: var(--py-muted);
}

.inquiry-card__quote {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--py-navy-900);
}

.inquiry-card__quote span,
.inquiry-card__waiting {
  color: var(--py-muted);
  font-weight: 500;
  font-size: 0.78rem;
}

.inquiry-table-wrap {
  display: block;
  overflow-x: auto;
  background: #fff;
  border: 1px solid rgba(28, 39, 64, 0.08);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(28, 39, 64, 0.05);
}

.inquiry-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.inquiry-table th,
.inquiry-table td {
  padding: 0.75rem 0.9rem;
  text-align: right;
  border-bottom: 1px solid var(--py-border);
  vertical-align: middle;
  font-size: 0.88rem;
}

.inquiry-table th {
  background: #f7f8fa;
  color: var(--py-muted-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.inquiry-table tbody tr:last-child td {
  border-bottom: 0;
}

.inquiry-table tbody tr:hover td {
  background: rgba(28, 39, 64, 0.02);
}

.inquiry-table__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  color: var(--py-navy-900);
  white-space: nowrap;
}

.inquiry-table__title {
  font-weight: 700;
  color: var(--py-navy-900);
}

.inquiry-table__sub {
  display: block;
  margin-top: 0.15rem;
  color: var(--py-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.account-page__pager {
  margin-top: 1rem;
}

@media (max-width: 820px) {
  .inquiry-list {
    display: grid;
  }

  .inquiry-table-wrap {
    display: none;
  }

  .account-page__head {
    align-items: stretch;
  }

  .account-page__cta {
    width: 100%;
    justify-content: center;
  }
}

/* Account: summary / ledger / profile */
.btn.small {
  padding: 0.5rem 0.9rem;
  font-size: 0.84rem;
  min-height: 2.35rem;
}

.btn.secondary {
  background: #fff;
  color: var(--py-navy-900);
  border: 1px solid var(--py-border);
  box-shadow: none;
}

.account-impersonate {
  margin-bottom: 1rem;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.account-card {
  background: #fff;
  border: 1px solid rgba(28, 39, 64, 0.08);
  border-radius: 14px;
  padding: 1rem 1rem 0.9rem;
  box-shadow: 0 8px 22px rgba(28, 39, 64, 0.04);
  min-width: 0;
}

.account-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.account-card__head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--py-navy-900);
}

.account-card__head a {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--py-gold-hover);
  white-space: nowrap;
}

.account-card__empty {
  margin: 0;
  color: var(--py-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.account-card__foot {
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--py-border);
}

.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(28, 39, 64, 0.06);
}

.account-row:last-of-type {
  border-bottom: 0;
}

.account-row--stack {
  flex-direction: column;
  align-items: stretch;
}

.account-row__main {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  color: inherit;
}

.account-row__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--py-navy-900);
  letter-spacing: 0.02em;
}

.account-row__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--py-navy-900);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.account-row__sub {
  font-size: 0.8rem;
  color: var(--py-muted);
}

.account-big-number {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--py-navy-900);
  line-height: 1.2;
}

.account-big-number small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--py-muted);
}

.steps {
  display: flex;
  gap: 0.3rem;
  margin: 0.45rem 0;
}

.steps span {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(28, 39, 64, 0.12);
}

.steps span.done {
  background: var(--py-gold);
}

.ledger-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(187, 146, 77, 0.2), transparent 55%),
    linear-gradient(145deg, #0f1a2e, var(--py-navy-900) 60%, #243352);
  color: #fff;
  box-shadow: 0 12px 28px rgba(10, 29, 55, 0.16);
}

.ledger-summary span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.ledger-summary strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.account-note {
  margin: 0.75rem 0 0;
  color: var(--py-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.profile-card {
  background: #fff;
  border: 1px solid rgba(28, 39, 64, 0.08);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(28, 39, 64, 0.05);
  padding: 1.1rem 1.1rem 1.2rem;
  display: grid;
  gap: 1rem;
}

.profile-avatar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--py-border);
}

.profile-avatar__preview {
  width: 4.5rem;
  height: 4.5rem;
  flex: 0 0 4.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--py-navy-900);
  color: #f3e6d4;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
}

.profile-avatar__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar__field {
  flex: 1;
  min-width: 0;
}

.profile-hint {
  margin: 0.35rem 0 0;
  color: var(--py-muted);
  font-size: 0.78rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 0.85rem;
}

.profile-grid__full {
  grid-column: 1 / -1;
}

.profile-grid .field-light input,
.profile-grid .field-light textarea,
.profile-avatar__field input[type="file"] {
  width: 100%;
  border: 1px solid var(--py-border);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  background: #fff;
  color: var(--py-navy-900);
  font-size: 0.9rem;
  box-sizing: border-box;
}

.profile-grid .field-light textarea {
  min-height: 4rem;
  resize: vertical;
}

.profile-grid .field-light input:focus,
.profile-grid .field-light textarea:focus {
  outline: none;
  border-color: var(--py-gold);
  box-shadow: 0 0 0 2px var(--py-gold-soft);
}

.profile-subhead {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--py-border);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--py-navy-900);
}

.profile-actions .btn {
  min-width: 11rem;
  min-height: 2.7rem;
}

@media (max-width: 820px) {
  .account-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-grid__full {
    grid-column: auto;
  }

  .profile-avatar {
    flex-direction: column;
  }

  .profile-actions .btn {
    width: 100%;
  }

  .ledger-summary strong {
    font-size: 1.05rem;
  }
}

/* ——— Footer ——— */
.site-footer {
  background: var(--py-navy-950);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 0 1.25rem;
}

.site-footer .brand {
  color: var(--py-white);
}

.brand__type-en {
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  margin-top: 0.65rem;
  opacity: 0.92;
}

.site-footer .brand__type-en {
  filter: brightness(0) invert(1);
}

.site-footer a:hover {
  color: var(--py-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.2fr;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.site-footer h3 {
  margin: 0 0 0.75rem;
  color: var(--py-white);
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer li,
.footer-nap {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.footer-social__link {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.footer-social__link:hover {
  background: var(--py-gold);
  border-color: var(--py-gold);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social__link svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ——— Motion ——— */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bob {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(4px);
  }
}

/* ——— Responsive ——— */
@media (max-width: 1180px) {
  .services-layout {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 230px);
    gap: 0.7rem;
  }

  .services-row {
    gap: 0.55rem;
  }

  .svc__media {
    height: 7rem;
  }

  .svc__badge {
    top: 6.05rem;
  }
}

@media (max-width: 900px) {
  .services-block {
    padding: 1.5rem 0;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

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

  .svc__media {
    height: 8rem;
  }

  .svc__badge {
    top: 7rem;
  }

  .quote-panel {
    min-height: 0;
  }

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

@media (max-width: 860px) {
  .hero--photo {
    height: auto;
    min-height: 520px;
    aspect-ratio: auto;
  }

  .hero__photo {
    width: 100%;
    right: 0;
    background-position: right center;
    background-size: cover;
  }

  .hero__shade {
    background: linear-gradient(
      to top,
      #0d1e30 0%,
      rgba(13, 30, 48, 0.9) 34%,
      rgba(13, 30, 48, 0.2) 58%,
      transparent 72%
    );
  }

  .hero--photo .hero__content {
    width: min(1180px, calc(100% - 2rem));
    max-width: none;
    margin-inline: auto;
    padding: 0 0 2.75rem;
    align-self: flex-end;
  }

  .hero--photo h1 {
    max-width: none;
    font-size: 1.55rem;
  }

  .hero__lead {
    max-width: 100%;
    font-size: 0.92rem;
  }

  .evidence__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  /* UX: hide full nav; hamburger only */
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--py-white);
    border: 1px solid var(--py-border);
    border-radius: 14px;
    padding: 0.75rem;
    gap: 0.25rem;
    box-shadow: var(--py-shadow);
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .nav a.is-active::after {
    display: none;
  }

  .header-actions .btn--navy {
    padding: 0.65rem 0.9rem;
    font-size: 0.82rem;
  }

  .services-row,
  .trust-bar__inner,
  .footer-grid,
  .evidence__shots {
    grid-template-columns: 1fr;
  }

  .brand__type {
    height: 34px;
    max-width: 120px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }
}

/* —— Account files / proof / tickets —— */
.account-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.account-form {
  display: grid;
  gap: 0.7rem;
}

.account-form__actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.15rem;
}

.account-form .field-light input[type="file"] {
  padding: 0.45rem 0.55rem;
  background: #f8fafc;
}

.proof-list {
  display: grid;
  gap: 0.85rem;
}

.proof-card__preview {
  margin: 0 0 0.75rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(28, 39, 64, 0.08);
  background: #f8fafc;
  min-height: 8rem;
  display: grid;
  place-items: center;
}

.proof-card__preview img,
.proof-card__preview canvas {
  display: block;
  max-width: 100%;
  height: auto;
  background: #fff;
}

.proof-card__preview .account-card__empty {
  padding: 1.25rem 1rem;
  text-align: center;
}

.proof-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  color: var(--py-muted);
}

.proof-card__meta a {
  font-weight: 700;
  color: var(--py-gold-hover);
}

.proof-card__done {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(4, 120, 87, 0.18);
  color: #047857;
  font-size: 0.88rem;
  font-weight: 600;
}

.proof-card__form {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.15rem;
}

.proof-card__form .btn {
  width: fit-content;
  margin-top: 0.2rem;
}

.ticket-thread {
  display: grid;
  gap: 0.65rem;
}

.ticket-msg {
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(28, 39, 64, 0.08);
  background: #fff;
  box-shadow: 0 6px 18px rgba(28, 39, 64, 0.03);
}

.ticket-msg--mine {
  background: rgba(187, 146, 77, 0.08);
  border-color: rgba(187, 146, 77, 0.22);
}

.ticket-msg--staff {
  background: #fff;
}

.ticket-msg__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  color: var(--py-muted);
}

.ticket-msg__meta strong {
  color: var(--py-navy-900);
  font-size: 0.86rem;
}

.ticket-msg__body {
  margin: 0;
  white-space: pre-line;
  color: var(--py-navy-900);
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 820px) {
  .account-split {
    grid-template-columns: 1fr;
  }
}