/* Contacto CIDCA - estilos exclusivos de contact.html */
.contact-page .contact-modern {
  background: #f7f9f8;
  padding: 0 0 72px;
}

.contact-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #0d2f21;
}

.contact-hero video,
.contact-hero .contact-hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 38, 24, .72) 0%, rgba(4, 38, 24, .46) 45%, rgba(4, 38, 24, .18) 100%);
}

.contact-hero .hero-inner {
  position: relative;
  z-index: 2;
  min-height: 430px;
  display: flex;
  align-items: center;
}

.contact-hero .hero-copy {
  max-width: 690px;
  color: #fff;
  padding: 50px 0;
}

.contact-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-hero h2 {
  color: #fff;
  font-size: clamp(34px, 4vw, 55px);
  line-height: 1.07;
  margin: 0 0 18px;
  max-width: 650px;
}

.contact-hero p {
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 620px;
  color: rgba(255, 255, 255, .92);
}

.contact-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-hero .hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 9px;
  padding: 12px 18px;
  font-weight: 700;
  transition: .2s ease;
}

.contact-hero .hero-btn-primary {
  background: #fff;
  color: var(--accent-color);
}

.contact-hero .hero-btn-primary:hover {
  transform: translateY(-1px);
  background: #f3f7f5;
}

.contact-hero .hero-btn-outline {
  border: 1px solid rgba(255,255,255,.75);
  color: #fff;
  background: rgba(255,255,255,.08);
}

.contact-hero .hero-btn-outline:hover {
  background: rgba(255,255,255,.16);
}

.contact-content-wrap {
  position: relative;
  z-index: 3;
  margin-top: -38px;
}

.contact-card-grid .contact-modern-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e7ece9;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(22, 55, 39, .07);
}

.contact-modern-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 22px;
  margin-bottom: 17px;
}

.contact-modern-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-modern-card p {
  margin: 0;
  line-height: 1.65;
  color: color-mix(in srgb, var(--default-color), transparent 18%);
}

.contact-modern-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-weight: 700;
}

.contact-section-heading {
  margin-bottom: 24px;
}

.contact-section-heading .section-kicker {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .07em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 7px;
}

.contact-section-heading h2 {
  font-size: clamp(27px, 3vw, 38px);
  margin-bottom: 8px;
}

.contact-section-heading p {
  margin: 0;
  max-width: 720px;
  color: color-mix(in srgb, var(--default-color), transparent 22%);
}

.contact-map-shell,
.contact-form-shell {
  background: #fff;
  border: 1px solid #e7ece9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(22, 55, 39, .07);
}

.contact-map-shell .map-frame {
  min-height: 420px;
  height: 100%;
}

.contact-map-shell iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.contact-map-info {
  padding: 34px;
}

.contact-map-info h3 {
  font-size: 25px;
  margin-bottom: 13px;
}

.contact-map-info p {
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 18%);
}

.contact-location-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.contact-location-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #edf1ef;
}

.contact-location-list li:last-child {
  border-bottom: 0;
}

.contact-location-list i {
  color: var(--accent-color);
  font-size: 18px;
  margin-top: 2px;
}

.contact-map-info .maps-btn,
.contact-form-shell .submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 9px;
  background: var(--accent-color);
  color: #fff;
  padding: 12px 18px;
  font-weight: 700;
  transition: .2s ease;
}

.contact-map-info .maps-btn:hover,
.contact-form-shell .submit-btn:hover {
  filter: brightness(.94);
  transform: translateY(-1px);
}

.contact-form-shell {
  padding: 38px;
}

.contact-form-shell label {
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--heading-color);
}

.contact-form-shell .form-control,
.contact-form-shell .form-select {
  min-height: 48px;
  border: 1px solid #dbe3df;
  border-radius: 9px;
  padding: 10px 13px;
  background: #fff;
}

.contact-form-shell textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-form-shell .form-control:focus,
.contact-form-shell .form-select:focus {
  border-color: color-mix(in srgb, var(--accent-color), transparent 35%);
  box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--accent-color), transparent 88%);
}

.contact-form-aside {
  height: 100%;
  background: #eef6f1;
  border: 1px solid #dceae2;
  border-radius: 16px;
  padding: 32px;
}

.contact-form-aside h3 {
  font-size: 25px;
  margin-bottom: 13px;
}

.contact-form-aside p {
  line-height: 1.7;
}

.contact-form-aside .aside-note {
  display: flex;
  gap: 12px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid #d7e6dd;
}

.contact-form-aside .aside-note i {
  color: var(--accent-color);
  font-size: 20px;
}

.contact-status-alert {
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 22px;
  display: none;
}

.contact-status-alert.is-success {
  display: block;
  background: #e9f7ef;
  color: #17633a;
  border: 1px solid #cdebd9;
}

.contact-status-alert.is-error {
  display: block;
  background: #fff1f1;
  color: #8a2b2b;
  border: 1px solid #f0d0d0;
}

.contact-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 991.98px) {
  .contact-hero,
  .contact-hero .hero-inner {
    min-height: 370px;
  }

  .contact-content-wrap {
    margin-top: -24px;
  }

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

@media (max-width: 767.98px) {
  .contact-page .contact-modern {
    padding-bottom: 48px;
  }

  .contact-hero,
  .contact-hero .hero-inner {
    min-height: 330px;
  }

  .contact-hero::after {
    background: rgba(4, 38, 24, .58);
  }

  .contact-hero .hero-copy {
    padding: 40px 0;
  }

  .contact-hero p {
    font-size: 16px;
  }

  .contact-content-wrap {
    margin-top: 0;
    padding-top: 26px;
  }

  .contact-modern-card,
  .contact-map-info,
  .contact-form-shell,
  .contact-form-aside {
    padding: 24px;
  }

  .contact-map-shell .map-frame,
  .contact-map-shell iframe {
    min-height: 300px;
  }

  .contact-form-shell {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero video {
    display: none;
  }
}
