/* -- Vazirmatn (self-hosted; Google Fonts blocked on some live hosts) -- */
@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/vazirmatn-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/vazirmatn-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/vazirmatn-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/vazirmatn-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/vazirmatn-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* -- Theme tokens -- */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #141210;
  --text: #e8e4dc;
  --text-muted: #9a958c;
  --gold: #c09041;
  --gold-light: #d4a84b;
  --gold-dark: #9a7030;
  --gold-shine: #f0d78c;
  --gold-gradient: linear-gradient(145deg, #f0d78c 0%, #d4a84b 35%, #c09041 65%, #8a6528 100%);
  --gold-gradient-h: linear-gradient(90deg, #9a7030, #d4a84b, #c09041, #d4a84b, #9a7030);
  --border-gold: rgba(192, 144, 65, 0.45);
  --cta-filled-text: #231f20;
  --footer-bg: #080807;
  --shadow-gold: 0 0 32px rgba(192, 144, 65, 0.2);
  --hero-bg: radial-gradient(ellipse 80% 60% at 50% 100%, #1a1510 0%, #0a0a0a 70%);
  --hero-img-opacity: 0.58;
  --hero-overlay: linear-gradient(to bottom,
      rgba(10, 10, 10, 0.3) 0%,
      rgba(10, 10, 10, 0.08) 35%,
      rgba(10, 10, 10, 0.18) 65%,
      rgba(10, 10, 10, 0.72) 100%);
  --scrim: rgba(10, 10, 10, 0.78);
}

[data-theme="light"] {
  --bg: #f8f6f2;
  --bg-elevated: #ffffff;
  --text: #231f20;
  --text-muted: #5c574f;
  --border-gold: rgba(192, 144, 65, 0.55);
  --footer-bg: #ebe7df;
  --shadow-gold: 0 0 24px rgba(192, 144, 65, 0.12);
  --hero-bg: radial-gradient(ellipse 80% 60% at 50% 100%, #ede8df 0%, #f8f6f2 70%);
  --hero-img-opacity: 0.16;
  --hero-overlay: linear-gradient(to bottom,
      rgba(248, 246, 242, 0.55) 0%,
      rgba(248, 246, 242, 0.25) 35%,
      rgba(248, 246, 242, 0.4) 65%,
      rgba(248, 246, 242, 0.94) 100%);
  --scrim: rgba(35, 31, 32, 0.72);
}

/* -- Reset -- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: "Vazirmatn", Tahoma, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
  min-height: 100vh;
  transition: background 0.3s ease, color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(92%, 72rem);
  margin-inline: auto;
}

/* Visible to screen readers only. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.section-heading {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--gold);
  text-align: center;
}

.section-subheading {
  color: var(--text-muted);
  text-align: center;
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  margin-top: 0.4rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* -- Theme toggle -- */
.theme-toggle {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: var(--bg-elevated);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease;
}

.theme-toggle:hover {
  box-shadow: var(--shadow-gold);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.theme-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-sun {
  display: none;
}

.icon-moon {
  display: block;
}

[data-theme="light"] .icon-sun {
  display: block;
}

[data-theme="light"] .icon-moon {
  display: none;
}

/* -- Landing (above-the-fold) -- */
.landing {
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.landing .hero {
  flex: 1 1 auto;
  min-height: 0;
  align-items: center;
  justify-content: center;
}

.landing .cta {
  margin-top: auto;
  padding-block: clamp(0.65rem, 1.8vh, 1rem) 0;
}

.landing .inquiry {
  padding-block: clamp(0.85rem, 2.2vh, 1.25rem) 0;
}

.landing .inquiry .section-subheading {
  margin-bottom: 0.75rem;
}

.landing .value-prop {
  padding-block: clamp(0.75rem, 2vh, 1.25rem) max(clamp(0.75rem, 2vh, 1.25rem), env(safe-area-inset-bottom, 0px));
}

.landing .hero__content {
  padding-block: clamp(0.35rem, 1.2vh, 0.85rem) 0;
  width: 100%;
}

.landing .hero .logo-img--dark {
  width: min(96vw, calc((100svh - 20rem) * 1.67), 960px);
  max-height: calc(100svh - 20rem);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.landing .hero .logo-img:not(.logo-img--dark) {
  width: min(90vw, calc((100svh - 20rem) * 1.67), 540px);
  max-height: calc(100svh - 20rem);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.landing .hero__tagline {
  margin-top: clamp(0.45rem, 1.2vh, 0.75rem);
  padding-top: clamp(0.4rem, 1vh, 0.65rem);
  font-size: clamp(0.85rem, 2.2vw, 1.05rem);
}

.landing .cta,
.landing .inquiry,
.landing .value-prop {
  flex-shrink: 0;
}

/* Mobile: fill viewport — big logo in middle, buttons pinned to bottom */
@media (max-width: 767px) {
  .landing {
    height: 100svh;
    height: 100dvh;
    max-height: 100svh;
    max-height: 100dvh;
  }

  .landing .hero {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }

  .landing .hero__content {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-block: 0.5rem 0;
  }

  .landing .hero__logo {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .landing .hero .logo-img--dark {
    width: auto;
    max-width: min(96vw, 600px);
    max-height: 100%;
    height: auto;
    object-fit: contain;
  }

  .landing .hero .logo-img:not(.logo-img--dark) {
    width: auto;
    max-width: min(90vw, 480px);
    max-height: 100%;
    height: auto;
    object-fit: contain;
  }

  .landing .hero__tagline {
    flex-shrink: 0;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
  }

  .landing .cta {
    margin-top: auto;
    padding-block: 0.5rem 0;
  }

  .landing .inquiry {
    padding-block: 0.55rem 0;
  }

  .landing .inquiry .section-heading {
    font-size: clamp(1.05rem, 3.2vw, 1.3rem);
  }

  .landing .inquiry .section-subheading {
    margin-bottom: 0.5rem;
  }

  .landing .value-prop {
    padding-block: 0.5rem max(0.5rem, env(safe-area-inset-bottom, 0px));
  }

  .landing .cta-card {
    min-height: 3.75rem;
    padding: 0.6rem 0.65rem;
    gap: 0.5rem;
  }

  .landing .cta-card__icon {
    width: 2rem;
    height: 2rem;
  }

  .landing .cta-card__icon svg {
    width: 1.45rem;
    height: 1.45rem;
  }

  .landing .cta-card__title {
    font-size: clamp(0.68rem, 2vw, 0.82rem);
  }

  .landing .cta-card__subtitle {
    font-size: clamp(0.6rem, 1.7vw, 0.72rem);
  }

  .landing .inquiry__input,
  .landing .inquiry__btn {
    min-height: 2.35rem;
    font-size: 0.88rem;
  }

  .landing .value-prop__btn,
  .landing .value-prop__branches-btn {
    min-height: 2.35rem;
    padding: 0.45rem 1rem;
    font-size: 0.88rem;
  }
}

/* -- Hero -- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  min-height: clamp(14rem, 36vh, 22rem);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg picture {
  display: contents;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: var(--hero-img-opacity);
  transition: opacity 0.3s ease;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-overlay);
  pointer-events: none;
}

/* Hero content (logo + tagline) */
.hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: 1.25rem 0.5rem;
}

.hero__logo {
  display: inline-block;
}

.logo-img {
  width: min(65vw, 360px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.5));
}

.logo-img--light {
  display: none;
}

.logo-img--dark {
  display: block;
  width: min(75vw, 560px);
  max-width: none;
}

[data-theme="light"] .logo-img--light {
  display: block;
}

[data-theme="light"] .logo-img--dark {
  display: none;
}

.hero__tagline {
  color: var(--gold);
  font-size: clamp(0.95rem, 2.6vw, 1.15rem);
  font-weight: 500;
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border-gold);
  display: inline-block;
  min-width: 12rem;
  letter-spacing: 0.02em;
}

/* -- Value proposition -- */
.value-prop {
  text-align: center;
  padding-block: clamp(1.25rem, 3.5vh, 2rem) clamp(1.25rem, 4vh, 2rem);
  padding-bottom: max(clamp(1.25rem, 4vh, 2rem), env(safe-area-inset-bottom, 0px));
}

.value-prop__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.value-prop__btn,
.value-prop__branches-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: min(100%, 9rem);
  max-width: 13rem;
  min-height: 2.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-gold);
  border-radius: 0.5rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.value-prop__btn:hover,
.value-prop__branches-btn:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
  background: rgba(192, 144, 65, 0.08);
}

.value-prop__btn:focus-visible,
.value-prop__branches-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* -- CTA cards -- */
.cta {
  padding-block: clamp(1rem, 3vh, 1.75rem) 0;
}

.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cta-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  min-height: 4.25rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cta-card:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.cta-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.cta-card--outlined {
  border: 1px solid var(--gold);
  background: rgba(192, 144, 65, 0.14);
  box-shadow: 0 0 20px rgba(192, 144, 65, 0.12);
}

.cta-card--outlined .cta-card__title {
  color: var(--gold-shine);
}

.cta-card--outlined .cta-card__subtitle {
  color: var(--text-muted);
}

.cta-card--outlined .cta-card__icon {
  color: var(--gold);
}

.cta-card--outlined:hover {
  background: rgba(192, 144, 65, 0.22);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-gold);
}

.cta-card--filled {
  background: var(--gold-gradient);
  border: 1px solid transparent;
}

.cta-card--filled .cta-card__title,
.cta-card--filled .cta-card__subtitle {
  color: var(--cta-filled-text);
}

.cta-card__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.cta-card__icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.cta-card__icon--dark {
  color: var(--cta-filled-text);
}

.cta-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cta-card__title {
  font-weight: 600;
  font-size: clamp(0.72rem, 2.2vw, 1.1rem);
  line-height: 1.35;
}

.cta-card--outlined .cta-card__subtitle {
  font-size: clamp(0.65rem, 1.8vw, 0.85rem);
  line-height: 1.35;
}

.cta-card--filled .cta-card__subtitle {
  font-size: clamp(0.65rem, 1.8vw, 0.85rem);
  line-height: 1.35;
  opacity: 0.85;
}

/* -- Features -- */
.features {
  padding-block: clamp(2.5rem, 6vh, 4rem) 3.5rem;
}

.features__grid {
  display: grid;
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 1.5rem 1rem;
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.feature__icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.feature__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.feature__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
}

/* -- Branches -- */
.branches {
  padding-block: 3rem 3.5rem;
  background: var(--bg-elevated);
}

.branches__grid {
  display: grid;
  gap: 1.25rem;
}

.branch-card {
  position: relative;
  min-height: 18rem;
  border-radius: 1rem;
  overflow: hidden;
  background-color: #1a1510;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.branch-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.branch-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--scrim) 20%, rgba(10, 10, 10, 0.35) 65%, rgba(10, 10, 10, 0.1) 100%);
}

.branch-card__content {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  color: #f0ece4;
}

.branch-card__name {
  color: var(--gold-shine);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.branch-card__address {
  font-size: 0.85rem;
  color: #d8d3c8;
  margin-bottom: 0.75rem;
  font-weight: 300;
}

.branch-card__meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: #c9c4b8;
}

.branch-card__meta a {
  color: var(--gold-light);
  transition: color 0.2s ease;
}

.branch-card__meta a:hover {
  color: var(--gold-shine);
}

/* -- Inquiry -- */
.inquiry {
  padding-block: clamp(1.25rem, 3.5vh, 2rem) 0;
}

.inquiry .section-heading {
  font-size: clamp(1.15rem, 3.2vw, 1.6rem);
}

.inquiry .section-subheading {
  margin-bottom: 1rem;
}

.inquiry__form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 44rem;
  margin-inline: auto;
}

.inquiry__input {
  flex: 1 1 12rem;
  min-width: 0;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-gold);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}

.inquiry__input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.inquiry__btn {
  flex: 0 0 auto;
  min-height: 2.5rem;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  background: var(--gold-gradient);
  color: var(--cta-filled-text);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.inquiry__btn:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.inquiry__btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* -- Contact hub -- */
.contact-hub {
  padding-block: 3rem 3.5rem;
}

.contact-hub__grid {
  display: grid;
  gap: 0.85rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-gold);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-card:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.contact-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.contact-card__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.contact-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.contact-card__label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-card__value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  overflow-wrap: break-word;
}

/* -- Contact page -- */
.contact-page__header {
  text-align: center;
  padding-block: clamp(2rem, 6vh, 3.5rem) clamp(1rem, 3vh, 2rem);
}

.contact-page__logo {
  display: block;
  width: 100%;
  margin-bottom: clamp(0.85rem, 2.5vh, 1.5rem);
  text-align: center;
}

.contact-page__logo .logo-img {
  width: clamp(11rem, 72vw, 22.5rem);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.45));
}

.contact-page__logo .logo-img--dark {
  width: clamp(12.5rem, 78vw, 27.5rem);
  max-width: min(92vw, 27.5rem);
}

.contact-page__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact-page__subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-page {
  padding-block: 0 clamp(2.5rem, 6vh, 4rem);
}

.contact-page__grid {
  display: grid;
  gap: 1.25rem;
  max-width: 52rem;
  margin-inline: auto;
}

.dept-group {
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: 0.75rem;
  padding: 1.25rem 1.35rem;
  transition: box-shadow 0.2s ease;
}

.dept-group:hover {
  box-shadow: var(--shadow-gold);
}

.dept-group__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-gold);
}

.dept-group__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dept-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
  padding-block: 0.35rem;
}

.dept-contact__name {
  font-weight: 500;
  color: var(--text);
  text-align: right;
  flex: 1;
}

.dept-contact__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.dept-contact__phone {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.dept-contact__phone:hover {
  color: var(--text);
}

.dept-contact__wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
  color: #25d366;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dept-contact__wa:hover {
  background: rgba(37, 211, 102, 0.12);
  transform: scale(1.05);
}

.dept-contact__wa svg {
  width: 1.25rem;
  height: 1.25rem;
}

.dept-contact__phone:focus-visible,
.dept-contact__wa:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.footer__nav a[aria-current="page"] {
  color: var(--gold);
}

/* -- Footer -- */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-gold);
  padding-block: 1.5rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer__nav a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: var(--gold);
}

.footer__sep {
  color: var(--border-gold);
  user-select: none;
}

.footer__copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.footer__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer__contact-item:hover {
  color: var(--gold);
}

.footer__contact-item svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--gold);
}

/* -- Toast -- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, 1rem);
  z-index: 300;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-gold);
  background: var(--bg-elevated);
  color: var(--gold);
  font-weight: 600;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* -- Responsive -- */
/* Short viewports (e.g. iPhone SE): shrink the hero so the branches
   button isn't pushed past the fold before the user scrolls. */
@media (max-height: 700px) {
  .hero {
    min-height: clamp(10rem, 28vh, 14rem);
  }

  .landing .hero {
    min-height: 0;
    max-height: none;
  }

  .landing .cta {
    padding-block: 0.35rem 0;
  }

  .landing .inquiry {
    padding-block: 0.4rem 0;
  }

  .landing .value-prop {
    padding-block: 0.4rem max(0.4rem, env(safe-area-inset-bottom, 0px));
  }

  .landing .cta-card {
    min-height: 3.35rem;
    padding: 0.5rem 0.55rem;
  }

  .landing .hero__tagline {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    font-size: 0.82rem;
  }

  .hero__content {
    padding-block: 0.85rem 0.4rem;
  }

  .contact-page__header {
    padding-block: clamp(1.25rem, 4vh, 2rem) clamp(0.75rem, 2vh, 1.25rem);
  }

  .contact-page__logo .logo-img {
    width: clamp(9.5rem, 58vw, 16rem);
  }

  .contact-page__logo .logo-img--dark {
    width: clamp(10.5rem, 64vw, 18rem);
    max-width: min(88vw, 18rem);
  }
}

@media (min-width: 640px) {
  .footer__contact {
    flex-direction: row;
    gap: 1.5rem;
  }

  .cta-card {
    padding: 0.9rem 1.25rem;
    gap: 1rem;
  }

  .cta-card__icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .cta-card__icon svg {
    width: 1.85rem;
    height: 1.85rem;
  }

  .contact-hub__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .hero {
    min-height: clamp(16rem, 38vh, 24rem);
  }

  .landing .hero {
    min-height: 0;
  }

  .landing .hero .logo-img--dark {
    width: min(92vw, calc((100svh - 19.5rem) * 1.67), 960px);
    max-height: calc(100svh - 19.5rem);
  }

  .landing .hero .logo-img:not(.logo-img--dark) {
    width: min(86vw, calc((100svh - 19.5rem) * 1.67), 560px);
    max-height: calc(100svh - 19.5rem);
  }

  .value-prop__actions {
    flex-wrap: nowrap;
  }

  .value-prop__btn,
  .value-prop__branches-btn {
    flex: 0 1 auto;
    min-width: 10rem;
    max-width: none;
  }

  .contact-page__grid {
    grid-template-columns: 1fr 1fr;
    max-width: 64rem;
    gap: 1.5rem;
  }

  .contact-page__logo .logo-img {
    width: clamp(14rem, 42vw, 22.5rem);
  }

  .contact-page__logo .logo-img--dark {
    width: clamp(16rem, 48vw, 27.5rem);
    max-width: min(48vw, 27.5rem);
  }

  .cta {
    padding-block: clamp(1.25rem, 3.5vh, 2.25rem) 0;
  }

  .cta__grid {
    max-width: 48rem;
    margin-inline: auto;
    gap: 1rem;
  }

  .inquiry {
    padding-block: clamp(1.5rem, 4vh, 2.5rem) 0;
  }

  .value-prop {
    padding-block: clamp(1.5rem, 4vh, 2.5rem) clamp(1.25rem, 3vh, 2rem);
  }

  .features__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .branches__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: right;
  }

  .footer__nav {
    order: 1;
  }

  .footer__copyright {
    order: 2;
  }

  .footer__contact {
    order: 3;
    flex-direction: column;
    align-items: flex-end;
  }
}

@media (min-width: 1024px) {
  .features {
    padding-block: clamp(3rem, 7vh, 4.5rem) 4rem;
  }

  .branches {
    padding-block: 4rem 4.5rem;
  }

  .contact-hub {
    padding-block: 1rem 4.5rem;
  }

  .contact-hub__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}