@import url("/assets/fonts/vazir.css");

:root{--ink:#173f3e;--deep:#204f4d;--green:#46716c;--mint:#b8d6c2;--paper:#f6f3ed;--white:#fff;--muted:#637775;--line:#d7e2dc;--shadow:0 18px 55px rgba(30,72,69,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;direction:rtl;color:var(--ink);background:var(--paper);font-family:Vazir,Tahoma,Arial,sans-serif;font-size:17px;line-height:1.95}.container{width:min(1160px,calc(100% - 40px));margin:auto}.header{position:sticky;z-index:20;top:0;border-bottom:1px solid rgba(255,255,255,.34);background:linear-gradient(110deg,rgba(235,243,238,.97),rgba(134,169,160,.94),rgba(43,91,88,.97));backdrop-filter:blur(18px)}.nav{min-height:82px;display:flex;align-items:center;gap:22px}.logo{width:122px;height:58px;flex:0 0 auto;background:url('/assets/holda-logo-transparent-v2.png') center/contain no-repeat}.links{display:flex;align-items:center;gap:8px;margin-inline-start:auto}.links a,.button{padding:10px 16px;border-radius:13px;color:#fff;font-weight:750;text-decoration:none}.links a:hover,.links a[aria-current=page]{color:var(--ink);background:rgba(255,255,255,.75)}.button{display:inline-flex;justify-content:center;align-items:center;border:1px solid rgba(47,92,87,.28);color:#fff;background:linear-gradient(135deg,#4d7b75,#285956);box-shadow:var(--shadow)}.button.secondary{color:var(--ink);background:rgba(255,255,255,.82)}.hero{padding:92px 0 62px}.eyebrow{display:inline-block;margin-bottom:14px;color:var(--green);font-size:.85rem;font-weight:850;letter-spacing:.04em}.hero h1{max-width:850px;margin:0 0 22px;font-size:clamp(2.25rem,5vw,4.5rem);line-height:1.25;letter-spacing:-.04em}.hero>div>p{max-width:780px;margin:0;color:var(--muted);font-size:1.12rem}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}.section{padding:64px 0}.soft{background:#edf2ee}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.card{padding:28px;border:1px solid var(--line);border-radius:22px;background:var(--white);box-shadow:0 10px 35px rgba(32,77,73,.07)}.card h2,.card h3{margin:0 0 10px;line-height:1.45}.card p{margin:0;color:var(--muted)}.prose{max-width:850px}.prose h2{margin:44px 0 10px;font-size:1.65rem}.prose h2:first-child{margin-top:0}.prose p,.prose li{color:#4f6663}.price{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;padding:38px;border:1px solid var(--line);border-radius:26px;background:#fff;box-shadow:var(--shadow)}.price strong{display:block;font-size:2.7rem;line-height:1.2}.price small{color:var(--muted)}.footer{padding:38px 0;color:#d8e5df;background:#214d4b}.footer-grid{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.footer a{color:#d8e5df}.footer nav{display:flex;flex-wrap:wrap;gap:16px}.skip{position:absolute;top:-80px;right:16px;padding:10px;background:#fff}.skip:focus{top:10px;z-index:50}:focus-visible{outline:3px solid #76b49f;outline-offset:3px}@media(max-width:820px){body{font-size:16px}.links a:not(.button){display:none}.nav{min-height:72px}.logo{width:103px;height:50px}.hero{padding:64px 0 44px}.grid{grid-template-columns:1fr}.price{grid-template-columns:1fr}.footer-grid{flex-direction:column}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Shared public footer contact block and eNAMAD trust seal. */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.15fr) minmax(210px, 1fr) minmax(180px, 1.1fr) auto;
  align-items: start;
  gap: 28px;
}

.footer-brand,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 3px;
}

.footer-brand span,
.footer-contact address {
  color: #b7ccc6;
  font-size: .9rem;
  line-height: 1.8;
}

.footer-contact address {
  margin: 0;
  font-style: normal;
}

.footer-contact a {
  color: #d8e5df;
  font-weight: 750;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--mint);
}

.footer nav {
  display: grid;
  justify-items: start;
  gap: 5px;
}

.footer-trust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 112px;
  padding: 8px;
  border: 1px solid rgba(216, 229, 223, .32);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
}

.footer-trust img {
  display: block;
  width: 96px;
  max-width: 100%;
  height: auto;
  cursor: pointer;
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer nav {
    justify-items: start;
  }

  .footer-trust {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* UI-05 final: public footers use the same small contact strip as the homepage. */
.footer {
  padding: 30px 0 14px;
  background: linear-gradient(135deg, #315859 0%, #214d4b 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px 24px;
}

.footer-brand { grid-column: 1; grid-row: 1; }

.footer-grid > nav {
  grid-column: 2 / 4;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer nav > * + * {
  margin-inline-start: 0;
  padding-inline-start: 0;
  border-inline-start: 0;
}

.footer-trust {
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
  width: 154px;
  min-width: 154px;
  height: 78px;
  min-height: 78px;
  padding: 7px 10px;
}

.footer-trust img {
  width: 124px;
  max-height: 62px;
  object-fit: contain;
}

.footer-contact {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgb(219 234 230 / 22%);
}

.footer-contact address {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 13px;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: .68rem;
  line-height: 1.7;
}

.footer-contact address br { display: none; }

.footer-contact address a,
.footer-contact address a + a {
  margin: 0;
  padding: 0;
  border: 0;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }

  .footer-grid > nav { grid-column: 2; }

  .footer-trust {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .footer-contact { grid-row: 3; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }

  .footer-brand,
  .footer-grid > nav,
  .footer-trust,
  .footer-contact {
    grid-column: 1;
    grid-row: auto;
  }

  .footer-grid > nav {
    flex-direction: column;
    gap: 5px;
  }

  .footer-trust { justify-self: start; }

  .footer-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

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

/* UI-09 final EOF override: the homepage footer is the single shared footer layout. */
.site-footer {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 30px 0 0;
  color: #fff;
  background: linear-gradient(135deg, #315859 0%, #214d4b 100%);
  border: 0;
  font-size: inherit;
  grid-template-areas: none;
}

.site-footer > .container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-footer .footer-grid,
.site-footer > div.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  grid-template-areas: none;
  align-items: start;
  gap: 18px 24px;
  padding-bottom: 24px;
}

.site-footer .footer-about {
  grid-column: 1;
  grid-row: 1;
  display: block;
  align-content: start;
  gap: 0;
}

.site-footer .footer-about .brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
}

.site-footer .footer-about .brand-logo {
  width: 164px;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.site-footer .footer-about p {
  margin: 10px 0 0;
  color: #d3e1dd;
  font-size: 13px;
  line-height: 1.8;
}

.site-footer .footer-column:not(.footer-contact) {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  grid-column: auto;
  grid-row: 1;
}

.site-footer .footer-column strong,
.site-footer .footer-grid > .footer-contact strong {
  flex-basis: auto;
  margin-bottom: 5px;
  color: #fff;
  font-size: 14px;
  line-height: 1.75;
}

.site-footer .footer-column a {
  color: #e0ece8;
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
}

.site-footer .footer-column a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .footer-grid > .footer-contact {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  justify-self: start;
  min-width: 0;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.site-footer .footer-grid > .footer-contact address {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 0;
  border: 0;
  color: #e0ece8;
  font-size: 13px;
  line-height: 1.7;
  font-style: normal;
}

.site-footer .footer-grid > .footer-contact address br {
  display: none;
}

.site-footer .footer-grid > .footer-contact address a,
.site-footer .footer-grid > .footer-contact address a + a {
  margin: 0;
  padding: 0;
  border: 0 !important;
  color: #e0ece8;
  font-size: 13px;
  text-decoration: none;
}

.site-footer .footer-trust {
  grid-column: 4;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 154px;
  min-width: 154px;
  height: 78px;
  min-height: 78px;
  margin-top: 0;
  padding: 7px 10px;
  border: 1px solid #fff;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(7, 31, 33, .16);
}

.site-footer .footer-trust img {
  display: block;
  width: 124px;
  max-width: 100%;
  max-height: 62px;
  height: auto;
  object-fit: contain;
}

.site-footer .footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-areas: none;
  align-items: center;
  gap: 18px 26px;
  padding: 12px 0;
  border-top: 1px solid rgba(219, 234, 230, .22);
}

.site-footer .footer-copyright {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 18px;
  min-width: 0;
  color: #9fb8b2;
  font-size: 11px;
}

.site-footer .footer-copyright p {
  margin: 0;
}

.site-footer .footer-bottom > .footer-quick-access {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  justify-self: start;
  gap: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.site-footer .footer-bottom > .footer-quick-access strong {
  display: none;
}

.site-footer .footer-bottom > .footer-quick-access a,
.site-footer .footer-bottom > .footer-quick-access a + a {
  margin: 0;
  padding: 0;
  border: 0;
  color: #e0ece8;
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
}

.site-footer .footer-bottom > .footer-quick-access a + a {
  margin-inline-start: 12px;
}

@media (max-width: 1040px) {
  .site-footer .footer-grid,
  .site-footer > div.footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .site-footer .footer-trust {
    grid-column: 3;
  }
}

@media (max-width: 820px) {
  .site-footer > .container {
    width: min(100% - 32px, 1180px);
  }

  .site-footer .footer-grid,
  .site-footer > div.footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .site-footer .footer-about {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .site-footer .footer-grid > .footer-contact {
    grid-column: 1;
    grid-row: 2;
  }

  .site-footer .footer-grid > .footer-column:not(.footer-contact) {
    grid-column: 2;
    grid-row: 2;
  }

  .site-footer .footer-trust {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
  }

  .site-footer .footer-bottom {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-bottom > .footer-quick-access {
    grid-column: 1;
    grid-row: 1;
  }

  .site-footer .footer-bottom > .footer-copyright {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 560px) {
  .site-footer .footer-grid,
  .site-footer > div.footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-about,
  .site-footer .footer-grid > .footer-contact,
  .site-footer .footer-grid > .footer-column:not(.footer-contact),
  .site-footer .footer-trust {
    grid-column: 1;
    grid-row: auto;
  }

.site-footer .footer-grid > .footer-contact {
  align-items: flex-start;
}

/* UI-10: use the established green palette for every public header and footer. */
.header {
  background: linear-gradient(115deg, #7fa59b 0%, #3b7069 52%, #315859 100%);
}

.footer,
.site-footer {
  background: linear-gradient(135deg, #315859 0%, #214d4b 100%);
}
}

/* UI-09 actual final logo normalization. */
.site-footer .footer-about {
  display: block;
}

.site-footer .footer-about .brand-logo {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* UI-09 final logo normalization: remove account-shell image chrome. */
.site-footer .footer-about {
  display: block;
}

.site-footer .footer-about .brand-logo {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* UI-09 typography follow-up: match the homepage footer line metrics. */
.site-footer .footer-about .brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.site-footer .footer-column strong,
.site-footer .footer-grid > .footer-contact strong {
  line-height: 1.75;
}

/* UI-09: one footer system shared by the homepage, public pages and account pages. */
.site-footer {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 30px 0 0;
  color: #fff;
  background: linear-gradient(135deg, #315859 0%, #214d4b 100%);
  border: 0;
  font-size: inherit;
}

.site-footer > .container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px 24px;
  padding-bottom: 24px;
}

.site-footer .footer-about {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  align-content: start;
  gap: 0;
}

.site-footer .footer-about .brand {
  width: max-content;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
}

.site-footer .footer-about .brand-logo {
  width: 164px;
  height: auto;
  object-fit: contain;
}

.site-footer .footer-about p {
  margin: 10px 0 0;
  color: #d3e1dd;
  font-size: 13px;
  line-height: 1.8;
}

.site-footer .footer-column:not(.footer-contact) {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  grid-row: 1;
}

.site-footer .footer-column strong {
  flex-basis: auto;
  margin-bottom: 5px;
  color: #fff;
  font-size: 14px;
}

.site-footer .footer-column a {
  color: #e0ece8;
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
}

.site-footer .footer-column a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .footer-grid > .footer-contact {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  justify-self: start;
  min-width: 0;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.site-footer .footer-grid > .footer-contact strong {
  flex-basis: auto;
  margin-bottom: 5px;
  color: #fff;
  font-size: 14px;
}

.site-footer .footer-grid > .footer-contact address {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 0;
  border: 0;
  color: #e0ece8;
  font-size: 13px;
  line-height: 1.7;
  font-style: normal;
}

.site-footer .footer-grid > .footer-contact address br {
  display: none;
}

.site-footer .footer-grid > .footer-contact address a,
.site-footer .footer-grid > .footer-contact address a + a {
  margin: 0;
  padding: 0;
  border: 0 !important;
  color: #e0ece8;
  font-size: 13px;
  text-decoration: none;
}

.site-footer .footer-trust {
  grid-column: 4;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 154px;
  min-width: 154px;
  height: 78px;
  min-height: 78px;
  margin-top: 0;
  padding: 7px 10px;
  border: 1px solid #fff;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(7, 31, 33, .16);
}

.site-footer .footer-trust img {
  display: block;
  width: 124px;
  max-width: 100%;
  max-height: 62px;
  height: auto;
  object-fit: contain;
}

.site-footer .footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 18px 26px;
  padding: 12px 0;
  border-top: 1px solid rgba(219, 234, 230, .22);
}

.site-footer .footer-copyright {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 18px;
  min-width: 0;
  color: #9fb8b2;
  font-size: 11px;
}

.site-footer .footer-copyright p {
  margin: 0;
}

.site-footer .footer-bottom > .footer-quick-access {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  justify-self: start;
  gap: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.site-footer .footer-bottom > .footer-quick-access strong {
  display: none;
}

.site-footer .footer-bottom > .footer-quick-access a,
.site-footer .footer-bottom > .footer-quick-access a + a {
  margin: 0;
  padding: 0;
  border: 0;
  color: #e0ece8;
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
}

.site-footer .footer-bottom > .footer-quick-access a + a {
  margin-inline-start: 12px;
}

@media (max-width: 1040px) {
  .site-footer .footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .site-footer .footer-trust {
    grid-column: 3;
  }
}

@media (max-width: 820px) {
  .site-footer > .container {
    width: min(100% - 32px, 1180px);
  }

  .site-footer .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .site-footer .footer-about {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .site-footer .footer-grid > .footer-contact {
    grid-column: 1;
    grid-row: 2;
  }

  .site-footer .footer-grid > .footer-column:not(.footer-contact) {
    grid-column: 2;
    grid-row: 2;
  }

  .site-footer .footer-trust {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
  }

  .site-footer .footer-bottom {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-bottom > .footer-quick-access {
    grid-column: 1;
    grid-row: 1;
  }

  .site-footer .footer-bottom > .footer-copyright {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 560px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-about,
  .site-footer .footer-grid > .footer-contact,
  .site-footer .footer-grid > .footer-column:not(.footer-contact),
  .site-footer .footer-trust {
    grid-column: 1;
    grid-row: auto;
  }

  .site-footer .footer-grid > .footer-contact {
    align-items: flex-start; /* UI-11 earlier footer block */
  }
}


/* UI-09 follow-up: keep the information column in its own grid cell. */
.site-footer .footer-grid > .footer-column:not(.footer-contact) {
  grid-column: auto;
}

/* UI-05: keep public-page footers in the same compact layout as the homepage. */
.footer {
  padding: 30px 0 14px;
  background: linear-gradient(135deg, #315859 0%, #214d4b 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px 24px;
}

.footer-brand {
  grid-column: 1;
  grid-row: 1;
}

.footer-grid > nav {
  grid-column: 2 / 4;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer nav > * + * {
  margin-inline-start: 0;
  padding-inline-start: 0;
  border-inline-start: 0;
}

.footer-trust {
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
  width: 154px;
  min-width: 154px;
  height: 78px;
  min-height: 78px;
  padding: 7px 10px;
}

.footer-trust img {
  width: 124px;
  max-height: 62px;
  object-fit: contain;
}

.footer-contact {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgb(219 234 230 / 22%);
}

.footer-contact strong {
  white-space: nowrap;
}

.footer-contact address {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 13px;
  color: #a9c0ba;
  font-size: .68rem;
  line-height: 1.7;
}

.footer-contact address br {
  display: none;
}

.footer-contact address a,
.footer-contact address a + a {
  margin: 0;
  padding: 0;
  border: 0;
  color: #a9c0ba;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }

  .footer-grid > nav {
    grid-column: 2;
  }

  .footer-trust {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .footer-contact {
    grid-row: 3;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-grid > nav,
  .footer-trust,
  .footer-contact {
    grid-column: 1;
    grid-row: auto;
  }

  .footer-grid > nav {
    flex-direction: column;
    gap: 5px;
  }

  .footer-trust {
    justify-self: start;
  }

  .footer-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

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

/* UI-04: keep public contact details small, linear and below a separator. */
.footer-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr);
  grid-template-areas:
    "brand nav"
    "contact contact";
  align-items: start;
  gap: 18px 24px;
}

.footer-brand {
  grid-area: brand;
}

.footer-grid > nav {
  grid-area: nav;
}

.footer-contact {
  grid-area: contact;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgb(219 234 230 / 20%);
}

.footer-contact strong {
  color: #fff;
  font-size: .72rem;
  white-space: nowrap;
}

.footer-contact address {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  font-size: .7rem;
  line-height: 1.6;
}

.footer-contact address a + a {
  margin-inline-start: 10px;
  padding-inline-start: 10px;
  border-inline-start: 1px solid rgb(219 234 230 / 28%);
}

.footer-contact .footer-trust {
  min-width: 78px;
  min-height: 78px;
  justify-self: end;
}

.footer-contact .footer-trust img {
  width: 66px;
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand nav"
      "contact contact";
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "contact";
  }

  .footer-contact {
    grid-template-columns: 1fr;
  }

  .footer-contact .footer-trust {
    justify-self: start;
  }
}

/* v2 shared public-shell alignment: light-to-dark header, readable logo, and compact footer. */
.header {
  background: linear-gradient(90deg, #7fa59b 0%, #3b7069 46%, #315859 100%);
  box-shadow: 0 10px 30px rgb(7 26 42 / 20%);
}

.logo {
  background-color: #fff;
  background-image: url("/assets/holda-logo-transparent-v2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 88% auto;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgb(7 26 42 / 18%);
}

.footer {
  padding: 22px 0;
  color: #dbeae6;
  background: linear-gradient(135deg, #315859 0%, #214d4b 100%);
  font-size: 0.78rem;
}

.footer-grid {
  grid-template-columns: minmax(170px, 1.1fr) minmax(190px, 1fr) minmax(220px, 1.3fr) auto;
  gap: 18px 24px;
}

.footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.footer nav > * + * {
  margin-inline-start: 12px;
  padding-inline-start: 12px;
  border-inline-start: 1px solid rgb(219 234 230 / 28%);
}

.footer nav a {
  color: #dbeae6;
  text-decoration: none;
}

.footer nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-trust {
  min-width: 94px;
  min-height: 94px;
  padding: 6px;
  border: 1px solid #dbeae6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 18px rgb(7 26 42 / 18%);
}

.footer-trust img {
  display: block;
  width: 80px;
  max-width: 100%;
  height: auto;
}

/* UI-02: match the app shell with a readable public header and footer. */
body,
button,
input,
select,
textarea {
  font-family: "Vazir", Tahoma, Arial, sans-serif;
}

.header {
  border-bottom-color: rgb(255 255 255 / 26%);
  background: linear-gradient(115deg, #3f776e 0%, #285f5a 52%, #315859 100%);
  box-shadow: 0 10px 30px rgb(7 26 42 / 20%);
}

.logo {
  background-color: #fff;
  background-image: url("/assets/holda-logo-transparent-v2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 88% auto;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgb(7 26 42 / 18%);
}

.links a {
  color: #fff;
}

.footer {
  padding: 22px 0;
  color: #dbeae6;
  background: linear-gradient(135deg, #315859 0%, #214d4b 100%);
  font-size: 0.78rem;
}

.footer-grid {
  grid-template-columns: minmax(170px, 1.1fr) minmax(190px, 1fr) minmax(220px, 1.3fr) auto;
  align-items: start;
  gap: 18px 24px;
}

.footer-brand,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 3px;
}

.footer-brand strong,
.footer-contact strong {
  color: #fff;
  font-size: 0.8rem;
}

.footer-brand span,
.footer-contact address {
  color: #b9cfca;
  font-size: 0.76rem;
  line-height: 1.75;
}

.footer-contact address {
  margin: 0;
  font-style: normal;
}

.footer-contact a,
.footer nav a {
  color: #dbeae6;
  font-weight: 700;
  text-decoration: none;
}

.footer-contact a:hover,
.footer nav a:hover {
  color: #fff;
}

.footer nav {
  display: flex;
  align-items: center;
  align-self: start;
  flex-wrap: wrap;
  gap: 0;
}

.footer nav > * + * {
  margin-inline-start: 12px;
  padding-inline-start: 12px;
  border-inline-start: 1px solid rgb(219 234 230 / 28%);
}

.footer-trust {
  min-width: 94px;
  min-height: 94px;
  padding: 6px;
  border: 1px solid #dbeae6;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 18px rgb(7 26 42 / 18%);
}

.footer-trust img {
  width: 80px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-trust {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* UI-05 final overrides: public footers use the same small contact strip as the homepage. */
.footer {
  padding: 30px 0 14px;
  background: linear-gradient(135deg, #315859 0%, #214d4b 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px 24px;
}

.footer-brand { grid-column: 1; grid-row: 1; }

.footer-grid > nav {
  grid-column: 2 / 4;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer nav > * + * {
  margin-inline-start: 0;
  padding-inline-start: 0;
  border-inline-start: 0;
}

.footer-trust {
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
  width: 154px;
  min-width: 154px;
  height: 78px;
  min-height: 78px;
  padding: 7px 10px;
}

.footer-trust img {
  width: 124px;
  max-height: 62px;
  object-fit: contain;
}

.footer-contact {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgb(219 234 230 / 22%);
}

.footer-contact address {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 13px;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: .68rem;
  line-height: 1.7;
}

.footer-contact address br { display: none; }

.footer-contact address a,
.footer-contact address a + a {
  margin: 0;
  padding: 0;
  border: 0;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }

  .footer-grid > nav { grid-column: 2; }

  .footer-trust {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .footer-contact { grid-row: 3; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }

  .footer-brand,
  .footer-grid > nav,
  .footer-trust,
  .footer-contact {
    grid-column: 1;
    grid-row: auto;
  }

  .footer-grid > nav {
    flex-direction: column;
    gap: 5px;
  }

  .footer-trust { justify-self: start; }

  .footer-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

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

/* UI-09 actual EOF override: final shared footer cascade. */
.site-footer {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 30px 0 0;
  color: #fff;
  background: linear-gradient(135deg, #315859 0%, #214d4b 100%);
  border: 0;
  font-size: inherit;
  grid-template-areas: none;
}

.site-footer > .container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-footer .footer-grid,
.site-footer > div.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  grid-template-areas: none;
  align-items: start;
  gap: 18px 24px;
  padding-bottom: 24px;
}

.site-footer .footer-about {
  grid-column: 1;
  grid-row: 1;
  display: block;
  align-content: start;
  gap: 0;
}

.site-footer .footer-about .brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
}

.site-footer .footer-about .brand-logo {
  width: 164px;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.site-footer .footer-about p {
  margin: 10px 0 0;
  color: #d3e1dd;
  font-size: 13px;
  line-height: 1.8;
}

.site-footer .footer-column:not(.footer-contact) {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  grid-column: auto;
  grid-row: 1;
}

.site-footer .footer-column strong,
.site-footer .footer-grid > .footer-contact strong {
  flex-basis: auto;
  margin-bottom: 5px;
  color: #fff;
  font-size: 14px;
  line-height: 1.75;
}

.site-footer .footer-column a {
  color: #e0ece8;
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
}

.site-footer .footer-column a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .footer-grid > .footer-contact {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  justify-self: start;
  min-width: 0;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.site-footer .footer-grid > .footer-contact address {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 0;
  border: 0;
  color: #e0ece8;
  font-size: 13px;
  line-height: 1.7;
  font-style: normal;
}

.site-footer .footer-grid > .footer-contact address br {
  display: none;
}

.site-footer .footer-grid > .footer-contact address a,
.site-footer .footer-grid > .footer-contact address a + a {
  margin: 0;
  padding: 0;
  border: 0 !important;
  color: #e0ece8;
  font-size: 13px;
  text-decoration: none;
}

.site-footer .footer-trust {
  grid-column: 4;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 154px;
  min-width: 154px;
  height: 78px;
  min-height: 78px;
  margin-top: 0;
  padding: 7px 10px;
  border: 1px solid #fff;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(7, 31, 33, .16);
}

.site-footer .footer-trust img {
  display: block;
  width: 124px;
  max-width: 100%;
  max-height: 62px;
  height: auto;
  object-fit: contain;
}

.site-footer .footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-areas: none;
  align-items: center;
  gap: 18px 26px;
  padding: 12px 0;
  border-top: 1px solid rgba(219, 234, 230, .22);
}

.site-footer .footer-copyright {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 18px;
  min-width: 0;
  color: #9fb8b2;
  font-size: 11px;
}

.site-footer .footer-copyright p {
  margin: 0;
}

.site-footer .footer-bottom > .footer-quick-access {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  justify-self: start;
  gap: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.site-footer .footer-bottom > .footer-quick-access strong {
  display: none;
}

.site-footer .footer-bottom > .footer-quick-access a,
.site-footer .footer-bottom > .footer-quick-access a + a {
  margin: 0;
  padding: 0;
  border: 0;
  color: #e0ece8;
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
}

.site-footer .footer-bottom > .footer-quick-access a + a {
  margin-inline-start: 12px;
}

@media (max-width: 1040px) {
  .site-footer .footer-grid,
  .site-footer > div.footer-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .site-footer .footer-trust {
    grid-column: 3;
  }
}

@media (max-width: 820px) {
  .site-footer > .container {
    width: min(100% - 32px, 1180px);
  }

  .site-footer .footer-grid,
  .site-footer > div.footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .site-footer .footer-about {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .site-footer .footer-grid > .footer-contact {
    grid-column: 1;
    grid-row: 2;
  }

  .site-footer .footer-grid > .footer-column:not(.footer-contact) {
    grid-column: 2;
    grid-row: 2;
  }

  .site-footer .footer-trust {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
  }

  .site-footer .footer-bottom {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-bottom > .footer-quick-access {
    grid-column: 1;
    grid-row: 1;
  }

  .site-footer .footer-bottom > .footer-copyright {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 560px) {
  .site-footer .footer-grid,
  .site-footer > div.footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-about,
  .site-footer .footer-grid > .footer-contact,
  .site-footer .footer-grid > .footer-column:not(.footer-contact),
  .site-footer .footer-trust {
    grid-column: 1;
    grid-row: auto;
  }

  .site-footer .footer-grid > .footer-contact {
    align-items: flex-start;
  }
}
/* UI-11: unify the footer logo and trust mark frames and move information links to the lower row. */
.site-footer .footer-about .brand {
  width: 184px !important;
  min-width: 184px !important;
  height: 94px !important;
  min-height: 94px !important;
  padding: 8px 10px !important;
  align-items: center;
  justify-content: center;
}

.site-footer .footer-about .brand-logo {
  width: 164px !important;
  height: 78px !important;
  max-width: 164px !important;
  max-height: 78px !important;
}

.site-footer .footer-trust-wrap {
  grid-column: 4 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-self: end !important;
  gap: 6px;
  width: 184px;
  min-width: 184px;
}

.site-footer .footer-trust {
  display: inline-flex !important;
  position: static;
  grid-column: auto !important;
  grid-row: auto !important;
  justify-self: auto !important;
  width: 184px !important;
  min-width: 184px !important;
  height: 94px !important;
  min-height: 94px !important;
  margin: 0 !important;
  padding: 8px 10px !important;
}

.site-footer .footer-trust img {
  width: 164px !important;
  max-width: 164px !important;
  max-height: 78px !important;
  height: auto !important;
}

.site-footer .footer-trust-label {
  display: block;
  width: 184px;
  color: #d3e1dd;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

.site-footer .footer-contact address,
.site-footer .footer-contact address a {
  font-style: normal !important;
}

.site-footer .footer-bottom > .footer-quick-access a,
.site-footer .footer-bottom > .footer-quick-access a + a {
  font-size: 11px !important;
  line-height: 1.7;
}

.site-footer .footer-copyright p + p {
  display: none !important;
}

@media (max-width: 1040px) {
  .site-footer .footer-trust-wrap {
    grid-column: 3 !important;
  }
}

@media (max-width: 820px) {
  .site-footer .footer-trust-wrap {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    justify-self: start !important;
    align-items: flex-start;
  }

  .site-footer .footer-trust-label {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .site-footer .footer-trust-wrap {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}
