/* Professional Contact Section & Direct Reach Modal */

.contact {
  background: #121c15;
  color: #fff;
  padding-top: 80px;
  padding-bottom: 80px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  padding: 56px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(24px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.contact-header-copy h2 {
  font-size: clamp(38px, 5vw, 60px);
  font-family: Georgia, serif;
  line-height: 1.1;
  margin: 8px 0 16px;
  color: #fff;
}

.contact-address-box {
  margin: 18px 0;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.contact-address-box strong {
  display: block;
  font-size: 16px;
  color: #f5e6be;
  margin-bottom: 4px;
}

/* Phone Block with 1-Click Copy */
.phone-interactive-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f0dda9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(22px, 2.35vw, 32px);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: 0.012em;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.contact-phone:hover {
  color: #fff;
  transform: translateX(2px);
}

.copy-phone-pill {
  border: 1px solid rgba(240, 221, 169, 0.3);
  background: rgba(240, 221, 169, 0.12);
  color: #f0dda9;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.copy-phone-pill:hover {
  background: #f0dda9;
  color: #17231a;
  transform: translateY(-1px);
}

/* Contact Action Buttons Bar */
.contact-actions-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-btn-call {
  background: #f0dda9;
  color: #17231a;
  box-shadow: 0 6px 20px rgba(240, 221, 169, 0.25);
}

.contact-btn-call:hover {
  background: #fff;
  color: #17231a;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(240, 221, 169, 0.35);
}

.contact-btn-wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.contact-btn-wa:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
}

.contact-btn-instagram {
  color: #fff;
  background: linear-gradient(135deg, #4f5bd5 0%, #962fbf 34%, #d62976 64%, #fa7e1e 100%);
  box-shadow: 0 6px 20px rgba(214, 41, 118, 0.28);
}

.contact-btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(214, 41, 118, 0.4);
}

.contact-btn-directions {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.contact-btn-directions:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.contact-badges-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-mini-badge.live-status {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.25);
  background: rgba(74, 222, 128, 0.08);
}

/* Map Preview Container */
.map-preview {
  height: 440px;
  min-height: 440px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.map-preview iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.8) contrast(1.05);
}

.map-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #dce4d7;
}

.map-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 44, 31, 0.04), rgba(18, 44, 31, 0.16));
  box-shadow: inset 0 0 45px rgba(16, 44, 29, 0.18);
}

.map-schematic {
  position: absolute;
  inset: 0;
}

.map-schematic > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.map-pin {
  position: absolute;
  z-index: 3;
  left: 62%;
  top: 48%;
  min-width: 148px;
  padding: 9px 12px 9px 35px;
  border: 1px solid rgba(21, 58, 43, 0.18);
  border-radius: 12px;
  color: #163d2d;
  background: rgba(255, 252, 244, 0.96);
  box-shadow: 0 10px 28px rgba(18, 43, 29, 0.24);
  transform: translate(-18px, -100%);
}

.map-pin strong,
.map-pin small { display: block; line-height: 1.25; }
.map-pin strong { font-size: 12px; }
.map-pin small { margin-top: 2px; color: #68776d; font-size: 10px; }
.map-pin-marker {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: #d84b3e;
  box-shadow: 0 4px 12px rgba(95, 29, 23, 0.34);
  transform: translateY(-58%) rotate(-45deg);
}

.map-preview .open-map-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 11px 18px;
  border-radius: 12px;
  background: #fff;
  color: #1a3220;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.map-preview .open-map-link span {
  font: inherit;
  letter-spacing: normal;
}

.map-preview .open-map-link:hover {
  transform: translateY(-2px);
  background: #f0dda9;
}

@media (max-width: 520px) {
  .map-preview .open-map-link { right: 12px; bottom: 12px; }
  .map-pin { min-width: 132px; padding-right: 9px; }
}

/* =========================================================
   CONTACT MODAL DIALOG (DESKTOP & CLEAN TOUCH INTERACTION)
   ========================================================= */

.contact-modal-dialog {
  width: min(520px, calc(100% - 32px));
  max-width: 520px;
  border: 0;
  border-radius: 24px;
  padding: 0;
  background: transparent;
  box-shadow: 0 35px 95px rgba(0, 0, 0, 0.5);
  margin: auto;
}

.contact-modal-dialog::backdrop {
  background: rgba(10, 20, 13, 0.72);
  backdrop-filter: blur(10px);
}

.contact-modal-card {
  background: #fdfaf3;
  border: 1.5px solid rgba(35, 61, 40, 0.16);
  border-radius: 24px;
  padding: 32px 28px 26px;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.contact-modal-card .dialog-close {
  position: absolute;
  right: 18px;
  top: 16px;
  border: 0;
  background: rgba(35, 61, 40, 0.06);
  font-size: 24px;
  cursor: pointer;
  color: #556257;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.contact-modal-card .dialog-close:hover {
  background: rgba(35, 61, 40, 0.15);
  color: #17231a;
  transform: rotate(90deg);
}

.contact-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #166534;
  background: #dcfce7;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
  border: 1px solid rgba(22, 101, 52, 0.2);
}

.contact-modal-badge .live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.3);
  animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.contact-modal-card h3 {
  font: 700 28px / 1.15 Georgia, serif;
  color: #17231a;
  margin: 0 0 6px;
}

.contact-modal-card p.contact-modal-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #59645d;
  margin: 0 0 22px;
  max-width: 420px;
}

/* Phone Highlight Box with 1-Click Copy */
.contact-modal-number-display {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid rgba(35, 61, 40, 0.16);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 6px 20px rgba(35, 61, 40, 0.06);
  margin-bottom: 18px;
  box-sizing: border-box;
}

.phone-digits-wrap {
  text-align: left;
}

.phone-digits-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #728076;
  margin-bottom: 2px;
}

.contact-modal-number-display strong {
  font: 800 23px / 1.1 system-ui, -apple-system, sans-serif;
  color: #17231a;
  letter-spacing: 0.02em;
}

.contact-modal-copy-btn {
  background: var(--green, #1f3a24);
  color: #ffffff;
  border: 0;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 12px rgba(31, 58, 36, 0.2);
}

.contact-modal-copy-btn:hover {
  background: #2e5335;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(31, 58, 36, 0.28);
}

.contact-modal-copy-btn.copied {
  background: #16a34a !important;
  color: #ffffff;
  transform: scale(1.03);
}

/* Action Buttons Grid */
.contact-modal-btn-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 20px;
}

.contact-modal-btn {
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  border: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-sizing: border-box;
}

.contact-modal-btn .btn-inner-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-modal-btn .btn-badge-note {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
}

.contact-modal-btn.btn-direct-wa-web {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.contact-modal-btn.btn-direct-wa-web:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.38);
}

.contact-modal-btn.btn-direct-call {
  background: #1f3a24;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(31, 58, 36, 0.2);
}

.contact-modal-btn.btn-direct-call:hover {
  background: #2e5335;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(31, 58, 36, 0.3);
}

.contact-modal-meta-box {
  width: 100%;
  background: rgba(35, 61, 40, 0.05);
  border: 1px solid rgba(35, 61, 40, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  text-align: left;
  font-size: 13px;
  color: #4a574e;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

.contact-modal-meta-box div {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.4;
}

.contact-modal-meta-box strong {
  color: #17231a;
}

@media (max-width: 900px) {
  .contact-card {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
  .map-preview {
    height: 320px;
    min-height: 320px;
  }
}
