﻿:root {
  /* ✅ ORANGE THEME */
  --p-green: #f97316;
  /* Orange */
  --p-green-2: #ea580c;
  /* Dark Orange */
  --p-ink: #0f172a;
  --p-muted: #64748b;
  --p-border: rgba(15, 23, 42, .10);
  --p-card: rgba(255, 255, 255, .92);
  --p-shadow: 0 18px 50px rgba(2, 6, 23, .10);
  --p-shadow-sm: 0 10px 30px rgba(2, 6, 23, .08);
  --p-radius: 22px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  right: 16px;
  background: #111827;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 9999;
  transition: top .2s ease;
  text-decoration: none;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

/* =========================
     Premium Hero
     ========================= */
.contact-hero {
  position: relative;
  padding: 64px 0 46px;
  background:
    radial-gradient(1200px 520px at 70% -40%, rgba(249, 115, 22, .22), transparent 60%),
    radial-gradient(900px 420px at 10% -20%, rgba(249, 115, 22, .14), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  overflow: hidden;
}

.contact-hero__content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.contact-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, .20);
  background: rgba(249, 115, 22, .06);
  color: var(--p-green-2);
  font-weight: 900;
  font-size: 13px;
}

.contact-hero__title {
  margin: 14px 0 10px;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.4px;
  color: var(--p-ink);
}

.contact-hero__sub {
  margin: 0;
  color: var(--p-muted);
  font-size: 16px;
  line-height: 1.9;
}

.contact-hero__crumb {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--p-muted);
  font-weight: 700;
  font-size: 13px;
}

.contact-hero__crumb a {
  color: var(--p-ink);
  text-decoration: none;
  opacity: .9;
}

.contact-hero__crumb a:hover {
  color: var(--p-green-2);
}

/* =========================
     Layout
     ========================= */
.p-section {
  padding: 64px 0;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.contact-grid-premium {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.p-card {
  background: var(--p-card);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-sm);
  overflow: hidden;
}

.p-card__pad {
  padding: 22px;
}

.p-h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--p-ink);
  font-weight: 900;
  letter-spacing: -0.2px;
}

.p-sub {
  margin: 0 0 14px;
  color: var(--p-muted);
  font-weight: 700;
  line-height: 1.9;
  font-size: 14px;
}

/* =========================
     Contact methods (premium)
     ========================= */
.method-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.method {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
  transition: .18s ease;
  text-decoration: none;
  color: var(--p-ink);
}

.method:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, .22);
  background: rgba(249, 115, 22, .03);
  box-shadow: 0 14px 40px rgba(2, 6, 23, .10);
}

.method-ic {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, .08);
  border: 1px solid rgba(249, 115, 22, .18);
  color: var(--p-green-2);
  flex: 0 0 auto;
  font-size: 18px;
  margin-top: 2px;
}

.method h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 900;
}

.method p {
  margin: 0 0 2px;
  color: var(--p-ink);
  font-weight: 900;
  letter-spacing: .2px;
  direction: ltr;
  text-align: right;
}

.method small {
  color: var(--p-muted);
  font-weight: 800;
  font-size: 12.5px;
  display: block;
  line-height: 1.6;
  direction: rtl;
  text-align: right;
}

/* =========================
     Form (premium)
     ========================= */
.p-form {
  display: grid;
  gap: 12px;
}

.p-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.p-field label {
  display: block;
  margin: 0 0 6px;
  color: var(--p-ink);
  font-weight: 900;
  font-size: 13px;
}

.p-field input,
.p-field select,
.p-field textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 16px;
  padding: 12px 12px;
  font-family: inherit;
  outline: none;
  background: #fff;
  color: var(--p-ink);
  font-weight: 800;
  transition: .18s ease;
}

.p-field textarea {
  resize: vertical;
  min-height: 140px;
}

.p-field input:focus,
.p-field select:focus,
.p-field textarea:focus {
  border-color: rgba(249, 115, 22, .35);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .10);
}

.p-help {
  margin-top: 6px;
  color: var(--p-muted);
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1.6;
}

.p-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.p-btn {
  border-radius: 999px;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 900;
  border: 1px solid rgba(249, 115, 22, .25);
  background: linear-gradient(180deg, rgba(249, 115, 22, .18), rgba(249, 115, 22, .06));
  color: var(--p-green-2);
  transition: .18s ease;
}

.p-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(2, 6, 23, .12);
  border-color: rgba(249, 115, 22, .35);
}

.p-note {
  color: var(--p-muted);
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1.7;
}

/* Inline success/error toast */
.p-toast {
  display: none;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(249, 115, 22, .22);
  background: rgba(249, 115, 22, .06);
  color: var(--p-ink);
  font-weight: 900;
  line-height: 1.8;
}

.p-toast.show {
  display: block;
}

.p-toast.error {
  border-color: rgba(239, 68, 68, .25);
  background: rgba(239, 68, 68, .06);
}

/* =========================
     Quick actions (premium)
     ========================= */
.quick-actions-premium {
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(249, 115, 22, .16), rgba(249, 115, 22, .06));
  border: 1px solid rgba(249, 115, 22, .20);
  box-shadow: var(--p-shadow-sm);
  padding: 20px;
  display: grid;
  gap: 14px;
}

.quick-actions-premium h3 {
  margin: 0;
  font-size: 18px;
  color: var(--p-ink);
  font-weight: 900;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.quick {
  text-decoration: none;
  color: var(--p-ink);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 20px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 28px rgba(2, 6, 23, .06);
  transition: .18s ease;
}

.quick:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, .22);
  background: rgba(249, 115, 22, .04);
  box-shadow: 0 18px 44px rgba(2, 6, 23, .10);
}

.quick .method-ic {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  margin: 0;
}

.quick span {
  font-weight: 900;
}

/* =========================
     Optional map placeholder card
     ========================= */
.map-card {
  position: relative;
  min-height: 240px;
  background:
    radial-gradient(900px 260px at 20% 10%, rgba(249, 115, 22, .18), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-sm);
  overflow: hidden;
}

.map-card__pad {
  padding: 18px;
}

.map-card__title {
  margin: 0 0 6px;
  font-weight: 900;
  color: var(--p-ink);
  font-size: 16px;
}

.map-card__sub {
  margin: 0;
  color: var(--p-muted);
  font-weight: 800;
  line-height: 1.8;
  font-size: 13px;
}

.map-card__cta {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: #fff;
  text-decoration: none;
  color: var(--p-ink);
  font-weight: 900;
  transition: .18s ease;
}

.map-link:hover {
  border-color: rgba(249, 115, 22, .22);
  background: rgba(249, 115, 22, .05);
  transform: translateY(-2px);
}

.map-link i {
  color: var(--p-green-2);
}

/* Responsive */
@media (max-width: 1100px) {
  .contact-hero__title {
    font-size: 34px;
  }

  .contact-grid-premium {
    grid-template-columns: 1fr;
  }

  .p-row {
    grid-template-columns: 1fr;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
     Contact page banner (mobile fix)
     - prevent awkward crop on small screens
     ========================= */
@media (max-width: 768px) {

  /* Use aspect-ratio so height adapts nicely on mobile */
  .products-banner-wrap .products-banner {
    height: auto !important;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f8fafc;
  }

  .products-banner-wrap .products-banner-viewport {
    border-radius: 18px;
  }

  .products-banner-wrap .products-banner .banner-slide img {
    object-fit: contain !important;
    background: #f8fafc;
  }
}

@media (max-width: 480px) {
  .products-banner-wrap .products-banner {
    aspect-ratio: 4 / 3;
  }

  .products-banner-wrap .products-banner-viewport {
    border-radius: 12px;
  }
}

/* =========================
     Force Full Width Contact Banner
     ========================= */
.products-banner-wrap {
  padding: 0 !important;
  max-width: 100% !important;
  background: transparent !important;
}

.products-banner-wrap .container {
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.products-banner-wrap .products-banner {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0 !important;
  height: auto !important;
  aspect-ratio: auto !important;
  /* Reset ratio for full width natural height */
  display: block !important;
}

.products-banner-wrap .products-banner .banner-slide {
  display: none !important;
  width: 100% !important;
  height: auto !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.products-banner-wrap .products-banner .banner-slide.active {
  display: block !important;
  position: relative !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.banner-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block;
}

@media (max-width: 768px) {
  .products-banner {
    height: 280px !important;
  }
}