/* ==========================================================================
   Sección Dedicada de Contacto (contacto.html)
   ========================================================================== */
.aprile-section {
  padding: 100px 0;
}

.section-white {
  background-color: var(--white-color);
}

.section-stone {
  background-color: var(--secondery-color);
}

.aprile-contact-page-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 36px;
  align-items: stretch;
}

.aprile-contact-sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ig-story-card.ig-story-contact {
  height: 100%;
  min-height: 100%;
  margin-bottom: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ig-story-contact .ig-story-bg {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
}

.ig-story-contact .ig-story-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ig-story-contact .ig-story-top-title {
  position: relative;
  z-index: 2;
  padding: 30px 30px 0;
}

.ig-story-contact .ig-story-navy-box {
  position: relative;
  z-index: 3;
  margin: auto 24px 24px 24px;
  max-width: calc(100% - 48px);
  background: rgba(5, 34, 75, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(4, 20, 45, 0.45);
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--accent-color);
}

.ig-story-contact .ig-story-pin-icon {
  margin-bottom: 8px;
}

.ig-story-contact .ig-story-address {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--white-color);
  margin: 0 0 10px;
}

.ig-story-contact .ig-story-address strong {
  display: block;
  color: #1698e0;
  font-weight: 600;
}

.aprile-contact-form-card {
  scroll-margin-top: 100px;
  background: var(--white-color);
  border: 1px solid var(--divider-color);
  border-radius: 28px;
  padding: 36px 38px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.contact-form-notice a {
  display: block;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.contact-form-success {
  color: #20583c;
  background: #edf7f0;
  padding: 28px;
  border-radius: 16px;
  scroll-margin-top: 120px;
}

.contact-form-success h3 {
  color: #20583c;
  font-size: 26px;
  margin: 16px 0 12px;
}

.contact-form-success p { margin: 0 0 24px; }
.contact-form-success .btn-default { font-size: 14px; }
.contact-form-success:focus-visible { outline: 3px solid #20583c; outline-offset: 4px; }
.contact-submit-bar button:disabled { opacity: .7; cursor: wait;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form-grid .wide {
  grid-column: 1 / -1;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
}

.form-control-field {
  width: 100%;
  border: 1px solid #cbd6e2;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  background: #f9fbfd;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control-field:focus {
  border-color: var(--accent-color);
  background: var(--white-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 134, 196, 0.12);
}

.contact-submit-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.google-map-iframe {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--divider-color);
  box-shadow: var(--shadow);
}

.google-map-iframe iframe {
  border: 0;
  width: 100%;
  height: 380px;
  display: block;
}
