/* ============================================
   CONTACT PAGE — mockup layout
   ============================================ */

.contact-page {
  --contact-pink: #d02689;
  --contact-pink-soft: #fff5f5;
  --contact-pink-icon: #fce8f0;
  --contact-navy: #0e1f4a;
  --contact-muted: #666666;
  --contact-line: #e8eaef;
  --contact-radius: 12px;
}

.contact-page .about-serif,
.contact-page .contact-page-title,
.contact-page .contact-form-title {
  font-family: var(--font-heading);
}

/* Hero — matches blog / products / about */
.contact-page-hero {
  position: relative;
  padding: 52px 0 56px;
  background-color: #f8f1f1;
  background-image: url('../images/title-shape-2.png');
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: 17% auto;
  overflow: hidden;
}

.contact-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('../images/title-shape-1.png');
  background-position: top right;
  background-repeat: no-repeat;
  background-size: 17% auto;
  pointer-events: none;
  z-index: 1;
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
}

.contact-page-title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: #001d3d;
  margin: 0 0 12px;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.contact-breadcrumb {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.contact-breadcrumb a {
  color: #5a6478;
  text-decoration: none;
}

.contact-breadcrumb a:hover {
  color: var(--contact-pink);
}

.contact-breadcrumb .bc-sep {
  margin: 0 6px;
  color: var(--contact-pink);
}

.contact-breadcrumb .bc-current {
  color: var(--contact-pink);
  font-weight: 600;
}

.contact-hero-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #5a6478;
  margin: 0;
  max-width: 480px;
}

.contact-hero-visual {
  border-radius: var(--contact-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 40px rgba(14, 31, 74, 0.08);
}

.contact-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

/* Info cards */
.contact-info-section {
  padding: 48px 0;
  background: #fff;
  margin-top: -24px;
  position: relative;
  z-index: 2;
}

.contact-info-card {
  text-align: center;
  padding: 32px 24px 28px;
  border: 0;
  border-radius: var(--contact-radius);
  background: #fff;
  height: 100%;
  box-shadow: 0 4px 24px rgba(14, 31, 74, 0.07);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-info-card:hover {
  box-shadow: 0 8px 32px rgba(14, 31, 74, 0.1);
  transform: translateY(-2px);
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--contact-pink-icon);
  color: var(--contact-pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.contact-info-label {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--contact-pink);
  margin-bottom: 10px;
}

.contact-info-value {
  font-size: 14px;
  line-height: 1.6;
  color: var(--contact-muted);
  text-decoration: none;
  display: block;
  margin: 0;
}

a.contact-info-value:hover {
  color: var(--contact-pink);
}

.contact-info-note {
  font-size: 13px;
  color: #9ca3af;
  margin: 8px 0 0;
  line-height: 1.5;
}

.contact-info-address {
  max-width: 300px;
  margin: 0 auto;
}

/* Main form section */
.contact-main-section {
  padding: 56px 0 64px;
  background: #fff;
}

.contact-form-wrap {
  max-width: 100%;
}

.contact-form-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--contact-pink);
  margin-bottom: 10px;
}

.contact-form-title {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--contact-navy);
  line-height: 1.35;
  margin-bottom: 20px;
  max-width: 520px;
}

.contact-form-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 280px;
  margin-bottom: 20px;
}

.contact-divider-line {
  flex: 1;
  height: 1px;
  background: var(--contact-line);
}

.contact-divider-icon {
  color: var(--contact-pink);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-form-intro {
  font-size: 14px;
  line-height: 1.7;
  color: var(--contact-muted);
  margin-bottom: 28px;
  max-width: 540px;
}

.contact-field {
  display: block;
  width: 100%;
}

.contact-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--contact-navy);
  margin-bottom: 8px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid var(--contact-line);
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--contact-navy);
  background: #fafbfc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #9ca3af;
}

.contact-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--contact-pink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(208, 38, 137, 0.1);
}

.contact-field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-submit-btn {
  width: 100%;
  padding: 16px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--contact-pink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(208, 38, 137, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
  margin-top: 4px;
}

.contact-submit-btn:hover {
  background: #b01f6e;
  transform: translateY(-1px);
}

.contact-privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9ca3af;
  margin: 20px 0 0;
}

.contact-privacy-note i {
  color: var(--contact-pink);
  font-size: 16px;
}

/* Aside */
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 992px) {
  .contact-aside {
    position: sticky;
    top: 96px;
  }
}

.contact-aside-visual {
  border-radius: var(--contact-radius);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(14, 31, 74, 0.08);
}

.contact-aside-visual img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.contact-support-box {
  padding: 24px 22px;
  border-radius: var(--contact-radius);
  background: var(--contact-pink-soft);
  border: 1px solid #f3e8ee;
}

.contact-support-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--contact-pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(208, 38, 137, 0.12);
}

.contact-support-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--contact-navy);
  margin-bottom: 8px;
}

.contact-support-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--contact-muted);
  margin-bottom: 12px;
}

.contact-support-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--contact-pink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-support-link:hover {
  color: #b01f6e;
}

.contact-support-link i {
  transition: transform 0.2s ease;
}

.contact-support-link:hover i {
  transform: translateX(3px);
}

/* Trust bar */
.contact-trust-section {
  padding: 0 0 72px;
  background: #fff;
}

.contact-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-radius: var(--contact-radius);
  box-shadow: 0 4px 24px rgba(14, 31, 74, 0.06);
  border: 1px solid var(--contact-line);
  overflow: hidden;
}

.contact-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 22px;
  border-right: 1px solid var(--contact-line);
}

.contact-trust-item:last-child {
  border-right: 0;
}

.contact-trust-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--contact-pink-icon);
  color: var(--contact-pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-trust-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--contact-navy);
  margin-bottom: 4px;
}

.contact-trust-desc {
  font-size: 12px;
  line-height: 1.55;
  color: var(--contact-muted);
  margin: 0;
}

/* Nav active */
.contact-page .nav-item .nav-link.active {
  color: var(--pink-primary) !important;
}

.contact-page .nav-item .nav-link.active::before {
  transform: scaleX(1);
  opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
  .contact-trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-trust-item:nth-child(2) {
    border-right: 0;
  }

  .contact-trust-item:nth-child(1),
  .contact-trust-item:nth-child(2) {
    border-bottom: 1px solid var(--contact-line);
  }
}

@media (max-width: 767px) {
  .contact-page-hero {
    padding: 44px 0 40px;
  }

  .contact-hero-bg-overlay {
    background-size: 28% auto;
  }

  .contact-page-hero {
    background-size: 28% auto;
  }

  .contact-info-section {
    margin-top: 0;
    padding: 36px 0;
  }

  .contact-main-section {
    padding: 40px 0 48px;
  }

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

  .contact-trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--contact-line);
  }

  .contact-trust-item:last-child {
    border-bottom: 0;
  }

  .contact-hero-visual img {
    min-height: 220px;
    max-height: 280px;
  }

  .contact-hero-inner .row > .col-lg-6:first-child {
    text-align: center;
  }

  .contact-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-form-title,
  .contact-form-intro {
    max-width: none;
  }

  .contact-aside {
    margin-top: 8px;
  }

  .contact-trust-section {
    padding: 0 0 48px;
  }
}

@media (max-width: 575px) {
  .contact-form-divider {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-page-title {
    font-size: 2rem;
  }

  .contact-info-card {
    padding: 24px 18px 22px;
  }

  .contact-info-address {
    font-size: 13px;
  }

  .contact-trust-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 18px;
  }

  .contact-trust-title {
    font-size: 13px;
  }

  .contact-aside-visual img {
    height: 220px;
  }
}
