/* ==========================================================================
   Plantae World — Contact Page Styles (Refined Compact 2-Section Architecture)
   Card 1: Sleek Greeting Card (Left ~29%) + Compact Project Form (Right ~71%)
   Card 2: Studio Details (Left) + Interactive Map (Right)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section 1: Contact Hero + Enquiry Form (Compact & Viewport Optimized)
   -------------------------------------------------------------------------- */
.contact-hero {
  display: grid;
  grid-template-columns: clamp(280px, 29vw, 360px) 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line, rgba(36, 60, 40, 0.12));
  background: var(--cream-soft, #f7f3e8);
}

/* Left Column: Slimmer Editorial Greeting Card */
.contact-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(36px, 4vw, 52px) clamp(24px, 3.5vw, 48px);
  background: var(--cream, #dfcfab);
  border-right: 1px solid var(--line, rgba(36, 60, 40, 0.12));
}

.contact-intro .kicker {
  color: var(--bronze, #846124);
  margin: 0 0 14px;
}

.contact-intro .display {
  margin: 0;
  max-width: 400px;
  font-family: var(--serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(2.4rem, 3.6vw, 3.8rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--leaf-deep, #162619);
}

.contact-intro .display em {
  color: var(--leaf, #243c28);
  font-style: italic;
}

.contact-intro .lede {
  max-width: 320px;
  margin: 18px 0 0;
  color: #354a39;
  font-size: 0.96rem;
  line-height: 1.65;
}

/* Right Column: Project Enquiry Form (Aligned Top Baseline with Left) */
.contact-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(36px, 4vw, 52px) clamp(24px, 5vw, 68px);
  background: #ffffff;
}

.contact-form-header {
  margin-bottom: 18px;
}

.contact-form-header .kicker {
  color: var(--bronze, #846124);
  margin: 0 0 10px;
}

.form-title {
  margin: 0;
  font-family: var(--serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--leaf-deep, #162619);
}

.form-title em {
  color: var(--leaf, #243c28);
  font-style: italic;
}

/* Compact Form Grid */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-top: 4px;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

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

.contact-form label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf-deep, #162619);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(36, 60, 40, 0.22);
  border-radius: 3px;
  background: #faf9f5;
  color: var(--ink, #162619);
  font-size: 0.9rem;
  font-family: var(--sans, "Plus Jakarta Sans", sans-serif);
  transition: all 0.2s ease;
}

.contact-form textarea {
  min-height: 72px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: #ffffff;
  outline: 2px solid var(--leaf, #243c28);
  border-color: var(--leaf, #243c28);
}

.form-submit-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.submit-action-line {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-form .submit {
  width: max-content;
  padding: 13px 28px;
  border: 1px solid var(--leaf, #243c28);
  background: var(--leaf, #243c28);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-form .submit:hover {
  background: var(--leaf-deep, #162619);
  border-color: var(--leaf-deep, #162619);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 38, 25, 0.2);
}

.contact-form .note {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted, #4e5e51);
}

.whatsapp-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--leaf, #243c28);
  text-decoration: none;
  transition: color 0.2s;
}

.whatsapp-contact svg {
  flex-shrink: 0;
}

.whatsapp-contact:hover {
  color: #25d366;
}

/* --------------------------------------------------------------------------
   Section 2: Studio Details (Left) + Interactive Map (Right)
   -------------------------------------------------------------------------- */
.contact-location-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line, rgba(36, 60, 40, 0.12));
  background: var(--cream-soft, #f7f3e8);
}

/* Left: Studio Contact & Operational Details */
.contact-details-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 4.5vw, 60px) clamp(24px, 4.5vw, 64px);
  background: var(--cream-soft, #f7f3e8);
  border-right: 1px solid var(--line, rgba(36, 60, 40, 0.12));
}

.details-lead {
  margin: 0 0 20px;
  font-family: var(--serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(2.1rem, 3.2vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--leaf-deep, #162619);
}

.details-lead em {
  color: var(--leaf, #243c28);
  font-style: italic;
}

.contact-list {
  border-top: 1px solid var(--line, rgba(36, 60, 40, 0.12));
  display: flex;
  flex-direction: column;
}

.contact-list article {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line, rgba(36, 60, 40, 0.12));
  align-items: baseline;
}

.contact-list b {
  color: var(--bronze, #846124);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-list address,
.contact-list p {
  margin: 0;
  color: var(--muted, #4e5e51);
  font-size: 0.94rem;
  font-style: normal;
  line-height: 1.55;
}

.contact-list a {
  color: var(--leaf-deep, #162619);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-list a:hover {
  color: var(--bronze, #846124);
}

.detail-sep {
  margin: 0 6px;
  color: var(--muted, #4e5e51);
  opacity: 0.5;
}

/* Clean Social Icons Row (3 icons in a row) */
.contact-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(36, 60, 40, 0.18);
  background: #ffffff;
  color: var(--leaf-deep, #162619);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
}

.contact-social-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.contact-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(36, 60, 40, 0.15);
}

.contact-social-btn.btn-wa:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}

.contact-social-btn.btn-ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  border-color: transparent;
  color: #ffffff;
}

.contact-social-btn.btn-fb:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
}

/* Right: Map Panel */
.contact-map-panel {
  position: relative;
  min-height: 400px;
  background: #d8d0bd;
  display: flex;
  overflow: hidden;
}

.contact-map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  filter: contrast(1.02) saturate(0.95);
}

/* Floating Studio Badge on Map */
.map-location-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 420px;
  background: rgba(22, 38, 25, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 4px;
  border: 1px solid rgba(223, 207, 171, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.map-location-badge .badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 8px #25d366;
  flex-shrink: 0;
}

.map-location-badge strong {
  display: block;
  font-size: 0.84rem;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.map-location-badge span {
  display: block;
  font-size: 0.74rem;
  color: var(--cream, #dfcfab);
  opacity: 0.9;
}

.badge-map-link {
  margin-left: auto;
  color: var(--cream, #dfcfab);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid rgba(223, 207, 171, 0.4);
  border-radius: 2px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.badge-map-link:hover {
  background: var(--cream, #dfcfab);
  color: var(--leaf-deep, #162619);
}

/* --------------------------------------------------------------------------
   Responsive Layout & Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .contact-hero,
  .contact-location-section {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    border-right: none;
    border-bottom: 1px solid var(--line, rgba(36, 60, 40, 0.12));
    padding: clamp(36px, 5vw, 48px) 24px;
  }

  .contact-form-panel {
    padding: clamp(36px, 5vw, 48px) 24px;
  }

  .contact-details-panel {
    border-right: none;
    border-bottom: 1px solid var(--line, rgba(36, 60, 40, 0.12));
    padding: clamp(36px, 5vw, 48px) 24px;
  }

  .contact-map-panel,
  .contact-map-panel iframe {
    min-height: 380px;
  }
}

@media (max-width: 600px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-list article {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  .contact-map-panel,
  .contact-map-panel iframe {
    min-height: 340px;
  }

  .map-location-badge {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
  }

  .badge-map-link {
    margin-left: 0;
    margin-top: 4px;
    width: 100%;
    text-align: center;
  }
}
