/* =========================================================
   PURE&CLEAN MOBILE — CONTACT PAGE
   Load after assets/css/style.css
   ========================================================= */

.primary-nav__active {
  color: var(--teal);
}

.contact-hero {
  padding: clamp(1.1rem, 3vw, 1.65rem) 0 clamp(2.7rem, 5vw, 4.3rem);
  background: linear-gradient(180deg, #fffdf5 0%, #fff 100%);
  border-bottom: 1px solid #f0f1f5;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  color: var(--muted);
  font-size: .83rem;
}

.breadcrumbs a {
  color: var(--teal);
  font-weight: 650;
}

.contact-hero__grid {
  display: grid;
  grid-template-columns: minmax(460px, 1fr) minmax(330px, 430px);
  align-items: center;
  gap: clamp(2rem, 7vw, 6.2rem);
}

.contact-hero__content h1 {
  max-width: 700px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.45rem, 5vw, 4.25rem);
  line-height: 1.01;
  letter-spacing: -.065em;
}

.contact-hero__lead {
  max-width: 650px;
  margin-bottom: 2rem;
  color: var(--body);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.72;
}

.contact-hero__panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid #ebecee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(30, 32, 42, .06);
}

.contact-hero__panel h2 {
  margin-bottom: 1.3rem;
  font-size: 1.3rem;
}

.contact-hero__checks {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-hero__checks li {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: start;
  gap: .7rem;
  color: var(--body);
  font-size: .9rem;
  line-height: 1.55;
}

.contact-hero__checks svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: #ecf8f6;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-topics {
  padding: clamp(2.8rem, 5vw, 4.2rem) 0;
}

.contact-topics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.contact-topic {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 1.45rem 1.25rem 1.25rem;
  border: 1px solid #ecedf2;
  border-radius: 14px;
  background: var(--white);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.contact-topic:hover {
  border-color: #dcd18e;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  text-decoration: none;
}

.contact-topic svg {
  width: 29px;
  height: 29px;
  margin-bottom: 1rem;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-topic h3 {
  margin-bottom: .5rem;
  font-size: 1rem;
}

.contact-topic p {
  flex: 1;
  margin-bottom: .95rem;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
}

.contact-topic span {
  color: var(--teal);
  font-size: .84rem;
  font-weight: 720;
}

.contact-section {
  padding: 0 0 clamp(3rem, 6vw, 4.5rem);
}

.contact-section__grid {
  display: grid;
  grid-template-columns: minmax(540px, 1fr) minmax(310px, 395px);
  align-items: start;
  gap: clamp(1.35rem, 3.5vw, 2.2rem);
}

.contact-form-card {
  scroll-margin-top: calc(var(--header-h) + 20px);
  padding: clamp(1.5rem, 3.5vw, 2.35rem);
  border: 1px solid #eceef3;
  border-radius: 18px;
  background: #fff;
}

.contact-form-card h2 {
  margin-bottom: .65rem;
}

.contact-form-card__intro {
  margin-bottom: 1.65rem;
  color: var(--muted);
  font-size: .94rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form .form-field textarea {
  width: 100%;
  min-height: 140px;
  resize: vertical;
  border: 1px solid #ccd0dc;
  border-radius: 8px;
  padding: .75rem;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.contact-form .form-field textarea.is-invalid {
  outline: 2px solid #bf2032;
  outline-offset: 1px;
}

.contact-form .form-field input::placeholder,
.contact-form .form-field textarea::placeholder {
  color: #99a0ac;
}

.contact-form__notice {
  display: grid;
  grid-template-columns: 21px 1fr;
  gap: .68rem;
  align-items: start;
  padding: .82rem .9rem;
  border-radius: 9px;
  background: #fff9e6;
  color: #554819;
}

.contact-form__notice svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #ad8100;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-form__notice p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.5;
}

.contact-form__submit {
  margin-top: .25rem;
}

.contact-form__submit[disabled] {
  cursor: wait;
  opacity: .7;
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.contact-info-card {
  padding: clamp(1.25rem, 3vw, 1.65rem);
  border: 1px solid #ecedf2;
  border-radius: 15px;
  background: var(--white);
}

.contact-info-card h2 {
  margin-bottom: .7rem;
  font-size: 1.23rem;
}

.contact-info-card address {
  margin: 0 0 1.05rem;
  color: var(--ink-2);
  font-style: normal;
  font-size: .92rem;
  line-height: 1.7;
}

.contact-info-card__note {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .79rem;
  line-height: 1.55;
}

.contact-info-card--company {
  background: var(--panel);
}

.company-list {
  display: grid;
  gap: .72rem;
  margin: 0 0 1.1rem;
}

.company-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .68rem;
  border-bottom: 1px solid #e5e7ed;
  font-size: .83rem;
}

.company-list dt {
  color: var(--muted);
}

.company-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

.contact-info-card--help p {
  color: var(--muted);
  font-size: .87rem;
}

.contact-guidance {
  padding: 0 0 clamp(3rem, 6vw, 4.2rem);
}

.contact-guidance__box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.45rem, 3vw, 2.15rem);
  border-radius: 16px;
  background: #292929;
  color: #fff;
}

.contact-guidance__box h2 {
  margin-bottom: .45rem;
  color: #fff;
}

.contact-guidance__box p:not(.section-label) {
  max-width: 610px;
  margin: 0;
  color: #d4d4d4;
  font-size: .92rem;
}

.contact-guidance__box .section-label {
  color: var(--yellow);
}

.contact-guidance__links {
  flex: 0 0 auto;
  display: grid;
  gap: .55rem;
}

.contact-guidance__links a {
  min-width: 205px;
  padding: .65rem .95rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  color: #fff;
  font-size: .85rem;
  font-weight: 650;
}

.contact-guidance__links a:hover {
  background: rgba(255, 255, 255, .09);
  text-decoration: none;
}

.contact-confirmation__body {
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.contact-confirmation__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e7f8f1;
  color: #0a6447;
  font-size: 1.55rem;
  font-weight: 750;
}

.contact-confirmation__body p {
  margin: 0 0 .4rem;
  color: var(--body);
  font-size: .94rem;
  line-height: 1.65;
}

@media (max-width: 1050px) {
  .contact-hero__grid {
    grid-template-columns: 1fr 385px;
    gap: 2.2rem;
  }

  .contact-topics__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-topic {
    min-height: 182px;
  }

  .contact-section__grid {
    grid-template-columns: 1fr 350px;
  }
}

@media (max-width: 860px) {
  .contact-hero__grid,
  .contact-section__grid {
    grid-template-columns: 1fr;
  }

  .contact-aside {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info-card--help {
    grid-column: 1 / -1;
  }

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

  .contact-guidance__links {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-guidance__links a {
    min-width: 0;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .contact-hero {
    padding-top: .8rem;
  }

  .breadcrumbs {
    margin-bottom: 1.6rem;
  }

  .contact-hero__content h1 {
    font-size: clamp(2.15rem, 11vw, 2.7rem);
  }

  .contact-topics {
    padding: 2.35rem 0;
  }

  .contact-topics__grid,
  .contact-aside {
    grid-template-columns: 1fr;
  }

  .contact-topic {
    min-height: 0;
    padding: 1.15rem;
  }

  .contact-form-card {
    padding: 1.2rem;
    border-radius: 13px;
  }

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

  .contact-info-card--help {
    grid-column: auto;
  }

  .contact-guidance__links {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   CONTACT FORM PROCESSING MODAL
   ========================================================= */

.contact-processing {
  width: min(470px, calc(100% - 28px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: var(--white, #fff);
  color: var(--body, #4d5360);
  box-shadow: 0 22px 64px rgba(18, 21, 27, .3);
}

.contact-processing::backdrop {
  background: rgba(16, 19, 24, .68);
  backdrop-filter: blur(4px);
}

.contact-processing__state {
  padding: clamp(1.7rem, 5vw, 2.5rem);
  text-align: center;
}

.contact-processing .section-label {
  margin-bottom: .7rem;
  color: var(--teal, #128b83);
}

.contact-processing h2 {
  margin-bottom: .72rem;
  color: var(--ink, #252525);
  font-size: clamp(1.42rem, 4vw, 1.72rem);
  letter-spacing: -.04em;
}

.contact-processing__text {
  max-width: 355px;
  margin: 0 auto 1.65rem;
  color: var(--muted, #697180);
  font-size: .94rem;
  line-height: 1.62;
}

/* Loader */
.contact-loader {
  position: relative;
  width: 94px;
  height: 94px;
  margin: 0 auto 1.4rem;
  display: grid;
  place-items: center;
}

.contact-loader__ring {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(18, 139, 131, .13);
  border-top-color: var(--teal, #128b83);
  border-radius: 50%;
  animation: contact-loader-spin 1.05s linear infinite;
}

.contact-loader__ring--second {
  inset: 11px;
  border-color: rgba(255, 208, 0, .22);
  border-bottom-color: var(--yellow-strong, #f7c600);
  border-top-color: rgba(255, 208, 0, .22);
  animation-direction: reverse;
  animation-duration: .88s;
}

.contact-loader__phone {
  position: relative;
  z-index: 2;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--ink, #252525);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes contact-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Progress steps */
.contact-progress {
  max-width: 300px;
  margin: 0 auto;
  display: grid;
  gap: .68rem;
  text-align: left;
}

.contact-progress__item {
  display: grid;
  grid-template-columns: 19px 1fr;
  align-items: center;
  gap: .65rem;
  color: #9a9fac;
  transition: color .22s ease;
}

.contact-progress__item span {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid #dfe2e8;
  border-radius: 50%;
  transition: background-color .22s ease, border-color .22s ease;
}

.contact-progress__item p {
  margin: 0;
  font-size: .85rem;
  font-weight: 600;
}

.contact-progress__item.is-active {
  color: var(--ink, #252525);
}

.contact-progress__item.is-active span {
  border-color: var(--teal, #128b83);
}

.contact-progress__item.is-active span::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--teal, #128b83);
  animation: contact-pulse .8s ease-in-out infinite alternate;
}

.contact-progress__item.is-done {
  color: var(--ink, #252525);
}

.contact-progress__item.is-done span {
  border-color: var(--teal, #128b83);
  background: var(--teal, #128b83);
}

.contact-progress__item.is-done span::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(42deg);
}

@keyframes contact-pulse {
  from {
    opacity: .45;
    transform: scale(.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Success state */
.contact-processing__success {
  padding-top: clamp(2rem, 6vw, 2.7rem);
}

.contact-success__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7f8f1;
  color: #12835f;
}

.contact-success__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-processing__success .button {
  max-width: 270px;
  margin: 0 auto;
}

.contact-processing__auto-close {
  margin: .9rem 0 0;
  color: var(--muted, #697180);
  font-size: .76rem;
}

@media (max-width: 460px) {
  .contact-processing {
    width: calc(100% - 20px);
    border-radius: 18px;
  }

  .contact-processing__state {
    padding: 1.5rem 1.15rem;
  }

  .contact-loader {
    width: 82px;
    height: 82px;
    margin-bottom: 1.15rem;
  }
}