/* ========================================================================== 
   Vrinda Packing House - Contact Page
   ========================================================================== */

.contact-page {
  background: var(--ivory);
}

.contact-page section {
  scroll-margin-top: 106px;
}

/* Header dropdowns */
.main-nav .dropdown {
  display: inline-flex;
  align-items: center;
}

.main-nav .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.main-nav .dropdown-toggle::after {
  display: none;
}

.main-nav .dropdown-toggle .bi {
  font-size: 10px;
}

.main-nav .dropdown-menu {
  min-width: 230px;
  padding: 10px;
  margin-top: 18px !important;
  background: rgba(255, 253, 249, .98);
  border: 1px solid rgba(199, 162, 98, .25);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(70, 31, 34, .12);
}

.main-nav .dropdown-item {
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 12.5px;
  white-space: normal;
}

.main-nav .dropdown-item::after {
  display: none;
}

.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus {
  color: var(--wine);
  background: var(--blush);
}

.mobile-nav-links .collapse-inner {
  margin: 2px 0 8px 12px;
  padding-left: 14px;
  border-left: 1px solid rgba(199, 162, 98, .45);
}

.mobile-nav-links .collapse-inner a {
  padding-block: 9px;
  color: var(--muted);
  font-size: 13px;
}

/* Hero */
.contact-hero {
  position: relative;
  min-height: var(--inner-page-hero-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 249, 244, .98) 0%, rgba(255, 249, 244, .92) 37%, rgba(255, 249, 244, .48) 64%, rgba(255, 249, 244, .12) 100%),
    url("../images/hero-wedding-v2.jpg") 70% 47% / cover no-repeat;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 74%, rgba(143, 29, 44, .08));
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--inner-page-hero-padding-y) clamp(22px, 4.8vw, 90px);
}

.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 12px;
}

.contact-breadcrumb a {
  color: var(--wine);
  font-weight: 700;
}

.contact-breadcrumb .bi {
  font-size: 9px;
  color: var(--gold);
}

.contact-kicker,
.contact-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--wine);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.contact-kicker::before,
.contact-section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.contact-hero h1 {
  max-width: 620px;
  margin-top: 13px;
  color: var(--wine);
  font-size: clamp(44px, 5.2vw, 68px);
  line-height: .92;
}

.contact-flourish {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 180px;
  margin-top: 23px;
  color: var(--gold);
}

.contact-flourish::before,
.contact-flourish::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold);
}

/* Intro and contact cards */
.contact-intro-section {
  padding: var(--section-pad) 0 74px;
}

.contact-heading {
  max-width: 680px;
  margin: 0 auto 38px;
  text-align: center;
}

.contact-heading .contact-section-label {
  justify-content: center;
}

.contact-heading .contact-section-label::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.contact-heading h2 {
  margin-top: 13px;
  color: var(--wine);
  font-size: clamp(34px, 4vw, 48px);
}

.contact-heading p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.contact-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-method-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(199, 162, 98, .29);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(86, 47, 47, .06);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.contact-method-card:hover {
  color: inherit;
  transform: translateY(-4px);
  border-color: rgba(143, 29, 44, .32);
  box-shadow: 0 18px 34px rgba(86, 47, 47, .1);
}

.contact-method-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--wine);
  background: var(--blush);
  border: 1px solid rgba(143, 29, 44, .1);
  border-radius: 50%;
  font-size: 21px;
}

.contact-method-icon.is-whatsapp {
  color: #168e4a;
  background: #ebf8ef;
  border-color: rgba(22, 142, 74, .12);
}

.contact-method-card > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.contact-method-card small {
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.contact-method-card strong {
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.contact-method-card em {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.contact-method-arrow {
  color: var(--gold);
  font-size: 15px;
  transition: transform .3s var(--ease);
}

.contact-method-card:hover .contact-method-arrow {
  transform: translate(3px, -3px);
}

/* Form */
.contact-form-section {
  position: relative;
  padding: 78px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 6% 8%, rgba(239, 183, 180, .22), transparent 25%),
    radial-gradient(circle at 97% 94%, rgba(199, 162, 98, .12), transparent 27%),
    #f9f1ed;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, .78fr);
  gap: 30px;
  align-items: stretch;
}

.contact-form-panel,
.contact-guide-panel {
  overflow: hidden;
  background: rgba(255, 253, 249, .96);
  border: 1px solid rgba(199, 162, 98, .28);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(86, 47, 47, .08);
}

.contact-form-panel {
  padding: clamp(28px, 4vw, 52px);
}

.contact-form-panel h2 {
  margin-top: 11px;
  color: var(--wine);
  font-size: clamp(34px, 3.5vw, 47px);
}

.contact-form-intro {
  max-width: 630px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.contact-enquiry-form {
  margin-top: 30px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-field {
  min-width: 0;
}

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

.contact-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 11.5px;
  font-weight: 700;
}

.contact-field label span {
  color: var(--wine);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  color: var(--dark);
  background: #fff;
  border: 1px solid #e4d6cf;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

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

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

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: 0;
  border-color: rgba(143, 29, 44, .65);
  box-shadow: 0 0 0 3px rgba(143, 29, 44, .08);
}

.contact-field .is-invalid {
  border-color: #bb2438;
  box-shadow: 0 0 0 3px rgba(187, 36, 56, .08);
}

.contact-submit {
  min-width: 260px;
  margin-top: 24px;
}

.contact-form-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 10.5px;
}

.contact-form-note .bi {
  color: var(--gold);
}

.contact-form-status {
  min-height: 20px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
}

.contact-form-status.is-error {
  color: #aa1f31;
}

.contact-form-status.is-success {
  color: #168e4a;
}

.contact-guide-panel {
  display: flex;
  flex-direction: column;
}

.contact-guide-image {
  min-height: 265px;
  overflow: hidden;
}

.contact-guide-image img {
  width: 100%;
  height: 100%;
  min-height: 265px;
  object-fit: cover;
}

.contact-guide-copy {
  flex: 1;
  padding: 30px;
}

.contact-guide-copy h3 {
  margin-top: 9px;
  color: var(--wine);
  font-size: 31px;
}

.contact-process-list {
  display: grid;
  gap: 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.contact-process-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 14px;
}

.contact-process-list li > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--wine);
  background: var(--blush);
  border: 1px solid rgba(143, 29, 44, .13);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
}

.contact-process-list strong {
  display: block;
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.15;
}

.contact-process-list p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

/* Location Map */
.contact-map-section {
  padding: 68px 0;
  background: #fffdf9;
}

.contact-map-heading {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.contact-map-heading .contact-section-label {
  justify-content: center;
}

.contact-map-heading h2 {
  margin-top: 9px;
  color: var(--wine);
  font-size: clamp(34px, 4vw, 48px);
}

.contact-map-heading p {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-map-heading p i {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--gold);
}

.contact-map-frame {
  overflow: hidden;
  border: 1px solid rgba(199, 162, 98, .42);
  border-radius: 16px;
  background: #f6ece8;
  box-shadow: 0 18px 48px rgba(85, 42, 37, .11);
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: clamp(340px, 38vw, 480px);
}

/* Bottom CTA */
.contact-cta {
  padding: 58px 0;
  background:
    linear-gradient(90deg, rgba(255, 244, 241, .97), rgba(252, 226, 226, .94)),
    url("../images/hero-wedding-v2.jpg") center / cover no-repeat;
}

.contact-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.contact-cta h2 {
  margin-top: 9px;
  color: var(--wine);
  font-size: clamp(31px, 3.7vw, 45px);
}

.contact-cta p {
  max-width: 660px;
  margin-top: 8px;
  color: #6b5d5d;
  font-size: 13px;
  line-height: 1.65;
}

.contact-cta-actions {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

/* Responsive */
@media (max-width: 1120px) {
  .contact-method-card {
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 13px;
    padding: 20px;
  }

  .contact-method-icon {
    width: 50px;
    height: 50px;
  }

  .contact-form-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(310px, .9fr);
  }
}

@media (max-width: 992px) {
  .contact-hero-content {
    padding-inline: 36px;
  }

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

  .contact-method-card strong {
    font-size: 20px;
  }

  .contact-form-layout {
    grid-template-columns: 1fr;
  }

  .contact-guide-panel {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
  }

  .contact-guide-image,
  .contact-guide-image img {
    min-height: 100%;
  }

  .contact-cta .container {
    align-items: flex-end;
  }
}

@media (max-width: 768px) {
  .contact-page section {
    scroll-margin-top: 96px;
  }

  .contact-hero {
    min-height: var(--inner-page-hero-height);
    align-items: center;
    background:
      linear-gradient(0deg, rgba(255, 249, 244, .98) 0%, rgba(255, 249, 244, .91) 45%, rgba(255, 249, 244, .24) 100%),
      url("../images/hero-wedding-v2.jpg") 68% center / cover no-repeat;
  }

  .contact-hero-content {
    padding: var(--inner-page-hero-padding-y) 20px;
  }

  .contact-breadcrumb {
    margin-bottom: 19px;
  }

  .contact-hero h1 {
    max-width: 520px;
    font-size: 44px;
  }

  .contact-intro-section,
  .contact-form-section {
    padding-block: 56px;
  }

  .contact-map-section {
    padding: 56px 0;
  }

  .contact-method-grid {
    gap: 14px;
  }

  .contact-guide-panel {
    display: flex;
  }

  .contact-guide-image,
  .contact-guide-image img {
    min-height: 250px;
  }

  .contact-cta .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .contact-cta-actions {
    width: 100%;
  }

  .contact-cta-actions .btn {
    flex: 1;
  }
}

@media (max-width: 576px) {
  .contact-hero {
    min-height: var(--inner-page-hero-height);
  }

  .contact-hero-content {
    padding: var(--inner-page-hero-padding-y) 18px;
  }

  .contact-hero h1 {
    font-size: 38px;
  }

  .contact-flourish {
    margin-top: 15px;
  }

  .contact-heading {
    margin-bottom: 28px;
  }

  .contact-heading h2,
  .contact-form-panel h2 {
    font-size: 32px;
  }

  .contact-method-card {
    grid-template-columns: 45px minmax(0, 1fr);
    padding: 18px 16px;
  }

  .contact-method-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .contact-method-card strong {
    font-size: 17px;
  }

  .contact-method-arrow {
    display: none;
  }

  .contact-form-panel {
    padding: 27px 20px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-field-wide {
    grid-column: auto;
  }

  .contact-submit {
    width: 100%;
    min-width: 0;
    padding-inline: 15px;
  }

  .contact-guide-copy {
    padding: 27px 20px 30px;
  }

  .contact-guide-copy h3 {
    font-size: 28px;
  }

  .contact-map-section {
    padding: 46px 0;
  }

  .contact-map-heading {
    margin-bottom: 22px;
  }

  .contact-map-heading p {
    justify-content: flex-start;
    text-align: left;
  }

  .contact-map-frame iframe {
    height: 320px;
  }

  .contact-cta {
    padding: 46px 0;
  }

  .contact-cta-actions {
    flex-direction: column;
  }

  .contact-cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 375px) {
  .contact-hero-content {
    padding-inline: 16px;
  }

  .contact-hero h1 {
    font-size: 33px;
  }

  .contact-kicker,
  .contact-section-label {
    letter-spacing: 2px;
  }

  .contact-method-card strong {
    font-size: 15.5px;
  }
}
