/* ==========================================================================
   Langsen Theme - Contact Us Page Styles
   Strictly aligned with media_1790584724606.jpg mockup
   Unified container width managed exclusively by common.css
   ========================================================================== */

:root {
  --contact-navy: #062a63;
  --contact-red: #ee141d;
  --contact-dark: #0f172a;
  --contact-muted: #64748b;
  --contact-border: #e2e8f0;
  --contact-bg: #f8fafd;
}

.langsen-contact {
  color: var(--contact-navy);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  background: var(--contact-bg);
  position: relative;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   1. Page Hero Banner
   -------------------------------------------------------------------------- */
.langsen-contact .ls-contact-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #062a63;
  color: #ffffff;
}

.langsen-contact .ls-contact-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  filter: brightness(0.85);
}

.langsen-contact .ls-contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 42, 99, 0.88) 0%, rgba(6, 42, 99, 0.52) 48%, rgba(6, 42, 99, 0.15) 100%);
  pointer-events: none;
}

.langsen-contact .ls-contact-hero > .container {
  position: relative;
  z-index: 2;
}

.ls-hero-inner {
  max-width: 680px;
  margin-bottom: 20px;
}

.langsen-contact .ls-contact-hero h1 {
  margin: 0 0 10px;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(34px, 3.8vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.langsen-contact .ls-contact-hero .langsen-page-hero__subtitle {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 580px;
}

.langsen-contact .langsen-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
}

.langsen-contact .langsen-hero-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.langsen-contact .langsen-hero-breadcrumb a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.langsen-contact .langsen-hero-breadcrumb .bc-sep {
  font-size: 12px;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   2. Floating 4-Column Contact Overview Cards
   -------------------------------------------------------------------------- */
.ls-contact-overview-wrap {
  position: relative;
  z-index: 10;
  margin-top: -65px;
}

.ls-contact-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 16px 38px rgba(6, 42, 99, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.ls-contact-info-card {
  background: #f8fafd;
  border-radius: 10px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #edf2f7;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.ls-contact-info-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px rgba(6, 42, 99, 0.06);
}

.ls-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
  transition: transform 0.3s ease;
}

.ls-contact-info-card:hover .ls-contact-icon {
  transform: scale(1.08);
}

.ls-contact-icon.is-red {
  background: #fee2e2;
  color: #ee141d;
}

.ls-contact-icon.is-blue {
  background: #e0e7ff;
  color: #1e40af;
}

.ls-contact-info-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #062a63;
  margin: 0 0 6px;
}

.ls-contact-info-card p {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
  overflow-wrap: anywhere;
}

.ls-contact-info-card p a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ls-contact-info-card p a:hover {
  color: #ee141d;
}

.ls-contact-info-card small {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  margin-top: 5px;
  line-height: 1.4;
}

.ls-contact-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.ls-contact-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #062a63;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ls-contact-socials a:hover {
  background: #ee141d;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   3. Main Contact Section (Form + Right Promo Card)
   -------------------------------------------------------------------------- */
.ls-contact-main {
  padding: 58px 0 64px;
  background: #f8fafd;
}

.ls-contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
  gap: 36px;
  align-items: stretch;
}

.ls-contact-form-column {
  display: flex;
  flex-direction: column;
}

.ls-contact-heading {
  margin: 0 0 20px;
}

.ls-heading-bar {
  display: block;
  width: 32px;
  height: 3.5px;
  background: #ee141d;
  border-radius: 2px;
  margin-bottom: 12px;
}

.ls-contact-heading h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 800;
  color: #062a63;
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.ls-contact-heading p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
  max-width: 660px;
}

.ls-contact-form-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 34px 36px;
  border: 1px solid #edf2f7;
  box-shadow: 0 4px 20px rgba(6, 42, 99, 0.03);
}

.ls-contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}

.ls-contact-fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

.ls-contact-label-text {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}

.ls-contact-fields label b {
  display: inline;
  color: #ee141d;
}

.ls-contact-fields input,
.ls-contact-fields select,
.ls-contact-fields textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-size: 15px;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.ls-contact-fields input,
.ls-contact-fields select {
  height: 48px;
  padding: 0 16px;
}

.ls-contact-fields select {
  appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.ls-contact-fields textarea {
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.5;
}

.ls-contact-fields input:focus,
.ls-contact-fields select:focus,
.ls-contact-fields textarea:focus {
  border-color: #062a63;
  box-shadow: 0 0 0 3px rgba(6, 42, 99, 0.08);
}

.ls-contact-fields input::placeholder,
.ls-contact-fields textarea::placeholder {
  color: #94a3b8;
}

.ls-contact-message {
  grid-column: 1 / -1;
}

.ls-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  padding: 14px 36px;
  background: #ee141d;
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 800;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ls-contact-submit:hover {
  background: #cc1018;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(238, 20, 29, 0.35);
}

.ls-contact-submit span {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.ls-contact-submit:hover span {
  transform: translateX(4px);
}

.ls-contact-status {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 6px;
  background: #eff8f0;
  color: #1e7039;
  font-size: 13px;
  border: 1px solid #d1ead7;
}

.ls-contact-status.is-error {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

/* Promo Card on the Right */
.ls-contact-promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 480px;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #11291b var(--contact-image) center 30% / cover no-repeat;
  box-shadow: 0 6px 24px rgba(6, 42, 99, 0.05);
  border: 1px solid #edf2f7;
}

.ls-promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 27, 18, 0) 25%, rgba(6, 24, 16, 0.6) 58%, rgba(4, 18, 12, 0.94) 100%);
  pointer-events: none;
}

.ls-promo-content {
  position: relative;
  z-index: 2;
  padding: 34px 30px;
  color: #ffffff;
}

.ls-promo-bar {
  display: block;
  width: 28px;
  height: 3px;
  background: #ee141d;
  border-radius: 2px;
  margin-bottom: 12px;
}

.ls-promo-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.ls-promo-content p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #e2e8f0;
  margin: 0;
  max-width: 320px;
}

/* --------------------------------------------------------------------------
   4. Four Benefits Commitments Section
   -------------------------------------------------------------------------- */
.ls-contact-benefits-wrap {
  background: #ffffff;
  padding: 46px 0;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

.ls-contact-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.ls-benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.ls-benefit-item + .ls-benefit-item {
  border-left: 1px solid #eef2f6;
}

.ls-benefit-item i {
  font-size: 34px;
  margin-bottom: 14px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.ls-benefit-item:hover i {
  transform: scale(1.12);
}

.ls-benefit-item i.is-red {
  color: #ee141d;
}

.ls-benefit-item i.is-blue {
  color: #062a63;
}

.ls-benefit-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 16.5px;
  font-weight: 800;
  color: #062a63;
  margin: 0 0 6px;
}

.ls-benefit-item p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
  max-width: 220px;
}

/* --------------------------------------------------------------------------
   5. Bottom CTA Banner
   -------------------------------------------------------------------------- */
.ls-contact-cta {
  padding: 56px 0;
  background: linear-gradient(90deg, rgba(6, 32, 68, 0.72) 0%, rgba(6, 32, 68, 0.45) 50%, rgba(6, 32, 68, 0.72) 100%),
              url('../images/contact-cta-bg.jpg') center center / cover no-repeat;
  color: #ffffff;
  text-align: center;
}

.ls-cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ls-contact-cta h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ls-contact-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 22px;
  max-width: 580px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.ls-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 36px;
  background: #ee141d;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ls-cta-btn:hover {
  background: #cc1018;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(238, 20, 29, 0.35);
}

.ls-cta-btn span {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.ls-cta-btn:hover span {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. Responsive Tuning (No private container width overrides)
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .ls-contact-overview {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .ls-contact-main-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
    gap: 24px;
  }

  .ls-contact-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
  }

  .ls-benefit-item:nth-child(3) {
    border-left: none;
  }
}

@media (max-width: 860px) {
  .ls-contact-overview-wrap {
    margin-top: -45px;
  }

  .ls-contact-main-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ls-contact-promo {
    min-height: 360px;
    background-position: center 40%;
  }

  .ls-contact-form-card {
    padding: 26px 24px;
  }
}

@media (max-width: 580px) {
  .ls-contact-overview-wrap {
    margin-top: -30px;
  }

  .ls-contact-overview {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 12px;
  }

  .ls-contact-info-card {
    padding: 18px 16px;
  }

  .ls-contact-fields {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ls-contact-form-card {
    padding: 22px 18px;
  }

  .ls-contact-benefits {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ls-benefit-item + .ls-benefit-item {
    border-left: none;
    border-top: 1px solid #f1f5f9;
    padding-top: 22px;
  }

  .ls-contact-cta {
    padding: 42px 0;
  }
}
