﻿/* 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);
}

.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?v=py2");
  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);
}

/* ——— Quote / register pages ——— */
.quote-page,
.auth-page {
  max-width: 52rem;
  margin-inline: auto;
}

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

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

.quote-page__form {
  display: grid;
  gap: 1rem;
}

.quote-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

.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: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(187, 146, 77, 0.12);
  border: 1px solid rgba(187, 146, 77, 0.35);
  color: var(--py-navy-900);
  font-size: 0.92rem;
}

.quote-gate p {
  margin: 0 0 0.35rem;
}

.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 {
    grid-template-columns: 1fr;
  }
}

/* ——— 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.9rem;
}

.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;
  }
}

/* ——— About page ——— */
.about-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--py-navy-950) 0%, var(--py-navy-900) 55%, var(--py-navy-800) 100%);
  color: var(--py-white);
  padding: 3.4rem 0 3rem;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 12% 80%, rgba(187, 146, 77, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 50% at 90% 10%, rgba(255, 255, 255, 0.06), transparent 50%);
  pointer-events: none;
}

.about-hero__inner {
  position: relative;
  max-width: 40rem;
}

.about-hero__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--py-gold);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.about-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.25;
}

.about-hero__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.85;
}

.about-stats {
  margin-top: -1.35rem;
  position: relative;
  z-index: 1;
  padding-bottom: 0.5rem;
}

.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  background: var(--py-white);
  border: 1px solid var(--py-border);
  border-radius: var(--py-radius);
  box-shadow: var(--py-shadow);
  padding: 1.15rem 0.75rem;
}

.about-stat {
  text-align: center;
  padding: 0.35rem 0.5rem;
}

.about-stat + .about-stat {
  border-right: 1px solid var(--py-border);
}

.about-stat__year {
  display: block;
  color: var(--py-navy-900);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
}

.about-stat__label {
  display: block;
  margin-top: 0.3rem;
  color: var(--py-muted);
  font-size: 0.88rem;
}

.about-intro {
  padding: 3rem 0 1.5rem;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.about-intro__copy h2 {
  margin: 0 0 1rem;
  color: var(--py-navy-900);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.4;
}

.about-intro__copy p {
  margin: 0 0 1rem;
  color: var(--py-muted-strong);
  line-height: 1.9;
  font-size: 1.02rem;
}

.about-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.65rem;
  min-height: 280px;
}

.about-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.about-mosaic img:first-child {
  grid-row: 1 / span 2;
  min-height: 280px;
}

.about-section-head {
  margin-bottom: 1.75rem;
}

.about-section-head__kicker {
  margin: 0 0 0.4rem;
  color: var(--py-gold);
  font-weight: 700;
  font-size: 0.9rem;
}

.about-section-head h2 {
  margin: 0;
  color: var(--py-navy-900);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.about-timeline {
  padding: 2rem 0 3rem;
  background: linear-gradient(180deg, transparent, rgba(28, 39, 64, 0.03) 40%, transparent);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: 1.35rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  right: 2.15rem;
  width: 2px;
  background: linear-gradient(180deg, var(--py-gold), rgba(187, 146, 77, 0.15));
}

.timeline__item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.15rem;
  align-items: start;
}

.timeline__marker {
  position: relative;
  z-index: 1;
  width: 4.5rem;
  display: flex;
  justify-content: center;
}

.timeline__marker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.6rem;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  background: var(--py-navy-900);
  color: var(--py-gold);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.timeline__body {
  padding: 0.15rem 0 0.4rem;
}

.timeline__body h3 {
  margin: 0 0 0.25rem;
  color: var(--py-navy-900);
  font-size: 1.15rem;
}

.timeline__who {
  margin: 0 0 0.55rem !important;
  color: var(--py-gold) !important;
  font-weight: 600;
  font-size: 0.95rem;
}

.timeline__body p {
  margin: 0;
  color: var(--py-muted-strong);
  line-height: 1.85;
}

.about-today {
  padding: 0 0 3.5rem;
}

.about-today__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.about-today__grid > div,
.about-visit {
  background: var(--py-white);
  border: 1px solid var(--py-border);
  border-radius: var(--py-radius);
  padding: 1.5rem 1.35rem;
}

.about-today h2 {
  margin: 0 0 0.75rem;
  color: var(--py-navy-900);
  font-size: 1.2rem;
}

.about-today p {
  margin: 0 0 0.65rem;
  color: var(--py-muted-strong);
  line-height: 1.85;
}

.about-today__meta {
  color: var(--py-muted) !important;
  font-size: 0.92rem;
}

.about-today a {
  color: var(--py-navy-900);
}

@media (max-width: 860px) {
  .about-intro__grid,
  .about-today__grid,
  .about-stats__grid {
    grid-template-columns: 1fr;
  }

  .about-stat + .about-stat {
    border-right: 0;
    border-top: 1px solid var(--py-border);
    padding-top: 0.85rem;
  }

  .about-mosaic {
    min-height: 220px;
  }

  .timeline::before {
    right: 1.7rem;
  }

  .timeline__item {
    grid-template-columns: 3.6rem 1fr;
  }
}

/* ——— Services page ——— */
.services-page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--py-navy-950) 0%, var(--py-navy-900) 55%, var(--py-navy-800) 100%);
  color: var(--py-white);
  padding: 3.2rem 0 2.85rem;
}

.services-page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 48% 70% at 88% 20%, rgba(187, 146, 77, 0.2), transparent 55%),
    radial-gradient(ellipse 40% 50% at 8% 90%, rgba(255, 255, 255, 0.05), transparent 50%);
  pointer-events: none;
}

.services-page-hero__inner {
  position: relative;
  max-width: 38rem;
  animation: rise 0.7s ease both;
}

.services-page-hero__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--py-gold);
  font-size: 0.92rem;
  font-weight: 600;
}

.services-page-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 800;
  line-height: 1.25;
}

.services-page-hero__lead {
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.85;
}

.services-page-hero__cta {
  margin: 0;
}

.services-jump {
  position: relative;
  z-index: 1;
  margin-top: -1.1rem;
  padding-bottom: 0.35rem;
}

.services-jump__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  background: var(--py-white);
  border: 1px solid var(--py-border);
  border-radius: var(--py-radius);
  box-shadow: var(--py-shadow);
  padding: 0.75rem;
}

.services-jump__row a {
  color: var(--py-navy-900);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(28, 39, 64, 0.05);
  transition: background 0.2s ease, color 0.2s ease;
}

.services-jump__row a:hover {
  background: var(--py-navy-900);
  color: var(--py-white);
}

.services-catalog {
  padding: 2.75rem 0 1.5rem;
}

.svc-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.75rem;
  align-items: center;
  margin-bottom: 2.75rem;
}

.svc-detail--flip .svc-detail__media {
  order: 2;
}

.svc-detail--flip .svc-detail__body {
  order: 1;
}

.svc-detail__media {
  min-height: 280px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--py-shadow);
  transition: transform 0.45s ease;
}

.svc-detail:hover .svc-detail__media {
  transform: scale(1.015);
}

.svc-detail__kicker {
  margin: 0 0 0.4rem;
  color: var(--py-gold);
  font-weight: 700;
  font-size: 0.88rem;
}

.svc-detail__body h2 {
  margin: 0 0 0.7rem;
  color: var(--py-navy-900);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.35;
}

.svc-detail__lead {
  margin: 0 0 1rem;
  color: var(--py-muted-strong);
  line-height: 1.8;
  font-size: 1.02rem;
}

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

.svc-detail__body li {
  position: relative;
  padding-right: 1.1rem;
  color: var(--py-muted-strong);
  line-height: 1.6;
}

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

.services-steps {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(180deg, transparent, rgba(28, 39, 64, 0.035) 40%, transparent);
}

.services-steps__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.services-step {
  background: var(--py-white);
  border: 1px solid var(--py-border);
  border-radius: var(--py-radius);
  padding: 1.35rem 1.2rem 1.4rem;
}

.services-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--py-navy-900);
  color: var(--py-gold);
  font-weight: 800;
  font-size: 0.95rem;
}

.services-step h3 {
  margin: 0 0 0.45rem;
  color: var(--py-navy-900);
  font-size: 1.08rem;
}

.services-step p {
  margin: 0;
  color: var(--py-muted-strong);
  line-height: 1.75;
  font-size: 0.95rem;
}

.services-cta-band {
  padding: 0 0 3.5rem;
}

.services-cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.65rem 1.5rem;
  border-radius: var(--py-radius);
  background: linear-gradient(135deg, var(--py-navy-900), var(--py-navy-800));
  color: var(--py-white);
}

.services-cta-band__inner h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
}

.services-cta-band__inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

@media (max-width: 860px) {
  .svc-detail,
  .svc-detail--flip {
    grid-template-columns: 1fr;
  }

  .svc-detail--flip .svc-detail__media,
  .svc-detail--flip .svc-detail__body {
    order: initial;
  }

  .svc-detail__media {
    min-height: 210px;
  }

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

  .services-jump__row {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-page-hero__inner,
  .svc-detail__media,
  .reveal {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .reveal {
    opacity: 1;
  }
}

/* Language switcher + LTR hero for EN */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  margin-inline-end: .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.lang-switch a {
  color: inherit;
  opacity: .55;
  text-decoration: none;
  padding: .2rem .35rem;
  border-radius: .35rem;
}
.lang-switch a.is-active,
.lang-switch a:hover {
  opacity: 1;
  background: rgba(13, 30, 48, .08);
}
html[dir="ltr"] .hero__photo {
  right: auto;
  left: 0;
  background-position: left center;
}
html[dir="ltr"] .hero__shade {
  background: linear-gradient(
    to left,
    #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%
  );
}
html[dir="ltr"] .hero--photo .hero__content {
  text-align: left;
}
@media (max-width: 860px) {
  .lang-switch { margin-inline-end: 0; }
}

/* Language switcher + LTR hero for EN */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  margin-inline-end: .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.lang-switch a {
  color: inherit;
  opacity: .55;
  text-decoration: none;
  padding: .2rem .35rem;
  border-radius: .35rem;
}
.lang-switch a.is-active,
.lang-switch a:hover {
  opacity: 1;
  background: rgba(13, 30, 48, .08);
}
html[dir="ltr"] .hero__photo {
  right: auto;
  left: 0;
  background-position: left center;
}
html[dir="ltr"] .hero__shade {
  background: linear-gradient(
    to left,
    #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%
  );
}
html[dir="ltr"] .hero--photo .hero__content {
  text-align: left;
}
@media (max-width: 860px) {
  .lang-switch { margin-inline-end: 0; }
}
