/* About page */

.about-page main.container {
  width: min(100% - 2rem, var(--max));
}

.about-page .site-footer {
  margin-top: 0;
  border-top: 1px solid var(--line);
}

.about-hero {
  overflow: hidden;
  border-radius: 24px;
  margin-top: 1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  line-height: 0;
  background: var(--surface-2);
}

.about-hero__img {
  width: 100%;
  height: clamp(260px, 40vw, 440px);
  object-fit: cover;
  object-position: 58% top;
  display: block;
}

/* Markdown-style story */
.about-prose {
  max-width: 68ch;
  margin: 1.75rem auto 2rem;
  padding: 0 0.15rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-prose__eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(24, 119, 242, 0.12);
  color: var(--teal-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-prose h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 0.85rem;
  color: #1e3a4f;
}

.about-prose__lead {
  margin: 0 0 1.35rem;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.65;
  color: var(--muted);
}

.about-prose h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.75rem 0 0.65rem;
  color: #1e3a4f;
}

.about-prose p {
  margin: 0 0 1rem;
}

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

.about-prose strong {
  font-weight: 700;
  color: var(--text);
}

.about-prose ul {
  margin: 0 0 1.15rem;
  padding-left: 1.15rem;
}

.about-prose li {
  margin-bottom: 0.45rem;
  padding-left: 0.25rem;
}

.about-prose li::marker {
  color: var(--teal);
}

.about-quote {
  margin: 0 0 1.35rem;
  padding: 1rem 1.15rem 1rem 1.25rem;
  border-left: 4px solid var(--teal);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(135deg, rgba(187, 212, 252, 0.18), rgba(24, 119, 242, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.about-quote p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.5vw, 1.22rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  color: #2a4a55;
}

.about-quote p::before {
  content: "\201C";
  margin-right: 0.12em;
  color: var(--teal);
  font-size: 1.15em;
  line-height: 0;
}

.about-quote p::after {
  content: "\201D";
  margin-left: 0.08em;
  color: var(--teal);
  font-size: 1.15em;
}

.about-prose__note {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(245, 250, 253, 0.95);
  border: 1px dashed rgba(24, 119, 242, 0.28);
  font-size: 0.9rem;
  color: var(--muted);
}

.about-contact {
  padding-bottom: 2rem;
  margin-top: 0.5rem;
}

.about-contact-head {
  max-width: 42ch;
  margin-bottom: 1.25rem;
}

.about-contact-head h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin: 0 0 0.35rem;
}

.about-contact-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.about-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
  gap: 0;
  align-items: stretch;
  margin-bottom: 1.15rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(24, 119, 242, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 250, 253, 0.92) 100%);
  box-shadow: 0 14px 40px rgba(42, 54, 66, 0.06);
}

.about-form {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.25rem, 3vw, 1.65rem);
}

.about-form-kicker {
  margin: 0 0 0.15rem;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
}

.about-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.about-field {
  display: grid;
  gap: 0.35rem;
}

.about-field-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: uppercase;
}

.about-field .field {
  width: 100%;
  border: 1px solid rgba(24, 119, 242, 0.28);
  border-radius: 12px;
  padding: 0.72rem 0.9rem;
  font: inherit;
  font-size: 0.88rem;
  background: rgba(248, 250, 252, 0.92);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.about-field .field::placeholder {
  color: rgba(92, 107, 120, 0.55);
}

.about-field .field:focus {
  outline: none;
  border-color: rgba(24, 119, 242, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.12);
}

.about-phone-wrap {
  display: flex;
  align-items: stretch;
}

.about-phone-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 0.8rem;
  border: 1px solid rgba(24, 119, 242, 0.28);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: rgba(245, 247, 250, 0.95);
  color: var(--teal-deep);
  font-size: 0.88rem;
  font-weight: 700;
  flex-shrink: 0;
}

.about-phone-input {
  border-radius: 0 12px 12px 0 !important;
  font-variant-numeric: tabular-nums;
}

.about-field-error {
  font-size: 0.72rem;
  color: #b44;
  font-weight: 600;
}

.about-form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.25rem;
}

.about-form-actions .btn {
  min-width: 160px;
  min-height: 44px;
}

.about-form-actions .btn-ico {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.about-contact-aside {
  padding: clamp(1.25rem, 3vw, 1.65rem);
  background: linear-gradient(180deg, rgba(187, 212, 252, 0.12) 0%, rgba(24, 119, 242, 0.06) 100%);
  border-left: 1px solid rgba(24, 119, 242, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.about-info-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.about-info-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(24, 119, 242, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.about-info-item__icon img {
  width: 15px;
  height: 15px;
  opacity: 0.75;
}

.about-info-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
  color: var(--text);
}

.about-info-item p,
.about-info-item a {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.about-info-item a {
  color: var(--teal-deep);
  font-weight: 600;
}

.about-chat-links {
  display: grid;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(24, 119, 242, 0.12);
}

.about-chat-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  transition: transform 0.12s ease, box-shadow 0.15s ease;
}

.about-chat-link img {
  width: 16px;
  height: 16px;
}

.about-chat-link:hover {
  transform: translateY(-1px);
}

.about-chat-link--wa {
  background: #25d366;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.25);
}

.about-chat-link--fb {
  background: #1877f2;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.22);
}

.about-map {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(24, 119, 242, 0.12);
  box-shadow: 0 10px 28px rgba(42, 54, 66, 0.05);
  background: var(--surface-2);
}

.about-map iframe {
  display: block;
  width: 100%;
  height: clamp(280px, 40vw, 380px);
  border: 0;
}

.about-form-success {
  display: none;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: rgba(24, 119, 242, 0.1);
  border: 1px solid rgba(24, 119, 242, 0.18);
  font-size: 0.82rem;
  color: var(--teal-deep);
  font-weight: 600;
}

.about-form-success.is-visible {
  display: block;
}

@media (max-width: 860px) {
  .about-hero__img {
    object-position: center top;
  }

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

  .about-contact-aside {
    border-left: 0;
    border-top: 1px solid rgba(24, 119, 242, 0.12);
  }

  .about-field-row {
    grid-template-columns: 1fr;
  }

  .about-form-actions {
    justify-content: stretch;
  }

  .about-form-actions .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .about-hero__img {
    height: clamp(220px, 52vw, 300px);
    object-position: 52% top;
  }

  .about-prose {
    margin-top: 1.35rem;
  }
}
