/* Shared styles for How it works, About and Contact. */
.about-page {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 5.5rem;
  background: linear-gradient(180deg, #f8f5ee 0%, #fff 48%, #f8f5ee 100%);
}

.about-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.about-orb-one {
  width: 460px;
  height: 460px;
  right: -180px;
  top: 20px;
  background: radial-gradient(circle, rgba(223, 124, 76, .18), transparent 70%);
}

.about-orb-two {
  width: 420px;
  height: 420px;
  left: -200px;
  bottom: -40px;
  background: radial-gradient(circle, rgba(223, 124, 76, .12), transparent 70%);
}

.about-hero {
  max-width: 760px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .9rem;
  border: 1px solid rgba(223, 124, 76, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--ds-moss);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.about-hero h1 {
  margin: 1.15rem 0 .9rem;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.about-hero > p {
  margin: 0 auto;
  max-width: 620px;
  color: #617067;
  font-size: 1.08rem;
  line-height: 1.75;
}

.about-story {
  max-width: 860px;
  margin: 0 auto 2rem;
  padding: 2rem 2.1rem;
  border: 1px solid var(--ds-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(18, 38, 28, .08);
}

.about-story p {
  margin: 0 0 1.1rem;
  color: #4a5b52;
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-story p:last-child { margin-bottom: 0; }

.about-stat {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  max-width: 860px;
  margin: 0 auto 3.2rem;
  padding: 1.5rem 1.8rem;
  border-radius: 24px;
  color: #f4efe6;
  background: linear-gradient(155deg, #2a211c 0%, #1a1512 48%, #111 100%);
  box-shadow: 0 22px 50px rgba(18, 38, 28, .16);
}

.about-stat strong {
  flex: 0 0 auto;
  color: var(--ds-gold-2);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1;
}

.about-stat p {
  margin: 0;
  color: #c5d4cb;
  font-size: 1.05rem;
  font-weight: 700;
}

.about-values-intro {
  max-width: 640px;
  margin: 0 auto 1.8rem;
  text-align: center;
}

.about-values-intro h2 {
  margin: 1rem 0 .6rem;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.about-values-intro p {
  margin: 0;
  color: #617067;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.6rem;
}

.about-values article {
  padding: 1.45rem 1.35rem;
  border: 1px solid var(--ds-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 38, 28, .05);
}

.about-values span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: #f8eee8;
  color: var(--ds-orange);
  font-size: 1.25rem;
}

.about-values h3 {
  margin: 0 0 .45rem;
  font-size: 1.08rem;
  font-weight: 800;
}

.about-values p {
  margin: 0;
  color: #617067;
  font-size: .92rem;
  line-height: 1.65;
}

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 1.8rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--ds-line);
  box-shadow: 0 18px 44px rgba(18, 38, 28, .07);
}

.about-cta h2 {
  margin: 0 0 .35rem;
  font-size: 1.7rem;
}

.about-cta p { margin: 0; color: #617067; }

@media (max-width: 991px) {
  .about-page { padding: 2rem 0 4.5rem; }
  .about-values { grid-template-columns: 1fr 1fr; }
  .about-cta { align-items: flex-start; flex-direction: column; }
  .about-story { padding: 1.4rem 1.25rem; }
}

@media (max-width: 575px) {
  .about-values { grid-template-columns: 1fr; }
  .about-stat { align-items: flex-start; flex-direction: column; gap: .7rem; }
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 3.2rem;
}

.how-steps article {
  position: relative;
  padding: 1.6rem 1.25rem 1.4rem;
  border: 1px solid var(--ds-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 38, 28, .05);
}

.how-step-num {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ds-orange);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
}

.how-step-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: #f8eee8;
  color: var(--ds-orange);
  font-size: 1.25rem;
}

.how-steps h2 {
  margin: 0 0 .45rem;
  font-size: 1.12rem;
  font-weight: 800;
}

.how-steps p {
  margin: 0;
  color: #617067;
  font-size: .92rem;
  line-height: 1.65;
}

.how-stages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 3.2rem;
}

.how-stages article {
  display: flex;
  gap: 1rem;
  padding: 1.35rem 1.3rem;
  border: 1px solid var(--ds-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 38, 28, .05);
}

.how-stages span {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f8eee8;
  color: var(--ds-orange);
  font-size: 1.2rem;
}

.how-stages h3 {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.how-stages p {
  margin: 0;
  color: #617067;
  font-size: .92rem;
  line-height: 1.65;
}

.how-faq {
  max-width: 860px;
  margin: 0 auto 2.6rem;
  display: grid;
  gap: .75rem;
}

.how-faq details {
  border: 1px solid var(--ds-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 38, 28, .04);
}

.how-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.25rem;
  font-weight: 800;
  color: #1a1512;
}

.how-faq summary::-webkit-details-marker { display: none; }

.how-faq summary::after {
  content: "+";
  float: right;
  color: var(--ds-orange);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.how-faq details[open] summary::after { content: "–"; }

.how-faq details p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: #4a5b52;
  font-size: .95rem;
  line-height: 1.75;
}

.how-faq a { color: var(--ds-orange); font-weight: 700; }

.how-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

@media (max-width: 991px) {
  .how-steps { grid-template-columns: 1fr 1fr; }
  .how-stages { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .how-steps { grid-template-columns: 1fr; }
}

.contact-page {
  position: relative;
  overflow: hidden;
  padding: 3.2rem 0 5.5rem;
  background: linear-gradient(180deg, #f8f5ee 0%, #fff 42%, #f7efe8 100%);
}

.contact-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.contact-orb-one {
  width: 480px;
  height: 480px;
  right: -160px;
  top: -40px;
  background: radial-gradient(circle, rgba(223, 124, 76, .2), transparent 70%);
}

.contact-orb-two {
  width: 420px;
  height: 420px;
  left: -180px;
  bottom: 80px;
  background: radial-gradient(circle, rgba(223, 124, 76, .12), transparent 70%);
}

.contact-hero {
  max-width: 720px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.contact-hero h1 {
  margin: 1.1rem 0 .85rem;
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.contact-hero > p {
  margin: 0 auto;
  max-width: 620px;
  color: #617067;
  font-size: 1.06rem;
  line-height: 1.75;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .8fr);
  gap: 1.2rem;
  align-items: start;
  margin-bottom: 2.6rem;
}

.contact-form-card,
.contact-side-card {
  border: 1px solid var(--ds-line);
  background: #fff;
  box-shadow: 0 22px 50px rgba(18, 38, 28, .07);
}

.contact-form-card {
  padding: 1.8rem 1.7rem 1.6rem;
  border-radius: 28px;
}

.contact-form-card h2 {
  margin: 0 0 .35rem;
  font-size: 1.45rem;
  font-weight: 800;
}

.contact-form-card > p {
  margin: 0 0 1.3rem;
  color: #617067;
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

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

.contact-page .auth-field small {
  display: block;
  margin-top: .4rem;
  color: #7a887f;
  font-size: .75rem;
}

.contact-page .auth-input select,
.contact-page .auth-input textarea {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ds-ink);
  font-size: .95rem;
  outline: 0;
}

.contact-page .auth-input select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237d8b84' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .2rem center;
  padding-right: 1.4rem;
}

.auth-input-area {
  align-items: flex-start;
  min-height: 0;
  padding: .9rem .95rem;
}

.contact-page .auth-input textarea {
  resize: vertical;
  min-height: 128px;
  line-height: 1.6;
}

.contact-page .auth-check input { accent-color: var(--ds-orange); }

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

.contact-side-card {
  padding: 1.3rem 1.25rem;
  border-radius: 24px;
}

.contact-side-card h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.contact-side-card p {
  margin: 0;
  color: #4a5b52;
  line-height: 1.7;
}

.contact-quick {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .75rem 0;
  border-bottom: 1px solid #eef2ef;
  color: inherit;
  text-decoration: none;
}

.contact-quick:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-quick:first-of-type { padding-top: 0; }

.contact-quick span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #f8eee8;
  color: var(--ds-orange);
  font-size: 1.1rem;
}

.contact-quick strong {
  display: block;
  margin-bottom: .1rem;
  font-size: .82rem;
  font-weight: 800;
}

.contact-quick em {
  color: #4a5b52;
  font-style: normal;
  font-size: .92rem;
  font-weight: 650;
}

.contact-quick-static { cursor: default; }

.contact-social {
  display: flex;
  gap: .65rem;
}

.contact-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f8eee8;
  color: var(--ds-orange);
  font-size: 1.1rem;
  text-decoration: none;
}

.contact-social a:hover { background: var(--ds-orange); color: #fff; }

.contact-emergency {
  padding: 1.35rem 1.25rem;
  border-radius: 24px;
  color: #f4efe6;
  background: linear-gradient(155deg, #2a211c 0%, #1a1512 48%, #111 100%);
  box-shadow: 0 18px 40px rgba(18, 38, 28, .16);
}

.contact-emergency h3 {
  margin: 0 0 .45rem;
  font-size: 1.1rem;
}

.contact-emergency p {
  margin: 0 0 1rem;
  color: #c5b8ae;
  font-size: .92rem;
  line-height: 1.6;
}

.contact-emergency a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #e88a58, #df7c4c);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.contact-map-block {
  padding: 1.8rem;
  border: 1px solid var(--ds-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(18, 38, 28, .07);
}

.contact-map-block h2 {
  margin: 1rem 0 .45rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.contact-map-block > div:first-child p {
  margin: 0 0 1.2rem;
  color: #617067;
}

.contact-map {
  overflow: hidden;
  margin-bottom: 1.1rem;
  border-radius: 20px;
  min-height: 320px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

@media (max-width: 991px) {
  .contact-page { padding: 2rem 0 4.5rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form-card { padding: 1.4rem 1.15rem; }
  .contact-fields { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .contact-map iframe { height: 260px; }
  .contact-map-block { padding: 1.2rem; }
}


@media(max-width:767px){
.about-page,.contact-page{padding:1.5rem 0 3rem}
.about-page .about-hero h1,.contact-hero h1{font-size:2rem;line-height:1.15}
.about-page .about-hero,.contact-hero{margin-bottom:1.5rem}
.about-page .about-hero>p,.contact-hero>p{font-size:.9rem;line-height:1.7}
.about-page .about-story,.contact-form-card,.contact-sidebar{min-width:0;max-width:100%;overflow-wrap:anywhere}
.contact-page .auth-input input,.contact-page .auth-input textarea,.contact-page .auth-input select{font-size:16px;min-width:0}
.contact-page .auth-input{min-width:0}
.contact-page .contact-fields>*{min-width:0}
body:has(.about-page) .contact-dock,body:has(.contact-page) .contact-dock{display:none}
.about-page .about-cta a{max-width:100%;white-space:normal}
}
