/* Contacto - Animaciones de entrada */
@keyframes contacto-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contacto-title {
  opacity: 0;
  animation: contacto-fade-in-up 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
}

.contacto-subtitle {
  opacity: 0;
  animation: contacto-fade-in-up 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

.contacto-info-item:nth-child(1) {
  opacity: 0;
  animation: contacto-fade-in-up 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

.contacto-info-item:nth-child(2) {
  opacity: 0;
  animation: contacto-fade-in-up 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards;
}

.contacto-form-wrap {
  opacity: 0;
  animation: contacto-fade-in-up 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s forwards;
}

/* Contacto - Sección principal */
.contacto-main {
  background-color: #ffffff;
}

.contacto-section {
  background-color: #ffffff;
  padding: 40px 151px 100px 153px;
  border-radius: 40px 40px 0 0;
}

.contacto-inner {
  display: flex;
  gap: 182px;
  align-items: center;
  max-width: 1210px;
  margin: 0 auto;
}

.contacto-left {
  flex: 0 0 572px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}

.contacto-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contacto-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.8px;
  color: #1e1e1e;
}

.contacto-title .accent {
  font-weight: 700;
  font-style: italic;
  color: #008287;
}

.contacto-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.18px;
  color: #454444;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacto-info-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contacto-info-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background-color: #ccedee;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacto-info-icon img {
  width: 26px;
  height: 26px;
  display: block;
}

.contacto-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contacto-info-label {
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -0.14px;
  color: #008287;
}

.contacto-info-value-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contacto-info-value {
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  letter-spacing: -0.16px;
  color: #1e1e1e;
  text-decoration: none;
  transition: color 0.2s;
}

.contacto-info-value:hover {
  color: #008287;
}

.contacto-info-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.contacto-info-copy img {
  width: 16px;
  height: 16px;
  display: block;
}

.contacto-copy-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: 6px 10px;
  background: #002829;
  color: white;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  pointer-events: none;
  z-index: 10;
}

.contacto-copy-tooltip.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-8px);
}

.contacto-copy-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -4px;
  border: 4px solid transparent;
  border-top-color: #002829;
}

/* Formulario */
.contacto-form-wrap {
  flex: 0 0 456px;
  background-color: #e5f2f3;
  border-radius: 26px;
  padding: 40px 32px;
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contacto-form .contacto-form-fields {
  font-weight: 200;
}

.contacto-form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contacto-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contacto-field label {
  font-size: 14px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -0.14px;
  color: rgba(0, 40, 41, 0.85);
}

.contacto-field input,
.contacto-field textarea {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  background: white;
  border: 1px solid #ccedee;
  border-radius: 8px;
  color: #1e1e1e;
  transition: border-color 0.2s;
}

.contacto-field input:focus,
.contacto-field textarea:focus {
  outline: none;
  border-color: #008287;
}

.contacto-field input::placeholder,
.contacto-field textarea::placeholder {
  color: rgba(0, 40, 41, 0.5);
}

.contacto-field textarea {
  min-height: 100px;
  resize: vertical;
}

.contacto-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -0.13px;
  color: rgba(0, 40, 41, 0.85);
}

.contacto-checkbox-wrap input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: #008287;
}

.contacto-checkbox-wrap strong {
  font-weight: 600;
}

.contacto-submit {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.18px;
  color: white;
  background-color: #002829;
  border: none;
  border-radius: 30px;
  padding: 14px 24px;
  height: 53px;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}

.contacto-submit:hover {
  background-color: #004a4c;
  opacity: 0.95;
}

/* Footer en página contacto: sin card, padding ajustado */
.contacto-footer {
  position: relative;
  z-index: 2;
}
.contacto-footer .frecuencia-inner {
  padding-top: 0;
}

.contacto-footer .frecuencia-footer {
  padding-top: 64px;
}

/* Responsive */
@media (max-width: 1200px) {
  .contacto-section {
    padding: 60px 60px 80px;
  }

  .contacto-inner {
    gap: 80px;
  }

  .contacto-left {
    flex: 1;
    max-width: none;
  }

  .contacto-form-wrap {
    flex: 1;
    max-width: 456px;
  }
}

@media (max-width: 1024px) {
  .contacto-section {
    padding: 48px 40px 64px;
  }

  .contacto-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
  }

  .contacto-left {
    gap: 32px;
  }

  .contacto-title {
    font-size: 48px;
  }

  .contacto-form-wrap {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .contacto-section {
    padding: 32px 24px 48px;
    border-radius: 24px 24px 0 0;
  }

  .contacto-title {
    font-size: 36px;
  }

  .contacto-subtitle {
    font-size: 16px;
  }

  .contacto-form-wrap {
    padding: 24px 20px;
  }

  .contacto-info-icon {
    width: 56px;
    height: 56px;
  }

  .contacto-info-icon img {
    width: 22px;
    height: 22px;
  }
}
